@opencode/core 0.0.0-dev-19370 → 0.0.0-dev-19371

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{credential-8tzm5kpv.js → instruction-discovery-013av1x8.js} +14 -14
  9. package/dist/chunks/{credential-cw7k1zn0.js → instruction-discovery-07ag7k0e.js} +28 -28
  10. package/dist/chunks/{credential-v5tz0txx.js → instruction-discovery-09zd0szw.js} +32 -32
  11. package/dist/chunks/{credential-y7x142mt.js → instruction-discovery-0e5r1skn.js} +8 -8
  12. package/dist/chunks/{credential-q567r7t6.js → instruction-discovery-0ex6px1z.js} +8 -8
  13. package/dist/chunks/{credential-p0p6txpm.js → instruction-discovery-0fm4fvvj.js} +24 -24
  14. package/dist/chunks/{credential-1dfhrqqs.js → instruction-discovery-0hpxrkyb.js} +5 -5
  15. package/dist/chunks/instruction-discovery-0j1a1t13.js +22 -0
  16. package/dist/chunks/{credential-qnkzwnkk.js → instruction-discovery-0kb9m1f6.js} +10 -10
  17. package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
  18. package/dist/chunks/{credential-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{credential-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{credential-dy52c8h1.js → instruction-discovery-1a3gk442.js} +15 -15
  21. package/dist/chunks/{credential-ffnezcy6.js → instruction-discovery-1d6q6my0.js} +46 -46
  22. package/dist/chunks/{credential-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{credential-msq0jde0.js → instruction-discovery-1hc11dc4.js} +4 -4
  24. package/dist/chunks/{credential-966c8cap.js → instruction-discovery-1ka62ajm.js} +25 -25
  25. package/dist/chunks/{credential-26pye05k.js → instruction-discovery-1nhndn61.js} +7 -7
  26. package/dist/chunks/{credential-3batxdes.js → instruction-discovery-1ptb02zb.js} +45 -45
  27. package/dist/chunks/{credential-c9v3njsq.js → instruction-discovery-1rjn7b92.js} +6 -6
  28. package/dist/chunks/{credential-kyfddjrj.js → instruction-discovery-1wxb385z.js} +1 -1
  29. package/dist/chunks/{credential-r8d99g81.js → instruction-discovery-1xj25msm.js} +18 -18
  30. package/dist/chunks/{credential-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  31. package/dist/chunks/{credential-6h73sxmp.js → instruction-discovery-2402vzrj.js} +5 -5
  32. package/dist/chunks/{credential-vmar8n8n.js → instruction-discovery-24gjgxem.js} +17 -17
  33. package/dist/chunks/{credential-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{credential-gsx0ryk4.js → instruction-discovery-2bt6bea8.js} +9 -9
  35. package/dist/chunks/{credential-wb9vn7gc.js → instruction-discovery-2n6x26ww.js} +3 -3
  36. package/dist/chunks/{credential-tzar2m42.js → instruction-discovery-2nnczm4n.js} +87 -87
  37. package/dist/chunks/{credential-33kgjfz5.js → instruction-discovery-2rpj59nm.js} +84 -84
  38. package/dist/chunks/{credential-bsmwhs5j.js → instruction-discovery-2seywkaq.js} +13 -13
  39. package/dist/chunks/{credential-a5drzcdb.js → instruction-discovery-2tbcxsee.js} +19 -19
  40. package/dist/chunks/{credential-bajakh74.js → instruction-discovery-2tfmgkzg.js} +4 -4
  41. package/dist/chunks/{credential-04cfyv7b.js → instruction-discovery-2vvechqa.js} +32 -32
  42. package/dist/chunks/{credential-ejv06xv9.js → instruction-discovery-32zkwxf4.js} +54 -54
  43. package/dist/chunks/{credential-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{credential-dsgca7mb.js → instruction-discovery-3fqhs30r.js} +11 -11
  45. package/dist/chunks/{credential-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{credential-7b5mp5c8.js → instruction-discovery-3mwx79t2.js} +17 -17
  47. package/dist/chunks/{credential-p33ejz0k.js → instruction-discovery-3q1jyqhd.js} +1 -1
  48. package/dist/chunks/{credential-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{credential-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{credential-dj9sq318.js → instruction-discovery-3w2b2yj4.js} +5 -5
  51. package/dist/chunks/{credential-mb942295.js → instruction-discovery-3wrtxrr4.js} +6 -6
  52. package/dist/chunks/{credential-pg4ttegr.js → instruction-discovery-42n6z8pq.js} +32 -32
  53. package/dist/chunks/{credential-rzs3gq0x.js → instruction-discovery-4c8bw516.js} +8 -8
  54. package/dist/chunks/{credential-e4f8tf4k.js → instruction-discovery-4dxrwc2h.js} +63 -63
  55. package/dist/chunks/{credential-9c1g789v.js → instruction-discovery-4g2w7pq2.js} +9 -9
  56. package/dist/chunks/{credential-1h4ktfcf.js → instruction-discovery-4mkcvr19.js} +5 -5
  57. package/dist/chunks/{credential-q2ytqwwa.js → instruction-discovery-4s43gdt0.js} +11 -11
  58. package/dist/chunks/instruction-discovery-4yx2wtwn.js +247 -0
  59. package/dist/chunks/{credential-e6hmchc5.js → instruction-discovery-510m7gjw.js} +5 -5
  60. package/dist/chunks/{credential-1319r755.js → instruction-discovery-516fypfz.js} +32 -32
  61. package/dist/chunks/{credential-1ygqh575.js → instruction-discovery-56gdpj1q.js} +9 -9
  62. package/dist/chunks/{credential-3sqtj86k.js → instruction-discovery-56yety9r.js} +41 -41
  63. package/dist/chunks/{credential-a1bz86dw.js → instruction-discovery-5c4hm403.js} +3 -3
  64. package/dist/chunks/{credential-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  65. package/dist/chunks/{credential-rce8n207.js → instruction-discovery-5fhmv1q3.js} +34 -34
  66. package/dist/chunks/{credential-x9nmc2sn.js → instruction-discovery-5nsrms9d.js} +1 -1
  67. package/dist/chunks/{credential-eddgwn1r.js → instruction-discovery-5s33gdzw.js} +22 -22
  68. package/dist/chunks/{credential-kkxyzwpq.js → instruction-discovery-5sb8wf39.js} +18 -18
  69. package/dist/chunks/{credential-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{credential-pny7yx7d.js → instruction-discovery-5zem9v7d.js} +13 -13
  71. package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
  72. package/dist/chunks/{credential-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  73. package/dist/chunks/{credential-bgs9y14h.js → instruction-discovery-66r9f6z1.js} +5 -5
  74. package/dist/chunks/{credential-1nzs1dt7.js → instruction-discovery-6anwy9fs.js} +5 -5
  75. package/dist/chunks/{credential-xwrmknpr.js → instruction-discovery-6cb6sp75.js} +4 -4
  76. package/dist/chunks/{credential-m4455s3y.js → instruction-discovery-6fd16rw2.js} +26 -26
  77. package/dist/chunks/{credential-bzrne2cf.js → instruction-discovery-6fs1bwmd.js} +27 -27
  78. package/dist/chunks/{credential-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{credential-tksm74b3.js → instruction-discovery-6q6sza9m.js} +27 -27
  80. package/dist/chunks/{credential-txc11aqg.js → instruction-discovery-6vmq095n.js} +8 -8
  81. package/dist/chunks/{credential-21a5jk7k.js → instruction-discovery-71m7qv0m.js} +11 -11
  82. package/dist/chunks/{credential-71q4at8m.js → instruction-discovery-71q4at8m.js} +1 -1
  83. package/dist/chunks/{credential-4f4r2056.js → instruction-discovery-75rf4veb.js} +20 -20
  84. package/dist/chunks/{credential-tq9yxfd0.js → instruction-discovery-77vr9fvh.js} +50 -50
  85. package/dist/chunks/{credential-1b74es1f.js → instruction-discovery-7bjy8qnq.js} +16 -16
  86. package/dist/chunks/{credential-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{credential-0hch6svz.js → instruction-discovery-7bszj1cq.js} +30 -30
  88. package/dist/chunks/{credential-esafk7q3.js → instruction-discovery-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{credential-jkw62c4x.js → instruction-discovery-7gqvs912.js} +18 -18
  90. package/dist/chunks/{credential-4sdp0m6c.js → instruction-discovery-7ng2f82v.js} +34 -34
  91. package/dist/chunks/{credential-yc60x9p4.js → instruction-discovery-7vc0yr26.js} +15 -15
  92. package/dist/chunks/{credential-k0ncd55s.js → instruction-discovery-7wp5vt1y.js} +11 -11
  93. package/dist/chunks/{credential-gsdcmbmr.js → instruction-discovery-7xbncs63.js} +52 -52
  94. package/dist/chunks/{credential-b1xevyg4.js → instruction-discovery-7ynajkh9.js} +26 -26
  95. package/dist/chunks/{credential-drxtvntd.js → instruction-discovery-83x6p9kd.js} +1 -1
  96. package/dist/chunks/{credential-844ef7ks.js → instruction-discovery-844ef7ks.js} +1 -1
  97. package/dist/chunks/{credential-dnanfhkd.js → instruction-discovery-8bk6ht13.js} +15 -15
  98. package/dist/chunks/{credential-svntbjgt.js → instruction-discovery-8bzjxz67.js} +25 -25
  99. package/dist/chunks/{credential-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  100. package/dist/chunks/{credential-hv14eds1.js → instruction-discovery-8gq8wjx2.js} +9 -9
  101. package/dist/chunks/{credential-pefy2fys.js → instruction-discovery-90e5nz4z.js} +4 -4
  102. package/dist/chunks/{credential-9m3dk78v.js → instruction-discovery-93hpb89x.js} +3 -3
  103. package/dist/chunks/{credential-b191y2av.js → instruction-discovery-9875sft1.js} +3 -3
  104. package/dist/chunks/{credential-bpgg8zv2.js → instruction-discovery-9bkp3vk6.js} +14 -14
  105. package/dist/chunks/{credential-yjqv8qmq.js → instruction-discovery-9edcvf27.js} +10 -10
  106. package/dist/chunks/{credential-ratrq7cm.js → instruction-discovery-a46v4e4v.js} +4 -4
  107. package/dist/chunks/{credential-jd8xsdb7.js → instruction-discovery-a823mjcm.js} +20 -20
  108. package/dist/chunks/{credential-13p69r1g.js → instruction-discovery-a8vp0knq.js} +7 -7
  109. package/dist/chunks/{credential-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  110. package/dist/chunks/{credential-n5650byf.js → instruction-discovery-avhz3daf.js} +17 -17
  111. package/dist/chunks/{credential-jaevav1w.js → instruction-discovery-b2zyk4ye.js} +13 -13
  112. package/dist/chunks/{credential-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{credential-wq4tenhy.js → instruction-discovery-bbrn9wt5.js} +11 -11
  114. package/dist/chunks/{credential-q3mrh7hn.js → instruction-discovery-be85q6rn.js} +6 -6
  115. package/dist/chunks/{credential-hrm8y51b.js → instruction-discovery-bjyhjfk1.js} +25 -25
  116. package/dist/chunks/{credential-kg7hpk6b.js → instruction-discovery-bv2fytjm.js} +20 -20
  117. package/dist/chunks/{credential-qhbg58t9.js → instruction-discovery-c7ecgrk6.js} +6 -6
  118. package/dist/chunks/{credential-nqnvy2d4.js → instruction-discovery-cc5pkwqg.js} +47 -47
  119. package/dist/chunks/{credential-p9tm0mrs.js → instruction-discovery-ccedsq4e.js} +18 -18
  120. package/dist/chunks/{credential-83jbspt8.js → instruction-discovery-cf8tr9ph.js} +3 -3
  121. package/dist/chunks/instruction-discovery-chckjpc4.js +462 -0
  122. package/dist/chunks/{credential-c576t1j6.js → instruction-discovery-cmbqfntm.js} +9 -9
  123. package/dist/chunks/{credential-05jaqbfy.js → instruction-discovery-cssamdmg.js} +17 -17
  124. package/dist/chunks/{credential-4j4j6b7c.js → instruction-discovery-cyr4v3cw.js} +21 -21
  125. package/dist/chunks/{credential-rfhr4evy.js → instruction-discovery-d13x8xp9.js} +25 -25
  126. package/dist/chunks/{credential-x92tzhpc.js → instruction-discovery-d25rvqmh.js} +14 -14
  127. package/dist/chunks/{credential-4eb3ngbp.js → instruction-discovery-d3k4bsrs.js} +6 -6
  128. package/dist/chunks/{credential-yn5yksm3.js → instruction-discovery-dbd00eyb.js} +6 -6
  129. package/dist/chunks/{credential-hq4namph.js → instruction-discovery-dc5a176q.js} +13 -13
  130. package/dist/chunks/{credential-crkg5x17.js → instruction-discovery-dht98sv3.js} +17 -17
  131. package/dist/chunks/{credential-8p4f9s12.js → instruction-discovery-dj2t23y0.js} +2 -2
  132. package/dist/chunks/{credential-dpkg50ah.js → instruction-discovery-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{credential-gb33nbqp.js → instruction-discovery-dskz157b.js} +41 -41
  134. package/dist/chunks/{credential-8f79ekhe.js → instruction-discovery-dwhk5b05.js} +20 -20
  135. package/dist/chunks/{credential-sc5zwnjf.js → instruction-discovery-e51w6w3b.js} +7 -7
  136. package/dist/chunks/{credential-t550f9t1.js → instruction-discovery-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{credential-s90d8d6b.js → instruction-discovery-edbfpfck.js} +6 -6
  138. package/dist/chunks/{credential-ff6j3eyt.js → instruction-discovery-eh5zsyp8.js} +13 -13
  139. package/dist/chunks/{credential-k8mz02ds.js → instruction-discovery-eh92xjb9.js} +34 -34
  140. package/dist/chunks/{credential-a8bn8zg0.js → instruction-discovery-ej2hdnaa.js} +4 -4
  141. package/dist/chunks/{credential-af3pq8fz.js → instruction-discovery-en74w496.js} +5 -5
  142. package/dist/chunks/{credential-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{credential-m4r2ec35.js → instruction-discovery-ev4g7n3e.js} +25 -25
  144. package/dist/chunks/{credential-8gcdc49z.js → instruction-discovery-exjxmebg.js} +5 -5
  145. package/dist/chunks/{credential-wm06yq12.js → instruction-discovery-f1bvj3rd.js} +25 -25
  146. package/dist/chunks/{credential-t0x5rdq8.js → instruction-discovery-fjmrr6sh.js} +9 -9
  147. package/dist/chunks/{credential-7vqdbxhf.js → instruction-discovery-frf5pa85.js} +21 -21
  148. package/dist/chunks/{credential-1398rwbr.js → instruction-discovery-fvt53xkj.js} +32 -32
  149. package/dist/chunks/{credential-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{credential-w5837gkz.js → instruction-discovery-g01nxz4d.js} +1 -1
  151. package/dist/chunks/{credential-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{credential-7g3h93b8.js → instruction-discovery-gn781x5c.js} +17 -17
  153. package/dist/chunks/{credential-05ffq7ws.js → instruction-discovery-gped56y4.js} +10 -10
  154. package/dist/chunks/{credential-5kzc33a4.js → instruction-discovery-gt0cxfk7.js} +1 -1
  155. package/dist/chunks/{credential-th5km1p3.js → instruction-discovery-gv6a8nnw.js} +5 -5
  156. package/dist/chunks/{credential-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{credential-qjhwvxvx.js → instruction-discovery-h3e0pdjz.js} +18 -18
  158. package/dist/chunks/{credential-zcrvs66x.js → instruction-discovery-h57cfva4.js} +23 -23
  159. package/dist/chunks/{credential-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{credential-ay8ez75v.js → instruction-discovery-haffsr0x.js} +32 -32
  161. package/dist/chunks/{credential-2feh4c3v.js → instruction-discovery-hb72rahq.js} +18 -18
  162. package/dist/chunks/{credential-yckq38a0.js → instruction-discovery-hbsxx67k.js} +22 -22
  163. package/dist/chunks/{credential-z56nne8r.js → instruction-discovery-hdfkmsb1.js} +38 -38
  164. package/dist/chunks/{credential-f828m53h.js → instruction-discovery-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{credential-xmhy143a.js → instruction-discovery-hhfebk12.js} +6 -6
  166. package/dist/chunks/{credential-j4xyrz15.js → instruction-discovery-hhndk190.js} +17 -17
  167. package/dist/chunks/{credential-e82z9tr0.js → instruction-discovery-hjt4xg1x.js} +7 -7
  168. package/dist/chunks/{credential-zjmsgra3.js → instruction-discovery-hne3qtyj.js} +5 -5
  169. package/dist/chunks/{credential-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  170. package/dist/chunks/{credential-j5eg37j2.js → instruction-discovery-jcdkcw30.js} +23 -23
  171. package/dist/chunks/{credential-jpreg3hv.js → instruction-discovery-jg0vs890.js} +3 -3
  172. package/dist/chunks/{credential-7rr0m4bs.js → instruction-discovery-jrdjmdbf.js} +24 -24
  173. package/dist/chunks/{credential-6k8padng.js → instruction-discovery-jwm8j6jh.js} +9 -9
  174. package/dist/chunks/{credential-ywa477g8.js → instruction-discovery-jwqwxd9a.js} +35 -35
  175. package/dist/chunks/{credential-e9cy62py.js → instruction-discovery-jygyrd66.js} +4 -4
  176. package/dist/chunks/{credential-015cheya.js → instruction-discovery-jymdtt95.js} +4 -4
  177. package/dist/chunks/{credential-q928s5sj.js → instruction-discovery-ka2k270b.js} +8 -8
  178. package/dist/chunks/{credential-kg06axw8.js → instruction-discovery-kg06axw8.js} +1 -1
  179. package/dist/chunks/{credential-ybjz3e3p.js → instruction-discovery-kh9gj6fg.js} +2 -2
  180. package/dist/chunks/{credential-dda3kyyb.js → instruction-discovery-kksf6wrm.js} +11 -11
  181. package/dist/chunks/{credential-b15px6y4.js → instruction-discovery-kne26kkt.js} +27 -27
  182. package/dist/chunks/{credential-3g58nq9n.js → instruction-discovery-ktg44z5t.js} +171 -171
  183. package/dist/chunks/{credential-cfpkc3c9.js → instruction-discovery-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{credential-er05gb0t.js → instruction-discovery-m42hzdpg.js} +12 -12
  185. package/dist/chunks/{credential-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{credential-h4e6gkjy.js → instruction-discovery-mfp3ds1s.js} +11 -11
  187. package/dist/chunks/{credential-mkcjrzeh.js → instruction-discovery-mkcjrzeh.js} +1 -1
  188. package/dist/chunks/{credential-fvn9gckt.js → instruction-discovery-mndr4ybt.js} +22 -22
  189. package/dist/chunks/{credential-mhkvc446.js → instruction-discovery-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{credential-pw9v3g6d.js → instruction-discovery-mw934p8z.js} +8 -8
  191. package/dist/chunks/{credential-qaf3yvw3.js → instruction-discovery-n0a61x39.js} +16 -16
  192. package/dist/chunks/{credential-6rm0dwms.js → instruction-discovery-n0yakzgj.js} +4 -4
  193. package/dist/chunks/{credential-ed29z705.js → instruction-discovery-n53pthfb.js} +4 -4
  194. package/dist/chunks/{credential-8r1kcnkf.js → instruction-discovery-n6v4qqax.js} +8 -8
  195. package/dist/chunks/{credential-aqsvh3mt.js → instruction-discovery-n7tqtybm.js} +4 -4
  196. package/dist/chunks/{credential-zetb5yra.js → instruction-discovery-na2veqbs.js} +4 -4
  197. package/dist/chunks/{credential-5dsh741q.js → instruction-discovery-ncfk57aw.js} +14 -14
  198. package/dist/chunks/{credential-djgrr753.js → instruction-discovery-np0e3ae6.js} +27 -27
  199. package/dist/chunks/{credential-z2ymbzcw.js → instruction-discovery-nrb4wwn8.js} +20 -20
  200. package/dist/chunks/{credential-d2aac7k2.js → instruction-discovery-nxhqveyz.js} +5 -5
  201. package/dist/chunks/{credential-mgpvk6q1.js → instruction-discovery-p14ehj6j.js} +17 -17
  202. package/dist/chunks/{credential-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{credential-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  204. package/dist/chunks/{credential-n3yewg4x.js → instruction-discovery-pmmrp2gy.js} +8 -8
  205. package/dist/chunks/{credential-7hdna1a1.js → instruction-discovery-pqa1w537.js} +14 -14
  206. package/dist/chunks/{credential-qtnnx2m7.js → instruction-discovery-pzgnhxvj.js} +41 -41
  207. package/dist/chunks/{credential-58jet3bj.js → instruction-discovery-q0pezbdn.js} +24 -24
  208. package/dist/chunks/{credential-qrxqsn15.js → instruction-discovery-q8pd2zjz.js} +20 -20
  209. package/dist/chunks/{credential-snndsnj2.js → instruction-discovery-qahvmdvb.js} +43 -43
  210. package/dist/chunks/{credential-enjtf4g5.js → instruction-discovery-qhhwejbz.js} +26 -26
  211. package/dist/chunks/{credential-6640nxyp.js → instruction-discovery-qp85chj3.js} +18 -18
  212. package/dist/chunks/{credential-8w44pm91.js → instruction-discovery-qrfkxqda.js} +2 -2
  213. package/dist/chunks/{credential-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  214. package/dist/chunks/{credential-ck0ahkdp.js → instruction-discovery-r3q6pmcz.js} +8 -8
  215. package/dist/chunks/{credential-4xe4npvy.js → instruction-discovery-r4mhm636.js} +20 -20
  216. package/dist/chunks/{credential-yp2x3t23.js → instruction-discovery-r8xr0va3.js} +4 -4
  217. package/dist/chunks/{credential-mxcvjysz.js → instruction-discovery-rdf939bf.js} +12 -12
  218. package/dist/chunks/{credential-xw0r27ex.js → instruction-discovery-rpg9c19m.js} +4 -4
  219. package/dist/chunks/{credential-hyd8y20x.js → instruction-discovery-s7731dqm.js} +2 -2
  220. package/dist/chunks/{credential-ayzmjt8w.js → instruction-discovery-sa02mddm.js} +34 -34
  221. package/dist/chunks/{credential-dtrk9gzb.js → instruction-discovery-sgm9fmvw.js} +22 -22
  222. package/dist/chunks/{credential-7fy1mpjh.js → instruction-discovery-sh9pyrtp.js} +20 -20
  223. package/dist/chunks/{credential-5jjjy8t8.js → instruction-discovery-spq00ka2.js} +10 -10
  224. package/dist/chunks/{credential-yx2kztkn.js → instruction-discovery-ss846j3y.js} +16 -16
  225. package/dist/chunks/{credential-tscy7q8w.js → instruction-discovery-t71m7ha1.js} +30 -30
  226. package/dist/chunks/{credential-hczynf47.js → instruction-discovery-t8111hhj.js} +9 -9
  227. package/dist/chunks/{credential-prhyc2hv.js → instruction-discovery-t8mcaem5.js} +1 -1
  228. package/dist/chunks/{credential-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{credential-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{credential-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  231. package/dist/chunks/{credential-shh6fz4q.js → instruction-discovery-tm7zr4pr.js} +4 -4
  232. package/dist/chunks/{credential-s7zpjck1.js → instruction-discovery-tnahabn5.js} +11 -11
  233. package/dist/chunks/{credential-v8tn9yq8.js → instruction-discovery-ts721f0v.js} +10 -10
  234. package/dist/chunks/{credential-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  235. package/dist/chunks/{credential-s1y2e255.js → instruction-discovery-txw580h0.js} +42 -42
  236. package/dist/chunks/{credential-0wd4jbpn.js → instruction-discovery-v2cnm3g2.js} +11 -11
  237. package/dist/chunks/{credential-kxcd42x8.js → instruction-discovery-v9hj2zp6.js} +36 -36
  238. package/dist/chunks/{credential-aqapmjqb.js → instruction-discovery-v9txp1qz.js} +10 -10
  239. package/dist/chunks/{credential-vncycja5.js → instruction-discovery-ve4pfa0n.js} +4 -4
  240. package/dist/chunks/{credential-r7cr63pb.js → instruction-discovery-ve686vvv.js} +9 -9
  241. package/dist/chunks/{credential-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  242. package/dist/chunks/{credential-trt7jtkk.js → instruction-discovery-vgae25ec.js} +11 -11
  243. package/dist/chunks/{credential-q312td4y.js → instruction-discovery-vqxxa0z6.js} +18 -18
  244. package/dist/chunks/{credential-h4j6qtac.js → instruction-discovery-vth3sqng.js} +12 -12
  245. package/dist/chunks/{credential-vnn0ngfa.js → instruction-discovery-vxrtct5k.js} +9 -9
  246. package/dist/chunks/{credential-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{credential-essb66p0.js → instruction-discovery-w1xac8nv.js} +26 -26
  248. package/dist/chunks/{credential-mjanhrey.js → instruction-discovery-w2t9zb6q.js} +15 -15
  249. package/dist/chunks/{credential-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{credential-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  251. package/dist/chunks/{credential-st6cv0zf.js → instruction-discovery-weg6n8ch.js} +41 -41
  252. package/dist/chunks/{credential-0m29xn9k.js → instruction-discovery-wpk9fyyk.js} +30 -30
  253. package/dist/chunks/{credential-rfs6vkg6.js → instruction-discovery-wqk5yr6e.js} +8 -8
  254. package/dist/chunks/{credential-y2vjxt4h.js → instruction-discovery-wv6hz6db.js} +9 -9
  255. package/dist/chunks/{credential-4p7g3wg8.js → instruction-discovery-x01696tg.js} +28 -28
  256. package/dist/chunks/{credential-dkgmj00c.js → instruction-discovery-x0e6qwje.js} +20 -20
  257. package/dist/chunks/{credential-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{credential-x43y2vfs.js → instruction-discovery-x43y2vfs.js} +2 -2
  259. package/dist/chunks/{credential-cvs5r53p.js → instruction-discovery-xc1crrp1.js} +6 -6
  260. package/dist/chunks/{credential-089q26yp.js → instruction-discovery-xdet2c8p.js} +15 -15
  261. package/dist/chunks/{credential-h54g1dhn.js → instruction-discovery-xggv9zzh.js} +5 -5
  262. package/dist/chunks/{credential-ekab52cg.js → instruction-discovery-xj2v2q7r.js} +6 -6
  263. package/dist/chunks/{credential-cbtntvbe.js → instruction-discovery-xq1bh1bq.js} +7 -7
  264. package/dist/chunks/{credential-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{credential-34jgwge8.js → instruction-discovery-y4j4htjy.js} +9 -9
  266. package/dist/chunks/{credential-3nxb9rvh.js → instruction-discovery-y5mrfvw4.js} +9 -9
  267. package/dist/chunks/{credential-v1szd0f8.js → instruction-discovery-y719r58y.js} +28 -28
  268. package/dist/chunks/{credential-f7ehr2sm.js → instruction-discovery-yb94xmg0.js} +9 -9
  269. package/dist/chunks/{credential-10w8kkbh.js → instruction-discovery-yh1xbxjs.js} +33 -33
  270. package/dist/chunks/{credential-2nycvdb8.js → instruction-discovery-yj348szg.js} +33 -33
  271. package/dist/chunks/{credential-rxpr5tzb.js → instruction-discovery-yn2mq5w8.js} +17 -17
  272. package/dist/chunks/{credential-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{credential-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
  274. package/dist/chunks/{credential-7vx5fws8.js → instruction-discovery-yt1ptz87.js} +22 -22
  275. package/dist/chunks/{credential-rnnysrbx.js → instruction-discovery-yttr6rv8.js} +3 -3
  276. package/dist/chunks/{credential-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{credential-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
  278. package/dist/chunks/{credential-b8q0kteq.js → instruction-discovery-z9pt3sjd.js} +4 -4
  279. package/dist/chunks/{credential-5z248baa.js → instruction-discovery-zb37q2qm.js} +11 -11
  280. package/dist/chunks/{credential-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{credential-z1f4gy9p.js → instruction-discovery-zerdtc7d.js} +4 -4
  282. package/dist/chunks/{credential-4e4ycstq.js → instruction-discovery-zjgypzx6.js} +10 -10
  283. package/dist/chunks/{credential-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{credential-ewhzqcma.js → instruction-discovery-zrntq85h.js} +7 -7
  285. package/dist/chunks/{credential-fwr271s3.js → instruction-discovery-zwb6xfp8.js} +24 -24
  286. package/dist/chunks/{credential-4naz9raq.js → instruction-discovery-zwsn0yg2.js} +6 -6
  287. package/dist/chunks/{credential-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{credential-cwmq7ztw.js → instruction-discovery-zxwpk2nb.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  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 +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  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 +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  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 +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  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 +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +93 -93
  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 +7 -7
  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 +5 -5
  453. package/dist/instance.js +353 -353
  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 +86 -86
  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 +130 -130
  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 +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  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 +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  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 +106 -106
  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 +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +1 -1
  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 +74 -74
  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 +341 -341
  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 +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +82 -82
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  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 +127 -127
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  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 +88 -88
  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 +126 -126
  589. package/dist/session/projector.js +84 -84
  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 +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  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 +169 -169
  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 +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +149 -149
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  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 +15 -15
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +88 -88
  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 +119 -119
  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 +118 -118
  633. package/dist/tool/plugin/grep.js +118 -118
  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 +107 -107
  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 +15 -15
  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 +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +7 -7
  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 +3 -3
  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 +82 -82
  676. package/dist/wellknown/plugin.js +72 -72
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +7 -7
  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 +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/credential-4vjscmnp.js +0 -247
  688. package/dist/chunks/credential-6kdq0pjd.js +0 -4
  689. package/dist/chunks/credential-h2j3v1fy.js +0 -462
  690. package/dist/chunks/credential-qdyb70sk.js +0 -18
  691. package/dist/chunks/credential-tw6y6bmq.js +0 -22
  692. /package/dist/chunks/{credential-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{credential-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{credential-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{credential-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{credential-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{credential-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{credential-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{credential-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{credential-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{credential-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  702. /package/dist/chunks/{credential-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{credential-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{credential-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{credential-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{credential-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{credential-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{credential-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  709. /package/dist/chunks/{credential-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{credential-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  711. /package/dist/chunks/{credential-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{credential-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{credential-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  714. /package/dist/chunks/{credential-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{credential-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{credential-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  717. /package/dist/chunks/{credential-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{credential-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{credential-a1tpkmh4.js → instruction-discovery-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{credential-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{credential-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{credential-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{credential-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{credential-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{credential-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{credential-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{credential-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{credential-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{credential-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{credential-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{credential-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{credential-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{credential-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  734. /package/dist/chunks/{credential-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{credential-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{credential-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{credential-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{credential-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{credential-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{credential-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{credential-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{credential-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{credential-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{credential-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{credential-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{credential-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  747. /package/dist/chunks/{credential-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{credential-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  749. /package/dist/chunks/{credential-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{credential-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  751. /package/dist/chunks/{credential-hrnqkpcd.js → instruction-discovery-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{credential-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{credential-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{credential-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{credential-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{credential-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{credential-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{credential-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{credential-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{credential-paphc93g.js → instruction-discovery-paphc93g.js} +0 -0
  763. /package/dist/chunks/{credential-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{credential-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{credential-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{credential-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{credential-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{credential-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{credential-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{credential-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{credential-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{credential-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{credential-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{credential-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{credential-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{credential-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{credential-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{credential-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  779. /package/dist/chunks/{credential-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{credential-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{credential-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{credential-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{credential-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service79
3
- } from "./credential-ed29z705.js";
3
+ } from "./instruction-discovery-n53pthfb.js";
4
4
  import {
5
- Service70
6
- } from "./credential-qnkzwnkk.js";
5
+ Service67
6
+ } from "./instruction-discovery-0kb9m1f6.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./credential-kg06axw8.js";
12
+ } from "./instruction-discovery-kg06axw8.js";
13
13
  import {
14
- Service18,
14
+ Service35,
15
15
  awaitActivation2
16
- } from "./credential-qdyb70sk.js";
16
+ } from "./instruction-discovery-619r8v3y.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./credential-3g58nq9n.js";
21
+ } from "./instruction-discovery-ktg44z5t.js";
22
22
  import {
23
23
  __export
24
- } from "./credential-9rqn6x4v.js";
24
+ } from "./instruction-discovery-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event3,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service18,
33
+ Service: () => Service35,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node16
37
+ node: () => node18
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service18, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
- const kv = yield* Service70;
45
+ const kv = yield* Service67;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service18.of({
208
+ return Service35.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node16 = Node.makeLocationNode({
226
- service: Service18,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service35,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node18, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make18
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make18 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make18, exports_run_coordinator };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./credential-gd4qta3r.js";
3
+ } from "./instruction-discovery-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./credential-tvtrv512.js";
6
+ } from "./instruction-discovery-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./credential-kg06axw8.js";
9
+ } from "./instruction-discovery-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./credential-9rqn6x4v.js";
12
+ } from "./instruction-discovery-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service40,
21
+ Service: () => Service50,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node43
23
+ node: () => node55
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service40 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service50 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service40, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service40.of({
125
+ return Service50.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node43 = makeLocationNode({
143
- service: Service40,
142
+ var node55 = makeLocationNode({
143
+ service: Service50,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service40, node43, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node55, exports_tool_output2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service28,
9
+ Service: () => Service52,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service28 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service52 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service28, exports_runner };
18
+ export { DrainResult2, Service52, exports_runner };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./credential-922hggd3.js";
4
+ } from "./instruction-discovery-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./credential-9m3dk78v.js";
7
+ } from "./instruction-discovery-93hpb89x.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./credential-2a5m3afh.js";
3
+ } from "./instruction-discovery-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./credential-922hggd3.js";
6
+ } from "./instruction-discovery-922hggd3.js";
7
7
  import {
8
- Service73
9
- } from "./credential-7g3h93b8.js";
8
+ Service75
9
+ } from "./instruction-discovery-gn781x5c.js";
10
10
  import {
11
- Service64
12
- } from "./credential-fwr271s3.js";
11
+ Service47
12
+ } from "./instruction-discovery-zwb6xfp8.js";
13
13
  import {
14
- Service63
15
- } from "./credential-2feh4c3v.js";
14
+ Service21
15
+ } from "./instruction-discovery-hb72rahq.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry4
21
- } from "./credential-tksm74b3.js";
20
+ Entry2
21
+ } from "./instruction-discovery-6q6sza9m.js";
22
22
  import {
23
- Service53
24
- } from "./credential-gsdcmbmr.js";
23
+ Service69
24
+ } from "./instruction-discovery-7xbncs63.js";
25
25
  import {
26
- Service45
27
- } from "./credential-r8d99g81.js";
26
+ Service24
27
+ } from "./instruction-discovery-1xj25msm.js";
28
28
  import {
29
29
  __export
30
- } from "./credential-9rqn6x4v.js";
30
+ } from "./instruction-discovery-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input4,
37
- Output: () => Output4,
38
- Plugin: () => Plugin34,
39
- name: () => name4,
36
+ Input: () => Input7,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin24,
39
+ name: () => name7,
40
40
  toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name4 = "glob";
46
- var Input4 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,7 +55,7 @@ var Input4 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry4);
58
+ var Output5 = Schema.Array(Entry2);
59
59
  var toModelContent3 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -63,27 +63,27 @@ var toModelContent3 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin34 = {
66
+ var Plugin24 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service64;
70
- const ripgrep = yield* Service63;
71
- const location = yield* Service73;
72
- const access = yield* Service45;
73
- const permission = yield* Service53;
69
+ const environment = yield* Service47;
70
+ const ripgrep = yield* Service21;
71
+ const location = yield* Service75;
72
+ const access = yield* Service24;
73
+ const permission = yield* Service69;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name4,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input4,
79
- output: Output4,
78
+ input: Input7,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name4,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,7 +111,7 @@ var Plugin34 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry4.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry2.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
@@ -125,4 +125,4 @@ var Plugin34 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name4, Input4, Output4, toModelContent3, Plugin34, exports_glob };
128
+ export { name7, Input7, Output5, toModelContent3, Plugin24, exports_glob };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./credential-88xbtdfr.js";
3
+ } from "./instruction-discovery-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./credential-paphc93g.js";
6
+ } from "./instruction-discovery-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./instruction-discovery-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event6,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service39,
16
+ Options: () => Options8,
17
+ Service: () => Service65,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured4,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node42,
25
+ node: () => node70,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ 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 Event6 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service39 extends Context.Service()("@opencode/Watcher") {
60
+ class Service65 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service39.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service65.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 layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service39.of({ subscribe });
108
+ return Service65.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(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service39).subscribe,
134
+ subscribe: Context.get(context, Service65).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(Service39, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service65, 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 configured4(options) {
168
- return makeGlobalNode({ service: Service39, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service65, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node42 = configured4();
170
+ var node70 = configured10();
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 { Event6, hasNativeBinding2, Native3, Options5, Service39, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured4, node42, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options8, Service65, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node70, exports_watcher };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service73,
3
- node78
4
- } from "./credential-7g3h93b8.js";
2
+ Service75,
3
+ node80
4
+ } from "./instruction-discovery-gn781x5c.js";
5
5
  import {
6
- Service18
7
- } from "./credential-qdyb70sk.js";
6
+ Service35
7
+ } from "./instruction-discovery-619r8v3y.js";
8
8
  import {
9
- Service48,
10
- node51
11
- } from "./credential-s1y2e255.js";
9
+ Service23,
10
+ node27
11
+ } from "./instruction-discovery-txw580h0.js";
12
12
  import {
13
- node16
14
- } from "./credential-4xe4npvy.js";
13
+ node18
14
+ } from "./instruction-discovery-r4mhm636.js";
15
15
  import {
16
- node5
17
- } from "./credential-ywa477g8.js";
16
+ node6
17
+ } from "./instruction-discovery-jwqwxd9a.js";
18
18
  import {
19
19
  __export
20
- } from "./credential-9rqn6x4v.js";
20
+ } from "./instruction-discovery-9rqn6x4v.js";
21
21
 
22
22
  // src/worktree/refresh.ts
23
23
  var exports_refresh = {};
24
24
  __export(exports_refresh, {
25
25
  WorktreeRefresh: () => exports_refresh,
26
- node: () => node4
26
+ node: () => node5
27
27
  });
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
- const location = yield* Service73;
32
- const plugins = yield* Service18;
33
- const worktrees = yield* Service48;
31
+ const location = yield* Service75;
32
+ const plugins = yield* Service35;
33
+ const worktrees = yield* Service23;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
37
37
  }));
38
- var node4 = makeLocationNode({
38
+ var node5 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node51, node78, node16, node5]
41
+ deps: [node27, node80, node18, node6]
42
42
  });
43
43
 
44
- export { node4, exports_refresh };
44
+ export { node5, exports_refresh };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
@@ -8,17 +8,17 @@ __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured7,
11
- layer: () => layer22,
12
- make: () => make20,
13
- node: () => node63,
11
+ layer: () => layer18,
12
+ make: () => make16,
13
+ node: () => node54,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make20()
19
+ defaultValue: () => make16()
20
20
  });
21
- function make20(input = {}) {
21
+ function make16(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
33
- var node63 = configured7();
31
+ var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
+ var node54 = configured7();
34
34
 
35
- export { Metadata2, make20, useragent2, layer22, configured7, node63, exports_app };
35
+ export { Metadata2, make16, useragent2, layer18, configured7, node54, exports_app };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service80
3
- } from "./credential-b191y2av.js";
3
+ } from "./instruction-discovery-9875sft1.js";
4
4
  import {
5
- Service31
6
- } from "./credential-s90d8d6b.js";
5
+ Service55
6
+ } from "./instruction-discovery-edbfpfck.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./credential-qdyb70sk.js";
9
+ } from "./instruction-discovery-619r8v3y.js";
10
10
  import {
11
11
  provenance2
12
- } from "./credential-msq0jde0.js";
12
+ } from "./instruction-discovery-1hc11dc4.js";
13
13
  import {
14
14
  preview2
15
- } from "./credential-txc11aqg.js";
15
+ } from "./instruction-discovery-6vmq095n.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./credential-04cfyv7b.js";
18
+ } from "./instruction-discovery-2vvechqa.js";
19
19
  import {
20
- Service15
21
- } from "./credential-tzar2m42.js";
20
+ Service29
21
+ } from "./instruction-discovery-2nnczm4n.js";
22
22
  import {
23
23
  __export
24
- } from "./credential-9rqn6x4v.js";
24
+ } from "./instruction-discovery-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate3
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service31;
35
+ const instances = yield* Service55;
36
36
  const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service15;
40
+ const context = yield* Service29;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate3, exports_generate };
74
+ export { generate3, exports_generate2 };