@opencode/core 0.0.0-dev-21795 → 0.0.0-dev-21798

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{managed-policy-4fx8k1s6.js → model-retry-050d3ay8.js} +21 -21
  8. package/dist/chunks/{managed-policy-mchxfxvw.js → model-retry-06vpm9gp.js} +5 -5
  9. package/dist/chunks/{managed-policy-yc4ja266.js → model-retry-0ht9hdz1.js} +18 -18
  10. package/dist/chunks/{managed-policy-96fsyy14.js → model-retry-0jvkxj1w.js} +14 -14
  11. package/dist/chunks/{managed-policy-fgkarqjp.js → model-retry-0wwnb14f.js} +22 -22
  12. package/dist/chunks/{managed-policy-kttwta8x.js → model-retry-0xhfrmwt.js} +24 -24
  13. package/dist/chunks/{managed-policy-1pfp6hjn.js → model-retry-100payr0.js} +14 -14
  14. package/dist/chunks/{managed-policy-6v9rn0ba.js → model-retry-10jcw8d8.js} +27 -27
  15. package/dist/chunks/{managed-policy-aynbw0zy.js → model-retry-125y49va.js} +11 -11
  16. package/dist/chunks/{managed-policy-ckq7ezzg.js → model-retry-17r689qp.js} +34 -34
  17. package/dist/chunks/{managed-policy-g3pptkv5.js → model-retry-17tax46a.js} +24 -24
  18. package/dist/chunks/{managed-policy-7pghdm2f.js → model-retry-1cmbb7v6.js} +31 -31
  19. package/dist/chunks/{managed-policy-14txj3e5.js → model-retry-1v37p8m9.js} +3 -3
  20. package/dist/chunks/{managed-policy-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{managed-policy-1y0wdj51.js → model-retry-1y0wdj51.js} +1 -1
  22. package/dist/chunks/{managed-policy-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{managed-policy-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
  24. package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
  25. package/dist/chunks/{managed-policy-5zcvddpv.js → model-retry-2emwncdy.js} +29 -29
  26. package/dist/chunks/{managed-policy-mj47herm.js → model-retry-2kw25s9z.js} +12 -12
  27. package/dist/chunks/{managed-policy-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{managed-policy-xsbcx01h.js → model-retry-3459c4aq.js} +17 -17
  29. package/dist/chunks/{managed-policy-g6dfma3d.js → model-retry-36qx82yz.js} +6 -6
  30. package/dist/chunks/{managed-policy-s3ezegtz.js → model-retry-376fvw41.js} +16 -16
  31. package/dist/chunks/{managed-policy-pfmze3yn.js → model-retry-37sdb7g6.js} +26 -26
  32. package/dist/chunks/{managed-policy-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
  33. package/dist/chunks/{managed-policy-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{managed-policy-3dp3y17e.js → model-retry-3j5fsnm8.js} +68 -68
  35. package/dist/chunks/{managed-policy-afmnpta1.js → model-retry-3kdbrncp.js} +5 -5
  36. package/dist/chunks/{managed-policy-3n7egtfq.js → model-retry-3m5yrge5.js} +11 -11
  37. package/dist/chunks/{managed-policy-1yv6gjd4.js → model-retry-3njs8ewd.js} +5 -5
  38. package/dist/chunks/{managed-policy-waq4kccd.js → model-retry-3qxfjpzy.js} +26 -26
  39. package/dist/chunks/{managed-policy-mbfac0q8.js → model-retry-3rc6xfjm.js} +7 -7
  40. package/dist/chunks/{managed-policy-d1vrg4at.js → model-retry-3rvfd2p4.js} +35 -35
  41. package/dist/chunks/{managed-policy-c1fej57t.js → model-retry-3vdwfrk9.js} +5 -5
  42. package/dist/chunks/{managed-policy-csb4wctr.js → model-retry-3vz2yars.js} +23 -23
  43. package/dist/chunks/{managed-policy-4nz8cp64.js → model-retry-44kmfwta.js} +20 -20
  44. package/dist/chunks/{managed-policy-97cewran.js → model-retry-456hh3yw.js} +6 -6
  45. package/dist/chunks/model-retry-4eh702yp.js +261 -0
  46. package/dist/chunks/{managed-policy-k1ss8rm4.js → model-retry-4nff539t.js} +45 -45
  47. package/dist/chunks/{managed-policy-51jhpxmm.js → model-retry-4tpkt9ke.js} +19 -19
  48. package/dist/chunks/{managed-policy-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  49. package/dist/chunks/{managed-policy-dxfx83kj.js → model-retry-4xkwq58b.js} +19 -19
  50. package/dist/chunks/{managed-policy-5bn25yvx.js → model-retry-5h6jm490.js} +9 -9
  51. package/dist/chunks/{managed-policy-m5t3njjp.js → model-retry-5j9j26xw.js} +11 -11
  52. package/dist/chunks/{managed-policy-j5ekttm8.js → model-retry-5jzmzpz9.js} +46 -46
  53. package/dist/chunks/{managed-policy-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{managed-policy-b6vsg801.js → model-retry-5nnwax6m.js} +5 -5
  55. package/dist/chunks/{managed-policy-w7zjqt6n.js → model-retry-5p205wab.js} +4 -4
  56. package/dist/chunks/{managed-policy-1n4z0p15.js → model-retry-5snh3nsf.js} +54 -54
  57. package/dist/chunks/{managed-policy-frmwq4jb.js → model-retry-5v8dvpa5.js} +4 -4
  58. package/dist/chunks/{managed-policy-kygz8tjd.js → model-retry-5z33grs6.js} +18 -18
  59. package/dist/chunks/{managed-policy-0zq9v72r.js → model-retry-61g7nd3s.js} +10 -10
  60. package/dist/chunks/{managed-policy-pzmysmsy.js → model-retry-64t4yar7.js} +9 -9
  61. package/dist/chunks/{managed-policy-gf8234ax.js → model-retry-67q20rmp.js} +5 -5
  62. package/dist/chunks/{managed-policy-baphfknr.js → model-retry-67szgq6z.js} +13 -13
  63. package/dist/chunks/{managed-policy-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{managed-policy-pkv6rmrq.js → model-retry-6g7mppbr.js} +9 -9
  65. package/dist/chunks/{managed-policy-9p83n4ag.js → model-retry-6nwz34t5.js} +11 -11
  66. package/dist/chunks/{managed-policy-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  67. package/dist/chunks/{managed-policy-8ht73479.js → model-retry-72anbrp0.js} +34 -34
  68. package/dist/chunks/{managed-policy-25ngw1b7.js → model-retry-72at9y79.js} +15 -15
  69. package/dist/chunks/{managed-policy-g644dnqe.js → model-retry-73rh2vq1.js} +28 -28
  70. package/dist/chunks/{managed-policy-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  71. package/dist/chunks/{managed-policy-vgk61ywp.js → model-retry-799ckdtf.js} +9 -9
  72. package/dist/chunks/{managed-policy-ymtqdgzg.js → model-retry-7bk0syww.js} +11 -11
  73. package/dist/chunks/{managed-policy-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{managed-policy-c7ce2teg.js → model-retry-7emqhgyb.js} +15 -15
  75. package/dist/chunks/{managed-policy-d1r5081s.js → model-retry-7r0r50e5.js} +5 -5
  76. package/dist/chunks/{managed-policy-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{managed-policy-9gnx14jc.js → model-retry-7wy00epp.js} +21 -21
  78. package/dist/chunks/{managed-policy-abatyzxm.js → model-retry-7xj3j87d.js} +34 -34
  79. package/dist/chunks/{managed-policy-eap9pty2.js → model-retry-7yj2t834.js} +21 -21
  80. package/dist/chunks/{managed-policy-xjtwdmvz.js → model-retry-7yp67vww.js} +18 -18
  81. package/dist/chunks/{managed-policy-4f6wjw9b.js → model-retry-7zhd4cey.js} +8 -8
  82. package/dist/chunks/{managed-policy-r3jkh5w9.js → model-retry-856d8532.js} +23 -23
  83. package/dist/chunks/{managed-policy-r96ere88.js → model-retry-88kypjvy.js} +4 -4
  84. package/dist/chunks/{managed-policy-r61tydse.js → model-retry-8gbe608w.js} +12 -12
  85. package/dist/chunks/{managed-policy-kkrmzvm1.js → model-retry-8kcbfhnp.js} +14 -14
  86. package/dist/chunks/{managed-policy-8zj2w8ry.js → model-retry-8krtskbq.js} +10 -10
  87. package/dist/chunks/{managed-policy-1wyv5fds.js → model-retry-8kw3wj8m.js} +38 -38
  88. package/dist/chunks/{managed-policy-knp52wmd.js → model-retry-8p97zz9p.js} +39 -39
  89. package/dist/chunks/{managed-policy-vb2g9h2k.js → model-retry-8tm9bnq5.js} +9 -9
  90. package/dist/chunks/{managed-policy-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{managed-policy-91rj84md.js → model-retry-91rj84md.js} +1 -1
  92. package/dist/chunks/{managed-policy-7z3stfjh.js → model-retry-99y4khf1.js} +33 -33
  93. package/dist/chunks/{managed-policy-9qwx7yq4.js → model-retry-9hn5wjvr.js} +17 -17
  94. package/dist/chunks/{managed-policy-z7bc1hkz.js → model-retry-9nn8g4z9.js} +21 -21
  95. package/dist/chunks/{managed-policy-dn35p0ms.js → model-retry-9rm0bcgy.js} +23 -23
  96. package/dist/chunks/{managed-policy-4zyp4rz1.js → model-retry-9t2bhtr4.js} +13 -13
  97. package/dist/chunks/{managed-policy-jg4gd8ks.js → model-retry-9vfx6p45.js} +36 -36
  98. package/dist/chunks/{managed-policy-f8g33fbf.js → model-retry-a5pdx5y6.js} +32 -32
  99. package/dist/chunks/{managed-policy-a7hcemwv.js → model-retry-a7hcemwv.js} +3 -3
  100. package/dist/chunks/{managed-policy-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
  101. package/dist/chunks/{managed-policy-za2sj63g.js → model-retry-ajxt18t2.js} +7 -7
  102. package/dist/chunks/{managed-policy-ee5m4gs1.js → model-retry-ayrf2aj2.js} +17 -17
  103. package/dist/chunks/{managed-policy-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  104. package/dist/chunks/{managed-policy-ssfehs1z.js → model-retry-b1pn0vxn.js} +4 -4
  105. package/dist/chunks/{managed-policy-5zwc8z7d.js → model-retry-b5sxz6p8.js} +4 -4
  106. package/dist/chunks/{managed-policy-4gy3hbk0.js → model-retry-b8d6cdec.js} +12 -12
  107. package/dist/chunks/{managed-policy-s626qfae.js → model-retry-bjhzkqyk.js} +4 -4
  108. package/dist/chunks/{managed-policy-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  109. package/dist/chunks/{managed-policy-p3q23q4d.js → model-retry-c361hsxc.js} +26 -26
  110. package/dist/chunks/{managed-policy-95n777kh.js → model-retry-c5ncm6k8.js} +23 -23
  111. package/dist/chunks/{managed-policy-g5304s1h.js → model-retry-cnhc66rt.js} +35 -35
  112. package/dist/chunks/{managed-policy-k8zf2em2.js → model-retry-cxnqxqrv.js} +85 -85
  113. package/dist/chunks/{managed-policy-7c9yzdv1.js → model-retry-cxy24jbt.js} +28 -28
  114. package/dist/chunks/{managed-policy-ch7yww4p.js → model-retry-cyyydscs.js} +24 -24
  115. package/dist/chunks/{managed-policy-gpby3js0.js → model-retry-d0pkz9h4.js} +14 -14
  116. package/dist/chunks/{managed-policy-kz8nn0w5.js → model-retry-d22k01at.js} +7 -7
  117. package/dist/chunks/{managed-policy-0xn02ny1.js → model-retry-d2p1wmw4.js} +3 -3
  118. package/dist/chunks/{managed-policy-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{managed-policy-rmve5ma1.js → model-retry-d51kxexq.js} +5 -5
  120. package/dist/chunks/{managed-policy-ay70qn8v.js → model-retry-da6nt20h.js} +10 -10
  121. package/dist/chunks/{managed-policy-pc1v25hk.js → model-retry-dh62xe4r.js} +3 -3
  122. package/dist/chunks/{managed-policy-998yhzzq.js → model-retry-dvj9ct8m.js} +3 -3
  123. package/dist/chunks/{managed-policy-33hmfn8k.js → model-retry-e207k1f0.js} +10 -10
  124. package/dist/chunks/{managed-policy-84dphpr9.js → model-retry-e3fssm85.js} +17 -17
  125. package/dist/chunks/{managed-policy-fdn62rcc.js → model-retry-e4159ryx.js} +8 -8
  126. package/dist/chunks/{managed-policy-e834z07m.js → model-retry-e834z07m.js} +1 -1
  127. package/dist/chunks/{managed-policy-0myb0hv8.js → model-retry-etshtsr8.js} +7 -7
  128. package/dist/chunks/{managed-policy-8ej614zm.js → model-retry-ewr5k9wg.js} +8 -8
  129. package/dist/chunks/{managed-policy-4xbynjts.js → model-retry-faa8s968.js} +1 -1
  130. package/dist/chunks/{managed-policy-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{managed-policy-k3gjgtk1.js → model-retry-fwhyb0gq.js} +15 -15
  132. package/dist/chunks/{managed-policy-wr3re1en.js → model-retry-fznmdakp.js} +4 -4
  133. package/dist/chunks/{managed-policy-8aspdrzb.js → model-retry-g211t61s.js} +5 -5
  134. package/dist/chunks/{managed-policy-wkss3vh5.js → model-retry-g4hhz492.js} +35 -35
  135. package/dist/chunks/{managed-policy-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  136. package/dist/chunks/{managed-policy-an8erekz.js → model-retry-gchkqpys.js} +3 -3
  137. package/dist/chunks/{managed-policy-mpwa3hnt.js → model-retry-gjzc59g1.js} +16 -16
  138. package/dist/chunks/model-retry-gnv5jhj2.js +517 -0
  139. package/dist/chunks/{managed-policy-bewwd09f.js → model-retry-gs55zvzx.js} +26 -26
  140. package/dist/chunks/{managed-policy-rc7nqfyw.js → model-retry-h5yq12sk.js} +5 -5
  141. package/dist/chunks/{managed-policy-e2x7gzav.js → model-retry-hdfrs5mg.js} +7 -7
  142. package/dist/chunks/{managed-policy-8aw03fbr.js → model-retry-hgyk1m6z.js} +3 -3
  143. package/dist/chunks/{managed-policy-4x3extsw.js → model-retry-hhmywts7.js} +10 -10
  144. package/dist/chunks/{managed-policy-79yy74tq.js → model-retry-hhnqmbew.js} +184 -184
  145. package/dist/chunks/{managed-policy-7f63ea2z.js → model-retry-hks9h3jz.js} +30 -30
  146. package/dist/chunks/{managed-policy-86pjed9p.js → model-retry-hqdkncv9.js} +8 -8
  147. package/dist/chunks/{managed-policy-2rrayadd.js → model-retry-hwdnhv43.js} +29 -29
  148. package/dist/chunks/{managed-policy-7dg649xm.js → model-retry-hyyhzzxx.js} +16 -16
  149. package/dist/chunks/{managed-policy-j113cymg.js → model-retry-j113cymg.js} +1 -1
  150. package/dist/chunks/{managed-policy-gf6hc92a.js → model-retry-j2pd7159.js} +19 -19
  151. package/dist/chunks/{managed-policy-xzjf81fw.js → model-retry-j8e92swm.js} +38 -38
  152. package/dist/chunks/{managed-policy-eet2c32v.js → model-retry-j9gz35am.js} +17 -17
  153. package/dist/chunks/{managed-policy-18g90bpv.js → model-retry-jcqm84fr.js} +9 -9
  154. package/dist/chunks/{managed-policy-55w14brw.js → model-retry-jd2vyc00.js} +17 -17
  155. package/dist/chunks/{managed-policy-7f4s0p3m.js → model-retry-jm1rj8kh.js} +42 -42
  156. package/dist/chunks/{managed-policy-jneg3k74.js → model-retry-jneg3k74.js} +1 -1
  157. package/dist/chunks/{managed-policy-cz0we2g4.js → model-retry-jzgdpz6y.js} +35 -35
  158. package/dist/chunks/{managed-policy-ycnqh90j.js → model-retry-k60f6tvy.js} +20 -20
  159. package/dist/chunks/{managed-policy-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  160. package/dist/chunks/{managed-policy-c6b16rft.js → model-retry-kgmyqp0y.js} +1 -1
  161. package/dist/chunks/{managed-policy-y9a3321v.js → model-retry-khgyexzf.js} +33 -33
  162. package/dist/chunks/{managed-policy-711wh92p.js → model-retry-kqerj9ke.js} +9 -9
  163. package/dist/chunks/{managed-policy-rd395641.js → model-retry-krw5ejhg.js} +5 -5
  164. package/dist/chunks/{managed-policy-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  165. package/dist/chunks/{managed-policy-2bshgvsd.js → model-retry-kvzw13zf.js} +3 -3
  166. package/dist/chunks/{managed-policy-3qh28kw9.js → model-retry-kzhqem7y.js} +27 -27
  167. package/dist/chunks/{managed-policy-m1714858.js → model-retry-m1714858.js} +1 -1
  168. package/dist/chunks/{managed-policy-jhnq0906.js → model-retry-m5vt6my1.js} +4 -4
  169. package/dist/chunks/{managed-policy-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{managed-policy-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  171. package/dist/chunks/{managed-policy-e22n6ctv.js → model-retry-mbvs8a24.js} +16 -16
  172. package/dist/chunks/{managed-policy-fhrpjj0r.js → model-retry-mn4sstjx.js} +4 -4
  173. package/dist/chunks/{managed-policy-2tfzkff6.js → model-retry-mr3sax3v.js} +16 -16
  174. package/dist/chunks/{managed-policy-q21mtmnq.js → model-retry-msz72xyj.js} +2 -2
  175. package/dist/chunks/{managed-policy-arz7hw7x.js → model-retry-my4zabxr.js} +2 -2
  176. package/dist/chunks/{managed-policy-yd8f2aar.js → model-retry-mya9fhc3.js} +18 -18
  177. package/dist/chunks/{managed-policy-cgky5gqb.js → model-retry-mykzpx85.js} +6 -6
  178. package/dist/chunks/{managed-policy-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
  179. package/dist/chunks/{managed-policy-zp0mbxe0.js → model-retry-n2crsrfc.js} +23 -23
  180. package/dist/chunks/{managed-policy-5w95pjhr.js → model-retry-n82jt8hg.js} +13 -13
  181. package/dist/chunks/{managed-policy-9b28cy4d.js → model-retry-n9p72mjb.js} +5 -5
  182. package/dist/chunks/{managed-policy-770pw0s1.js → model-retry-nah043kf.js} +4 -4
  183. package/dist/chunks/{managed-policy-5be5tbrh.js → model-retry-ng3brtr7.js} +32 -32
  184. package/dist/chunks/{managed-policy-he9da3ry.js → model-retry-nhe1yga1.js} +45 -45
  185. package/dist/chunks/{managed-policy-50ra4brc.js → model-retry-nhqzsk2y.js} +11 -11
  186. package/dist/chunks/{managed-policy-2ffq6khn.js → model-retry-nkr11kdx.js} +27 -27
  187. package/dist/chunks/{managed-policy-0t0ezgkn.js → model-retry-nm0eb3mq.js} +20 -20
  188. package/dist/chunks/{managed-policy-dr1fr17h.js → model-retry-nrch4egb.js} +25 -25
  189. package/dist/chunks/{managed-policy-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  190. package/dist/chunks/{managed-policy-x7hdnsxb.js → model-retry-p79cjfbn.js} +19 -19
  191. package/dist/chunks/{managed-policy-qy0f7jh7.js → model-retry-pbb834xc.js} +9 -9
  192. package/dist/chunks/{managed-policy-qjnb67tm.js → model-retry-pes7pnh1.js} +6 -6
  193. package/dist/chunks/{managed-policy-g5yjf9jg.js → model-retry-pg8x00ch.js} +4 -4
  194. package/dist/chunks/{managed-policy-kgdbym9g.js → model-retry-phzadmh4.js} +87 -87
  195. package/dist/chunks/{managed-policy-pknna89w.js → model-retry-pknna89w.js} +1 -1
  196. package/dist/chunks/{managed-policy-pq2p86g1.js → model-retry-pkv4aqak.js} +8 -8
  197. package/dist/chunks/{managed-policy-wt1sed5t.js → model-retry-pkyxh230.js} +4 -4
  198. package/dist/chunks/{managed-policy-zttkbwvn.js → model-retry-pr8acd8t.js} +36 -36
  199. package/dist/chunks/{managed-policy-scn35n2s.js → model-retry-q44gb8fn.js} +46 -46
  200. package/dist/chunks/{managed-policy-18mmfe1f.js → model-retry-q9xwq0xc.js} +11 -11
  201. package/dist/chunks/{managed-policy-arckp0tt.js → model-retry-qfdd46e5.js} +49 -49
  202. package/dist/chunks/{managed-policy-qjgzc4b4.js → model-retry-qjgzc4b4.js} +1 -1
  203. package/dist/chunks/{managed-policy-yahmaqe8.js → model-retry-qnm4ee5f.js} +6 -6
  204. package/dist/chunks/{managed-policy-wwye013q.js → model-retry-qqg9c0kv.js} +7 -7
  205. package/dist/chunks/{managed-policy-8d3xcys2.js → model-retry-qzbrb55n.js} +26 -26
  206. package/dist/chunks/{managed-policy-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  207. package/dist/chunks/{managed-policy-hzyqcp35.js → model-retry-r2r52ss0.js} +8 -8
  208. package/dist/chunks/{managed-policy-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
  209. package/dist/chunks/{managed-policy-agyg961t.js → model-retry-r621r93h.js} +3 -3
  210. package/dist/chunks/{managed-policy-2tst3b9e.js → model-retry-r7qbvbca.js} +12 -12
  211. package/dist/chunks/{managed-policy-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  212. package/dist/chunks/{managed-policy-29525h7k.js → model-retry-rs3s0t58.js} +38 -38
  213. package/dist/chunks/{managed-policy-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  214. package/dist/chunks/{managed-policy-fe0b0wqf.js → model-retry-rvbz23xa.js} +13 -13
  215. package/dist/chunks/{managed-policy-y9x4pn1g.js → model-retry-s499zzzn.js} +6 -6
  216. package/dist/chunks/{managed-policy-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
  217. package/dist/chunks/{managed-policy-p3nedr2s.js → model-retry-shbma2nf.js} +13 -13
  218. package/dist/chunks/{managed-policy-838e58y8.js → model-retry-sm74gnkv.js} +7 -7
  219. package/dist/chunks/{managed-policy-ccx0tj3k.js → model-retry-sn0f3s8q.js} +17 -17
  220. package/dist/chunks/{managed-policy-9ttr7wg4.js → model-retry-sp6zazaz.js} +30 -30
  221. package/dist/chunks/{managed-policy-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  222. package/dist/chunks/{managed-policy-hc8rr0f7.js → model-retry-szchc02d.js} +8 -8
  223. package/dist/chunks/{managed-policy-8ty1fwe5.js → model-retry-t08j0hgd.js} +12 -12
  224. package/dist/chunks/{managed-policy-c8666r4c.js → model-retry-tasvem1v.js} +6 -6
  225. package/dist/chunks/{managed-policy-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{managed-policy-smyv8e6m.js → model-retry-tf6tm6wa.js} +11 -11
  227. package/dist/chunks/{managed-policy-tg1vr1qt.js → model-retry-tg1vr1qt.js} +1 -1
  228. package/dist/chunks/{managed-policy-3nnrz6f6.js → model-retry-tmc7xdjs.js} +4 -4
  229. package/dist/chunks/{managed-policy-er6b0kzz.js → model-retry-tvf154dx.js} +14 -14
  230. package/dist/chunks/{managed-policy-9zrtw0ng.js → model-retry-twpa8r42.js} +45 -45
  231. package/dist/chunks/{managed-policy-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  232. package/dist/chunks/{managed-policy-15cyj2pd.js → model-retry-v0yxjjsz.js} +52 -52
  233. package/dist/chunks/{managed-policy-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{managed-policy-n7wnam13.js → model-retry-v6h5bgwd.js} +8 -8
  235. package/dist/chunks/{managed-policy-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  236. package/dist/chunks/{managed-policy-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  237. package/dist/chunks/{managed-policy-p5w84a5e.js → model-retry-vewr63hq.js} +16 -16
  238. package/dist/chunks/{managed-policy-tdqeyjar.js → model-retry-vhqwr51r.js} +11 -11
  239. package/dist/chunks/{managed-policy-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
  240. package/dist/chunks/{managed-policy-n6x2fb8a.js → model-retry-vqbn6xdq.js} +1 -1
  241. package/dist/chunks/{managed-policy-e45v1dq9.js → model-retry-vrsa97jg.js} +24 -24
  242. package/dist/chunks/{managed-policy-40za9wsf.js → model-retry-w2eysc6j.js} +9 -9
  243. package/dist/chunks/{managed-policy-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{managed-policy-1mpbznjz.js → model-retry-w59prh0j.js} +34 -34
  245. package/dist/chunks/{managed-policy-2sde7pdr.js → model-retry-w92g60gw.js} +24 -24
  246. package/dist/chunks/{managed-policy-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  247. package/dist/chunks/{managed-policy-86gmn33h.js → model-retry-wcbhfjrd.js} +19 -19
  248. package/dist/chunks/{managed-policy-wd87259q.js → model-retry-wd87259q.js} +1 -1
  249. package/dist/chunks/{managed-policy-mf0qgk01.js → model-retry-wrhwm553.js} +20 -20
  250. package/dist/chunks/{managed-policy-qsqpg9tp.js → model-retry-wy6akpvc.js} +7 -7
  251. package/dist/chunks/{managed-policy-6080abd8.js → model-retry-wyzx5psy.js} +18 -18
  252. package/dist/chunks/{managed-policy-4pavydbz.js → model-retry-x1q34xva.js} +2 -2
  253. package/dist/chunks/{managed-policy-xf4m4z3t.js → model-retry-x6w9baef.js} +18 -18
  254. package/dist/chunks/{managed-policy-75137ffn.js → model-retry-x7ey6qtv.js} +7 -7
  255. package/dist/chunks/{managed-policy-wcxnm9b3.js → model-retry-xc7j2c4d.js} +15 -15
  256. package/dist/chunks/{managed-policy-6z9q0fb1.js → model-retry-xhywq8xw.js} +11 -11
  257. package/dist/chunks/{managed-policy-nt9bdxr0.js → model-retry-xj5efqxa.js} +8 -8
  258. package/dist/chunks/{managed-policy-xkfczkpn.js → model-retry-xkfczkpn.js} +3 -3
  259. package/dist/chunks/{managed-policy-v8vd993n.js → model-retry-xrc3640n.js} +8 -8
  260. package/dist/chunks/{managed-policy-2m2g9ynh.js → model-retry-xsact9zs.js} +4 -4
  261. package/dist/chunks/{managed-policy-9r00qwzx.js → model-retry-xxbj3jbs.js} +4 -4
  262. package/dist/chunks/{managed-policy-rbha4e8j.js → model-retry-xynhjj0h.js} +15 -15
  263. package/dist/chunks/{managed-policy-wbye8qn8.js → model-retry-xzya39d9.js} +15 -15
  264. package/dist/chunks/{managed-policy-e063jx1w.js → model-retry-y6haqydp.js} +11 -11
  265. package/dist/chunks/{managed-policy-6fkpavy9.js → model-retry-y6s9gp4k.js} +19 -19
  266. package/dist/chunks/{managed-policy-n03at03x.js → model-retry-y7qvxgn7.js} +11 -11
  267. package/dist/chunks/{managed-policy-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  268. package/dist/chunks/{managed-policy-3sn0zmr9.js → model-retry-ycqv3yh7.js} +18 -18
  269. package/dist/chunks/{managed-policy-62nka828.js → model-retry-yk4w5znd.js} +10 -10
  270. package/dist/chunks/{managed-policy-nh4r2aae.js → model-retry-yk6hg7py.js} +13 -13
  271. package/dist/chunks/{managed-policy-27jk1en4.js → model-retry-ykrn0qsh.js} +12 -12
  272. package/dist/chunks/{managed-policy-dfexp956.js → model-retry-ynqg5bhp.js} +6 -6
  273. package/dist/chunks/{managed-policy-pw9p4tf0.js → model-retry-yw1ck7zb.js} +11 -11
  274. package/dist/chunks/{managed-policy-z5x59bbe.js → model-retry-z08m45c2.js} +25 -25
  275. package/dist/chunks/{managed-policy-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{managed-policy-39kss88q.js → model-retry-z18nf20h.js} +9 -9
  277. package/dist/chunks/{managed-policy-m607dzpx.js → model-retry-z1n0gzr1.js} +14 -14
  278. package/dist/chunks/{managed-policy-w3fjdyms.js → model-retry-z1ydadez.js} +9 -9
  279. package/dist/chunks/{managed-policy-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  280. package/dist/chunks/{managed-policy-m10jqfx1.js → model-retry-z7ttk5hb.js} +5 -5
  281. package/dist/chunks/{managed-policy-851zh3j0.js → model-retry-z9x3jvcw.js} +18 -18
  282. package/dist/chunks/{managed-policy-82jsfkky.js → model-retry-zd3qvcwp.js} +14 -14
  283. package/dist/chunks/model-retry-zd4c8dy4.js +26 -0
  284. package/dist/chunks/{managed-policy-w89ca4k9.js → model-retry-zgphpnk4.js} +8 -8
  285. package/dist/chunks/{managed-policy-r1vtm56b.js → model-retry-zhbxds4j.js} +12 -12
  286. package/dist/chunks/{managed-policy-r3x2rc5q.js → model-retry-zjxxcmzt.js} +13 -13
  287. package/dist/chunks/{managed-policy-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{managed-policy-hhafapa0.js → model-retry-zmwx25fz.js} +2 -2
  289. package/dist/chunks/{managed-policy-ncdbbenb.js → model-retry-zwnm9ync.js} +4 -4
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +89 -89
  295. package/dist/config/discovery.js +87 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +104 -104
  298. package/dist/config/plugin/agent.js +120 -120
  299. package/dist/config/plugin/command.js +216 -216
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +118 -118
  305. package/dist/config/plugin/instruction.js +118 -118
  306. package/dist/config/plugin/location-watcher.js +118 -118
  307. package/dist/config/plugin/mcp.js +127 -127
  308. package/dist/config/plugin/policy.js +119 -119
  309. package/dist/config/plugin/provider.js +118 -118
  310. package/dist/config/plugin/reference.js +120 -120
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +107 -107
  313. package/dist/config/plugin/skill-scan.js +3 -3
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +118 -118
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +119 -119
  318. package/dist/config/plugin/websearch.js +117 -117
  319. package/dist/config/plugin/worktree.js +120 -120
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/console-access.js +1 -1
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +87 -87
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  395. package/dist/database/migration.gen.js +53 -53
  396. package/dist/database/migration.js +55 -55
  397. package/dist/database/path.js +2 -2
  398. package/dist/database/schema.gen.js +1 -1
  399. package/dist/database/schema.sql.js +1 -1
  400. package/dist/database/sqlite.bun.js +1 -1
  401. package/dist/database/sqlite.js +1 -1
  402. package/dist/database/sqlite.node.js +1 -1
  403. package/dist/database/sqlite.workerd.js +1 -1
  404. package/dist/database/v1-migration.bun.js +92 -92
  405. package/dist/database/v1-migration.js +1 -1
  406. package/dist/effect/app-node-builder.js +374 -374
  407. package/dist/effect/app-node-platform.js +2 -2
  408. package/dist/effect/keyed-mutex.js +1 -1
  409. package/dist/effect/websocket-constructor.js +1 -1
  410. package/dist/environment/driver.js +1 -1
  411. package/dist/environment/environment.js +98 -98
  412. package/dist/environment/exec-defaults.js +2 -2
  413. package/dist/environment/files.js +1 -1
  414. package/dist/environment/index.js +100 -100
  415. package/dist/environment/local.js +2 -2
  416. package/dist/environment/memory.js +2 -2
  417. package/dist/environment/unavailable.js +3 -3
  418. package/dist/event/sql.js +1 -1
  419. package/dist/event-logger.js +74 -74
  420. package/dist/file-access.js +109 -109
  421. package/dist/file-mutation.js +99 -99
  422. package/dist/file-retention.js +1 -1
  423. package/dist/filesystem/fff.bun.js +2 -2
  424. package/dist/filesystem/fff.js +1 -1
  425. package/dist/filesystem/fff.node.js +2 -2
  426. package/dist/filesystem/fff.workerd.js +2 -2
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +104 -104
  431. package/dist/filesystem/watcher-binding.js +1 -1
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +107 -107
  434. package/dist/form.js +88 -88
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +92 -92
  437. package/dist/generate.js +110 -110
  438. package/dist/git.js +11 -11
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +96 -96
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +365 -365
  462. package/dist/instruction-discovery.js +84 -84
  463. package/dist/instructions/builtins.js +92 -92
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +91 -91
  467. package/dist/job.js +80 -80
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +77 -77
  470. package/dist/location-activity.js +158 -158
  471. package/dist/location-lifecycle.js +112 -112
  472. package/dist/location-service-map.js +91 -91
  473. package/dist/location-services.js +362 -362
  474. package/dist/location.js +92 -92
  475. package/dist/managed-policy.js +8 -8
  476. package/dist/mcp/client.js +96 -96
  477. package/dist/mcp/index.js +112 -112
  478. package/dist/mcp/instructions.js +141 -141
  479. package/dist/mcp/oauth.js +82 -82
  480. package/dist/mcp/socket-client.js +1 -1
  481. package/dist/mcp/stdio.js +95 -95
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +96 -96
  484. package/dist/model-resolver.js +104 -104
  485. package/dist/model-retry.js +1 -1
  486. package/dist/model.js +105 -105
  487. package/dist/models-dev.js +112 -112
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +84 -84
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +112 -112
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +92 -92
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +79 -79
  497. package/dist/plugin/agent.js +80 -80
  498. package/dist/plugin/command.js +107 -107
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +5 -5
  502. package/dist/plugin/instance.js +1 -1
  503. package/dist/plugin/internal.js +335 -335
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +101 -101
  506. package/dist/plugin/module.js +117 -117
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +107 -107
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  511. package/dist/plugin/provider/azure.js +118 -118
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/chatgpt.js +118 -118
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +114 -114
  518. package/dist/plugin/provider/databricks.js +1 -1
  519. package/dist/plugin/provider/digitalocean.js +98 -98
  520. package/dist/plugin/provider/dynamic.js +2 -2
  521. package/dist/plugin/provider/factory.js +1 -1
  522. package/dist/plugin/provider/github-copilot.js +100 -100
  523. package/dist/plugin/provider/gitlab.js +98 -98
  524. package/dist/plugin/provider/google-vertex.js +115 -115
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +82 -82
  527. package/dist/plugin/provider/lmstudio.js +127 -127
  528. package/dist/plugin/provider/local.js +124 -124
  529. package/dist/plugin/provider/modal.js +97 -97
  530. package/dist/plugin/provider/neon.js +1 -1
  531. package/dist/plugin/provider/nvidia.js +1 -1
  532. package/dist/plugin/provider/ollama.js +125 -125
  533. package/dist/plugin/provider/openai-context-caps.js +95 -95
  534. package/dist/plugin/provider/openai.js +120 -120
  535. package/dist/plugin/provider/opencode.js +104 -104
  536. package/dist/plugin/provider/openrouter.js +96 -96
  537. package/dist/plugin/provider/perplexity.js +2 -2
  538. package/dist/plugin/provider/poe.js +83 -83
  539. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  540. package/dist/plugin/provider/sap-ai-core.js +96 -96
  541. package/dist/plugin/provider/sdk-factory.js +1 -1
  542. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  543. package/dist/plugin/provider/vercel.js +95 -95
  544. package/dist/plugin/provider/vllm.js +127 -127
  545. package/dist/plugin/provider/xai.js +96 -96
  546. package/dist/plugin/provider/zenmux.js +1 -1
  547. package/dist/plugin/provider.js +171 -171
  548. package/dist/plugin/sdk.js +80 -80
  549. package/dist/plugin/service.js +3 -3
  550. package/dist/plugin/skill.js +136 -136
  551. package/dist/plugin/source-directory.js +1 -1
  552. package/dist/plugin/supervisor.js +352 -352
  553. package/dist/plugin/tool-input-repair.js +4 -4
  554. package/dist/plugin/update.js +6 -6
  555. package/dist/plugin/vcs/git.js +91 -91
  556. package/dist/plugin/vcs/hg.js +91 -91
  557. package/dist/plugin/verbosity.js +98 -98
  558. package/dist/plugin/warming.js +116 -116
  559. package/dist/plugin/websearch/exa.js +7 -7
  560. package/dist/plugin/websearch/firecrawl.js +8 -8
  561. package/dist/plugin/websearch/index.js +9 -9
  562. package/dist/plugin/websearch/mcp.js +6 -6
  563. package/dist/plugin/websearch/parallel.js +8 -8
  564. package/dist/plugin/websearch/tavily.js +6 -6
  565. package/dist/plugin/websearch/tinyfish.js +8 -8
  566. package/dist/plugin.js +227 -227
  567. package/dist/project/schema.js +6 -6
  568. package/dist/project/sql.js +4 -4
  569. package/dist/project.js +93 -93
  570. package/dist/provider.js +104 -104
  571. package/dist/pty/protocol.js +1 -1
  572. package/dist/pty/ticket.js +1 -1
  573. package/dist/pty.js +103 -103
  574. package/dist/reference/instructions.js +92 -92
  575. package/dist/reference.js +92 -92
  576. package/dist/repository-cache.js +86 -86
  577. package/dist/repository.js +1 -1
  578. package/dist/ripgrep/binary.js +2 -2
  579. package/dist/ripgrep.js +102 -102
  580. package/dist/rpc.js +91 -91
  581. package/dist/schema.js +1 -1
  582. package/dist/session/affinity.js +3 -3
  583. package/dist/session/command.js +78 -78
  584. package/dist/session/compaction.js +141 -141
  585. package/dist/session/context.js +167 -167
  586. package/dist/session/diff.js +93 -93
  587. package/dist/session/environment.js +5 -5
  588. package/dist/session/error.js +5 -5
  589. package/dist/session/event.js +1 -1
  590. package/dist/session/execution/restart.js +223 -223
  591. package/dist/session/execution.js +131 -131
  592. package/dist/session/generate.js +167 -167
  593. package/dist/session/history.js +13 -13
  594. package/dist/session/inbox.js +95 -95
  595. package/dist/session/info.js +3 -3
  596. package/dist/session/instruction-entry.js +81 -81
  597. package/dist/session/instruction-state.js +8 -8
  598. package/dist/session/instructions.js +102 -102
  599. package/dist/session/message-updater.js +4 -4
  600. package/dist/session/message.js +1 -1
  601. package/dist/session/model-request.js +125 -125
  602. package/dist/session/model-transport.js +9 -9
  603. package/dist/session/move.js +135 -135
  604. package/dist/session/projector.js +93 -93
  605. package/dist/session/prompt.js +110 -110
  606. package/dist/session/recent-text.js +1 -1
  607. package/dist/session/revert.js +99 -99
  608. package/dist/session/run-coordinator.js +3 -3
  609. package/dist/session/runner/index.js +3 -3
  610. package/dist/session/runner/llm.js +233 -233
  611. package/dist/session/runner/max-steps.js +1 -1
  612. package/dist/session/runner/model.js +105 -105
  613. package/dist/session/runner/publish-llm-event.js +118 -118
  614. package/dist/session/runner/retry.js +5 -5
  615. package/dist/session/runner/step.js +131 -131
  616. package/dist/session/runner/to-llm-message.js +14 -14
  617. package/dist/session/schema.js +3 -3
  618. package/dist/session/session.js +167 -167
  619. package/dist/session/shell.js +132 -132
  620. package/dist/session/skill.js +110 -110
  621. package/dist/session/sql.js +5 -5
  622. package/dist/session/stats.js +77 -77
  623. package/dist/session/store.js +89 -89
  624. package/dist/session/subagent-completion.js +1 -1
  625. package/dist/session/subagent-job.js +210 -210
  626. package/dist/session/system-prompt.js +3 -3
  627. package/dist/session/title.js +171 -171
  628. package/dist/session/to-session-error.js +117 -117
  629. package/dist/session/transfer.js +219 -219
  630. package/dist/session/usage.js +1 -1
  631. package/dist/session.js +218 -218
  632. package/dist/shell/parse.js +8 -8
  633. package/dist/shell/result.js +1 -1
  634. package/dist/shell/scan.js +1 -1
  635. package/dist/shell/select.js +13 -13
  636. package/dist/shell.js +134 -134
  637. package/dist/skill/discovery.js +6 -6
  638. package/dist/skill/instructions.js +112 -112
  639. package/dist/skill.js +119 -119
  640. package/dist/snapshot.js +94 -94
  641. package/dist/state.js +1 -1
  642. package/dist/tool/html-markdown.js +1 -1
  643. package/dist/tool/http-body.js +1 -1
  644. package/dist/tool/mcp.js +140 -140
  645. package/dist/tool/plugin/edit.js +119 -119
  646. package/dist/tool/plugin/file-diff.js +1 -1
  647. package/dist/tool/plugin/glob.js +129 -129
  648. package/dist/tool/plugin/grep.js +129 -129
  649. package/dist/tool/plugin/mcp-resource.js +129 -129
  650. package/dist/tool/plugin/opencode.js +114 -114
  651. package/dist/tool/plugin/patch.js +127 -127
  652. package/dist/tool/plugin/question.js +106 -106
  653. package/dist/tool/plugin/read.js +130 -130
  654. package/dist/tool/plugin/shell.js +217 -217
  655. package/dist/tool/plugin/skill.js +118 -118
  656. package/dist/tool/plugin/subagent.js +219 -219
  657. package/dist/tool/plugin/todo.js +138 -138
  658. package/dist/tool/plugin/webfetch.js +118 -118
  659. package/dist/tool/plugin/websearch.js +115 -115
  660. package/dist/tool/plugin/write.js +127 -127
  661. package/dist/tool/read-filesystem.js +107 -107
  662. package/dist/tool/runtime.js +1 -1
  663. package/dist/tool-output.js +7 -7
  664. package/dist/tool.js +16 -16
  665. package/dist/usage-limits.js +93 -93
  666. package/dist/util/error-summary.js +1 -1
  667. package/dist/util/git-executable.js +3 -3
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +3 -3
  674. package/dist/v1/config/command.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +97 -97
  677. package/dist/v1/config/permission.js +1 -1
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/variant.js +98 -98
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +94 -94
  684. package/dist/voice.js +90 -90
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +78 -78
  687. package/dist/wellknown.js +83 -83
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +82 -82
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +11 -11
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +94 -94
  695. package/dist/worktree.js +105 -105
  696. package/package.json +8 -8
  697. package/dist/chunks/managed-policy-8tdc4bs4.js +0 -261
  698. package/dist/chunks/managed-policy-bc5k4005.js +0 -517
  699. package/dist/chunks/managed-policy-m1rhczw0.js +0 -26
  700. package/dist/chunks/managed-policy-vdh3rgac.js +0 -18
  701. /package/dist/chunks/{managed-policy-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{managed-policy-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{managed-policy-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{managed-policy-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{managed-policy-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{managed-policy-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{managed-policy-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{managed-policy-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{managed-policy-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{managed-policy-3asan66x.js → model-retry-3asan66x.js} +0 -0
  711. /package/dist/chunks/{managed-policy-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{managed-policy-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{managed-policy-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{managed-policy-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{managed-policy-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{managed-policy-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{managed-policy-53557ph1.js → model-retry-53557ph1.js} +0 -0
  718. /package/dist/chunks/{managed-policy-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{managed-policy-5qd3pb7m.js → model-retry-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{managed-policy-6prwharc.js → model-retry-6prwharc.js} +0 -0
  721. /package/dist/chunks/{managed-policy-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{managed-policy-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{managed-policy-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{managed-policy-822emrt2.js → model-retry-822emrt2.js} +0 -0
  725. /package/dist/chunks/{managed-policy-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{managed-policy-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{managed-policy-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{managed-policy-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{managed-policy-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{managed-policy-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{managed-policy-a058387c.js → model-retry-a058387c.js} +0 -0
  732. /package/dist/chunks/{managed-policy-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{managed-policy-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{managed-policy-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{managed-policy-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{managed-policy-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{managed-policy-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{managed-policy-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{managed-policy-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{managed-policy-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  741. /package/dist/chunks/{managed-policy-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{managed-policy-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{managed-policy-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{managed-policy-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{managed-policy-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{managed-policy-df08tz66.js → model-retry-df08tz66.js} +0 -0
  747. /package/dist/chunks/{managed-policy-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{managed-policy-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{managed-policy-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{managed-policy-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{managed-policy-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{managed-policy-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{managed-policy-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{managed-policy-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{managed-policy-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{managed-policy-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{managed-policy-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{managed-policy-g86h250q.js → model-retry-g86h250q.js} +0 -0
  759. /package/dist/chunks/{managed-policy-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{managed-policy-gftt206x.js → model-retry-gftt206x.js} +0 -0
  761. /package/dist/chunks/{managed-policy-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{managed-policy-hk9envan.js → model-retry-hk9envan.js} +0 -0
  763. /package/dist/chunks/{managed-policy-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{managed-policy-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{managed-policy-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{managed-policy-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{managed-policy-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{managed-policy-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{managed-policy-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{managed-policy-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{managed-policy-m18g726c.js → model-retry-m18g726c.js} +0 -0
  772. /package/dist/chunks/{managed-policy-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{managed-policy-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{managed-policy-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{managed-policy-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{managed-policy-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{managed-policy-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{managed-policy-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{managed-policy-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{managed-policy-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{managed-policy-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{managed-policy-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{managed-policy-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{managed-policy-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{managed-policy-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{managed-policy-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{managed-policy-sjmm3wxa.js → model-retry-sjmm3wxa.js} +0 -0
  788. /package/dist/chunks/{managed-policy-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{managed-policy-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{managed-policy-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{managed-policy-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{managed-policy-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{managed-policy-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{managed-policy-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{managed-policy-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{managed-policy-x61499pn.js → model-retry-x61499pn.js} +0 -0
  797. /package/dist/chunks/{managed-policy-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{managed-policy-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{managed-policy-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{managed-policy-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{managed-policy-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{managed-policy-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./managed-policy-88xbtdfr.js";
3
+ } from "./model-retry-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./managed-policy-5qd3pb7m.js";
6
+ } from "./model-retry-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./managed-policy-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service63,
15
+ Service: () => Service69,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured10,
18
+ configured: () => configured11,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer25,
20
+ layer: () => layer27,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node67,
22
+ node: () => node73,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service63 extends Context.Service()("@opencode/Watcher") {
52
+ class Service69 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer25 = (options) => Layer.effect(Service63, Effect.gen(function* () {
57
+ var layer27 = (options) => Layer.effect(Service69, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer25 = (options) => Layer.effect(Service63, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service63.of({ subscribe });
100
+ return Service69.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service63).subscribe,
126
+ subscribe: Context.get(context, Service69).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured10(options) {
160
- return makeGlobalNode({ service: Service63, layer: layer25(options), deps: [nativeNode] });
159
+ function configured11(options) {
160
+ return makeGlobalNode({ service: Service69, layer: layer27(options), deps: [nativeNode] });
161
161
  }
162
- var node67 = configured10();
162
+ var node73 = configured11();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service63, Test3, layer25, testLayer3, nativeLayer2, configured10, node67, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service69, Test3, layer27, testLayer3, nativeLayer2, configured11, node73, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
@@ -9,16 +9,16 @@ __export(exports_app, {
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured7,
11
11
  layer: () => layer19,
12
- make: () => make16,
13
- node: () => node51,
12
+ make: () => make17,
13
+ node: () => node52,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make17()
20
20
  });
21
- function make16(input = {}) {
21
+ function make17(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make16(input));
31
+ var layer19 = (input) => Layer.succeed(Metadata2, make17(input));
32
32
  var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node51 = configured7();
33
+ var node52 = configured7();
34
34
 
35
- export { Metadata2, make16, useragent2, layer19, configured7, node51, exports_app };
35
+ export { Metadata2, make17, useragent2, layer19, configured7, node52, exports_app };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./managed-policy-4f6wjw9b.js";
3
+ } from "./model-retry-7zhd4cey.js";
4
4
  import {
5
5
  Service86
6
- } from "./managed-policy-5zwc8z7d.js";
6
+ } from "./model-retry-b5sxz6p8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16,
10
- Service77
11
- } from "./managed-policy-7c9yzdv1.js";
9
+ Event18,
10
+ Service80
11
+ } from "./model-retry-cxy24jbt.js";
12
12
  import {
13
- ID13,
13
+ ID14,
14
14
  MethodID2
15
- } from "./managed-policy-bewwd09f.js";
15
+ } from "./model-retry-gs55zvzx.js";
16
16
  import {
17
- ID12,
17
+ ID13,
18
18
  mergeOverlay2
19
- } from "./managed-policy-7f63ea2z.js";
19
+ } from "./model-retry-hks9h3jz.js";
20
20
  import {
21
- ID7,
21
+ ID12,
22
22
  VariantID2,
23
- Info16
24
- } from "./managed-policy-5be5tbrh.js";
23
+ Info21
24
+ } from "./model-retry-ng3brtr7.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./managed-policy-yb20nhc3.js";
28
+ } from "./model-retry-yb20nhc3.js";
29
29
  import {
30
- get5
31
- } from "./managed-policy-3nnrz6f6.js";
30
+ get4
31
+ } from "./model-retry-tmc7xdjs.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./managed-policy-dfexp956.js";
34
+ } from "./model-retry-ynqg5bhp.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID12.openai;
47
- var integrationID = ID13.make("openai");
46
+ var providerID = ID13.openai;
47
+ var integrationID = ID14.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service86;
183
- const credentials = yield* Service77;
183
+ const credentials = yield* Service80;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
224
224
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
225
225
  return;
226
226
  }));
227
- evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
227
+ evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
228
228
  evt.headers["thread-id"] = evt.sessionID;
229
229
  evt.headers["x-client-request-id"] = evt.sessionID;
230
230
  }), { providerID });
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID12.openai, ID7.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin15
9
+ Plugin: () => Plugin44
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin15 = define({
16
+ var Plugin44 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin15 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin15, exports_mcp_codemode_defaults };
41
+ export { Plugin44, exports_mcp_codemode_defaults };
@@ -3,23 +3,23 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./managed-policy-jneg3k74.js";
6
+ } from "./model-retry-jneg3k74.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize3,
10
10
  namespaceLine2
11
- } from "./managed-policy-fffv3p7h.js";
11
+ } from "./model-retry-fffv3p7h.js";
12
12
  import {
13
13
  __export
14
- } from "./managed-policy-9rqn6x4v.js";
14
+ } from "./model-retry-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions2 = {};
18
- __export(exports_instructions2, {
19
- CodeModeInstructions: () => exports_instructions2,
20
- make: () => make14,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
+ make: () => make13,
21
21
  render: () => render2,
22
- update: () => update3
22
+ update: () => update2
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -43,7 +43,7 @@ function render2(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update3(previous, current) {
46
+ function update2(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
49
  ${render2(current)}`;
@@ -111,7 +111,7 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make14 = (inventory) => {
114
+ var make13 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize3(inventory);
116
116
  return make21({
117
117
  key,
@@ -119,10 +119,10 @@ var make14 = (inventory) => {
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
121
  initial: render2,
122
- changed: update3,
122
+ changed: update2,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make14, exports_instructions2 };
128
+ export { render2, update2, make13, exports_instructions4 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID10,
2
+ ID11,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./managed-policy-86gmn33h.js";
5
+ } from "./model-retry-wcbhfjrd.js";
6
6
  import {
7
7
  __export
8
- } from "./managed-policy-9rqn6x4v.js";
8
+ } from "./model-retry-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin12
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin43
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin12 = define({
60
+ var Plugin43 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin12 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID10.make("general"), (item) => {
70
+ editor.update(ID11.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID10.make("explore"), (item) => {
76
+ editor.update(ID11.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID10.make("compaction"), (item) => {
83
+ editor.update(ID11.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID10.make("title"), (item) => {
88
+ editor.update(ID11.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID10.make("summary"), (item) => {
95
+ editor.update(ID11.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin12 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin12, exports_agent };
106
+ export { Plugin43, exports_agent2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service39,
3
3
  node42
4
- } from "./managed-policy-dxfx83kj.js";
4
+ } from "./model-retry-4xkwq58b.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./managed-policy-jneg3k74.js";
10
+ } from "./model-retry-jneg3k74.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions3 = {};
17
17
  __export(exports_instructions3, {
18
18
  ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service27,
20
- node: () => node30
19
+ Service: () => Service23,
20
+ node: () => node27
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
64
+ class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service27, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
67
67
  const references = yield* Service39;
68
- return Service27.of({
68
+ return Service23.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
71
71
  name: reference.name,
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node30 = makeLocationNode({ service: Service27, layer, deps: [node42] });
88
+ var node27 = makeLocationNode({ service: Service23, layer, deps: [node42] });
89
89
 
90
- export { Service27, node30, exports_instructions3 };
90
+ export { Service23, node27, exports_instructions3 };
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./managed-policy-z5v4ffb3.js";
3
+ } from "./model-retry-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./managed-policy-8ty1fwe5.js";
6
+ } from "./model-retry-t08j0hgd.js";
7
7
  import {
8
8
  Slug2
9
- } from "./managed-policy-gebd4c9n.js";
9
+ } from "./model-retry-gebd4c9n.js";
10
10
  import {
11
11
  Service87,
12
12
  node91
13
- } from "./managed-policy-8aw03fbr.js";
13
+ } from "./model-retry-hgyk1m6z.js";
14
14
  import {
15
15
  Service86,
16
16
  node90
17
- } from "./managed-policy-5zwc8z7d.js";
17
+ } from "./model-retry-b5sxz6p8.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./managed-policy-034tev2y.js";
20
+ } from "./model-retry-aj7mw0zk.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./managed-policy-ayjs7tqn.js";
23
+ } from "./model-retry-3cbjf1nt.js";
24
24
  import {
25
25
  ID17,
26
- NotFoundError11
27
- } from "./managed-policy-y9a3321v.js";
26
+ NotFoundError12
27
+ } from "./model-retry-khgyexzf.js";
28
28
  import {
29
29
  Ref4
30
- } from "./managed-policy-e22n6ctv.js";
30
+ } from "./model-retry-mbvs8a24.js";
31
31
  import {
32
- Service69,
33
- node73
34
- } from "./managed-policy-vb2g9h2k.js";
32
+ Service61,
33
+ node65
34
+ } from "./model-retry-8tm9bnq5.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./managed-policy-d4v9tmah.js";
38
+ } from "./model-retry-d4v9tmah.js";
39
39
  import {
40
- Service19
41
- } from "./managed-policy-z7bc1hkz.js";
40
+ Service43
41
+ } from "./model-retry-9nn8g4z9.js";
42
42
  import {
43
43
  __export
44
- } from "./managed-policy-9rqn6x4v.js";
44
+ } from "./model-retry-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput2,
49
+ CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event4,
53
- Info: () => Info5,
52
+ Event: () => Event10,
53
+ Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
- ListEntry: () => ListEntry2,
56
+ ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service18,
59
+ Service: () => Service42,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node21
64
+ node: () => node45
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,11 +73,11 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput2 = Worktree.CreateInput;
76
+ var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info5 = Worktree.Info;
78
+ var Info8 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
- var ListEntry2 = Worktree.ListEntry;
80
+ var ListEntry3 = Worktree.ListEntry;
81
81
 
82
82
  class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event4 = Worktree.Event;
93
+ var Event10 = Worktree.Event;
94
94
 
95
- class Service18 extends Context.Service()("@opencode/Worktree") {
95
+ class Service42 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service18, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service87;
100
100
  const db = database.db;
101
101
  const bus = yield* Service86;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service69;
103
+ const locations = yield* Service61;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError11({ projectID });
107
+ return yield* new NotFoundError12({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service19).get();
118
+ return Context.get(context, Service43).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event4.Updated, { projectID });
122
+ yield* bus.publish(Event10.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service18.of({
249
+ return Service42.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node21 = Node.makeGlobalNode({
260
- service: Service18,
259
+ var node45 = Node.makeGlobalNode({
260
+ service: Service42,
261
261
  layer,
262
- deps: [FSUtil.node, node90, node91, AppProcess.node, node73]
262
+ deps: [FSUtil.node, node90, node91, AppProcess.node, node65]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput2, RemoveInput2, Info5, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service18, node21, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service42, node45, exports_worktree2, OperationError2 };