@opencode/core 0.0.0-dev-19372 → 0.0.0-dev-19376

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 (781) 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 +67 -67
  7. package/dist/catalog.js +79 -79
  8. package/dist/chunks/{pty-0gdmqesm.js → plugin-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{pty-1y981vcy.js → plugin-037afy93.js} +30 -30
  10. package/dist/chunks/{pty-578n16w1.js → plugin-03wjykbb.js} +29 -29
  11. package/dist/chunks/{pty-s8bz6z4k.js → plugin-05xfxpq7.js} +5 -5
  12. package/dist/chunks/{pty-r8nahq2d.js → plugin-0c8dvqnh.js} +15 -15
  13. package/dist/chunks/{pty-f9dcx0s3.js → plugin-0mcxwjfb.js} +17 -17
  14. package/dist/chunks/{pty-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-0q0f95c6.js → plugin-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{pty-kv3072p9.js → plugin-0smskw7v.js} +4 -4
  17. package/dist/chunks/{pty-pqd1mzxt.js → plugin-0v658crk.js} +9 -9
  18. package/dist/chunks/{pty-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{pty-0hpxrkyb.js → plugin-1dfhrqqs.js} +5 -5
  20. package/dist/chunks/{pty-5j7h8n2k.js → plugin-1qcma6tm.js} +10 -10
  21. package/dist/chunks/{pty-exrwhhqk.js → plugin-1wyzkwp4.js} +4 -4
  22. package/dist/chunks/{pty-33w4ejhs.js → plugin-1ygqh575.js} +6 -6
  23. package/dist/chunks/{pty-107fwvqp.js → plugin-2002mdfk.js} +33 -33
  24. package/dist/chunks/{pty-21r38tys.js → plugin-21r38tys.js} +1 -1
  25. package/dist/chunks/{pty-02zskd6f.js → plugin-24sbpj7j.js} +4 -4
  26. package/dist/chunks/{pty-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{pty-rkg39e93.js → plugin-2b6sywcb.js} +11 -11
  28. package/dist/chunks/{pty-r0xf0e5c.js → plugin-2d1xw8ev.js} +17 -17
  29. package/dist/chunks/{pty-4azybn4n.js → plugin-2dmhvvz9.js} +34 -34
  30. package/dist/chunks/{pty-te0vzhy5.js → plugin-2f85tfmp.js} +7 -7
  31. package/dist/chunks/{pty-7dqw4kz8.js → plugin-2k8khapm.js} +5 -5
  32. package/dist/chunks/{pty-yww5gzhe.js → plugin-2pxk13gr.js} +5 -5
  33. package/dist/chunks/{pty-mf3kdcv1.js → plugin-2w0a68bw.js} +10 -10
  34. package/dist/chunks/{pty-hdsygwhy.js → plugin-2x7gy88h.js} +12 -12
  35. package/dist/chunks/{pty-cf3tj770.js → plugin-2y34zzjz.js} +4 -4
  36. package/dist/chunks/{pty-jy3rk2pm.js → plugin-34j98c57.js} +17 -17
  37. package/dist/chunks/{pty-cd4mc13g.js → plugin-38c819ax.js} +1 -1
  38. package/dist/chunks/{pty-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{pty-8w0tny4e.js → plugin-3jvtkk55.js} +4 -4
  41. package/dist/chunks/{pty-v1y1zkts.js → plugin-3n755bhv.js} +6 -6
  42. package/dist/chunks/{pty-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{pty-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{pty-47fetphe.js → plugin-3zq5ckw0.js} +32 -32
  45. package/dist/chunks/{pty-76mrr06k.js → plugin-49jnfhxh.js} +43 -43
  46. package/dist/chunks/{pty-c9cenec4.js → plugin-4yy9g0cd.js} +5 -5
  47. package/dist/chunks/{pty-k8a0mrdq.js → plugin-53wp9sep.js} +38 -38
  48. package/dist/chunks/{pty-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  49. package/dist/chunks/{pty-jfdrs8g9.js → plugin-5f7y8zfy.js} +10 -10
  50. package/dist/chunks/{pty-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  51. package/dist/chunks/{pty-60geffh5.js → plugin-5t6zvaxr.js} +7 -7
  52. package/dist/chunks/{pty-9cg0vjy1.js → plugin-5trk58xb.js} +8 -8
  53. package/dist/chunks/{pty-0xkh6216.js → plugin-5wg533gv.js} +23 -23
  54. package/dist/chunks/{pty-bagg3g1z.js → plugin-5xg0610v.js} +2 -2
  55. package/dist/chunks/{pty-m0f7gyab.js → plugin-5z7jgags.js} +19 -19
  56. package/dist/chunks/{pty-qgy2rw28.js → plugin-6178vqjw.js} +9 -9
  57. package/dist/chunks/{pty-6xe913v8.js → plugin-638hpxs4.js} +22 -22
  58. package/dist/chunks/{pty-669tq793.js → plugin-669tq793.js} +1 -1
  59. package/dist/chunks/{pty-6h73sxmp.js → plugin-6h73sxmp.js} +1 -1
  60. package/dist/chunks/{pty-v9cmgtcf.js → plugin-6jem5b6x.js} +1 -1
  61. package/dist/chunks/{pty-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{pty-b7n25z46.js → plugin-6td58200.js} +19 -19
  63. package/dist/chunks/{pty-w8dmehha.js → plugin-6yh42490.js} +35 -35
  64. package/dist/chunks/{pty-71q4at8m.js → plugin-71q4at8m.js} +1 -1
  65. package/dist/chunks/{pty-w7zd1bg5.js → plugin-71th643h.js} +26 -26
  66. package/dist/chunks/{pty-ng5shs3s.js → plugin-74x46t3v.js} +1 -1
  67. package/dist/chunks/{pty-5zthbsee.js → plugin-77h3m1tv.js} +7 -7
  68. package/dist/chunks/{pty-q6rs4hjt.js → plugin-7a57jeh0.js} +59 -59
  69. package/dist/chunks/{pty-9ef57syn.js → plugin-7aevrr08.js} +11 -11
  70. package/dist/chunks/{pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{pty-jrvvap85.js → plugin-7bz3pt5p.js} +22 -22
  72. package/dist/chunks/{pty-dcdbx179.js → plugin-7n18d0n5.js} +39 -39
  73. package/dist/chunks/{pty-0gg4eh9d.js → plugin-7nyvvt3z.js} +11 -11
  74. package/dist/chunks/{pty-5j4skxhh.js → plugin-7qqsgkx7.js} +8 -8
  75. package/dist/chunks/{pty-d1f48wm0.js → plugin-7s3ccnjj.js} +47 -47
  76. package/dist/chunks/{pty-mqy0jkn2.js → plugin-7z7az0f5.js} +4 -4
  77. package/dist/chunks/{pty-rbygrj0c.js → plugin-7zs56f9j.js} +6 -6
  78. package/dist/chunks/{pty-zyr433b0.js → plugin-818pfwc9.js} +11 -11
  79. package/dist/chunks/{pty-dv1qgsyq.js → plugin-844ef7ks.js} +8 -8
  80. package/dist/chunks/{pty-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{pty-yntqacmd.js → plugin-8dgv8rha.js} +15 -15
  82. package/dist/chunks/{pty-gqqez5b8.js → plugin-8n32e0sd.js} +9 -9
  83. package/dist/chunks/{pty-8p4f9s12.js → plugin-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{pty-cf7stcnz.js → plugin-8v726bht.js} +9 -9
  85. package/dist/chunks/{pty-jt2m25jy.js → plugin-8w67wwd8.js} +13 -13
  86. package/dist/chunks/{pty-9p3b3m98.js → plugin-942f7qpg.js} +8 -8
  87. package/dist/chunks/{pty-ghe33san.js → plugin-9bt6kxvh.js} +15 -15
  88. package/dist/chunks/{pty-jefma2gq.js → plugin-9edcvf27.js} +10 -10
  89. package/dist/chunks/{pty-vkxpz7g2.js → plugin-9gr8y5ys.js} +4 -4
  90. package/dist/chunks/{pty-pe79rxdj.js → plugin-9p450f1p.js} +30 -30
  91. package/dist/chunks/{pty-81swgkk7.js → plugin-9pv0dm11.js} +9 -9
  92. package/dist/chunks/{pty-8vct2pgr.js → plugin-9vs0xtad.js} +3 -3
  93. package/dist/chunks/{pty-v8jfbz3g.js → plugin-9yr2yfq4.js} +5 -5
  94. package/dist/chunks/{pty-mtft99cd.js → plugin-a1a50ys5.js} +5 -5
  95. package/dist/chunks/{pty-a1bz86dw.js → plugin-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{pty-feebpcf8.js → plugin-a4d5zav4.js} +19 -19
  97. package/dist/chunks/{pty-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  98. package/dist/chunks/{pty-qz49fwgp.js → plugin-ab9238g2.js} +4 -4
  99. package/dist/chunks/{pty-c487kk09.js → plugin-advj38vx.js} +43 -43
  100. package/dist/chunks/{pty-9m9t2a7k.js → plugin-amdd0qvr.js} +14 -14
  101. package/dist/chunks/{pty-refnp3pv.js → plugin-aq3m41mm.js} +4 -4
  102. package/dist/chunks/{pty-bw8xqn9c.js → plugin-av27br1g.js} +38 -38
  103. package/dist/chunks/{pty-khy2t77v.js → plugin-axrtbykr.js} +32 -32
  104. package/dist/chunks/{pty-cjr8y0wq.js → plugin-b6g7f40g.js} +20 -20
  105. package/dist/chunks/{pty-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{pty-0996nyz8.js → plugin-b8b3f19r.js} +9 -9
  107. package/dist/chunks/{pty-3a50zsz9.js → plugin-bghdztc0.js} +15 -15
  108. package/dist/chunks/{pty-nfk4q15c.js → plugin-bjj97j9e.js} +19 -19
  109. package/dist/chunks/{pty-wnqzfj2j.js → plugin-bq1nsww9.js} +12 -12
  110. package/dist/chunks/{pty-kjr2p1gf.js → plugin-bswzew6v.js} +40 -40
  111. package/dist/chunks/{pty-yfbmjfv9.js → plugin-c187dy92.js} +11 -11
  112. package/dist/chunks/{pty-ddmrj1q7.js → plugin-cb5abmph.js} +27 -27
  113. package/dist/chunks/{pty-q24fq4k9.js → plugin-cc001en5.js} +12 -12
  114. package/dist/chunks/{pty-3mke1r8k.js → plugin-cdvee0sw.js} +21 -21
  115. package/dist/chunks/{pty-cfpkc3c9.js → plugin-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{pty-rrdk89a5.js → plugin-cg9bd3td.js} +21 -21
  117. package/dist/chunks/{pty-hw55hn24.js → plugin-chsw4vbj.js} +10 -10
  118. package/dist/chunks/{pty-357v7vj3.js → plugin-cqt69dfx.js} +33 -33
  119. package/dist/chunks/{pty-jfqtm2ew.js → plugin-d216944b.js} +7 -7
  120. package/dist/chunks/{pty-wreggwv7.js → plugin-d66d8ava.js} +17 -17
  121. package/dist/chunks/{pty-vaynpwqg.js → plugin-da0sngsz.js} +12 -12
  122. package/dist/chunks/{pty-j4rqb0e8.js → plugin-dg8vxwkk.js} +287 -287
  123. package/dist/chunks/{pty-c4twzx9w.js → plugin-dj9n6xpq.js} +22 -22
  124. package/dist/chunks/{pty-bh8p3ktg.js → plugin-dkd5sz5m.js} +6 -6
  125. package/dist/chunks/{pty-y71avatq.js → plugin-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{pty-bxft0ra9.js → plugin-dq70j2z6.js} +32 -32
  127. package/dist/chunks/{pty-5vs9ndt5.js → plugin-dwc6yqk2.js} +26 -26
  128. package/dist/chunks/{pty-r8febyms.js → plugin-dzwny9ty.js} +14 -14
  129. package/dist/chunks/{pty-7rjdtxkk.js → plugin-eaer3ysp.js} +4 -4
  130. package/dist/chunks/{pty-b1rqwz98.js → plugin-ecy1wnbf.js} +9 -9
  131. package/dist/chunks/{pty-egkwkxxa.js → plugin-eh0ytejy.js} +72 -72
  132. package/dist/chunks/{pty-crd48we5.js → plugin-eh5hj286.js} +61 -61
  133. package/dist/chunks/{pty-xa6by1f1.js → plugin-emaackpw.js} +24 -24
  134. package/dist/chunks/{pty-eq1pz5kg.js → plugin-eq1pz5kg.js} +1 -1
  135. package/dist/chunks/{pty-h91yv7bq.js → plugin-ercg1sp5.js} +12 -12
  136. package/dist/chunks/{pty-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{pty-cwtk2d1m.js → plugin-evyg6yz2.js} +6 -6
  138. package/dist/chunks/{pty-fr2caje5.js → plugin-f7nm44hn.js} +37 -37
  139. package/dist/chunks/{pty-f828m53h.js → plugin-f828m53h.js} +2 -2
  140. package/dist/chunks/{pty-a1dptbm0.js → plugin-fe1vdz8k.js} +18 -18
  141. package/dist/chunks/{pty-6qw5vjfk.js → plugin-fqvj2kck.js} +5 -5
  142. package/dist/chunks/{pty-fxbjtjnd.js → plugin-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{pty-2pnhn36q.js → plugin-g190xswt.js} +21 -21
  144. package/dist/chunks/{pty-q1bbvmq4.js → plugin-g3js9x3g.js} +23 -23
  145. package/dist/chunks/{pty-62k5e5wb.js → plugin-g3qr39tx.js} +20 -20
  146. package/dist/chunks/{pty-rzyzyf97.js → plugin-g3x6e23j.js} +5 -5
  147. package/dist/chunks/{pty-qr736bxy.js → plugin-gcpmpxha.js} +11 -11
  148. package/dist/chunks/{pty-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{pty-cny5rd43.js → plugin-gdezgtpw.js} +8 -8
  150. package/dist/chunks/{pty-nw5w3cjp.js → plugin-gq0qfvqb.js} +26 -26
  151. package/dist/chunks/{pty-th5km1p3.js → plugin-gv6a8nnw.js} +5 -5
  152. package/dist/chunks/{pty-yy158baq.js → plugin-gx5dh1nn.js} +11 -11
  153. package/dist/chunks/{pty-h03wrkyp.js → plugin-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{pty-4rph1v41.js → plugin-h33x0bjj.js} +13 -13
  155. package/dist/chunks/{pty-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{pty-f242nvhy.js → plugin-h72f9dze.js} +6 -6
  157. package/dist/chunks/{pty-gvvw2n81.js → plugin-h877gcsr.js} +8 -8
  158. package/dist/chunks/{pty-7ce2cjd5.js → plugin-hctt1sp1.js} +18 -18
  159. package/dist/chunks/{pty-5g6xb262.js → plugin-hh0gtfpy.js} +30 -30
  160. package/dist/chunks/{pty-nhy5jxhy.js → plugin-hjt4xg1x.js} +4 -4
  161. package/dist/chunks/{pty-ken34rgm.js → plugin-hysngwxn.js} +19 -19
  162. package/dist/chunks/{pty-3pmjwr1e.js → plugin-hz7z9jvj.js} +24 -24
  163. package/dist/chunks/{pty-sgvsg5c7.js → plugin-j17m4n96.js} +13 -13
  164. package/dist/chunks/{pty-102jvkd5.js → plugin-j3xhxtqk.js} +59 -59
  165. package/dist/chunks/{pty-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  166. package/dist/chunks/{pty-an126cry.js → plugin-ja9434fw.js} +26 -26
  167. package/dist/chunks/{pty-qzdews7q.js → plugin-jc9zddw6.js} +4 -4
  168. package/dist/chunks/{pty-gtjpq3yd.js → plugin-jqyhs0n3.js} +9 -9
  169. package/dist/chunks/{pty-mnewsc6w.js → plugin-jrqqqgb2.js} +34 -34
  170. package/dist/chunks/{pty-e1sywrpy.js → plugin-jxzgt2ek.js} +6 -6
  171. package/dist/chunks/{pty-4sksr709.js → plugin-jz7c2zhp.js} +5 -5
  172. package/dist/chunks/{pty-51kcvgxx.js → plugin-kb6wt6mk.js} +18 -18
  173. package/dist/chunks/{pty-m2r7xkr0.js → plugin-kef739p8.js} +18 -18
  174. package/dist/chunks/{pty-kg06axw8.js → plugin-kg06axw8.js} +1 -1
  175. package/dist/chunks/{pty-a31gkhvw.js → plugin-kksf6wrm.js} +11 -11
  176. package/dist/chunks/{pty-abkdt1xb.js → plugin-kqddbhjm.js} +1 -1
  177. package/dist/chunks/{pty-tzaf1sec.js → plugin-kry7ztwc.js} +10 -10
  178. package/dist/chunks/{pty-z5c2cr5p.js → plugin-ksqxpq8d.js} +14 -14
  179. package/dist/chunks/{pty-gw1k03mf.js → plugin-ksxmc9x1.js} +13 -13
  180. package/dist/chunks/{pty-0pyqcms3.js → plugin-ktbdk3tc.js} +1 -1
  181. package/dist/chunks/plugin-m2sa41zf.js +22 -0
  182. package/dist/chunks/{pty-gcbpht8g.js → plugin-m7bgjgz6.js} +17 -17
  183. package/dist/chunks/{pty-6jnybvqn.js → plugin-m86bnw2c.js} +9 -9
  184. package/dist/chunks/{pty-ym4367vb.js → plugin-m91ntkmw.js} +20 -20
  185. package/dist/chunks/{pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{pty-6zm1wyjc.js → plugin-mercwyd3.js} +16 -16
  187. package/dist/chunks/{pty-mkcjrzeh.js → plugin-mkcjrzeh.js} +1 -1
  188. package/dist/chunks/{pty-40d8dwxk.js → plugin-mn7crxms.js} +11 -11
  189. package/dist/chunks/{pty-sr4mx09d.js → plugin-mr742j4k.js} +11 -11
  190. package/dist/chunks/{pty-z5wc9zep.js → plugin-mre86tv8.js} +11 -11
  191. package/dist/chunks/{pty-eg20r4ae.js → plugin-mt0f8r91.js} +15 -15
  192. package/dist/chunks/{pty-q1hjdkpd.js → plugin-mx2edcwk.js} +11 -11
  193. package/dist/chunks/{pty-9fxpdq0y.js → plugin-myc6gyha.js} +28 -28
  194. package/dist/chunks/{pty-14p0bf99.js → plugin-n27zd08h.js} +4 -4
  195. package/dist/chunks/{pty-41q0v4q7.js → plugin-nbbccrwa.js} +9 -9
  196. package/dist/chunks/{pty-f4dw8gwj.js → plugin-ngp4stkx.js} +38 -38
  197. package/dist/chunks/{pty-yzsvg0b0.js → plugin-nn9cf4ye.js} +156 -156
  198. package/dist/chunks/{pty-kwgqzsmm.js → plugin-nwjnz9r2.js} +4 -4
  199. package/dist/chunks/{pty-rssnh3zg.js → plugin-nz2rf55x.js} +24 -24
  200. package/dist/chunks/{pty-cj4mykbe.js → plugin-p1dzk7aa.js} +9 -9
  201. package/dist/chunks/{pty-bgks4w36.js → plugin-p4sfc3k8.js} +24 -24
  202. package/dist/chunks/{pty-jxcvs55h.js → plugin-p529s0a0.js} +13 -13
  203. package/dist/chunks/{pty-v6wk655t.js → plugin-p7nf5x0r.js} +36 -36
  204. package/dist/chunks/{pty-s0fyf8fb.js → plugin-p9djhk08.js} +19 -19
  205. package/dist/chunks/{pty-88sz8qcd.js → plugin-paegk39x.js} +4 -4
  206. package/dist/chunks/{pty-j935v87r.js → plugin-paphc93g.js} +2 -2
  207. package/dist/chunks/{pty-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{pty-pknna89w.js → plugin-pknna89w.js} +1 -1
  209. package/dist/chunks/{pty-4dfh6zmw.js → plugin-pwpet4xy.js} +11 -11
  210. package/dist/chunks/{pty-wf7nhwxb.js → plugin-q0hn24q9.js} +24 -24
  211. package/dist/chunks/{pty-ghrzdqqx.js → plugin-q17z9dx8.js} +5 -5
  212. package/dist/chunks/{pty-xj584aw0.js → plugin-qe2w2evk.js} +11 -11
  213. package/dist/chunks/{pty-szjmac0q.js → plugin-qeyty0gb.js} +13 -13
  214. package/dist/chunks/{pty-qpw0y00r.js → plugin-qf2z6nsx.js} +16 -16
  215. package/dist/chunks/{pty-hcz3zddy.js → plugin-qjnxxf51.js} +5 -5
  216. package/dist/chunks/{pty-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  217. package/dist/chunks/{pty-f2n192rq.js → plugin-r8xr0va3.js} +4 -4
  218. package/dist/chunks/plugin-rap9a73h.js +18 -0
  219. package/dist/chunks/plugin-rh1zsg2m.js +247 -0
  220. package/dist/chunks/{pty-1khr35v4.js → plugin-rn1mktsz.js} +27 -27
  221. package/dist/chunks/{pty-tp2tr8k0.js → plugin-s0mhjpvv.js} +3 -3
  222. package/dist/chunks/{pty-q1tx050w.js → plugin-s9rabgca.js} +8 -8
  223. package/dist/chunks/{pty-5sjkzzsa.js → plugin-shf0xgem.js} +46 -46
  224. package/dist/chunks/{pty-3zhfhk0f.js → plugin-sj7dgz8c.js} +5 -5
  225. package/dist/chunks/{pty-ajghh6ra.js → plugin-sp90gjh5.js} +3 -3
  226. package/dist/chunks/{pty-qq11w61w.js → plugin-sx1n432n.js} +4 -4
  227. package/dist/chunks/{pty-fpmq6gma.js → plugin-t0fxg8b9.js} +5 -5
  228. package/dist/chunks/{pty-4qv5c5xf.js → plugin-t0sm8tsz.js} +23 -23
  229. package/dist/chunks/{pty-p1wf2k30.js → plugin-t0x5rdq8.js} +9 -9
  230. package/dist/chunks/{pty-b428793c.js → plugin-t3qmh3gx.js} +15 -15
  231. package/dist/chunks/{pty-dhmh7aw6.js → plugin-t7n9q6bq.js} +4 -4
  232. package/dist/chunks/{pty-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{pty-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{pty-tdstcens.js → plugin-tdstcens.js} +1 -1
  235. package/dist/chunks/{pty-0wmswe57.js → plugin-tkqjch9b.js} +15 -15
  236. package/dist/chunks/{pty-tvtrv512.js → plugin-tvtrv512.js} +1 -1
  237. package/dist/chunks/{pty-ezs85qj9.js → plugin-tx1bbn1t.js} +2 -2
  238. package/dist/chunks/{pty-0x4g6ndm.js → plugin-tymf8mj9.js} +24 -24
  239. package/dist/chunks/{pty-m0pn08h0.js → plugin-v1rfafwf.js} +6 -6
  240. package/dist/chunks/{pty-8gtqgsn5.js → plugin-v2fmp9g9.js} +33 -33
  241. package/dist/chunks/{pty-rxyhbgbe.js → plugin-v2vabg13.js} +20 -20
  242. package/dist/chunks/{pty-mwva2wqz.js → plugin-v460csvx.js} +15 -15
  243. package/dist/chunks/{pty-pc04q47q.js → plugin-v5kfew3t.js} +24 -24
  244. package/dist/chunks/{pty-zjqdssy0.js → plugin-v8eqxbay.js} +15 -15
  245. package/dist/chunks/{pty-eea9n1gg.js → plugin-v94e6qv3.js} +5 -5
  246. package/dist/chunks/{pty-qgp720zn.js → plugin-vcvf9nyw.js} +12 -12
  247. package/dist/chunks/{pty-hv7vaf99.js → plugin-vec9g2ky.js} +10 -10
  248. package/dist/chunks/{pty-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  249. package/dist/chunks/{pty-rxjhrqx1.js → plugin-veyy8et3.js} +20 -20
  250. package/dist/chunks/{pty-gy3ftesa.js → plugin-vneznamf.js} +27 -27
  251. package/dist/chunks/{pty-526v470z.js → plugin-vxyyfk13.js} +2 -2
  252. package/dist/chunks/{pty-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{pty-sgaqms2z.js → plugin-w6q4snd7.js} +17 -17
  255. package/dist/chunks/{pty-b3wkxfg9.js → plugin-w79zsp0s.js} +1 -1
  256. package/dist/chunks/{pty-wd87259q.js → plugin-wd87259q.js} +1 -1
  257. package/dist/chunks/{pty-6126dgt1.js → plugin-weqfqt5h.js} +41 -41
  258. package/dist/chunks/{pty-vyqtz9n7.js → plugin-wpmdzrrb.js} +1 -1
  259. package/dist/chunks/{pty-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{pty-x43y2vfs.js → plugin-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{pty-p9ts1dg8.js → plugin-xb87zqhc.js} +11 -11
  262. package/dist/chunks/{pty-gf4qtxm6.js → plugin-xkjyxwdt.js} +1 -1
  263. package/dist/chunks/{pty-0x1qwe4m.js → plugin-xpmv5zp6.js} +6 -6
  264. package/dist/chunks/{pty-jsaewa63.js → plugin-xskhzebk.js} +8 -8
  265. package/dist/chunks/{pty-0jzeq7bg.js → plugin-xtqerdb0.js} +9 -9
  266. package/dist/chunks/{pty-b5svzbqe.js → plugin-xw2reg2q.js} +11 -11
  267. package/dist/chunks/{pty-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{pty-7xggmshf.js → plugin-y8765w0k.js} +8 -8
  269. package/dist/chunks/{pty-07770t2t.js → plugin-y8p3zjbc.js} +4 -4
  270. package/dist/chunks/{pty-ewyzxja9.js → plugin-yczdwmb5.js} +10 -10
  271. package/dist/chunks/{pty-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{pty-s4enseaf.js → plugin-yrznvahk.js} +2 -2
  273. package/dist/chunks/{pty-s4sy206n.js → plugin-ytxckmz2.js} +32 -32
  274. package/dist/chunks/{pty-4z80d8a9.js → plugin-yzzyakej.js} +3 -3
  275. package/dist/chunks/{pty-jjc2e0wf.js → plugin-z00wb3zk.js} +16 -16
  276. package/dist/chunks/{pty-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-cgs7ndjq.js → plugin-z5vdj0hp.js} +9 -9
  278. package/dist/chunks/{pty-29x78va6.js → plugin-z63w68vq.js} +6 -6
  279. package/dist/chunks/{pty-m5aw9kqs.js → plugin-z6e5fen7.js} +8 -8
  280. package/dist/chunks/{pty-zvpdk192.js → plugin-zc32fwc3.js} +24 -24
  281. package/dist/chunks/{pty-8kcmt1fk.js → plugin-zc5qb0ej.js} +5 -5
  282. package/dist/chunks/{pty-xdzdvgbv.js → plugin-zdkcymxv.js} +15 -15
  283. package/dist/chunks/{pty-g254301b.js → plugin-ze2n42e7.js} +3 -3
  284. package/dist/chunks/{pty-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{pty-gj9xpvv3.js → plugin-zerdtc7d.js} +2 -2
  286. package/dist/chunks/{pty-2x9w7gwc.js → plugin-zjm0xfps.js} +4 -4
  287. package/dist/chunks/{pty-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{pty-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +113 -113
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  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 +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +360 -360
  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 +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +87 -87
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +3 -3
  453. package/dist/instance.js +351 -351
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +82 -82
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +76 -76
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +88 -88
  561. package/dist/reference/instructions.js +82 -82
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +87 -87
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +143 -143
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +212 -212
  576. package/dist/session/execution.js +120 -120
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +122 -122
  589. package/dist/session/projector.js +82 -82
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +84 -84
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +108 -108
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +209 -209
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +100 -100
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +103 -103
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +78 -78
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +3 -3
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/pty-by5v678g.js +0 -18
  688. package/dist/chunks/pty-jcst6tya.js +0 -247
  689. package/dist/chunks/pty-rnevd4w8.js +0 -22
  690. /package/dist/chunks/{pty-0mesazry.js → plugin-0mesazry.js} +0 -0
  691. /package/dist/chunks/{pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{pty-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{pty-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{pty-3asan66x.js → plugin-3asan66x.js} +0 -0
  701. /package/dist/chunks/{pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{pty-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{pty-53557ph1.js → plugin-53557ph1.js} +0 -0
  708. /package/dist/chunks/{pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{pty-6prwharc.js → plugin-6prwharc.js} +0 -0
  710. /package/dist/chunks/{pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{pty-822emrt2.js → plugin-822emrt2.js} +0 -0
  713. /package/dist/chunks/{pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{pty-922hggd3.js → plugin-922hggd3.js} +0 -0
  716. /package/dist/chunks/{pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{pty-a1tpkmh4.js → plugin-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{pty-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{pty-df08tz66.js → plugin-df08tz66.js} +0 -0
  733. /package/dist/chunks/{pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{pty-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{pty-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{pty-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{pty-g86h250q.js → plugin-g86h250q.js} +0 -0
  746. /package/dist/chunks/{pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{pty-gftt206x.js → plugin-gftt206x.js} +0 -0
  748. /package/dist/chunks/{pty-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{pty-hk9envan.js → plugin-hk9envan.js} +0 -0
  750. /package/dist/chunks/{pty-hrnqkpcd.js → plugin-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{pty-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{pty-twg0f83k.js → plugin-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{pty-x61499pn.js → plugin-x61499pn.js} +0 -0
  777. /package/dist/chunks/{pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{pty-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{pty-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID8,
3
- Service54
4
- } from "./pty-rssnh3zg.js";
2
+ ID18,
3
+ Service78
4
+ } from "./plugin-nz2rf55x.js";
5
5
  import {
6
6
  latest2,
7
- Service67
8
- } from "./pty-c487kk09.js";
7
+ Service40
8
+ } from "./plugin-advj38vx.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./pty-8vct2pgr.js";
11
+ } from "./plugin-9vs0xtad.js";
12
12
  import {
13
- Service50
14
- } from "./pty-jy3rk2pm.js";
13
+ Service52
14
+ } from "./plugin-34j98c57.js";
15
15
  import {
16
16
  evaluate2,
17
- Service51
18
- } from "./pty-q6rs4hjt.js";
17
+ Service68
18
+ } from "./plugin-7a57jeh0.js";
19
19
  import {
20
20
  Service25
21
- } from "./pty-crd48we5.js";
21
+ } from "./plugin-eh5hj286.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./pty-x1ezjp6w.js";
24
+ } from "./plugin-x1ezjp6w.js";
25
25
  import {
26
26
  make10
27
- } from "./pty-m0pn08h0.js";
27
+ } from "./plugin-v1rfafwf.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./plugin-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output3,
37
- Plugin: () => Plugin5,
35
+ Input: () => Input9,
36
+ Output: () => Output7,
37
+ Plugin: () => Plugin23,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description3,
40
- name: () => name5
39
+ description: () => description4,
40
+ name: () => name9
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name9 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input9 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output3 = Schema.Struct({
66
+ var Output7 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description3 = [
71
+ var description4 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description3 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin5 = {
80
+ var Plugin23 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
83
  const sessions = yield* Service25;
84
- const jobs = yield* Service50;
85
- const agents = yield* Service54;
86
- const config = yield* Service67;
87
- const permission = yield* Service51;
84
+ const jobs = yield* Service52;
85
+ const agents = yield* Service78;
86
+ const config = yield* Service40;
87
+ const permission = yield* Service68;
88
88
  const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name9,
91
91
  options: { codemode: false },
92
- description: description3,
93
- input: Input5,
94
- output: Output3,
92
+ description: description4,
93
+ input: Input9,
94
+ output: Output7,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin5 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name9,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin5 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID8.make(input.agent),
137
+ agent: ID18.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name9];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name5, Input5, Output3, description3, Plugin5, exports_subagent };
207
+ export { name9, Input9, Output7, description4, Plugin23, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./plugin-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./pty-8p4f9s12.js";
6
+ } from "./plugin-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./plugin-3jvtkk55.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./pty-mf3kdcv1.js";
6
+ Service64,
7
+ node68
8
+ } from "./plugin-2w0a68bw.js";
9
9
  import {
10
10
  create3
11
- } from "./pty-kg06axw8.js";
11
+ } from "./plugin-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./plugin-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event6,
20
+ Event: () => Event7,
21
21
  ID: () => ID4,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service22,
31
+ Service: () => Service24,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node26
33
+ node: () => node28
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event6 } from "@opencode/schema/websearch";
40
+ import { Event as Event7 } from "@opencode/schema/websearch";
41
41
  var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service22 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service24 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service22, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
69
69
  const bus = yield* Service79;
70
- const kv = yield* Service74;
70
+ const kv = yield* Service64;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service22.of({
127
+ return Service24.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node26 = makeLocationNode({
188
- service: Service22,
187
+ var node28 = makeLocationNode({
188
+ service: Service24,
189
189
  layer,
190
- deps: [node84, node79]
190
+ deps: [node84, node68]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service22, node26, exports_websearch3, Event6 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node28, exports_websearch3, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID16
3
- } from "./pty-9p3b3m98.js";
2
+ ID8
3
+ } from "./plugin-942f7qpg.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./pty-hjbc5kem.js";
6
+ } from "./plugin-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID16.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID16.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info18,
9
+ ConfigPermissionV1: () => exports_permission,
10
+ Info: () => Info16,
11
11
  Object: () => Object2,
12
- Rule: () => Rule3
12
+ Rule: () => Rule2
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule3),
20
- edit: Schema.optional(Rule3),
21
- glob: Schema.optional(Rule3),
22
- grep: Schema.optional(Rule3),
23
- list: Schema.optional(Rule3),
24
- bash: Schema.optional(Rule3),
25
- task: Schema.optional(Rule3),
26
- external_directory: Schema.optional(Rule3),
19
+ read: Schema.optional(Rule2),
20
+ edit: Schema.optional(Rule2),
21
+ glob: Schema.optional(Rule2),
22
+ grep: Schema.optional(Rule2),
23
+ list: Schema.optional(Rule2),
24
+ bash: Schema.optional(Rule2),
25
+ task: Schema.optional(Rule2),
26
+ external_directory: Schema.optional(Rule2),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule3),
28
+ webfetch: Schema.optional(Rule2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule3),
30
+ lsp: Schema.optional(Rule2),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule3)
33
- }), [Schema.Record(Schema.String, Rule3)]);
32
+ skill: Schema.optional(Rule2)
33
+ }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info18 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info18, exports_permission2 };
41
+ export { Action2, Object2, Rule2, Info16, exports_permission };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./plugin-3jvtkk55.js";
5
5
  import {
6
- Key4,
7
- Service72,
8
- node77
9
- } from "./pty-5g6xb262.js";
6
+ Key3,
7
+ Service60,
8
+ node64
9
+ } from "./plugin-hh0gtfpy.js";
10
10
  import {
11
11
  create3
12
- } from "./pty-kg06axw8.js";
12
+ } from "./plugin-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./pty-m0f7gyab.js";
16
+ } from "./plugin-5z7jgags.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./plugin-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,16 +31,16 @@ __export(exports_integration, {
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
33
  Event: () => Event14,
34
- ID: () => ID10,
35
- Info: () => Info12,
34
+ ID: () => ID7,
35
+ Info: () => Info21,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref2,
41
+ Ref: () => Ref3,
42
42
  Service: () => Service58,
43
- node: () => node61
43
+ node: () => node62
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -62,7 +62,7 @@ import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
64
  import { Event as Event14 } from "@opencode/schema/integration";
65
- var ID10 = Integration.ID;
65
+ var ID7 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info12 = Integration.Info;
73
+ var Info21 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,7 +85,7 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref2 = Integration.Ref;
88
+ var Ref3 = Integration.Ref;
89
89
 
90
90
  class Service58 extends Context.Service()("@opencode/Integration") {
91
91
  }
@@ -93,7 +93,7 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
95
  var layer = Layer.effect(Service58, Effect.gen(function* () {
96
- const credentials = yield* Service72;
96
+ const credentials = yield* Service60;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info12.make({
190
+ const project = (entry, connections) => Info21.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key4.make({ type: "key", key: exit.value })
274
+ value: Key3.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key4.make({ type: "key", key }) : undefined;
441
+ return key ? Key3.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key4.make({
474
+ value: Key3.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node61 = makeLocationNode({
568
+ var node62 = makeLocationNode({
569
569
  service: Service58,
570
570
  layer,
571
- deps: [node77, node84, AppProcess.node]
571
+ deps: [node64, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info12, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service58, node61, exports_integration, Event14 };
574
+ export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service58, node62, exports_integration, Event14 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./plugin-3jvtkk55.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./pty-qpw0y00r.js";
6
+ Service75,
7
+ node80
8
+ } from "./plugin-qf2z6nsx.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./pty-kg06axw8.js";
12
+ } from "./plugin-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./pty-tazgh4e4.js";
17
+ } from "./plugin-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./plugin-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info30,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service75,
31
+ Service: () => Service23,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node80
33
+ node: () => node27
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info30, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service75 extends Context.Service()("@opencode/Vcs") {
48
+ class Service23 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service75, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service75;
53
53
  const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info30));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service75.of({
118
+ return Service23.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node80 = makeLocationNode({
165
- service: Service75,
164
+ var node27 = makeLocationNode({
165
+ service: Service23,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node80, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info30, Mode2, DiffError2, Service75, node80, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service23, node27, exports_vcs };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./plugin-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./pty-qpw0y00r.js";
5
+ Service75
6
+ } from "./plugin-qf2z6nsx.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service76;
26
+ const location = yield* Service75;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));