@opencode/core 0.0.0-dev-20238 → 0.0.0-dev-20240

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{workspace-eefz1cnf.js → filesystem-08mcr500.js} +23 -23
  8. package/dist/chunks/{workspace-73zbfbv7.js → filesystem-09fmdqc3.js} +10 -10
  9. package/dist/chunks/{workspace-41czef58.js → filesystem-0br3sbwn.js} +4 -4
  10. package/dist/chunks/{workspace-ceejba7k.js → filesystem-0hhvd48t.js} +10 -10
  11. package/dist/chunks/{workspace-fwwk8vbp.js → filesystem-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{workspace-ey9veasj.js → filesystem-0mh2q183.js} +20 -20
  13. package/dist/chunks/{workspace-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{workspace-9skvqb4b.js → filesystem-0pcvbqvq.js} +18 -18
  15. package/dist/chunks/{workspace-4dxafkqb.js → filesystem-0qhtvwpj.js} +3 -3
  16. package/dist/chunks/{workspace-95x7y5k8.js → filesystem-0qx4m1me.js} +11 -11
  17. package/dist/chunks/{workspace-awhgtamw.js → filesystem-0w7xa6ee.js} +25 -25
  18. package/dist/chunks/{workspace-hh5kkd24.js → filesystem-0yevmncv.js} +10 -10
  19. package/dist/chunks/{workspace-4qrmk4ra.js → filesystem-13n5q7dt.js} +42 -42
  20. package/dist/chunks/{workspace-6aebm42n.js → filesystem-1cn5a5mh.js} +13 -13
  21. package/dist/chunks/{workspace-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{workspace-fk76ksd4.js → filesystem-1gfephy1.js} +16 -16
  23. package/dist/chunks/{workspace-c8gr6drp.js → filesystem-1p1fqfpr.js} +11 -11
  24. package/dist/chunks/{workspace-maye8mhe.js → filesystem-1y3mx57g.js} +19 -19
  25. package/dist/chunks/{workspace-33w4ejhs.js → filesystem-1ygqh575.js} +6 -6
  26. package/dist/chunks/{workspace-2re12hwp.js → filesystem-1zh729eh.js} +3 -3
  27. package/dist/chunks/{workspace-21r38tys.js → filesystem-21r38tys.js} +1 -1
  28. package/dist/chunks/{workspace-rgnqfr3v.js → filesystem-228pzppe.js} +23 -23
  29. package/dist/chunks/{workspace-k8dasee7.js → filesystem-2336b01z.js} +8 -8
  30. package/dist/chunks/{workspace-16jcs5eh.js → filesystem-24yp57y1.js} +7 -7
  31. package/dist/chunks/{workspace-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{workspace-tsve2r88.js → filesystem-2arffnsn.js} +4 -4
  33. package/dist/chunks/{workspace-zbn85w19.js → filesystem-2at83sxs.js} +74 -74
  34. package/dist/chunks/{workspace-ce5fknq2.js → filesystem-2cmv458r.js} +5 -5
  35. package/dist/chunks/{workspace-sx7yxhmc.js → filesystem-2jnrxcaz.js} +22 -22
  36. package/dist/chunks/{workspace-dgzzq6er.js → filesystem-2np3k2bf.js} +22 -22
  37. package/dist/chunks/{workspace-cydxmqrz.js → filesystem-2qdytgm4.js} +10 -10
  38. package/dist/chunks/{workspace-cwa6csj7.js → filesystem-2sejkfem.js} +9 -9
  39. package/dist/chunks/{workspace-jf7tajsg.js → filesystem-2w4eq4pf.js} +11 -11
  40. package/dist/chunks/{workspace-1efy3mt3.js → filesystem-2x1f9zwj.js} +32 -32
  41. package/dist/chunks/{workspace-d5czjx5e.js → filesystem-32jxf96r.js} +19 -19
  42. package/dist/chunks/{workspace-akqk8sab.js → filesystem-39z47dss.js} +17 -17
  43. package/dist/chunks/{workspace-ab9238g2.js → filesystem-3a6re68j.js} +6 -6
  44. package/dist/chunks/{workspace-k3x2sf3r.js → filesystem-3cjwh6g5.js} +12 -12
  45. package/dist/chunks/{workspace-spmh1vek.js → filesystem-3dgq6m1n.js} +45 -45
  46. package/dist/chunks/{workspace-rb06gkc1.js → filesystem-3f9dn8j5.js} +3 -3
  47. package/dist/chunks/{workspace-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{workspace-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{workspace-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{workspace-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{workspace-g390ytxs.js → filesystem-44mxtx8s.js} +8 -8
  53. package/dist/chunks/{workspace-b7k25wxh.js → filesystem-47syppsm.js} +32 -32
  54. package/dist/chunks/{workspace-p89640sn.js → filesystem-4dfa1csd.js} +27 -27
  55. package/dist/chunks/{workspace-nzyhnfxz.js → filesystem-4dgbcxzg.js} +4 -4
  56. package/dist/chunks/{workspace-5s43rmdb.js → filesystem-4ev5vm6j.js} +6 -6
  57. package/dist/chunks/{workspace-2ejs92bv.js → filesystem-4hdsm0pm.js} +17 -17
  58. package/dist/chunks/{workspace-6x0h2hvg.js → filesystem-57ez7d0k.js} +9 -9
  59. package/dist/chunks/{workspace-9b86kaje.js → filesystem-5c120nwe.js} +5 -5
  60. package/dist/chunks/{workspace-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  61. package/dist/chunks/{workspace-4bt902dy.js → filesystem-5e7rf9zs.js} +37 -37
  62. package/dist/chunks/{workspace-hkagk5ex.js → filesystem-5frpvc34.js} +2 -2
  63. package/dist/chunks/{workspace-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{workspace-pedttwxr.js → filesystem-5y480sgp.js} +8 -8
  65. package/dist/chunks/{workspace-mrbnkvws.js → filesystem-61126d0d.js} +24 -24
  66. package/dist/chunks/{workspace-669tq793.js → filesystem-669tq793.js} +1 -1
  67. package/dist/chunks/{workspace-0n965b9a.js → filesystem-6b713qfj.js} +5 -5
  68. package/dist/chunks/{workspace-6qr29wt1.js → filesystem-6j06p5mc.js} +35 -35
  69. package/dist/chunks/{workspace-r3gmntzt.js → filesystem-6ma10yar.js} +9 -9
  70. package/dist/chunks/{workspace-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{workspace-gcch2vjz.js → filesystem-6nczgvap.js} +29 -29
  72. package/dist/chunks/{workspace-hkwj0bg6.js → filesystem-6pmqbm9x.js} +22 -22
  73. package/dist/chunks/{workspace-qd546yrf.js → filesystem-6shp5cvc.js} +26 -26
  74. package/dist/chunks/{workspace-k5e7yqx1.js → filesystem-6vvbwd4g.js} +60 -60
  75. package/dist/chunks/{workspace-hbexs1ta.js → filesystem-72b58gz1.js} +13 -13
  76. package/dist/chunks/{workspace-eq1pz5kg.js → filesystem-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{workspace-46gv8nvg.js → filesystem-7601emta.js} +17 -17
  78. package/dist/chunks/{workspace-3eavv4sq.js → filesystem-76eeqvp0.js} +6 -6
  79. package/dist/chunks/{workspace-ppc50qyr.js → filesystem-7b1f8sqc.js} +32 -32
  80. package/dist/chunks/{workspace-rgdhtqj5.js → filesystem-7bgd9sa5.js} +37 -37
  81. package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{workspace-kr1avhb0.js → filesystem-7btysaay.js} +5 -5
  83. package/dist/chunks/{workspace-rkprpv83.js → filesystem-7fkffz83.js} +4 -4
  84. package/dist/chunks/{workspace-nf6159fp.js → filesystem-7h5ye0bq.js} +22 -22
  85. package/dist/chunks/{workspace-mhgx8wws.js → filesystem-7zpeh0yx.js} +4 -4
  86. package/dist/chunks/{workspace-e6zxwbax.js → filesystem-80023xb3.js} +25 -25
  87. package/dist/chunks/{workspace-w1eejvng.js → filesystem-84txncab.js} +5 -5
  88. package/dist/chunks/{workspace-jabm8zzh.js → filesystem-85j366jc.js} +36 -36
  89. package/dist/chunks/{workspace-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
  90. package/dist/chunks/{workspace-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{workspace-j6wgtyv7.js → filesystem-8e5zyrwm.js} +35 -35
  92. package/dist/chunks/{workspace-9bzf6wdj.js → filesystem-8hh75t8h.js} +11 -11
  93. package/dist/chunks/{workspace-be7qvw84.js → filesystem-8n69n882.js} +8 -8
  94. package/dist/chunks/{workspace-ndmv45hp.js → filesystem-8q7cq0y1.js} +3 -3
  95. package/dist/chunks/{workspace-npnt4k9w.js → filesystem-8r56x03s.js} +35 -35
  96. package/dist/chunks/{workspace-y2nra5ch.js → filesystem-8zqs9j7p.js} +6 -6
  97. package/dist/chunks/{workspace-gfvb90ym.js → filesystem-94ek1h2f.js} +2 -2
  98. package/dist/chunks/{workspace-jmp6pjcj.js → filesystem-95svx96e.js} +5 -5
  99. package/dist/chunks/{workspace-8hry8h31.js → filesystem-9g8aqzdg.js} +28 -28
  100. package/dist/chunks/{workspace-k0y9f3c4.js → filesystem-9jgr38p9.js} +30 -30
  101. package/dist/chunks/{workspace-5d3kt81x.js → filesystem-9p42wv5p.js} +29 -29
  102. package/dist/chunks/{workspace-dt2m10bg.js → filesystem-9sdebhyw.js} +35 -35
  103. package/dist/chunks/{workspace-48b9emvv.js → filesystem-9y094rtb.js} +11 -11
  104. package/dist/chunks/{workspace-xab4b6ma.js → filesystem-9zrft0gr.js} +18 -18
  105. package/dist/chunks/{workspace-0csdmtm4.js → filesystem-a48f9ws0.js} +8 -8
  106. package/dist/chunks/{workspace-79d41h82.js → filesystem-a4ym3kq6.js} +25 -25
  107. package/dist/chunks/{workspace-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  108. package/dist/chunks/{workspace-ypzhfwa9.js → filesystem-afed7ext.js} +12 -12
  109. package/dist/chunks/{workspace-naqwnkkp.js → filesystem-akdn9jnb.js} +22 -22
  110. package/dist/chunks/{workspace-n7khmxjc.js → filesystem-av5s1sdw.js} +10 -10
  111. package/dist/chunks/{workspace-73gyw9md.js → filesystem-awczx5q5.js} +87 -87
  112. package/dist/chunks/{workspace-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{workspace-83z9h53v.js → filesystem-bg71ph9x.js} +24 -24
  114. package/dist/chunks/{workspace-zgrbnmf2.js → filesystem-bk2qgnaw.js} +11 -11
  115. package/dist/chunks/{workspace-b9hkethe.js → filesystem-bnkgx7re.js} +3 -3
  116. package/dist/chunks/{workspace-m1jktbz8.js → filesystem-bw0ym531.js} +6 -6
  117. package/dist/chunks/{workspace-a4tqrw51.js → filesystem-c2zxq3ay.js} +15 -15
  118. package/dist/chunks/{workspace-p6wxjpka.js → filesystem-c35597j6.js} +4 -4
  119. package/dist/chunks/{workspace-ktef7j4m.js → filesystem-cbwhh3ee.js} +9 -9
  120. package/dist/chunks/{workspace-9a29ceb3.js → filesystem-cd22b0cq.js} +32 -32
  121. package/dist/chunks/{workspace-y6mjvh6p.js → filesystem-cf01cagz.js} +6 -6
  122. package/dist/chunks/{workspace-dwpz52md.js → filesystem-cht1zc30.js} +24 -24
  123. package/dist/chunks/{workspace-zjyqk7jh.js → filesystem-cj5wqxwp.js} +24 -24
  124. package/dist/chunks/{workspace-54tcyq79.js → filesystem-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{workspace-cyc2wncq.js → filesystem-cm0vdedy.js} +32 -32
  126. package/dist/chunks/{workspace-r29hx2n2.js → filesystem-cwy3e0f0.js} +17 -17
  127. package/dist/chunks/{workspace-rcqvxznz.js → filesystem-d43zz4nj.js} +14 -14
  128. package/dist/chunks/{workspace-rhdmxfkx.js → filesystem-d4a7av5z.js} +13 -13
  129. package/dist/chunks/{workspace-hk03ff6z.js → filesystem-dah9s5zy.js} +11 -11
  130. package/dist/chunks/{workspace-0v53mg2y.js → filesystem-dfe8djrf.js} +4 -4
  131. package/dist/chunks/{workspace-gp14635f.js → filesystem-dh864dnf.js} +13 -13
  132. package/dist/chunks/{workspace-bffz3vk9.js → filesystem-dqfphc03.js} +9 -9
  133. package/dist/chunks/{workspace-t0pyh7pd.js → filesystem-dqhaz4gz.js} +3 -3
  134. package/dist/chunks/{workspace-n92e0945.js → filesystem-drvrjmpp.js} +15 -15
  135. package/dist/chunks/{workspace-qn4ba14w.js → filesystem-e6hmchc5.js} +5 -5
  136. package/dist/chunks/{workspace-ecfe7b91.js → filesystem-ecfe7b91.js} +2 -2
  137. package/dist/chunks/{workspace-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{workspace-x9ctzyqd.js → filesystem-enhz8yge.js} +5 -5
  139. package/dist/chunks/{workspace-1xm4vf8s.js → filesystem-erxx58th.js} +11 -11
  140. package/dist/chunks/{workspace-qgn6gcr1.js → filesystem-esafk7q3.js} +5 -5
  141. package/dist/chunks/{workspace-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{workspace-5jgcqyeb.js → filesystem-f0368xkp.js} +41 -41
  143. package/dist/chunks/{workspace-p8wv2ncz.js → filesystem-f2515zf3.js} +20 -20
  144. package/dist/chunks/{workspace-g88fbw77.js → filesystem-f2fkfqad.js} +5 -5
  145. package/dist/chunks/{workspace-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
  146. package/dist/chunks/{workspace-d3m7nd9b.js → filesystem-f2sgpmsp.js} +13 -13
  147. package/dist/chunks/{workspace-2eryhk75.js → filesystem-f9231ptw.js} +28 -28
  148. package/dist/chunks/{workspace-h1jz91a9.js → filesystem-fbzhwgzx.js} +12 -12
  149. package/dist/chunks/{workspace-h8qnj1c8.js → filesystem-ff7x310r.js} +31 -31
  150. package/dist/chunks/{workspace-wxyy423z.js → filesystem-fhd6f79b.js} +18 -18
  151. package/dist/chunks/{workspace-150yg2gd.js → filesystem-fhz5gfgy.js} +5 -5
  152. package/dist/chunks/{workspace-hekxc47r.js → filesystem-fp2xarvc.js} +1 -1
  153. package/dist/chunks/{workspace-9b31mr9v.js → filesystem-fp8ek5zt.js} +43 -43
  154. package/dist/chunks/{workspace-czdw7bxj.js → filesystem-fqftz3yh.js} +23 -23
  155. package/dist/chunks/{workspace-s5h1yxee.js → filesystem-fzts1kpm.js} +4 -4
  156. package/dist/chunks/{workspace-fyac72vw.js → filesystem-g344s1sv.js} +13 -13
  157. package/dist/chunks/{workspace-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{workspace-c203jhqw.js → filesystem-gfhtznv3.js} +9 -9
  159. package/dist/chunks/{workspace-ykpgxs72.js → filesystem-grdteyps.js} +42 -42
  160. package/dist/chunks/{workspace-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/filesystem-h32wa76p.js +507 -0
  162. package/dist/chunks/{workspace-pyctfm1s.js → filesystem-h46f4tx0.js} +18 -18
  163. package/dist/chunks/{workspace-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{workspace-1xw4hqxx.js → filesystem-h7y0hqxr.js} +15 -15
  165. package/dist/chunks/{workspace-3dv7a6vg.js → filesystem-hbmgyr7d.js} +4 -4
  166. package/dist/chunks/{workspace-qw5c8m98.js → filesystem-hd23g7nz.js} +8 -8
  167. package/dist/chunks/{workspace-fm2mk21r.js → filesystem-hedm60x3.js} +15 -15
  168. package/dist/chunks/{workspace-zy2n98kk.js → filesystem-hjj02mgg.js} +51 -51
  169. package/dist/chunks/{workspace-wx59m8c7.js → filesystem-hn8wsm4z.js} +8 -8
  170. package/dist/chunks/{workspace-9vat1wnt.js → filesystem-hrpet7xn.js} +11 -11
  171. package/dist/chunks/{workspace-984e37tw.js → filesystem-hy0qjepx.js} +14 -14
  172. package/dist/chunks/{workspace-htrze483.js → filesystem-j2w0gmpe.js} +10 -10
  173. package/dist/chunks/{workspace-2y34zzjz.js → filesystem-j5208yae.js} +4 -4
  174. package/dist/chunks/{workspace-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  175. package/dist/chunks/{workspace-6ehbgqat.js → filesystem-j5w2yx54.js} +6 -6
  176. package/dist/chunks/{workspace-r3rh6mw3.js → filesystem-jdc9aac8.js} +25 -25
  177. package/dist/chunks/{workspace-synqbpwm.js → filesystem-jkcp7byf.js} +23 -23
  178. package/dist/chunks/{workspace-nx02as4e.js → filesystem-jt1vb5pc.js} +11 -11
  179. package/dist/chunks/{workspace-fgn7sf7e.js → filesystem-jtxbrew9.js} +5 -5
  180. package/dist/chunks/{workspace-fztsg0yk.js → filesystem-k030p904.js} +1 -1
  181. package/dist/chunks/{workspace-dgzqva13.js → filesystem-k1mgmdq6.js} +36 -36
  182. package/dist/chunks/{workspace-n3j4cxq5.js → filesystem-kkkrdp4w.js} +16 -16
  183. package/dist/chunks/{workspace-25c0jgp8.js → filesystem-kwbyxxx0.js} +8 -8
  184. package/dist/chunks/{workspace-e90gknse.js → filesystem-m15jmbbr.js} +51 -51
  185. package/dist/chunks/{workspace-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{workspace-nt39rg59.js → filesystem-m5q6th7b.js} +18 -18
  187. package/dist/chunks/{workspace-cxmh4q5b.js → filesystem-m70sbz6t.js} +4 -4
  188. package/dist/chunks/{workspace-3tqbg8ds.js → filesystem-m7fy2dv4.js} +12 -12
  189. package/dist/chunks/{workspace-sp54tfke.js → filesystem-m7kdp6gf.js} +11 -11
  190. package/dist/chunks/{workspace-aj2s28vj.js → filesystem-m8xa9e63.js} +1 -1
  191. package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{workspace-jw80jp6b.js → filesystem-magykp64.js} +4 -4
  193. package/dist/chunks/{workspace-heh9s3tj.js → filesystem-mh9gscew.js} +11 -11
  194. package/dist/chunks/{workspace-ysd7sdvb.js → filesystem-mkdy6qkj.js} +6 -6
  195. package/dist/chunks/{workspace-xqagnatd.js → filesystem-mv22x3wf.js} +13 -13
  196. package/dist/chunks/{workspace-2kh7b0pr.js → filesystem-mwj78qbb.js} +22 -22
  197. package/dist/chunks/{workspace-ygpxda6d.js → filesystem-mxn40ybh.js} +19 -19
  198. package/dist/chunks/{workspace-g9wvc4df.js → filesystem-n09t85ck.js} +10 -10
  199. package/dist/chunks/{workspace-q7azfttr.js → filesystem-n1ka8r9d.js} +4 -4
  200. package/dist/chunks/{workspace-k7cxv1jz.js → filesystem-n1mk886p.js} +22 -22
  201. package/dist/chunks/{workspace-2tngcs8y.js → filesystem-n1rz67ba.js} +48 -48
  202. package/dist/chunks/{workspace-16srrwpp.js → filesystem-n33rgabk.js} +58 -58
  203. package/dist/chunks/{workspace-dtmpjap9.js → filesystem-n83saq1s.js} +10 -10
  204. package/dist/chunks/{workspace-hyjxey4b.js → filesystem-n8gssbbw.js} +4 -4
  205. package/dist/chunks/{workspace-90ns493a.js → filesystem-n8zx0qm6.js} +34 -34
  206. package/dist/chunks/{workspace-bxdyab95.js → filesystem-nd0783xw.js} +15 -15
  207. package/dist/chunks/{workspace-pnv527nz.js → filesystem-nq7qbqzc.js} +9 -9
  208. package/dist/chunks/{workspace-p8q21zge.js → filesystem-nta5r5g3.js} +25 -25
  209. package/dist/chunks/{workspace-k3c624dm.js → filesystem-nzks3jc8.js} +3 -3
  210. package/dist/chunks/{workspace-e1hy5pz5.js → filesystem-p3192dp6.js} +2 -2
  211. package/dist/chunks/{workspace-5xtgfte3.js → filesystem-p37cw4rj.js} +4 -4
  212. package/dist/chunks/{workspace-7k4ya4mk.js → filesystem-p5hnzy35.js} +25 -25
  213. package/dist/chunks/{workspace-7bav93g1.js → filesystem-p751nfh9.js} +17 -17
  214. package/dist/chunks/{workspace-h2r7bbkd.js → filesystem-pb1eahw5.js} +8 -8
  215. package/dist/chunks/{workspace-pecb0brz.js → filesystem-pecb0brz.js} +2 -2
  216. package/dist/chunks/filesystem-phz3h32g.js +18 -0
  217. package/dist/chunks/{workspace-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{workspace-6nh4s561.js → filesystem-pjw9389s.js} +18 -18
  219. package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
  220. package/dist/chunks/{workspace-aa5zmkvc.js → filesystem-pq2pd6hh.js} +25 -25
  221. package/dist/chunks/{workspace-w84g4023.js → filesystem-qcg4vfgs.js} +6 -6
  222. package/dist/chunks/{workspace-t6v48v8f.js → filesystem-qh690qjv.js} +92 -92
  223. package/dist/chunks/{workspace-qae9ahxg.js → filesystem-qkfs2zns.js} +9 -9
  224. package/dist/chunks/{workspace-drwq78ky.js → filesystem-qqeeq2t9.js} +7 -7
  225. package/dist/chunks/{workspace-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  226. package/dist/chunks/{workspace-8zm3c697.js → filesystem-qzz1k0t8.js} +7 -7
  227. package/dist/chunks/{workspace-4waey5yj.js → filesystem-r45jhqb9.js} +5 -5
  228. package/dist/chunks/{workspace-f4fb4ahx.js → filesystem-r56fmryn.js} +12 -12
  229. package/dist/chunks/{workspace-11pm3r9v.js → filesystem-rd8q201w.js} +12 -12
  230. package/dist/chunks/{workspace-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{workspace-qzc07359.js → filesystem-rw86hr2t.js} +22 -22
  232. package/dist/chunks/{workspace-e1vtdn37.js → filesystem-s3srg93r.js} +41 -41
  233. package/dist/chunks/filesystem-scfp8aft.js +252 -0
  234. package/dist/chunks/{workspace-e8wk7e8v.js → filesystem-sh2daxqk.js} +9 -9
  235. package/dist/chunks/{workspace-a8fp7ezv.js → filesystem-smp49fay.js} +25 -25
  236. package/dist/chunks/{workspace-5rjs1zbx.js → filesystem-svp7d0fp.js} +22 -22
  237. package/dist/chunks/{workspace-eaj1djv9.js → filesystem-t550f9t1.js} +8 -8
  238. package/dist/chunks/{workspace-n6p6yg9c.js → filesystem-t918d8cq.js} +8 -8
  239. package/dist/chunks/{workspace-1mdxwgjq.js → filesystem-t9636gx1.js} +16 -16
  240. package/dist/chunks/{workspace-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{workspace-tdstcens.js → filesystem-tdstcens.js} +1 -1
  242. package/dist/chunks/{workspace-mtq6xxnx.js → filesystem-tkmwgdpd.js} +4 -4
  243. package/dist/chunks/{workspace-waefp8y5.js → filesystem-tks0bnq5.js} +11 -11
  244. package/dist/chunks/{workspace-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  245. package/dist/chunks/{workspace-dj9sq318.js → filesystem-tz2bjj40.js} +5 -5
  246. package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  247. package/dist/chunks/{workspace-m43etvqh.js → filesystem-vgm83cgp.js} +21 -21
  248. package/dist/chunks/{workspace-m8dj6xzb.js → filesystem-vmepscws.js} +20 -20
  249. package/dist/chunks/{workspace-y10fxw0n.js → filesystem-vn0yq8gz.js} +180 -180
  250. package/dist/chunks/{workspace-2spzn6st.js → filesystem-vzawmjdf.js} +33 -33
  251. package/dist/chunks/{workspace-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{workspace-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{workspace-zxgcz1z1.js → filesystem-w2qmsxre.js} +15 -15
  254. package/dist/chunks/{workspace-rt447pd7.js → filesystem-w3bkza1g.js} +5 -5
  255. package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-yb4mq2bj.js → filesystem-wav3c6xe.js} +49 -49
  257. package/dist/chunks/{workspace-psazpmmj.js → filesystem-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
  259. package/dist/chunks/{workspace-m8erdd9w.js → filesystem-wfz5d65w.js} +31 -31
  260. package/dist/chunks/{workspace-pg7gpga9.js → filesystem-wjeg1wsf.js} +8 -8
  261. package/dist/chunks/filesystem-wmqnggde.js +26 -0
  262. package/dist/chunks/{workspace-sw70eac5.js → filesystem-wy048fd6.js} +24 -24
  263. package/dist/chunks/{workspace-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{workspace-k1qrnqst.js → filesystem-x2qdxhwm.js} +8 -8
  265. package/dist/chunks/{workspace-xttd1tj2.js → filesystem-xdh9m6e8.js} +18 -18
  266. package/dist/chunks/{workspace-eyfs9fn9.js → filesystem-xjaef4xf.js} +5 -5
  267. package/dist/chunks/{workspace-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{workspace-a28msnrx.js → filesystem-xm3bqwwb.js} +4 -4
  269. package/dist/chunks/{workspace-g5agzp2h.js → filesystem-xvp1j2dc.js} +5 -5
  270. package/dist/chunks/{workspace-a89e0tac.js → filesystem-xxxym934.js} +4 -4
  271. package/dist/chunks/{workspace-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{workspace-hfwvq92w.js → filesystem-y1vpz5e6.js} +38 -38
  273. package/dist/chunks/{workspace-ybsgjnb0.js → filesystem-y34854y5.js} +39 -39
  274. package/dist/chunks/{workspace-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
  275. package/dist/chunks/{workspace-862ar548.js → filesystem-ydgy0jv4.js} +8 -8
  276. package/dist/chunks/{workspace-38phfjcn.js → filesystem-ypx73geg.js} +9 -9
  277. package/dist/chunks/{workspace-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{workspace-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
  279. package/dist/chunks/{workspace-g9r2hcbj.js → filesystem-yvr0je1c.js} +37 -37
  280. package/dist/chunks/{workspace-bjtzbw4r.js → filesystem-z07pqspn.js} +3 -3
  281. package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{workspace-h8d9xkaq.js → filesystem-z29005y7.js} +15 -15
  283. package/dist/chunks/{workspace-p0wnzdte.js → filesystem-z4gv22m1.js} +29 -29
  284. package/dist/chunks/{workspace-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
  285. package/dist/chunks/{workspace-gjdct0ng.js → filesystem-zcsbmsrf.js} +32 -32
  286. package/dist/chunks/{workspace-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{workspace-5wna7wmm.js → filesystem-zeytjcpa.js} +18 -18
  288. package/dist/chunks/{workspace-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{workspace-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{workspace-tf88t1eh.js → filesystem-zy8e99jb.js} +43 -43
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +81 -81
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +122 -122
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +124 -124
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +86 -86
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +85 -85
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +77 -77
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +106 -106
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +96 -96
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +99 -99
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +224 -224
  582. package/dist/session/execution.js +124 -124
  583. package/dist/session/generate.js +153 -153
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +86 -86
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +115 -115
  593. package/dist/session/model-transport.js +5 -5
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +170 -170
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +223 -223
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +218 -218
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +108 -108
  631. package/dist/snapshot.js +89 -89
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +123 -123
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +215 -215
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +110 -110
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +100 -100
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +2 -2
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +87 -87
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +79 -79
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +98 -98
  695. package/package.json +8 -8
  696. package/dist/chunks/workspace-3ecdent5.js +0 -26
  697. package/dist/chunks/workspace-95agse3a.js +0 -252
  698. package/dist/chunks/workspace-v1faaxn9.js +0 -18
  699. package/dist/chunks/workspace-yqzfvmg9.js +0 -507
  700. /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{workspace-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{workspace-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{workspace-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{workspace-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
  712. /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{workspace-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{workspace-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
  720. /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{workspace-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
  723. /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
  726. /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{workspace-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{workspace-922hggd3.js → filesystem-922hggd3.js} +0 -0
  730. /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
  746. /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{workspace-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
  759. /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
  761. /package/dist/chunks/{workspace-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
  763. /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{workspace-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{workspace-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{workspace-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{workspace-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
  791. /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{workspace-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{workspace-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./workspace-5t3nmthw.js";
3
+ } from "./filesystem-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
11
  Service: () => Service28,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
15
  node: () => node31
16
16
  });
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
370
  return Service28.of({ bind, close, closeAll });
371
371
  }));
372
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node31 = makeGlobalNode({ service: Service28, layer: layer13, deps: [webSocketConstructor2] });
375
+ var node31 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service28, makeLayer2, layer13, node31, exports_model_transport };
377
+ export { Service28, makeLayer2, layer12, node31, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./workspace-6msgmcgs.js";
3
+ } from "./filesystem-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./workspace-psazpmmj.js";
6
+ } from "./filesystem-wd3x2cqz.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID8
3
- } from "./workspace-j6wgtyv7.js";
2
+ ID12
3
+ } from "./filesystem-8e5zyrwm.js";
4
4
  import {
5
5
  iife2
6
- } from "./workspace-1kg9ymc8.js";
6
+ } from "./filesystem-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./workspace-m1jktbz8.js";
9
+ } from "./filesystem-bw0ym531.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID8.make("cloudflare-workers-ai");
15
+ var providerID = ID12.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-fk76ksd4.js";
2
+ Service83,
3
+ node87
4
+ } from "./filesystem-1gfephy1.js";
5
5
  import {
6
- Service64,
7
- node66
8
- } from "./workspace-rhdmxfkx.js";
6
+ Service71,
7
+ node73
8
+ } from "./filesystem-d4a7av5z.js";
9
9
  import {
10
10
  create3
11
- } from "./workspace-rdw6cm16.js";
11
+ } from "./filesystem-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./workspace-9rqn6x4v.js";
14
+ } from "./filesystem-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: () => Event8,
21
- ID: () => ID5,
22
- Input: () => Input14,
20
+ Event: () => Event3,
21
+ ID: () => ID3,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service50,
31
+ Service: () => Service13,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node52
33
+ node: () => node16
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 Event8 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event3 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service50 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service13 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service50, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service64;
68
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service71;
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(Service50, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service50.of({
127
+ return Service13.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 node52 = makeLocationNode({
188
- service: Service50,
187
+ var node16 = makeLocationNode({
188
+ service: Service13,
189
189
  layer,
190
- deps: [node86, node66]
190
+ deps: [node87, node73]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service50, node52, exports_websearch3, Event8 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service13, node16, exports_websearch3, Event3 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./workspace-fk76ksd4.js";
3
+ Service83,
4
+ node87
5
+ } from "./filesystem-1gfephy1.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make19,
11
11
  diffByKey2
12
- } from "./workspace-eaj1djv9.js";
12
+ } from "./filesystem-t550f9t1.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./workspace-922hggd3.js";
15
+ } from "./filesystem-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./workspace-rdw6cm16.js";
18
+ } from "./filesystem-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./workspace-9rqn6x4v.js";
21
+ } from "./filesystem-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event21,
26
+ Event: () => Event7,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service78,
31
- configured: () => configured11,
32
- layer: () => layer25,
33
- node: () => node82
29
+ Options: () => Options6,
30
+ Service: () => Service46,
31
+ configured: () => configured5,
32
+ layer: () => layer18,
33
+ node: () => node48
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event21 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event7 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service46 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
56
+ const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event21.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make19({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service78.of({
93
+ return Service46.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured11(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service78,
110
- layer: layer25(options),
111
- deps: [node86]
109
+ service: Service46,
110
+ layer: layer18(options),
111
+ deps: [node87]
112
112
  });
113
113
  }
114
- var node82 = configured11();
114
+ var node48 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event21, Options10, Service78, layer25, configured11, node82, exports_instruction_discovery };
145
+ export { File2, Event7, Options6, Service46, layer18, configured5, node48, exports_instruction_discovery };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-fk76ksd4.js";
2
+ Service83,
3
+ node87
4
+ } from "./filesystem-1gfephy1.js";
5
5
  import {
6
6
  __export
7
- } from "./workspace-9rqn6x4v.js";
7
+ } from "./filesystem-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID11,
20
- Info: () => Info26,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
24
- Reply: () => Reply2,
25
- Service: () => Service69,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer23,
29
- node: () => node71,
28
+ layer: () => layer25,
29
+ node: () => node79,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID11 = Form.ID;
39
- var Info26 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID11
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID11
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID11
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID11,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service69 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer23 = Layer.effect(Service69, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
85
+ const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID11.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service69.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service76.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node71 = makeLocationNode({ service: Service69, layer: layer23, deps: [node86] });
164
+ var node79 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID11, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer23, node71, validateAnswer2, validateFields2, exports_form, Event17 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node79, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./filesystem-tks0bnq5.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./workspace-waefp8y5.js";
5
- import {
6
- Service82,
7
- node86
8
- } from "./workspace-fk76ksd4.js";
8
+ } from "./filesystem-1gfephy1.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./workspace-pknna89w.js";
11
+ } from "./filesystem-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./workspace-3zsf4n22.js";
14
+ } from "./filesystem-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./workspace-9rqn6x4v.js";
17
+ } from "./filesystem-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID10,
25
- Info: () => Info25,
26
- Key: () => Key3,
23
+ Event: () => Event19,
24
+ ID: () => ID14,
25
+ Info: () => Info29,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service65,
28
+ Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node67
30
+ node: () => node78
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID14 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info29 extends Schema.Class("Credential.Info")({
44
+ id: ID14,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service65 extends Context.Service()("@opencode/Credential") {
51
+ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service65, Effect.gen(function* () {
54
- const db = (yield* Service83).db;
55
- const bus = yield* Service82;
53
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
+ const db = (yield* Service84).db;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info29({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service65.of({
71
+ return Service75.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: ID10.create(),
79
+ const credential = new Info29({
80
+ id: ID14.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node67 = makeGlobalNode({ service: Service65, layer, deps: [node87, node86] });
196
+ var node78 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service65, node67, exports_credential };
198
+ export { ID14, OAuth3, Key4, Value2, Event19, Info29, Service75, node78, exports_credential };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service69
3
- } from "./workspace-5d3kt81x.js";
2
+ Service76
3
+ } from "./filesystem-9p42wv5p.js";
4
4
  import {
5
- Service71
6
- } from "./workspace-16srrwpp.js";
5
+ Service58
6
+ } from "./filesystem-n33rgabk.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service69;
57
- const permission = yield* Service71;
56
+ const forms = yield* Service76;
57
+ const permission = yield* Service58;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
118
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };