@opencode/core 0.0.0-dev-455 → 0.0.0-dev-457

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 (913) 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 +242 -242
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{file-retention-ba16f7j8.js → shared-cache-01qan1r0.js} +16 -16
  9. package/dist/chunks/{file-retention-034tev2y.js → shared-cache-034tev2y.js} +2 -2
  10. package/dist/chunks/{file-retention-6xwywkh7.js → shared-cache-03mpff5k.js} +13 -13
  11. package/dist/chunks/shared-cache-0gdrrj59.js +16 -0
  12. package/dist/chunks/{file-retention-hnxa655x.js → shared-cache-0j8e1req.js} +20 -20
  13. package/dist/chunks/{file-retention-0ma9gw4f.js → shared-cache-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{file-retention-gj10dfeb.js → shared-cache-0q0exa15.js} +14 -14
  15. package/dist/chunks/{file-retention-k0kcv3gp.js → shared-cache-0r84vseg.js} +9 -9
  16. package/dist/chunks/{file-retention-4angwywx.js → shared-cache-0s2nyjka.js} +19 -19
  17. package/dist/chunks/{file-retention-0r7m7rz3.js → shared-cache-0se1q41g.js} +13 -13
  18. package/dist/chunks/{file-retention-snhnc0ef.js → shared-cache-0vfm4m30.js} +10 -10
  19. package/dist/chunks/{file-retention-200qe1b4.js → shared-cache-0wdj7mfr.js} +11 -11
  20. package/dist/chunks/{file-retention-hkyks9g6.js → shared-cache-0xe6vqk7.js} +14 -14
  21. package/dist/chunks/{file-retention-ananre62.js → shared-cache-0zrvsdva.js} +10 -10
  22. package/dist/chunks/{file-retention-rcw12gd3.js → shared-cache-18y3b983.js} +50 -50
  23. package/dist/chunks/{file-retention-1aqsckx4.js → shared-cache-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{file-retention-1ep2p91f.js → shared-cache-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{file-retention-05aqx4at.js → shared-cache-1rfmbpcr.js} +50 -50
  26. package/dist/chunks/{file-retention-2cdjxzfg.js → shared-cache-1scgcwfj.js} +3 -3
  27. package/dist/chunks/{file-retention-30asjkfk.js → shared-cache-1ss34ysn.js} +18 -18
  28. package/dist/chunks/{file-retention-tgc8br6y.js → shared-cache-1sz52pcc.js} +9 -9
  29. package/dist/chunks/{file-retention-gbcn9d4h.js → shared-cache-1tcfse8e.js} +5 -5
  30. package/dist/chunks/{file-retention-94e33dpz.js → shared-cache-1vbrkdbs.js} +3 -3
  31. package/dist/chunks/{file-retention-1x2knyw4.js → shared-cache-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{file-retention-5zrxpy3q.js → shared-cache-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{file-retention-9pkyxfc8.js → shared-cache-20httykd.js} +33 -33
  34. package/dist/chunks/{file-retention-8b3vzgkx.js → shared-cache-25h84942.js} +4 -4
  35. package/dist/chunks/{file-retention-jd8phrvf.js → shared-cache-28mzk8dv.js} +25 -25
  36. package/dist/chunks/{file-retention-5qg32bbs.js → shared-cache-29tqe9d2.js} +23 -23
  37. package/dist/chunks/{file-retention-cxab28sr.js → shared-cache-2bswbpgz.js} +4 -4
  38. package/dist/chunks/{file-retention-gh4z7wry.js → shared-cache-2hh34rxg.js} +42 -42
  39. package/dist/chunks/{file-retention-dkb1sx3x.js → shared-cache-2j9d56vn.js} +32 -32
  40. package/dist/chunks/{file-retention-2p60zmnr.js → shared-cache-2p60zmnr.js} +2 -2
  41. package/dist/chunks/{file-retention-5s9wkzxm.js → shared-cache-2q55fwpn.js} +17 -17
  42. package/dist/chunks/{file-retention-xgbgysg1.js → shared-cache-31r9ew24.js} +20 -20
  43. package/dist/chunks/{file-retention-m2bn1thc.js → shared-cache-335h8y1q.js} +45 -45
  44. package/dist/chunks/{file-retention-vh942nm4.js → shared-cache-35540211.js} +15 -15
  45. package/dist/chunks/{file-retention-390xskpw.js → shared-cache-390xskpw.js} +1 -1
  46. package/dist/chunks/{file-retention-2ydq151f.js → shared-cache-3aftw05r.js} +14 -14
  47. package/dist/chunks/{file-retention-g63e6h3e.js → shared-cache-3d9m6vm1.js} +35 -35
  48. package/dist/chunks/{file-retention-fwp9mfc9.js → shared-cache-3gv0spa2.js} +4 -4
  49. package/dist/chunks/{file-retention-3hepkmqq.js → shared-cache-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{file-retention-kpa09rhw.js → shared-cache-3kmrk0at.js} +8 -8
  51. package/dist/chunks/{file-retention-3nnrz6f6.js → shared-cache-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{file-retention-hew1js5q.js → shared-cache-3sj5a19d.js} +2 -2
  53. package/dist/chunks/{file-retention-q5nd4tdk.js → shared-cache-3we67zyn.js} +7 -7
  54. package/dist/chunks/{file-retention-yx0ag50g.js → shared-cache-3wmw86pa.js} +19 -19
  55. package/dist/chunks/{file-retention-yfe5zj2r.js → shared-cache-40r16e5m.js} +3 -3
  56. package/dist/chunks/{file-retention-40y6dtc2.js → shared-cache-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{file-retention-ynsc8wg2.js → shared-cache-44jvmyw9.js} +12 -12
  58. package/dist/chunks/{file-retention-44pmzq9c.js → shared-cache-44pmzq9c.js} +2 -2
  59. package/dist/chunks/{file-retention-5b8228w4.js → shared-cache-4908ts34.js} +19 -19
  60. package/dist/chunks/{file-retention-7ecjk65p.js → shared-cache-4ajefbv8.js} +11 -11
  61. package/dist/chunks/{file-retention-4dx1dgte.js → shared-cache-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{file-retention-4f25tdd0.js → shared-cache-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{file-retention-dx38te4v.js → shared-cache-4he7yfh3.js} +21 -21
  64. package/dist/chunks/{file-retention-4pyp9zr9.js → shared-cache-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{file-retention-4v008n1t.js → shared-cache-4v008n1t.js} +1 -1
  66. package/dist/chunks/{file-retention-5j4z2rnn.js → shared-cache-4wwt44bz.js} +28 -28
  67. package/dist/chunks/{file-retention-h5enc8pd.js → shared-cache-4zqa8vte.js} +25 -25
  68. package/dist/chunks/{file-retention-581r698v.js → shared-cache-53dvpje3.js} +4 -4
  69. package/dist/chunks/{file-retention-d4gmqgvp.js → shared-cache-53j7xvnm.js} +16 -16
  70. package/dist/chunks/{file-retention-xhthag0s.js → shared-cache-54kgf0t3.js} +13 -13
  71. package/dist/chunks/{file-retention-k9wymzdg.js → shared-cache-5e5gz891.js} +6 -6
  72. package/dist/chunks/{file-retention-qe6wsf1h.js → shared-cache-5hzm2a2n.js} +5 -5
  73. package/dist/chunks/{file-retention-5m9w47nd.js → shared-cache-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{file-retention-b6vsg801.js → shared-cache-5nnwax6m.js} +5 -5
  75. package/dist/chunks/{file-retention-bg3xpdpw.js → shared-cache-5sbjqqwj.js} +27 -27
  76. package/dist/chunks/{file-retention-fjjazzdv.js → shared-cache-5sk19c47.js} +17 -17
  77. package/dist/chunks/{file-retention-z7re6mpg.js → shared-cache-65zstjt1.js} +13 -13
  78. package/dist/chunks/{file-retention-4cqst6fr.js → shared-cache-660m4eb8.js} +3 -3
  79. package/dist/chunks/{file-retention-72b6x64g.js → shared-cache-6mdbkvg8.js} +5 -5
  80. package/dist/chunks/{file-retention-3zhtqa8b.js → shared-cache-6qqp4y7r.js} +10 -10
  81. package/dist/chunks/{file-retention-1phbxqt1.js → shared-cache-6v1f9b3c.js} +3 -3
  82. package/dist/chunks/{file-retention-av46dpsn.js → shared-cache-73czttcw.js} +11 -11
  83. package/dist/chunks/{file-retention-wh423nk9.js → shared-cache-73hwfq4w.js} +28 -28
  84. package/dist/chunks/{file-retention-0cwqm0ac.js → shared-cache-76ac2f9y.js} +43 -43
  85. package/dist/chunks/{file-retention-76cb1hcw.js → shared-cache-76cb1hcw.js} +1 -1
  86. package/dist/chunks/{file-retention-6zvhcg4h.js → shared-cache-76pt27tc.js} +16 -16
  87. package/dist/chunks/{file-retention-dncts3kv.js → shared-cache-78az2fcw.js} +58 -58
  88. package/dist/chunks/{file-retention-0wcgapck.js → shared-cache-78c83dz3.js} +5 -5
  89. package/dist/chunks/{file-retention-n6xbcgna.js → shared-cache-79hsyw72.js} +12 -12
  90. package/dist/chunks/{file-retention-mbhkhp6q.js → shared-cache-7bdez437.js} +6 -6
  91. package/dist/chunks/{file-retention-7bmhse3q.js → shared-cache-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{file-retention-nmarmpt2.js → shared-cache-7e18g4px.js} +21 -21
  93. package/dist/chunks/{file-retention-7kr66rt3.js → shared-cache-7kr66rt3.js} +1 -1
  94. package/dist/chunks/{file-retention-x4mcewfn.js → shared-cache-7nqkf5r1.js} +4 -4
  95. package/dist/chunks/{file-retention-7w2ypzdf.js → shared-cache-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{file-retention-7weczvnd.js → shared-cache-7weczvnd.js} +1 -1
  97. package/dist/chunks/{file-retention-pkq3dv06.js → shared-cache-7z7n868z.js} +13 -13
  98. package/dist/chunks/{file-retention-80mg3ag8.js → shared-cache-80mg3ag8.js} +3 -3
  99. package/dist/chunks/{file-retention-j90hxq85.js → shared-cache-82m30djg.js} +11 -11
  100. package/dist/chunks/{file-retention-496yft2b.js → shared-cache-83z2hrem.js} +4 -4
  101. package/dist/chunks/{file-retention-jmekf4r3.js → shared-cache-87dpdb9s.js} +9 -9
  102. package/dist/chunks/{file-retention-2dfh1hr2.js → shared-cache-8889jn16.js} +28 -28
  103. package/dist/chunks/{file-retention-89287pr7.js → shared-cache-89287pr7.js} +1 -1
  104. package/dist/chunks/{file-retention-4d2dtj2f.js → shared-cache-8cg7mtm3.js} +4 -4
  105. package/dist/chunks/{file-retention-rjdswr2s.js → shared-cache-8d1w7f37.js} +22 -22
  106. package/dist/chunks/{file-retention-0bhp1jsg.js → shared-cache-8dq44xrt.js} +13 -13
  107. package/dist/chunks/{file-retention-87jq36v2.js → shared-cache-8ejs04fm.js} +25 -25
  108. package/dist/chunks/{file-retention-fa7jqgqj.js → shared-cache-8n59df1n.js} +6 -6
  109. package/dist/chunks/{file-retention-8sxe6kv8.js → shared-cache-8sxe6kv8.js} +2 -2
  110. package/dist/chunks/{file-retention-8v7h9drr.js → shared-cache-8vbpq9va.js} +34 -34
  111. package/dist/chunks/{file-retention-8wtp7s3z.js → shared-cache-8wtp7s3z.js} +1 -1
  112. package/dist/chunks/{file-retention-90zstvax.js → shared-cache-90zstvax.js} +1 -1
  113. package/dist/chunks/{file-retention-xmm4qtr7.js → shared-cache-92etfc35.js} +19 -19
  114. package/dist/chunks/{file-retention-6nj48chv.js → shared-cache-956zvm58.js} +7 -7
  115. package/dist/chunks/{file-retention-mzm8bzzq.js → shared-cache-95sp4hdf.js} +4 -4
  116. package/dist/chunks/{file-retention-snjqag79.js → shared-cache-963hk181.js} +9 -9
  117. package/dist/chunks/{file-retention-tfhex4ds.js → shared-cache-978jgtnz.js} +82 -82
  118. package/dist/chunks/{file-retention-2n7mmhny.js → shared-cache-9b6r78gs.js} +22 -22
  119. package/dist/chunks/{file-retention-brbp1jmy.js → shared-cache-9cdcbvsm.js} +12 -12
  120. package/dist/chunks/{file-retention-v0t96s7a.js → shared-cache-9q8g9sv8.js} +4 -4
  121. package/dist/chunks/{file-retention-ay9b3rdk.js → shared-cache-9rxeyvad.js} +20 -20
  122. package/dist/chunks/{file-retention-55mjyme4.js → shared-cache-9x29zr15.js} +6 -6
  123. package/dist/chunks/{file-retention-gxe5e77w.js → shared-cache-9y752z0k.js} +11 -11
  124. package/dist/chunks/{file-retention-61qraad9.js → shared-cache-9zwexsxs.js} +5 -5
  125. package/dist/chunks/{file-retention-721agqj7.js → shared-cache-a4ejydmw.js} +28 -28
  126. package/dist/chunks/{file-retention-rr9v9k3b.js → shared-cache-a4tn1t8d.js} +12 -12
  127. package/dist/chunks/{file-retention-4whyrg43.js → shared-cache-ac0nrts2.js} +9 -9
  128. package/dist/chunks/{file-retention-gmnq7sxz.js → shared-cache-ahytd4qs.js} +55 -55
  129. package/dist/chunks/{file-retention-xe84dabc.js → shared-cache-aq5frc3d.js} +4 -4
  130. package/dist/chunks/{file-retention-m9js7g7m.js → shared-cache-ara4d2g6.js} +9 -9
  131. package/dist/chunks/{file-retention-68tn9ypg.js → shared-cache-as0mg86e.js} +18 -18
  132. package/dist/chunks/{file-retention-ayjs7tqn.js → shared-cache-ayjs7tqn.js} +2 -2
  133. package/dist/chunks/{file-retention-c32zfq3f.js → shared-cache-b096peb1.js} +8 -8
  134. package/dist/chunks/{file-retention-atscc837.js → shared-cache-b2scchx5.js} +18 -18
  135. package/dist/chunks/{file-retention-9dm6vsa2.js → shared-cache-b8kb0jc9.js} +18 -18
  136. package/dist/chunks/{file-retention-a5wpc3w3.js → shared-cache-b948jmy1.js} +51 -51
  137. package/dist/chunks/{file-retention-e5dmmprw.js → shared-cache-bd54nrqf.js} +10 -10
  138. package/dist/chunks/{file-retention-3gvmrzme.js → shared-cache-bexzbe2y.js} +40 -40
  139. package/dist/chunks/{file-retention-dvyrd087.js → shared-cache-bfmgkdsj.js} +32 -32
  140. package/dist/chunks/{file-retention-gcavn3wx.js → shared-cache-bgs9y14h.js} +5 -5
  141. package/dist/chunks/{file-retention-skrg2vfv.js → shared-cache-bgtfms1n.js} +32 -32
  142. package/dist/chunks/{file-retention-n8089wab.js → shared-cache-c322zrrb.js} +14 -14
  143. package/dist/chunks/{file-retention-r388hamt.js → shared-cache-c54xxfzm.js} +36 -36
  144. package/dist/chunks/{file-retention-e6er0smf.js → shared-cache-cb32ztw6.js} +7 -7
  145. package/dist/chunks/{file-retention-qxk677ch.js → shared-cache-csby1x6w.js} +31 -31
  146. package/dist/chunks/{file-retention-pjx7tz23.js → shared-cache-cskeh2qn.js} +5 -5
  147. package/dist/chunks/{file-retention-5ewy4ftf.js → shared-cache-cv3zt5fr.js} +39 -39
  148. package/dist/chunks/{file-retention-cwrgdav8.js → shared-cache-cwrgdav8.js} +2 -2
  149. package/dist/chunks/{file-retention-xnc68z72.js → shared-cache-czh9y0nn.js} +12 -12
  150. package/dist/chunks/{file-retention-ctxsgcm2.js → shared-cache-d34c0f98.js} +8 -8
  151. package/dist/chunks/{file-retention-d4v9tmah.js → shared-cache-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{file-retention-tnya1cye.js → shared-cache-d9j8kz1s.js} +6 -6
  153. package/dist/chunks/{file-retention-s93d5mte.js → shared-cache-dbxc1608.js} +21 -21
  154. package/dist/chunks/{file-retention-rfhh9jbp.js → shared-cache-dmze3mc3.js} +5 -5
  155. package/dist/chunks/{file-retention-ymb0ygkv.js → shared-cache-dn2tbeq0.js} +20 -20
  156. package/dist/chunks/{file-retention-qtjtwdkb.js → shared-cache-dpfwk0f7.js} +27 -27
  157. package/dist/chunks/{file-retention-dt77769w.js → shared-cache-dt77769w.js} +1 -1
  158. package/dist/chunks/{file-retention-v37bc009.js → shared-cache-dv250zvr.js} +3 -3
  159. package/dist/chunks/{file-retention-ym5ftk47.js → shared-cache-dyebhzpv.js} +19 -19
  160. package/dist/chunks/{file-retention-1tdxr5p7.js → shared-cache-e09ngpdh.js} +32 -32
  161. package/dist/chunks/{file-retention-ctj276x0.js → shared-cache-e4939h50.js} +19 -19
  162. package/dist/chunks/shared-cache-e4dsdy5r.js +26 -0
  163. package/dist/chunks/{file-retention-e834z07m.js → shared-cache-e834z07m.js} +1 -1
  164. package/dist/chunks/{file-retention-1pq4mddz.js → shared-cache-ekkk0f4d.js} +23 -23
  165. package/dist/chunks/{file-retention-pmhb73dp.js → shared-cache-emjzq4az.js} +21 -21
  166. package/dist/chunks/{file-retention-eqw4pqj1.js → shared-cache-eqw4pqj1.js} +2 -2
  167. package/dist/chunks/{file-retention-ewa1ec51.js → shared-cache-ewa1ec51.js} +4 -4
  168. package/dist/chunks/{file-retention-qbkx85ty.js → shared-cache-f3fdhana.js} +15 -15
  169. package/dist/chunks/{file-retention-3g1e149e.js → shared-cache-f7qhqc2m.js} +16 -16
  170. package/dist/chunks/{file-retention-fffv3p7h.js → shared-cache-fffv3p7h.js} +1 -1
  171. package/dist/chunks/{file-retention-fg9p65nk.js → shared-cache-fg9p65nk.js} +2 -2
  172. package/dist/chunks/{file-retention-vxcj7dj3.js → shared-cache-fjae3t1k.js} +15 -15
  173. package/dist/chunks/{file-retention-a4ww6fpm.js → shared-cache-fpjxw46t.js} +6 -6
  174. package/dist/chunks/shared-cache-fsrrdggk.js +261 -0
  175. package/dist/chunks/{file-retention-3kr3r5pw.js → shared-cache-fv0gqzre.js} +2 -2
  176. package/dist/chunks/{file-retention-9s6tmzsz.js → shared-cache-fwj8chqf.js} +17 -17
  177. package/dist/chunks/{file-retention-w1g97wbr.js → shared-cache-g6fwdp5w.js} +11 -11
  178. package/dist/chunks/{file-retention-4yazknq3.js → shared-cache-g7szjcez.js} +51 -51
  179. package/dist/chunks/{file-retention-gbjdnr5j.js → shared-cache-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{file-retention-rmt6m6se.js → shared-cache-gcjdgkn2.js} +9 -9
  181. package/dist/chunks/{file-retention-6xnqn21j.js → shared-cache-gjb13sdp.js} +5 -5
  182. package/dist/chunks/{file-retention-9s8ccxzp.js → shared-cache-gn6y8vzr.js} +12 -12
  183. package/dist/chunks/{file-retention-650f1sfx.js → shared-cache-gtsw9av3.js} +11 -11
  184. package/dist/chunks/{file-retention-9g6yrp67.js → shared-cache-gw99hzbq.js} +200 -200
  185. package/dist/chunks/{file-retention-wfnayh71.js → shared-cache-h1fsh5gg.js} +11 -11
  186. package/dist/chunks/{file-retention-wy0xsgxw.js → shared-cache-h4694nx1.js} +5 -5
  187. package/dist/chunks/{file-retention-ap8y92rr.js → shared-cache-h99ek2x4.js} +9 -9
  188. package/dist/chunks/{file-retention-f7rj94ae.js → shared-cache-hp5p8e88.js} +48 -48
  189. package/dist/chunks/{file-retention-hpg1pkwy.js → shared-cache-hpg1pkwy.js} +1 -1
  190. package/dist/chunks/{file-retention-abtpjz44.js → shared-cache-hs0y3m5w.js} +18 -18
  191. package/dist/chunks/{file-retention-bnzx9dwt.js → shared-cache-hsnq1va6.js} +5 -5
  192. package/dist/chunks/{file-retention-8eshswe5.js → shared-cache-hvra224z.js} +3 -3
  193. package/dist/chunks/{file-retention-1gep6f7s.js → shared-cache-hxjp32hp.js} +6 -6
  194. package/dist/chunks/{file-retention-xa716ypk.js → shared-cache-j05qjvrv.js} +14 -14
  195. package/dist/chunks/{file-retention-szfk6t8e.js → shared-cache-j1pth68z.js} +31 -31
  196. package/dist/chunks/{file-retention-4aqrmm1g.js → shared-cache-j351eg86.js} +3 -3
  197. package/dist/chunks/{file-retention-7etbzm9y.js → shared-cache-j5pp33gg.js} +17 -17
  198. package/dist/chunks/{file-retention-68qb3djy.js → shared-cache-j6r348n2.js} +8 -8
  199. package/dist/chunks/{file-retention-j4tx0dw9.js → shared-cache-j8q030kd.js} +33 -33
  200. package/dist/chunks/{file-retention-wgvnftve.js → shared-cache-jc512s3p.js} +8 -8
  201. package/dist/chunks/{file-retention-m2vpvwkm.js → shared-cache-jg6qty85.js} +55 -55
  202. package/dist/chunks/{file-retention-wr27nwte.js → shared-cache-jg9jtwr2.js} +11 -11
  203. package/dist/chunks/{file-retention-n3bkb5q1.js → shared-cache-jgtdwqt8.js} +8 -8
  204. package/dist/chunks/{file-retention-0jstpsmh.js → shared-cache-jhp78y9r.js} +22 -22
  205. package/dist/chunks/{file-retention-jkdcm5hg.js → shared-cache-jkdcm5hg.js} +1 -1
  206. package/dist/chunks/{file-retention-jtnps1zs.js → shared-cache-jtnps1zs.js} +2 -2
  207. package/dist/chunks/{file-retention-5ej6fcjw.js → shared-cache-jxr5ks98.js} +6 -6
  208. package/dist/chunks/{file-retention-k46dd5bg.js → shared-cache-k46dd5bg.js} +1 -1
  209. package/dist/chunks/{file-retention-0aycggmx.js → shared-cache-k4jqjvqk.js} +21 -21
  210. package/dist/chunks/{file-retention-hn189zr5.js → shared-cache-kcvmrqty.js} +4 -4
  211. package/dist/chunks/{file-retention-s0699xsp.js → shared-cache-kfg9w0kz.js} +22 -22
  212. package/dist/chunks/{file-retention-f15w2kpp.js → shared-cache-kpa6mjfj.js} +6 -6
  213. package/dist/chunks/{file-retention-kt3bjfbg.js → shared-cache-kt3bjfbg.js} +1 -1
  214. package/dist/chunks/{file-retention-kzczzf4v.js → shared-cache-kzczzf4v.js} +1 -1
  215. package/dist/chunks/{file-retention-9z0qc3sg.js → shared-cache-kzw92vkv.js} +38 -38
  216. package/dist/chunks/{file-retention-m1714858.js → shared-cache-m1714858.js} +1 -1
  217. package/dist/chunks/shared-cache-m6qqtaps.js +555 -0
  218. package/dist/chunks/{file-retention-rpxemsgz.js → shared-cache-m7ksbpap.js} +90 -90
  219. package/dist/chunks/{file-retention-swwepy7r.js → shared-cache-m9622p9a.js} +15 -15
  220. package/dist/chunks/{file-retention-m9w0rfyh.js → shared-cache-m9w0rfyh.js} +1 -1
  221. package/dist/chunks/{file-retention-mb7mbhnz.js → shared-cache-mb7mbhnz.js} +3 -3
  222. package/dist/chunks/{file-retention-b1tz7g4k.js → shared-cache-mjnhe1nq.js} +29 -29
  223. package/dist/chunks/{file-retention-1v2g13eq.js → shared-cache-msd2a3qm.js} +4 -4
  224. package/dist/chunks/{file-retention-mhwtew22.js → shared-cache-mv0k3gyx.js} +24 -24
  225. package/dist/chunks/{file-retention-sj2s1b9m.js → shared-cache-mvvw8933.js} +32 -32
  226. package/dist/chunks/{file-retention-hqvhb0wh.js → shared-cache-mxxad9v0.js} +11 -11
  227. package/dist/chunks/{file-retention-dcybvycp.js → shared-cache-n5v7jmd6.js} +9 -9
  228. package/dist/chunks/{file-retention-dvnqv6yn.js → shared-cache-nemnqzpn.js} +4 -4
  229. package/dist/chunks/{file-retention-waxfvz31.js → shared-cache-nn1p33cp.js} +31 -31
  230. package/dist/chunks/{file-retention-5em2n0xv.js → shared-cache-nsr0xhep.js} +28 -28
  231. package/dist/chunks/{file-retention-3nfqphsz.js → shared-cache-nv64swaj.js} +24 -24
  232. package/dist/chunks/{file-retention-rpzwd4m9.js → shared-cache-p33kn2f3.js} +4 -4
  233. package/dist/chunks/{file-retention-dbhc229r.js → shared-cache-p7d7t6w3.js} +41 -41
  234. package/dist/chunks/{file-retention-sctph3n4.js → shared-cache-p94q8hge.js} +60 -60
  235. package/dist/chunks/{file-retention-x4t5xjs0.js → shared-cache-p9xrsnvg.js} +26 -26
  236. package/dist/chunks/{file-retention-y9hckaaa.js → shared-cache-pana0d56.js} +6 -6
  237. package/dist/chunks/{file-retention-68tk6k3r.js → shared-cache-pap24bzz.js} +11 -11
  238. package/dist/chunks/{file-retention-b4rwxy6m.js → shared-cache-pe032dms.js} +9 -9
  239. package/dist/chunks/{file-retention-dcdd8gp0.js → shared-cache-pf5m8b3c.js} +31 -31
  240. package/dist/chunks/{file-retention-yv7pt3ah.js → shared-cache-ph12y7yp.js} +3 -3
  241. package/dist/chunks/{file-retention-pknna89w.js → shared-cache-pknna89w.js} +1 -1
  242. package/dist/chunks/{file-retention-x24tvm8w.js → shared-cache-pm55fh0v.js} +24 -24
  243. package/dist/chunks/{file-retention-4pa2br34.js → shared-cache-pmh2kq9n.js} +39 -39
  244. package/dist/chunks/{file-retention-5m3xrn1j.js → shared-cache-pn1g3a6b.js} +9 -9
  245. package/dist/chunks/{file-retention-c0tz6aqz.js → shared-cache-pnwsrq7c.js} +11 -11
  246. package/dist/chunks/{file-retention-4gggmape.js → shared-cache-pp5gghwv.js} +1 -1
  247. package/dist/chunks/{file-retention-b8n7cma0.js → shared-cache-pvx25tzf.js} +1 -1
  248. package/dist/chunks/{file-retention-kkgm43pe.js → shared-cache-qc39n20q.js} +14 -14
  249. package/dist/chunks/{file-retention-a1j9h5sv.js → shared-cache-qgr2wv1c.js} +30 -30
  250. package/dist/chunks/shared-cache-qmh7vbk2.js +18 -0
  251. package/dist/chunks/{file-retention-qp7r0hxv.js → shared-cache-qp7r0hxv.js} +1 -1
  252. package/dist/chunks/{file-retention-5cfjc002.js → shared-cache-qpchws8n.js} +86 -86
  253. package/dist/chunks/{file-retention-9v7xfrsr.js → shared-cache-qqg4080p.js} +9 -9
  254. package/dist/chunks/{file-retention-qqvy8y24.js → shared-cache-qqvy8y24.js} +1 -1
  255. package/dist/chunks/{file-retention-qsdghx1p.js → shared-cache-qsdghx1p.js} +1 -1
  256. package/dist/chunks/{file-retention-r1fnsf7p.js → shared-cache-qw2t3dzn.js} +3 -3
  257. package/dist/chunks/{file-retention-weqsz73e.js → shared-cache-qwr0zwd0.js} +6 -6
  258. package/dist/chunks/{file-retention-wm09fakr.js → shared-cache-qx7d52zy.js} +35 -35
  259. package/dist/chunks/{file-retention-d1jwara1.js → shared-cache-r1xc615x.js} +29 -29
  260. package/dist/chunks/{file-retention-40za9wsf.js → shared-cache-r41sfy63.js} +6 -6
  261. package/dist/chunks/{file-retention-avaerfkj.js → shared-cache-r4gz9jm9.js} +10 -10
  262. package/dist/chunks/{file-retention-rb9dy4dg.js → shared-cache-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{file-retention-dhv1xx0k.js → shared-cache-rc7cmy01.js} +4 -4
  264. package/dist/chunks/{file-retention-4s01kztf.js → shared-cache-rd3k82cy.js} +8 -8
  265. package/dist/chunks/{file-retention-bjaevfq0.js → shared-cache-ree0x2as.js} +10 -10
  266. package/dist/chunks/{file-retention-7jen3kst.js → shared-cache-rhx7sxcq.js} +5 -5
  267. package/dist/chunks/{file-retention-vt2d6wap.js → shared-cache-rj7j5fvs.js} +4 -4
  268. package/dist/chunks/{file-retention-rt5dr6hb.js → shared-cache-rt5dr6hb.js} +1 -1
  269. package/dist/chunks/{file-retention-90gj1595.js → shared-cache-s2xjhrkd.js} +4 -4
  270. package/dist/chunks/{file-retention-sa3fpqfw.js → shared-cache-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{file-retention-sbya78hr.js → shared-cache-sbya78hr.js} +1 -1
  272. package/dist/chunks/{file-retention-hx2h0g86.js → shared-cache-segd0erw.js} +9 -9
  273. package/dist/chunks/{file-retention-x59t0gss.js → shared-cache-spe6nwpw.js} +35 -35
  274. package/dist/chunks/{file-retention-9gczbj86.js → shared-cache-sqaq72qw.js} +13 -13
  275. package/dist/chunks/{file-retention-0j7gp832.js → shared-cache-sqjzf8x2.js} +4 -4
  276. package/dist/chunks/{file-retention-g2jbspnp.js → shared-cache-stztk7h0.js} +23 -23
  277. package/dist/chunks/{file-retention-svcy3p9a.js → shared-cache-svcy3p9a.js} +1 -1
  278. package/dist/chunks/{file-retention-sqz6jy89.js → shared-cache-sykxe607.js} +59 -59
  279. package/dist/chunks/{file-retention-t6zxhcnm.js → shared-cache-szgw3rmb.js} +44 -44
  280. package/dist/chunks/{file-retention-f3efch3k.js → shared-cache-szt8as1t.js} +25 -25
  281. package/dist/chunks/{file-retention-szwm4crx.js → shared-cache-szwm4crx.js} +4 -4
  282. package/dist/chunks/{file-retention-tb2mrvc9.js → shared-cache-tb2mrvc9.js} +1 -1
  283. package/dist/chunks/{file-retention-tb15rp1c.js → shared-cache-tb4cnk9d.js} +4 -4
  284. package/dist/chunks/{file-retention-tczq8hjw.js → shared-cache-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{file-retention-gxs71cxp.js → shared-cache-tg7s7b5t.js} +4 -4
  286. package/dist/chunks/{file-retention-tr8x705m.js → shared-cache-tr8x705m.js} +1 -1
  287. package/dist/chunks/{file-retention-twssxy5n.js → shared-cache-twssxy5n.js} +2 -2
  288. package/dist/chunks/{file-retention-v2r1d0zg.js → shared-cache-v2r1d0zg.js} +1 -1
  289. package/dist/chunks/{file-retention-ydsespw1.js → shared-cache-v5hpj9dd.js} +8 -8
  290. package/dist/chunks/{file-retention-ffka7n84.js → shared-cache-vdgf3x25.js} +9 -9
  291. package/dist/chunks/{file-retention-hvgfddwz.js → shared-cache-vgsh18yn.js} +11 -11
  292. package/dist/chunks/{file-retention-wa6q08vq.js → shared-cache-vgt1abs0.js} +18 -18
  293. package/dist/chunks/{file-retention-vjf35v1f.js → shared-cache-vjf35v1f.js} +1 -1
  294. package/dist/chunks/{file-retention-9f3jsh1d.js → shared-cache-vq0qa3sh.js} +9 -9
  295. package/dist/chunks/{file-retention-yvchjg13.js → shared-cache-vtnm23gn.js} +12 -12
  296. package/dist/chunks/{file-retention-nfggrfj2.js → shared-cache-w17yb6n4.js} +6 -6
  297. package/dist/chunks/{file-retention-w3wsvvr9.js → shared-cache-w3wsvvr9.js} +1 -1
  298. package/dist/chunks/{file-retention-fznmdakp.js → shared-cache-w687dnns.js} +4 -4
  299. package/dist/chunks/{file-retention-wakvkjy4.js → shared-cache-wakvkjy4.js} +1 -1
  300. package/dist/chunks/{file-retention-wd87259q.js → shared-cache-wd87259q.js} +1 -1
  301. package/dist/chunks/{file-retention-wegkxhrn.js → shared-cache-wegkxhrn.js} +2 -2
  302. package/dist/chunks/{file-retention-r17fbvme.js → shared-cache-wfs84ra6.js} +4 -4
  303. package/dist/chunks/{file-retention-sj70yks3.js → shared-cache-wgzqyxnv.js} +12 -12
  304. package/dist/chunks/{file-retention-4pmefyym.js → shared-cache-wmxbp2m1.js} +35 -35
  305. package/dist/chunks/{file-retention-wnhgecwx.js → shared-cache-wnhgecwx.js} +1 -1
  306. package/dist/chunks/{file-retention-n3ga810d.js → shared-cache-wtpcbd8x.js} +17 -17
  307. package/dist/chunks/{file-retention-agemttc5.js → shared-cache-wv6svstt.js} +34 -34
  308. package/dist/chunks/{file-retention-gbgy6ap4.js → shared-cache-wvcem29w.js} +5 -5
  309. package/dist/chunks/{file-retention-79k544d0.js → shared-cache-wvr8xscb.js} +7 -7
  310. package/dist/chunks/{file-retention-06w90rm1.js → shared-cache-ww26epb1.js} +17 -17
  311. package/dist/chunks/{file-retention-4xape4ax.js → shared-cache-x1138qf2.js} +21 -21
  312. package/dist/chunks/{file-retention-j6q7spb2.js → shared-cache-x6x1nndz.js} +31 -31
  313. package/dist/chunks/{file-retention-k2xygrq7.js → shared-cache-x8jx2pq0.js} +11 -11
  314. package/dist/chunks/{file-retention-evsac8k0.js → shared-cache-x9y7w5qr.js} +29 -29
  315. package/dist/chunks/{file-retention-xd9cc171.js → shared-cache-xd9cc171.js} +1 -1
  316. package/dist/chunks/{file-retention-xksw6ev0.js → shared-cache-xksw6ev0.js} +1 -1
  317. package/dist/chunks/{file-retention-3ryz99p0.js → shared-cache-xmx7xj34.js} +4 -4
  318. package/dist/chunks/{file-retention-ysfhhwnn.js → shared-cache-xrtd710r.js} +7 -7
  319. package/dist/chunks/{file-retention-hz2g8n0e.js → shared-cache-xs0w7nj3.js} +5 -5
  320. package/dist/chunks/{file-retention-yydqqga9.js → shared-cache-xsvq7cjt.js} +4 -4
  321. package/dist/chunks/{file-retention-ndksvsqq.js → shared-cache-xxh1ym0y.js} +5 -5
  322. package/dist/chunks/{file-retention-hmmsk6f4.js → shared-cache-xzqp8jdw.js} +22 -22
  323. package/dist/chunks/{file-retention-h6ejcba2.js → shared-cache-y1r4n95f.js} +5 -5
  324. package/dist/chunks/{file-retention-w4whnx61.js → shared-cache-y37rxwzh.js} +22 -22
  325. package/dist/chunks/{file-retention-5td38wnz.js → shared-cache-y4t0y6zk.js} +14 -14
  326. package/dist/chunks/{file-retention-hm3wjv3t.js → shared-cache-y6z0jv9h.js} +24 -24
  327. package/dist/chunks/{file-retention-6sg7v011.js → shared-cache-y9c350ew.js} +2 -2
  328. package/dist/chunks/{file-retention-yb20nhc3.js → shared-cache-yb20nhc3.js} +1 -1
  329. package/dist/chunks/{file-retention-yzde64vc.js → shared-cache-ybw2rd55.js} +13 -13
  330. package/dist/chunks/{file-retention-yr705xyq.js → shared-cache-yr705xyq.js} +1 -1
  331. package/dist/chunks/{file-retention-d9b1e71e.js → shared-cache-ytj76p73.js} +16 -16
  332. package/dist/chunks/{file-retention-837bxc3c.js → shared-cache-yv1nawr6.js} +12 -12
  333. package/dist/chunks/{file-retention-1pd9p4zg.js → shared-cache-yvbkpmy4.js} +29 -29
  334. package/dist/chunks/{file-retention-yvtc2x31.js → shared-cache-yvtc2x31.js} +1 -1
  335. package/dist/chunks/{file-retention-v1mj0bgs.js → shared-cache-yx89v5j3.js} +29 -29
  336. package/dist/chunks/{file-retention-mtqqxse4.js → shared-cache-yyr882aa.js} +5 -5
  337. package/dist/chunks/{file-retention-z080rjh6.js → shared-cache-z080rjh6.js} +1 -1
  338. package/dist/chunks/{file-retention-s5vg2p0e.js → shared-cache-z0naddr1.js} +10 -10
  339. package/dist/chunks/{file-retention-ze75qvmd.js → shared-cache-ze75qvmd.js} +3 -3
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +5 -5
  342. package/dist/codemode/fetch.js +145 -145
  343. package/dist/codemode/instructions.js +11 -11
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +90 -90
  346. package/dist/config/discovery.js +95 -95
  347. package/dist/config/integration.js +3 -3
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -112
  351. package/dist/config/plugin/agent.js +130 -130
  352. package/dist/config/plugin/command.js +229 -229
  353. package/dist/config/plugin/compaction.js +171 -171
  354. package/dist/config/plugin/compatibility.js +150 -150
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -131
  357. package/dist/config/plugin/image.js +130 -130
  358. package/dist/config/plugin/instruction.js +130 -130
  359. package/dist/config/plugin/location-watcher.js +132 -132
  360. package/dist/config/plugin/mcp.js +137 -137
  361. package/dist/config/plugin/policy.js +130 -130
  362. package/dist/config/plugin/provider.js +130 -130
  363. package/dist/config/plugin/reference.js +132 -132
  364. package/dist/config/plugin/shell.js +132 -132
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +130 -130
  369. package/dist/config/plugin/source.js +133 -133
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +131 -131
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -135
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -94
  379. package/dist/database/database.js +77 -77
  380. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  381. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +15 -15
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +16 -16
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +1 -1
  455. package/dist/database/migration.gen.js +60 -60
  456. package/dist/database/migration.js +62 -62
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/v1-migration.bun.js +105 -105
  461. package/dist/database/v1-migration.js +1 -1
  462. package/dist/effect/app-node-builder.js +427 -427
  463. package/dist/effect/app-node-platform.js +2 -2
  464. package/dist/effect/keyed-mutex.js +3 -3
  465. package/dist/effect/websocket-constructor.js +1 -1
  466. package/dist/environment/driver.js +1 -1
  467. package/dist/environment/environment.js +106 -106
  468. package/dist/environment/exec-defaults.js +2 -2
  469. package/dist/environment/files.js +1 -1
  470. package/dist/environment/index.js +106 -106
  471. package/dist/environment/local.js +2 -2
  472. package/dist/environment/memory.js +2 -2
  473. package/dist/environment/unavailable.js +3 -3
  474. package/dist/event/sql.js +1 -1
  475. package/dist/event-logger.js +85 -85
  476. package/dist/file-access.js +156 -156
  477. package/dist/file-mutation.js +107 -107
  478. package/dist/file-retention.js +1 -1
  479. package/dist/filesystem/fff.bun.js +2 -2
  480. package/dist/filesystem/fff.js +1 -1
  481. package/dist/filesystem/fff.node.js +2 -2
  482. package/dist/filesystem/fff.workerd.js +2 -2
  483. package/dist/filesystem/file-watch.js +91 -91
  484. package/dist/filesystem/location-watcher-policy.js +6 -6
  485. package/dist/filesystem/location-watcher.js +245 -245
  486. package/dist/filesystem/protected.js +1 -1
  487. package/dist/filesystem/search.js +112 -112
  488. package/dist/filesystem/watcher-binding.js +1 -1
  489. package/dist/filesystem/watcher.js +11 -11
  490. package/dist/filesystem.js +117 -117
  491. package/dist/form.js +93 -93
  492. package/dist/formatter/builtins.js +4 -4
  493. package/dist/formatter.js +100 -100
  494. package/dist/generate.js +118 -118
  495. package/dist/git.js +11 -11
  496. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  497. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  498. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  499. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  500. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  502. package/dist/github-copilot/copilot-provider.js +17 -17
  503. package/dist/github-copilot/models.js +104 -104
  504. package/dist/github-copilot/openai-compatible-error.js +1 -1
  505. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  506. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  507. package/dist/github-copilot/responses/openai-error.js +1 -1
  508. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  509. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  510. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  511. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  512. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  514. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  515. package/dist/image/notice.js +3 -3
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +421 -421
  522. package/dist/instruction-discovery.js +93 -93
  523. package/dist/instructions/builtins.js +100 -100
  524. package/dist/instructions/index.js +1 -1
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +100 -100
  527. package/dist/job/sql.js +2 -2
  528. package/dist/job.js +88 -88
  529. package/dist/kv/sql.js +2 -2
  530. package/dist/kv.js +84 -84
  531. package/dist/location-activity.js +178 -178
  532. package/dist/location-lifecycle.js +150 -150
  533. package/dist/location-service-map.js +97 -97
  534. package/dist/location-services.js +418 -418
  535. package/dist/location.js +102 -102
  536. package/dist/managed-policy.js +3 -3
  537. package/dist/mcp/client.js +104 -104
  538. package/dist/mcp/index.js +122 -122
  539. package/dist/mcp/instructions.js +181 -181
  540. package/dist/mcp/oauth.js +89 -89
  541. package/dist/mcp/socket-client.js +1 -1
  542. package/dist/mcp/stdio.js +103 -103
  543. package/dist/mime.js +1 -1
  544. package/dist/modal/models.js +104 -104
  545. package/dist/model-resolver.js +112 -112
  546. package/dist/model-retry.js +1 -1
  547. package/dist/model.js +109 -109
  548. package/dist/models-dev/v1.js +1 -1
  549. package/dist/models-dev.js +117 -117
  550. package/dist/oauth/page.js +1 -1
  551. package/dist/permission/saved.js +91 -91
  552. package/dist/permission/sql.js +5 -5
  553. package/dist/permission.js +155 -155
  554. package/dist/persistent-pty/binary.bun.js +1 -1
  555. package/dist/persistent-pty/daemon.js +1 -1
  556. package/dist/persistent-pty/index.js +99 -99
  557. package/dist/persistent-pty/pty-binding.js +1 -1
  558. package/dist/persistent-pty.js +86 -86
  559. package/dist/plugin/agent.js +85 -85
  560. package/dist/plugin/command.js +113 -113
  561. package/dist/plugin/goal.js +3 -3
  562. package/dist/plugin/hooks.js +5 -5
  563. package/dist/plugin/host.js +236 -236
  564. package/dist/plugin/identity.js +5 -5
  565. package/dist/plugin/instance.js +5 -5
  566. package/dist/plugin/internal.js +397 -397
  567. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  568. package/dist/plugin/models-dev.js +110 -110
  569. package/dist/plugin/module.js +129 -129
  570. package/dist/plugin/optimize.js +2 -2
  571. package/dist/plugin/plan.js +146 -146
  572. package/dist/plugin/promise.js +1 -1
  573. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  574. package/dist/plugin/provider/azure.js +132 -132
  575. package/dist/plugin/provider/cerebras.js +1 -1
  576. package/dist/plugin/provider/chatgpt.js +130 -130
  577. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  578. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  579. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  583. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  585. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  586. package/dist/plugin/provider/claude-agent/index.js +143 -143
  587. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  588. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  591. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  592. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  596. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  597. package/dist/plugin/provider/claude-agent/session.js +112 -112
  598. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  599. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  602. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  603. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  604. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  608. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  609. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  610. package/dist/plugin/provider/configured.js +126 -126
  611. package/dist/plugin/provider/credential-settings.js +85 -85
  612. package/dist/plugin/provider/databricks.js +1 -1
  613. package/dist/plugin/provider/digitalocean.js +108 -108
  614. package/dist/plugin/provider/dynamic.js +2 -2
  615. package/dist/plugin/provider/github-copilot.js +110 -110
  616. package/dist/plugin/provider/gitlab.js +107 -107
  617. package/dist/plugin/provider/google-vertex.js +127 -127
  618. package/dist/plugin/provider/kilo.js +1 -1
  619. package/dist/plugin/provider/llmgateway.js +89 -89
  620. package/dist/plugin/provider/lmstudio.js +139 -139
  621. package/dist/plugin/provider/local.js +136 -136
  622. package/dist/plugin/provider/modal.js +107 -107
  623. package/dist/plugin/provider/neon.js +1 -1
  624. package/dist/plugin/provider/nvidia.js +1 -1
  625. package/dist/plugin/provider/ollama.js +137 -137
  626. package/dist/plugin/provider/openai-context-caps.js +103 -103
  627. package/dist/plugin/provider/openai.js +130 -130
  628. package/dist/plugin/provider/opencode.js +132 -132
  629. package/dist/plugin/provider/openrouter.js +104 -104
  630. package/dist/plugin/provider/poe.js +90 -90
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/refresh.js +87 -87
  633. package/dist/plugin/provider/sap-ai-core.js +104 -104
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  636. package/dist/plugin/provider/vllm.js +139 -139
  637. package/dist/plugin/provider/xai.js +104 -104
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +212 -212
  640. package/dist/plugin/sdk.js +85 -85
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +149 -149
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +409 -409
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +4 -4
  647. package/dist/plugin/vcs/git.js +99 -99
  648. package/dist/plugin/vcs/hg.js +99 -99
  649. package/dist/plugin/verbosity.js +106 -106
  650. package/dist/plugin/warming.js +128 -128
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +6 -6
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +6 -6
  656. package/dist/plugin/websearch/tavily.js +4 -4
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +243 -243
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +8 -8
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +103 -103
  663. package/dist/provider.js +108 -108
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +103 -103
  667. package/dist/reference/instructions.js +99 -99
  668. package/dist/reference.js +103 -103
  669. package/dist/repository-cache.js +93 -93
  670. package/dist/repository.js +1 -1
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +110 -110
  673. package/dist/rpc.js +99 -99
  674. package/dist/schedule/check.js +241 -241
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +247 -247
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +1 -1
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +129 -129
  681. package/dist/session/command.js +85 -85
  682. package/dist/session/compaction.js +173 -173
  683. package/dist/session/context.js +198 -198
  684. package/dist/session/diff.js +101 -101
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +5 -5
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +246 -246
  689. package/dist/session/execution.js +163 -163
  690. package/dist/session/generate.js +200 -200
  691. package/dist/session/history.js +136 -136
  692. package/dist/session/inbox.js +149 -149
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +90 -90
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +143 -143
  697. package/dist/session/message-updater.js +4 -4
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +168 -168
  700. package/dist/session/model-transport.js +9 -9
  701. package/dist/session/move.js +165 -165
  702. package/dist/session/projector.js +143 -143
  703. package/dist/session/prompt.js +148 -148
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +139 -139
  706. package/dist/session/run-coordinator.js +1 -1
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +250 -250
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +113 -113
  711. package/dist/session/runner/publish-llm-event.js +149 -149
  712. package/dist/session/runner/retry.js +3 -3
  713. package/dist/session/runner/step.js +163 -163
  714. package/dist/session/runner/to-llm-message.js +137 -137
  715. package/dist/session/schema.js +5 -5
  716. package/dist/session/session.js +179 -179
  717. package/dist/session/shell.js +144 -144
  718. package/dist/session/skill.js +147 -147
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +84 -84
  721. package/dist/session/store.js +142 -142
  722. package/dist/session/stored.js +2 -2
  723. package/dist/session/subagent-completion.js +3 -3
  724. package/dist/session/subagent-job.js +229 -229
  725. package/dist/session/system-prompt.js +5 -5
  726. package/dist/session/title.js +202 -202
  727. package/dist/session/to-session-error.js +148 -148
  728. package/dist/session/transfer.js +240 -240
  729. package/dist/session/usage.js +1 -1
  730. package/dist/session.js +235 -235
  731. package/dist/shared-cache.js +5 -5
  732. package/dist/shell/parse.js +6 -6
  733. package/dist/shell/result.js +1 -1
  734. package/dist/shell/scan.js +1 -1
  735. package/dist/shell/select.js +15 -15
  736. package/dist/shell.js +146 -146
  737. package/dist/skill/discovery.js +6 -6
  738. package/dist/skill/instructions.js +151 -151
  739. package/dist/skill.js +158 -158
  740. package/dist/snapshot.js +104 -104
  741. package/dist/state.js +1 -1
  742. package/dist/tool/html-markdown.js +1 -1
  743. package/dist/tool/http-body.js +1 -1
  744. package/dist/tool/mcp.js +180 -180
  745. package/dist/tool/plugin/artifact.js +228 -228
  746. package/dist/tool/plugin/edit.js +164 -164
  747. package/dist/tool/plugin/file-diff.js +1 -1
  748. package/dist/tool/plugin/glob.js +168 -168
  749. package/dist/tool/plugin/grep.js +168 -168
  750. package/dist/tool/plugin/image-generate.js +239 -239
  751. package/dist/tool/plugin/mcp-resource.js +162 -162
  752. package/dist/tool/plugin/opencode.js +161 -161
  753. package/dist/tool/plugin/patch.js +166 -166
  754. package/dist/tool/plugin/question.js +148 -148
  755. package/dist/tool/plugin/read.js +169 -169
  756. package/dist/tool/plugin/schedule.js +247 -247
  757. package/dist/tool/plugin/shell.js +235 -235
  758. package/dist/tool/plugin/skill.js +151 -151
  759. package/dist/tool/plugin/subagent.js +236 -236
  760. package/dist/tool/plugin/todo.js +153 -153
  761. package/dist/tool/plugin/webfetch.js +153 -153
  762. package/dist/tool/plugin/websearch.js +155 -155
  763. package/dist/tool/plugin/write.js +166 -166
  764. package/dist/tool/read-filesystem.js +113 -113
  765. package/dist/tool/runtime.js +1 -1
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +161 -161
  768. package/dist/usage-limits.js +98 -98
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +7 -7
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +105 -105
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +3 -3
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +104 -104
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +93 -93
  788. package/dist/websearch.js +101 -101
  789. package/dist/wellknown/plugin.js +85 -85
  790. package/dist/wellknown.js +92 -92
  791. package/dist/workspace/driver.js +7 -7
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +93 -93
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +9 -9
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +111 -111
  799. package/package.json +8 -8
  800. package/dist/chunks/file-retention-1v8gr36j.js +0 -261
  801. package/dist/chunks/file-retention-3aarzgek.js +0 -26
  802. package/dist/chunks/file-retention-3d3mj0t0.js +0 -555
  803. package/dist/chunks/file-retention-d77dj7jw.js +0 -18
  804. package/dist/chunks/file-retention-y32xxt00.js +0 -16
  805. /package/dist/chunks/{file-retention-0qkdqm5v.js → shared-cache-0qkdqm5v.js} +0 -0
  806. /package/dist/chunks/{file-retention-0zkw76rk.js → shared-cache-0zkw76rk.js} +0 -0
  807. /package/dist/chunks/{file-retention-17cy0kzp.js → shared-cache-17cy0kzp.js} +0 -0
  808. /package/dist/chunks/{file-retention-1cnp2v09.js → shared-cache-1cnp2v09.js} +0 -0
  809. /package/dist/chunks/{file-retention-1kah00gy.js → shared-cache-1kah00gy.js} +0 -0
  810. /package/dist/chunks/{file-retention-1pevy3nx.js → shared-cache-1pevy3nx.js} +0 -0
  811. /package/dist/chunks/{file-retention-24dcb14g.js → shared-cache-24dcb14g.js} +0 -0
  812. /package/dist/chunks/{file-retention-2710q6r3.js → shared-cache-2710q6r3.js} +0 -0
  813. /package/dist/chunks/{file-retention-2bv980vf.js → shared-cache-2bv980vf.js} +0 -0
  814. /package/dist/chunks/{file-retention-2c3vjs8z.js → shared-cache-2c3vjs8z.js} +0 -0
  815. /package/dist/chunks/{file-retention-359p4xyc.js → shared-cache-359p4xyc.js} +0 -0
  816. /package/dist/chunks/{file-retention-3asan66x.js → shared-cache-3asan66x.js} +0 -0
  817. /package/dist/chunks/{file-retention-3v8g72cx.js → shared-cache-3v8g72cx.js} +0 -0
  818. /package/dist/chunks/{file-retention-3wcehsnq.js → shared-cache-3wcehsnq.js} +0 -0
  819. /package/dist/chunks/{file-retention-43n2bw4t.js → shared-cache-43n2bw4t.js} +0 -0
  820. /package/dist/chunks/{file-retention-4knz6hnm.js → shared-cache-4knz6hnm.js} +0 -0
  821. /package/dist/chunks/{file-retention-4qk9sjk2.js → shared-cache-4qk9sjk2.js} +0 -0
  822. /package/dist/chunks/{file-retention-4vcrnpx2.js → shared-cache-4vcrnpx2.js} +0 -0
  823. /package/dist/chunks/{file-retention-4y7fprxs.js → shared-cache-4y7fprxs.js} +0 -0
  824. /package/dist/chunks/{file-retention-53557ph1.js → shared-cache-53557ph1.js} +0 -0
  825. /package/dist/chunks/{file-retention-550bvhaj.js → shared-cache-550bvhaj.js} +0 -0
  826. /package/dist/chunks/{file-retention-5w3e23ze.js → shared-cache-5w3e23ze.js} +0 -0
  827. /package/dist/chunks/{file-retention-6agm2x70.js → shared-cache-6agm2x70.js} +0 -0
  828. /package/dist/chunks/{file-retention-6prwharc.js → shared-cache-6prwharc.js} +0 -0
  829. /package/dist/chunks/{file-retention-6q2bdcd1.js → shared-cache-6q2bdcd1.js} +0 -0
  830. /package/dist/chunks/{file-retention-7akdwqpd.js → shared-cache-7akdwqpd.js} +0 -0
  831. /package/dist/chunks/{file-retention-7m9af43g.js → shared-cache-7m9af43g.js} +0 -0
  832. /package/dist/chunks/{file-retention-822emrt2.js → shared-cache-822emrt2.js} +0 -0
  833. /package/dist/chunks/{file-retention-84wd9syh.js → shared-cache-84wd9syh.js} +0 -0
  834. /package/dist/chunks/{file-retention-88xbtdfr.js → shared-cache-88xbtdfr.js} +0 -0
  835. /package/dist/chunks/{file-retention-8n3pysct.js → shared-cache-8n3pysct.js} +0 -0
  836. /package/dist/chunks/{file-retention-8wj87zfr.js → shared-cache-8wj87zfr.js} +0 -0
  837. /package/dist/chunks/{file-retention-9a4afbnw.js → shared-cache-9a4afbnw.js} +0 -0
  838. /package/dist/chunks/{file-retention-9rqn6x4v.js → shared-cache-9rqn6x4v.js} +0 -0
  839. /package/dist/chunks/{file-retention-a6k6eb26.js → shared-cache-a6k6eb26.js} +0 -0
  840. /package/dist/chunks/{file-retention-af5trqkr.js → shared-cache-af5trqkr.js} +0 -0
  841. /package/dist/chunks/{file-retention-afrmfg78.js → shared-cache-afrmfg78.js} +0 -0
  842. /package/dist/chunks/{file-retention-aqzs7mqg.js → shared-cache-aqzs7mqg.js} +0 -0
  843. /package/dist/chunks/{file-retention-atq7p7m5.js → shared-cache-atq7p7m5.js} +0 -0
  844. /package/dist/chunks/{file-retention-beh6qq61.js → shared-cache-beh6qq61.js} +0 -0
  845. /package/dist/chunks/{file-retention-bkyjaxrp.js → shared-cache-bkyjaxrp.js} +0 -0
  846. /package/dist/chunks/{file-retention-bmr6ed5q.js → shared-cache-bmr6ed5q.js} +0 -0
  847. /package/dist/chunks/{file-retention-cf4snx6d.js → shared-cache-cf4snx6d.js} +0 -0
  848. /package/dist/chunks/{file-retention-cqv5kn06.js → shared-cache-cqv5kn06.js} +0 -0
  849. /package/dist/chunks/{file-retention-cvy3z8tj.js → shared-cache-cvy3z8tj.js} +0 -0
  850. /package/dist/chunks/{file-retention-d9fn303g.js → shared-cache-d9fn303g.js} +0 -0
  851. /package/dist/chunks/{file-retention-d9jj8t3e.js → shared-cache-d9jj8t3e.js} +0 -0
  852. /package/dist/chunks/{file-retention-dap0rakb.js → shared-cache-dap0rakb.js} +0 -0
  853. /package/dist/chunks/{file-retention-dbht28n9.js → shared-cache-dbht28n9.js} +0 -0
  854. /package/dist/chunks/{file-retention-df08tz66.js → shared-cache-df08tz66.js} +0 -0
  855. /package/dist/chunks/{file-retention-dy18nga0.js → shared-cache-dy18nga0.js} +0 -0
  856. /package/dist/chunks/{file-retention-e5kj55wp.js → shared-cache-e5kj55wp.js} +0 -0
  857. /package/dist/chunks/{file-retention-e73j6tqm.js → shared-cache-e73j6tqm.js} +0 -0
  858. /package/dist/chunks/{file-retention-ean2d8b5.js → shared-cache-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{file-retention-ec1grn59.js → shared-cache-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{file-retention-eh3zwz77.js → shared-cache-eh3zwz77.js} +0 -0
  861. /package/dist/chunks/{file-retention-emrn6kk6.js → shared-cache-emrn6kk6.js} +0 -0
  862. /package/dist/chunks/{file-retention-f0mxakyp.js → shared-cache-f0mxakyp.js} +0 -0
  863. /package/dist/chunks/{file-retention-f6n9ztr4.js → shared-cache-f6n9ztr4.js} +0 -0
  864. /package/dist/chunks/{file-retention-faypxj3z.js → shared-cache-faypxj3z.js} +0 -0
  865. /package/dist/chunks/{file-retention-fd410y7t.js → shared-cache-fd410y7t.js} +0 -0
  866. /package/dist/chunks/{file-retention-fkpq3x5p.js → shared-cache-fkpq3x5p.js} +0 -0
  867. /package/dist/chunks/{file-retention-g4wezp1m.js → shared-cache-g4wezp1m.js} +0 -0
  868. /package/dist/chunks/{file-retention-g86h250q.js → shared-cache-g86h250q.js} +0 -0
  869. /package/dist/chunks/{file-retention-gebd4c9n.js → shared-cache-gebd4c9n.js} +0 -0
  870. /package/dist/chunks/{file-retention-gftt206x.js → shared-cache-gftt206x.js} +0 -0
  871. /package/dist/chunks/{file-retention-hcxmzztb.js → shared-cache-hcxmzztb.js} +0 -0
  872. /package/dist/chunks/{file-retention-hk9envan.js → shared-cache-hk9envan.js} +0 -0
  873. /package/dist/chunks/{file-retention-j2ntwpah.js → shared-cache-j2ntwpah.js} +0 -0
  874. /package/dist/chunks/{file-retention-j5zkgpj8.js → shared-cache-j5zkgpj8.js} +0 -0
  875. /package/dist/chunks/{file-retention-jjkms2e6.js → shared-cache-jjkms2e6.js} +0 -0
  876. /package/dist/chunks/{file-retention-jr7sbwjy.js → shared-cache-jr7sbwjy.js} +0 -0
  877. /package/dist/chunks/{file-retention-jwfs4k6c.js → shared-cache-jwfs4k6c.js} +0 -0
  878. /package/dist/chunks/{file-retention-jwr30sdr.js → shared-cache-jwr30sdr.js} +0 -0
  879. /package/dist/chunks/{file-retention-jzg6c2d5.js → shared-cache-jzg6c2d5.js} +0 -0
  880. /package/dist/chunks/{file-retention-m18g726c.js → shared-cache-m18g726c.js} +0 -0
  881. /package/dist/chunks/{file-retention-mp448xyj.js → shared-cache-mp448xyj.js} +0 -0
  882. /package/dist/chunks/{file-retention-msx8hqn2.js → shared-cache-msx8hqn2.js} +0 -0
  883. /package/dist/chunks/{file-retention-n05xt0ee.js → shared-cache-n05xt0ee.js} +0 -0
  884. /package/dist/chunks/{file-retention-n3j8tn72.js → shared-cache-n3j8tn72.js} +0 -0
  885. /package/dist/chunks/{file-retention-nh4v3znn.js → shared-cache-nh4v3znn.js} +0 -0
  886. /package/dist/chunks/{file-retention-njntx4h6.js → shared-cache-njntx4h6.js} +0 -0
  887. /package/dist/chunks/{file-retention-p71gwv9c.js → shared-cache-p71gwv9c.js} +0 -0
  888. /package/dist/chunks/{file-retention-q3sfg36h.js → shared-cache-q3sfg36h.js} +0 -0
  889. /package/dist/chunks/{file-retention-q74kybfr.js → shared-cache-q74kybfr.js} +0 -0
  890. /package/dist/chunks/{file-retention-qaymkmh1.js → shared-cache-qaymkmh1.js} +0 -0
  891. /package/dist/chunks/{file-retention-qb87gjwd.js → shared-cache-qb87gjwd.js} +0 -0
  892. /package/dist/chunks/{file-retention-qfa1cgps.js → shared-cache-qfa1cgps.js} +0 -0
  893. /package/dist/chunks/{file-retention-qg3g05ea.js → shared-cache-qg3g05ea.js} +0 -0
  894. /package/dist/chunks/{file-retention-qrg20bc0.js → shared-cache-qrg20bc0.js} +0 -0
  895. /package/dist/chunks/{file-retention-rcb2kzg1.js → shared-cache-rcb2kzg1.js} +0 -0
  896. /package/dist/chunks/{file-retention-sdp7kfr6.js → shared-cache-sdp7kfr6.js} +0 -0
  897. /package/dist/chunks/{file-retention-ssg3fenm.js → shared-cache-ssg3fenm.js} +0 -0
  898. /package/dist/chunks/{file-retention-syrav9an.js → shared-cache-syrav9an.js} +0 -0
  899. /package/dist/chunks/{file-retention-t03h4f5z.js → shared-cache-t03h4f5z.js} +0 -0
  900. /package/dist/chunks/{file-retention-ty7weeps.js → shared-cache-ty7weeps.js} +0 -0
  901. /package/dist/chunks/{file-retention-ve7vex1e.js → shared-cache-ve7vex1e.js} +0 -0
  902. /package/dist/chunks/{file-retention-vtarvj67.js → shared-cache-vtarvj67.js} +0 -0
  903. /package/dist/chunks/{file-retention-w803qqfp.js → shared-cache-w803qqfp.js} +0 -0
  904. /package/dist/chunks/{file-retention-wc3fc9cn.js → shared-cache-wc3fc9cn.js} +0 -0
  905. /package/dist/chunks/{file-retention-wer8tq1h.js → shared-cache-wer8tq1h.js} +0 -0
  906. /package/dist/chunks/{file-retention-wtztk69x.js → shared-cache-wtztk69x.js} +0 -0
  907. /package/dist/chunks/{file-retention-x0ckcb58.js → shared-cache-x0ckcb58.js} +0 -0
  908. /package/dist/chunks/{file-retention-x61499pn.js → shared-cache-x61499pn.js} +0 -0
  909. /package/dist/chunks/{file-retention-y44na4kk.js → shared-cache-y44na4kk.js} +0 -0
  910. /package/dist/chunks/{file-retention-y8f7s663.js → shared-cache-y8f7s663.js} +0 -0
  911. /package/dist/chunks/{file-retention-ygaqb7jw.js → shared-cache-ygaqb7jw.js} +0 -0
  912. /package/dist/chunks/{file-retention-z5v4ffb3.js → shared-cache-z5v4ffb3.js} +0 -0
  913. /package/dist/chunks/{file-retention-z9919s4g.js → shared-cache-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-bjaevfq0.js";
3
+ } from "./shared-cache-ree0x2as.js";
4
4
  import {
5
- Service89
6
- } from "./file-retention-ynsc8wg2.js";
5
+ Service85
6
+ } from "./shared-cache-44jvmyw9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21,
10
- Service88
11
- } from "./file-retention-waxfvz31.js";
9
+ Event18,
10
+ Service78
11
+ } from "./shared-cache-nn1p33cp.js";
12
12
  import {
13
- ID20,
13
+ ID16,
14
14
  MethodID2,
15
- Service86
16
- } from "./file-retention-j6q7spb2.js";
15
+ Service77
16
+ } from "./shared-cache-x6x1nndz.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-retention-yb20nhc3.js";
20
+ } from "./shared-cache-yb20nhc3.js";
21
21
  import {
22
- ID17
23
- } from "./file-retention-2dfh1hr2.js";
22
+ ID15
23
+ } from "./shared-cache-8889jn16.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-retention-tnya1cye.js";
26
+ } from "./shared-cache-d9j8kz1s.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
- var providerID = ID17.make("snowflake-cortex");
34
- var integrationID = ID20.make(providerID);
33
+ var providerID = ID15.make("snowflake-cortex");
34
+ var integrationID = ID16.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service88;
57
- const integrations = yield* Service86;
58
- const bus = yield* Service89;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service77;
58
+ const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -188,7 +188,7 @@ var SnowflakeCortexPlugin2 = define({
188
188
  });
189
189
  }
190
190
  });
191
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
191
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
192
192
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
193
193
  const token = envToken();
194
194
  if (token)
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service89
3
- } from "./file-retention-ynsc8wg2.js";
2
+ Service85
3
+ } from "./shared-cache-44jvmyw9.js";
4
4
  import {
5
- Service80
6
- } from "./file-retention-7etbzm9y.js";
5
+ Service83
6
+ } from "./shared-cache-j5pp33gg.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service37
10
- } from "./file-retention-m2vpvwkm.js";
9
+ Service41
10
+ } from "./shared-cache-jg6qty85.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./shared-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin12
19
+ Plugin: () => Plugin28
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin12 = define({
196
+ var Plugin28 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service80;
200
- const mcp = yield* Service37;
201
- const bus = yield* Service89;
199
+ const location = yield* Service83;
200
+ const mcp = yield* Service41;
201
+ const bus = yield* Service85;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin12, exports_command };
283
+ export { Plugin28, exports_command };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service89
3
- } from "./file-retention-ynsc8wg2.js";
2
+ Service85
3
+ } from "./shared-cache-44jvmyw9.js";
4
4
  import {
5
- ID22,
6
- Event21,
7
- Service88
8
- } from "./file-retention-waxfvz31.js";
5
+ ID17,
6
+ Event18,
7
+ Service78
8
+ } from "./shared-cache-nn1p33cp.js";
9
9
 
10
10
  // src/plugin/provider/credential-settings.ts
11
11
  import { Effect, Stream } from "effect";
12
12
  var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
13
- const credentials = yield* Service88;
14
- const bus = yield* Service89;
13
+ const credentials = yield* Service78;
14
+ const bus = yield* Service85;
15
15
  const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
16
16
  const connection = yield* ctx.integration.connection.active(integrationID);
17
- const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
17
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
18
18
  return stored ? select(stored.value) : {};
19
19
  });
20
20
  const current = { settings: yield* load() };
21
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => Effect.gen(function* () {
21
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => Effect.gen(function* () {
22
22
  const next = yield* load();
23
23
  if (JSON.stringify(next) === JSON.stringify(current.settings))
24
24
  return;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service69
4
- } from "./file-retention-gmnq7sxz.js";
3
+ Service73
4
+ } from "./shared-cache-ahytd4qs.js";
5
5
  import {
6
6
  observe2
7
- } from "./file-retention-hpg1pkwy.js";
7
+ } from "./shared-cache-hpg1pkwy.js";
8
8
  import {
9
9
  Condition2,
10
10
  ID4,
@@ -15,17 +15,17 @@ import {
15
15
  When2,
16
16
  NotFoundError2,
17
17
  DisabledError2,
18
- Service16
19
- } from "./file-retention-dvyrd087.js";
18
+ Service13
19
+ } from "./shared-cache-bfmgkdsj.js";
20
20
  import {
21
21
  __export
22
- } from "./file-retention-9rqn6x4v.js";
22
+ } from "./shared-cache-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/schedule.ts
25
25
  var exports_schedule = {};
26
26
  __export(exports_schedule, {
27
27
  IDInput: () => IDInput2,
28
- Plugin: () => Plugin41,
28
+ Plugin: () => Plugin13,
29
29
  ScheduleTools: () => exports_schedule,
30
30
  View: () => View2
31
31
  });
@@ -62,11 +62,11 @@ var IDInput2 = Schema.Struct({
62
62
  id: ID4.annotate({ description: "Schedule id from schedule_list." })
63
63
  });
64
64
  var RemoveOutput = Schema.Struct({ id: ID4, removed: Schema.Boolean });
65
- var Plugin41 = {
65
+ var Plugin13 = {
66
66
  id: "opencode.tool.schedule",
67
67
  effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
68
- const config = yield* Service69;
69
- const schedules = yield* Service16;
68
+ const config = yield* Service73;
69
+ const schedules = yield* Service13;
70
70
  const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
71
71
  const enabled = () => latest2(loaded.entries, "experimental")?.schedules === true;
72
72
  const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
@@ -198,4 +198,4 @@ function toView(info) {
198
198
  };
199
199
  }
200
200
 
201
- export { View2, IDInput2, Plugin41, exports_schedule };
201
+ export { View2, IDInput2, Plugin13, exports_schedule };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service87
3
- } from "./file-retention-x4t5xjs0.js";
2
+ Service79
3
+ } from "./shared-cache-p9xrsnvg.js";
4
4
  import {
5
- Service65
6
- } from "./file-retention-f7rj94ae.js";
5
+ Service68
6
+ } from "./shared-cache-hp5p8e88.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./shared-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input15,
15
+ Input: () => Input16,
16
16
  Output: () => Output11,
