@opencode/core 0.0.0-dev-20623 → 0.0.0-dev-20626

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{job-645feetr.js → generate-00sy09sd.js} +5 -5
  8. package/dist/chunks/{job-e24p4dv1.js → generate-02eysref.js} +25 -25
  9. package/dist/chunks/{job-w5j3waeq.js → generate-05zs1rdk.js} +46 -46
  10. package/dist/chunks/{job-gdsng6kf.js → generate-06v9ekkj.js} +30 -30
  11. package/dist/chunks/{job-v260t7sv.js → generate-0atswpmv.js} +9 -9
  12. package/dist/chunks/{job-wdg51fbj.js → generate-0d9njzvw.js} +28 -28
  13. package/dist/chunks/{job-0vbcp93d.js → generate-0emb60td.js} +2 -2
  14. package/dist/chunks/{job-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{job-np5w9nrh.js → generate-0w5dnmke.js} +18 -18
  16. package/dist/chunks/{job-a8w7s6c8.js → generate-0y0gsn1j.js} +3 -3
  17. package/dist/chunks/{job-y29yf60m.js → generate-12cb56mc.js} +5 -5
  18. package/dist/chunks/{job-zgy505th.js → generate-14abpv5c.js} +20 -20
  19. package/dist/chunks/{job-34hg2p15.js → generate-14fzmqmc.js} +86 -86
  20. package/dist/chunks/{job-150yg2gd.js → generate-150yg2gd.js} +2 -2
  21. package/dist/chunks/{job-r8xr0va3.js → generate-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{job-nk9s9anj.js → generate-1d5w9k4w.js} +26 -26
  23. package/dist/chunks/{job-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{job-hehnp1bq.js → generate-1dz71ged.js} +11 -11
  25. package/dist/chunks/{job-xsgk3b13.js → generate-1nzh38e4.js} +9 -9
  26. package/dist/chunks/generate-1x11rq2a.js +18 -0
  27. package/dist/chunks/{job-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{job-42eybm5a.js → generate-2ar21jkq.js} +15 -15
  29. package/dist/chunks/{job-ngts6ef0.js → generate-2eegacq4.js} +8 -8
  30. package/dist/chunks/{job-c9hdk7an.js → generate-2r6fqtjg.js} +36 -36
  31. package/dist/chunks/{job-r3kwrs46.js → generate-2wrchah9.js} +5 -5
  32. package/dist/chunks/{job-wd6yp0fc.js → generate-2z4yerbz.js} +8 -8
  33. package/dist/chunks/{job-mfqp6xfm.js → generate-33w4ejhs.js} +9 -9
  34. package/dist/chunks/{job-fm95fzh1.js → generate-37ycehja.js} +71 -71
  35. package/dist/chunks/{job-78fcyxvp.js → generate-39m96q4s.js} +28 -28
  36. package/dist/chunks/{job-3cegwx68.js → generate-3cegwx68.js} +2 -2
  37. package/dist/chunks/{job-f2p39avw.js → generate-3d08qa2y.js} +5 -5
  38. package/dist/chunks/{job-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{job-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{job-fw6p9fde.js → generate-3ngkpncc.js} +13 -13
  41. package/dist/chunks/{job-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{job-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{job-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{job-bd2gmdw6.js → generate-4daej8pc.js} +42 -42
  45. package/dist/chunks/{job-vxzh5eqq.js → generate-4eq8w0dz.js} +4 -4
  46. package/dist/chunks/{job-hwjyn0yt.js → generate-4jyvzrab.js} +9 -9
  47. package/dist/chunks/{job-1p6590hc.js → generate-4n6xr198.js} +17 -17
  48. package/dist/chunks/{job-922pj5h4.js → generate-4nfqhbwv.js} +325 -325
  49. package/dist/chunks/{job-20fp9fqe.js → generate-4ptgc4ev.js} +33 -33
  50. package/dist/chunks/{job-m98vzp15.js → generate-4t46r8n6.js} +4 -4
  51. package/dist/chunks/{job-2ccvkpx1.js → generate-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{job-h6s238kn.js → generate-4yj6yfek.js} +21 -21
  53. package/dist/chunks/{job-6sr3ve8g.js → generate-50mzsvk4.js} +21 -21
  54. package/dist/chunks/{job-e295ecsk.js → generate-53m1k2p4.js} +9 -9
  55. package/dist/chunks/{job-54ma36ye.js → generate-54ma36ye.js} +1 -1
  56. package/dist/chunks/{job-66n2k59e.js → generate-55pxd67v.js} +8 -8
  57. package/dist/chunks/{job-5daktx2q.js → generate-5daktx2q.js} +1 -1
  58. package/dist/chunks/{job-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{job-jxqesak3.js → generate-5pmw3n0c.js} +13 -13
  60. package/dist/chunks/{job-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{job-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{job-zd7wpxs7.js → generate-63db42yp.js} +2 -2
  63. package/dist/chunks/{job-ka9hvfy0.js → generate-66raja0a.js} +26 -26
  64. package/dist/chunks/{job-7ara208x.js → generate-67aj8cse.js} +24 -24
  65. package/dist/chunks/{job-b8f3723t.js → generate-69t9n7ne.js} +18 -18
  66. package/dist/chunks/{job-efhc4xja.js → generate-6eb68wz8.js} +19 -19
  67. package/dist/chunks/{job-275vx67k.js → generate-6exvrca4.js} +5 -5
  68. package/dist/chunks/{job-mk172kdm.js → generate-6m56d8a0.js} +11 -11
  69. package/dist/chunks/{job-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{job-mvfsc1pv.js → generate-73tb2d7t.js} +3 -3
  71. package/dist/chunks/{job-hnb1fd69.js → generate-757h9dgg.js} +15 -15
  72. package/dist/chunks/{job-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{job-9exa0gxn.js → generate-7gw9h0sc.js} +18 -18
  74. package/dist/chunks/{job-2rfx9vxm.js → generate-7nhmw1yp.js} +7 -7
  75. package/dist/chunks/{job-v03kc4w2.js → generate-7xypvt1j.js} +12 -12
  76. package/dist/chunks/{job-dr7h7j05.js → generate-84532k20.js} +10 -10
  77. package/dist/chunks/{job-84h8c373.js → generate-84h8c373.js} +2 -2
  78. package/dist/chunks/{job-84txncab.js → generate-84txncab.js} +1 -1
  79. package/dist/chunks/{job-ycvyrgka.js → generate-8703qa3s.js} +15 -15
  80. package/dist/chunks/{job-5e15319b.js → generate-89vjf07m.js} +5 -5
  81. package/dist/chunks/{job-ap89vq3r.js → generate-8cf4ch7y.js} +22 -22
  82. package/dist/chunks/{job-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{job-wph1zeeb.js → generate-8sxy8sy5.js} +15 -15
  84. package/dist/chunks/{job-tpgsh8y4.js → generate-91tetnyh.js} +15 -15
  85. package/dist/chunks/{job-cr793czp.js → generate-9fnn15g3.js} +23 -23
  86. package/dist/chunks/{job-14wqdba8.js → generate-9zk0kc6f.js} +29 -29
  87. package/dist/chunks/generate-a9jymq3x.js +253 -0
  88. package/dist/chunks/{job-9ffa4p95.js → generate-a9p6p6nr.js} +10 -10
  89. package/dist/chunks/{job-aaet6srn.js → generate-aaet6srn.js} +2 -2
  90. package/dist/chunks/{job-kdqem1hb.js → generate-af30chde.js} +45 -45
  91. package/dist/chunks/{job-rx003x33.js → generate-anc9qwd0.js} +22 -22
  92. package/dist/chunks/{job-t6m7svpx.js → generate-apddja33.js} +28 -28
  93. package/dist/chunks/{job-cfsekr6v.js → generate-b4twkq7r.js} +6 -6
  94. package/dist/chunks/{job-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  95. package/dist/chunks/{job-tkjfzrza.js → generate-b7cm6t9c.js} +24 -24
  96. package/dist/chunks/{job-bbcqy7f7.js → generate-b9m1sfvm.js} +22 -22
  97. package/dist/chunks/{job-mjqndqed.js → generate-bk53ycjv.js} +12 -12
  98. package/dist/chunks/{job-bjz1ntmn.js → generate-br69n3tb.js} +13 -13
  99. package/dist/chunks/{job-b9dw0fep.js → generate-bt178j64.js} +40 -40
  100. package/dist/chunks/{job-q7h5a6mq.js → generate-c68ggjv5.js} +16 -16
  101. package/dist/chunks/{job-ay8ertzz.js → generate-cb5y8w29.js} +175 -175
  102. package/dist/chunks/{job-5symgpsy.js → generate-ce0tw18p.js} +21 -21
  103. package/dist/chunks/{job-w60tz3av.js → generate-chz0abdh.js} +32 -32
  104. package/dist/chunks/{job-xxk5ry2v.js → generate-cjwramev.js} +6 -6
  105. package/dist/chunks/{job-czfptnv9.js → generate-cmwkp3r5.js} +6 -6
  106. package/dist/chunks/{job-wwee1v31.js → generate-cqjm0j5h.js} +18 -18
  107. package/dist/chunks/{job-kf30vwx6.js → generate-crx1hh5h.js} +22 -22
  108. package/dist/chunks/{job-5d607bsg.js → generate-cwa6csj7.js} +9 -9
  109. package/dist/chunks/{job-1yd7h3h8.js → generate-d04ep358.js} +11 -11
  110. package/dist/chunks/{job-7sptvqh0.js → generate-d6f20yqx.js} +9 -9
  111. package/dist/chunks/{job-2fvqbc2a.js → generate-d7yzhwrd.js} +30 -30
  112. package/dist/chunks/{job-md3tm4xy.js → generate-d8p7yyc7.js} +8 -8
  113. package/dist/chunks/{job-cyb6j5fd.js → generate-dbztx8wp.js} +23 -23
  114. package/dist/chunks/{job-g0aa2qss.js → generate-dd44dnrs.js} +15 -15
  115. package/dist/chunks/{job-sre3bhvf.js → generate-deg546m4.js} +39 -39
  116. package/dist/chunks/{job-h9gbxm73.js → generate-dn6ztdfq.js} +18 -18
  117. package/dist/chunks/{job-w5q6894q.js → generate-e1vzx0s7.js} +20 -20
  118. package/dist/chunks/{job-6q8sj0et.js → generate-e3sn89yk.js} +12 -12
  119. package/dist/chunks/{job-bq5ttdwe.js → generate-e47yjvcb.js} +6 -6
  120. package/dist/chunks/{job-7t4xepky.js → generate-e68b0gvs.js} +6 -6
  121. package/dist/chunks/{job-f80nsjds.js → generate-e9a6z8qn.js} +24 -24
  122. package/dist/chunks/{job-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{job-0fwpw2g3.js → generate-efb4ct6v.js} +5 -5
  124. package/dist/chunks/{job-nnrc907a.js → generate-en16kr9h.js} +15 -15
  125. package/dist/chunks/{job-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{job-w2h15q85.js → generate-ezk2k2nc.js} +5 -5
  127. package/dist/chunks/{job-h98pyw8b.js → generate-f6dd175t.js} +37 -37
  128. package/dist/chunks/{job-f75zav2x.js → generate-f75zav2x.js} +2 -2
  129. package/dist/chunks/{job-k4t30sfg.js → generate-f7w5vbe4.js} +13 -13
  130. package/dist/chunks/{job-g9vavm7g.js → generate-fcjdzzvk.js} +2 -2
  131. package/dist/chunks/{job-sv9xqrp4.js → generate-fctq5jg8.js} +11 -11
  132. package/dist/chunks/{job-kb6ssw1z.js → generate-ftha1bk5.js} +4 -4
  133. package/dist/chunks/{job-ypj7v0f9.js → generate-ftp5qn6j.js} +20 -20
  134. package/dist/chunks/{job-6c2xcqh7.js → generate-g2v7xwm2.js} +19 -19
  135. package/dist/chunks/{job-g5w8qwbj.js → generate-g5w8qwbj.js} +1 -1
  136. package/dist/chunks/{job-8kv8ebkg.js → generate-g8ncx2kw.js} +16 -16
  137. package/dist/chunks/{job-63s1r0wa.js → generate-gc8gxt55.js} +11 -11
  138. package/dist/chunks/{job-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{job-dettcwny.js → generate-gttcx4jr.js} +20 -20
  140. package/dist/chunks/{job-nwd3z7e8.js → generate-gw6mp5xk.js} +48 -48
  141. package/dist/chunks/{job-1b4m0bzf.js → generate-gw7cjrad.js} +4 -4
  142. package/dist/chunks/{job-h4b3eg5p.js → generate-h0czhsa2.js} +6 -6
  143. package/dist/chunks/{job-yryfr4df.js → generate-h14td4ya.js} +9 -9
  144. package/dist/chunks/{job-435nfkrq.js → generate-h4nv5sjw.js} +27 -27
  145. package/dist/chunks/{job-mpzph9xx.js → generate-h50xep47.js} +15 -15
  146. package/dist/chunks/{job-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{job-s7ygvkb6.js → generate-hawpggyh.js} +27 -27
  148. package/dist/chunks/{job-fg309kkr.js → generate-hb9ek847.js} +4 -4
  149. package/dist/chunks/{job-90y87qeq.js → generate-hg2kdwy2.js} +18 -18
  150. package/dist/chunks/{job-gyyj3d9c.js → generate-hjypyshd.js} +10 -10
  151. package/dist/chunks/{job-7sjw0gnk.js → generate-htyjbh6h.js} +4 -4
  152. package/dist/chunks/{job-mrcp6x86.js → generate-hvdpr3cg.js} +55 -55
  153. package/dist/chunks/{job-pgp1nwjn.js → generate-j34bs4nz.js} +4 -4
  154. package/dist/chunks/{job-j56e64zr.js → generate-j56e64zr.js} +1 -1
  155. package/dist/chunks/{job-eqkxs06z.js → generate-j5w2yx54.js} +6 -6
  156. package/dist/chunks/{job-bv2vs0je.js → generate-j8s7qtnq.js} +9 -9
  157. package/dist/chunks/{job-7skj7b3t.js → generate-jp3y83b8.js} +11 -11
  158. package/dist/chunks/{job-nvw9amg7.js → generate-jpvwx58z.js} +8 -8
  159. package/dist/chunks/{job-2jw3dvvd.js → generate-jt0fm9hz.js} +32 -32
  160. package/dist/chunks/{job-y2vfjhds.js → generate-jzgb4b60.js} +7 -7
  161. package/dist/chunks/{job-f5gy8qwh.js → generate-k1qrnqst.js} +8 -8
  162. package/dist/chunks/{job-kb9j3d72.js → generate-kb9j3d72.js} +3 -3
  163. package/dist/chunks/{job-kgssxap2.js → generate-kctcsxwr.js} +10 -10
  164. package/dist/chunks/{job-fsgfmda0.js → generate-kskmmsb8.js} +7 -7
  165. package/dist/chunks/{job-c2zwq45z.js → generate-ktqh6cjn.js} +14 -14
  166. package/dist/chunks/{job-v2w4gvzq.js → generate-kv7xr5tr.js} +17 -17
  167. package/dist/chunks/{job-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  168. package/dist/chunks/{job-q5asdkn4.js → generate-m70sbz6t.js} +4 -4
  169. package/dist/chunks/{job-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{job-dj2cc5b2.js → generate-md4xem4j.js} +23 -23
  171. package/dist/chunks/{job-1q5k8kch.js → generate-me39y7pc.js} +3 -3
  172. package/dist/chunks/{job-mqgn1b7a.js → generate-mgkc0wjh.js} +7 -7
  173. package/dist/chunks/{job-0ezkecwa.js → generate-mjgszf3v.js} +16 -16
  174. package/dist/chunks/{job-fndtdcdb.js → generate-mxg6t4px.js} +11 -11
  175. package/dist/chunks/{job-hhetnhwk.js → generate-myd4zn31.js} +14 -14
  176. package/dist/chunks/{job-war2b1z5.js → generate-n7mkwqhg.js} +47 -47
  177. package/dist/chunks/{job-zp4yaed4.js → generate-ncp0w3v9.js} +26 -26
  178. package/dist/chunks/{job-4cm5h7gg.js → generate-ndtjpakn.js} +19 -19
  179. package/dist/chunks/{job-a78s9db2.js → generate-nnf0xkcj.js} +24 -24
  180. package/dist/chunks/{job-2yh7qa3m.js → generate-ns4c26md.js} +11 -11
  181. package/dist/chunks/{job-v3f705cw.js → generate-nt476c1e.js} +16 -16
  182. package/dist/chunks/{job-r2dnqh6n.js → generate-ntd1qsse.js} +4 -4
  183. package/dist/chunks/{job-dpkg50ah.js → generate-nxm207yx.js} +4 -4
  184. package/dist/chunks/{job-pamfh9kz.js → generate-p2jra9s9.js} +21 -21
  185. package/dist/chunks/{job-jknk5b86.js → generate-p5cn45b4.js} +316 -316
  186. package/dist/chunks/{job-j7861s82.js → generate-paqgmmpc.js} +11 -11
  187. package/dist/chunks/{job-sqty32ey.js → generate-pc1a30g8.js} +83 -83
  188. package/dist/chunks/{job-n8vdnqrc.js → generate-pcj7teyq.js} +5 -5
  189. package/dist/chunks/{job-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{job-pknna89w.js → generate-pknna89w.js} +1 -1
  191. package/dist/chunks/{job-w9n5wj27.js → generate-pm693qae.js} +13 -13
  192. package/dist/chunks/{job-vmfn30s8.js → generate-pm8xe67t.js} +15 -15
  193. package/dist/chunks/{job-1xdq8pgw.js → generate-pp2j6nz2.js} +20 -20
  194. package/dist/chunks/{job-3h8vczdp.js → generate-pqj23b0q.js} +30 -30
  195. package/dist/chunks/{job-1cdqa284.js → generate-pyqd4v2t.js} +4 -4
  196. package/dist/chunks/{job-0j77ygfz.js → generate-q0xm7vwc.js} +6 -6
  197. package/dist/chunks/{job-q4712sr9.js → generate-q122b658.js} +21 -21
  198. package/dist/chunks/{job-7dy9gh8b.js → generate-qdhbz2ew.js} +18 -18
  199. package/dist/chunks/{job-qgn6gcr1.js → generate-qgn6gcr1.js} +1 -1
  200. package/dist/chunks/{job-gzh491n7.js → generate-qn8ykj5w.js} +31 -31
  201. package/dist/chunks/{job-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{job-qsdy395h.js → generate-qsdy395h.js} +1 -1
  203. package/dist/chunks/{job-skkb0071.js → generate-qxhjmwpc.js} +30 -30
  204. package/dist/chunks/{job-qxjc9qry.js → generate-qxjc9qry.js} +3 -3
  205. package/dist/chunks/{job-32kg902r.js → generate-qycmr1fg.js} +4 -4
  206. package/dist/chunks/{job-x40286x4.js → generate-r93b7zqt.js} +24 -24
  207. package/dist/chunks/{job-rdre3n7s.js → generate-rav032ka.js} +9 -9
  208. package/dist/chunks/{job-8he8vm74.js → generate-rcpb5p8s.js} +14 -14
  209. package/dist/chunks/{job-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{job-svhcpc1c.js → generate-rgxvve62.js} +14 -14
  211. package/dist/chunks/{job-wwnyx4q7.js → generate-rhvrjctg.js} +5 -5
  212. package/dist/chunks/{job-r5wg57ya.js → generate-rn3rbabn.js} +15 -15
  213. package/dist/chunks/{job-a41mf9eg.js → generate-rtezw65p.js} +5 -5
  214. package/dist/chunks/{job-d1pvrw7r.js → generate-s32c0mq7.js} +17 -17
  215. package/dist/chunks/{job-52s9h3x5.js → generate-s83c18hn.js} +4 -4
  216. package/dist/chunks/{job-w5ystqj3.js → generate-sa1wksxx.js} +5 -5
  217. package/dist/chunks/{job-qygbw77c.js → generate-scgrse2b.js} +5 -5
  218. package/dist/chunks/{job-tccrq8c6.js → generate-sdg5j0gr.js} +3 -3
  219. package/dist/chunks/{job-tpmga8np.js → generate-shaj6nsr.js} +22 -22
  220. package/dist/chunks/{job-g65n4bbv.js → generate-skcnbf3c.js} +11 -11
  221. package/dist/chunks/{job-z6kenqfr.js → generate-sm7h3s2a.js} +32 -32
  222. package/dist/chunks/{job-tyh57cyp.js → generate-sn70zx0f.js} +45 -45
  223. package/dist/chunks/{job-xkhfjrgz.js → generate-ss358qx3.js} +3 -3
  224. package/dist/chunks/{job-snj8hhs2.js → generate-stqch5en.js} +3 -3
  225. package/dist/chunks/{job-ysayqecx.js → generate-t24wgfq5.js} +52 -52
  226. package/dist/chunks/{job-a46v4e4v.js → generate-t2fc4mz5.js} +4 -4
  227. package/dist/chunks/{job-hjp9qe4g.js → generate-t60q4fa6.js} +4 -4
  228. package/dist/chunks/{job-rzs3gq0x.js → generate-t89fqycx.js} +8 -8
  229. package/dist/chunks/{job-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{job-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{job-tdstcens.js → generate-tdstcens.js} +1 -1
  232. package/dist/chunks/{job-7mf9fqr3.js → generate-tk6ram5b.js} +34 -34
  233. package/dist/chunks/{job-nx7wttm6.js → generate-v04zxm1e.js} +13 -13
  234. package/dist/chunks/{job-aevh7yhk.js → generate-v8crwhsy.js} +1 -1
  235. package/dist/chunks/{job-veqvce7d.js → generate-veqvce7d.js} +1 -1
  236. package/dist/chunks/{job-zf25an6g.js → generate-vmbkc7t9.js} +8 -8
  237. package/dist/chunks/{job-fkayb3v0.js → generate-vpfh5m6n.js} +44 -44
  238. package/dist/chunks/{job-tfzngn12.js → generate-vycw7md4.js} +4 -4
  239. package/dist/chunks/{job-3w9zm10v.js → generate-vyq6m5zj.js} +17 -17
  240. package/dist/chunks/{job-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{job-3q73pyrh.js → generate-w2505z9s.js} +12 -12
  242. package/dist/chunks/{job-n0g0nzgh.js → generate-w3s43czq.js} +35 -35
  243. package/dist/chunks/{job-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{job-n9g5bfke.js → generate-w59cqdta.js} +6 -6
  245. package/dist/chunks/{job-rnejq3k9.js → generate-w6r6e2t1.js} +28 -28
  246. package/dist/chunks/{job-5t693q0p.js → generate-w9xa6jft.js} +32 -32
  247. package/dist/chunks/{job-wd87259q.js → generate-wd87259q.js} +1 -1
  248. package/dist/chunks/{job-153yncyt.js → generate-wdkjs4sn.js} +4 -4
  249. package/dist/chunks/{job-8k6dxcnf.js → generate-wek9mqa7.js} +24 -24
  250. package/dist/chunks/{job-y509g03m.js → generate-wen6mwdk.js} +19 -19
  251. package/dist/chunks/{job-r5jvba2d.js → generate-wj7r9zev.js} +11 -11
  252. package/dist/chunks/{job-2ywb9zjx.js → generate-wm6dyqg8.js} +3 -3
  253. package/dist/chunks/{job-hb84g3y6.js → generate-wmz9gz0a.js} +9 -9
  254. package/dist/chunks/{job-k3fvar80.js → generate-wtskapw1.js} +44 -44
  255. package/dist/chunks/{job-9t7a50xb.js → generate-wv396vej.js} +6 -6
  256. package/dist/chunks/{job-325sge2s.js → generate-wxyynt4w.js} +1 -1
  257. package/dist/chunks/{job-k4p6we1j.js → generate-x2r6qgb2.js} +11 -11
  258. package/dist/chunks/{job-7gt59paf.js → generate-x5x2shfn.js} +24 -24
  259. package/dist/chunks/{job-zg807ykv.js → generate-xc7geeyn.js} +14 -14
  260. package/dist/chunks/{job-v0es1rhs.js → generate-xecxzrdp.js} +2 -2
  261. package/dist/chunks/{job-ej9qsr91.js → generate-xfzkycb1.js} +3 -3
  262. package/dist/chunks/{job-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
  263. package/dist/chunks/{job-fh75rate.js → generate-xm1mczqd.js} +1 -1
  264. package/dist/chunks/{job-4wrkd8nn.js → generate-xrhtfqv1.js} +11 -11
  265. package/dist/chunks/{job-1109kv5r.js → generate-xtvvsfs4.js} +8 -8
  266. package/dist/chunks/{job-5sxenjh9.js → generate-y0h8bdjy.js} +11 -11
  267. package/dist/chunks/{job-ecs0kx5t.js → generate-y0pxv80g.js} +36 -36
  268. package/dist/chunks/{job-346y6mfm.js → generate-y0ty5fha.js} +7 -7
  269. package/dist/chunks/{job-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{job-vdptz04f.js → generate-y5dj3dxk.js} +6 -6
  271. package/dist/chunks/{job-anry1mdf.js → generate-yeknwk6m.js} +12 -12
  272. package/dist/chunks/{job-3ff3hx9k.js → generate-yf954nqe.js} +14 -14
  273. package/dist/chunks/{job-1s9j86bw.js → generate-yks7agkx.js} +5 -5
  274. package/dist/chunks/{job-x699frg5.js → generate-yszghjhd.js} +11 -11
  275. package/dist/chunks/{job-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{job-y6z5npq7.js → generate-z9dqbzf9.js} +9 -9
  277. package/dist/chunks/{job-rx0kk0pc.js → generate-zawfarhf.js} +20 -20
  278. package/dist/chunks/{job-b5pnkgfz.js → generate-zc3qgdkd.js} +22 -22
  279. package/dist/chunks/{job-1y1sz04v.js → generate-zf82b8f4.js} +51 -51
  280. package/dist/chunks/{job-t39gfvtp.js → generate-zh3bn5vc.js} +3 -3
  281. package/dist/chunks/{job-dtgbrhmq.js → generate-zkz1dm36.js} +7 -7
  282. package/dist/chunks/{job-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{job-addxnjmp.js → generate-zw2hpfmh.js} +4 -4
  284. package/dist/chunks/{job-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +214 -214
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +3 -3
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +74 -74
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +2 -2
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +4 -4
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +86 -86
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +118 -118
  636. package/dist/tool/plugin/question.js +101 -101
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +78 -78
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/job-cf3y1dtk.js +0 -253
  682. package/dist/chunks/job-rap9a73h.js +0 -18
  683. /package/dist/chunks/{job-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{job-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{job-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{job-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{job-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{job-24dcb14g.js → generate-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{job-2710q6r3.js → generate-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{job-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{job-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{job-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{job-359p4xyc.js → generate-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{job-3asan66x.js → generate-3asan66x.js} +0 -0
  695. /package/dist/chunks/{job-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{job-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{job-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{job-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{job-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{job-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{job-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{job-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{job-53557ph1.js → generate-53557ph1.js} +0 -0
  704. /package/dist/chunks/{job-550bvhaj.js → generate-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{job-6prwharc.js → generate-6prwharc.js} +0 -0
  706. /package/dist/chunks/{job-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{job-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{job-7m9af43g.js → generate-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{job-822emrt2.js → generate-822emrt2.js} +0 -0
  710. /package/dist/chunks/{job-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{job-8n3pysct.js → generate-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{job-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{job-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{job-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{job-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{job-af5trqkr.js → generate-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{job-afrmfg78.js → generate-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{job-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{job-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{job-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{job-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{job-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{job-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{job-d9fn303g.js → generate-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{job-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{job-dajrwvna.js → generate-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{job-dap0rakb.js → generate-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{job-df08tz66.js → generate-df08tz66.js} +0 -0
  729. /package/dist/chunks/{job-dy18nga0.js → generate-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{job-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{job-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{job-ec1grn59.js → generate-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{job-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{job-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{job-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{job-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{job-faypxj3z.js → generate-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{job-fd410y7t.js → generate-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{job-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{job-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{job-g86h250q.js → generate-g86h250q.js} +0 -0
  742. /package/dist/chunks/{job-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{job-gftt206x.js → generate-gftt206x.js} +0 -0
  744. /package/dist/chunks/{job-hk9envan.js → generate-hk9envan.js} +0 -0
  745. /package/dist/chunks/{job-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{job-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{job-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{job-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{job-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{job-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{job-mp448xyj.js → generate-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{job-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{job-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{job-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{job-njntx4h6.js → generate-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{job-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{job-q74kybfr.js → generate-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{job-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{job-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{job-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{job-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{job-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{job-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{job-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{job-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{job-w803qqfp.js → generate-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{job-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{job-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{job-wtztk69x.js → generate-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{job-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{job-x61499pn.js → generate-x61499pn.js} +0 -0
  772. /package/dist/chunks/{job-y44na4kk.js → generate-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{job-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{job-y8f7s663.js → generate-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{job-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{job-ym463w8f.js → generate-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{job-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{job-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service40
3
- } from "./job-xsgk3b13.js";
2
+ Service46
3
+ } from "./generate-1nzh38e4.js";
4
4
  import {
5
- Service57
6
- } from "./job-eqkxs06z.js";
5
+ Service36
6
+ } from "./generate-j5w2yx54.js";
7
7
  import {
8
8
  detect2
9
- } from "./job-3smtnn6g.js";
9
+ } from "./generate-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./job-rap9a73h.js";
12
+ } from "./generate-1x11rq2a.js";
13
13
  import {
14
- Service62
15
- } from "./job-ngts6ef0.js";
14
+ Service77
15
+ } from "./generate-2eegacq4.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./job-346y6mfm.js";
19
+ } from "./generate-y0ty5fha.js";
20
20
  import {
21
21
  prepare3,
22
- Service44
23
- } from "./job-kf30vwx6.js";
22
+ Service32
23
+ } from "./generate-crx1hh5h.js";
24
24
  import {
25
25
  __export
26
- } from "./job-9rqn6x4v.js";
26
+ } from "./generate-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service57;
42
+ const instances = yield* Service36;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service62;
45
+ const hooks = yield* Service77;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service44;
64
+ const skillService = yield* Service32;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service40;
129
+ const image = yield* Service46;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service67
3
- } from "./job-bd2gmdw6.js";
2
+ Service52
3
+ } from "./generate-4daej8pc.js";
4
4
  import {
5
- Service12
6
- } from "./job-k3fvar80.js";
5
+ Service9
6
+ } from "./generate-wtskapw1.js";
7
7
  import {
8
8
  observe2
9
- } from "./job-qsdy395h.js";
9
+ } from "./generate-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin13
18
+ Plugin: () => Plugin32
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin13 = define({
22
+ var Plugin32 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service67;
26
- const compaction = yield* Service12;
25
+ const config = yield* Service52;
26
+ const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin13 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin13, exports_compaction };
42
+ export { Plugin32, exports_compaction };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./job-bd2gmdw6.js";
3
+ Service52
4
+ } from "./generate-4daej8pc.js";
5
5
  import {
6
- Service47
7
- } from "./job-ap89vq3r.js";
6
+ Service82
7
+ } from "./generate-8cf4ch7y.js";
8
8
  import {
9
9
  observe2
10
- } from "./job-qsdy395h.js";
10
+ } from "./generate-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./job-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell = {};
17
- __export(exports_shell, {
18
- ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin3
16
+ var exports_shell2 = {};
17
+ __export(exports_shell2, {
18
+ ConfigShellPlugin: () => exports_shell2,
19
+ Plugin: () => Plugin47
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin3 = define({
23
+ var Plugin47 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const shell = yield* Service47;
26
+ const config = yield* Service52;
27
+ const shell = yield* Service82;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin3 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin3, exports_shell };
37
+ export { Plugin47, exports_shell2 };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./job-153yncyt.js";
4
+ } from "./generate-wdkjs4sn.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./job-8he8vm74.js";
6
+ Service78,
7
+ node82
8
+ } from "./generate-rcpb5p8s.js";
9
9
  import {
10
- Service39,
11
- node42
12
- } from "./job-f80nsjds.js";
10
+ Service57,
11
+ node60
12
+ } from "./generate-e9a6z8qn.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./job-gd4qta3r.js";
15
+ } from "./generate-gd4qta3r.js";
16
16
  import {
17
- Service47,
17
+ Service82,
18
18
  args2,
19
- node50
20
- } from "./job-ap89vq3r.js";
19
+ node86
20
+ } from "./generate-8cf4ch7y.js";
21
21
  import {
22
- Service62,
23
- node65
24
- } from "./job-ngts6ef0.js";
22
+ Service77,
23
+ node81
24
+ } from "./generate-2eegacq4.js";
25
25
  import {
26
- Service37,
27
- node40
28
- } from "./job-rzs3gq0x.js";
26
+ Service50,
27
+ node52
28
+ } from "./generate-t89fqycx.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./job-xkhfjrgz.js";
31
+ } from "./generate-ss358qx3.js";
32
32
  import {
33
33
  latest2,
34
- Service67,
35
- node70
36
- } from "./job-bd2gmdw6.js";
34
+ Service52,
35
+ node54
36
+ } from "./generate-4daej8pc.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./job-1yd7h3h8.js";
40
+ } from "./generate-d04ep358.js";
41
41
  import {
42
42
  __export
43
- } from "./job-9rqn6x4v.js";
43
+ } from "./generate-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service36,
51
+ Service: () => Service49,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node39
54
+ node: () => node51
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service36 extends Context.Service()("@opencode/Shell") {
74
+ class Service49 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service36, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
- const location = yield* Service80;
92
+ const location = yield* Service78;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service47;
95
- const environment = yield* Service39;
96
- const hooks = yield* Service62;
97
- const environments = yield* Service37;
98
- const config = yield* Service67;
94
+ const shell = yield* Service82;
95
+ const environment = yield* Service57;
96
+ const hooks = yield* Service77;
97
+ const environments = yield* Service50;
98
+ const config = yield* Service52;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError5({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service36.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service49.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node39 = makeLocationNode({
329
- service: Service36,
328
+ var node51 = makeLocationNode({
329
+ service: Service49,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
- node84,
333
+ node82,
334
334
  Global.node,
335
- node50,
336
- node42,
337
- node65,
338
- node40,
339
- node70,
335
+ node86,
336
+ node60,
337
+ node81,
338
+ node52,
339
+ node54,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service36, cleanup2, node39, exports_shell4 };
344
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service49, cleanup2, node51, exports_shell4 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./job-1q5k8kch.js";
4
+ } from "./generate-me39y7pc.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./job-153yncyt.js";
9
+ } from "./generate-wdkjs4sn.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./job-5t3nmthw.js";
12
+ } from "./generate-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./job-ec1grn59.js";
15
+ } from "./generate-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./job-g65n4bbv.js";
18
+ } from "./generate-skcnbf3c.js";
19
19
  import {
20
- Service61,
21
- node64
22
- } from "./job-zg807ykv.js";
20
+ Service75,
21
+ node79
22
+ } from "./generate-xc7geeyn.js";
23
23
  import {
24
- Service25,
25
- node29
26
- } from "./job-sqty32ey.js";
24
+ Service20,
25
+ node24
26
+ } from "./generate-pc1a30g8.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./job-tdstcens.js";
30
+ } from "./generate-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./job-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service10,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node12
41
+ layer: () => layer3,
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/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 Service10 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 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 layer6 = Layer.effect(Service10, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service25;
65
- const store = yield* Service61;
64
+ const context = yield* Service20;
65
+ const store = yield* Service75;
66
66
  const db = (yield* Service84).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 Service10.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node12 = makeLocationNode({
151
- service: Service10,
152
- layer: layer6,
153
- deps: [node87, llmClient2, node29, node64, node88]
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node24, node79, node88]
154
154
  });
155
155
 
156
- export { Service10, isUntitled2, layer6, node12, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./job-x699frg5.js";
3
+ } from "./generate-yszghjhd.js";
4
4
  import {
5
5
  Service83
6
- } from "./job-153yncyt.js";
6
+ } from "./generate-wdkjs4sn.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./job-3h8vczdp.js";
9
+ Event18
10
+ } from "./generate-pqj23b0q.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./job-2fvqbc2a.js";
14
+ } from "./generate-d7yzhwrd.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./job-pjvnvgmy.js";
18
+ } from "./generate-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID8,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./job-jknk5b86.js";
23
+ } from "./generate-p5cn45b4.js";
24
24
  import {
25
25
  get5
26
- } from "./job-54ma36ye.js";
26
+ } from "./generate-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID14.make("openai"),
50
+ integrationID: ID9.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID14.make("openai"),
123
+ integrationID: ID9.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID13.openai);
184
+ const item = providers.get(ID8.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID13.openai)) {
203
+ for (const model of models.list(ID8.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID13.openai });
234
+ }), { providerID: ID8.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./job-88xbtdfr.js";
3
+ } from "./generate-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./job-e3qxr5gk.js";
5
+ load4
6
+ } from "./generate-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./job-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service68,
16
+ Options: () => Options6,
17
+ Service: () => Service53,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node71,
25
+ node: () => node55,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Watcher") {
60
+ class Service53 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service53, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service53.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service68, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service68.of({ subscribe });
108
+ return Service53.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service68).subscribe,
134
+ subscribe: Context.get(context, Service53).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service53, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service53, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node71 = configured8();
170
+ var node55 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options8, Service68, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured8, node71, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options6, Service53, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured6, node55, exports_watcher };