@opencode/core 0.0.0-dev-106 → 0.0.0-dev-112

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 (820) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-retention-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-retention-fz3avstq.js → location-lifecycle-09fhxvd9.js} +18 -18
  9. package/dist/chunks/{file-retention-hrzny8v8.js → location-lifecycle-0aem4d00.js} +21 -21
  10. package/dist/chunks/{file-retention-2ny0ezjb.js → location-lifecycle-0g4r1v6g.js} +21 -21
  11. package/dist/chunks/{file-retention-n4q7tcga.js → location-lifecycle-0g8v0hcp.js} +14 -14
  12. package/dist/chunks/{file-retention-qymv4vqy.js → location-lifecycle-0svff1ss.js} +6 -6
  13. package/dist/chunks/{file-retention-xkjzrxhz.js → location-lifecycle-0ya1tgva.js} +17 -17
  14. package/dist/chunks/{file-retention-qjdvspq8.js → location-lifecycle-0z7r50za.js} +4 -4
  15. package/dist/chunks/location-lifecycle-10ptsfbg.js +18 -0
  16. package/dist/chunks/{file-retention-8jztxfpf.js → location-lifecycle-11hfp36g.js} +4 -4
  17. package/dist/chunks/{file-retention-8w2sjm13.js → location-lifecycle-179cyqax.js} +11 -11
  18. package/dist/chunks/{file-retention-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{file-retention-7hgt5e5w.js → location-lifecycle-1hfz5pcn.js} +6 -6
  20. package/dist/chunks/{file-retention-1kn6jdkn.js → location-lifecycle-1kn6jdkn.js} +1 -1
  21. package/dist/chunks/{file-retention-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{file-retention-1yq9hg58.js → location-lifecycle-1yq9hg58.js} +1 -1
  23. package/dist/chunks/{file-retention-204s3925.js → location-lifecycle-204s3925.js} +1 -1
  24. package/dist/chunks/{file-retention-x08t3gav.js → location-lifecycle-26gw3n1w.js} +6 -6
  25. package/dist/chunks/{file-retention-26x8chrq.js → location-lifecycle-26x8chrq.js} +3 -3
  26. package/dist/chunks/{file-retention-9qyfvz4m.js → location-lifecycle-28jnbx1g.js} +10 -10
  27. package/dist/chunks/{file-retention-xwfc5a9y.js → location-lifecycle-2ah25k6c.js} +27 -27
  28. package/dist/chunks/{file-retention-e684jnvx.js → location-lifecycle-2bd61azn.js} +7 -7
  29. package/dist/chunks/{file-retention-5c35a5tr.js → location-lifecycle-2cdb2tg5.js} +13 -13
  30. package/dist/chunks/{file-retention-1xawp968.js → location-lifecycle-2djp8jg0.js} +2 -2
  31. package/dist/chunks/{file-retention-4app0d5h.js → location-lifecycle-2m8f8n0m.js} +26 -26
  32. package/dist/chunks/{file-retention-gwb4hjpw.js → location-lifecycle-2p57kbc5.js} +5 -5
  33. package/dist/chunks/{file-retention-h6t0znmf.js → location-lifecycle-2xr9nkrk.js} +9 -9
  34. package/dist/chunks/{file-retention-wevd75am.js → location-lifecycle-38bjcxtk.js} +9 -9
  35. package/dist/chunks/{file-retention-kexjjz2s.js → location-lifecycle-39dpjy5n.js} +31 -31
  36. package/dist/chunks/{file-retention-6mc65ctj.js → location-lifecycle-3dxavvh7.js} +23 -23
  37. package/dist/chunks/{file-retention-0geb145b.js → location-lifecycle-3eethtxw.js} +10 -10
  38. package/dist/chunks/{file-retention-atk704ss.js → location-lifecycle-3gdp0sp4.js} +12 -12
  39. package/dist/chunks/{file-retention-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{file-retention-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{file-retention-ce8850xx.js → location-lifecycle-3tcpaccq.js} +5 -5
  42. package/dist/chunks/{file-retention-5enarcya.js → location-lifecycle-40za9wsf.js} +6 -6
  43. package/dist/chunks/{file-retention-d0hcg7jd.js → location-lifecycle-4dyr5xk8.js} +42 -32
  44. package/dist/chunks/{file-retention-4pyp9zr9.js → location-lifecycle-4pyp9zr9.js} +1 -1
  45. package/dist/chunks/{file-retention-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
  46. package/dist/chunks/{file-retention-bqhtr9km.js → location-lifecycle-4vj8dj9t.js} +16 -16
  47. package/dist/chunks/{file-retention-8h66evbt.js → location-lifecycle-509qqz65.js} +29 -29
  48. package/dist/chunks/{file-retention-qerk2cbg.js → location-lifecycle-52zmjgxn.js} +12 -12
  49. package/dist/chunks/{file-retention-e0h4m4ge.js → location-lifecycle-53ac5awh.js} +4 -4
  50. package/dist/chunks/{file-retention-858yc3fz.js → location-lifecycle-55gbafn6.js} +2 -2
  51. package/dist/chunks/{file-retention-1gc92e9b.js → location-lifecycle-57adrxmx.js} +40 -40
  52. package/dist/chunks/{file-retention-pxsskgvr.js → location-lifecycle-5c2rdy1q.js} +11 -11
  53. package/dist/chunks/{file-retention-1dmvqq8e.js → location-lifecycle-5cm81s93.js} +15 -15
  54. package/dist/chunks/{file-retention-m8d78p9r.js → location-lifecycle-5gjqtyzn.js} +1 -1
  55. package/dist/chunks/{file-retention-aahkq6z2.js → location-lifecycle-5gvtr7m5.js} +8 -8
  56. package/dist/chunks/{file-retention-ymetyeqh.js → location-lifecycle-5jhwr9bs.js} +11 -11
  57. package/dist/chunks/{file-retention-82kem97q.js → location-lifecycle-5k7mzy6m.js} +17 -17
  58. package/dist/chunks/{file-retention-m4qbnc51.js → location-lifecycle-5kbev7nh.js} +6 -6
  59. package/dist/chunks/{file-retention-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{file-retention-1bazgwy0.js → location-lifecycle-5q95vnt9.js} +28 -28
  61. package/dist/chunks/{file-retention-3grw85tc.js → location-lifecycle-5tq5fdtg.js} +11 -11
  62. package/dist/chunks/{file-retention-5gyja307.js → location-lifecycle-5x26af84.js} +4 -4
  63. package/dist/chunks/{file-retention-bjhzkqyk.js → location-lifecycle-61ennm6n.js} +4 -4
  64. package/dist/chunks/{file-retention-18fr36ja.js → location-lifecycle-6cahmqzr.js} +8 -8
  65. package/dist/chunks/{file-retention-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
  66. package/dist/chunks/{file-retention-c0wmmjhw.js → location-lifecycle-6gtmjygn.js} +41 -41
  67. package/dist/chunks/{file-retention-w046pjj9.js → location-lifecycle-6pjfva98.js} +10 -10
  68. package/dist/chunks/{file-retention-hwg9r3t9.js → location-lifecycle-6pt4gebd.js} +21 -21
  69. package/dist/chunks/{file-retention-zw4pk1bw.js → location-lifecycle-6xw3seg4.js} +5 -5
  70. package/dist/chunks/{file-retention-m37mrzs7.js → location-lifecycle-7286pht0.js} +13 -13
  71. package/dist/chunks/{file-retention-w8qtt4th.js → location-lifecycle-76cb1hcw.js} +4 -4
  72. package/dist/chunks/{file-retention-6617bgsd.js → location-lifecycle-77mevfn5.js} +19 -19
  73. package/dist/chunks/{file-retention-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{file-retention-dvpav3c8.js → location-lifecycle-7cw7sfyh.js} +10 -10
  75. package/dist/chunks/{file-retention-e2mp0d97.js → location-lifecycle-7g1qc7px.js} +27 -27
  76. package/dist/chunks/{file-retention-mqr8efz6.js → location-lifecycle-7gp6c42y.js} +9 -9
  77. package/dist/chunks/{file-retention-yjq04dxh.js → location-lifecycle-7hcqjvsz.js} +43 -43
  78. package/dist/chunks/{file-retention-mxhqtbmm.js → location-lifecycle-7mxx8wnc.js} +12 -12
  79. package/dist/chunks/{file-retention-ep2aybfb.js → location-lifecycle-7qmd11nr.js} +12 -12
  80. package/dist/chunks/{file-retention-n4mbpr34.js → location-lifecycle-7tj1474e.js} +48 -48
  81. package/dist/chunks/{file-retention-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{file-retention-7yect7x1.js → location-lifecycle-7yect7x1.js} +2 -2
  83. package/dist/chunks/{file-retention-7c1hejwc.js → location-lifecycle-7z4207q3.js} +38 -38
  84. package/dist/chunks/{file-retention-ek5b82yj.js → location-lifecycle-81109hyj.js} +37 -37
  85. package/dist/chunks/{file-retention-m5z5bky1.js → location-lifecycle-82tttdh6.js} +24 -24
  86. package/dist/chunks/{file-retention-10fq91z6.js → location-lifecycle-833q5csy.js} +43 -43
  87. package/dist/chunks/{file-retention-2hrs92et.js → location-lifecycle-84w8hcrk.js} +14 -14
  88. package/dist/chunks/location-lifecycle-87hejcnj.js +26 -0
  89. package/dist/chunks/{file-retention-51d35nkj.js → location-lifecycle-89sdcr2v.js} +6 -6
  90. package/dist/chunks/{file-retention-va65z9ez.js → location-lifecycle-8bakhzeq.js} +10 -10
  91. package/dist/chunks/{file-retention-q2a1qg4p.js → location-lifecycle-8tcp41rf.js} +5 -5
  92. package/dist/chunks/{file-retention-6y263vp8.js → location-lifecycle-8wc2fpae.js} +5 -5
  93. package/dist/chunks/{file-retention-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
  94. package/dist/chunks/{file-retention-6d987nwp.js → location-lifecycle-8x2qgvrq.js} +26 -26
  95. package/dist/chunks/{file-retention-90zstvax.js → location-lifecycle-90zstvax.js} +1 -1
  96. package/dist/chunks/{file-retention-6qcwe8h6.js → location-lifecycle-92xhapx8.js} +7 -7
  97. package/dist/chunks/{file-retention-ys5044sq.js → location-lifecycle-96w9sw94.js} +1 -1
  98. package/dist/chunks/{file-retention-xm94g0fx.js → location-lifecycle-978a70ce.js} +171 -171
  99. package/dist/chunks/{file-retention-8yhc7zrg.js → location-lifecycle-9f3sjfep.js} +9 -9
  100. package/dist/chunks/{file-retention-nspspvnz.js → location-lifecycle-9hz747xk.js} +3 -3
  101. package/dist/chunks/{file-retention-je0z6vt0.js → location-lifecycle-9k2c2kb1.js} +11 -11
  102. package/dist/chunks/{file-retention-530qnn32.js → location-lifecycle-9mk6zhbm.js} +54 -54
  103. package/dist/chunks/{file-retention-9q8g9sv8.js → location-lifecycle-9q8g9sv8.js} +1 -1
  104. package/dist/chunks/{file-retention-0gbb59p9.js → location-lifecycle-9qcg53ez.js} +9 -9
  105. package/dist/chunks/{file-retention-htrvxm7y.js → location-lifecycle-9x0efy4t.js} +27 -27
  106. package/dist/chunks/{file-retention-11b27yxh.js → location-lifecycle-9xsgwmwg.js} +15 -15
  107. package/dist/chunks/location-lifecycle-a0qft7sv.js +511 -0
  108. package/dist/chunks/{file-retention-qc86zz63.js → location-lifecycle-a0vc3hj9.js} +8 -8
  109. package/dist/chunks/{file-retention-00ensp01.js → location-lifecycle-a0vtjevz.js} +7 -7
  110. package/dist/chunks/{file-retention-pg7tzw83.js → location-lifecycle-a1vzyy9m.js} +22 -22
  111. package/dist/chunks/{file-retention-ectwy8nt.js → location-lifecycle-a52e4zaq.js} +5 -5
  112. package/dist/chunks/{file-retention-70qgk999.js → location-lifecycle-a7252hc2.js} +4 -4
  113. package/dist/chunks/{file-retention-dskmn5nd.js → location-lifecycle-aeek2x9t.js} +26 -26
  114. package/dist/chunks/{file-retention-ed1x3daz.js → location-lifecycle-aem5zx53.js} +21 -21
  115. package/dist/chunks/{file-retention-b27sr8xw.js → location-lifecycle-aweea5r7.js} +23 -23
  116. package/dist/chunks/{file-retention-2djfsmxs.js → location-lifecycle-axsks3r9.js} +13 -13
  117. package/dist/chunks/{file-retention-gk998fjy.js → location-lifecycle-aydfsr7f.js} +23 -23
  118. package/dist/chunks/{file-retention-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
  119. package/dist/chunks/{file-retention-w1n8wyt0.js → location-lifecycle-b5zz9fnh.js} +16 -16
  120. package/dist/chunks/{file-retention-b6vsg801.js → location-lifecycle-b6vsg801.js} +2 -2
  121. package/dist/chunks/{file-retention-yes5e36g.js → location-lifecycle-bn4sdd3k.js} +11 -11
  122. package/dist/chunks/{file-retention-7b491anb.js → location-lifecycle-bnpmy3fh.js} +11 -11
  123. package/dist/chunks/{file-retention-1p7ae65c.js → location-lifecycle-bnrg1kyt.js} +11 -11
  124. package/dist/chunks/{file-retention-r67zf7b0.js → location-lifecycle-bpt5jbat.js} +41 -41
  125. package/dist/chunks/{file-retention-bstexjd6.js → location-lifecycle-bstexjd6.js} +1 -1
  126. package/dist/chunks/{file-retention-r8c7z53f.js → location-lifecycle-btepkdzw.js} +16 -16
  127. package/dist/chunks/{file-retention-220xmsjv.js → location-lifecycle-by9858m5.js} +18 -18
  128. package/dist/chunks/{file-retention-z04zt6pc.js → location-lifecycle-c5krqhs4.js} +17 -17
  129. package/dist/chunks/{file-retention-at3ha3gd.js → location-lifecycle-c7rkgjm0.js} +13 -13
  130. package/dist/chunks/{file-retention-z9rbxwes.js → location-lifecycle-cb8j13sw.js} +8 -8
  131. package/dist/chunks/{file-retention-vfqzwbd6.js → location-lifecycle-cbb47mwc.js} +23 -23
  132. package/dist/chunks/{file-retention-bdxrme4x.js → location-lifecycle-cbemmm07.js} +26 -26
  133. package/dist/chunks/{file-retention-05acc43v.js → location-lifecycle-ccckjf53.js} +6 -6
  134. package/dist/chunks/{file-retention-f9nn1sjd.js → location-lifecycle-cf7bb4ee.js} +21 -21
  135. package/dist/chunks/{file-retention-cwrgdav8.js → location-lifecycle-cwrgdav8.js} +2 -2
  136. package/dist/chunks/{file-retention-94khjvtj.js → location-lifecycle-cz9qwb4v.js} +25 -25
  137. package/dist/chunks/{file-retention-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
  138. package/dist/chunks/{file-retention-6y6e3gcj.js → location-lifecycle-d71jzqq5.js} +26 -26
  139. package/dist/chunks/{file-retention-w9g7809j.js → location-lifecycle-d99f5m93.js} +11 -11
  140. package/dist/chunks/{file-retention-b4fxnh5x.js → location-lifecycle-dc43kh8r.js} +2 -2
  141. package/dist/chunks/{file-retention-01cw0x8c.js → location-lifecycle-df2c00r2.js} +26 -26
  142. package/dist/chunks/{file-retention-saqfpqv7.js → location-lifecycle-djqxpt3v.js} +16 -16
  143. package/dist/chunks/{file-retention-haf3v3hy.js → location-lifecycle-ds7r37yp.js} +5 -5
  144. package/dist/chunks/{file-retention-dt77769w.js → location-lifecycle-dt77769w.js} +1 -1
  145. package/dist/chunks/{file-retention-mc71x809.js → location-lifecycle-dvdaxtza.js} +4 -4
  146. package/dist/chunks/{file-retention-fng6wk28.js → location-lifecycle-dyxnxpy9.js} +11 -11
  147. package/dist/chunks/{file-retention-3gxdekad.js → location-lifecycle-e1eqrch2.js} +6 -6
  148. package/dist/chunks/{file-retention-3t7s1jht.js → location-lifecycle-e4djf1tn.js} +26 -26
  149. package/dist/chunks/{file-retention-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
  150. package/dist/chunks/{file-retention-3cbzjvxf.js → location-lifecycle-eb5f6b32.js} +5 -5
  151. package/dist/chunks/{file-retention-tpm8y58e.js → location-lifecycle-ecm38ch5.js} +36 -36
  152. package/dist/chunks/{file-retention-284vr7mk.js → location-lifecycle-eypwzk3k.js} +5 -5
  153. package/dist/chunks/{file-retention-rnnfdfqg.js → location-lifecycle-f173rk19.js} +23 -23
  154. package/dist/chunks/{file-retention-p2dy9dmh.js → location-lifecycle-f6h31egd.js} +16 -16
  155. package/dist/chunks/{file-retention-pqz8f4xz.js → location-lifecycle-f9y314dy.js} +14 -14
  156. package/dist/chunks/{file-retention-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
  157. package/dist/chunks/{file-retention-fg9p65nk.js → location-lifecycle-fg9p65nk.js} +2 -2
  158. package/dist/chunks/location-lifecycle-fjbf6g7j.js +257 -0
  159. package/dist/chunks/{file-retention-2v29ms50.js → location-lifecycle-fjnek5t9.js} +17 -17
  160. package/dist/chunks/{file-retention-yztxn572.js → location-lifecycle-fppgtez7.js} +4 -4
  161. package/dist/chunks/{file-retention-7kf2nsex.js → location-lifecycle-fv2mwt24.js} +8 -8
  162. package/dist/chunks/{file-retention-pnwsrq7c.js → location-lifecycle-g5vwevgv.js} +6 -6
  163. package/dist/chunks/{file-retention-g6dfma3d.js → location-lifecycle-g6dfma3d.js} +2 -2
  164. package/dist/chunks/{file-retention-ptdgs7e1.js → location-lifecycle-gdf9e5nr.js} +10 -10
  165. package/dist/chunks/{file-retention-h5tttybt.js → location-lifecycle-gdkva6ew.js} +19 -19
  166. package/dist/chunks/{file-retention-gg8p9cgs.js → location-lifecycle-gg8p9cgs.js} +3 -3
  167. package/dist/chunks/{file-retention-0d5wzp0a.js → location-lifecycle-gkhdbsyv.js} +30 -30
  168. package/dist/chunks/{file-retention-vtftkppy.js → location-lifecycle-gvaq4yqr.js} +33 -33
  169. package/dist/chunks/{file-retention-dzpz9w51.js → location-lifecycle-gxk2tgx6.js} +21 -21
  170. package/dist/chunks/{file-retention-e486tjyp.js → location-lifecycle-h07nre7q.js} +5 -5
  171. package/dist/chunks/{file-retention-ryddx2hx.js → location-lifecycle-h0w0dvbv.js} +24 -24
  172. package/dist/chunks/{file-retention-4en8p6w3.js → location-lifecycle-h7k1evsd.js} +10 -10
  173. package/dist/chunks/{file-retention-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
  174. package/dist/chunks/{file-retention-bzk4ydrv.js → location-lifecycle-hnpmq22g.js} +80 -80
  175. package/dist/chunks/{file-retention-hpg1pkwy.js → location-lifecycle-hpg1pkwy.js} +1 -1
  176. package/dist/chunks/{file-retention-hqxkkta1.js → location-lifecycle-hqxkkta1.js} +1 -1
  177. package/dist/chunks/{file-retention-f6n5e1dm.js → location-lifecycle-j2qw4jfr.js} +12 -12
  178. package/dist/chunks/{file-retention-h9awvcw8.js → location-lifecycle-j5e5j1fe.js} +29 -29
  179. package/dist/chunks/{file-retention-rmt6m6se.js → location-lifecycle-jcqm84fr.js} +9 -9
  180. package/dist/chunks/{file-retention-jfaecv01.js → location-lifecycle-jfaecv01.js} +1 -1
  181. package/dist/chunks/{file-retention-mq7hpmjw.js → location-lifecycle-jscpe56m.js} +4 -4
  182. package/dist/chunks/{file-retention-jtnps1zs.js → location-lifecycle-jtnps1zs.js} +2 -2
  183. package/dist/chunks/{file-retention-6pnx88k5.js → location-lifecycle-k71e58vb.js} +15 -15
  184. package/dist/chunks/{file-retention-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
  185. package/dist/chunks/{file-retention-13ebf3mq.js → location-lifecycle-k8ebahnr.js} +2 -2
  186. package/dist/chunks/{file-retention-nbbcay66.js → location-lifecycle-k9sjb5tj.js} +9 -9
  187. package/dist/chunks/{file-retention-epbqh0vp.js → location-lifecycle-k9zkdd2y.js} +4 -4
  188. package/dist/chunks/{file-retention-jz9sppn7.js → location-lifecycle-kah2kh89.js} +4 -4
  189. package/dist/chunks/{file-retention-tzm99g9n.js → location-lifecycle-kpxd4fmz.js} +12 -12
  190. package/dist/chunks/{file-retention-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
  191. package/dist/chunks/{file-retention-79gnnek8.js → location-lifecycle-ktgnt9f7.js} +12 -12
  192. package/dist/chunks/{file-retention-tv6nmqg6.js → location-lifecycle-kyvzf8k6.js} +13 -13
  193. package/dist/chunks/{file-retention-m1714858.js → location-lifecycle-m1714858.js} +1 -1
  194. package/dist/chunks/{file-retention-m37sd98t.js → location-lifecycle-m37sd98t.js} +1 -1
  195. package/dist/chunks/{file-retention-qz7zdzmc.js → location-lifecycle-m7c897ds.js} +9 -9
  196. package/dist/chunks/{file-retention-x38q2hx0.js → location-lifecycle-m7taj7my.js} +16 -16
  197. package/dist/chunks/{file-retention-8r9nj4s8.js → location-lifecycle-m7xh3h0x.js} +4 -4
  198. package/dist/chunks/{file-retention-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{file-retention-wdj410na.js → location-lifecycle-ma2w25mf.js} +35 -35
  200. package/dist/chunks/{file-retention-8dnm6rqe.js → location-lifecycle-mhgygngq.js} +30 -30
  201. package/dist/chunks/{file-retention-h4v9p5rq.js → location-lifecycle-mq5c3q7z.js} +3 -3
  202. package/dist/chunks/{file-retention-ksbsws88.js → location-lifecycle-n0tytav9.js} +10 -10
  203. package/dist/chunks/{file-retention-wdx8z5j2.js → location-lifecycle-n2z4wya3.js} +8 -8
  204. package/dist/chunks/{file-retention-prdb4jtf.js → location-lifecycle-naagyz4k.js} +13 -13
  205. package/dist/chunks/{file-retention-nah043kf.js → location-lifecycle-nah043kf.js} +1 -1
  206. package/dist/chunks/{file-retention-v5h34zxn.js → location-lifecycle-nsw81et0.js} +6 -6
  207. package/dist/chunks/{file-retention-akjr89gm.js → location-lifecycle-nt8vvmqz.js} +5 -5
  208. package/dist/chunks/{file-retention-2n2jra7h.js → location-lifecycle-nx93drwx.js} +2 -2
  209. package/dist/chunks/{file-retention-4tsasp0w.js → location-lifecycle-nz52b13v.js} +11 -11
  210. package/dist/chunks/{file-retention-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
  211. package/dist/chunks/{file-retention-3ctwxhf6.js → location-lifecycle-p04ats16.js} +22 -22
  212. package/dist/chunks/{file-retention-tya21j9a.js → location-lifecycle-p6t1mk3h.js} +27 -27
  213. package/dist/chunks/{file-retention-nd9x6dx5.js → location-lifecycle-p83r9kgz.js} +7 -7
  214. package/dist/chunks/{file-retention-jb9hj9nr.js → location-lifecycle-pd760nvw.js} +6 -6
  215. package/dist/chunks/{file-retention-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  216. package/dist/chunks/{file-retention-aw4q487d.js → location-lifecycle-pqma0c1x.js} +22 -22
  217. package/dist/chunks/{file-retention-b2e3mpfn.js → location-lifecycle-pvq12naa.js} +11 -11
  218. package/dist/chunks/{file-retention-2jznjq70.js → location-lifecycle-q6jkkd8a.js} +11 -11
  219. package/dist/chunks/{file-retention-t9vygg4h.js → location-lifecycle-qffsp4dp.js} +12 -12
  220. package/dist/chunks/{file-retention-qp0h8mz4.js → location-lifecycle-qnfzdftk.js} +37 -37
  221. package/dist/chunks/{file-retention-qp7r0hxv.js → location-lifecycle-qp7r0hxv.js} +1 -1
  222. package/dist/chunks/{file-retention-3ryz99p0.js → location-lifecycle-qqg9c0kv.js} +4 -4
  223. package/dist/chunks/{file-retention-hrgy1ehp.js → location-lifecycle-qqjgh3pd.js} +3 -3
  224. package/dist/chunks/{file-retention-d6bett94.js → location-lifecycle-qrchdqsm.js} +26 -26
  225. package/dist/chunks/{file-retention-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
  226. package/dist/chunks/{file-retention-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
  227. package/dist/chunks/{file-retention-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
  228. package/dist/chunks/{file-retention-jyq1zm3m.js → location-lifecycle-rewpzk58.js} +33 -33
  229. package/dist/chunks/{file-retention-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
  230. package/dist/chunks/{file-retention-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
  231. package/dist/chunks/{file-retention-1tpd8jbg.js → location-lifecycle-sd1zaa0n.js} +50 -50
  232. package/dist/chunks/{file-retention-cap58psb.js → location-lifecycle-sfkyptjt.js} +8 -8
  233. package/dist/chunks/{file-retention-dnphr175.js → location-lifecycle-sph0zzny.js} +9 -9
  234. package/dist/chunks/{file-retention-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
  235. package/dist/chunks/{file-retention-z6te0x2y.js → location-lifecycle-ss8vbdea.js} +20 -20
  236. package/dist/chunks/{file-retention-d2887f8n.js → location-lifecycle-ssfehs1z.js} +4 -4
  237. package/dist/chunks/{file-retention-svcy3p9a.js → location-lifecycle-svcy3p9a.js} +1 -1
  238. package/dist/chunks/{file-retention-9grvd76r.js → location-lifecycle-sx2sqvt0.js} +5 -5
  239. package/dist/chunks/{file-retention-fd09956s.js → location-lifecycle-t1pqym7z.js} +4 -4
  240. package/dist/chunks/{file-retention-xaz3vqte.js → location-lifecycle-t2hws329.js} +4 -4
  241. package/dist/chunks/{file-retention-bg4dmm5d.js → location-lifecycle-t9bksnks.js} +15 -15
  242. package/dist/chunks/{file-retention-257338nf.js → location-lifecycle-tbc4hnjg.js} +18 -18
  243. package/dist/chunks/{file-retention-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{file-retention-h3hvekyy.js → location-lifecycle-td4w62pz.js} +11 -11
  245. package/dist/chunks/{file-retention-ydsespw1.js → location-lifecycle-tg1vr1qt.js} +8 -8
  246. package/dist/chunks/{file-retention-4p3hg7qr.js → location-lifecycle-tkre6f7h.js} +8 -8
  247. package/dist/chunks/{file-retention-zqfva1zy.js → location-lifecycle-tsjxkbkr.js} +1 -1
  248. package/dist/chunks/{file-retention-twssxy5n.js → location-lifecycle-twssxy5n.js} +2 -2
  249. package/dist/chunks/{file-retention-9c0sbrgq.js → location-lifecycle-txj1cky5.js} +2 -2
  250. package/dist/chunks/{file-retention-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
  251. package/dist/chunks/{file-retention-ed1jg8md.js → location-lifecycle-v3fdqrnt.js} +30 -30
  252. package/dist/chunks/{file-retention-xdjf2s1h.js → location-lifecycle-v4jvtg12.js} +16 -16
  253. package/dist/chunks/{file-retention-wmrfeaxa.js → location-lifecycle-vbbxgk2y.js} +16 -16
  254. package/dist/chunks/{file-retention-xmt6n58z.js → location-lifecycle-vd688y41.js} +9 -9
  255. package/dist/chunks/{file-retention-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  256. package/dist/chunks/{file-retention-zhvf8v5k.js → location-lifecycle-vpwrt4sc.js} +9 -9
  257. package/dist/chunks/{file-retention-tvbcxp3f.js → location-lifecycle-vxwyzzbd.js} +11 -11
  258. package/dist/chunks/{file-retention-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{file-retention-cbn5qz6c.js → location-lifecycle-w68dkr85.js} +16 -16
  260. package/dist/chunks/{file-retention-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{file-retention-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-retention-wc3hvwsb.js → location-lifecycle-wj9vsha4.js} +22 -22
  263. package/dist/chunks/{file-retention-wnhgecwx.js → location-lifecycle-wnhgecwx.js} +1 -1
  264. package/dist/chunks/{file-retention-wcjz4gw8.js → location-lifecycle-wpnx85ma.js} +13 -13
  265. package/dist/chunks/{file-retention-w687dnns.js → location-lifecycle-wr3re1en.js} +4 -4
  266. package/dist/chunks/{file-retention-qtgtdkvq.js → location-lifecycle-wrbwdch6.js} +8 -8
  267. package/dist/chunks/{file-retention-exqnczdn.js → location-lifecycle-x6nzn92d.js} +18 -18
  268. package/dist/chunks/{file-retention-w1ampmdn.js → location-lifecycle-xefdtv7r.js} +80 -80
  269. package/dist/chunks/{file-retention-17qfb74n.js → location-lifecycle-xj96h5e7.js} +11 -11
  270. package/dist/chunks/{file-retention-8jwdpn38.js → location-lifecycle-xjmr53ze.js} +14 -14
  271. package/dist/chunks/{file-retention-8p9z5v1r.js → location-lifecycle-xpdqwa24.js} +24 -24
  272. package/dist/chunks/{file-retention-nwyfjcs7.js → location-lifecycle-xppvscx0.js} +8 -8
  273. package/dist/chunks/{file-retention-ant32n8a.js → location-lifecycle-xrc94xg0.js} +17 -17
  274. package/dist/chunks/{file-retention-4exy2tgb.js → location-lifecycle-xwprm4rw.js} +66 -66
  275. package/dist/chunks/{file-retention-1npk31dn.js → location-lifecycle-y2nffz2s.js} +1 -1
  276. package/dist/chunks/{file-retention-ma8y8rx5.js → location-lifecycle-y3pjmv4z.js} +6 -6
  277. package/dist/chunks/{file-retention-b78pvnk0.js → location-lifecycle-y6nq6epw.js} +18 -18
  278. package/dist/chunks/{file-retention-abwhxwyy.js → location-lifecycle-y9eprydp.js} +3 -3
  279. package/dist/chunks/{file-retention-yara3q77.js → location-lifecycle-yara3q77.js} +2 -2
  280. package/dist/chunks/{file-retention-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{file-retention-97vq97zw.js → location-lifecycle-yj33kabs.js} +7 -7
  282. package/dist/chunks/{file-retention-mz3668s9.js → location-lifecycle-yk9hxnp0.js} +3 -3
  283. package/dist/chunks/{file-retention-3cgskxpq.js → location-lifecycle-ymz7p2c9.js} +3 -3
  284. package/dist/chunks/{file-retention-pdbk0b84.js → location-lifecycle-yqsq0g7e.js} +23 -23
  285. package/dist/chunks/{file-retention-vh7hpp0n.js → location-lifecycle-yy8k1hg2.js} +11 -11
  286. package/dist/chunks/{file-retention-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{file-retention-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
  288. package/dist/chunks/{file-retention-6ss6ngz0.js → location-lifecycle-zfyb5tr4.js} +4 -4
  289. package/dist/chunks/{file-retention-zgkm4kzm.js → location-lifecycle-zgkm4kzm.js} +3 -3
  290. package/dist/chunks/{file-retention-11fnx5ad.js → location-lifecycle-zgrqh63v.js} +3 -3
  291. package/dist/chunks/{file-retention-213ntr4e.js → location-lifecycle-zhks3cc0.js} +33 -33
  292. package/dist/chunks/{file-retention-bdady26x.js → location-lifecycle-zk6a9waq.js} +27 -27
  293. package/dist/chunks/{file-retention-bewng5xt.js → location-lifecycle-ztqw238r.js} +14 -14
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +92 -92
  300. package/dist/config/integration.js +3 -3
  301. package/dist/config/markdown.js +1 -1
  302. package/dist/config/normalize.js +107 -107
  303. package/dist/config/plugin/agent.js +123 -123
  304. package/dist/config/plugin/command.js +221 -221
  305. package/dist/config/plugin/compaction.js +162 -162
  306. package/dist/config/plugin/compatibility.js +142 -142
  307. package/dist/config/plugin/entry-observer.js +1 -1
  308. package/dist/config/plugin/formatter.js +122 -122
  309. package/dist/config/plugin/image.js +121 -121
  310. package/dist/config/plugin/instruction.js +121 -121
  311. package/dist/config/plugin/location-watcher.js +123 -123
  312. package/dist/config/plugin/mcp.js +130 -130
  313. package/dist/config/plugin/policy.js +123 -123
  314. package/dist/config/plugin/provider.js +122 -122
  315. package/dist/config/plugin/reference.js +123 -123
  316. package/dist/config/plugin/shell.js +121 -121
  317. package/dist/config/plugin/skill-file.js +138 -138
  318. package/dist/config/plugin/skill-scan.js +1 -1
  319. package/dist/config/plugin/skill.js +145 -145
  320. package/dist/config/plugin/snapshot.js +121 -121
  321. package/dist/config/plugin/source.js +124 -124
  322. package/dist/config/plugin/tool-output.js +122 -122
  323. package/dist/config/plugin/websearch.js +120 -120
  324. package/dist/config/plugin/worktree.js +123 -123
  325. package/dist/config/variable.js +1 -1
  326. package/dist/config/watch.js +1 -1
  327. package/dist/config.js +122 -122
  328. package/dist/console-access.js +1 -1
  329. package/dist/credential/sql.js +2 -2
  330. package/dist/credential.js +89 -89
  331. package/dist/database/database.js +72 -72
  332. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  333. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  335. package/dist/database/drizzle/index.js +15 -15
  336. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  339. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  346. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  347. package/dist/database/drizzle.js +16 -16
  348. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  349. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  350. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  351. package/dist/database/migration/20260225215848_workspace.js +1 -1
  352. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  353. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  354. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  355. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  356. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  357. package/dist/database/migration/20260323234822_events.js +1 -1
  358. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  359. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  360. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  361. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  362. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  363. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  364. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  365. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  366. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  367. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  368. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  369. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  370. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  371. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  372. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  373. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  374. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  375. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  376. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  377. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  378. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  379. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  380. package/dist/database/migration/20260611035744_credential.js +1 -1
  381. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  382. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  383. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  384. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  385. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  386. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  387. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  388. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  389. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  390. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  391. package/dist/database/migration/20260812213948_worktree.js +1 -1
  392. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  393. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  394. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  395. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  396. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  397. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  398. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  399. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  400. package/dist/database/migration/20261025123711_blob.js +1 -1
  401. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  402. package/dist/database/migration.gen.js +55 -55
  403. package/dist/database/migration.js +57 -57
  404. package/dist/database/path.js +2 -2
  405. package/dist/database/schema.gen.js +1 -1
  406. package/dist/database/schema.sql.js +1 -1
  407. package/dist/database/sqlite.bun.js +1 -1
  408. package/dist/database/sqlite.js +1 -1
  409. package/dist/database/sqlite.node.js +1 -1
  410. package/dist/database/sqlite.workerd.js +1 -1
  411. package/dist/database/v1-migration.bun.js +93 -93
  412. package/dist/database/v1-migration.js +1 -1
  413. package/dist/effect/app-node-builder.js +381 -381
  414. package/dist/effect/app-node-platform.js +2 -2
  415. package/dist/effect/keyed-mutex.js +3 -3
  416. package/dist/effect/websocket-constructor.js +1 -1
  417. package/dist/environment/driver.js +1 -1
  418. package/dist/environment/environment.js +101 -101
  419. package/dist/environment/exec-defaults.js +2 -2
  420. package/dist/environment/files.js +1 -1
  421. package/dist/environment/index.js +103 -103
  422. package/dist/environment/local.js +2 -2
  423. package/dist/environment/memory.js +2 -2
  424. package/dist/environment/unavailable.js +3 -3
  425. package/dist/event/sql.js +1 -1
  426. package/dist/event-logger.js +76 -76
  427. package/dist/file-access.js +148 -148
  428. package/dist/file-mutation.js +102 -102
  429. package/dist/file-retention.js +1 -1
  430. package/dist/filesystem/fff.bun.js +2 -2
  431. package/dist/filesystem/fff.js +1 -1
  432. package/dist/filesystem/fff.node.js +2 -2
  433. package/dist/filesystem/fff.workerd.js +2 -2
  434. package/dist/filesystem/file-watch.js +83 -83
  435. package/dist/filesystem/location-watcher-policy.js +6 -6
  436. package/dist/filesystem/location-watcher.js +234 -234
  437. package/dist/filesystem/protected.js +3 -3
  438. package/dist/filesystem/search.js +107 -107
  439. package/dist/filesystem/watcher-binding.js +1 -1
  440. package/dist/filesystem/watcher.js +9 -9
  441. package/dist/filesystem.js +110 -110
  442. package/dist/form.js +88 -88
  443. package/dist/formatter/builtins.js +2 -2
  444. package/dist/formatter.js +95 -95
  445. package/dist/generate.js +115 -115
  446. package/dist/git.js +7 -7
  447. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  448. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  449. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  451. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  453. package/dist/github-copilot/copilot-provider.js +17 -17
  454. package/dist/github-copilot/models.js +99 -99
  455. package/dist/github-copilot/openai-compatible-error.js +1 -1
  456. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  457. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  458. package/dist/github-copilot/responses/openai-error.js +1 -1
  459. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  460. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  461. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  462. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  463. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  464. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  466. package/dist/image/photon-normalize.js +1 -1
  467. package/dist/image/photon-worker.js +1 -1
  468. package/dist/image/photon.js +4 -4
  469. package/dist/image.js +6 -6
  470. package/dist/instance/service.js +5 -5
  471. package/dist/instance.js +372 -372
  472. package/dist/instruction-discovery.js +86 -86
  473. package/dist/instructions/builtins.js +95 -95
  474. package/dist/instructions/index.js +1 -1
  475. package/dist/integration/connection.js +3 -3
  476. package/dist/integration.js +93 -93
  477. package/dist/job.js +82 -82
  478. package/dist/kv/sql.js +2 -2
  479. package/dist/kv.js +79 -79
  480. package/dist/location-activity.js +163 -163
  481. package/dist/location-lifecycle.js +142 -142
  482. package/dist/location-service-map.js +94 -94
  483. package/dist/location-services.js +369 -369
  484. package/dist/location.js +89 -89
  485. package/dist/managed-policy.js +3 -3
  486. package/dist/mcp/client.js +99 -99
  487. package/dist/mcp/index.js +117 -117
  488. package/dist/mcp/instructions.js +168 -168
  489. package/dist/mcp/oauth.js +84 -84
  490. package/dist/mcp/socket-client.js +1 -1
  491. package/dist/mcp/stdio.js +98 -98
  492. package/dist/mime.js +1 -1
  493. package/dist/modal/models.js +99 -99
  494. package/dist/model-resolver.js +107 -107
  495. package/dist/model-retry.js +1 -1
  496. package/dist/model.js +102 -102
  497. package/dist/models-dev/v1.js +1 -1
  498. package/dist/models-dev.js +116 -116
  499. package/dist/oauth/page.js +1 -1
  500. package/dist/permission/saved.js +84 -84
  501. package/dist/permission/sql.js +5 -5
  502. package/dist/permission.js +143 -143
  503. package/dist/persistent-pty/binary.bun.js +1 -1
  504. package/dist/persistent-pty/daemon.js +1 -1
  505. package/dist/persistent-pty/index.js +90 -90
  506. package/dist/persistent-pty/pty-binding.js +1 -1
  507. package/dist/persistent-pty.js +81 -81
  508. package/dist/plugin/agent.js +82 -82
  509. package/dist/plugin/command.js +110 -110
  510. package/dist/plugin/hooks.js +5 -5
  511. package/dist/plugin/host.js +227 -227
  512. package/dist/plugin/identity.js +5 -5
  513. package/dist/plugin/instance.js +5 -5
  514. package/dist/plugin/internal.js +342 -342
  515. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  516. package/dist/plugin/models-dev.js +105 -105
  517. package/dist/plugin/module.js +123 -123
  518. package/dist/plugin/optimize.js +2 -2
  519. package/dist/plugin/plan.js +138 -138
  520. package/dist/plugin/promise.js +1 -1
  521. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  522. package/dist/plugin/provider/azure.js +121 -121
  523. package/dist/plugin/provider/cerebras.js +1 -1
  524. package/dist/plugin/provider/chatgpt.js +121 -121
  525. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  526. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  527. package/dist/plugin/provider/cohere.js +2 -2
  528. package/dist/plugin/provider/configured.js +117 -117
  529. package/dist/plugin/provider/databricks.js +1 -1
  530. package/dist/plugin/provider/digitalocean.js +101 -101
  531. package/dist/plugin/provider/dynamic.js +2 -2
  532. package/dist/plugin/provider/factory.js +1 -1
  533. package/dist/plugin/provider/github-copilot.js +103 -103
  534. package/dist/plugin/provider/gitlab.js +101 -101
  535. package/dist/plugin/provider/google-vertex.js +118 -118
  536. package/dist/plugin/provider/kilo.js +1 -1
  537. package/dist/plugin/provider/llmgateway.js +84 -84
  538. package/dist/plugin/provider/lmstudio.js +130 -130
  539. package/dist/plugin/provider/local.js +127 -127
  540. package/dist/plugin/provider/modal.js +100 -100
  541. package/dist/plugin/provider/neon.js +1 -1
  542. package/dist/plugin/provider/nvidia.js +1 -1
  543. package/dist/plugin/provider/ollama.js +130 -130
  544. package/dist/plugin/provider/openai-context-caps.js +98 -98
  545. package/dist/plugin/provider/openai.js +121 -121
  546. package/dist/plugin/provider/opencode.js +124 -124
  547. package/dist/plugin/provider/openrouter.js +99 -99
  548. package/dist/plugin/provider/perplexity.js +2 -2
  549. package/dist/plugin/provider/poe.js +85 -85
  550. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  551. package/dist/plugin/provider/sap-ai-core.js +99 -99
  552. package/dist/plugin/provider/sdk-factory.js +1 -1
  553. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  554. package/dist/plugin/provider/vercel.js +98 -98
  555. package/dist/plugin/provider/vllm.js +130 -130
  556. package/dist/plugin/provider/xai.js +99 -99
  557. package/dist/plugin/provider/zenmux.js +1 -1
  558. package/dist/plugin/provider.js +175 -175
  559. package/dist/plugin/sdk.js +82 -82
  560. package/dist/plugin/service.js +3 -3
  561. package/dist/plugin/skill.js +141 -141
  562. package/dist/plugin/source-directory.js +1 -1
  563. package/dist/plugin/supervisor.js +359 -359
  564. package/dist/plugin/tool-input-repair.js +4 -4
  565. package/dist/plugin/update.js +6 -6
  566. package/dist/plugin/vcs/git.js +94 -94
  567. package/dist/plugin/vcs/hg.js +94 -94
  568. package/dist/plugin/verbosity.js +101 -101
  569. package/dist/plugin/warming.js +119 -119
  570. package/dist/plugin/websearch/exa.js +5 -5
  571. package/dist/plugin/websearch/firecrawl.js +6 -6
  572. package/dist/plugin/websearch/index.js +9 -9
  573. package/dist/plugin/websearch/mcp.js +4 -4
  574. package/dist/plugin/websearch/parallel.js +8 -8
  575. package/dist/plugin/websearch/tavily.js +6 -6
  576. package/dist/plugin/websearch/tinyfish.js +8 -8
  577. package/dist/plugin.js +236 -236
  578. package/dist/project/icon.js +5 -5
  579. package/dist/project/schema.js +2 -2
  580. package/dist/project/sql.js +4 -4
  581. package/dist/project.js +88 -88
  582. package/dist/provider.js +101 -101
  583. package/dist/pty/protocol.js +1 -1
  584. package/dist/pty/ticket.js +1 -1
  585. package/dist/pty.js +106 -106
  586. package/dist/reference/instructions.js +96 -96
  587. package/dist/reference.js +98 -98
  588. package/dist/repository-cache.js +88 -88
  589. package/dist/repository.js +1 -1
  590. package/dist/ripgrep/binary.js +2 -2
  591. package/dist/ripgrep.js +105 -105
  592. package/dist/rpc.js +94 -94
  593. package/dist/schema.js +1 -1
  594. package/dist/session/affinity.js +1 -1
  595. package/dist/session/blob.js +120 -120
  596. package/dist/session/command.js +80 -80
  597. package/dist/session/compaction.js +164 -164
  598. package/dist/session/context.js +188 -188
  599. package/dist/session/diff.js +96 -96
  600. package/dist/session/environment.js +5 -5
  601. package/dist/session/error.js +5 -5
  602. package/dist/session/event.js +1 -1
  603. package/dist/session/execution/restart.js +228 -228
  604. package/dist/session/execution.js +154 -154
  605. package/dist/session/generate.js +188 -188
  606. package/dist/session/history.js +127 -127
  607. package/dist/session/inbox.js +140 -140
  608. package/dist/session/info.js +3 -3
  609. package/dist/session/instruction-entry.js +85 -85
  610. package/dist/session/instruction-state.js +8 -8
  611. package/dist/session/instructions.js +128 -128
  612. package/dist/session/message-updater.js +2 -2
  613. package/dist/session/message.js +1 -1
  614. package/dist/session/model-request.js +155 -155
  615. package/dist/session/model-transport.js +9 -9
  616. package/dist/session/move.js +156 -156
  617. package/dist/session/projector.js +134 -134
  618. package/dist/session/prompt.js +140 -140
  619. package/dist/session/recent-text.js +1 -1
  620. package/dist/session/revert.js +130 -130
  621. package/dist/session/run-coordinator.js +3 -3
  622. package/dist/session/runner/index.js +3 -3
  623. package/dist/session/runner/llm.js +238 -238
  624. package/dist/session/runner/max-steps.js +1 -1
  625. package/dist/session/runner/model.js +108 -108
  626. package/dist/session/runner/publish-llm-event.js +141 -141
  627. package/dist/session/runner/retry.js +3 -3
  628. package/dist/session/runner/step.js +152 -152
  629. package/dist/session/runner/to-llm-message.js +128 -128
  630. package/dist/session/schema.js +1 -1
  631. package/dist/session/session.js +170 -170
  632. package/dist/session/shell.js +135 -135
  633. package/dist/session/skill.js +139 -139
  634. package/dist/session/sql.js +5 -5
  635. package/dist/session/stats.js +79 -79
  636. package/dist/session/store.js +133 -133
  637. package/dist/session/stored.js +2 -2
  638. package/dist/session/subagent-completion.js +1 -1
  639. package/dist/session/subagent-job.js +215 -215
  640. package/dist/session/system-prompt.js +1 -1
  641. package/dist/session/title.js +190 -190
  642. package/dist/session/to-session-error.js +140 -140
  643. package/dist/session/transfer.js +219 -219
  644. package/dist/session/usage.js +1 -1
  645. package/dist/session.js +221 -221
  646. package/dist/shell/parse.js +6 -6
  647. package/dist/shell/result.js +1 -1
  648. package/dist/shell/scan.js +1 -1
  649. package/dist/shell/select.js +9 -9
  650. package/dist/shell.js +137 -137
  651. package/dist/skill/discovery.js +6 -6
  652. package/dist/skill/instructions.js +143 -143
  653. package/dist/skill.js +148 -148
  654. package/dist/snapshot.js +101 -101
  655. package/dist/state.js +1 -1
  656. package/dist/tool/html-markdown.js +1 -1
  657. package/dist/tool/http-body.js +1 -1
  658. package/dist/tool/mcp.js +167 -167
  659. package/dist/tool/plugin/edit.js +150 -150
  660. package/dist/tool/plugin/file-diff.js +1 -1
  661. package/dist/tool/plugin/glob.js +158 -158
  662. package/dist/tool/plugin/grep.js +160 -160
  663. package/dist/tool/plugin/mcp-resource.js +154 -154
  664. package/dist/tool/plugin/opencode.js +153 -153
  665. package/dist/tool/plugin/patch.js +152 -152
  666. package/dist/tool/plugin/question.js +138 -138
  667. package/dist/tool/plugin/read.js +161 -161
  668. package/dist/tool/plugin/shell.js +222 -222
  669. package/dist/tool/plugin/skill.js +147 -147
  670. package/dist/tool/plugin/subagent.js +226 -226
  671. package/dist/tool/plugin/todo.js +145 -145
  672. package/dist/tool/plugin/webfetch.js +147 -147
  673. package/dist/tool/plugin/websearch.js +143 -143
  674. package/dist/tool/plugin/write.js +154 -154
  675. package/dist/tool/read-filesystem.js +110 -110
  676. package/dist/tool/runtime.js +1 -1
  677. package/dist/tool-output.js +7 -7
  678. package/dist/tool.js +14 -14
  679. package/dist/usage-limits.js +95 -95
  680. package/dist/util/error-summary.js +1 -1
  681. package/dist/util/git-executable.js +3 -3
  682. package/dist/util/lazy.js +1 -1
  683. package/dist/util/slug.js +1 -1
  684. package/dist/util/token.js +1 -1
  685. package/dist/util/which.js +1 -1
  686. package/dist/util/wildcard.js +1 -1
  687. package/dist/v1/config/agent.js +5 -5
  688. package/dist/v1/config/command.js +3 -3
  689. package/dist/v1/config/mcp.js +4 -4
  690. package/dist/v1/config/migrate.js +100 -100
  691. package/dist/v1/config/permission.js +1 -1
  692. package/dist/v1/config/plugin.js +1 -1
  693. package/dist/v1/config/provider-options.js +1 -1
  694. package/dist/v1/config/provider.js +4 -4
  695. package/dist/variant.js +99 -99
  696. package/dist/vcs/patch.js +1 -1
  697. package/dist/vcs.js +97 -97
  698. package/dist/voice.js +96 -96
  699. package/dist/websearch.js +88 -88
  700. package/dist/wellknown/plugin.js +82 -82
  701. package/dist/wellknown.js +85 -85
  702. package/dist/workspace/driver.js +3 -3
  703. package/dist/workspace/sql.js +1 -1
  704. package/dist/workspace.js +86 -86
  705. package/dist/worktree/directory.js +2 -2
  706. package/dist/worktree/git.js +11 -11
  707. package/dist/worktree/sql.js +5 -5
  708. package/dist/worktree/strategies.js +97 -97
  709. package/dist/worktree.js +108 -108
  710. package/package.json +8 -8
  711. package/dist/chunks/file-retention-f8ma18fn.js +0 -18
  712. package/dist/chunks/file-retention-fb3r9cnw.js +0 -26
  713. package/dist/chunks/file-retention-p44nm9sv.js +0 -257
  714. package/dist/chunks/file-retention-sd7aqspp.js +0 -511
  715. /package/dist/chunks/{file-retention-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  716. /package/dist/chunks/{file-retention-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  717. /package/dist/chunks/{file-retention-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  718. /package/dist/chunks/{file-retention-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  719. /package/dist/chunks/{file-retention-1jakw16s.js → location-lifecycle-1jakw16s.js} +0 -0
  720. /package/dist/chunks/{file-retention-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  721. /package/dist/chunks/{file-retention-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  722. /package/dist/chunks/{file-retention-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
  723. /package/dist/chunks/{file-retention-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  724. /package/dist/chunks/{file-retention-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  725. /package/dist/chunks/{file-retention-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  726. /package/dist/chunks/{file-retention-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  727. /package/dist/chunks/{file-retention-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  728. /package/dist/chunks/{file-retention-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  729. /package/dist/chunks/{file-retention-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  730. /package/dist/chunks/{file-retention-4m86bj6y.js → location-lifecycle-4m86bj6y.js} +0 -0
  731. /package/dist/chunks/{file-retention-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  732. /package/dist/chunks/{file-retention-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  733. /package/dist/chunks/{file-retention-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  734. /package/dist/chunks/{file-retention-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  735. /package/dist/chunks/{file-retention-5w3e23ze.js → location-lifecycle-5w3e23ze.js} +0 -0
  736. /package/dist/chunks/{file-retention-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  737. /package/dist/chunks/{file-retention-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  738. /package/dist/chunks/{file-retention-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  739. /package/dist/chunks/{file-retention-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  740. /package/dist/chunks/{file-retention-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  741. /package/dist/chunks/{file-retention-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
  742. /package/dist/chunks/{file-retention-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  743. /package/dist/chunks/{file-retention-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  744. /package/dist/chunks/{file-retention-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  745. /package/dist/chunks/{file-retention-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  746. /package/dist/chunks/{file-retention-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  747. /package/dist/chunks/{file-retention-a058387c.js → location-lifecycle-a058387c.js} +0 -0
  748. /package/dist/chunks/{file-retention-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  749. /package/dist/chunks/{file-retention-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  750. /package/dist/chunks/{file-retention-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  751. /package/dist/chunks/{file-retention-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  752. /package/dist/chunks/{file-retention-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  753. /package/dist/chunks/{file-retention-beh6qq61.js → location-lifecycle-beh6qq61.js} +0 -0
  754. /package/dist/chunks/{file-retention-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  755. /package/dist/chunks/{file-retention-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  756. /package/dist/chunks/{file-retention-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  757. /package/dist/chunks/{file-retention-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
  758. /package/dist/chunks/{file-retention-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  759. /package/dist/chunks/{file-retention-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  760. /package/dist/chunks/{file-retention-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  761. /package/dist/chunks/{file-retention-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  762. /package/dist/chunks/{file-retention-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  763. /package/dist/chunks/{file-retention-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  764. /package/dist/chunks/{file-retention-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  765. /package/dist/chunks/{file-retention-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  766. /package/dist/chunks/{file-retention-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  767. /package/dist/chunks/{file-retention-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  768. /package/dist/chunks/{file-retention-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  769. /package/dist/chunks/{file-retention-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  770. /package/dist/chunks/{file-retention-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  771. /package/dist/chunks/{file-retention-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  772. /package/dist/chunks/{file-retention-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  773. /package/dist/chunks/{file-retention-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  774. /package/dist/chunks/{file-retention-fkpq3x5p.js → location-lifecycle-fkpq3x5p.js} +0 -0
  775. /package/dist/chunks/{file-retention-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  776. /package/dist/chunks/{file-retention-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  777. /package/dist/chunks/{file-retention-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  778. /package/dist/chunks/{file-retention-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  779. /package/dist/chunks/{file-retention-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
  780. /package/dist/chunks/{file-retention-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  781. /package/dist/chunks/{file-retention-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  782. /package/dist/chunks/{file-retention-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  783. /package/dist/chunks/{file-retention-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  784. /package/dist/chunks/{file-retention-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  785. /package/dist/chunks/{file-retention-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  786. /package/dist/chunks/{file-retention-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
  787. /package/dist/chunks/{file-retention-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
  788. /package/dist/chunks/{file-retention-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  789. /package/dist/chunks/{file-retention-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
  790. /package/dist/chunks/{file-retention-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  791. /package/dist/chunks/{file-retention-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  792. /package/dist/chunks/{file-retention-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  793. /package/dist/chunks/{file-retention-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  794. /package/dist/chunks/{file-retention-ncqqe42p.js → location-lifecycle-ncqqe42p.js} +0 -0
  795. /package/dist/chunks/{file-retention-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  796. /package/dist/chunks/{file-retention-p71gwv9c.js → location-lifecycle-p71gwv9c.js} +0 -0
  797. /package/dist/chunks/{file-retention-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  798. /package/dist/chunks/{file-retention-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  799. /package/dist/chunks/{file-retention-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  800. /package/dist/chunks/{file-retention-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  801. /package/dist/chunks/{file-retention-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  802. /package/dist/chunks/{file-retention-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  803. /package/dist/chunks/{file-retention-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  804. /package/dist/chunks/{file-retention-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  805. /package/dist/chunks/{file-retention-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  806. /package/dist/chunks/{file-retention-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  807. /package/dist/chunks/{file-retention-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
  808. /package/dist/chunks/{file-retention-vpm8vpz0.js → location-lifecycle-vpm8vpz0.js} +0 -0
  809. /package/dist/chunks/{file-retention-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{file-retention-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{file-retention-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{file-retention-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  813. /package/dist/chunks/{file-retention-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  814. /package/dist/chunks/{file-retention-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  815. /package/dist/chunks/{file-retention-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  816. /package/dist/chunks/{file-retention-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  817. /package/dist/chunks/{file-retention-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  818. /package/dist/chunks/{file-retention-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  819. /package/dist/chunks/{file-retention-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  820. /package/dist/chunks/{file-retention-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service40,
3
- node42,
2
+ Service62,
3
+ node65,
4
4
  canonical3
5
- } from "./file-retention-dnphr175.js";
5
+ } from "./location-lifecycle-sph0zzny.js";
6
6
  import {
7
- Service35,
8
- node37
9
- } from "./file-retention-51d35nkj.js";
7
+ Service55,
8
+ node58
9
+ } from "./location-lifecycle-89sdcr2v.js";
10
10
  import {
11
- Service17
12
- } from "./file-retention-bdady26x.js";
11
+ Service60
12
+ } from "./location-lifecycle-zk6a9waq.js";
13
13
  import {
14
14
  layer2
15
- } from "./file-retention-p44nm9sv.js";
15
+ } from "./location-lifecycle-fjbf6g7j.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service40, Effect.gen(function* () {
20
+ return Layer.effect(Service62, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service17);
30
+ const lifecycle = Context.get(exit.value, Service60);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
58
58
  }).pipe(Effect.uninterruptible)
59
59
  };
60
60
  const bindings = [
61
- node37.replace(Layer.succeed(Service35, {
61
+ node58.replace(Layer.succeed(Service55, {
62
62
  provide: (session) => Effect.provide(map.get(session.location))
63
63
  })),
64
64
  ...replacements,
65
- node42.replace(Layer.succeed(Service40, map))
65
+ node65.replace(Layer.succeed(Service62, map))
66
66
  ];
67
67
  return map;
68
68
  }));
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./location-lifecycle-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./file-retention-858yc3fz.js";
6
+ } from "./location-lifecycle-55gbafn6.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./location-lifecycle-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3,
16
+ names: () => names4,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names3 = ["opencode.json", "opencode.jsonc"];
26
+ var names4 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./location-lifecycle-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./file-retention-858yc3fz.js";
6
+ } from "./location-lifecycle-55gbafn6.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./file-retention-svcy3p9a.js";
9
+ } from "./location-lifecycle-svcy3p9a.js";
10
10
  import {
11
- Service60
12
- } from "./file-retention-aw4q487d.js";
11
+ Service64
12
+ } from "./location-lifecycle-pqma0c1x.js";
13
13
  import {
14
14
  Service11
15
- } from "./file-retention-x08t3gav.js";
15
+ } from "./location-lifecycle-26gw3n1w.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service37
26
- } from "./file-retention-6617bgsd.js";
25
+ Service28
26
+ } from "./location-lifecycle-77mevfn5.js";
27
27
  import {
28
28
  __export
29
- } from "./file-retention-9rqn6x4v.js";
29
+ } from "./location-lifecycle-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input4,
35
- Plugin: () => Plugin40,
34
+ Input: () => Input5,
35
+ Plugin: () => Plugin39,
36
36
  ReadTool: () => exports_read,
37
- name: () => name4,
38
- toModelContent: () => toModelContent3
37
+ name: () => name5,
38
+ toModelContent: () => toModelContent2
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name4 = "read";
44
+ var name5 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input4 = LocationInput;
55
+ var Input5 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin40 = {
57
+ var Plugin39 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service37;
61
- const access = yield* Service60;
60
+ const reader = yield* Service28;
61
+ const access = yield* Service64;
62
62
  const sessionInstructions = yield* Service11;
63
63
  const fs = yield* FSUtil.Service;
64
64
  const location = yield* Service82;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name4,
66
+ name: name5,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input4,
69
+ input: Input5,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin40 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent3(result.path, input.offset, result.output),
113
+ content: toModelContent2(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent3 = (path, offset, output) => {
146
+ var toModelContent2 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name4, Input4, Plugin40, toModelContent3, exports_read };
182
+ export { name5, Input5, Plugin39, toModelContent2, exports_read };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-retention-mq7hpmjw.js";
4
+ } from "./location-lifecycle-jscpe56m.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-retention-bstexjd6.js";
11
+ } from "./location-lifecycle-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-retention-z5v4ffb3.js";
14
+ } from "./location-lifecycle-z5v4ffb3.js";
15
15
  import {
16
- Service58,
17
- node61
18
- } from "./file-retention-2v29ms50.js";
16
+ Service47,
17
+ node51
18
+ } from "./location-lifecycle-fjnek5t9.js";
19
19
  import {
20
20
  changes2,
21
21
  create3
22
- } from "./file-retention-204s3925.js";
22
+ } from "./location-lifecycle-204s3925.js";
23
23
  import {
24
24
  __export
25
- } from "./file-retention-9rqn6x4v.js";
25
+ } from "./location-lifecycle-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event8,
30
+ Event: () => Event7,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info9,
32
+ Info: () => Info8,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service45,
36
- Source: () => Source4,
37
- node: () => node48
35
+ Service: () => Service32,
36
+ Source: () => Source3,
37
+ node: () => node35
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event8 } from "@opencode/schema/reference";
43
+ import { Event as Event7 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
- var Source4 = Reference.Source;
47
- var Info9 = Reference.Info;
46
+ var Source3 = Reference.Source;
47
+ var Info8 = Reference.Info;
48
48
 
49
- class Service45 extends Context.Service()("@opencode/Reference") {
49
+ class Service32 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service45, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
53
  const bus = yield* Service85;
54
- const cache = yield* Service58;
54
+ const cache = yield* Service47;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info9.make({ ...info, path: source.path })];
64
+ return [Info8.make({ ...info, path: source.path })];
65
65
  const repository = parse4(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info9.make({
76
+ Info8.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service45.of({
108
+ return Service32.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node48 = makeLocationNode({
117
- service: Service45,
116
+ var node35 = makeLocationNode({
117
+ service: Service32,
118
118
  layer,
119
- deps: [Global.node, node89, node61]
119
+ deps: [Global.node, node89, node51]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source4, Info9, Service45, node48, exports_reference2, Event8 };
122
+ export { LocalSource2, GitSource2, Source3, Info8, Service32, node35, exports_reference2, Event7 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-4en8p6w3.js";
3
+ } from "./location-lifecycle-h7k1evsd.js";
4
4
  import {
5
5
  call2
6
- } from "./file-retention-5enarcya.js";
6
+ } from "./location-lifecycle-40za9wsf.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./location-lifecycle-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin25,
14
+ Plugin: () => Plugin7,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin25 = define({
40
+ var Plugin7 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin25 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin25, exports_firecrawl };
80
+ export { endpoint5, Plugin7, exports_firecrawl };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./file-retention-1kn6jdkn.js";
6
+ } from "./location-lifecycle-1kn6jdkn.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./file-retention-qp0h8mz4.js";
9
+ } from "./location-lifecycle-qnfzdftk.js";
10
10
  import {
11
- Service31,
12
- node34
13
- } from "./file-retention-n4mbpr34.js";
11
+ Service27,
12
+ node30
13
+ } from "./location-lifecycle-7tj1474e.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./file-retention-wdj410na.js";
16
+ name15
17
+ } from "./location-lifecycle-ma2w25mf.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./location-lifecycle-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service22,
27
- layer: () => layer9,
28
- node: () => node26
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service25,
27
+ layer: () => layer13,
28
+ node: () => node28
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,11 +65,11 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service22 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service25 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer9 = Layer.effect(Service22, Effect.gen(function* () {
71
- const mcp = yield* Service31;
72
- return Service22.of({
70
+ var layer13 = Layer.effect(Service25, Effect.gen(function* () {
71
+ const mcp = yield* Service27;
72
+ return Service25.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
74
  const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
@@ -88,7 +88,7 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
88
88
  const visible = instructions.flatMap((item) => {
89
89
  const owned = tools.filter((tool) => tool.server === item.server);
90
90
  const codemode = canExecute && owned[0]?.codemode !== false;
91
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
91
+ if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
92
92
  return [];
93
93
  return [
94
94
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -98,6 +98,6 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
98
98
  })
99
99
  });
100
100
  }));
101
- var node26 = makeLocationNode({ service: Service22, layer: layer9, deps: [node34] });
101
+ var node28 = makeLocationNode({ service: Service25, layer: layer13, deps: [node30] });
102
102
 
103
- export { Service22, layer9, node26, exports_instructions2 };
103
+ export { Service25, layer13, node28, exports_instructions4 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-retention-svcy3p9a.js";
5
+ } from "./location-lifecycle-svcy3p9a.js";
6
6
  import {
7
7
  __export
8
- } from "./file-retention-9rqn6x4v.js";
8
+ } from "./location-lifecycle-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service63
3
- } from "./file-retention-qp0h8mz4.js";
2
+ Service65
3
+ } from "./location-lifecycle-qnfzdftk.js";
4
4
  import {
5
- ID4,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service41
10
- } from "./file-retention-b27sr8xw.js";
9
+ Service35
10
+ } from "./location-lifecycle-aweea5r7.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./location-lifecycle-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input9,
19
- Output: () => Output6,
20
- Plugin: () => Plugin45,
18
+ Input: () => Input4,
19
+ Output: () => Output3,
20
+ Plugin: () => Plugin38,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description4,
23
- name: () => name9,
22
+ description: () => description3,
23
+ name: () => name4,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai/effect";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name9 = "skill";
30
- var Input9 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name4 = "skill";
30
+ var Input4 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output3 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description4 = [
38
+ var description3 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin45 = {
46
+ var Plugin38 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service41;
51
- const permission = yield* Service63;
50
+ const skills = yield* Service35;
51
+ const permission = yield* Service65;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name9,
53
+ name: name4,
54
54
  options: { codemode: false },
55
- description: description4,
56
- input: Input9,
57
- output: Output6,
55
+ description: description3,
56
+ input: Input4,
57
+ output: Output3,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name9,
64
+ action: name4,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin45 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output6, description4, toModelOutput2, Plugin45, exports_skill3 };
82
+ export { name4, Input4, Output3, description3, toModelOutput2, Plugin38, exports_skill3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./location-lifecycle-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};