17
17
  Plugin: () => Plugin55,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description8,
20
- name: () => name15,
20
+ name: () => name16,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai/effect";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name15 = "question";
26
+ var name16 = "question";
27
27
  var description8 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input15 = Schema.Struct({
37
+ var Input16 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output11 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin55 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service87;
57
- const permission = yield* Service65;
56
+ const forms = yield* Service79;
57
+ const permission = yield* Service68;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name15,
59
+ name: name16,
60
60
  options: { codemode: false },
61
61
  description: description8,
62
- input: Input15,
62
+ input: Input16,
63
63
  output: Output11,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name15, description8, Input15, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
120
+ export { name16, description8, Input16, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service69
3
- } from "./file-retention-gmnq7sxz.js";
2
+ Service73
3
+ } from "./shared-cache-ahytd4qs.js";
4
4
  import {
5
- Service37
6
- } from "./file-retention-m2vpvwkm.js";
5
+ Service41
6
+ } from "./shared-cache-jg6qty85.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./shared-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin28,
15
+ Plugin: () => Plugin50,
16
16
  register: () => register7
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin28 = define({
20
+ var Plugin50 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register7(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register7 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service69;
28
- const mcp = yield* Service37;
27
+ const config = yield* Service73;
28
+ const mcp = yield* Service41;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register7 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin28, register7, exports_mcp2 };
49
+ export { Plugin50, register7, exports_mcp2 };
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Ref3,
3
- Service78
4
- } from "./file-retention-721agqj7.js";
3
+ Service75
4
+ } from "./shared-cache-a4ejydmw.js";
5
5
  import {
6
- Service69
7
- } from "./file-retention-gmnq7sxz.js";
6
+ Service73
7
+ } from "./shared-cache-ahytd4qs.js";
8
8
  import {
9
9
  observe2
10
- } from "./file-retention-hpg1pkwy.js";
10
+ } from "./shared-cache-hpg1pkwy.js";
11
11
  import {
12
- Service51
13
- } from "./file-retention-x24tvm8w.js";
12
+ Service56
13
+ } from "./shared-cache-pm55fh0v.js";
14
14
  import {
15
15
  SessionMessage2
16
- } from "./file-retention-gftt206x.js";
16
+ } from "./shared-cache-gftt206x.js";
17
17
  import {
18
- Service65
19
- } from "./file-retention-f7rj94ae.js";
18
+ Service68
19
+ } from "./shared-cache-hp5p8e88.js";
20
20
  import {
21
- Service18
22
- } from "./file-retention-87jq36v2.js";
21
+ Service14
22
+ } from "./shared-cache-8ejs04fm.js";
23
23
  import {
24
- Service75
25
- } from "./file-retention-h5enc8pd.js";
24
+ Service27
25
+ } from "./shared-cache-4zqa8vte.js";
26
26
  import {
27
- text2
28
- } from "./file-retention-8b3vzgkx.js";
27
+ text3
28
+ } from "./shared-cache-25h84942.js";
29
29
  import {
30
- Service45
31
- } from "./file-retention-xa716ypk.js";
30
+ Service63
31
+ } from "./shared-cache-j05qjvrv.js";
32
32
  import {
33
33
  detect2
34
- } from "./file-retention-4pyp9zr9.js";
34
+ } from "./shared-cache-4pyp9zr9.js";
35
35
  import {
36
- Service25
37
- } from "./file-retention-rpxemsgz.js";
36
+ Service30
37
+ } from "./shared-cache-m7ksbpap.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
- } from "./file-retention-3v8g72cx.js";
40
+ } from "./shared-cache-3v8g72cx.js";
41
41
  import {
42
42
  __export
43
- } from "./file-retention-9rqn6x4v.js";
43
+ } from "./shared-cache-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/image-generate.ts
46
46
  var exports_image_generate = {};
