@opencode/core 0.0.0-dev-19837 → 0.0.0-dev-19842

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-services-ej836de0.js → workspace-04y2rkk2.js} +11 -11
  8. package/dist/chunks/{location-services-nxhqveyz.js → workspace-0f9afca0.js} +5 -5
  9. package/dist/chunks/{location-services-jg79b14v.js → workspace-0gptwf17.js} +35 -35
  10. package/dist/chunks/{location-services-2k8khapm.js → workspace-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{location-services-yyyarv90.js → workspace-0kkgx1hv.js} +5 -5
  12. package/dist/chunks/{location-services-qse6wh50.js → workspace-0me4z1n8.js} +16 -16
  13. package/dist/chunks/{location-services-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-services-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-services-mesf747v.js → workspace-0qn3s7y6.js} +9 -9
  16. package/dist/chunks/{location-services-ff5b3vsa.js → workspace-0t9d6x9s.js} +27 -27
  17. package/dist/chunks/{location-services-hedftr25.js → workspace-0tgtrx77.js} +15 -15
  18. package/dist/chunks/{location-services-f24azagy.js → workspace-11kb2ryy.js} +28 -28
  19. package/dist/chunks/{location-services-d7kmcpqg.js → workspace-17zqg50h.js} +24 -24
  20. package/dist/chunks/{location-services-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{location-services-dbt573sm.js → workspace-1b4r2z2j.js} +60 -60
  22. package/dist/chunks/{location-services-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{location-services-kwjzcy53.js → workspace-1s7b1csw.js} +10 -10
  24. package/dist/chunks/{location-services-fdjh4knm.js → workspace-1v57fm2m.js} +7 -7
  25. package/dist/chunks/{location-services-zhxmhdrs.js → workspace-1xam1b6j.js} +47 -47
  26. package/dist/chunks/{location-services-8tsdq50x.js → workspace-1y283654.js} +4 -4
  27. package/dist/chunks/{location-services-21r38tys.js → workspace-21r38tys.js} +1 -1
  28. package/dist/chunks/{location-services-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
  29. package/dist/chunks/{location-services-cdfy9c07.js → workspace-2438drjd.js} +9 -9
  30. package/dist/chunks/{location-services-b0tpq7vq.js → workspace-24xg1x4z.js} +22 -22
  31. package/dist/chunks/{location-services-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-services-ehcepgt9.js → workspace-2mkhnbvz.js} +25 -25
  33. package/dist/chunks/{location-services-fs8r9hsj.js → workspace-2sezm37j.js} +9 -9
  34. package/dist/chunks/{location-services-f1f2nfdc.js → workspace-2xmpv3m6.js} +10 -10
  35. package/dist/chunks/{location-services-1aj08kdp.js → workspace-2znr0nan.js} +32 -32
  36. package/dist/chunks/{location-services-s9gb701d.js → workspace-31gccvh4.js} +15 -15
  37. package/dist/chunks/{location-services-s347dr27.js → workspace-342mg198.js} +10 -10
  38. package/dist/chunks/{location-services-734zdf7n.js → workspace-347p2yks.js} +9 -9
  39. package/dist/chunks/{location-services-vyrk0yhv.js → workspace-357e4jec.js} +17 -17
  40. package/dist/chunks/{location-services-wefbk061.js → workspace-374v8g3a.js} +20 -20
  41. package/dist/chunks/{location-services-fxmgg4aj.js → workspace-3838ekre.js} +4 -4
  42. package/dist/chunks/{location-services-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{location-services-fkd4xh6h.js → workspace-3fe6bt6f.js} +18 -18
  44. package/dist/chunks/{location-services-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{location-services-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{location-services-knb7evpn.js → workspace-3tq5qxbk.js} +8 -8
  47. package/dist/chunks/{location-services-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{location-services-cra404zb.js → workspace-405nw1q2.js} +9 -9
  49. package/dist/chunks/{location-services-nh6bka7y.js → workspace-46kfxrdk.js} +35 -35
  50. package/dist/chunks/{location-services-3gepfxd6.js → workspace-48nt27tg.js} +19 -19
  51. package/dist/chunks/{location-services-cpj0znwe.js → workspace-4dgbcxzg.js} +4 -4
  52. package/dist/chunks/{location-services-rrcqb7mq.js → workspace-4ejejf2p.js} +11 -11
  53. package/dist/chunks/{location-services-sh6h5w8s.js → workspace-4m58q416.js} +54 -54
  54. package/dist/chunks/{location-services-8bhwq06h.js → workspace-4mtpks84.js} +27 -27
  55. package/dist/chunks/{location-services-q6s1e2xm.js → workspace-4n7sevkh.js} +28 -28
  56. package/dist/chunks/{location-services-cyjefzz2.js → workspace-4n9bywtw.js} +6 -6
  57. package/dist/chunks/{location-services-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{location-services-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
  59. package/dist/chunks/{location-services-2fgn2we9.js → workspace-57ez7d0k.js} +9 -9
  60. package/dist/chunks/{location-services-mwwetm44.js → workspace-5ah12t62.js} +3 -3
  61. package/dist/chunks/{location-services-5c4hm403.js → workspace-5c4hm403.js} +3 -3
  62. package/dist/chunks/{location-services-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  63. package/dist/chunks/{location-services-1kqe5az9.js → workspace-5jv9rtqx.js} +26 -26
  64. package/dist/chunks/{location-services-7teh0s87.js → workspace-5smvddr8.js} +25 -25
  65. package/dist/chunks/{location-services-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{location-services-tpw6cwsb.js → workspace-5xtgfte3.js} +8 -8
  67. package/dist/chunks/{location-services-669tq793.js → workspace-669tq793.js} +1 -1
  68. package/dist/chunks/{location-services-4y6xseyy.js → workspace-6as31qen.js} +19 -19
  69. package/dist/chunks/{location-services-ftyje675.js → workspace-6dev9rqa.js} +3 -3
  70. package/dist/chunks/workspace-6dqdswvk.js +252 -0
  71. package/dist/chunks/{location-services-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{location-services-0kyknra4.js → workspace-6p1etxq2.js} +11 -11
  73. package/dist/chunks/{location-services-mhz5k9vh.js → workspace-6pmq8b1f.js} +43 -43
  74. package/dist/chunks/workspace-6r3amyyd.js +4 -0
  75. package/dist/chunks/{location-services-7jybmm05.js → workspace-6sc0ns97.js} +22 -22
  76. package/dist/chunks/{location-services-nr34mnhb.js → workspace-6vdste0b.js} +19 -19
  77. package/dist/chunks/{location-services-de5knrsa.js → workspace-79psx6ha.js} +17 -17
  78. package/dist/chunks/{location-services-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{location-services-4z50fqkg.js → workspace-7fpdhx8y.js} +92 -92
  80. package/dist/chunks/{location-services-fdp4he43.js → workspace-7fzvq14v.js} +36 -36
  81. package/dist/chunks/{location-services-ke1a5261.js → workspace-7nd7t3y6.js} +41 -41
  82. package/dist/chunks/{location-services-yn9ays14.js → workspace-7pncbcke.js} +4 -4
  83. package/dist/chunks/{location-services-3v834vqe.js → workspace-7r3ygdmz.js} +14 -14
  84. package/dist/chunks/{location-services-dfdf51fy.js → workspace-7t824xx2.js} +21 -21
  85. package/dist/chunks/{location-services-11745fj4.js → workspace-7wh8xm2m.js} +23 -23
  86. package/dist/chunks/{location-services-2qqayhmv.js → workspace-857crm20.js} +17 -17
  87. package/dist/chunks/{location-services-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{location-services-04ndwt4g.js → workspace-8kae62x2.js} +5 -5
  89. package/dist/chunks/{location-services-4mwsasfb.js → workspace-8nhzdh16.js} +11 -11
  90. package/dist/chunks/{location-services-y1rt92wr.js → workspace-8r0skts4.js} +25 -25
  91. package/dist/chunks/{location-services-c3v4h655.js → workspace-8s9gdvz1.js} +13 -13
  92. package/dist/chunks/{location-services-h26hwr7h.js → workspace-8ycrq1wj.js} +14 -14
  93. package/dist/chunks/{location-services-je1r8zza.js → workspace-8z9aqbjr.js} +4 -4
  94. package/dist/chunks/{location-services-1k5rw76t.js → workspace-90bky85a.js} +47 -47
  95. package/dist/chunks/{location-services-1cn11v2a.js → workspace-9aza1f1x.js} +42 -42
  96. package/dist/chunks/{location-services-r6fwddjq.js → workspace-9btd272k.js} +29 -29
  97. package/dist/chunks/{location-services-55cv1jqh.js → workspace-9hckxq4k.js} +7 -7
  98. package/dist/chunks/{location-services-ewmpatfj.js → workspace-9n314x6j.js} +15 -15
  99. package/dist/chunks/{location-services-zh9858z0.js → workspace-9tb0v2yh.js} +66 -66
  100. package/dist/chunks/{location-services-vadan2xk.js → workspace-9yzdvftt.js} +12 -12
  101. package/dist/chunks/{location-services-j5n5rv50.js → workspace-a2m7fzmh.js} +11 -11
  102. package/dist/chunks/{location-services-d1fsd9nn.js → workspace-a414py93.js} +35 -35
  103. package/dist/chunks/{location-services-y968z3dh.js → workspace-a84sqmex.js} +5 -5
  104. package/dist/chunks/{location-services-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  105. package/dist/chunks/{location-services-e1n7jafy.js → workspace-adykyd42.js} +13 -13
  106. package/dist/chunks/{location-services-0hcw47et.js → workspace-afps5b8n.js} +2 -2
  107. package/dist/chunks/{location-services-q857ra41.js → workspace-as71pn4z.js} +12 -12
  108. package/dist/chunks/{location-services-g7gv2g3a.js → workspace-asfqdkpb.js} +180 -180
  109. package/dist/chunks/{location-services-w418y777.js → workspace-avc8n21j.js} +17 -17
  110. package/dist/chunks/{location-services-9q3wnm91.js → workspace-avrvke37.js} +9 -9
  111. package/dist/chunks/{location-services-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{location-services-h2bnk7k6.js → workspace-b8qvbf28.js} +4 -4
  113. package/dist/chunks/{location-services-a6sgp6g3.js → workspace-berxm3qr.js} +7 -7
  114. package/dist/chunks/{location-services-p20c12jc.js → workspace-bm5d57fs.js} +34 -34
  115. package/dist/chunks/{location-services-2v24grjy.js → workspace-bpy2r9c4.js} +18 -18
  116. package/dist/chunks/{location-services-wdvvnqc5.js → workspace-bxbnev26.js} +32 -32
  117. package/dist/chunks/{location-services-dxjrh372.js → workspace-byhenq9m.js} +13 -13
  118. package/dist/chunks/{location-services-5mavpc6r.js → workspace-c34eff8t.js} +44 -44
  119. package/dist/chunks/{location-services-s6w733fx.js → workspace-c3nqgy48.js} +26 -26
  120. package/dist/chunks/{location-services-kpaq12ty.js → workspace-c7yg1ngd.js} +13 -13
  121. package/dist/chunks/{location-services-we7ht0tm.js → workspace-ce8etdrj.js} +1 -1
  122. package/dist/chunks/{location-services-cmhbnssm.js → workspace-cg72rvag.js} +8 -8
  123. package/dist/chunks/{location-services-6x9k2qbp.js → workspace-cka6kvq6.js} +16 -16
  124. package/dist/chunks/{location-services-ea3ctmvw.js → workspace-cn886m9x.js} +11 -11
  125. package/dist/chunks/{location-services-khmm5t2n.js → workspace-crekkz1m.js} +18 -18
  126. package/dist/chunks/{location-services-djszqvmq.js → workspace-cwa6csj7.js} +9 -9
  127. package/dist/chunks/{location-services-y67gsgy6.js → workspace-d8nc1xcx.js} +4 -4
  128. package/dist/chunks/{location-services-dg9wag4b.js → workspace-dhtzjjzz.js} +3 -3
  129. package/dist/chunks/{location-services-dj2t23y0.js → workspace-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{location-services-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
  131. package/dist/chunks/{location-services-28xtht7t.js → workspace-e1pmkxcv.js} +8 -8
  132. package/dist/chunks/{location-services-2yhmvnsm.js → workspace-e43vk65n.js} +21 -21
  133. package/dist/chunks/{location-services-6cnycg91.js → workspace-e624nkeg.js} +35 -35
  134. package/dist/chunks/{location-services-6ersrjne.js → workspace-e6hd9jay.js} +6 -6
  135. package/dist/chunks/{location-services-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{location-services-r7rxb23g.js → workspace-ejevs9sw.js} +20 -20
  137. package/dist/chunks/{location-services-1frr7fgk.js → workspace-ejgp49jg.js} +20 -20
  138. package/dist/chunks/{location-services-dw4dv2s2.js → workspace-ek42fa6x.js} +20 -20
  139. package/dist/chunks/{location-services-8462pbya.js → workspace-epb4w8jv.js} +24 -24
  140. package/dist/chunks/{location-services-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{location-services-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{location-services-478rcqqg.js → workspace-f2we9qpp.js} +10 -10
  143. package/dist/chunks/{location-services-2jz473v5.js → workspace-fch79rh9.js} +1 -1
  144. package/dist/chunks/{location-services-yqx2aan1.js → workspace-fdc34wrr.js} +24 -24
  145. package/dist/chunks/{location-services-4x60cftr.js → workspace-fffkv7qf.js} +32 -32
  146. package/dist/chunks/{location-services-t2db0eay.js → workspace-fszp41pp.js} +6 -6
  147. package/dist/chunks/{location-services-y56ehv6b.js → workspace-fwwk8vbp.js} +9 -9
  148. package/dist/chunks/{location-services-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{location-services-jt7ttpf2.js → workspace-g3ns9rat.js} +22 -22
  150. package/dist/chunks/{location-services-xvh4ack0.js → workspace-g8j4ctvn.js} +5 -5
  151. package/dist/chunks/{location-services-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{location-services-rhr2287f.js → workspace-ge7qjysf.js} +15 -15
  153. package/dist/chunks/{location-services-pnnhp6pm.js → workspace-gn97k1b0.js} +10 -10
  154. package/dist/chunks/{location-services-mw934p8z.js → workspace-gv66gg0x.js} +8 -8
  155. package/dist/chunks/{location-services-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{location-services-e6tmc4dn.js → workspace-gwphwnjy.js} +13 -13
  157. package/dist/chunks/{location-services-xn9jxgmv.js → workspace-h2r7bbkd.js} +8 -8
  158. package/dist/chunks/{location-services-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-services-rxfm361e.js → workspace-h72e87dw.js} +5 -5
  160. package/dist/chunks/{location-services-kf89s8d6.js → workspace-h7krgpah.js} +11 -11
  161. package/dist/chunks/{location-services-m4733gfk.js → workspace-hcxmrj2a.js} +9 -9
  162. package/dist/chunks/{location-services-0svzc3ms.js → workspace-hdm3sk1y.js} +40 -40
  163. package/dist/chunks/{location-services-b19zmjmv.js → workspace-hdm8jbsf.js} +25 -25
  164. package/dist/chunks/{location-services-hdnk95c8.js → workspace-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{location-services-5e9qax8s.js → workspace-hmyzz8y0.js} +23 -23
  166. package/dist/chunks/{location-services-q304jdpe.js → workspace-j13v91pw.js} +16 -16
  167. package/dist/chunks/{location-services-qr10gabp.js → workspace-j3enmtp4.js} +44 -44
  168. package/dist/chunks/{location-services-9mnp22fh.js → workspace-j4n38w1e.js} +15 -15
  169. package/dist/chunks/{location-services-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-services-hkagk5ex.js → workspace-j699j8bt.js} +2 -2
  171. package/dist/chunks/{location-services-6zz0jjar.js → workspace-j8zzr2am.js} +6 -6
  172. package/dist/chunks/{location-services-jemfgm91.js → workspace-je7c2t6y.js} +6 -6
  173. package/dist/chunks/{location-services-fvx6s9yc.js → workspace-jj1193c7.js} +6 -6
  174. package/dist/chunks/{location-services-3c4e3q8d.js → workspace-jmphe03k.js} +4 -4
  175. package/dist/chunks/{location-services-kvvk39gs.js → workspace-jw80jp6b.js} +4 -4
  176. package/dist/chunks/{location-services-k73b7wxd.js → workspace-kexq2ab1.js} +8 -8
  177. package/dist/chunks/{location-services-rnx96krx.js → workspace-ks40ppne.js} +13 -13
  178. package/dist/chunks/{location-services-119fgr4a.js → workspace-kwv0msad.js} +92 -92
  179. package/dist/chunks/{location-services-m0jqrx5p.js → workspace-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{location-services-zanvzfjc.js → workspace-m0ned3ze.js} +10 -10
  181. package/dist/chunks/{location-services-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{location-services-mp0xed7k.js → workspace-m6v93gq1.js} +25 -25
  183. package/dist/chunks/{location-services-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-services-1hc11dc4.js → workspace-mfhfdr54.js} +4 -4
  185. package/dist/chunks/workspace-mjcsnwzf.js +492 -0
  186. package/dist/chunks/{location-services-arwsxrqn.js → workspace-mnfv1s1b.js} +13 -13
  187. package/dist/chunks/{location-services-71xak4j8.js → workspace-mrekswpf.js} +15 -15
  188. package/dist/chunks/{location-services-ds1hnb50.js → workspace-n5ff45t7.js} +23 -23
  189. package/dist/chunks/{location-services-c2ekx4p4.js → workspace-n69p783e.js} +1 -1
  190. package/dist/chunks/{location-services-97vsxr6d.js → workspace-n882b035.js} +11 -11
  191. package/dist/chunks/{location-services-0jkw1j53.js → workspace-n8dykrk6.js} +6 -6
  192. package/dist/chunks/{location-services-nq7qbqzc.js → workspace-nscznvay.js} +9 -9
  193. package/dist/chunks/{location-services-k3c624dm.js → workspace-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{location-services-fn2a6dv9.js → workspace-p00q0h88.js} +25 -25
  195. package/dist/chunks/{location-services-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
  196. package/dist/chunks/{location-services-wwq1qjv9.js → workspace-p79yh7x8.js} +27 -27
  197. package/dist/chunks/{location-services-n81afcfa.js → workspace-pg93v6jv.js} +7 -7
  198. package/dist/chunks/{location-services-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{location-services-ndmv45hp.js → workspace-pk2244jm.js} +3 -3
  200. package/dist/chunks/{location-services-pknna89w.js → workspace-pknna89w.js} +1 -1
  201. package/dist/chunks/{location-services-8ze50vt3.js → workspace-pm2w02ap.js} +17 -17
  202. package/dist/chunks/{location-services-8ank75fn.js → workspace-pn3cc07s.js} +8 -8
  203. package/dist/chunks/{location-services-tt70z94x.js → workspace-pr971s7g.js} +11 -11
  204. package/dist/chunks/{location-services-m5fyg1bs.js → workspace-pxfs15kn.js} +46 -46
  205. package/dist/chunks/{location-services-k76fn4kw.js → workspace-q5asdkn4.js} +4 -4
  206. package/dist/chunks/{location-services-tkmwgdpd.js → workspace-qa3qhgw8.js} +7 -7
  207. package/dist/chunks/{location-services-twxxf4s6.js → workspace-qed8dvxx.js} +9 -9
  208. package/dist/chunks/workspace-qmrp7vx8.js +65 -0
  209. package/dist/chunks/{location-services-bgxcxs0p.js → workspace-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{location-services-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-services-eeaf82dq.js → workspace-qvb3nf84.js} +8 -8
  212. package/dist/chunks/{location-services-n6e9bew6.js → workspace-qvxdy1p7.js} +3 -3
  213. package/dist/chunks/{location-services-cw0365tk.js → workspace-qxge5qk3.js} +3 -3
  214. package/dist/chunks/{location-services-7yh4e7ss.js → workspace-r5x6zcsm.js} +3 -3
  215. package/dist/chunks/{location-services-73m34ham.js → workspace-r79m9za8.js} +9 -9
  216. package/dist/chunks/{location-services-n7yhf3k5.js → workspace-ra0m4r42.js} +6 -6
  217. package/dist/chunks/{location-services-s5j5yx42.js → workspace-rackk5d8.js} +22 -22
  218. package/dist/chunks/{location-services-c2g18km0.js → workspace-rag3edqr.js} +44 -44
  219. package/dist/chunks/workspace-rap9a73h.js +18 -0
  220. package/dist/chunks/{location-services-a57b6ez4.js → workspace-rdp84m7y.js} +37 -37
  221. package/dist/chunks/{location-services-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{location-services-m11kk84f.js → workspace-rfe2qg2a.js} +32 -32
  223. package/dist/chunks/{location-services-qjs1085f.js → workspace-rk7bc7ed.js} +32 -32
  224. package/dist/chunks/{location-services-td4hvtjh.js → workspace-rp7dq0jc.js} +8 -8
  225. package/dist/chunks/{location-services-9awzet7k.js → workspace-rpery1mk.js} +12 -12
  226. package/dist/chunks/{location-services-w4axh9wz.js → workspace-rtv6ahp9.js} +6 -6
  227. package/dist/chunks/{location-services-c21tn5sa.js → workspace-rysm8zhq.js} +3 -3
  228. package/dist/chunks/{location-services-s81xp4h6.js → workspace-sqkfb9wh.js} +14 -14
  229. package/dist/chunks/{location-services-wx3f4x5a.js → workspace-sv23krr8.js} +31 -31
  230. package/dist/chunks/{location-services-yptpkvx0.js → workspace-svpqbh55.js} +23 -23
  231. package/dist/chunks/{location-services-vncycja5.js → workspace-sx1n432n.js} +4 -4
  232. package/dist/chunks/{location-services-qp3cqwfd.js → workspace-t04jp1as.js} +30 -30
  233. package/dist/chunks/{location-services-8d664r2w.js → workspace-t0mtj9sp.js} +20 -20
  234. package/dist/chunks/{location-services-fn4w1dzc.js → workspace-t15k3d3j.js} +39 -39
  235. package/dist/chunks/{location-services-nf8bga6w.js → workspace-t45trqgm.js} +19 -19
  236. package/dist/chunks/{location-services-02nrjc1r.js → workspace-t550f9t1.js} +8 -8
  237. package/dist/chunks/{location-services-twfpqh0y.js → workspace-ta339n92.js} +12 -12
  238. package/dist/chunks/{location-services-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{location-services-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{location-services-tdstcens.js → workspace-tdstcens.js} +1 -1
  241. package/dist/chunks/{location-services-sdfezxs7.js → workspace-te18sgca.js} +19 -19
  242. package/dist/chunks/{location-services-rh0ks3yx.js → workspace-tn8p7ecq.js} +16 -16
  243. package/dist/chunks/{location-services-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  244. package/dist/chunks/{location-services-3g6j0hhb.js → workspace-twm8s0v6.js} +27 -27
  245. package/dist/chunks/{location-services-dj9sq318.js → workspace-tz2bjj40.js} +5 -5
  246. package/dist/chunks/{location-services-hsqt0cnh.js → workspace-v3ryxckp.js} +50 -50
  247. package/dist/chunks/{location-services-20xfcnp3.js → workspace-vbrdpthe.js} +6 -6
  248. package/dist/chunks/{location-services-9xgkhjnq.js → workspace-vcryphxd.js} +12 -12
  249. package/dist/chunks/{location-services-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{location-services-8jgcgwkq.js → workspace-vmm0d4j2.js} +24 -24
  251. package/dist/chunks/{location-services-vykevjvn.js → workspace-vrpz8t5t.js} +5 -5
  252. package/dist/chunks/{location-services-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{location-services-gpk7m87d.js → workspace-w118tzke.js} +5 -5
  254. package/dist/chunks/{location-services-007ywmk0.js → workspace-w19jy31r.js} +5 -5
  255. package/dist/chunks/{location-services-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{location-services-nf6k3q5n.js → workspace-w6x78c9c.js} +11 -11
  257. package/dist/chunks/{location-services-xgrxakdc.js → workspace-w8vega6y.js} +4 -4
  258. package/dist/chunks/{location-services-4za7tm8v.js → workspace-waexrdgv.js} +33 -33
  259. package/dist/chunks/{location-services-wd87259q.js → workspace-wd87259q.js} +1 -1
  260. package/dist/chunks/{location-services-kanck703.js → workspace-wdh627yk.js} +18 -18
  261. package/dist/chunks/workspace-wjzzwpk8.js +26 -0
  262. package/dist/chunks/{location-services-8c7atbhf.js → workspace-wssc7tyq.js} +22 -22
  263. package/dist/chunks/{location-services-vk6xc8bn.js → workspace-wxg1tfxb.js} +4 -4
  264. package/dist/chunks/{location-services-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{location-services-9q85g4rf.js → workspace-x1w6bk3j.js} +22 -22
  266. package/dist/chunks/{location-services-epjjka9c.js → workspace-x5rn7qjp.js} +20 -20
  267. package/dist/chunks/{location-services-4tvzb1sd.js → workspace-xam54x1y.js} +27 -27
  268. package/dist/chunks/{location-services-3k1nbdbw.js → workspace-xbpzf4zn.js} +11 -11
  269. package/dist/chunks/{location-services-100ggytg.js → workspace-xhhx516y.js} +8 -8
  270. package/dist/chunks/{location-services-sh89kava.js → workspace-xqq38mk8.js} +37 -37
  271. package/dist/chunks/{location-services-gnvqkg1d.js → workspace-xwchxfcw.js} +8 -8
  272. package/dist/chunks/{location-services-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-services-kgygn7je.js → workspace-y201z2mx.js} +4 -4
  274. package/dist/chunks/{location-services-ptcebqmk.js → workspace-y7f35ff5.js} +18 -18
  275. package/dist/chunks/{location-services-t3aazdfk.js → workspace-ydm93f9x.js} +8 -8
  276. package/dist/chunks/{location-services-c2ty4kk7.js → workspace-ydpabj6e.js} +35 -35
  277. package/dist/chunks/{location-services-qv7snrja.js → workspace-ynpw39jf.js} +30 -30
  278. package/dist/chunks/{location-services-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{location-services-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  280. package/dist/chunks/{location-services-gg4dpy88.js → workspace-yt3hy1g9.js} +5 -5
  281. package/dist/chunks/{location-services-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{location-services-w7mk4knt.js → workspace-z0zyb1s8.js} +55 -55
  283. package/dist/chunks/{location-services-b52vbktb.js → workspace-z1va2kz6.js} +5 -5
  284. package/dist/chunks/{location-services-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  285. package/dist/chunks/{location-services-ef1pmnt8.js → workspace-zdn3zq9y.js} +7 -7
  286. package/dist/chunks/{location-services-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{location-services-hph8qc38.js → workspace-zq22gkb0.js} +7 -7
  288. package/dist/chunks/{location-services-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-services-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +123 -123
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +92 -92
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +93 -93
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +80 -80
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +72 -72
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  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 +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +226 -226
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +89 -89
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  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 +220 -220
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  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 +228 -228
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  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 +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +149 -149
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +222 -222
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  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 +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +90 -90
  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 +122 -122
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/location-services-07spk5pt.js +0 -492
  696. package/dist/chunks/location-services-0mesazry.js +0 -4
  697. package/dist/chunks/location-services-1x11rq2a.js +0 -18
  698. package/dist/chunks/location-services-20da25kr.js +0 -65
  699. package/dist/chunks/location-services-p49m4rqh.js +0 -26
  700. package/dist/chunks/location-services-zwypcbt3.js +0 -252
  701. /package/dist/chunks/{location-services-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{location-services-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{location-services-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{location-services-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{location-services-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{location-services-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-services-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-services-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{location-services-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-services-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{location-services-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{location-services-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{location-services-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{location-services-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{location-services-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{location-services-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{location-services-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{location-services-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{location-services-53557ph1.js → workspace-53557ph1.js} +0 -0
  720. /package/dist/chunks/{location-services-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{location-services-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{location-services-6prwharc.js → workspace-6prwharc.js} +0 -0
  723. /package/dist/chunks/{location-services-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{location-services-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{location-services-822emrt2.js → workspace-822emrt2.js} +0 -0
  726. /package/dist/chunks/{location-services-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{location-services-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{location-services-922hggd3.js → workspace-922hggd3.js} +0 -0
  729. /package/dist/chunks/{location-services-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{location-services-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{location-services-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{location-services-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{location-services-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{location-services-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{location-services-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{location-services-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{location-services-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{location-services-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{location-services-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{location-services-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{location-services-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{location-services-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{location-services-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{location-services-df08tz66.js → workspace-df08tz66.js} +0 -0
  745. /package/dist/chunks/{location-services-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{location-services-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-services-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-services-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-services-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-services-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-services-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-services-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-services-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-services-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-services-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-services-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-services-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-services-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-services-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-services-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-services-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-services-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-services-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-services-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-services-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-services-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-services-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-services-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-services-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-services-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-services-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-services-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-services-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-services-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-services-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-services-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-services-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-services-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-services-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-services-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-services-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-services-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-services-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-services-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{location-services-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{location-services-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{location-services-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{location-services-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-services-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-services-x61499pn.js → workspace-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-services-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-services-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{location-services-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{location-services-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{location-services-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{location-services-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service74,
10
- node: () => node77
9
+ Service: () => Service63,
10
+ node: () => node65
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service74 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service63 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service74.of({ has, register, trigger });
57
+ return Service63.of({ has, register, trigger });
58
58
  }));
59
- var node77 = makeLocationNode({ service: Service74, layer, deps: [] });
59
+ var node65 = makeLocationNode({ service: Service63, layer, deps: [] });
60
60
 
61
- export { Service74, node77, exports_hooks };
61
+ export { Service63, node65, exports_hooks };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./location-services-mwwetm44.js";
3
+ } from "./workspace-5ah12t62.js";
4
4
  import {
5
5
  apply3
6
- } from "./location-services-c21tn5sa.js";
6
+ } from "./workspace-rysm8zhq.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service82,
16
+ Service: () => Service83,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node86
21
+ node: () => node87
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
30
30
  path: Schema.optional(Schema.String)
31
31
  });
32
32
 
33
- class Service82 extends Context.Service()("@opencode/storage/Database") {
33
+ class Service83 extends Context.Service()("@opencode/storage/Database") {
34
34
  }
35
- var databaseLayer = (lock) => Layer.effect(Service82, Effect.gen(function* () {
35
+ var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
36
36
  const db = yield* makeDatabase;
37
37
  if (supportsTuningPragmas) {
38
38
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
70
  function configured13(options) {
71
- return makeGlobalNode({ service: Service82, layer: layer26(options), deps: [Global.node] });
71
+ return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
75
- service: Service82,
75
+ service: Service83,
76
76
  layer: layerFromClient2.pipe(Layer.provide(client)),
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node86 = configured13({ path: ":memory:" });
80
+ var node87 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service82, layer26, layerFromClient2, configured13, configuredClient2, node86, exports_database };
82
+ export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-services-q304jdpe.js";
2
+ Service82,
3
+ node86
4
+ } from "./workspace-j13v91pw.js";
5
5
  import {
6
- Event15,
7
- Service62,
8
- node65
9
- } from "./location-services-6cnycg91.js";
6
+ Event19,
7
+ Service74,
8
+ node77
9
+ } from "./workspace-e624nkeg.js";
10
10
  import {
11
- Service42,
12
- node45
13
- } from "./location-services-1frr7fgk.js";
11
+ Service48,
12
+ node51
13
+ } from "./workspace-ejgp49jg.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./location-services-922hggd3.js";
16
+ } from "./workspace-922hggd3.js";
17
17
  import {
18
- Service78,
19
- node82
20
- } from "./location-services-6x9k2qbp.js";
18
+ Service79,
19
+ node83
20
+ } from "./workspace-cka6kvq6.js";
21
21
  import {
22
22
  substitute2
23
- } from "./location-services-yrznvahk.js";
23
+ } from "./workspace-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./location-services-8462pbya.js";
26
+ } from "./workspace-epb4w8jv.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./location-services-04ndwt4g.js";
30
+ } from "./workspace-8kae62x2.js";
31
31
  import {
32
32
  plan2
33
- } from "./location-services-j56e64zr.js";
33
+ } from "./workspace-j56e64zr.js";
34
34
  import {
35
- Service67,
36
- Event17,
37
- node70
38
- } from "./location-services-11745fj4.js";
35
+ Service52,
36
+ Event11,
37
+ node55
38
+ } from "./workspace-7wh8xm2m.js";
39
39
  import {
40
40
  __export
41
- } from "./location-services-9rqn6x4v.js";
41
+ } from "./workspace-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service41,
47
+ Options: () => Options5,
48
+ Service: () => Service47,
49
49
  Test: () => Test2,
50
- configured: () => configured7,
50
+ configured: () => configured5,
51
51
  latest: () => latest2,
52
- layer: () => layer18,
53
- node: () => node44,
52
+ layer: () => layer17,
53
+ node: () => node50,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options5 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service41 extends Context.Service()("@opencode/Config") {
74
+ class Service47 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
93
93
  }));
94
- var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
94
+ var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service78;
97
- const watcher = yield* Service42;
98
- const bus = yield* Service81;
99
- const credentials = yield* Service62;
96
+ const location = yield* Service79;
97
+ const watcher = yield* Service48;
98
+ const bus = yield* Service82;
99
+ const credentials = yield* Service74;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service67;
101
+ const wellknown = yield* Service52;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service41.of({
253
+ return Service47.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured7(options) {
265
+ function configured5(options) {
266
266
  return makeLocationNode({
267
- service: Service41,
268
- layer: layer18(options),
269
- deps: [node45, node85, FSUtil.node, Global.node, node82, node65, node70]
267
+ service: Service47,
268
+ layer: layer17(options),
269
+ deps: [node51, node86, FSUtil.node, Global.node, node83, node77, node55]
270
270
  });
271
271
  }
272
- var node44 = configured7();
272
+ var node50 = configured5();
273
273
 
274
- export { latest2, Options7, Service41, Test2, testLayer2, layer18, configured7, node44, exports_config };
274
+ export { latest2, Options5, Service47, Test2, testLayer2, layer17, configured5, node50, exports_config };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./workspace-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: () => Service51,
9
+ Service: () => Service54,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service51 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service54 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service51, exports_runner };
18
+ export { DrainResult2, Service54, exports_runner };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info12
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info12 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command4 };
21
+ export { Info14, exports_command5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-services-6x9k2qbp.js";
3
+ } from "./workspace-cka6kvq6.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service57,
12
+ Service: () => Service78,
13
13
  canonical: () => canonical3,
14
- node: () => node59,
14
+ node: () => node82,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service57 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service78 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service57, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service78, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node59 = LayerNode.unbound(Service57, Node.tags.values.global);
27
+ var node82 = LayerNode.unbound(Service78, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service57;
29
+ const locations = yield* Service78;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service57, node59, reload2, canonical3, exports_location_service_map };
48
+ export { Service78, node82, reload2, canonical3, exports_location_service_map };
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./workspace-j13v91pw.js";
5
+ import {
6
+ Service73,
7
+ node76
8
+ } from "./workspace-p79yh7x8.js";
9
+ import {
10
+ Ref4,
11
+ Service79,
12
+ node83
13
+ } from "./workspace-cka6kvq6.js";
14
+ import {
15
+ Service59,
16
+ node61
17
+ } from "./workspace-z0zyb1s8.js";
18
+ import {
19
+ Service21,
20
+ node24
21
+ } from "./workspace-bpy2r9c4.js";
22
+ import {
23
+ __export
24
+ } from "./workspace-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service16,
31
+ node: () => node18
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service79;
41
+ const permission = yield* Service59;
42
+ const forms = yield* Service73;
43
+ const rpc = yield* Service21;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service16.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node18 = makeLocationNode({
60
+ service: Service16,
61
+ layer,
62
+ deps: [node86, node83, node61, node76, node24]
63
+ });
64
+
65
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info10,
12
+ Info: () => Info12,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info10 = Schema.Struct({
64
+ var Info12 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info10, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info12, exports_provider2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service40,
8
+ Service: () => Service41,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node43
10
+ node: () => node44
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service40, () => {
17
+ var layer = Layer.sync(Service41, () => {
18
18
  const environments = new Map;
19
- return Service40.of({
19
+ return Service41.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node43 = makeGlobalNode({ service: Service40, layer, deps: [] });
29
+ var node44 = makeGlobalNode({ service: Service41, layer, deps: [] });
30
30
 
31
- export { Service40, node43, exports_environment };
31
+ export { Service41, node44, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./location-services-jg79b14v.js";
2
+ ID12
3
+ } from "./workspace-0gptwf17.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID7.make(id);
27
+ const providerID = ID12.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./location-services-c2ekx4p4.js";
5
+ } from "./workspace-n69p783e.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./location-services-mwwetm44.js";
11
+ } from "./workspace-5ah12t62.js";
12
12
  import {
13
13
  __export
14
- } from "./location-services-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./location-services-qaymkmh1.js";
3
+ } from "./workspace-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make6(input) {
8
+ function make5(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./location-services-rdw6cm16.js";
3
+ } from "./workspace-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service64,
14
+ Service: () => Service75,
15
15
  SizeError: () => SizeError2,
16
- node: () => node67
16
+ node: () => node78
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service64 extends Context.Service()("@opencode/Image") {
45
+ class Service75 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service64, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service64.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service75.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node67 = makeLocationNode({ service: Service64, layer, deps: [] });
79
+ var node78 = makeLocationNode({ service: Service75, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service64, node67, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service75, node78, exports_image2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./location-services-5daktx2q.js";
3
+ } from "./workspace-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./workspace-922hggd3.js";
7
7
  import {
8
- ID10,
8
+ ID4,
9
9
  Name2
10
- } from "./location-services-f24azagy.js";
10
+ } from "./workspace-11kb2ryy.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID10.make(id),
58
+ id: ID4.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },