@opencode/core 0.0.0-dev-951 → 0.0.0-dev-955

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 (932) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/model-resolver-00ve6mdn.js +18 -0
  9. package/dist/chunks/{credential-aj7mw0zk.js → model-resolver-034tev2y.js} +2 -2
  10. package/dist/chunks/{credential-namtszgf.js → model-resolver-0ceypjyq.js} +11 -11
  11. package/dist/chunks/{credential-rx8ct1z4.js → model-resolver-0cftc1cj.js} +8 -8
  12. package/dist/chunks/{credential-jv0w0nwh.js → model-resolver-0egfkvmt.js} +6 -6
  13. package/dist/chunks/{credential-0j7gp832.js → model-resolver-0j7gp832.js} +1 -1
  14. package/dist/chunks/{credential-0ma9gw4f.js → model-resolver-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{credential-7rxzzpar.js → model-resolver-0tm8m47h.js} +11 -11
  16. package/dist/chunks/{credential-0wqvtycd.js → model-resolver-0wqvtycd.js} +3 -3
  17. package/dist/chunks/{credential-gc9bxxra.js → model-resolver-0y155zs1.js} +6 -6
  18. package/dist/chunks/{credential-fqg2m573.js → model-resolver-0zxwyar4.js} +6 -6
  19. package/dist/chunks/{credential-2q50cz40.js → model-resolver-1254y337.js} +12 -12
  20. package/dist/chunks/{credential-k54npxcd.js → model-resolver-16rxfwk3.js} +16 -16
  21. package/dist/chunks/{credential-h3j6z48g.js → model-resolver-19yc6xr0.js} +17 -17
  22. package/dist/chunks/{credential-4nd3717b.js → model-resolver-1an0vnxq.js} +10 -10
  23. package/dist/chunks/{credential-1aqsckx4.js → model-resolver-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{credential-27w5k9zf.js → model-resolver-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{credential-4f4jbaya.js → model-resolver-1fjzrffe.js} +33 -33
  26. package/dist/chunks/{credential-wn0fbn2s.js → model-resolver-1gt57e1e.js} +11 -11
  27. package/dist/chunks/{credential-hj5b1kp4.js → model-resolver-1m93zrrd.js} +49 -49
  28. package/dist/chunks/{credential-ynaz74wr.js → model-resolver-1nrv139b.js} +13 -13
  29. package/dist/chunks/{credential-6she6zn9.js → model-resolver-1v62x7nb.js} +11 -11
  30. package/dist/chunks/{credential-w13rwzzs.js → model-resolver-1wpjn8xr.js} +19 -19
  31. package/dist/chunks/{credential-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{credential-m6cfdtf3.js → model-resolver-1xjver7d.js} +4 -4
  33. package/dist/chunks/{credential-p7vhpwh8.js → model-resolver-1yq9hg58.js} +5 -5
  34. package/dist/chunks/{credential-5th9j014.js → model-resolver-208qyq12.js} +19 -19
  35. package/dist/chunks/{credential-ddvv9kd4.js → model-resolver-25nfhamq.js} +4 -4
  36. package/dist/chunks/{credential-7hmq0pmh.js → model-resolver-29526e95.js} +20 -20
  37. package/dist/chunks/{credential-jxvn8m84.js → model-resolver-2a4ad453.js} +45 -45
  38. package/dist/chunks/{credential-2bswbpgz.js → model-resolver-2bswbpgz.js} +2 -2
  39. package/dist/chunks/{credential-g7xzr0jk.js → model-resolver-2cmt08sf.js} +3 -3
  40. package/dist/chunks/{credential-2fc7eemy.js → model-resolver-2fc7eemy.js} +1 -1
  41. package/dist/chunks/{credential-xsact9zs.js → model-resolver-2m2g9ynh.js} +4 -4
  42. package/dist/chunks/{credential-ev3wk9dr.js → model-resolver-2m3cx6qa.js} +1 -1
  43. package/dist/chunks/{credential-p816r4z2.js → model-resolver-2m6pt75m.js} +12 -12
  44. package/dist/chunks/{credential-2p60zmnr.js → model-resolver-2p60zmnr.js} +2 -2
  45. package/dist/chunks/{credential-psf12mq8.js → model-resolver-2q81t726.js} +15 -15
  46. package/dist/chunks/{credential-rv2r3bvs.js → model-resolver-2yvb8gsx.js} +16 -16
  47. package/dist/chunks/{credential-fpzjyzy0.js → model-resolver-305j2bn3.js} +20 -20
  48. package/dist/chunks/{credential-44zzzd8q.js → model-resolver-30nntx8z.js} +18 -18
  49. package/dist/chunks/{credential-sb4z0pk3.js → model-resolver-31avdb49.js} +9 -9
  50. package/dist/chunks/{credential-d8eqn7vm.js → model-resolver-378qq6ap.js} +22 -22
  51. package/dist/chunks/{credential-nxxmtyhx.js → model-resolver-3adw4bt5.js} +9 -9
  52. package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{credential-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  54. package/dist/chunks/{credential-8zann34s.js → model-resolver-3qcn2qs5.js} +29 -29
  55. package/dist/chunks/{credential-jbdh50ta.js → model-resolver-3vkvfvwt.js} +12 -12
  56. package/dist/chunks/{credential-40y6dtc2.js → model-resolver-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{credential-44pmzq9c.js → model-resolver-44pmzq9c.js} +2 -2
  58. package/dist/chunks/{credential-s31hdjkn.js → model-resolver-48rbk961.js} +16 -16
  59. package/dist/chunks/{credential-4dx1dgte.js → model-resolver-4dx1dgte.js} +1 -1
  60. package/dist/chunks/{credential-4f25tdd0.js → model-resolver-4f25tdd0.js} +1 -1
  61. package/dist/chunks/model-resolver-4h7dzzwv.js +26 -0
  62. package/dist/chunks/{credential-zn1dyxrp.js → model-resolver-4k3ejajh.js} +8 -8
  63. package/dist/chunks/{credential-qzscg8bg.js → model-resolver-4nzfme03.js} +1 -1
  64. package/dist/chunks/{credential-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{credential-mpt3hfy4.js → model-resolver-4qts9jm2.js} +19 -19
  66. package/dist/chunks/{credential-7ag3s6hb.js → model-resolver-4tqs0jzk.js} +4 -4
  67. package/dist/chunks/{credential-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  68. package/dist/chunks/{credential-nnaj94d3.js → model-resolver-4yj32zef.js} +16 -16
  69. package/dist/chunks/{credential-efxbaxb5.js → model-resolver-56t20xve.js} +10 -10
  70. package/dist/chunks/{credential-vw83y9rr.js → model-resolver-5947jcqa.js} +33 -33
  71. package/dist/chunks/{credential-ycw6hwnb.js → model-resolver-5btsg0r7.js} +16 -16
  72. package/dist/chunks/{credential-e624djga.js → model-resolver-5js06kta.js} +15 -15
  73. package/dist/chunks/{credential-5ar0v554.js → model-resolver-5k6xrm23.js} +6 -6
  74. package/dist/chunks/{credential-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{credential-88prq0kt.js → model-resolver-5n28pc9n.js} +37 -37
  76. package/dist/chunks/{credential-zttbz1ed.js → model-resolver-5zwfbemh.js} +134 -134
  77. package/dist/chunks/{credential-gz7axp6c.js → model-resolver-61qraad9.js} +5 -5
  78. package/dist/chunks/{credential-py318ppe.js → model-resolver-63qszgpc.js} +10 -10
  79. package/dist/chunks/{credential-3ryz99p0.js → model-resolver-63xym3gh.js} +4 -4
  80. package/dist/chunks/{credential-rqcvre23.js → model-resolver-64gbtxz5.js} +31 -31
  81. package/dist/chunks/{credential-3k1rga9h.js → model-resolver-6amx7x2h.js} +10 -10
  82. package/dist/chunks/{credential-80mg3ag8.js → model-resolver-775hqbnd.js} +3 -3
  83. package/dist/chunks/{credential-gw3rhxj8.js → model-resolver-7a7wjhyp.js} +11 -11
  84. package/dist/chunks/{credential-q2d9t9zr.js → model-resolver-7armgj4r.js} +2 -2
  85. package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{credential-cst8jf83.js → model-resolver-7g8wh7aj.js} +14 -14
  87. package/dist/chunks/{credential-w1g4694j.js → model-resolver-7jj85bbm.js} +28 -28
  88. package/dist/chunks/{credential-y8g6r4qa.js → model-resolver-7s2n0qph.js} +28 -28
  89. package/dist/chunks/{credential-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{credential-7weczvnd.js → model-resolver-7weczvnd.js} +1 -1
  91. package/dist/chunks/{credential-av61b8pd.js → model-resolver-7x764a2t.js} +26 -26
  92. package/dist/chunks/{credential-eh78rvjs.js → model-resolver-7z81aap4.js} +9 -9
  93. package/dist/chunks/{credential-80pdk984.js → model-resolver-80pdk984.js} +1 -1
  94. package/dist/chunks/{credential-3b4s7esv.js → model-resolver-81ev3d3w.js} +18 -18
  95. package/dist/chunks/{credential-cph4s3mx.js → model-resolver-862f8wp5.js} +7 -7
  96. package/dist/chunks/{credential-4p3ak71t.js → model-resolver-86k8js72.js} +37 -37
  97. package/dist/chunks/{credential-mj3qtbp3.js → model-resolver-88hvwf89.js} +21 -21
  98. package/dist/chunks/{credential-89287pr7.js → model-resolver-89287pr7.js} +1 -1
  99. package/dist/chunks/{credential-8b3vzgkx.js → model-resolver-8b3vzgkx.js} +1 -1
  100. package/dist/chunks/{credential-5whx36p1.js → model-resolver-8cg7mtm3.js} +4 -4
  101. package/dist/chunks/{credential-s1pkry0a.js → model-resolver-8e56318f.js} +15 -15
  102. package/dist/chunks/{credential-7qxr7tde.js → model-resolver-8s85hddg.js} +21 -21
  103. package/dist/chunks/{credential-7qrph824.js → model-resolver-8sxe6kv8.js} +2 -2
  104. package/dist/chunks/{credential-x9v8dn1p.js → model-resolver-8tkeyxfb.js} +15 -15
  105. package/dist/chunks/{credential-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  106. package/dist/chunks/{credential-as19zes6.js → model-resolver-8zfqw22d.js} +9 -9
  107. package/dist/chunks/{credential-8zv0xmg5.js → model-resolver-8zv0xmg5.js} +1 -1
  108. package/dist/chunks/{credential-kbdtpyk9.js → model-resolver-90che2b9.js} +1 -1
  109. package/dist/chunks/{credential-kp2338hr.js → model-resolver-963hk181.js} +2 -2
  110. package/dist/chunks/{credential-ghc9xt9j.js → model-resolver-9dqqprs2.js} +13 -13
  111. package/dist/chunks/{credential-6es1dp4c.js → model-resolver-9k2g0ym6.js} +8 -8
  112. package/dist/chunks/{credential-wr76fwzr.js → model-resolver-9qa1n9yg.js} +19 -19
  113. package/dist/chunks/{credential-9kypm00e.js → model-resolver-9tntx0tg.js} +12 -12
  114. package/dist/chunks/{credential-y7xdgd31.js → model-resolver-9vnrb151.js} +16 -16
  115. package/dist/chunks/{credential-83nmc9tw.js → model-resolver-9y0r5z65.js} +14 -14
  116. package/dist/chunks/{credential-gjn6ywwk.js → model-resolver-9yqjp86x.js} +6 -6
  117. package/dist/chunks/{credential-f75ateqj.js → model-resolver-a4ye1bjy.js} +20 -20
  118. package/dist/chunks/{credential-s6y0s77k.js → model-resolver-a9pnpjw0.js} +12 -12
  119. package/dist/chunks/{credential-v5hpj9dd.js → model-resolver-aedwt843.js} +4 -4
  120. package/dist/chunks/{credential-d6zw7xzj.js → model-resolver-aek35f17.js} +22 -22
  121. package/dist/chunks/{credential-zwrwb0jp.js → model-resolver-ahvr9zks.js} +5 -5
  122. package/dist/chunks/{credential-5z37xpea.js → model-resolver-asgfhhtj.js} +10 -10
  123. package/dist/chunks/{credential-f341sazs.js → model-resolver-atz1w742.js} +3 -3
  124. package/dist/chunks/{credential-x6yw0ber.js → model-resolver-avnqt6kg.js} +28 -28
  125. package/dist/chunks/{credential-2ec6dphv.js → model-resolver-aw6b62hs.js} +19 -19
  126. package/dist/chunks/{credential-x0vk0gwd.js → model-resolver-ayfytmn9.js} +5 -5
  127. package/dist/chunks/{credential-3cbjf1nt.js → model-resolver-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{credential-bt0f909j.js → model-resolver-b0bwvcfx.js} +6 -6
  129. package/dist/chunks/{credential-b26ddj6h.js → model-resolver-b26ddj6h.js} +4 -4
  130. package/dist/chunks/{credential-c6pw0yen.js → model-resolver-b2nxz5gt.js} +28 -28
  131. package/dist/chunks/{credential-kz92qt34.js → model-resolver-b62sbhp2.js} +9 -9
  132. package/dist/chunks/{credential-w9mgb9cs.js → model-resolver-b7nkz392.js} +1 -1
  133. package/dist/chunks/{credential-9av8agt8.js → model-resolver-bbmr939d.js} +14 -14
  134. package/dist/chunks/{credential-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  135. package/dist/chunks/{credential-5yaa7x7j.js → model-resolver-c0j1xhnz.js} +12 -12
  136. package/dist/chunks/{credential-s5zrq09q.js → model-resolver-c1sfsxsr.js} +8 -8
  137. package/dist/chunks/{credential-11kvp2cy.js → model-resolver-c48dbhpj.js} +4 -4
  138. package/dist/chunks/{credential-xdfpp0xt.js → model-resolver-c6nmgr7r.js} +83 -83
  139. package/dist/chunks/{credential-1rjxj697.js → model-resolver-cat34y4z.js} +16 -16
  140. package/dist/chunks/{credential-txzx0fk8.js → model-resolver-cbfqvt1a.js} +14 -14
  141. package/dist/chunks/{credential-w7j3r3wx.js → model-resolver-ccp6j38y.js} +8 -8
  142. package/dist/chunks/{credential-e3svkcdx.js → model-resolver-ckdfchax.js} +19 -19
  143. package/dist/chunks/{credential-zg9k7bn3.js → model-resolver-cm57h9tw.js} +9 -9
  144. package/dist/chunks/{credential-nemnqzpn.js → model-resolver-cpe35zww.js} +4 -4
  145. package/dist/chunks/{credential-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{credential-0xcvz9sg.js → model-resolver-d0p5c7fg.js} +14 -14
  147. package/dist/chunks/{credential-ksfw6zrq.js → model-resolver-d0x2nk4r.js} +45 -45
  148. package/dist/chunks/{credential-gn8tkhbf.js → model-resolver-d4v9tmah.js} +2 -2
  149. package/dist/chunks/{credential-65fjmp14.js → model-resolver-d7fpwqtt.js} +59 -59
  150. package/dist/chunks/{credential-pc39v9sx.js → model-resolver-djnbs9jq.js} +27 -27
  151. package/dist/chunks/{credential-dt77769w.js → model-resolver-dt77769w.js} +1 -1
  152. package/dist/chunks/{credential-xyphgxh5.js → model-resolver-dtme87ya.js} +17 -17
  153. package/dist/chunks/{credential-qgjppbc5.js → model-resolver-dx7n85xr.js} +8 -8
  154. package/dist/chunks/{credential-pmfwwzrz.js → model-resolver-e0kdqj0n.js} +11 -11
  155. package/dist/chunks/{credential-zxaavhjz.js → model-resolver-e96hncb3.js} +19 -19
  156. package/dist/chunks/{credential-ze4w7psa.js → model-resolver-edm37t96.js} +6 -6
  157. package/dist/chunks/{credential-1t47ehzq.js → model-resolver-eeavz234.js} +15 -15
  158. package/dist/chunks/{credential-y20fz49w.js → model-resolver-eg8ahkfp.js} +30 -30
  159. package/dist/chunks/{credential-ngd135wv.js → model-resolver-enmbc2c1.js} +12 -12
  160. package/dist/chunks/{credential-eqw4pqj1.js → model-resolver-eqw4pqj1.js} +2 -2
  161. package/dist/chunks/{credential-cgbd048h.js → model-resolver-ey9mc5c5.js} +42 -42
  162. package/dist/chunks/{credential-zzjy93vk.js → model-resolver-f5htpt59.js} +13 -13
  163. package/dist/chunks/{credential-90b408ze.js → model-resolver-f8qjaksx.js} +8 -8
  164. package/dist/chunks/{credential-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  165. package/dist/chunks/{credential-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
  166. package/dist/chunks/{credential-0ngak940.js → model-resolver-fkfhdjeg.js} +11 -11
  167. package/dist/chunks/{credential-4cmrkt1n.js → model-resolver-fs7bndbs.js} +3 -3
  168. package/dist/chunks/model-resolver-fss82tpd.js +571 -0
  169. package/dist/chunks/{credential-gbxcak82.js → model-resolver-fzx6s9yr.js} +7 -7
  170. package/dist/chunks/{credential-z6s8etdx.js → model-resolver-g218nywn.js} +1 -1
  171. package/dist/chunks/{credential-4p1mepgp.js → model-resolver-garhgm1n.js} +18 -18
  172. package/dist/chunks/{credential-gbjdnr5j.js → model-resolver-gbjdnr5j.js} +2 -2
  173. package/dist/chunks/{credential-ghrv1g9c.js → model-resolver-ghrv1g9c.js} +1 -1
  174. package/dist/chunks/{credential-12b6tsjv.js → model-resolver-gkz7tbfj.js} +6 -6
  175. package/dist/chunks/{credential-6wt5b4ey.js → model-resolver-gn85cqnh.js} +7 -7
  176. package/dist/chunks/{credential-29sj67nf.js → model-resolver-gwddft2b.js} +15 -15
  177. package/dist/chunks/{credential-gwyytpcj.js → model-resolver-gwyytpcj.js} +3 -3
  178. package/dist/chunks/{credential-yexts7ah.js → model-resolver-h0hxey4q.js} +2 -2
  179. package/dist/chunks/{credential-hvm4ge8f.js → model-resolver-h13d263h.js} +78 -78
  180. package/dist/chunks/{credential-v2e0hwxs.js → model-resolver-h757w2se.js} +13 -13
  181. package/dist/chunks/{credential-teav1bzy.js → model-resolver-h91vm5r2.js} +9 -9
  182. package/dist/chunks/{credential-x7pt40kb.js → model-resolver-h9ymn086.js} +2 -2
  183. package/dist/chunks/{credential-me9zdkf8.js → model-resolver-ha02ktpj.js} +11 -11
  184. package/dist/chunks/{credential-pn4h4agb.js → model-resolver-hb3eng2b.js} +18 -18
  185. package/dist/chunks/{credential-hgzwgvze.js → model-resolver-hgzwgvze.js} +2 -2
  186. package/dist/chunks/{credential-8t99kr38.js → model-resolver-hkf8spj2.js} +7 -7
  187. package/dist/chunks/{credential-t66967gv.js → model-resolver-hrhdtsqf.js} +42 -42
  188. package/dist/chunks/{credential-d6xmsstz.js → model-resolver-hvv8mc35.js} +35 -35
  189. package/dist/chunks/{credential-hyyyvpx2.js → model-resolver-j4yx3b1w.js} +4 -4
  190. package/dist/chunks/{credential-0a5n0dk4.js → model-resolver-j7qza38z.js} +7 -7
  191. package/dist/chunks/{credential-ze75qvmd.js → model-resolver-j9nxzz3g.js} +3 -3
  192. package/dist/chunks/{credential-jkdcm5hg.js → model-resolver-jkdcm5hg.js} +1 -1
  193. package/dist/chunks/{credential-jm70asfg.js → model-resolver-jm70asfg.js} +1 -1
  194. package/dist/chunks/model-resolver-jnad4gzd.js +265 -0
  195. package/dist/chunks/{credential-rf2bqxs6.js → model-resolver-jp46v55q.js} +10 -10
  196. package/dist/chunks/{credential-40kp7933.js → model-resolver-jqnhb84p.js} +34 -34
  197. package/dist/chunks/{credential-6wg6htxt.js → model-resolver-jryxgqq0.js} +26 -26
  198. package/dist/chunks/{credential-k2b1rh1h.js → model-resolver-k2m8pptq.js} +5 -5
  199. package/dist/chunks/{credential-qsdghx1p.js → model-resolver-k3cx6fhe.js} +4 -4
  200. package/dist/chunks/{credential-f3sedh8n.js → model-resolver-k3xh0dgs.js} +25 -25
  201. package/dist/chunks/{credential-txw9c1zb.js → model-resolver-k5gj7jr3.js} +43 -43
  202. package/dist/chunks/{credential-8xz27cp9.js → model-resolver-kbgs7tyr.js} +4 -4
  203. package/dist/chunks/{credential-50d37bfg.js → model-resolver-kc6jjgz6.js} +3 -3
  204. package/dist/chunks/{credential-pjg7vnhd.js → model-resolver-kcrgnjky.js} +6 -6
  205. package/dist/chunks/{credential-f84q42xa.js → model-resolver-kfk7sbn0.js} +3 -3
  206. package/dist/chunks/{credential-3dn304yc.js → model-resolver-kjxkeadc.js} +6 -6
  207. package/dist/chunks/{credential-ydnqsce6.js → model-resolver-kkjv8hxa.js} +13 -10
  208. package/dist/chunks/{credential-v710aepd.js → model-resolver-kkys5r10.js} +32 -32
  209. package/dist/chunks/{credential-1yb09jxe.js → model-resolver-kmn2yx6x.js} +9 -9
  210. package/dist/chunks/{credential-wxbjbwsp.js → model-resolver-ksw43kvm.js} +43 -43
  211. package/dist/chunks/{credential-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  212. package/dist/chunks/{credential-kzczzf4v.js → model-resolver-kzczzf4v.js} +1 -1
  213. package/dist/chunks/{credential-m1714858.js → model-resolver-m1714858.js} +1 -1
  214. package/dist/chunks/{credential-vtw8zf69.js → model-resolver-m7sx3bgz.js} +11 -11
  215. package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{credential-8z6m94af.js → model-resolver-mb7mbhnz.js} +3 -3
  217. package/dist/chunks/{credential-9e2r7gca.js → model-resolver-mp6qsgyp.js} +2 -2
  218. package/dist/chunks/{credential-msd2a3qm.js → model-resolver-msd2a3qm.js} +4 -4
  219. package/dist/chunks/{credential-n320gsn2.js → model-resolver-n320gsn2.js} +1 -1
  220. package/dist/chunks/{credential-m8ctvpyw.js → model-resolver-n3hh2qv3.js} +6 -6
  221. package/dist/chunks/{credential-r7zrbnjn.js → model-resolver-n3j33rb6.js} +4 -4
  222. package/dist/chunks/{credential-1g3fqqp1.js → model-resolver-n4pheaw7.js} +12 -12
  223. package/dist/chunks/{credential-cfks88hm.js → model-resolver-n7vzwr2f.js} +5 -5
  224. package/dist/chunks/{credential-ct4s7tem.js → model-resolver-najt5kby.js} +16 -16
  225. package/dist/chunks/{credential-fjr2b5e3.js → model-resolver-nbbqkgb4.js} +8 -8
  226. package/dist/chunks/{credential-ngp8yjrv.js → model-resolver-ncxh5hea.js} +12 -12
  227. package/dist/chunks/{credential-6da689nf.js → model-resolver-nex29pj9.js} +36 -36
  228. package/dist/chunks/{credential-qsyb7zsf.js → model-resolver-nf0ssdv7.js} +5 -5
  229. package/dist/chunks/{credential-fy58tw3g.js → model-resolver-nh0xn3za.js} +20 -20
  230. package/dist/chunks/{credential-vwcz1f45.js → model-resolver-nyxvvj5y.js} +7 -7
  231. package/dist/chunks/{credential-qmr1y5hf.js → model-resolver-nz0schhs.js} +29 -29
  232. package/dist/chunks/{credential-w0jktmx1.js → model-resolver-p1p5zv4x.js} +5 -5
  233. package/dist/chunks/{credential-qgq9298t.js → model-resolver-p2jr62an.js} +19 -19
  234. package/dist/chunks/{credential-7g1dk846.js → model-resolver-p66p653y.js} +6 -6
  235. package/dist/chunks/{credential-wjzn89qr.js → model-resolver-pc0teew3.js} +10 -10
  236. package/dist/chunks/{credential-xfgseydh.js → model-resolver-pebxp5y5.js} +9 -9
  237. package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  238. package/dist/chunks/{credential-z1krphr9.js → model-resolver-pnn7z9dj.js} +3 -3
  239. package/dist/chunks/{credential-s1bjchgx.js → model-resolver-prfkbj99.js} +3 -3
  240. package/dist/chunks/{credential-py3h3pv4.js → model-resolver-prw5shb5.js} +26 -26
  241. package/dist/chunks/{credential-scn5v30h.js → model-resolver-px08ft37.js} +9 -9
  242. package/dist/chunks/{credential-kw7meyf9.js → model-resolver-q2vkjmym.js} +11 -11
  243. package/dist/chunks/{credential-7yak6c98.js → model-resolver-q3dx51xc.js} +9 -9
  244. package/dist/chunks/{credential-ck7cztgk.js → model-resolver-q8326745.js} +14 -14
  245. package/dist/chunks/{credential-6stdv9w2.js → model-resolver-q8b6rxxn.js} +15 -15
  246. package/dist/chunks/{credential-te1sx60k.js → model-resolver-q8creews.js} +13 -13
  247. package/dist/chunks/{credential-k46dd5bg.js → model-resolver-qfz6bxfd.js} +4 -4
  248. package/dist/chunks/{credential-kmekj7m2.js → model-resolver-qj27ec1j.js} +4 -4
  249. package/dist/chunks/{credential-6apz3qrh.js → model-resolver-qj3y0fcq.js} +8 -8
  250. package/dist/chunks/{credential-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
  251. package/dist/chunks/{credential-8vct2pgr.js → model-resolver-qtf35215.js} +3 -3
  252. package/dist/chunks/{credential-gk0ch70f.js → model-resolver-qtvg7j9r.js} +20 -20
  253. package/dist/chunks/{credential-y4hbkxb9.js → model-resolver-qw33hgje.js} +9 -9
  254. package/dist/chunks/{credential-fb88yn5w.js → model-resolver-qx8vbq4y.js} +20 -20
  255. package/dist/chunks/{credential-whcyjp1a.js → model-resolver-qyweffd1.js} +6 -6
  256. package/dist/chunks/{credential-xrg3egf5.js → model-resolver-r0k0zykn.js} +19 -19
  257. package/dist/chunks/{credential-nnrpkatg.js → model-resolver-r564e27w.js} +37 -37
  258. package/dist/chunks/{credential-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  259. package/dist/chunks/{credential-rgc9cx3e.js → model-resolver-rgc9cx3e.js} +2 -2
  260. package/dist/chunks/{credential-vt2d6wap.js → model-resolver-rj7j5fvs.js} +4 -4
  261. package/dist/chunks/{credential-9nkrm321.js → model-resolver-rnk70wm5.js} +23 -23
  262. package/dist/chunks/{credential-0n7ehy1t.js → model-resolver-rpczda7v.js} +5 -5
  263. package/dist/chunks/{credential-2n44y0cp.js → model-resolver-rs5y255m.js} +23 -23
  264. package/dist/chunks/{credential-yk2wzvan.js → model-resolver-rt29q10a.js} +27 -27
  265. package/dist/chunks/{credential-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{credential-bfnzdh3r.js → model-resolver-rw2jerq5.js} +16 -16
  267. package/dist/chunks/{credential-78nhp8p4.js → model-resolver-s335nrrb.js} +3 -3
  268. package/dist/chunks/{credential-2fhhs2b5.js → model-resolver-s7b4430n.js} +4 -4
  269. package/dist/chunks/{credential-sbya78hr.js → model-resolver-sbya78hr.js} +1 -1
  270. package/dist/chunks/{credential-f0gcszgm.js → model-resolver-sctz5g06.js} +25 -25
  271. package/dist/chunks/{credential-bjstfkne.js → model-resolver-sczaav9c.js} +29 -29
  272. package/dist/chunks/{credential-kyj2tz2q.js → model-resolver-sgp8jcxy.js} +1 -1
  273. package/dist/chunks/{credential-h2ypzy4x.js → model-resolver-ss22qbvv.js} +9 -9
  274. package/dist/chunks/{credential-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{credential-mp589wdn.js → model-resolver-swmy6bdm.js} +18 -18
  276. package/dist/chunks/{credential-5axnrad2.js → model-resolver-t1m564cg.js} +4 -4
  277. package/dist/chunks/{credential-7pmpy13x.js → model-resolver-t5791h1y.js} +11 -11
  278. package/dist/chunks/{credential-7k7p6wfs.js → model-resolver-t6xbhbt0.js} +8 -8
  279. package/dist/chunks/{credential-dyz58ksv.js → model-resolver-t92x0zza.js} +11 -11
  280. package/dist/chunks/{credential-tbpn7jtk.js → model-resolver-tbpn7jtk.js} +1 -1
  281. package/dist/chunks/{credential-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{credential-1a9fd5n9.js → model-resolver-tfggn6re.js} +25 -25
  283. package/dist/chunks/{credential-tg7s7b5t.js → model-resolver-tg7s7b5t.js} +1 -1
  284. package/dist/chunks/{credential-b4mecpy7.js → model-resolver-tmkvp075.js} +17 -17
  285. package/dist/chunks/{credential-tr8x705m.js → model-resolver-tr8x705m.js} +1 -1
  286. package/dist/chunks/{credential-1vet450z.js → model-resolver-ttnv2vdn.js} +15 -15
  287. package/dist/chunks/{credential-tvtps2q9.js → model-resolver-tvtps2q9.js} +1 -1
  288. package/dist/chunks/{credential-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
  289. package/dist/chunks/{credential-320gea16.js → model-resolver-tx3g5vmq.js} +17 -17
  290. package/dist/chunks/{credential-hsev9dwd.js → model-resolver-tyf1chh3.js} +11 -11
  291. package/dist/chunks/{credential-s2hq3x2w.js → model-resolver-tzwsp11x.js} +9 -9
  292. package/dist/chunks/{credential-v0t96s7a.js → model-resolver-v0t96s7a.js} +1 -1
  293. package/dist/chunks/{credential-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{credential-v2x06h94.js → model-resolver-v2x06h94.js} +3 -3
  295. package/dist/chunks/{credential-tb2mrvc9.js → model-resolver-v4bj6baw.js} +4 -4
  296. package/dist/chunks/{credential-3c5p5sw6.js → model-resolver-v5aaewsh.js} +4 -4
  297. package/dist/chunks/{credential-8k2wjcfq.js → model-resolver-v9fmmn1s.js} +49 -49
  298. package/dist/chunks/{credential-cx5dp902.js → model-resolver-vgf57983.js} +5 -5
  299. package/dist/chunks/{credential-vjf35v1f.js → model-resolver-vjf35v1f.js} +1 -1
  300. package/dist/chunks/{credential-wacyf2fg.js → model-resolver-vwhy63a2.js} +16 -16
  301. package/dist/chunks/{credential-brx2hakp.js → model-resolver-vwjwnvn0.js} +2 -2
  302. package/dist/chunks/{credential-kmj6gxn4.js → model-resolver-vx2e8sqf.js} +41 -41
  303. package/dist/chunks/{credential-eqa7jn4f.js → model-resolver-vyeecgqw.js} +4 -4
  304. package/dist/chunks/{credential-qn5m0r7k.js → model-resolver-w1w3hc48.js} +4 -4
  305. package/dist/chunks/{credential-r41sfy63.js → model-resolver-w2eysc6j.js} +6 -6
  306. package/dist/chunks/{credential-5hq2ndd5.js → model-resolver-w3db5nnn.js} +21 -21
  307. package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  308. package/dist/chunks/{credential-mety80ck.js → model-resolver-w52mnfka.js} +10 -10
  309. package/dist/chunks/{credential-w687dnns.js → model-resolver-w687dnns.js} +1 -1
  310. package/dist/chunks/{credential-rtn2vt9c.js → model-resolver-w6pxevtb.js} +11 -11
  311. package/dist/chunks/{credential-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{credential-9b096fcd.js → model-resolver-wbj062vg.js} +30 -30
  313. package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  314. package/dist/chunks/{credential-nx4vzyjd.js → model-resolver-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{credential-523mcah3.js → model-resolver-wn72e71g.js} +34 -34
  316. package/dist/chunks/{credential-38pebz56.js → model-resolver-wrgtyz65.js} +15 -15
  317. package/dist/chunks/{credential-c7cw818c.js → model-resolver-wt99tj4q.js} +5 -5
  318. package/dist/chunks/{credential-kp86b6np.js → model-resolver-wt9tzd1g.js} +15 -15
  319. package/dist/chunks/{credential-6ekg2dcv.js → model-resolver-wyea6evt.js} +21 -21
  320. package/dist/chunks/{credential-22wp63zj.js → model-resolver-x150ncgg.js} +2 -2
  321. package/dist/chunks/{credential-0mnd6s7k.js → model-resolver-x790wh7m.js} +23 -23
  322. package/dist/chunks/{credential-a0vqcznx.js → model-resolver-x8bn6g0h.js} +22 -22
  323. package/dist/chunks/{credential-za6qey2e.js → model-resolver-xaa0v9kx.js} +30 -30
  324. package/dist/chunks/{credential-xsb1gmvz.js → model-resolver-xq64ck47.js} +4 -4
  325. package/dist/chunks/{credential-62pa3t32.js → model-resolver-xra4j8wk.js} +7 -7
  326. package/dist/chunks/{credential-sdeeyamz.js → model-resolver-xsg82h9c.js} +6 -6
  327. package/dist/chunks/{credential-xjr6c8m4.js → model-resolver-xxschbft.js} +4 -4
  328. package/dist/chunks/{credential-n80p8x18.js → model-resolver-xzaf10m4.js} +22 -22
  329. package/dist/chunks/{credential-dbatw319.js → model-resolver-y1n277rb.js} +3 -3
  330. package/dist/chunks/{credential-89xvaqpr.js → model-resolver-y5z3432y.js} +4 -4
  331. package/dist/chunks/{credential-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{credential-sxp50xhv.js → model-resolver-ychas7hp.js} +9 -9
  333. package/dist/chunks/{credential-k0tcwx7p.js → model-resolver-yfztsk7h.js} +11 -11
  334. package/dist/chunks/{credential-fs2dvzz7.js → model-resolver-yk4ram99.js} +3 -3
  335. package/dist/chunks/{credential-xgtnbdr7.js → model-resolver-ynthgyw4.js} +9 -9
  336. package/dist/chunks/{credential-ypdtnm3j.js → model-resolver-yp6k58js.js} +12 -12
  337. package/dist/chunks/{credential-yr705xyq.js → model-resolver-yr705xyq.js} +1 -1
  338. package/dist/chunks/{credential-yvtc2x31.js → model-resolver-yvtc2x31.js} +1 -1
  339. package/dist/chunks/{credential-z080rjh6.js → model-resolver-z080rjh6.js} +1 -1
  340. package/dist/chunks/{credential-sgwacr3g.js → model-resolver-z1t5wyfc.js} +10 -10
  341. package/dist/chunks/{credential-6cnxseme.js → model-resolver-z1ye1qyj.js} +71 -71
  342. package/dist/chunks/{credential-wfbe5qn6.js → model-resolver-z4bmfxqk.js} +13 -13
  343. package/dist/chunks/{credential-2e8k9k0g.js → model-resolver-z8nr08b9.js} +7 -7
  344. package/dist/chunks/{credential-gq5x4jd8.js → model-resolver-zbwzkkj6.js} +20 -20
  345. package/dist/chunks/{credential-ddggahaa.js → model-resolver-zcpemdvy.js} +21 -21
  346. package/dist/chunks/{credential-0c6jbp9n.js → model-resolver-ze34bysh.js} +12 -12
  347. package/dist/chunks/{credential-by8ty0bx.js → model-resolver-zpdbqgja.js} +4 -4
  348. package/dist/chunks/{credential-wdmmy3mx.js → model-resolver-zpnj1tny.js} +8 -8
  349. package/dist/chunks/{credential-cx34cdxv.js → model-resolver-zwt6szs0.js} +10 -10
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +11 -11
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +5 -5
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +133 -133
  362. package/dist/config/plugin/command.js +240 -240
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +145 -145
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +132 -132
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +132 -132
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +156 -156
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +134 -134
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +131 -131
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +133 -133
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +94 -94
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +98 -98
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +109 -109
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +247 -247
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +111 -111
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +9 -9
  502. package/dist/filesystem.js +118 -118
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +91 -91
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +114 -114
  508. package/dist/git.js +7 -7
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +91 -91
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +3 -3
  538. package/dist/integration/connection.js +1 -1
  539. package/dist/integration.js +90 -90
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +94 -94
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +122 -122
  555. package/dist/mcp/instructions.js +185 -185
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +112 -112
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +109 -109
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +115 -115
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +93 -93
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +156 -156
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +91 -91
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +87 -87
  577. package/dist/plugin/command.js +119 -119
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +3 -3
  583. package/dist/plugin/internal.js +409 -409
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +127 -127
  587. package/dist/plugin/optimize.js +2 -2
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  603. package/dist/plugin/provider/claude-agent/index.js +146 -146
  604. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  605. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +112 -112
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  621. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +138 -138
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +133 -133
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +138 -138
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +83 -83
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +419 -419
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +4 -4
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +3 -3
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +2 -2
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +93 -93
  681. package/dist/provider.js +102 -102
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +99 -99
  686. package/dist/reference.js +99 -99
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +257 -257
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +3 -3
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +247 -247
  707. package/dist/session/execution.js +169 -169
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +150 -150
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +88 -88
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +146 -146
  715. package/dist/session/message-updater.js +4 -4
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +169 -169
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +3 -3
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +5 -5
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +242 -242
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +243 -243
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +15 -15
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +150 -150
  757. package/dist/skill.js +155 -155
  758. package/dist/snapshot.js +104 -104
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +184 -184
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +169 -169
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +171 -171
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +243 -243
  776. package/dist/tool/plugin/skill.js +160 -160
  777. package/dist/tool/plugin/subagent.js +236 -236
  778. package/dist/tool/plugin/todo.js +156 -156
  779. package/dist/tool/plugin/webfetch.js +156 -156
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +112 -112
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +165 -165
  787. package/dist/types/v1/config/migrate.d.ts +2 -2
  788. package/dist/usage-limits.js +96 -96
  789. package/dist/util/error-summary.js +1 -1
  790. package/dist/util/git-executable.js +3 -3
  791. package/dist/util/lazy.js +1 -1
  792. package/dist/util/slug.js +1 -1
  793. package/dist/util/token.js +1 -1
  794. package/dist/util/which.js +1 -1
  795. package/dist/util/wildcard.js +1 -1
  796. package/dist/v1/config/agent.js +7 -7
  797. package/dist/v1/config/command.js +3 -3
  798. package/dist/v1/config/mcp.js +4 -4
  799. package/dist/v1/config/migrate.js +105 -105
  800. package/dist/v1/config/permission.js +1 -1
  801. package/dist/v1/config/plugin.js +3 -3
  802. package/dist/v1/config/provider-options.js +1 -1
  803. package/dist/v1/config/provider.js +4 -4
  804. package/dist/variant.js +104 -104
  805. package/dist/vcs/patch.js +1 -1
  806. package/dist/vcs.js +100 -100
  807. package/dist/voice.js +95 -95
  808. package/dist/websearch.js +91 -91
  809. package/dist/wellknown/plugin.js +87 -87
  810. package/dist/wellknown.js +92 -92
  811. package/dist/workspace/driver.js +5 -5
  812. package/dist/workspace/sql.js +1 -1
  813. package/dist/workspace.js +93 -93
  814. package/dist/worktree/directory.js +2 -2
  815. package/dist/worktree/git.js +11 -11
  816. package/dist/worktree/sql.js +5 -5
  817. package/dist/worktree/strategies.js +102 -102
  818. package/dist/worktree.js +113 -113
  819. package/package.json +8 -8
  820. package/dist/chunks/credential-2cec6ycz.js +0 -571
  821. package/dist/chunks/credential-6bshxcsx.js +0 -18
  822. package/dist/chunks/credential-qmv7ajj7.js +0 -265
  823. package/dist/chunks/credential-zzs1n7jm.js +0 -26
  824. /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  825. /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  826. /package/dist/chunks/{credential-108x4f4w.js → model-resolver-108x4f4w.js} +0 -0
  827. /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  828. /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  829. /package/dist/chunks/{credential-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
  830. /package/dist/chunks/{credential-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  831. /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  832. /package/dist/chunks/{credential-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  833. /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  834. /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  835. /package/dist/chunks/{credential-3af0jn4w.js → model-resolver-3af0jn4w.js} +0 -0
  836. /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  837. /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  838. /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  839. /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  840. /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  841. /package/dist/chunks/{credential-4qk9sjk2.js → model-resolver-4qk9sjk2.js} +0 -0
  842. /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  843. /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  844. /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  845. /package/dist/chunks/{credential-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
  846. /package/dist/chunks/{credential-6agm2x70.js → model-resolver-6agm2x70.js} +0 -0
  847. /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  848. /package/dist/chunks/{credential-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  849. /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  850. /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  851. /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  852. /package/dist/chunks/{credential-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  853. /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  854. /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  855. /package/dist/chunks/{credential-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  856. /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  857. /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  858. /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  859. /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{credential-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{credential-bhmrqjy3.js → model-resolver-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{credential-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  874. /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{credential-ean2d8b5.js → model-resolver-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{credential-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  886. /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  888. /package/dist/chunks/{credential-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  890. /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{credential-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{credential-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{credential-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  898. /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{credential-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{credential-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{credential-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{credential-syrav9an.js → model-resolver-syrav9an.js} +0 -0
  915. /package/dist/chunks/{credential-t03h4f5z.js → model-resolver-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{credential-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{credential-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{credential-vtarvj67.js → model-resolver-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{credential-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{credential-x4th4bpe.js → model-resolver-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  926. /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{credential-z0h12gs8.js → model-resolver-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{credential-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{credential-zxpyjp51.js → model-resolver-zxpyjp51.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref5
3
- } from "./credential-9e2r7gca.js";
3
+ } from "./model-resolver-mp6qsgyp.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service80,
12
+ Service: () => Service64,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node65,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service80 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service64 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service80, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service64, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service80, Node.tags.values.global);
27
+ var node65 = LayerNode.unbound(Service64, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service80;
29
+ const locations = yield* Service64;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -48,4 +48,4 @@ function canonical3(ref) {
48
48
  });
49
49
  }
50
50
 
51
- export { Service80, node83, reload2, canonical3, exports_location_service_map };
51
+ export { Service64, node65, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  key3
3
- } from "./credential-n320gsn2.js";
3
+ } from "./model-resolver-n320gsn2.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./credential-w1g4694j.js";
6
+ } from "./model-resolver-7jj85bbm.js";
7
7
  import {
8
8
  ID18,
9
9
  MethodID2
10
- } from "./credential-83nmc9tw.js";
10
+ } from "./model-resolver-9y0r5z65.js";
11
11
  import {
12
12
  ID17,
13
13
  aisdk2,
14
14
  mergeOverlay2,
15
15
  Service84
16
- } from "./credential-12b6tsjv.js";
16
+ } from "./model-resolver-gkz7tbfj.js";
17
17
  import {
18
18
  ID16
19
- } from "./credential-cst8jf83.js";
19
+ } from "./model-resolver-7g8wh7aj.js";
20
20
  import {
21
- load5,
22
- derive3
23
- } from "./credential-txzx0fk8.js";
21
+ load4,
22
+ derive2
23
+ } from "./model-resolver-cbfqvt1a.js";
24
24
  import {
25
25
  useragent2
26
- } from "./credential-sgwacr3g.js";
26
+ } from "./model-resolver-z1t5wyfc.js";
27
27
  import {
28
28
  ID14
29
- } from "./credential-bfnzdh3r.js";
29
+ } from "./model-resolver-rw2jerq5.js";
30
30
  import {
31
31
  get5
32
- } from "./credential-3nnrz6f6.js";
32
+ } from "./model-resolver-3nnrz6f6.js";
33
33
  import {
34
- Service48,
34
+ Service55,
35
35
  fingerprint2
36
- } from "./credential-6es1dp4c.js";
36
+ } from "./model-resolver-9k2g0ym6.js";
37
37
  import {
38
38
  start3
39
- } from "./credential-2e8k9k0g.js";
39
+ } from "./model-resolver-z8nr08b9.js";
40
40
  import {
41
41
  activeCredential2
42
- } from "./credential-7g1dk846.js";
42
+ } from "./model-resolver-p66p653y.js";
43
43
 
44
44
  // src/plugin/provider/github-copilot.ts
45
45
  import { isRecord } from "@opencode/util/record";
@@ -172,7 +172,7 @@ var GithubCopilotPlugin2 = define({
172
172
  id: "opencode.provider.github.copilot",
173
173
  effect: Effect.fn(function* (ctx) {
174
174
  const providers = yield* Service84;
175
- const cache = yield* Service48;
175
+ const cache = yield* Service55;
176
176
  const http = yield* HttpClient.HttpClient;
177
177
  const outbound = yield* FetchHttpClient.Fetch;
178
178
  const discovered = yield* start3({
@@ -189,7 +189,7 @@ var GithubCopilotPlugin2 = define({
189
189
  const models = yield* cache.get({
190
190
  key: modelsKey(connection, url, headers),
191
191
  ...options,
192
- load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load5(http, url, {
192
+ load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load4(http, url, {
193
193
  ...headers,
194
194
  Authorization: `Bearer ${current.refresh}`,
195
195
  "User-Agent": useragent2(ctx.app),
@@ -213,7 +213,7 @@ var GithubCopilotPlugin2 = define({
213
213
  if (loaded.models) {
214
214
  evt.add({
215
215
  info: item.provider,
216
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
216
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
217
217
  sourceConnection: loaded.connection
218
218
  });
219
219
  return;
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./credential-rb9dy4dg.js";
10
+ } from "./model-resolver-rb9dy4dg.js";
11
11
  import {
12
12
  Service88
13
- } from "./credential-9e2r7gca.js";
13
+ } from "./model-resolver-mp6qsgyp.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./credential-ck7cztgk.js";
16
+ } from "./model-resolver-q8326745.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin25,
24
+ Plugin: () => Plugin43,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin25 = define({
33
+ var Plugin43 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service88;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin25, exports_hg };
201
+ export { Plugin43, exports_hg };
@@ -1,53 +1,53 @@
1
1
  import {
2
- node81
3
- } from "./credential-sgwacr3g.js";
2
+ node82
3
+ } from "./model-resolver-z1t5wyfc.js";
4
4
  import {
5
5
  Service92,
6
6
  node95
7
- } from "./credential-2fhhs2b5.js";
7
+ } from "./model-resolver-s7b4430n.js";
8
8
  import {
9
9
  KVTable2
10
- } from "./credential-3hepkmqq.js";
10
+ } from "./model-resolver-3hepkmqq.js";
11
11
  import {
12
12
  latest2,
13
- Service73
14
- } from "./credential-ksfw6zrq.js";
13
+ Service78
14
+ } from "./model-resolver-d0x2nk4r.js";
15
15
  import {
16
16
  DirectoryNotFoundError2
17
- } from "./credential-qmr1y5hf.js";
17
+ } from "./model-resolver-nz0schhs.js";
18
18
  import {
19
19
  resolver2
20
- } from "./credential-xgtnbdr7.js";
20
+ } from "./model-resolver-ynthgyw4.js";
21
21
  import {
22
- Service53,
23
- node54
24
- } from "./credential-gjn6ywwk.js";
22
+ Service58,
23
+ node59
24
+ } from "./model-resolver-9yqjp86x.js";
25
25
  import {
26
26
  SessionMessage2
27
- } from "./credential-gftt206x.js";
27
+ } from "./model-resolver-gftt206x.js";
28
28
  import {
29
29
  SessionInboxTable2
30
- } from "./credential-8z6m94af.js";
30
+ } from "./model-resolver-mb7mbhnz.js";
31
31
  import {
32
- Service50,
33
- node52
34
- } from "./credential-88prq0kt.js";
32
+ Service56,
33
+ node58
34
+ } from "./model-resolver-5n28pc9n.js";
35
35
  import {
36
- Service30,
37
- node33
38
- } from "./credential-xdfpp0xt.js";
36
+ Service25,
37
+ node28
38
+ } from "./model-resolver-c6nmgr7r.js";
39
39
  import {
40
40
  validate2,
41
41
  describe2,
42
42
  authorize2,
43
43
  evaluate2
44
- } from "./credential-y8g6r4qa.js";
44
+ } from "./model-resolver-7s2n0qph.js";
45
45
  import {
46
46
  ScheduleTable2
47
- } from "./credential-nx4vzyjd.js";
47
+ } from "./model-resolver-wegkxhrn.js";
48
48
  import {
49
49
  __export
50
- } from "./credential-9rqn6x4v.js";
50
+ } from "./model-resolver-9rqn6x4v.js";
51
51
 
52
52
  // src/schedule.ts
53
53
  var exports_schedule2 = {};
@@ -57,16 +57,16 @@ __export(exports_schedule2, {
57
57
  CreateInput: () => CreateInput2,
58
58
  DisabledError: () => DisabledError2,
59
59
  ID: () => ID4,
60
- Info: () => Info3,
60
+ Info: () => Info4,
61
61
  InvalidError: () => InvalidError2,
62
62
  NotFoundError: () => NotFoundError2,
63
63
  Outcome: () => Outcome3,
64
64
  Request: () => Request2,
65
65
  Schedule: () => exports_schedule2,
66
- Service: () => Service14,
66
+ Service: () => Service15,
67
67
  Status: () => Status2,
68
68
  When: () => When2,
69
- node: () => node16,
69
+ node: () => node17,
70
70
  toCreateInput: () => toCreateInput2
71
71
  });
72
72
  import { randomUUID } from "node:crypto";
@@ -79,7 +79,7 @@ import {
79
79
  CreateInput as CreateInput2,
80
80
  durationMillis,
81
81
  ID as ID4,
82
- Info as Info3,
82
+ Info as Info4,
83
83
  Outcome as Outcome3,
84
84
  Request as Request2,
85
85
  Status as Status2,
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
108
108
  }
109
109
  }
110
110
 
111
- class Service14 extends Context.Service()("@opencode/Schedule") {
111
+ class Service15 extends Context.Service()("@opencode/Schedule") {
112
112
  }
113
113
  var MINUTE = 60000;
114
114
  var HOUR = 60 * MINUTE;
@@ -194,16 +194,16 @@ var toInfo = (row, lastOutput) => ({
194
194
  ...lastOutput === undefined ? {} : { lastOutput },
195
195
  time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
196
196
  });
197
- var layer = Layer.effect(Service14, Effect.gen(function* () {
197
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
198
198
  const database = yield* Service92;
199
199
  const db = database.db;
200
- const sessions = yield* Service30;
201
- const instances = yield* Service53;
202
- const execution = yield* Service50;
200
+ const sessions = yield* Service25;
201
+ const instances = yield* Service58;
202
+ const execution = yield* Service56;
203
203
  const doorbell = yield* Latch.make();
204
204
  const flags = yield* resolver2;
205
205
  const settings = (session) => Effect.gen(function* () {
206
- const config = yield* Effect.serviceOption(Service73);
206
+ const config = yield* Effect.serviceOption(Service78);
207
207
  if (Option.isNone(config))
208
208
  return { enabled: false, timezone: undefined };
209
209
  const entries = yield* config.value.entries();
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
486
486
  return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
487
487
  return Math.min(at.value, after ?? at.value);
488
488
  });
489
- return Service14.of({
489
+ return Service15.of({
490
490
  create: Effect.fn("Schedule.create")(function* (input) {
491
491
  const session = yield* sessions.get(input.sessionID);
492
492
  const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
598
598
  run
599
599
  });
600
600
  }));
601
- var node16 = makeGlobalNode({
602
- service: Service14,
601
+ var node17 = makeGlobalNode({
602
+ service: Service15,
603
603
  layer,
604
- deps: [node81, node95, node33, node52, node54]
604
+ deps: [node82, node95, node28, node58, node59]
605
605
  });
606
606
 
607
- export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service14, node16, exports_schedule2 };
607
+ export { Condition2, ConditionInput2, CreateInput2, ID4, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service15, node17, exports_schedule2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./credential-eqa7jn4f.js";
4
+ } from "./model-resolver-vyeecgqw.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./credential-40y6dtc2.js";
8
+ } from "./model-resolver-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./credential-9rqn6x4v.js";
11
+ } from "./model-resolver-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event11,
17
+ Event: () => Event12,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info13,
20
- NotFoundError: () => NotFoundError8,
21
- Service: () => Service66,
22
- layer: () => layer23,
23
- node: () => node67
19
+ Info: () => Info14,
20
+ NotFoundError: () => NotFoundError9,
21
+ Service: () => Service67,
22
+ layer: () => layer24,
23
+ node: () => node68
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event11 } from "@opencode/schema/command";
29
- var Info13 = Command.Info;
28
+ import { Event as Event12 } from "@opencode/schema/command";
29
+ var Info14 = Command.Info;
30
30
 
31
- class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service66 extends Context.Service()("@opencode/Command") {
43
+ class Service67 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer23 = Layer.effect(Service66, Effect.gen(function* () {
45
+ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
46
46
  const bus = yield* Service91;
47
- const info = (definition) => Info13.make({
47
+ const info = (definition) => Info14.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service66.of({
59
+ return Service67.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,14 +67,14 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node67 = makeLocationNode({
76
- service: Service66,
77
- layer: layer23,
75
+ var node68 = makeLocationNode({
76
+ service: Service67,
77
+ layer: layer24,
78
78
  deps: [node94]
79
79
  });
80
80
  function errorMessage(error) {
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info13, NotFoundError8, ExecutionError2, Service66, layer23, node67, exports_command4, Event11 };
90
+ export { Info14, NotFoundError9, ExecutionError2, Service67, layer24, node68, exports_command4, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/image/notice.ts
6
6
  var exports_notice = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make35,
9
+ make: () => make34,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make35 = () => Effect.sync(makeUnsafe2);
29
+ var make34 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make35, exports_keyed_mutex };
31
+ export { makeUnsafe2, make34, exports_keyed_mutex };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./credential-12b6tsjv.js";
4
+ } from "./model-resolver-gkz7tbfj.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./credential-cst8jf83.js";
7
+ } from "./model-resolver-7g8wh7aj.js";
8
8
  import {
9
9
  Document3
10
- } from "./credential-8t99kr38.js";
10
+ } from "./model-resolver-hkf8spj2.js";
11
11
  import {
12
12
  latest2,
13
- Service73
14
- } from "./credential-ksfw6zrq.js";
13
+ Service78
14
+ } from "./model-resolver-d0x2nk4r.js";
15
15
  import {
16
16
  supports2,
17
17
  resolve2
18
- } from "./credential-50d37bfg.js";
18
+ } from "./model-resolver-kc6jjgz6.js";
19
19
  import {
20
20
  observe2
21
- } from "./credential-tvtps2q9.js";
21
+ } from "./model-resolver-tvtps2q9.js";
22
22
  import {
23
23
  __export
24
- } from "./credential-9rqn6x4v.js";
24
+ } from "./model-resolver-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
- var exports_provider3 = {};
28
- __export(exports_provider3, {
29
- ConfigProviderPlugin: () => exports_provider3,
30
- Plugin: () => Plugin41,
27
+ var exports_provider2 = {};
28
+ __export(exports_provider2, {
29
+ ConfigProviderPlugin: () => exports_provider2,
30
+ Plugin: () => Plugin51,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin41 = define({
36
+ var Plugin51 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service73;
39
+ const config = yield* Service78;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
251
251
  });
252
252
  }
253
253
 
254
- export { Plugin41, integrate2, exports_provider3 };
254
+ export { Plugin51, integrate2, exports_provider2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service92,
3
3
  node95
4
- } from "./credential-2fhhs2b5.js";
4
+ } from "./model-resolver-s7b4430n.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./credential-27w5k9zf.js";
7
+ } from "./model-resolver-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./credential-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID11,
17
- Info: () => Info14,
18
- NotFoundError: () => NotFoundError10,
16
+ ID: () => ID13,
17
+ Info: () => Info16,
18
+ NotFoundError: () => NotFoundError11,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service70,
21
- node: () => node71
20
+ Service: () => Service74,
21
+ node: () => node76
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID11 = PermissionSaved.ID;
29
- var Info14 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info16 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID11
31
+ class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID13
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID11,
37
+ id: ID13,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service70 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service74 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service70, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
46
46
  const db = (yield* Service92).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID11.create(),
55
+ id: ID13.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError10({ id: input.id });
64
+ return yield* new NotFoundError11({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError10({ id: input.id });
69
+ return yield* new NotFoundError11({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service70.of({ list, add, update, remove });
75
+ return Service74.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node71 = makeGlobalNode({ service: Service70, layer, deps: [node95] });
93
+ var node76 = makeGlobalNode({ service: Service74, layer, deps: [node95] });
94
94
 
95
- export { ID11, Info14, NotFoundError10, ConflictError2, Service70, node71, exports_saved };
95
+ export { ID13, Info16, NotFoundError11, ConflictError2, Service74, node76, exports_saved };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable2
3
- } from "./credential-aj7mw0zk.js";
3
+ } from "./model-resolver-034tev2y.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/project/icon.ts
9
9
  var exports_icon = {};