47
47
  __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
- Input: () => Input2,
49
+ Input: () => Input14,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output2,
52
- Plugin: () => Plugin37,
51
+ Output: () => Output10,
52
+ Plugin: () => Plugin18,
53
53
  defaultModel: () => defaultModel2,
54
- description: () => description3,
55
- name: () => name2
54
+ description: () => description6,
55
+ name: () => name14
56
56
  });
57
57
  import path from "path";
58
58
  import { ToolFailure } from "@opencode/ai/effect";
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
60
60
  import { Global } from "@opencode/util/global";
61
61
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
62
62
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
63
- var name2 = "experimental_image_generate";
63
+ var name14 = "experimental_image_generate";
64
64
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
65
65
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
66
66
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -71,7 +71,7 @@ var EXTENSIONS = {
71
71
  "image/webp": ".webp",
72
72
  "image/gif": ".gif"
73
73
  };
74
- var description3 = [
74
+ var description6 = [
75
75
  "Generates a new image, or edits existing ones.",
76
76
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
77
77
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -80,7 +80,7 @@ var description3 = [
80
80
  "Don't repeat a request unless the user asks."
81
81
  ].join(`
82
82
  `);
83
- var Input2 = Schema.Struct({
83
+ var Input14 = Schema.Struct({
84
84
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
85
85
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
86
86
  }),
@@ -94,25 +94,25 @@ var Input2 = Schema.Struct({
94
94
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
95
95
  })
96
96
  });
97
- var Output2 = Schema.Struct({
97
+ var Output10 = Schema.Struct({
98
98
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
99
99
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
100
100
  model: Schema.String.annotate({ description: "providerID/modelID" })
101
101
  });
102
- var Plugin37 = {
102
+ var Plugin18 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service18;
106
- const environment = yield* Service51;
107
- const generate = yield* Service75;
105
+ const access = yield* Service14;
106
+ const environment = yield* Service56;
107
+ const generate = yield* Service27;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service69;
111
- const jobs = yield* Service45;
110
+ const config = yield* Service73;
111
+ const jobs = yield* Service63;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service25;
114
- const models = yield* Service78;
115
- const permission = yield* Service65;
113
+ const sessions = yield* Service30;
114
+ const models = yield* Service75;
115
+ const permission = yield* Service68;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
118
118
  if (!input) {
@@ -188,12 +188,12 @@ var Plugin37 = {
188
188
  id: input.notificationID,
189
189
  sessionID: input.sessionID,
190
190
  description: "Image generation",
191
- text: text2({
191
+ text: text3({
192
192
  id: input.id,
193
193
  state: info.status,
194
194
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
195
195
  }),
196
- metadata: { source: name2, jobID: input.id, state: info.status, path: input.file }
196
+ metadata: { source: name14, jobID: input.id, state: info.status, path: input.file }
197
197
  });
198
198
  yield* jobs.completeBackground(input.notificationID);
199
199
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -212,11 +212,11 @@ var Plugin37 = {
212
212
  if (!enabled || imageGenerate(loaded.entries) === false)
213
213
  return;
214
214
  editor.add({
215
- name: name2,
215
+ name: name14,
216
216
  options: { codemode: false },
217
- description: description3,
218
- input: Input2,
219
- output: Output2,
217
+ description: description6,
218
+ input: Input14,
219
+ output: Output10,
220
220
  execute: (input, context) => Effect.gen(function* () {
221
221
  const source = { type: "tool", messageID: context.messageID, id: context.id };
222
222
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -226,7 +226,7 @@ var Plugin37 = {
226
226
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
227
227
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
228
228
  yield* permission.assert({
229
- action: name2,
229
+ action: name14,
230
230
  resources: [ref],
231
231
  save: ["*"],
232
232
  metadata: { ...input, model: ref },
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
294
294
  yield* jobs.start({
295
295
  id,
296
296
  notificationID,
297
- type: name2,
297
+ type: name14,
298
298
  title: input.prompt,
299
299
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
300
300
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -333,4 +333,4 @@ function acceptsImages(model) {
333
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
334
334
  }
335
335
 
336
- export { name2, MAX_INPUT_BYTES2, description3, Input2, Output2, Plugin37, defaultModel2, exports_image_generate };
336
+ export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10, Plugin18, defaultModel2, exports_image_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shared-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-retention-qfa1cgps.js";
3
+ } from "./shared-cache-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-retention-034tev2y.js";
6
+ } from "./shared-cache-034tev2y.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";