@opencode/core 0.0.0-dev-19887 → 0.0.0-dev-19894

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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{variant-5hrxhm7r.js → location-lifecycle-00b8gsc2.js} +32 -32
  8. package/dist/chunks/{variant-1hc11dc4.js → location-lifecycle-06dxphr1.js} +4 -4
  9. package/dist/chunks/{variant-27qaaqv4.js → location-lifecycle-06pedn7m.js} +30 -30
  10. package/dist/chunks/{variant-9cgekm8q.js → location-lifecycle-08cxtdw8.js} +32 -32
  11. package/dist/chunks/{variant-a6mn06rp.js → location-lifecycle-0b2jrrme.js} +13 -13
  12. package/dist/chunks/{variant-vvhhcha4.js → location-lifecycle-0ct2ft9s.js} +23 -23
  13. package/dist/chunks/{variant-9vw53jv9.js → location-lifecycle-0g5kjbpy.js} +33 -33
  14. package/dist/chunks/{variant-02nrjc1r.js → location-lifecycle-0gdmqesm.js} +8 -8
  15. package/dist/chunks/{variant-ekqy63t1.js → location-lifecycle-0gz940bd.js} +9 -9
  16. package/dist/chunks/{variant-9jzp6rtr.js → location-lifecycle-0jq9fyba.js} +9 -9
  17. package/dist/chunks/{variant-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{variant-aa6hsmkn.js → location-lifecycle-0pq4d6yy.js} +10 -10
  19. package/dist/chunks/{variant-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{variant-mz35w27a.js → location-lifecycle-14a3xf5h.js} +17 -17
  21. package/dist/chunks/{variant-c73kwvag.js → location-lifecycle-1ah0ee7v.js} +6 -6
  22. package/dist/chunks/{variant-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{variant-ehrsfzb1.js → location-lifecycle-1e8jm6ep.js} +20 -20
  24. package/dist/chunks/{variant-cftckq0s.js → location-lifecycle-1krxbagm.js} +36 -36
  25. package/dist/chunks/{variant-fqwnfb02.js → location-lifecycle-1m851fz5.js} +15 -15
  26. package/dist/chunks/{variant-pdbczg48.js → location-lifecycle-1mer2z42.js} +17 -17
  27. package/dist/chunks/{variant-wq301bav.js → location-lifecycle-1tj20jfk.js} +26 -26
  28. package/dist/chunks/{variant-tgqfcp4w.js → location-lifecycle-1vmxbjpt.js} +6 -6
  29. package/dist/chunks/{variant-kkavjeyb.js → location-lifecycle-1w0pc04v.js} +15 -15
  30. package/dist/chunks/{variant-amg8rfa2.js → location-lifecycle-1zsecf4k.js} +11 -11
  31. package/dist/chunks/{variant-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  32. package/dist/chunks/{variant-1kzy0zmf.js → location-lifecycle-21r66r60.js} +32 -32
  33. package/dist/chunks/{variant-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
  34. package/dist/chunks/{variant-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{variant-mqp0p4ed.js → location-lifecycle-2axye2ft.js} +3 -3
  36. package/dist/chunks/{variant-fr6qf1zc.js → location-lifecycle-2c293f3h.js} +8 -8
  37. package/dist/chunks/{variant-41jardw5.js → location-lifecycle-2cfefjf7.js} +42 -42
  38. package/dist/chunks/{variant-28mf290z.js → location-lifecycle-2cmdkyhw.js} +3 -3
  39. package/dist/chunks/{variant-qgn6gcr1.js → location-lifecycle-2k8khapm.js} +5 -5
  40. package/dist/chunks/{variant-yqtmxgrc.js → location-lifecycle-2q3ccgdz.js} +22 -22
  41. package/dist/chunks/{variant-mx58xnyt.js → location-lifecycle-2r3zh37g.js} +9 -9
  42. package/dist/chunks/{variant-mzsct20j.js → location-lifecycle-2w3b2ebc.js} +7 -7
  43. package/dist/chunks/{variant-x62bxqam.js → location-lifecycle-2w7gr4k3.js} +24 -24
  44. package/dist/chunks/{variant-b552dcrd.js → location-lifecycle-318dhbth.js} +18 -18
  45. package/dist/chunks/{variant-cpy6gm2a.js → location-lifecycle-35agz59w.js} +6 -6
  46. package/dist/chunks/{variant-v30pefx0.js → location-lifecycle-36b1949e.js} +13 -13
  47. package/dist/chunks/{variant-c78bbtc9.js → location-lifecycle-3cfzdc8e.js} +5 -5
  48. package/dist/chunks/{variant-097skfh9.js → location-lifecycle-3cq1aq8e.js} +11 -11
  49. package/dist/chunks/{variant-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{variant-qwkytnft.js → location-lifecycle-3fn9vj2a.js} +6 -6
  51. package/dist/chunks/{variant-9m0akj9h.js → location-lifecycle-3gybahgz.js} +17 -17
  52. package/dist/chunks/{variant-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{variant-m9rt4wgq.js → location-lifecycle-3qkj39pp.js} +6 -6
  54. package/dist/chunks/{variant-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{variant-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{variant-yzx8t958.js → location-lifecycle-3vfjkkqt.js} +4 -4
  57. package/dist/chunks/{variant-ms2v0qr0.js → location-lifecycle-3ykewcag.js} +20 -20
  58. package/dist/chunks/{variant-8ank75fn.js → location-lifecycle-428ep8fh.js} +8 -8
  59. package/dist/chunks/{variant-j6g6334x.js → location-lifecycle-4efcx757.js} +11 -11
  60. package/dist/chunks/{variant-w4axh9wz.js → location-lifecycle-4ns3h2re.js} +4 -4
  61. package/dist/chunks/{variant-a3dggatn.js → location-lifecycle-4rapdxbm.js} +8 -8
  62. package/dist/chunks/{variant-1hr2mhh3.js → location-lifecycle-4vn8gs9z.js} +10 -10
  63. package/dist/chunks/location-lifecycle-4x0xy3ak.js +492 -0
  64. package/dist/chunks/{variant-mfqp6xfm.js → location-lifecycle-56gdpj1q.js} +6 -6
  65. package/dist/chunks/{variant-x3aw69dw.js → location-lifecycle-58jf2b5n.js} +24 -24
  66. package/dist/chunks/{variant-jb9mn43j.js → location-lifecycle-5cgvgbkt.js} +19 -19
  67. package/dist/chunks/{variant-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  68. package/dist/chunks/{variant-kpzqpbrb.js → location-lifecycle-5feghaxz.js} +39 -39
  69. package/dist/chunks/{variant-cpj0znwe.js → location-lifecycle-5mtzsd3b.js} +4 -4
  70. package/dist/chunks/{variant-9vfjrq5h.js → location-lifecycle-5n6s9hm6.js} +10 -10
  71. package/dist/chunks/{variant-cfaphf43.js → location-lifecycle-5s2p338g.js} +5 -5
  72. package/dist/chunks/{variant-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{variant-sr4j9exx.js → location-lifecycle-5vcjqd34.js} +13 -13
  74. package/dist/chunks/{variant-xy0kj34c.js → location-lifecycle-5ygjede2.js} +8 -8
  75. package/dist/chunks/{variant-t36nynp6.js → location-lifecycle-600vrq00.js} +21 -21
  76. package/dist/chunks/{variant-yz0zb41s.js → location-lifecycle-62qat4sn.js} +4 -4
  77. package/dist/chunks/{variant-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  78. package/dist/chunks/{variant-62y7kwp4.js → location-lifecycle-66baz8ka.js} +9 -9
  79. package/dist/chunks/{variant-v4ke4x03.js → location-lifecycle-6eyfberv.js} +24 -24
  80. package/dist/chunks/{variant-5v7tkgjc.js → location-lifecycle-6g52q5q2.js} +6 -6
  81. package/dist/chunks/{variant-g8d3gcyj.js → location-lifecycle-6hh8tjw2.js} +7 -7
  82. package/dist/chunks/{variant-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{variant-jtazzn7t.js → location-lifecycle-6q7a50ek.js} +12 -12
  84. package/dist/chunks/{variant-48wt5vck.js → location-lifecycle-76782hfa.js} +11 -11
  85. package/dist/chunks/{variant-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{variant-rnjj76x0.js → location-lifecycle-7dseyta3.js} +29 -29
  87. package/dist/chunks/{variant-39bnkv12.js → location-lifecycle-7hvhjnef.js} +20 -20
  88. package/dist/chunks/{variant-5sm13ap8.js → location-lifecycle-7j8v41s3.js} +38 -38
  89. package/dist/chunks/{variant-90cg2g8q.js → location-lifecycle-7t48jg8f.js} +3 -3
  90. package/dist/chunks/{variant-k6eqzays.js → location-lifecycle-89s9kgby.js} +18 -18
  91. package/dist/chunks/{variant-tcezcvh9.js → location-lifecycle-89znhe33.js} +4 -4
  92. package/dist/chunks/{variant-kq76qga6.js → location-lifecycle-8cptxgqr.js} +8 -8
  93. package/dist/chunks/{variant-ffe81100.js → location-lifecycle-8d6xnbxe.js} +7 -7
  94. package/dist/chunks/{variant-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{variant-516vmk6c.js → location-lifecycle-8kb38tbd.js} +24 -24
  96. package/dist/chunks/{variant-fka5stg3.js → location-lifecycle-8m81rpck.js} +26 -26
  97. package/dist/chunks/{variant-15nepkqg.js → location-lifecycle-8n69n882.js} +8 -8
  98. package/dist/chunks/{variant-k3kfa9gp.js → location-lifecycle-8n7ya8jg.js} +3 -3
  99. package/dist/chunks/{variant-nad2v9ex.js → location-lifecycle-8nfn27r0.js} +23 -23
  100. package/dist/chunks/{variant-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
  101. package/dist/chunks/{variant-tfsfntr4.js → location-lifecycle-8t7cv3nq.js} +17 -17
  102. package/dist/chunks/{variant-swskkvne.js → location-lifecycle-92ayrrn7.js} +16 -16
  103. package/dist/chunks/{variant-gg31f38h.js → location-lifecycle-92r5vq45.js} +184 -184
  104. package/dist/chunks/{variant-xg9t41r3.js → location-lifecycle-96rw58h8.js} +2 -2
  105. package/dist/chunks/{variant-0gz9grtj.js → location-lifecycle-9a30k7dn.js} +11 -11
  106. package/dist/chunks/{variant-9r15s34d.js → location-lifecycle-9ae44cfy.js} +6 -6
  107. package/dist/chunks/{variant-915gmmzb.js → location-lifecycle-9cy2qm6f.js} +9 -9
  108. package/dist/chunks/{variant-8eg5n7pr.js → location-lifecycle-9gew6ke4.js} +3 -3
  109. package/dist/chunks/{variant-6skrka6j.js → location-lifecycle-9vjfyag7.js} +19 -19
  110. package/dist/chunks/location-lifecycle-9x5t835t.js +252 -0
  111. package/dist/chunks/{variant-g3dn61zq.js → location-lifecycle-9xrddee8.js} +17 -17
  112. package/dist/chunks/{variant-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
  113. package/dist/chunks/{variant-z4n4vdj7.js → location-lifecycle-a79avww4.js} +30 -30
  114. package/dist/chunks/{variant-xdrba4jw.js → location-lifecycle-a881zpfh.js} +9 -9
  115. package/dist/chunks/{variant-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  116. package/dist/chunks/{variant-t6zx2q9y.js → location-lifecycle-ag38rq08.js} +17 -17
  117. package/dist/chunks/{variant-4qd323fw.js → location-lifecycle-agdtkq8n.js} +23 -23
  118. package/dist/chunks/{variant-s0nvp0g4.js → location-lifecycle-aght5zda.js} +87 -87
  119. package/dist/chunks/{variant-e6qgb6k4.js → location-lifecycle-ah45zszs.js} +41 -41
  120. package/dist/chunks/{variant-jsxtg3j8.js → location-lifecycle-aj2gph7f.js} +40 -40
  121. package/dist/chunks/{variant-htdv981f.js → location-lifecycle-aja1kpp3.js} +14 -14
  122. package/dist/chunks/{variant-ayn9mra6.js → location-lifecycle-ajcqkwnf.js} +10 -10
  123. package/dist/chunks/{variant-81swgkk7.js → location-lifecycle-atcatw0c.js} +9 -9
  124. package/dist/chunks/{variant-brn88sfy.js → location-lifecycle-atmhrajx.js} +15 -15
  125. package/dist/chunks/{variant-1gd24jtv.js → location-lifecycle-azbd23ze.js} +11 -11
  126. package/dist/chunks/{variant-t54f161w.js → location-lifecycle-b3td3swv.js} +1 -1
  127. package/dist/chunks/{variant-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  128. package/dist/chunks/{variant-150yg2gd.js → location-lifecycle-b7b4ctej.js} +5 -5
  129. package/dist/chunks/{variant-1t1pnz9z.js → location-lifecycle-b7skvr2w.js} +12 -12
  130. package/dist/chunks/{variant-9dd9xg2p.js → location-lifecycle-bcsq46nn.js} +20 -20
  131. package/dist/chunks/{variant-h5wsamaq.js → location-lifecycle-begp2na7.js} +20 -20
  132. package/dist/chunks/{variant-1gd09dgh.js → location-lifecycle-bfwjxbj5.js} +26 -26
  133. package/dist/chunks/{variant-0x8f21sw.js → location-lifecycle-bjc8ma1j.js} +17 -17
  134. package/dist/chunks/{variant-mr2zf1rc.js → location-lifecycle-bneryqg7.js} +8 -8
  135. package/dist/chunks/{variant-hnx7q02n.js → location-lifecycle-bwz7508e.js} +15 -15
  136. package/dist/chunks/{variant-2jz473v5.js → location-lifecycle-bz85s9hh.js} +1 -1
  137. package/dist/chunks/{variant-a3gwct9m.js → location-lifecycle-c8kta4n6.js} +15 -15
  138. package/dist/chunks/{variant-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
  139. package/dist/chunks/{variant-93dczpz5.js → location-lifecycle-ch9rpgww.js} +11 -11
  140. package/dist/chunks/{variant-c765mh8b.js → location-lifecycle-cpneeje0.js} +8 -8
  141. package/dist/chunks/{variant-pfjwdz76.js → location-lifecycle-crahewxf.js} +7 -7
  142. package/dist/chunks/{variant-rzfvqdtr.js → location-lifecycle-cygrf01w.js} +32 -32
  143. package/dist/chunks/{variant-6a52w1rv.js → location-lifecycle-d24axzz0.js} +7 -7
  144. package/dist/chunks/{variant-c8mrws9h.js → location-lifecycle-d2sxwqa1.js} +11 -11
  145. package/dist/chunks/{variant-q10etjjv.js → location-lifecycle-d6w1d759.js} +5 -5
  146. package/dist/chunks/{variant-9g8a7bky.js → location-lifecycle-dhc7fjat.js} +18 -18
  147. package/dist/chunks/{variant-z8jac80z.js → location-lifecycle-dqdee38h.js} +22 -22
  148. package/dist/chunks/{variant-57b9ws8p.js → location-lifecycle-drwq78ky.js} +5 -5
  149. package/dist/chunks/{variant-qhcyyzn5.js → location-lifecycle-dv1b5hnc.js} +4 -4
  150. package/dist/chunks/{variant-ehewexsg.js → location-lifecycle-dx7cz548.js} +11 -11
  151. package/dist/chunks/{variant-ycs2q99w.js → location-lifecycle-e4gx0yxa.js} +27 -27
  152. package/dist/chunks/{variant-cpa7r820.js → location-lifecycle-e5kr9kgh.js} +8 -8
  153. package/dist/chunks/{variant-dvsy15m8.js → location-lifecycle-eb9hbpar.js} +20 -20
  154. package/dist/chunks/{variant-7f3ctpdg.js → location-lifecycle-ees997fz.js} +20 -20
  155. package/dist/chunks/{variant-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  156. package/dist/chunks/{variant-07dehahr.js → location-lifecycle-ejnxb373.js} +47 -47
  157. package/dist/chunks/{variant-27d62n88.js → location-lifecycle-em2jr9mj.js} +13 -13
  158. package/dist/chunks/{variant-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  159. package/dist/chunks/{variant-94q2vb6w.js → location-lifecycle-es6ymm0f.js} +9 -9
  160. package/dist/chunks/{variant-dy8yawtr.js → location-lifecycle-etn8yy9q.js} +55 -55
  161. package/dist/chunks/{variant-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  162. package/dist/chunks/{variant-xbzbcj9a.js → location-lifecycle-f3r43bhh.js} +4 -4
  163. package/dist/chunks/{variant-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
  164. package/dist/chunks/{variant-7qvbcjd2.js → location-lifecycle-fbpmdm9b.js} +24 -24
  165. package/dist/chunks/{variant-cx02vxsr.js → location-lifecycle-fdd9a936.js} +5 -5
  166. package/dist/chunks/{variant-k8fevvw5.js → location-lifecycle-fddp59hc.js} +22 -22
  167. package/dist/chunks/{variant-cg8ytmw3.js → location-lifecycle-fde1cms4.js} +9 -9
  168. package/dist/chunks/{variant-xfdrc2qg.js → location-lifecycle-fkjmw100.js} +8 -8
  169. package/dist/chunks/{variant-g9k4x51g.js → location-lifecycle-frvteen9.js} +15 -15
  170. package/dist/chunks/{variant-gb29kbhr.js → location-lifecycle-ftp936sg.js} +13 -13
  171. package/dist/chunks/{variant-3pkp6ed2.js → location-lifecycle-fvzswx9a.js} +6 -6
  172. package/dist/chunks/{variant-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
  173. package/dist/chunks/{variant-cmwkp3r5.js → location-lifecycle-g0445xdp.js} +4 -4
  174. package/dist/chunks/{variant-epcvb57q.js → location-lifecycle-g3xf870q.js} +84 -84
  175. package/dist/chunks/{variant-20d59fy3.js → location-lifecycle-gd0h8cq1.js} +28 -28
  176. package/dist/chunks/{variant-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  177. package/dist/chunks/{variant-y6dnbhqf.js → location-lifecycle-gg245rpa.js} +39 -39
  178. package/dist/chunks/{variant-vg2pwr63.js → location-lifecycle-gg7mxwnh.js} +25 -25
  179. package/dist/chunks/{variant-vf1cc59j.js → location-lifecycle-ggs1y8br.js} +31 -31
  180. package/dist/chunks/{variant-1fv74gqc.js → location-lifecycle-gs88pkvr.js} +6 -6
  181. package/dist/chunks/{variant-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  182. package/dist/chunks/{variant-jap74bcr.js → location-lifecycle-h040sa7w.js} +22 -22
  183. package/dist/chunks/{variant-bxqmztkz.js → location-lifecycle-h2h79dva.js} +16 -16
  184. package/dist/chunks/{variant-8wxt10s7.js → location-lifecycle-h36cdnfm.js} +12 -12
  185. package/dist/chunks/{variant-zj09a0ew.js → location-lifecycle-h6jr292a.js} +4 -4
  186. package/dist/chunks/{variant-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  187. package/dist/chunks/{variant-j4sd9pby.js → location-lifecycle-hb1m031k.js} +37 -37
  188. package/dist/chunks/{variant-hs5kqjts.js → location-lifecycle-hh5sdbys.js} +5 -5
  189. package/dist/chunks/{variant-b7p55gh1.js → location-lifecycle-hk6farcs.js} +4 -4
  190. package/dist/chunks/{variant-572jzhdq.js → location-lifecycle-hmpcbkgd.js} +70 -70
  191. package/dist/chunks/location-lifecycle-ht5y0zrb.js +18 -0
  192. package/dist/chunks/{variant-x9mtwtp0.js → location-lifecycle-hwvyndb6.js} +4 -4
  193. package/dist/chunks/{variant-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  194. package/dist/chunks/{variant-xf4yhzac.js → location-lifecycle-jc1e48xp.js} +26 -26
  195. package/dist/chunks/{variant-tfzngn12.js → location-lifecycle-jewzahs7.js} +4 -4
  196. package/dist/chunks/location-lifecycle-jqaz7hb4.js +26 -0
  197. package/dist/chunks/{variant-tkfgnrzv.js → location-lifecycle-jtexvcen.js} +23 -23
  198. package/dist/chunks/{variant-c3t2bp3a.js → location-lifecycle-jz8czyh7.js} +21 -21
  199. package/dist/chunks/{variant-sbnsh8k5.js → location-lifecycle-k0gdq8ga.js} +8 -8
  200. package/dist/chunks/{variant-88405f1d.js → location-lifecycle-k2nq7ztr.js} +11 -11
  201. package/dist/chunks/{variant-v0aj06hd.js → location-lifecycle-k9bmr3a1.js} +20 -20
  202. package/dist/chunks/{variant-hj7e2epa.js → location-lifecycle-kd541efj.js} +16 -16
  203. package/dist/chunks/{variant-dvqvac0p.js → location-lifecycle-kq8bx7xq.js} +38 -38
  204. package/dist/chunks/{variant-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  205. package/dist/chunks/{variant-8pccpkv9.js → location-lifecycle-m549exyf.js} +12 -12
  206. package/dist/chunks/{variant-9wzaqa2h.js → location-lifecycle-m6q5faa9.js} +11 -11
  207. package/dist/chunks/{variant-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  208. package/dist/chunks/{variant-6ztqgmqc.js → location-lifecycle-mh5cgvr5.js} +32 -32
  209. package/dist/chunks/{variant-ttyd8st6.js → location-lifecycle-mqdmt1va.js} +5 -5
  210. package/dist/chunks/{variant-43epg6g5.js → location-lifecycle-mtjt07v8.js} +11 -11
  211. package/dist/chunks/{variant-mhkvc446.js → location-lifecycle-mvfsc1pv.js} +3 -3
  212. package/dist/chunks/{variant-085d9kjp.js → location-lifecycle-nfyg7my7.js} +6 -6
  213. package/dist/chunks/{variant-m145exmz.js → location-lifecycle-nxw9x78p.js} +11 -11
  214. package/dist/chunks/{variant-nzks3jc8.js → location-lifecycle-nzks3jc8.js} +3 -3
  215. package/dist/chunks/{variant-x8reb4st.js → location-lifecycle-p0bbwx7d.js} +17 -17
  216. package/dist/chunks/{variant-j7wq2tw5.js → location-lifecycle-pb07aktf.js} +3 -3
  217. package/dist/chunks/{variant-d0x602ma.js → location-lifecycle-pbv0yjjw.js} +11 -11
  218. package/dist/chunks/{variant-d212tg40.js → location-lifecycle-pgsazkxm.js} +5 -5
  219. package/dist/chunks/{variant-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  220. package/dist/chunks/{variant-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  221. package/dist/chunks/{variant-kpc0mqwz.js → location-lifecycle-pr20cmdv.js} +14 -14
  222. package/dist/chunks/{variant-2y34zzjz.js → location-lifecycle-q5nw5m1n.js} +6 -6
  223. package/dist/chunks/location-lifecycle-qapv375x.js +4 -0
  224. package/dist/chunks/{variant-5w4ft1qc.js → location-lifecycle-qbd2ms54.js} +30 -30
  225. package/dist/chunks/{variant-jw80jp6b.js → location-lifecycle-qj8eh1ht.js} +4 -4
  226. package/dist/chunks/{variant-94yyaa2b.js → location-lifecycle-qmxwecnf.js} +12 -12
  227. package/dist/chunks/{variant-jdjqvkac.js → location-lifecycle-qnz5ymak.js} +25 -25
  228. package/dist/chunks/{variant-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  229. package/dist/chunks/{variant-ecmqvc26.js → location-lifecycle-qwyffd8f.js} +10 -10
  230. package/dist/chunks/{variant-3cc71383.js → location-lifecycle-qxhyk1pg.js} +26 -26
  231. package/dist/chunks/{variant-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{variant-3g2czk59.js → location-lifecycle-rk5jd2b3.js} +28 -28
  233. package/dist/chunks/{variant-jdwv10rw.js → location-lifecycle-sa53s2va.js} +8 -8
  234. package/dist/chunks/{variant-f5pacdp8.js → location-lifecycle-sc1q6wgr.js} +4 -4
  235. package/dist/chunks/{variant-jgv4nkbw.js → location-lifecycle-sgvsg5c7.js} +20 -20
  236. package/dist/chunks/{variant-mtmgf2mp.js → location-lifecycle-snq071ae.js} +3 -3
  237. package/dist/chunks/{variant-93c7gg90.js → location-lifecycle-sntz0pcz.js} +54 -54
  238. package/dist/chunks/{variant-66cq7m8j.js → location-lifecycle-ssdf6eb6.js} +17 -17
  239. package/dist/chunks/{variant-ttqh24zm.js → location-lifecycle-t2az9yje.js} +4 -4
  240. package/dist/chunks/{variant-jsghq5te.js → location-lifecycle-t7ac428t.js} +11 -11
  241. package/dist/chunks/{variant-00z3vp5f.js → location-lifecycle-t9zs3egg.js} +4 -4
  242. package/dist/chunks/{variant-f4cxmw91.js → location-lifecycle-taw5yzha.js} +7 -7
  243. package/dist/chunks/{variant-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{variant-p28j5sbe.js → location-lifecycle-tbz0fdvh.js} +5 -5
  245. package/dist/chunks/{variant-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  246. package/dist/chunks/{variant-31vzqgg6.js → location-lifecycle-ttjk2wdc.js} +18 -18
  247. package/dist/chunks/{variant-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  248. package/dist/chunks/{variant-6dtxgrp9.js → location-lifecycle-tzbte7z6.js} +9 -9
  249. package/dist/chunks/{variant-4mszv00j.js → location-lifecycle-v52rr7b3.js} +32 -32
  250. package/dist/chunks/{variant-jdng17b1.js → location-lifecycle-vdtc3ka7.js} +37 -37
  251. package/dist/chunks/{variant-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  252. package/dist/chunks/{variant-fxqygnfa.js → location-lifecycle-vkxpz7g2.js} +4 -4
  253. package/dist/chunks/{variant-3mvav4ey.js → location-lifecycle-vs79q017.js} +43 -43
  254. package/dist/chunks/{variant-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{variant-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{variant-6jd4s47c.js → location-lifecycle-w9kyydez.js} +50 -50
  257. package/dist/chunks/{variant-yjptyezs.js → location-lifecycle-wbkyxrgf.js} +5 -5
  258. package/dist/chunks/{variant-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  259. package/dist/chunks/{variant-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{variant-r80zjrs5.js → location-lifecycle-x27mk1f7.js} +2 -2
  261. package/dist/chunks/{variant-etkqpky2.js → location-lifecycle-xdc3mw17.js} +25 -25
  262. package/dist/chunks/{variant-8svftxcg.js → location-lifecycle-xgw5arqg.js} +38 -38
  263. package/dist/chunks/{variant-qg0jgkcp.js → location-lifecycle-xk747vep.js} +9 -9
  264. package/dist/chunks/{variant-a1nrrezy.js → location-lifecycle-xnftke6g.js} +44 -44
  265. package/dist/chunks/{variant-sh8m3jxd.js → location-lifecycle-xse2s150.js} +32 -32
  266. package/dist/chunks/{variant-6tt6f4cv.js → location-lifecycle-xz20991e.js} +5 -5
  267. package/dist/chunks/{variant-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{variant-y71avatq.js → location-lifecycle-y71avatq.js} +1 -1
  269. package/dist/chunks/{variant-64gzdevb.js → location-lifecycle-yc7a5kvr.js} +42 -42
  270. package/dist/chunks/{variant-1acjjqhc.js → location-lifecycle-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{variant-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/location-lifecycle-yrsab33h.js +65 -0
  273. package/dist/chunks/{variant-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
  274. package/dist/chunks/{variant-hkfg6fzm.js → location-lifecycle-yt0fqk68.js} +5 -5
  275. package/dist/chunks/{variant-nrg4g80p.js → location-lifecycle-z07d95xm.js} +8 -8
  276. package/dist/chunks/{variant-9rfbr6hz.js → location-lifecycle-z0868ay8.js} +10 -10
  277. package/dist/chunks/{variant-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{variant-s857ash9.js → location-lifecycle-z2qbjhyn.js} +5 -5
  279. package/dist/chunks/{variant-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
  280. package/dist/chunks/{variant-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{variant-yg6nt6v4.js → location-lifecycle-zex37ywk.js} +5 -5
  282. package/dist/chunks/{variant-278hf439.js → location-lifecycle-zjbv19xv.js} +1 -1
  283. package/dist/chunks/{variant-khnj79zv.js → location-lifecycle-zm4vrf7k.js} +3 -3
  284. package/dist/chunks/{variant-p8cqx264.js → location-lifecycle-zmv6dkz3.js} +7 -7
  285. package/dist/chunks/{variant-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{variant-0wjn3002.js → location-lifecycle-zvfsx9q6.js} +4 -4
  287. package/dist/chunks/{variant-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{variant-eeycyz4a.js → location-lifecycle-zysgr26p.js} +19 -19
  289. package/dist/chunks/{variant-rx7r49gh.js → location-lifecycle-zz4e6p7j.js} +12 -12
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +11 -11
  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 +83 -83
  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 +120 -120
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +120 -120
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  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 +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  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 +75 -75
  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 +69 -69
  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 +4 -4
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  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 +90 -90
  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 +84 -84
  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 +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  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 +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  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 +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  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 +3 -3
  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 +119 -119
  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 +119 -119
  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 +119 -119
  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 +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  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 +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +87 -87
  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 +95 -95
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +86 -86
  568. package/dist/repository-cache.js +78 -78
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  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 +131 -131
  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 +127 -127
  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 +74 -74
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +92 -92
  590. package/dist/session/message-updater.js +4 -4
  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 +83 -83
  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 +230 -230
  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 +125 -125
  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 +169 -169
  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 +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +207 -207
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  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 +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  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 +126 -126
  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 +102 -102
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +216 -216
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +111 -111
  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 +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +3 -3
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  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 +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/variant-0mesazry.js +0 -4
  696. package/dist/chunks/variant-313b5xwg.js +0 -26
  697. package/dist/chunks/variant-4v7qdvcn.js +0 -18
  698. package/dist/chunks/variant-7p374f9a.js +0 -65
  699. package/dist/chunks/variant-t8sg433j.js +0 -252
  700. package/dist/chunks/variant-zs17qpra.js +0 -492
  701. /package/dist/chunks/{variant-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{variant-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{variant-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{variant-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{variant-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{variant-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{variant-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{variant-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{variant-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{variant-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{variant-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  712. /package/dist/chunks/{variant-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{variant-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{variant-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{variant-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{variant-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{variant-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{variant-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{variant-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  720. /package/dist/chunks/{variant-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{variant-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{variant-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  723. /package/dist/chunks/{variant-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{variant-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{variant-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  726. /package/dist/chunks/{variant-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{variant-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{variant-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  729. /package/dist/chunks/{variant-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{variant-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{variant-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{variant-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{variant-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{variant-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{variant-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{variant-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{variant-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{variant-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{variant-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{variant-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{variant-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{variant-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{variant-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{variant-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  745. /package/dist/chunks/{variant-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{variant-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{variant-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{variant-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{variant-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{variant-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{variant-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{variant-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{variant-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{variant-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{variant-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{variant-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{variant-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  758. /package/dist/chunks/{variant-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{variant-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  760. /package/dist/chunks/{variant-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{variant-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  762. /package/dist/chunks/{variant-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{variant-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{variant-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{variant-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{variant-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{variant-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{variant-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{variant-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{variant-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{variant-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{variant-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{variant-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{variant-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{variant-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{variant-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{variant-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{variant-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{variant-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{variant-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{variant-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{variant-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{variant-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{variant-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{variant-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{variant-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{variant-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{variant-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{variant-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{variant-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  791. /package/dist/chunks/{variant-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{variant-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{variant-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{variant-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{variant-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{variant-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -2,47 +2,47 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-922hggd3.js";
5
+ } from "./location-lifecycle-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./variant-x8reb4st.js";
7
+ Service74,
8
+ node78
9
+ } from "./location-lifecycle-p0bbwx7d.js";
10
10
  import {
11
- Service14,
12
- node16
13
- } from "./variant-6ztqgmqc.js";
11
+ Service70,
12
+ node73
13
+ } from "./location-lifecycle-mh5cgvr5.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./location-lifecycle-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry2,
25
- Event: () => Event2,
24
+ Entry: () => Entry4,
25
+ Event: () => Event16,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput5,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError9,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service13,
34
+ Service: () => Service69,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node15
38
+ node: () => node72
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content2 = Schema.Struct({
58
+ var Content3 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput5 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event2 = FileSystem.Event;
88
+ var Event16 = FileSystem.Event;
89
89
 
90
- class Service13 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service69 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service78;
95
- const search = yield* Service14;
94
+ const location = yield* Service74;
95
+ const search = yield* Service70;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service13.of({
106
+ return Service69.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node15 = makeLocationNode({
144
- service: Service13,
143
+ var node72 = makeLocationNode({
144
+ service: Service69,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node82, node16]
146
+ deps: [FSUtil.node, node78, node73]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError9, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event16, Service69, node72, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./variant-28mf290z.js";
3
+ } from "./location-lifecycle-2cmdkyhw.js";
4
4
  import {
5
5
  apply3
6
- } from "./variant-k3kfa9gp.js";
6
+ } from "./location-lifecycle-8n7ya8jg.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./location-lifecycle-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./variant-gftt206x.js";
3
+ } from "./location-lifecycle-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./variant-j7wq2tw5.js";
6
+ } from "./location-lifecycle-pb07aktf.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./variant-qwkytnft.js";
9
+ } from "./location-lifecycle-3fn9vj2a.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./variant-02nrjc1r.js";
13
+ } from "./location-lifecycle-0gdmqesm.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./variant-a1bz86dw.js";
16
+ } from "./location-lifecycle-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./variant-fxqygnfa.js";
20
+ } from "./location-lifecycle-vkxpz7g2.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./variant-1hc11dc4.js";
25
+ } from "./location-lifecycle-06dxphr1.js";
26
26
  import {
27
27
  __export
28
- } from "./variant-9rqn6x4v.js";
28
+ } from "./location-lifecycle-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./variant-yz0zb41s.js";
4
+ } from "./location-lifecycle-62qat4sn.js";
5
5
  import {
6
- Event16,
7
- Service65,
8
- node68
9
- } from "./variant-5w4ft1qc.js";
6
+ Event19,
7
+ Service78,
8
+ node82
9
+ } from "./location-lifecycle-qbd2ms54.js";
10
10
  import {
11
- Service41,
12
- node44
13
- } from "./variant-7f3ctpdg.js";
11
+ Service52,
12
+ node54
13
+ } from "./location-lifecycle-ees997fz.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./variant-922hggd3.js";
16
+ } from "./location-lifecycle-922hggd3.js";
17
17
  import {
18
- Service78,
19
- node82
20
- } from "./variant-x8reb4st.js";
18
+ Service74,
19
+ node78
20
+ } from "./location-lifecycle-p0bbwx7d.js";
21
21
  import {
22
22
  substitute2
23
- } from "./variant-yrznvahk.js";
23
+ } from "./location-lifecycle-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./variant-v4ke4x03.js";
26
+ } from "./location-lifecycle-6eyfberv.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./variant-aa6hsmkn.js";
30
+ } from "./location-lifecycle-0pq4d6yy.js";
31
31
  import {
32
32
  plan2
33
- } from "./variant-j56e64zr.js";
33
+ } from "./location-lifecycle-j56e64zr.js";
34
34
  import {
35
- Service42,
36
- Event11,
37
- node45
38
- } from "./variant-v0aj06hd.js";
35
+ Service53,
36
+ Event9,
37
+ node55
38
+ } from "./location-lifecycle-k9bmr3a1.js";
39
39
  import {
40
40
  __export
41
- } from "./variant-9rqn6x4v.js";
41
+ } from "./location-lifecycle-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
47
  Options: () => Options6,
48
- Service: () => Service40,
48
+ Service: () => Service51,
49
49
  Test: () => Test2,
50
50
  configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer16,
53
- node: () => node43,
52
+ layer: () => layer20,
53
+ node: () => node53,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Config") {
74
+ class Service51 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(Service40, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
93
93
  }));
94
- var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service78;
97
- const watcher = yield* Service41;
96
+ const location = yield* Service74;
97
+ const watcher = yield* Service52;
98
98
  const bus = yield* Service82;
99
- const credentials = yield* Service65;
99
+ const credentials = yield* Service78;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service42;
101
+ const wellknown = yield* Service53;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer16 = (options) => Layer.effect(Service40, 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(Event16.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 }));
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(Event9.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;
@@ -235,7 +235,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service40.of({
253
+ return Service51.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -264,11 +264,11 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
264
264
  }));
265
265
  function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service40,
268
- layer: layer16(options),
269
- deps: [node44, node86, FSUtil.node, Global.node, node82, node68, node45]
267
+ service: Service51,
268
+ layer: layer20(options),
269
+ deps: [node54, node86, FSUtil.node, Global.node, node78, node82, node55]
270
270
  });
271
271
  }
272
- var node43 = configured6();
272
+ var node53 = configured6();
273
273
 
274
- export { latest2, Options6, Service40, Test2, testLayer2, layer16, configured6, node43, exports_config };
274
+ export { latest2, Options6, Service51, Test2, testLayer2, layer20, configured6, node53, exports_config };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./variant-emrn6kk6.js";
3
+ } from "./location-lifecycle-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./variant-pfjwdz76.js";
6
+ } from "./location-lifecycle-crahewxf.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./variant-278hf439.js";
9
+ } from "./location-lifecycle-zjbv19xv.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options7,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options7, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./variant-yz0zb41s.js";
4
+ } from "./location-lifecycle-62qat4sn.js";
5
5
  import {
6
6
  environment2
7
- } from "./variant-jb9mn43j.js";
7
+ } from "./location-lifecycle-5cgvgbkt.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./variant-sk3qaz4a.js";
10
+ } from "./location-lifecycle-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./variant-9rqn6x4v.js";
13
+ } from "./location-lifecycle-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError7,
20
- Options: () => Options9,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service67,
22
+ Service: () => Service46,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured9,
25
- layer: () => layer24,
26
- node: () => node70
24
+ configured: () => configured4,
25
+ layer: () => layer19,
26
+ node: () => node48
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service67 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service46 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service46, Effect.gen(function* () {
53
53
  const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError7({ ptyID: id });
75
+ return yield* new NotFoundError6({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service67.of({
242
+ return Service46.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer24 = makeLayer();
259
- var configured9 = (options) => makeGlobalNode({
260
- service: Service67,
261
- layer: options === undefined ? layer24 : makeLayer(options),
258
+ var layer19 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service46,
261
+ layer: options === undefined ? layer19 : makeLayer(options),
262
262
  deps: [node86, Global.node]
263
263
  });
264
- var node70 = configured9();
264
+ var node48 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError7, Service67, layer24, configured9, node70, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError6, Service46, layer19, configured4, node48, exports_persistent_pty, Handoff2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service40
3
- } from "./variant-41jardw5.js";
2
+ Service51
3
+ } from "./location-lifecycle-2cfefjf7.js";
4
4
  import {
5
5
  match2
6
- } from "./variant-y1fvbwt7.js";
6
+ } from "./location-lifecycle-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./variant-qsdy395h.js";
9
+ } from "./location-lifecycle-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./location-lifecycle-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin18
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin18 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service40;
25
+ const config = yield* Service51;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
27
27
  const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
28
28
  yield* ctx.provider.transform((providers) => {
@@ -46,4 +46,4 @@ var Plugin17 = define({
46
46
  })
47
47
  });
48
48
 
49
- export { Plugin17, exports_policy };
49
+ export { Plugin18, exports_policy };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID7,
2
+ ID9,
3
3
  Family2
4
- } from "./variant-z4n4vdj7.js";
4
+ } from "./location-lifecycle-a79avww4.js";
5
5
  import {
6
- Service40
7
- } from "./variant-41jardw5.js";
6
+ Service51
7
+ } from "./location-lifecycle-2cfefjf7.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./variant-3pkp6ed2.js";
10
+ } from "./location-lifecycle-fvzswx9a.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service40;
53
+ const config = yield* Service51;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID7.make(item.model);
80
+ model.modelID = ID9.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {