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

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 (767) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{command-33hp2zv2.js → schema-003fsg5n.js} +18 -18
  9. package/dist/chunks/{command-7d52aqke.js → schema-03bnknpm.js} +19 -19
  10. package/dist/chunks/{command-e1mb8xhp.js → schema-03r09nmf.js} +11 -11
  11. package/dist/chunks/{command-6cnvhzhy.js → schema-04y4kq5h.js} +16 -16
  12. package/dist/chunks/{command-e1rfyyrx.js → schema-0b2z71cm.js} +6 -6
  13. package/dist/chunks/{command-d58yx3mx.js → schema-0czjyq8r.js} +18 -18
  14. package/dist/chunks/{command-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
  15. package/dist/chunks/{command-v08anw5k.js → schema-0ez61b8c.js} +2 -2
  16. package/dist/chunks/{command-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{command-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{command-6xw6ac85.js → schema-0vj1jrz2.js} +30 -30
  19. package/dist/chunks/{command-0vynkq1k.js → schema-0wexhrg6.js} +26 -26
  20. package/dist/chunks/{command-ys04yrn6.js → schema-0wmajvd3.js} +19 -19
  21. package/dist/chunks/{command-ww1szn71.js → schema-13henw9b.js} +7 -7
  22. package/dist/chunks/{command-n9vsncbs.js → schema-14hmenm3.js} +3 -3
  23. package/dist/chunks/{command-z1s4wvth.js → schema-19e0cjgc.js} +16 -16
  24. package/dist/chunks/{command-vd7zqppv.js → schema-1a62n4b4.js} +8 -8
  25. package/dist/chunks/{command-0nqpaxk7.js → schema-1b1362z0.js} +265 -265
  26. package/dist/chunks/{command-b4cmc4ha.js → schema-1bfx2f8w.js} +15 -15
  27. package/dist/chunks/{command-mm8fez2g.js → schema-1c9254mw.js} +19 -19
  28. package/dist/chunks/{command-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
  29. package/dist/chunks/{command-18vzz2sn.js → schema-1pcpac3c.js} +44 -44
  30. package/dist/chunks/{command-w4tqxsac.js → schema-1qm36p24.js} +6 -6
  31. package/dist/chunks/{command-d9jdb4zk.js → schema-1rs9f67k.js} +13 -13
  32. package/dist/chunks/{command-myp0nqk5.js → schema-1twm75cg.js} +7 -7
  33. package/dist/chunks/{command-21r38tys.js → schema-21r38tys.js} +1 -1
  34. package/dist/chunks/{command-3ywkksk4.js → schema-232z5d71.js} +11 -11
  35. package/dist/chunks/{command-2402vzrj.js → schema-2402vzrj.js} +1 -1
  36. package/dist/chunks/{command-5gv2kmhj.js → schema-25x8afv5.js} +24 -24
  37. package/dist/chunks/{command-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{command-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
  39. package/dist/chunks/{command-2jqmte8w.js → schema-2jqmte8w.js} +2 -2
  40. package/dist/chunks/{command-d6wax2q4.js → schema-31jaghp0.js} +11 -11
  41. package/dist/chunks/{command-pa2jrwbg.js → schema-3b8x608h.js} +11 -11
  42. package/dist/chunks/{command-awvh19kp.js → schema-3bxg9k4v.js} +4 -4
  43. package/dist/chunks/{command-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{command-qs1c0g84.js → schema-3m6r3y2t.js} +6 -6
  45. package/dist/chunks/{command-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{command-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{command-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{command-g4p2jaj6.js → schema-3wfq9j39.js} +12 -12
  49. package/dist/chunks/{command-1mrma768.js → schema-41mncz27.js} +5 -5
  50. package/dist/chunks/{command-454k5vzh.js → schema-454k5vzh.js} +1 -1
  51. package/dist/chunks/{command-q53nydxb.js → schema-465hbgy4.js} +23 -23
  52. package/dist/chunks/{command-fnptnz5b.js → schema-47hx03vq.js} +10 -10
  53. package/dist/chunks/{command-7nn4y7w6.js → schema-49vqye4b.js} +25 -25
  54. package/dist/chunks/{command-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{command-7j0nj4pm.js → schema-4t3td2wa.js} +5 -5
  56. package/dist/chunks/{command-9rhh5gqv.js → schema-4z6b0fg6.js} +6 -6
  57. package/dist/chunks/{command-e1patwpn.js → schema-51607pcx.js} +14 -14
  58. package/dist/chunks/{command-5wmq78ra.js → schema-5d7pjmem.js} +11 -11
  59. package/dist/chunks/{command-5daktx2q.js → schema-5daktx2q.js} +1 -1
  60. package/dist/chunks/{command-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{command-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{command-5sg4xzjf.js → schema-5sg4xzjf.js} +1 -1
  63. package/dist/chunks/{command-fdsmhwy2.js → schema-5t62h84z.js} +9 -9
  64. package/dist/chunks/{command-exy2v0tj.js → schema-5xry5f48.js} +15 -15
  65. package/dist/chunks/{command-9yaajp0h.js → schema-5ymv3zps.js} +10 -10
  66. package/dist/chunks/{command-cnrverm5.js → schema-604brgxe.js} +15 -15
  67. package/dist/chunks/{command-2k8khapm.js → schema-607tc6va.js} +5 -5
  68. package/dist/chunks/{command-s4pt1ctc.js → schema-6e9zjh3b.js} +35 -35
  69. package/dist/chunks/{command-qk2s0wq8.js → schema-6gdw6h0x.js} +15 -15
  70. package/dist/chunks/{command-0xd2d7hb.js → schema-6h414ywr.js} +5 -5
  71. package/dist/chunks/{command-3p3achxg.js → schema-6t6jdtfj.js} +43 -43
  72. package/dist/chunks/{command-6tf8tr4v.js → schema-6tf8tr4v.js} +2 -2
  73. package/dist/chunks/{command-7r1tj01c.js → schema-6wvc17bv.js} +21 -21
  74. package/dist/chunks/{command-f5vdqjqt.js → schema-6z0cx0hp.js} +5 -5
  75. package/dist/chunks/{command-6z5bwd8g.js → schema-6z5bwd8g.js} +2 -2
  76. package/dist/chunks/{command-711hfp6y.js → schema-711hfp6y.js} +2 -2
  77. package/dist/chunks/{command-ac3j6t8f.js → schema-71gdr5b1.js} +8 -8
  78. package/dist/chunks/{command-g8vcfp1v.js → schema-7b58fdzm.js} +39 -39
  79. package/dist/chunks/{command-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{command-2wjn61mn.js → schema-7cxbprz9.js} +9 -9
  81. package/dist/chunks/{command-md0qwdy1.js → schema-84615681.js} +30 -30
  82. package/dist/chunks/{command-8y13jkzv.js → schema-86gvg13r.js} +26 -26
  83. package/dist/chunks/{command-x5s817a3.js → schema-86s3977f.js} +1 -1
  84. package/dist/chunks/{command-etaqwdhb.js → schema-885z9zv8.js} +25 -25
  85. package/dist/chunks/{command-0kjqcjxv.js → schema-89b63vz0.js} +9 -9
  86. package/dist/chunks/{command-89znhe33.js → schema-89znhe33.js} +1 -1
  87. package/dist/chunks/{command-12gh2r0n.js → schema-8dbsynwt.js} +4 -4
  88. package/dist/chunks/{command-zrrqbtv4.js → schema-8gwm888c.js} +16 -16
  89. package/dist/chunks/{command-kqetvnf7.js → schema-8jb23qqb.js} +34 -34
  90. package/dist/chunks/{command-f4payg1q.js → schema-8vvsq35t.js} +28 -28
  91. package/dist/chunks/{command-nzzxe9z3.js → schema-8z1zv58q.js} +24 -24
  92. package/dist/chunks/{command-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
  93. package/dist/chunks/{command-z0y2k7gm.js → schema-93zj7k35.js} +29 -29
  94. package/dist/chunks/{command-vk57p0r6.js → schema-9n0vkmbk.js} +4 -4
  95. package/dist/chunks/{command-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{command-ndxmc8jy.js → schema-9ynjk36a.js} +14 -14
  97. package/dist/chunks/{command-fj4x2m8g.js → schema-a2qpghxp.js} +26 -26
  98. package/dist/chunks/{command-1akmxprb.js → schema-a38ny1e6.js} +18 -18
  99. package/dist/chunks/{command-a5nkh94p.js → schema-a5nkh94p.js} +1 -1
  100. package/dist/chunks/{command-aaet6srn.js → schema-aaet6srn.js} +2 -2
  101. package/dist/chunks/{command-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
  102. package/dist/chunks/{command-d26dc0tg.js → schema-aqe02c8d.js} +23 -23
  103. package/dist/chunks/{command-nv1mfemk.js → schema-ar126axr.js} +6 -6
  104. package/dist/chunks/{command-5fpdng81.js → schema-arkd3wpw.js} +5 -5
  105. package/dist/chunks/{command-kxmj7br7.js → schema-aw2k3wz6.js} +63 -63
  106. package/dist/chunks/{command-fvzk6cpt.js → schema-b44wx9et.js} +32 -32
  107. package/dist/chunks/{command-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{command-kzdh53w6.js → schema-b8z4k5ce.js} +27 -27
  109. package/dist/chunks/{command-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{command-bnqaaxy4.js → schema-bd8qc9hq.js} +10 -10
  111. package/dist/chunks/{command-xjqxrzvv.js → schema-bh9tqa98.js} +30 -30
  112. package/dist/chunks/{command-h3wsk5t8.js → schema-bhpqzk3s.js} +14 -14
  113. package/dist/chunks/{command-y9j759kk.js → schema-bxb1xesv.js} +4 -4
  114. package/dist/chunks/{command-5vf5ce74.js → schema-by3wynxz.js} +25 -25
  115. package/dist/chunks/{command-m09hh2qm.js → schema-bz9tscha.js} +15 -15
  116. package/dist/chunks/{command-6e958v7x.js → schema-c0faa19c.js} +6 -6
  117. package/dist/chunks/{command-mh4ywd3j.js → schema-c8adm2ya.js} +11 -11
  118. package/dist/chunks/{command-pcras68f.js → schema-cmzeyqty.js} +15 -15
  119. package/dist/chunks/{command-kmkwybff.js → schema-cqg8v4c7.js} +6 -6
  120. package/dist/chunks/{command-0kfne21a.js → schema-cr2cj2wh.js} +12 -12
  121. package/dist/chunks/{command-qvw3ex0p.js → schema-cv9nfd2x.js} +9 -9
  122. package/dist/chunks/{command-9rp752s8.js → schema-cvtn0ena.js} +18 -18
  123. package/dist/chunks/{command-50m12935.js → schema-cwy94s7d.js} +28 -28
  124. package/dist/chunks/{command-806j49yq.js → schema-d216944b.js} +7 -7
  125. package/dist/chunks/{command-aya6j6m3.js → schema-d33d0znm.js} +9 -9
  126. package/dist/chunks/{command-d72308c8.js → schema-d72308c8.js} +2 -2
  127. package/dist/chunks/{command-367jrrwj.js → schema-ddhdzq1z.js} +22 -22
  128. package/dist/chunks/{command-9s7m1fh2.js → schema-ddqrdvz9.js} +5 -5
  129. package/dist/chunks/{command-1h95a3b9.js → schema-dmeb760c.js} +11 -11
  130. package/dist/chunks/{command-15zye2r5.js → schema-dn5rar9h.js} +18 -18
  131. package/dist/chunks/{command-t6keskfq.js → schema-dq1m6vbr.js} +12 -12
  132. package/dist/chunks/{command-ws5hqc9c.js → schema-drrwt7ne.js} +20 -20
  133. package/dist/chunks/{command-7w010q1d.js → schema-dwag0pt8.js} +49 -49
  134. package/dist/chunks/{command-r656qmc8.js → schema-dx71f7x8.js} +1 -1
  135. package/dist/chunks/{command-b7hbr3r2.js → schema-e5b0qn1c.js} +1 -1
  136. package/dist/chunks/{command-ptd509h3.js → schema-e8zea55p.js} +5 -5
  137. package/dist/chunks/{command-d7jhfk1z.js → schema-ek47zmt8.js} +20 -20
  138. package/dist/chunks/{command-4rftwdm7.js → schema-embxdc05.js} +18 -18
  139. package/dist/chunks/{command-ysynen7x.js → schema-erdqw2zp.js} +17 -17
  140. package/dist/chunks/{command-5tc0y89d.js → schema-etv9h02v.js} +11 -11
  141. package/dist/chunks/{command-jwcy2c2z.js → schema-f0nz223j.js} +4 -4
  142. package/dist/chunks/{command-2zsr04y1.js → schema-f1kgb3zy.js} +17 -17
  143. package/dist/chunks/{command-v8yh8gmz.js → schema-f2c1rw5q.js} +8 -8
  144. package/dist/chunks/{command-e4kk8zzx.js → schema-fcxqfnez.js} +40 -40
  145. package/dist/chunks/{command-zjxf22wa.js → schema-fgsnpp9b.js} +9 -9
  146. package/dist/chunks/{command-fpthsa93.js → schema-fqjmww7h.js} +2 -2
  147. package/dist/chunks/{command-fexqjycg.js → schema-fqsas06y.js} +20 -20
  148. package/dist/chunks/{command-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{command-fxypknc8.js → schema-fxypknc8.js} +1 -1
  150. package/dist/chunks/{command-drsywa8d.js → schema-g3drbzg8.js} +45 -45
  151. package/dist/chunks/{command-7g7fb98j.js → schema-g41n1fn3.js} +5 -5
  152. package/dist/chunks/{command-z0caz8m8.js → schema-g77vssk4.js} +3 -3
  153. package/dist/chunks/{command-3b6b9fm5.js → schema-g7dk7q7q.js} +6 -6
  154. package/dist/chunks/{command-507jwzhp.js → schema-gb2d2dnx.js} +6 -6
  155. package/dist/chunks/{command-wwach3d4.js → schema-gcs6fwp7.js} +26 -26
  156. package/dist/chunks/{command-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{command-gdvy8fx6.js → schema-gdvy8fx6.js} +1 -1
  158. package/dist/chunks/{command-eccqmmqw.js → schema-ghs32kwn.js} +10 -10
  159. package/dist/chunks/{command-035rcwns.js → schema-ghvd297g.js} +13 -13
  160. package/dist/chunks/{command-n7w5zqem.js → schema-gpf623h2.js} +28 -28
  161. package/dist/chunks/{command-ttdwytnm.js → schema-gra7g7yn.js} +4 -4
  162. package/dist/chunks/{command-fz4jwa6n.js → schema-gsh994c1.js} +20 -20
  163. package/dist/chunks/{command-zmm1cve0.js → schema-gxf68msc.js} +11 -11
  164. package/dist/chunks/{command-ggs7d5mp.js → schema-gyt4m0mz.js} +13 -13
  165. package/dist/chunks/{command-taexzmrc.js → schema-h0171c2t.js} +22 -22
  166. package/dist/chunks/{command-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{command-1ydgq2r4.js → schema-h722e297.js} +5 -5
  168. package/dist/chunks/{command-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
  169. package/dist/chunks/{command-qnr3jx13.js → schema-hf39trxb.js} +6 -6
  170. package/dist/chunks/{command-ktx1hmb3.js → schema-hge35dz1.js} +11 -11
  171. package/dist/chunks/{command-62qcn064.js → schema-hmwt0jyx.js} +21 -21
  172. package/dist/chunks/{command-nrz5c8c1.js → schema-hr5qjpq8.js} +9 -9
  173. package/dist/chunks/{command-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
  174. package/dist/chunks/{command-kvsjn1dr.js → schema-hw4pv20g.js} +2 -2
  175. package/dist/chunks/{command-7tft0kbg.js → schema-hz4jmg6a.js} +16 -16
  176. package/dist/chunks/{command-kmng5yeq.js → schema-hzecryb5.js} +18 -18
  177. package/dist/chunks/{command-z1n2e8q4.js → schema-j2823k0a.js} +2 -2
  178. package/dist/chunks/{command-rwh68y4k.js → schema-j5208yae.js} +6 -6
  179. package/dist/chunks/{command-5qd3pb7m.js → schema-j935v87r.js} +2 -2
  180. package/dist/chunks/{command-sw16r4ae.js → schema-j9p9k0ns.js} +20 -20
  181. package/dist/chunks/{command-et2w1z4j.js → schema-jdcgdbf4.js} +15 -15
  182. package/dist/chunks/{command-2697d8n0.js → schema-jnkr0b22.js} +10 -10
  183. package/dist/chunks/{command-hdmbq1xh.js → schema-jzwyrcyp.js} +26 -26
  184. package/dist/chunks/{command-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
  185. package/dist/chunks/{command-cv9knkrg.js → schema-k4wm54be.js} +11 -11
  186. package/dist/chunks/{command-bwdms3f5.js → schema-k6j9nnzb.js} +5 -5
  187. package/dist/chunks/{command-36mzbjn4.js → schema-k8feg6vv.js} +4 -4
  188. package/dist/chunks/{command-kg06axw8.js → schema-kg06axw8.js} +1 -1
  189. package/dist/chunks/{command-hs09szwj.js → schema-kqh4e8mv.js} +11 -11
  190. package/dist/chunks/{command-0s7aarrn.js → schema-ksgctcgv.js} +9 -9
  191. package/dist/chunks/{command-qh16mj05.js → schema-kxmdptat.js} +6 -6
  192. package/dist/chunks/{command-279zjhpq.js → schema-ky34zdc2.js} +80 -80
  193. package/dist/chunks/{command-ttg35kwh.js → schema-m68bnfyk.js} +32 -32
  194. package/dist/chunks/{command-q5jefrn9.js → schema-m8y7v2t2.js} +10 -10
  195. package/dist/chunks/{command-x7pjthx6.js → schema-m9gnqnf3.js} +166 -166
  196. package/dist/chunks/{command-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{command-n4w2t69j.js → schema-mcxg6pmm.js} +1 -1
  198. package/dist/chunks/{command-w0zpdtzg.js → schema-mg9kt97e.js} +60 -60
  199. package/dist/chunks/{command-7yh4e7ss.js → schema-mhkvc446.js} +3 -3
  200. package/dist/chunks/{command-yct8znxp.js → schema-mrndz1s0.js} +15 -15
  201. package/dist/chunks/{command-07jbfwff.js → schema-mxrkvygc.js} +7 -7
  202. package/dist/chunks/{command-n62bh1ef.js → schema-mzr3jh1b.js} +4 -4
  203. package/dist/chunks/{command-ch60wd2z.js → schema-n3jkd22a.js} +4 -4
  204. package/dist/chunks/{command-dy3xyxz9.js → schema-n7cf8wem.js} +31 -31
  205. package/dist/chunks/{command-yahcm7nx.js → schema-n9mbvtnm.js} +29 -29
  206. package/dist/chunks/{command-71p0ewq5.js → schema-na32d9q8.js} +3 -3
  207. package/dist/chunks/{command-jpf66q1b.js → schema-npjjgcke.js} +27 -27
  208. package/dist/chunks/{command-kw4n94xb.js → schema-nz06j3y4.js} +30 -30
  209. package/dist/chunks/{command-avz8t4j1.js → schema-p2wtsv0s.js} +11 -11
  210. package/dist/chunks/{command-p325kmej.js → schema-p325kmej.js} +2 -2
  211. package/dist/chunks/{command-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{command-pknna89w.js → schema-pknna89w.js} +1 -1
  213. package/dist/chunks/{command-ybs14z4j.js → schema-pm8h9tzz.js} +30 -30
  214. package/dist/chunks/{command-99ks3syn.js → schema-pq59jms5.js} +17 -17
  215. package/dist/chunks/{command-9s3d2qf6.js → schema-ptakx6pw.js} +20 -20
  216. package/dist/chunks/{command-tppvcy65.js → schema-ptrvg6rv.js} +9 -9
  217. package/dist/chunks/{command-wrv1mk8k.js → schema-pv4m0g3w.js} +10 -10
  218. package/dist/chunks/{command-dfe8djrf.js → schema-q2b1ymqp.js} +4 -4
  219. package/dist/chunks/schema-q509s3k3.js +18 -0
  220. package/dist/chunks/{command-ec7s3w8j.js → schema-q8pp2sp9.js} +46 -46
  221. package/dist/chunks/{command-9tmgd7pk.js → schema-qp9er4j6.js} +13 -13
  222. package/dist/chunks/{command-qsdy395h.js → schema-qsdy395h.js} +1 -1
  223. package/dist/chunks/{command-8bz0sd47.js → schema-qteavpav.js} +21 -21
  224. package/dist/chunks/{command-k7c7fj4z.js → schema-qvvp9gqp.js} +8 -8
  225. package/dist/chunks/{command-a2bdyd3c.js → schema-r80rqf00.js} +6 -6
  226. package/dist/chunks/{command-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
  227. package/dist/chunks/{command-8j2k6enj.js → schema-rgkrj14r.js} +24 -24
  228. package/dist/chunks/{command-rmkjmdgc.js → schema-rmkjmdgc.js} +1 -1
  229. package/dist/chunks/{command-ndtqzn46.js → schema-rmy3e5eg.js} +3 -3
  230. package/dist/chunks/{command-6fenjrr4.js → schema-s3eqpch7.js} +1 -1
  231. package/dist/chunks/{command-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
  232. package/dist/chunks/{command-jzpht0s0.js → schema-sr8h0x87.js} +24 -24
  233. package/dist/chunks/{command-2470z9n9.js → schema-sxx6cwa9.js} +7 -7
  234. package/dist/chunks/{command-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  235. package/dist/chunks/schema-tcjeexqf.js +243 -0
  236. package/dist/chunks/{command-sp02xnra.js → schema-tdz2d0bf.js} +11 -11
  237. package/dist/chunks/{command-bcezcar3.js → schema-thfv75je.js} +5 -5
  238. package/dist/chunks/{command-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
  239. package/dist/chunks/{command-tbeh7nm8.js → schema-tmxfds8c.js} +9 -9
  240. package/dist/chunks/{command-wnjdg9f5.js → schema-ty1azyrs.js} +14 -14
  241. package/dist/chunks/{command-k200p2dv.js → schema-tzfkbvz2.js} +9 -9
  242. package/dist/chunks/{command-5jdmrxhb.js → schema-v1tf4pqw.js} +9 -9
  243. package/dist/chunks/{command-z3xgatyd.js → schema-vep9yay1.js} +4 -4
  244. package/dist/chunks/{command-1qn1pdz2.js → schema-vfnppjq7.js} +11 -11
  245. package/dist/chunks/{command-j2rksbgg.js → schema-vns5fd4r.js} +8 -8
  246. package/dist/chunks/{command-9cgz4z4t.js → schema-vsr56sgz.js} +1 -1
  247. package/dist/chunks/{command-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{command-dn2favvt.js → schema-wb48nz2p.js} +9 -9
  249. package/dist/chunks/{command-yd3gakm9.js → schema-wbypftda.js} +16 -16
  250. package/dist/chunks/{command-wd87259q.js → schema-wd87259q.js} +1 -1
  251. package/dist/chunks/{command-1r09dsq2.js → schema-wgxn7ww3.js} +4 -4
  252. package/dist/chunks/{command-fbgbrvxb.js → schema-wnae6eaa.js} +85 -85
  253. package/dist/chunks/{command-a0tjzrhq.js → schema-wq3pj38h.js} +11 -11
  254. package/dist/chunks/{command-8g5xycft.js → schema-wxxmn71z.js} +12 -12
  255. package/dist/chunks/{command-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{command-cbz1xrzf.js → schema-x25z0w3c.js} +10 -10
  257. package/dist/chunks/{command-y1gygb79.js → schema-x4q3fes7.js} +38 -38
  258. package/dist/chunks/{command-qhzf1s86.js → schema-x4r7m2ed.js} +29 -29
  259. package/dist/chunks/{command-r9gjvh9g.js → schema-x9k9x3cg.js} +8 -8
  260. package/dist/chunks/{command-5pzwqq2j.js → schema-xb7ts4ht.js} +17 -17
  261. package/dist/chunks/{command-crb07ac6.js → schema-xbk3bkv8.js} +4 -4
  262. package/dist/chunks/{command-xw51m9r9.js → schema-xewvqdfm.js} +25 -25
  263. package/dist/chunks/{command-4rqr8y5g.js → schema-xh4mehyn.js} +27 -27
  264. package/dist/chunks/{command-zgc58s1t.js → schema-xqsy6kp0.js} +1 -1
  265. package/dist/chunks/{command-ev24k3w5.js → schema-xzwtfmxp.js} +7 -7
  266. package/dist/chunks/{command-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-vjvb94qs.js → schema-y5e1a3sd.js} +4 -4
  268. package/dist/chunks/{command-yfbd16n1.js → schema-yfbd16n1.js} +2 -2
  269. package/dist/chunks/{command-v0gwpyr8.js → schema-yg7c986n.js} +24 -24
  270. package/dist/chunks/{command-xk7t5g8q.js → schema-ykcesz1b.js} +4 -4
  271. package/dist/chunks/{command-wm5m1cpt.js → schema-yzqwwj2t.js} +55 -55
  272. package/dist/chunks/{command-38fdqmmq.js → schema-z0vc91aj.js} +34 -34
  273. package/dist/chunks/{command-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{command-5jbm950r.js → schema-z2hjzsqf.js} +10 -10
  275. package/dist/chunks/{command-29x78va6.js → schema-z63w68vq.js} +6 -6
  276. package/dist/chunks/{command-7r0r50e5.js → schema-zk8c4w5t.js} +5 -5
  277. package/dist/chunks/{command-h93sf8xp.js → schema-zn2pq4p8.js} +5 -5
  278. package/dist/chunks/{command-7sq5cger.js → schema-zpensxqb.js} +15 -15
  279. package/dist/chunks/{command-nqeyrhbf.js → schema-zr385g01.js} +41 -41
  280. package/dist/chunks/{command-pctbbrby.js → schema-zv0fedm2.js} +8 -8
  281. package/dist/chunks/{command-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +3 -3
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  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 +114 -114
  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 +115 -115
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +132 -132
  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 +112 -112
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +82 -82
  313. package/dist/database/database.js +70 -70
  314. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  315. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +15 -15
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +16 -16
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +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 +3 -3
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +70 -70
  401. package/dist/file-mutation.js +85 -85
  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 +2 -2
  410. package/dist/filesystem/location-watcher.js +211 -211
  411. package/dist/filesystem/protected.js +1 -1
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +3 -3
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +96 -96
  416. package/dist/form.js +84 -84
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +90 -90
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +7 -7
  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 +3 -3
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +83 -83
  450. package/dist/job.js +75 -75
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +84 -84
  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 +100 -100
  460. package/dist/mcp/instructions.js +114 -114
  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 +7 -7
  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 +111 -111
  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 +208 -208
  481. package/dist/plugin/instance.js +1 -1
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  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 +129 -129
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +331 -331
  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 +80 -80
  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 +2 -2
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +211 -211
  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 +1 -1
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +82 -82
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +86 -86
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +91 -91
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +7 -7
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +214 -214
  565. package/dist/session/execution.js +116 -116
  566. package/dist/session/generate.js +146 -146
  567. package/dist/session/history.js +14 -14
  568. package/dist/session/inbox.js +78 -78
  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 +87 -87
  573. package/dist/session/message-updater.js +2 -2
  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 +165 -165
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +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 +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +212 -212
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +209 -209
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +11 -11
  609. package/dist/shell.js +130 -130
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +101 -101
  612. package/dist/skill.js +102 -102
  613. package/dist/snapshot.js +84 -84
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +117 -117
  621. package/dist/tool/plugin/grep.js +113 -113
  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 +99 -99
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +208 -208
  627. package/dist/tool/plugin/skill.js +103 -103
  628. package/dist/tool/plugin/subagent.js +210 -210
  629. package/dist/tool/plugin/webfetch.js +104 -104
  630. package/dist/tool/plugin/websearch.js +106 -106
  631. package/dist/tool/plugin/write.js +116 -116
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +11 -11
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +7 -7
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +4 -4
  648. package/dist/v1/config/formatter.js +5 -5
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +7 -7
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +82 -82
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +77 -77
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +5 -5
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +80 -80
  672. package/package.json +7 -7
  673. package/dist/chunks/command-kkjhrqrd.js +0 -243
  674. package/dist/chunks/command-qc068m1q.js +0 -18
  675. /package/dist/chunks/{command-0fabt78z.js → schema-0fabt78z.js} +0 -0
  676. /package/dist/chunks/{command-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  677. /package/dist/chunks/{command-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  678. /package/dist/chunks/{command-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  679. /package/dist/chunks/{command-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  680. /package/dist/chunks/{command-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  681. /package/dist/chunks/{command-2710q6r3.js → schema-2710q6r3.js} +0 -0
  682. /package/dist/chunks/{command-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  683. /package/dist/chunks/{command-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  684. /package/dist/chunks/{command-359p4xyc.js → schema-359p4xyc.js} +0 -0
  685. /package/dist/chunks/{command-3asan66x.js → schema-3asan66x.js} +0 -0
  686. /package/dist/chunks/{command-3t738kvx.js → schema-3t738kvx.js} +0 -0
  687. /package/dist/chunks/{command-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  688. /package/dist/chunks/{command-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  689. /package/dist/chunks/{command-41nvscxy.js → schema-41nvscxy.js} +0 -0
  690. /package/dist/chunks/{command-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  691. /package/dist/chunks/{command-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  692. /package/dist/chunks/{command-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  693. /package/dist/chunks/{command-53557ph1.js → schema-53557ph1.js} +0 -0
  694. /package/dist/chunks/{command-550bvhaj.js → schema-550bvhaj.js} +0 -0
  695. /package/dist/chunks/{command-6prwharc.js → schema-6prwharc.js} +0 -0
  696. /package/dist/chunks/{command-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  697. /package/dist/chunks/{command-7m9af43g.js → schema-7m9af43g.js} +0 -0
  698. /package/dist/chunks/{command-7zk4hah4.js → schema-7zk4hah4.js} +0 -0
  699. /package/dist/chunks/{command-822emrt2.js → schema-822emrt2.js} +0 -0
  700. /package/dist/chunks/{command-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  701. /package/dist/chunks/{command-8n3pysct.js → schema-8n3pysct.js} +0 -0
  702. /package/dist/chunks/{command-982e01ww.js → schema-982e01ww.js} +0 -0
  703. /package/dist/chunks/{command-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  704. /package/dist/chunks/{command-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  705. /package/dist/chunks/{command-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
  706. /package/dist/chunks/{command-af5trqkr.js → schema-af5trqkr.js} +0 -0
  707. /package/dist/chunks/{command-afrmfg78.js → schema-afrmfg78.js} +0 -0
  708. /package/dist/chunks/{command-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  709. /package/dist/chunks/{command-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  710. /package/dist/chunks/{command-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  711. /package/dist/chunks/{command-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  712. /package/dist/chunks/{command-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  713. /package/dist/chunks/{command-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  714. /package/dist/chunks/{command-d9fn303g.js → schema-d9fn303g.js} +0 -0
  715. /package/dist/chunks/{command-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  716. /package/dist/chunks/{command-dajrwvna.js → schema-dajrwvna.js} +0 -0
  717. /package/dist/chunks/{command-dap0rakb.js → schema-dap0rakb.js} +0 -0
  718. /package/dist/chunks/{command-df08tz66.js → schema-df08tz66.js} +0 -0
  719. /package/dist/chunks/{command-dy18nga0.js → schema-dy18nga0.js} +0 -0
  720. /package/dist/chunks/{command-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  721. /package/dist/chunks/{command-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  722. /package/dist/chunks/{command-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  723. /package/dist/chunks/{command-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  724. /package/dist/chunks/{command-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  725. /package/dist/chunks/{command-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  726. /package/dist/chunks/{command-faypxj3z.js → schema-faypxj3z.js} +0 -0
  727. /package/dist/chunks/{command-fd410y7t.js → schema-fd410y7t.js} +0 -0
  728. /package/dist/chunks/{command-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  729. /package/dist/chunks/{command-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  730. /package/dist/chunks/{command-g86h250q.js → schema-g86h250q.js} +0 -0
  731. /package/dist/chunks/{command-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  732. /package/dist/chunks/{command-hk9envan.js → schema-hk9envan.js} +0 -0
  733. /package/dist/chunks/{command-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  734. /package/dist/chunks/{command-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  735. /package/dist/chunks/{command-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  736. /package/dist/chunks/{command-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  737. /package/dist/chunks/{command-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  738. /package/dist/chunks/{command-mntxs535.js → schema-mntxs535.js} +0 -0
  739. /package/dist/chunks/{command-mp448xyj.js → schema-mp448xyj.js} +0 -0
  740. /package/dist/chunks/{command-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  741. /package/dist/chunks/{command-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  742. /package/dist/chunks/{command-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  743. /package/dist/chunks/{command-njntx4h6.js → schema-njntx4h6.js} +0 -0
  744. /package/dist/chunks/{command-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
  745. /package/dist/chunks/{command-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  746. /package/dist/chunks/{command-q74kybfr.js → schema-q74kybfr.js} +0 -0
  747. /package/dist/chunks/{command-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  748. /package/dist/chunks/{command-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  749. /package/dist/chunks/{command-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  750. /package/dist/chunks/{command-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  751. /package/dist/chunks/{command-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  752. /package/dist/chunks/{command-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  753. /package/dist/chunks/{command-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
  754. /package/dist/chunks/{command-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  755. /package/dist/chunks/{command-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  756. /package/dist/chunks/{command-twg0f83k.js → schema-twg0f83k.js} +0 -0
  757. /package/dist/chunks/{command-w803qqfp.js → schema-w803qqfp.js} +0 -0
  758. /package/dist/chunks/{command-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  759. /package/dist/chunks/{command-wtztk69x.js → schema-wtztk69x.js} +0 -0
  760. /package/dist/chunks/{command-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  761. /package/dist/chunks/{command-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
  762. /package/dist/chunks/{command-x61499pn.js → schema-x61499pn.js} +0 -0
  763. /package/dist/chunks/{command-y44na4kk.js → schema-y44na4kk.js} +0 -0
  764. /package/dist/chunks/{command-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  765. /package/dist/chunks/{command-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  766. /package/dist/chunks/{command-z9919s4g.js → schema-z9919s4g.js} +0 -0
  767. /package/dist/chunks/{command-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./command-mh4ywd3j.js";
3
+ node83
4
+ } from "./schema-c8adm2ya.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service79,
8
- node83
9
- } from "./command-1h95a3b9.js";
8
+ node82
9
+ } from "./schema-dmeb760c.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./command-0e0xafbb.js";
12
+ } from "./schema-0e0xafbb.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./command-mntxs535.js";
15
+ } from "./schema-mntxs535.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./command-cbz1xrzf.js";
18
+ } from "./schema-x25z0w3c.js";
19
19
  import {
20
- Service61,
21
- node64
22
- } from "./command-b4cmc4ha.js";
20
+ Service52,
21
+ node54
22
+ } from "./schema-1bfx2f8w.js";
23
23
  import {
24
- Service28,
25
- node31
26
- } from "./command-fbgbrvxb.js";
24
+ Service19,
25
+ node23
26
+ } from "./schema-wnae6eaa.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./command-tjykrgmx.js";
30
+ } from "./schema-tjykrgmx.js";
31
31
  import {
32
32
  __export
33
- } from "./command-9rqn6x4v.js";
33
+ } from "./schema-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service8,
38
+ Service: () => Service7,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node10
41
+ layer: () => layer6,
42
+ node: () => node9
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service8 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service7 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
62
62
  const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service28;
65
- const store = yield* Service61;
64
+ const context = yield* Service19;
65
+ const store = yield* Service52;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service8.of({ generate });
148
+ return Service7.of({ generate });
149
149
  }));
150
- var node10 = makeLocationNode({
151
- service: Service8,
152
- layer: layer7,
153
- deps: [node83, llmClient2, node31, node64, node84]
150
+ var node9 = makeLocationNode({
151
+ service: Service7,
152
+ layer: layer6,
153
+ deps: [node82, llmClient2, node23, node54, node83]
154
154
  });
155
155
 
156
- export { Service8, isUntitled2, layer7, node10, exports_title };
156
+ export { Service7, isUntitled2, layer6, node9, exports_title };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./command-2a5m3afh.js";
6
+ } from "./schema-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./command-z1k01bn4.js";
9
+ } from "./schema-z1k01bn4.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./command-b6gygkdw.js";
12
+ } from "./schema-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./command-aaet6srn.js";
15
+ } from "./schema-aaet6srn.js";
16
16
  import {
17
- Service76,
18
- node80
19
- } from "./command-99ks3syn.js";
17
+ Service70,
18
+ node73
19
+ } from "./schema-pq59jms5.js";
20
20
  import {
21
- Service75,
22
- node78
23
- } from "./command-4rqr8y5g.js";
21
+ Service69,
22
+ node71
23
+ } from "./schema-xh4mehyn.js";
24
24
  import {
25
25
  __export
26
- } from "./command-9rqn6x4v.js";
26
+ } from "./schema-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service74,
33
- node: () => node77
32
+ Service: () => Service68,
33
+ node: () => node70
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service74,
46
+ Service: () => Service68,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node77,
52
+ node: () => node70,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service74 extends Context.Service()("@opencode/Environment") {
61
+ class Service68 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service74, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service76;
66
- const workspace = yield* Service75;
65
+ const location = yield* Service70;
66
+ const workspace = yield* Service69;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node77 = makeLocationNode({
71
- service: Service74,
70
+ var node70 = makeLocationNode({
71
+ service: Service68,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node80, node78]
73
+ deps: [CrossSpawnSpawner.node, node73, node71]
74
74
  });
75
75
 
76
- export { Service74, node77, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service68, node70, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./schema-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./schema-p8qxwesx.js";
4
4
  import {
5
- Service76
6
- } from "./command-99ks3syn.js";
5
+ Service70
6
+ } from "./schema-pq59jms5.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service16
10
- } from "./command-zrrqbtv4.js";
9
+ Service56
10
+ } from "./schema-8gwm888c.js";
11
11
  import {
12
- Service60
13
- } from "./command-w0zpdtzg.js";
12
+ Service51
13
+ } from "./schema-mg9kt97e.js";
14
14
  import {
15
15
  Service9
16
- } from "./command-9tmgd7pk.js";
16
+ } from "./schema-qp9er4j6.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./command-2a5m3afh.js";
19
+ } from "./schema-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service6
31
- } from "./command-7sq5cger.js";
30
+ Service10
31
+ } from "./schema-zpensxqb.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input3,
40
- Plugin: () => Plugin33,
39
+ Input: () => Input12,
40
+ Plugin: () => Plugin42,
41
41
  ReadTool: () => exports_read,
42
- name: () => name3,
43
- toModelContent: () => toModelContent2
42
+ name: () => name12,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name3 = "read";
49
+ var name12 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input3 = LocationInput;
60
+ var Input12 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin33 = {
62
+ var Plugin42 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service6;
66
- const mutation = yield* Service16;
67
- const permission = yield* Service60;
65
+ const reader = yield* Service10;
66
+ const mutation = yield* Service56;
67
+ const permission = yield* Service51;
68
68
  const sessionInstructions = yield* Service9;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service76;
70
+ const location = yield* Service70;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name3,
72
+ name: name12,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input3,
75
+ input: Input12,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin33 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name3,
93
+ action: name12,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin33 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent2(result.path, input.offset, result.output),
144
+ content: toModelContent6(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent2 = (path, offset, output) => {
176
+ var toModelContent6 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name3, Input3, Plugin33, toModelContent2, exports_read };
211
+ export { name12, Input12, Plugin42, toModelContent6, exports_read };
@@ -2,20 +2,20 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./command-k200p2dv.js";
5
+ } from "./schema-tzfkbvz2.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./command-w0zpdtzg.js";
8
+ } from "./schema-mg9kt97e.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./command-yahcm7nx.js";
11
+ } from "./schema-n9mbvtnm.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
15
15
  VariantUnavailableError2,
16
16
  UnsupportedPackageError2,
17
17
  UnresolvedProviderVariablesError2
18
- } from "./command-d9jdb4zk.js";
18
+ } from "./schema-1rs9f67k.js";
19
19
 
20
20
  // src/session/to-session-error.ts
21
21
  import { AIError, ToolFailure } from "@opencode-ai/ai";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./command-r8dhm0tv.js";
4
+ } from "./schema-r8dhm0tv.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./command-qfa1cgps.js";
7
+ } from "./schema-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-sp02xnra.js";
3
+ } from "./schema-tdz2d0bf.js";
4
4
  import {
5
5
  Service79
6
- } from "./command-1h95a3b9.js";
6
+ } from "./schema-dmeb760c.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./command-dy3xyxz9.js";
9
+ Event14
10
+ } from "./schema-n7cf8wem.js";
11
11
  import {
12
- ID6,
12
+ ID9,
13
13
  MethodID2
14
- } from "./command-yahcm7nx.js";
14
+ } from "./schema-n9mbvtnm.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./command-pjvnvgmy.js";
18
+ } from "./schema-pjvnvgmy.js";
19
19
  import {
20
- ID14,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./command-9rhh5gqv.js";
23
+ } from "./schema-4z6b0fg6.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID6.make("openai"),
47
+ integrationID: ID9.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID6.make("openai"),
120
+ integrationID: ID9.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID14.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -218,9 +218,9 @@ var OpenAIPlugin3 = define({
218
218
  evt.baseURL = codexBaseURL;
219
219
  evt.headers.originator = "opencode";
220
220
  evt.headers["session-id"] = evt.sessionID;
221
- }), { providerID: ID14.openai });
221
+ }), { providerID: ID18.openai });
222
222
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
223
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
223
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
224
  })
225
225
  });
226
226
  function headers(contentType, app) {
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./command-1h95a3b9.js";
3
+ node82
4
+ } from "./schema-dmeb760c.js";
5
5
  import {
6
6
  create3
7
- } from "./command-kg06axw8.js";
7
+ } from "./schema-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event13,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event7,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info12,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service59,
21
- layer: () => layer22,
22
- node: () => node62
18
+ Info: () => Info18,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service48,
21
+ layer: () => layer18,
22
+ node: () => node50
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event13 } from "@opencode-ai/schema/command";
28
- var Info12 = Command.Info;
27
+ import { Event as Event7 } from "@opencode-ai/schema/command";
28
+ var Info18 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service59 extends Context.Service()("@opencode/Command") {
42
+ class Service48 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service59, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info12.make({
54
+ const info = (definition) => Info18.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service59.of({
58
+ return Service48.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node62 = makeLocationNode({
75
- service: Service59,
76
- layer: layer22,
77
- deps: [node83]
74
+ var node50 = makeLocationNode({
75
+ service: Service48,
76
+ layer: layer18,
77
+ deps: [node82]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info12, NotFoundError7, ExecutionError2, Service59, layer22, node62, exports_command4, Event13 };
89
+ export { Info18, NotFoundError6, ExecutionError2, Service48, layer18, node50, exports_command5, Event7 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./command-1h95a3b9.js";
3
+ } from "./schema-dmeb760c.js";
4
4
  import {
5
- ID14
6
- } from "./command-9rhh5gqv.js";
5
+ ID18
6
+ } from "./schema-4z6b0fg6.js";
7
7
  import {
8
- ID13
9
- } from "./command-g4p2jaj6.js";
8
+ ID17
9
+ } from "./schema-3wfq9j39.js";
10
10
  import {
11
- Event18
12
- } from "./command-dy3xyxz9.js";
11
+ Event14
12
+ } from "./schema-n7cf8wem.js";
13
13
  import {
14
- ID6
15
- } from "./command-yahcm7nx.js";
14
+ ID9
15
+ } from "./schema-n9mbvtnm.js";
16
16
  import {
17
- Service54
18
- } from "./command-wwach3d4.js";
17
+ Service59
18
+ } from "./schema-gcs6fwp7.js";
19
19
  import {
20
- get2
21
- } from "./command-kmng5yeq.js";
20
+ get3
21
+ } from "./schema-hzecryb5.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID14.make("modal");
26
+ var providerID = ID18.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service54;
30
+ const catalog = yield* Service59;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
47
47
  loaded.baseURL = baseURL;
48
48
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
49
49
  loaded.models = yield* Effect.tryPromise({
50
- try: () => get2(baseURL, apiKey, existing),
50
+ try: () => get3(baseURL, apiKey, existing),
51
51
  catch: (cause) => cause
52
52
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
53
53
  });
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID13.make(id)))
61
+ if (!loaded.models.has(ID17.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-2a5m3afh.js";
5
+ } from "./schema-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./schema-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./command-r8dhm0tv.js";
3
+ } from "./schema-r8dhm0tv.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./command-9qm9egsn.js";
6
+ } from "./schema-9qm9egsn.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";