@opencode-ai/core 0.0.0-dev-19097 → 0.0.0-dev-19100

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 (771) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +80 -80
  8. package/dist/chunks/{file-a00nymdn.js → job-06ehnqe9.js} +9 -9
  9. package/dist/chunks/{file-yyeephfg.js → job-0946avfs.js} +16 -16
  10. package/dist/chunks/{file-ctb8fb4q.js → job-0amrg371.js} +32 -32
  11. package/dist/chunks/{file-0e0xafbb.js → job-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{file-gzqptw1h.js → job-0k72pry1.js} +4 -4
  13. package/dist/chunks/{file-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{file-k12apaej.js → job-0w09pq9x.js} +5 -5
  16. package/dist/chunks/{file-msqakgxm.js → job-10qv4wd5.js} +8 -8
  17. package/dist/chunks/{file-5sev6q9t.js → job-18832vz4.js} +19 -19
  18. package/dist/chunks/{file-1ct4r87x.js → job-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{file-3pcz81vc.js → job-1eq7j3rm.js} +4 -4
  20. package/dist/chunks/{file-htpahddg.js → job-1g6w0xr7.js} +18 -18
  21. package/dist/chunks/{file-5wbhqr4j.js → job-1xqencwf.js} +15 -15
  22. package/dist/chunks/{file-g41n1fn3.js → job-1ymqjxt6.js} +5 -5
  23. package/dist/chunks/{file-21r38tys.js → job-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-2402vzrj.js → job-2402vzrj.js} +1 -1
  25. package/dist/chunks/job-25sqyrs3.js +22 -0
  26. package/dist/chunks/{file-c0faa19c.js → job-28pcbh69.js} +8 -8
  27. package/dist/chunks/{file-29x78va6.js → job-29x78va6.js} +2 -2
  28. package/dist/chunks/{file-c29f3tza.js → job-2a0xfsw9.js} +84 -84
  29. package/dist/chunks/{file-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-cmhmpn4v.js → job-2amnen0r.js} +22 -22
  31. package/dist/chunks/{file-h7qsvcff.js → job-2h5svvvd.js} +2 -2
  32. package/dist/chunks/{file-2ht70gj7.js → job-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{file-agwngab4.js → job-2jckzm9c.js} +11 -11
  34. package/dist/chunks/{file-2jqmte8w.js → job-2jqmte8w.js} +2 -2
  35. package/dist/chunks/{file-0jwsre1p.js → job-2k8khapm.js} +5 -5
  36. package/dist/chunks/{file-er9yxp35.js → job-2wqt9t8b.js} +158 -158
  37. package/dist/chunks/{file-yrfjzgmk.js → job-31s1nbqh.js} +43 -43
  38. package/dist/chunks/{file-d70vn4jc.js → job-35mhrkea.js} +19 -19
  39. package/dist/chunks/{file-gdvy8fx6.js → job-3fc6dm20.js} +4 -4
  40. package/dist/chunks/{file-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
  42. package/dist/chunks/{file-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-7a9jwpx3.js → job-4172h78j.js} +4 -4
  45. package/dist/chunks/{file-454k5vzh.js → job-454k5vzh.js} +1 -1
  46. package/dist/chunks/{file-a5bfcrc3.js → job-45em0vfw.js} +12 -12
  47. package/dist/chunks/{file-wndntwen.js → job-45nbt49a.js} +9 -9
  48. package/dist/chunks/{file-warfykcc.js → job-4k0h8fvt.js} +16 -16
  49. package/dist/chunks/{file-r3pbnjm9.js → job-4kkh8pys.js} +7 -7
  50. package/dist/chunks/{file-qk91dsd0.js → job-4ncfc14q.js} +6 -6
  51. package/dist/chunks/{file-4r2nyarf.js → job-4r2nyarf.js} +1 -1
  52. package/dist/chunks/{file-56jkv05n.js → job-4zqg48kz.js} +9 -9
  53. package/dist/chunks/{file-a90asjze.js → job-5721agwt.js} +19 -19
  54. package/dist/chunks/{file-9cr7q51e.js → job-595aw0pg.js} +36 -36
  55. package/dist/chunks/{file-d1n19zpc.js → job-5c5mxy69.js} +34 -34
  56. package/dist/chunks/{file-5daktx2q.js → job-5daktx2q.js} +1 -1
  57. package/dist/chunks/{file-rbr603f4.js → job-5faehdjc.js} +11 -11
  58. package/dist/chunks/{file-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
  59. package/dist/chunks/{file-t3kn21v8.js → job-5frspsv4.js} +17 -17
  60. package/dist/chunks/{file-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{file-mrvbr3wc.js → job-5pd5qg07.js} +26 -26
  62. package/dist/chunks/{file-5sg4xzjf.js → job-5sg4xzjf.js} +1 -1
  63. package/dist/chunks/{file-w9vya7g1.js → job-5t1zbbry.js} +21 -21
  64. package/dist/chunks/{file-xj15198g.js → job-5y476dvm.js} +17 -17
  65. package/dist/chunks/{file-4cd1d9ca.js → job-5zhf1z2n.js} +32 -32
  66. package/dist/chunks/{file-wcs07xvw.js → job-62s86swy.js} +18 -18
  67. package/dist/chunks/{file-qegxstwz.js → job-65gnmf57.js} +14 -14
  68. package/dist/chunks/{file-jtxgx949.js → job-65gz9r6e.js} +22 -22
  69. package/dist/chunks/{file-34h2c5qc.js → job-66d911n1.js} +10 -10
  70. package/dist/chunks/{file-8vfvt1k8.js → job-69ayqp0q.js} +6 -6
  71. package/dist/chunks/{file-w3jym6ha.js → job-6abnk40k.js} +6 -6
  72. package/dist/chunks/{file-dv4a4bvf.js → job-6b15sfh8.js} +21 -21
  73. package/dist/chunks/{file-95knx934.js → job-6ebcx9xt.js} +18 -18
  74. package/dist/chunks/{file-6tf8tr4v.js → job-6tf8tr4v.js} +2 -2
  75. package/dist/chunks/{file-5bype6kp.js → job-6v59swkn.js} +33 -33
  76. package/dist/chunks/{file-711hfp6y.js → job-711hfp6y.js} +2 -2
  77. package/dist/chunks/{file-eg21w5vj.js → job-74kf6wkb.js} +7 -7
  78. package/dist/chunks/{file-pfzekb22.js → job-76rzm6aj.js} +28 -28
  79. package/dist/chunks/{file-qjhp7fv4.js → job-78bankzg.js} +26 -26
  80. package/dist/chunks/{file-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{file-sepmzhrx.js → job-7fvhnn29.js} +17 -17
  82. package/dist/chunks/{file-6sjzp24x.js → job-7gt73157.js} +39 -39
  83. package/dist/chunks/{file-p0y053rc.js → job-7k7y8275.js} +75 -75
  84. package/dist/chunks/{file-mcxg6pmm.js → job-7npnyrdg.js} +1 -1
  85. package/dist/chunks/{file-7xhvt7yp.js → job-7vhmdqap.js} +8 -8
  86. package/dist/chunks/job-7zk4hah4.js +4 -0
  87. package/dist/chunks/{file-dq20fsr2.js → job-882hrpbs.js} +9 -9
  88. package/dist/chunks/{file-csk50r35.js → job-8c44xd3t.js} +33 -33
  89. package/dist/chunks/{file-pnb07w7m.js → job-8h9fkwdc.js} +9 -9
  90. package/dist/chunks/{file-x6te443c.js → job-8v1r77nv.js} +40 -40
  91. package/dist/chunks/{file-ktd0vvh7.js → job-91cfcvzb.js} +23 -23
  92. package/dist/chunks/{file-mgz9ynfp.js → job-92gfg2p2.js} +9 -9
  93. package/dist/chunks/{file-93a8yfjt.js → job-93a8yfjt.js} +2 -2
  94. package/dist/chunks/{file-3skezffz.js → job-9d04b11k.js} +10 -10
  95. package/dist/chunks/{file-s3eqpch7.js → job-9egx1b5f.js} +1 -1
  96. package/dist/chunks/{file-bxb1xesv.js → job-9gq6sz2t.js} +4 -4
  97. package/dist/chunks/{file-x7s30cxw.js → job-9gtkrrg6.js} +11 -11
  98. package/dist/chunks/{file-9qm9egsn.js → job-9qm9egsn.js} +2 -2
  99. package/dist/chunks/{file-6w7e9vmm.js → job-9vcfn3x3.js} +8 -8
  100. package/dist/chunks/{file-ge17c2r8.js → job-a72q18ty.js} +5 -5
  101. package/dist/chunks/{file-yvfkj8fv.js → job-a9zfrvqc.js} +5 -5
  102. package/dist/chunks/{file-aaet6srn.js → job-aaet6srn.js} +2 -2
  103. package/dist/chunks/{file-44c9khjj.js → job-abv4wn07.js} +15 -15
  104. package/dist/chunks/{file-8vny5c8e.js → job-ac41bq3y.js} +12 -12
  105. package/dist/chunks/{file-fxcmktmy.js → job-acsbsfnf.js} +13 -13
  106. package/dist/chunks/{file-m3y8433b.js → job-ahkm12yq.js} +8 -8
  107. package/dist/chunks/{file-ajtjthsy.js → job-ajtjthsy.js} +2 -2
  108. package/dist/chunks/{file-fngqvgwt.js → job-aweyc29q.js} +6 -6
  109. package/dist/chunks/{file-h39sbrp5.js → job-b23jn8gs.js} +7 -7
  110. package/dist/chunks/{file-4nrfgs5y.js → job-b2y7cwzc.js} +6 -6
  111. package/dist/chunks/{file-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-b9wsbatv.js → job-b9wsbatv.js} +1 -1
  113. package/dist/chunks/{file-thfv75je.js → job-bcezcar3.js} +5 -5
  114. package/dist/chunks/{file-pmr4s4kc.js → job-bf0ztrs3.js} +4 -4
  115. package/dist/chunks/{file-jz1jqtks.js → job-bfmmzv3y.js} +9 -9
  116. package/dist/chunks/{file-mhj7q8tw.js → job-bq4dtbh2.js} +29 -29
  117. package/dist/chunks/{file-4zzhap0t.js → job-byjwva70.js} +19 -19
  118. package/dist/chunks/{file-vk57arp5.js → job-c10fbwpz.js} +33 -33
  119. package/dist/chunks/{file-tqr9qcpa.js → job-c6w4sqp6.js} +278 -278
  120. package/dist/chunks/{file-gzd7t3bg.js → job-ce9ncmzb.js} +4 -4
  121. package/dist/chunks/{file-rnpxyh9g.js → job-cf3nzdp7.js} +4 -4
  122. package/dist/chunks/{file-fjvydvzm.js → job-cf3tj770.js} +4 -4
  123. package/dist/chunks/{file-4yrtw206.js → job-cgsm4ny8.js} +24 -24
  124. package/dist/chunks/{file-8nv4cyba.js → job-cswytkgq.js} +44 -44
  125. package/dist/chunks/{file-d72308c8.js → job-d72308c8.js} +2 -2
  126. package/dist/chunks/{file-0dnzd248.js → job-d8e75fze.js} +20 -20
  127. package/dist/chunks/{file-jzajgxa4.js → job-d8v5a05d.js} +11 -11
  128. package/dist/chunks/{file-ctg8zr71.js → job-djr7m0g5.js} +19 -19
  129. package/dist/chunks/{file-racpc5qj.js → job-dmfj988w.js} +31 -31
  130. package/dist/chunks/job-dxj72tfx.js +18 -0
  131. package/dist/chunks/{file-14hmenm3.js → job-dxpa8sj6.js} +3 -3
  132. package/dist/chunks/{file-4wm41xfy.js → job-e4kkw97y.js} +11 -11
  133. package/dist/chunks/{file-apz83yk1.js → job-e5687zp2.js} +10 -10
  134. package/dist/chunks/{file-2ks0faxf.js → job-e999m61r.js} +18 -18
  135. package/dist/chunks/{file-rmy3e5eg.js → job-eart6cj3.js} +3 -3
  136. package/dist/chunks/{file-wv9b9khx.js → job-ecez4qqn.js} +11 -11
  137. package/dist/chunks/{file-keytvqp3.js → job-eexzqnt3.js} +20 -20
  138. package/dist/chunks/{file-w2cy7nem.js → job-ejg3r42z.js} +10 -10
  139. package/dist/chunks/{file-amz8x7m9.js → job-eqb4av08.js} +19 -19
  140. package/dist/chunks/{file-xqsy6kp0.js → job-eqkrc45d.js} +1 -1
  141. package/dist/chunks/{file-b4cqkbph.js → job-ewewazbk.js} +9 -9
  142. package/dist/chunks/{file-9d0173er.js → job-ex99dnp9.js} +9 -9
  143. package/dist/chunks/{file-rzsjt7my.js → job-f7kbfcfh.js} +12 -12
  144. package/dist/chunks/{file-famd3pv6.js → job-famd3pv6.js} +2 -2
  145. package/dist/chunks/{file-pka6fkme.js → job-fqygmygp.js} +31 -31
  146. package/dist/chunks/{file-r5aexrb8.js → job-ft2ykv9q.js} +49 -49
  147. package/dist/chunks/{file-xn93qykn.js → job-fw75d2j2.js} +16 -16
  148. package/dist/chunks/{file-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{file-fxypknc8.js → job-fxypknc8.js} +1 -1
  150. package/dist/chunks/{file-adphmdvg.js → job-fyk6bpvp.js} +37 -37
  151. package/dist/chunks/{file-2xxac57g.js → job-g71sejg1.js} +11 -11
  152. package/dist/chunks/{file-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{file-gs14xg9r.js → job-gjb9fvjc.js} +9 -9
  154. package/dist/chunks/{file-pwsfrk47.js → job-gkhj65gm.js} +24 -24
  155. package/dist/chunks/{file-3gn7n68r.js → job-gmrcnqc8.js} +22 -22
  156. package/dist/chunks/{file-dmhyt8yz.js → job-h0yr2gfs.js} +9 -9
  157. package/dist/chunks/{file-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{file-7b280chh.js → job-h9bwyndq.js} +6 -6
  159. package/dist/chunks/{file-w7pcjcgc.js → job-hb548ks1.js} +11 -11
  160. package/dist/chunks/{file-hkv0byyz.js → job-hdja7q8b.js} +12 -12
  161. package/dist/chunks/{file-heyhwy2w.js → job-heyhwy2w.js} +1 -1
  162. package/dist/chunks/job-hrk0pm50.js +243 -0
  163. package/dist/chunks/{file-hrvm11jt.js → job-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{file-mhkvc446.js → job-j028xdjb.js} +3 -3
  165. package/dist/chunks/{file-3mpy6pnz.js → job-j2g5j66x.js} +11 -11
  166. package/dist/chunks/{file-mvbayggv.js → job-j36tnve8.js} +5 -5
  167. package/dist/chunks/{file-ghw4ap3q.js → job-jbqt9jv7.js} +31 -31
  168. package/dist/chunks/{file-3gt9pd4h.js → job-jdahdk5n.js} +24 -24
  169. package/dist/chunks/{file-806j49yq.js → job-jfqtm2ew.js} +4 -4
  170. package/dist/chunks/{file-vsr56sgz.js → job-jp40s068.js} +1 -1
  171. package/dist/chunks/{file-s9eewxz3.js → job-jrh6xn4c.js} +3 -3
  172. package/dist/chunks/{file-jdv57epv.js → job-jvh5jvbh.js} +46 -46
  173. package/dist/chunks/{file-jwcy2c2z.js → job-jwcy2c2z.js} +1 -1
  174. package/dist/chunks/{file-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{file-23d81xme.js → job-k6mws45t.js} +20 -20
  176. package/dist/chunks/{file-kg06axw8.js → job-kg06axw8.js} +1 -1
  177. package/dist/chunks/{file-yfbd16n1.js → job-kk3rr3qh.js} +5 -5
  178. package/dist/chunks/{file-0ez61b8c.js → job-ktk9a21d.js} +2 -2
  179. package/dist/chunks/{file-kvsjn1dr.js → job-kvsjn1dr.js} +2 -2
  180. package/dist/chunks/{file-x5wcxb38.js → job-ky7swqx3.js} +16 -16
  181. package/dist/chunks/{file-yqgv8gzc.js → job-m5jxsawq.js} +6 -6
  182. package/dist/chunks/{file-ddt2bs9e.js → job-m70sbz6t.js} +4 -4
  183. package/dist/chunks/{file-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{file-t23z101x.js → job-mappsm8s.js} +4 -4
  185. package/dist/chunks/{file-bnbv6b5n.js → job-mhjy9geh.js} +4 -4
  186. package/dist/chunks/{file-trbf7f13.js → job-mjzwven8.js} +13 -13
  187. package/dist/chunks/{file-z787d7xj.js → job-mnhhr8vg.js} +23 -23
  188. package/dist/chunks/{file-xe98bsrz.js → job-mw73v21r.js} +8 -8
  189. package/dist/chunks/{file-gjcg6yxb.js → job-mzcfs4x1.js} +7 -7
  190. package/dist/chunks/{file-p4vn8k5j.js → job-mzz8wxd0.js} +10 -10
  191. package/dist/chunks/{file-h3y0pe43.js → job-n5b9871t.js} +33 -33
  192. package/dist/chunks/{file-37b314vz.js → job-nag7dxjf.js} +9 -9
  193. package/dist/chunks/{file-6svk08be.js → job-nt3cjhda.js} +22 -22
  194. package/dist/chunks/{file-sp5wnj6d.js → job-nv1mfemk.js} +6 -6
  195. package/dist/chunks/{file-h44eeaqk.js → job-p1bjw1dn.js} +41 -41
  196. package/dist/chunks/{file-savfhqcd.js → job-p1h159n9.js} +12 -12
  197. package/dist/chunks/{file-t8rvmjzx.js → job-p81m17bq.js} +20 -20
  198. package/dist/chunks/{file-630mrxzs.js → job-pjsc4zyk.js} +6 -6
  199. package/dist/chunks/{file-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-pknna89w.js → job-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-kped6ekd.js → job-pstzsdxk.js} +17 -17
  202. package/dist/chunks/{file-52ba2sra.js → job-pw62wfs5.js} +8 -8
  203. package/dist/chunks/{file-zg2n6y4t.js → job-pydkqggy.js} +25 -25
  204. package/dist/chunks/{file-0ra6fv6k.js → job-pzhzvtrg.js} +47 -47
  205. package/dist/chunks/{file-d17hrp67.js → job-q0kqjkmf.js} +25 -25
  206. package/dist/chunks/{file-y8wzqhpp.js → job-q2eqbc76.js} +15 -15
  207. package/dist/chunks/{file-vdwwn6k7.js → job-q7e6n9zn.js} +9 -9
  208. package/dist/chunks/{file-v83v14r5.js → job-q8eh6ga5.js} +10 -10
  209. package/dist/chunks/{file-3s09vvne.js → job-qgbsg1ke.js} +22 -22
  210. package/dist/chunks/{file-qbdhhgha.js → job-qhwm6mz4.js} +8 -8
  211. package/dist/chunks/{file-0jd66zyb.js → job-qma472jp.js} +55 -55
  212. package/dist/chunks/{file-qsdy395h.js → job-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-ss0awb04.js → job-qz49fwgp.js} +4 -4
  214. package/dist/chunks/{file-ay8rbhkk.js → job-r1dvxz8z.js} +23 -23
  215. package/dist/chunks/{file-e9caa62w.js → job-r2qnyvne.js} +3 -3
  216. package/dist/chunks/{file-9p3t057d.js → job-r72b02md.js} +9 -9
  217. package/dist/chunks/{file-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{file-t7tn68wt.js → job-rbk154pb.js} +14 -14
  219. package/dist/chunks/{file-wxv6nqad.js → job-rdtt4ycx.js} +31 -31
  220. package/dist/chunks/{file-9tjsbxxt.js → job-rgpp5x08.js} +4 -4
  221. package/dist/chunks/{file-tt070hms.js → job-rh50mt9d.js} +1 -1
  222. package/dist/chunks/{file-age2sz3e.js → job-rvwskcwc.js} +11 -11
  223. package/dist/chunks/{file-8yy07cq2.js → job-rw08jxvr.js} +14 -14
  224. package/dist/chunks/{file-8cvnnrjq.js → job-s3239btt.js} +16 -16
  225. package/dist/chunks/{file-wmjd8bny.js → job-s8g0x53e.js} +33 -33
  226. package/dist/chunks/{file-5vw9vvj4.js → job-s97py5dz.js} +38 -38
  227. package/dist/chunks/{file-wr98cg9s.js → job-s9gykg7q.js} +60 -60
  228. package/dist/chunks/{file-sba4qhjf.js → job-sba4qhjf.js} +1 -1
  229. package/dist/chunks/{file-dwh2jwen.js → job-senknpt6.js} +13 -13
  230. package/dist/chunks/{file-9anj5k29.js → job-shfbkbb1.js} +46 -46
  231. package/dist/chunks/{file-sdr42knk.js → job-snkf112e.js} +25 -25
  232. package/dist/chunks/{file-2qvrqzxh.js → job-sqrpkr4f.js} +22 -22
  233. package/dist/chunks/{file-y01np14z.js → job-sxesk63z.js} +11 -11
  234. package/dist/chunks/{file-nb59rc1d.js → job-sxj9wb3z.js} +17 -17
  235. package/dist/chunks/{file-86s3977f.js → job-t5rzzqww.js} +1 -1
  236. package/dist/chunks/{file-8ryk0bb9.js → job-t71v2ka4.js} +5 -5
  237. package/dist/chunks/{file-31wgk69v.js → job-t8bmmp56.js} +3 -3
  238. package/dist/chunks/{file-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{file-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-tjykrgmx.js → job-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{file-rt96k8tb.js → job-v562m3aa.js} +20 -20
  242. package/dist/chunks/{file-cq35m6me.js → job-v98qgn33.js} +3 -3
  243. package/dist/chunks/{file-pm0tagmj.js → job-vc8jhytw.js} +26 -26
  244. package/dist/chunks/{file-e7gxy7fd.js → job-vep9yay1.js} +4 -4
  245. package/dist/chunks/{file-zxc2kv8n.js → job-vepj04m5.js} +6 -6
  246. package/dist/chunks/{file-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-k8feg6vv.js → job-w4600456.js} +4 -4
  248. package/dist/chunks/{file-7q8get4d.js → job-w51wkrn4.js} +15 -15
  249. package/dist/chunks/{file-wgxn7ww3.js → job-w6hdqetn.js} +4 -4
  250. package/dist/chunks/{file-pj7daft9.js → job-w6tbt1ze.js} +19 -19
  251. package/dist/chunks/{file-wd87259q.js → job-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-acqtp7e5.js → job-wk8nrfcs.js} +10 -10
  253. package/dist/chunks/{file-gss8xhg0.js → job-wqdnwa2t.js} +32 -32
  254. package/dist/chunks/{file-tbeh7nm8.js → job-wta9sx1g.js} +9 -9
  255. package/dist/chunks/{file-bgt6msk1.js → job-x0mxa1zg.js} +2 -2
  256. package/dist/chunks/{file-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{file-htzwhb48.js → job-x4e1mx07.js} +29 -29
  258. package/dist/chunks/{file-45a3e49b.js → job-x5yqqxk3.js} +6 -6
  259. package/dist/chunks/{file-nbrney8w.js → job-x6kesgn5.js} +20 -20
  260. package/dist/chunks/{file-5yabaxsy.js → job-xhff6z51.js} +28 -28
  261. package/dist/chunks/{file-ssq3ctr8.js → job-xnq53k63.js} +4 -4
  262. package/dist/chunks/{file-t1jgjt3q.js → job-xny325h3.js} +5 -5
  263. package/dist/chunks/{file-e5b0qn1c.js → job-xxzpesbj.js} +1 -1
  264. package/dist/chunks/{file-w0v6yqj2.js → job-y0gb186e.js} +17 -17
  265. package/dist/chunks/{file-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-3gcnb1p9.js → job-y5m8pq0x.js} +11 -11
  267. package/dist/chunks/{file-393yfw74.js → job-y6c4d9ha.js} +20 -20
  268. package/dist/chunks/{file-3wfq9j39.js → job-y86695j7.js} +12 -12
  269. package/dist/chunks/{file-44v8yfq1.js → job-y8b5kh1c.js} +7 -7
  270. package/dist/chunks/{file-sy5x4sx3.js → job-yge63rt3.js} +3 -3
  271. package/dist/chunks/{file-7qygs87w.js → job-yr2007ak.js} +39 -39
  272. package/dist/chunks/{file-zn2pq4p8.js → job-yt5k7jn8.js} +5 -5
  273. package/dist/chunks/{file-rs5embep.js → job-z0scd2p4.js} +15 -15
  274. package/dist/chunks/{file-z1k01bn4.js → job-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{file-nxhj2y70.js → job-z25mwg4t.js} +4 -4
  276. package/dist/chunks/{file-vb6d33pa.js → job-z8msmd3j.js} +10 -10
  277. package/dist/chunks/{file-5nt6w6m1.js → job-ze0c3xje.js} +11 -11
  278. package/dist/chunks/{file-awqyf91x.js → job-zmjynawk.js} +5 -5
  279. package/dist/chunks/{file-4z6b0fg6.js → job-zmya9kwb.js} +6 -6
  280. package/dist/chunks/{file-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  281. package/dist/chunks/{file-m1k88j08.js → job-zzqnaw22.js} +11 -11
  282. package/dist/codemode/catalog.js +3 -3
  283. package/dist/codemode/instructions.js +9 -9
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +79 -79
  286. package/dist/config/discovery.js +77 -77
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +114 -114
  290. package/dist/config/plugin/command.js +205 -205
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +123 -123
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +114 -114
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +80 -80
  313. package/dist/database/database.js +64 -64
  314. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  315. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +13 -13
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +14 -14
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +1 -1
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +88 -88
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +68 -68
  401. package/dist/file-mutation.js +87 -87
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +1 -1
  412. package/dist/filesystem/search.js +95 -95
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +13 -13
  415. package/dist/filesystem.js +96 -96
  416. package/dist/form.js +80 -80
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +88 -88
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +5 -5
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +5 -5
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +81 -81
  450. package/dist/job.js +77 -77
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +69 -69
  453. package/dist/location-activity.js +83 -83
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +98 -98
  460. package/dist/mcp/instructions.js +120 -120
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +8 -8
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +78 -78
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +84 -84
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +96 -96
  478. package/dist/plugin/command.js +93 -93
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +2 -2
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +114 -114
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +77 -77
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +72 -72
  525. package/dist/plugin/service.js +3 -3
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +333 -333
  529. package/dist/plugin/system-prompt.js +1 -1
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +4 -4
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +4 -4
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +83 -83
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +94 -94
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +78 -78
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +89 -89
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +125 -125
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +211 -211
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +4 -4
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +218 -218
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +82 -82
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +147 -147
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +207 -207
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +205 -205
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +13 -13
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +99 -99
  612. package/dist/skill.js +104 -104
  613. package/dist/snapshot.js +86 -86
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +119 -119
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +97 -97
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +106 -106
  630. package/dist/tool/plugin/websearch.js +108 -108
  631. package/dist/tool/plugin/write.js +114 -114
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +13 -13
  636. package/dist/types/model-resolver.d.ts +1 -1
  637. package/dist/types/provider.d.ts +1 -1
  638. package/dist/util/error.js +1 -1
  639. package/dist/util/iife.js +1 -1
  640. package/dist/util/lazy.js +1 -1
  641. package/dist/util/slug.js +1 -1
  642. package/dist/util/token.js +1 -1
  643. package/dist/util/which.js +1 -1
  644. package/dist/util/wildcard.js +1 -1
  645. package/dist/v1/config/agent.js +5 -5
  646. package/dist/v1/config/attachment.js +4 -4
  647. package/dist/v1/config/command.js +3 -3
  648. package/dist/v1/config/config.js +16 -16
  649. package/dist/v1/config/error.js +2 -2
  650. package/dist/v1/config/formatter.js +3 -3
  651. package/dist/v1/config/layout.js +1 -1
  652. package/dist/v1/config/lsp.js +3 -3
  653. package/dist/v1/config/mcp.js +4 -4
  654. package/dist/v1/config/migrate.js +4 -4
  655. package/dist/v1/config/permission.js +3 -3
  656. package/dist/v1/config/plugin.js +3 -3
  657. package/dist/v1/config/provider-options.js +1 -1
  658. package/dist/v1/config/provider.js +2 -2
  659. package/dist/v1/config/server.js +2 -2
  660. package/dist/v1/config/skills.js +3 -3
  661. package/dist/v1/permission.js +1 -1
  662. package/dist/vcs/patch.js +1 -1
  663. package/dist/vcs.js +85 -85
  664. package/dist/websearch.js +80 -80
  665. package/dist/wellknown/plugin.js +74 -74
  666. package/dist/wellknown.js +79 -79
  667. package/dist/workspace/driver.js +5 -5
  668. package/dist/workspace/sql.js +1 -1
  669. package/dist/workspace.js +78 -78
  670. package/dist/worktree/directory.js +2 -2
  671. package/dist/worktree/git.js +7 -7
  672. package/dist/worktree/sql.js +5 -5
  673. package/dist/worktree.js +92 -92
  674. package/package.json +7 -7
  675. package/dist/chunks/file-4y7bcn0g.js +0 -4
  676. package/dist/chunks/file-n95b3jav.js +0 -18
  677. package/dist/chunks/file-trrz6gpv.js +0 -243
  678. package/dist/chunks/file-xraadc2q.js +0 -22
  679. /package/dist/chunks/{file-0fabt78z.js → job-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{file-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{file-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{file-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{file-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{file-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{file-2710q6r3.js → job-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{file-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{file-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{file-359p4xyc.js → job-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{file-3asan66x.js → job-3asan66x.js} +0 -0
  690. /package/dist/chunks/{file-3t738kvx.js → job-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{file-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{file-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{file-41nvscxy.js → job-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{file-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{file-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{file-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{file-53557ph1.js → job-53557ph1.js} +0 -0
  698. /package/dist/chunks/{file-550bvhaj.js → job-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{file-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  700. /package/dist/chunks/{file-6prwharc.js → job-6prwharc.js} +0 -0
  701. /package/dist/chunks/{file-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  702. /package/dist/chunks/{file-7m9af43g.js → job-7m9af43g.js} +0 -0
  703. /package/dist/chunks/{file-822emrt2.js → job-822emrt2.js} +0 -0
  704. /package/dist/chunks/{file-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  705. /package/dist/chunks/{file-8n3pysct.js → job-8n3pysct.js} +0 -0
  706. /package/dist/chunks/{file-982e01ww.js → job-982e01ww.js} +0 -0
  707. /package/dist/chunks/{file-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  708. /package/dist/chunks/{file-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  709. /package/dist/chunks/{file-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
  710. /package/dist/chunks/{file-af5trqkr.js → job-af5trqkr.js} +0 -0
  711. /package/dist/chunks/{file-afrmfg78.js → job-afrmfg78.js} +0 -0
  712. /package/dist/chunks/{file-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  713. /package/dist/chunks/{file-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  714. /package/dist/chunks/{file-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  715. /package/dist/chunks/{file-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  716. /package/dist/chunks/{file-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  717. /package/dist/chunks/{file-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  718. /package/dist/chunks/{file-d9fn303g.js → job-d9fn303g.js} +0 -0
  719. /package/dist/chunks/{file-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  720. /package/dist/chunks/{file-dajrwvna.js → job-dajrwvna.js} +0 -0
  721. /package/dist/chunks/{file-dap0rakb.js → job-dap0rakb.js} +0 -0
  722. /package/dist/chunks/{file-df08tz66.js → job-df08tz66.js} +0 -0
  723. /package/dist/chunks/{file-dy18nga0.js → job-dy18nga0.js} +0 -0
  724. /package/dist/chunks/{file-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  725. /package/dist/chunks/{file-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  726. /package/dist/chunks/{file-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  727. /package/dist/chunks/{file-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  728. /package/dist/chunks/{file-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  729. /package/dist/chunks/{file-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  730. /package/dist/chunks/{file-faypxj3z.js → job-faypxj3z.js} +0 -0
  731. /package/dist/chunks/{file-fd410y7t.js → job-fd410y7t.js} +0 -0
  732. /package/dist/chunks/{file-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  733. /package/dist/chunks/{file-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  734. /package/dist/chunks/{file-g86h250q.js → job-g86h250q.js} +0 -0
  735. /package/dist/chunks/{file-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  736. /package/dist/chunks/{file-hk9envan.js → job-hk9envan.js} +0 -0
  737. /package/dist/chunks/{file-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  738. /package/dist/chunks/{file-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  739. /package/dist/chunks/{file-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  740. /package/dist/chunks/{file-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  741. /package/dist/chunks/{file-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  742. /package/dist/chunks/{file-mntxs535.js → job-mntxs535.js} +0 -0
  743. /package/dist/chunks/{file-mp448xyj.js → job-mp448xyj.js} +0 -0
  744. /package/dist/chunks/{file-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  745. /package/dist/chunks/{file-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  746. /package/dist/chunks/{file-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  747. /package/dist/chunks/{file-njntx4h6.js → job-njntx4h6.js} +0 -0
  748. /package/dist/chunks/{file-p8qxwesx.js → job-p8qxwesx.js} +0 -0
  749. /package/dist/chunks/{file-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  750. /package/dist/chunks/{file-q74kybfr.js → job-q74kybfr.js} +0 -0
  751. /package/dist/chunks/{file-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  752. /package/dist/chunks/{file-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  753. /package/dist/chunks/{file-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  754. /package/dist/chunks/{file-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  755. /package/dist/chunks/{file-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  756. /package/dist/chunks/{file-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  757. /package/dist/chunks/{file-se0s1eqw.js → job-se0s1eqw.js} +0 -0
  758. /package/dist/chunks/{file-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  759. /package/dist/chunks/{file-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  760. /package/dist/chunks/{file-twg0f83k.js → job-twg0f83k.js} +0 -0
  761. /package/dist/chunks/{file-w803qqfp.js → job-w803qqfp.js} +0 -0
  762. /package/dist/chunks/{file-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  763. /package/dist/chunks/{file-wtztk69x.js → job-wtztk69x.js} +0 -0
  764. /package/dist/chunks/{file-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  765. /package/dist/chunks/{file-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
  766. /package/dist/chunks/{file-x61499pn.js → job-x61499pn.js} +0 -0
  767. /package/dist/chunks/{file-y44na4kk.js → job-y44na4kk.js} +0 -0
  768. /package/dist/chunks/{file-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  769. /package/dist/chunks/{file-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  770. /package/dist/chunks/{file-z9919s4g.js → job-z9919s4g.js} +0 -0
  771. /package/dist/chunks/{file-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./file-kg06axw8.js";
3
+ } from "./job-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./file-qaymkmh1.js";
6
+ } from "./job-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service71,
14
+ Options: () => Options10,
15
+ Service: () => Service72,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node74,
24
+ node: () => node76,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service71 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service72 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service71.of({
202
+ return Service72.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured8(options) {
209
- return makeLocationNode({ service: Service71, layer: layer(options), deps: [Global.node] });
208
+ function configured11(options) {
209
+ return makeLocationNode({ service: Service72, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node74 = configured8();
211
+ var node76 = configured11();
212
212
 
213
- export { Options8, Service71, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node74, exports_select };
213
+ export { Options10, Service72, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured11, node76, exports_select };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./file-emrn6kk6.js";
4
+ } from "./job-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service57
3
- } from "./file-yrfjzgmk.js";
2
+ Service65
3
+ } from "./job-31s1nbqh.js";
4
4
  import {
5
- Service31
6
- } from "./file-jdv57epv.js";
5
+ Service41
6
+ } from "./job-jvh5jvbh.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin5,
15
+ Plugin: () => Plugin22,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin5 = define({
20
+ var Plugin22 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service57;
28
- const mcp = yield* Service31;
27
+ const config = yield* Service65;
28
+ const mcp = yield* Service41;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin5, register2, exports_mcp };
49
+ export { Plugin22, register2, exports_mcp };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service73
3
- } from "./file-xj15198g.js";
2
+ Service74
3
+ } from "./job-5y476dvm.js";
4
4
  import {
5
- Service61
6
- } from "./file-pwsfrk47.js";
5
+ Service69
6
+ } from "./job-gkhj65gm.js";
7
7
  import {
8
- Service16,
8
+ Service17,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-hkv0byyz.js";
11
+ } from "./job-hdja7q8b.js";
12
12
  import {
13
- Service18
14
- } from "./file-y8wzqhpp.js";
13
+ Service14
14
+ } from "./job-q2eqbc76.js";
15
15
  import {
16
16
  externalDirectoryPermission2,
17
17
  resolvePath2,
18
- Service72
19
- } from "./file-warfykcc.js";
18
+ Service13
19
+ } from "./job-4k0h8fvt.js";
20
20
  import {
21
- Service50
22
- } from "./file-r5aexrb8.js";
21
+ Service45
22
+ } from "./job-ft2ykv9q.js";
23
23
  import {
24
24
  fileDiff2
25
- } from "./file-6prwharc.js";
25
+ } from "./job-6prwharc.js";
26
26
  import {
27
27
  __export
28
- } from "./file-9rqn6x4v.js";
28
+ } from "./job-9rqn6x4v.js";
29
29
 
30
30
  // src/tool/plugin/edit.ts
31
31
  var exports_edit = {};
32
32
  __export(exports_edit, {
33
33
  EditTool: () => exports_edit,
34
- Input: () => Input12,
35
- Output: () => Output8,
36
- Plugin: () => Plugin43,
37
- name: () => name12
34
+ Input: () => Input3,
35
+ Output: () => Output3,
36
+ Plugin: () => Plugin3,
37
+ name: () => name3
38
38
  });
39
39
  import { ToolFailure } from "@opencode-ai/ai";
40
40
  import { FileDiff } from "@opencode-ai/schema/file-diff";
41
41
  import { Bom } from "@opencode-ai/util/bom";
42
42
  import { Effect, Schema } from "effect";
43
- var name12 = "edit";
44
- var Input12 = Schema.Struct({
43
+ var name3 = "edit";
44
+ var Input3 = Schema.Struct({
45
45
  path: Schema.String.annotate({
46
46
  description: "File to edit"
47
47
  }),
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
51
51
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
52
52
  })
53
53
  });
54
- var Output8 = Schema.Struct({
54
+ var Output3 = Schema.Struct({
55
55
  files: Schema.Array(FileDiff.Info),
56
56
  replacements: Schema.Number
57
57
  });
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
104
104
  return result;
105
105
  }, []);
106
106
  };
107
- var Plugin43 = {
107
+ var Plugin3 = {
108
108
  id: "opencode.tool.edit",
109
109
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
110
- const mutation = yield* Service72;
111
- const fileMutation = yield* Service16;
112
- const environment = yield* Service61;
113
- const formatter = yield* Service18;
114
- const location = yield* Service73;
115
- const permission = yield* Service50;
110
+ const mutation = yield* Service13;
111
+ const fileMutation = yield* Service17;
112
+ const environment = yield* Service69;
113
+ const formatter = yield* Service14;
114
+ const location = yield* Service74;
115
+ const permission = yield* Service45;
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name12,
117
+ name: name3,
118
118
  options: { codemode: false, permission: "edit" },
119
119
  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.",
120
- input: Input12,
121
- output: Output8,
120
+ input: Input3,
121
+ output: Output3,
122
122
  execute: (input, context) => {
123
123
  return Effect.gen(function* () {
124
124
  const permissionSource = {
@@ -203,4 +203,4 @@ var Plugin43 = {
203
203
  })
204
204
  };
205
205
 
206
- export { name12, Input12, Output8, Plugin43, exports_edit };
206
+ export { name3, Input3, Output3, Plugin3, exports_edit };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-jwcy2c2z.js";
3
+ } from "./job-jwcy2c2z.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service7,
13
+ node: () => node8
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode-ai/util/npm";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service7 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service7.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service7, node8, exports_update };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-p8qxwesx.js";
4
+ } from "./job-p8qxwesx.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-cq35m6me.js";
7
+ } from "./job-v98qgn33.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,73 +1,73 @@
1
1
  import {
2
- Service61
3
- } from "./file-pwsfrk47.js";
2
+ Service69
3
+ } from "./job-gkhj65gm.js";
4
4
  import {
5
- Service16,
5
+ Service17,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-hkv0byyz.js";
8
+ } from "./job-hdja7q8b.js";
9
9
  import {
10
- Service18
11
- } from "./file-y8wzqhpp.js";
10
+ Service14
11
+ } from "./job-q2eqbc76.js";
12
12
  import {
13
13
  externalDirectoryPermission2,
14
- Service72
15
- } from "./file-warfykcc.js";
14
+ Service13
15
+ } from "./job-4k0h8fvt.js";
16
16
  import {
17
- Service50
18
- } from "./file-r5aexrb8.js";
17
+ Service45
18
+ } from "./job-ft2ykv9q.js";
19
19
  import {
20
20
  fileDiff2
21
- } from "./file-6prwharc.js";
21
+ } from "./job-6prwharc.js";
22
22
  import {
23
23
  __export
24
- } from "./file-9rqn6x4v.js";
24
+ } from "./job-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/write.ts
27
27
  var exports_write = {};
28
28
  __export(exports_write, {
29
- Input: () => Input9,
30
- Output: () => Output6,
31
- Plugin: () => Plugin40,
29
+ Input: () => Input12,
30
+ Output: () => Output8,
31
+ Plugin: () => Plugin13,
32
32
  WriteTool: () => exports_write,
33
- name: () => name9,
33
+ name: () => name12,
34
34
  toModelContent: () => toModelContent6
35
35
  });
36
36
  import { ToolFailure } from "@opencode-ai/ai";
37
37
  import { Effect, Schema } from "effect";
38
38
  import { Bom } from "@opencode-ai/util/bom";
39
- var name9 = "write";
40
- var Input9 = Schema.Struct({
39
+ var name12 = "write";
40
+ var Input12 = Schema.Struct({
41
41
  path: Schema.String.annotate({
42
42
  description: "Path to the file to write to"
43
43
  }),
44
44
  content: Schema.String.annotate({ description: "Content to write to the file" })
45
45
  });
46
- var Output6 = Schema.Struct({
46
+ var Output8 = Schema.Struct({
47
47
  operation: Schema.Literal("write"),
48
48
  target: Schema.String,
49
49
  resource: Schema.String,
50
50
  existed: Schema.Boolean
51
51
  });
52
52
  var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
53
- var Plugin40 = {
53
+ var Plugin13 = {
54
54
  id: "opencode.tool.write",
55
55
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
56
- const mutation = yield* Service72;
57
- const fileMutation = yield* Service16;
58
- const environment = yield* Service61;
59
- const formatter = yield* Service18;
60
- const permission = yield* Service50;
56
+ const mutation = yield* Service13;
57
+ const fileMutation = yield* Service17;
58
+ const environment = yield* Service69;
59
+ const formatter = yield* Service14;
60
+ const permission = yield* Service45;
61
61
  yield* ctx.tool.transform((editor) => editor.add({
62
- name: name9,
62
+ name: name12,
63
63
  options: { codemode: false, permission: "edit" },
64
64
  description: `Writes a file to the local filesystem, overwriting if one exists.
65
65
 
66
66
  Missing parent directories are created automatically.
67
67
 
68
68
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
69
- input: Input9,
70
- output: Output6,
69
+ input: Input12,
70
+ output: Output8,
71
71
  execute: (input, context) => Effect.gen(function* () {
72
72
  const source = {
73
73
  type: "tool",
@@ -106,4 +106,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
106
106
  })
107
107
  };
108
108
 
109
- export { name9, Input9, Output6, toModelContent6, Plugin40, exports_write };
109
+ export { name12, Input12, Output8, toModelContent6, Plugin13, exports_write };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-982e01ww.js";
3
+ } from "./job-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-cq35m6me.js";
6
+ } from "./job-v98qgn33.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -22,7 +22,7 @@ __export(exports_error, {
22
22
  MessageNotAssistantError: () => MessageNotAssistantError2,
23
23
  MessageNotFoundError: () => MessageNotFoundError2,
24
24
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
25
- NotFoundError: () => NotFoundError6,
25
+ NotFoundError: () => NotFoundError5,
26
26
  PromptConflictError: () => PromptConflictError2,
27
27
  SessionErrors: () => exports_error,
28
28
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
35
35
  import { Skill } from "@opencode-ai/schema/skill";
36
36
  import { SessionError } from "@opencode-ai/schema/session-error";
37
37
 
38
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
38
+ class NotFoundError5 extends Schema.TaggedError()("Session.NotFoundError", {
39
39
  sessionID: SessionSchema2.ID
40
40
  }) {
41
41
  }
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
144
144
  }) {
145
145
  }
146
146
 
147
- export { NotFoundError6, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
147
+ export { NotFoundError5, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-s9eewxz3.js";
3
+ } from "./job-jrh6xn4c.js";
4
4
  import {
5
5
  Service79
6
- } from "./file-3pcz81vc.js";
6
+ } from "./job-1eq7j3rm.js";
7
7
  import {
8
- Service40
9
- } from "./file-sp5wnj6d.js";
8
+ Service38
9
+ } from "./job-nv1mfemk.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./file-p8qxwesx.js";
12
+ } from "./job-p8qxwesx.js";
13
13
  import {
14
- ID4,
15
- Service48
16
- } from "./file-ctb8fb4q.js";
14
+ ID5,
15
+ Service42
16
+ } from "./job-0amrg371.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-mntxs535.js";
19
+ } from "./job-mntxs535.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./file-982e01ww.js";
22
+ } from "./job-982e01ww.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./file-45a3e49b.js";
25
+ } from "./job-x5yqqxk3.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./file-hrvm11jt.js";
28
+ } from "./job-hrvm11jt.js";
29
29
  import {
30
30
  __export
31
- } from "./file-9rqn6x4v.js";
31
+ } from "./job-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service40;
45
+ const instances = yield* Service38;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service48;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service42;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service40;
77
+ const instances = yield* Service38;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service48;
80
+ const snapshot = yield* Service42;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });