@opencode/core 0.0.0-dev-1275 → 0.0.0-dev-1276

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 (910) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-retention-3gfdscm4.js → location-021fsafs.js} +21 -21
  9. package/dist/chunks/{file-retention-034tev2y.js → location-034tev2y.js} +2 -2
  10. package/dist/chunks/{file-retention-mfj4zn8r.js → location-03y9rycd.js} +24 -24
  11. package/dist/chunks/{file-retention-mhc0p716.js → location-05kq7j8j.js} +18 -18
  12. package/dist/chunks/{file-retention-swh6q862.js → location-08ak2yr7.js} +9 -9
  13. package/dist/chunks/{file-retention-0fvxehme.js → location-0fvxehme.js} +2 -2
  14. package/dist/chunks/{file-retention-0gtpsn3x.js → location-0gtpsn3x.js} +3 -3
  15. package/dist/chunks/{file-retention-56xt8ks8.js → location-0jaqsgzq.js} +30 -30
  16. package/dist/chunks/{file-retention-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{file-retention-h7ezd2nn.js → location-0r7ap6rq.js} +5 -5
  18. package/dist/chunks/{file-retention-6fnvvkcf.js → location-0rha4te7.js} +11 -11
  19. package/dist/chunks/{file-retention-e0j5ff10.js → location-0w9dmjr8.js} +5 -5
  20. package/dist/chunks/{file-retention-66yzdfmc.js → location-0zjzq181.js} +3 -3
  21. package/dist/chunks/{file-retention-g7av7xrx.js → location-10gda4y3.js} +25 -25
  22. package/dist/chunks/{file-retention-kc4ez2ea.js → location-12a87htm.js} +8 -8
  23. package/dist/chunks/{file-retention-8es3pha2.js → location-18b1hh0p.js} +11 -11
  24. package/dist/chunks/{file-retention-1aqsckx4.js → location-1aqsckx4.js} +1 -1
  25. package/dist/chunks/{file-retention-1aryjtsy.js → location-1aryjtsy.js} +1 -1
  26. package/dist/chunks/{file-retention-mnhjkgm7.js → location-1c8dd0hz.js} +31 -31
  27. package/dist/chunks/{file-retention-8q1q12k3.js → location-1cy53gy4.js} +6 -6
  28. package/dist/chunks/{file-retention-1ep2p91f.js → location-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{file-retention-mkcfyg48.js → location-1j1ekfhz.js} +11 -11
  30. package/dist/chunks/{file-retention-scs9p2da.js → location-1kama452.js} +4 -4
  31. package/dist/chunks/{file-retention-c9xapkpf.js → location-1n5de25f.js} +30 -30
  32. package/dist/chunks/{file-retention-sdxq25xx.js → location-1pdz1pcc.js} +10 -10
  33. package/dist/chunks/{file-retention-va4jfsd2.js → location-1s0bqze6.js} +11 -11
  34. package/dist/chunks/{file-retention-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  35. package/dist/chunks/{file-retention-qd3x4hec.js → location-1xg3r4rp.js} +51 -51
  36. package/dist/chunks/{file-retention-p7vhpwh8.js → location-1yq9hg58.js} +5 -5
  37. package/dist/chunks/{file-retention-c1vk4cgc.js → location-2167rcp4.js} +13 -13
  38. package/dist/chunks/{file-retention-tb2mrvc9.js → location-26wfx3k0.js} +4 -4
  39. package/dist/chunks/{file-retention-2fc7eemy.js → location-2fc7eemy.js} +1 -1
  40. package/dist/chunks/{file-retention-qvb43d5p.js → location-2hq54qhc.js} +9 -9
  41. package/dist/chunks/{file-retention-5pa1dgs1.js → location-2mc3s1c7.js} +16 -16
  42. package/dist/chunks/{file-retention-2prt43t7.js → location-2prt43t7.js} +1 -1
  43. package/dist/chunks/{file-retention-s47rahr7.js → location-2ytp0tvq.js} +4 -4
  44. package/dist/chunks/location-31140ebx.js +273 -0
  45. package/dist/chunks/{file-retention-8ykqf5wm.js → location-31avdb49.js} +8 -8
  46. package/dist/chunks/{file-retention-ge5br79w.js → location-348wk1v4.js} +27 -27
  47. package/dist/chunks/{file-retention-z080rjh6.js → location-38aws4xb.js} +4 -4
  48. package/dist/chunks/{file-retention-7mcabm6m.js → location-3efg3nzt.js} +6 -6
  49. package/dist/chunks/{file-retention-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{file-retention-ahpgc8cc.js → location-3k1h60wg.js} +8 -8
  51. package/dist/chunks/{file-retention-6jbb2aeh.js → location-3ky1b0gx.js} +17 -17
  52. package/dist/chunks/{file-retention-zmek7bxz.js → location-3nnfpzj3.js} +14 -14
  53. package/dist/chunks/{file-retention-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  54. package/dist/chunks/{file-retention-1ytda9fg.js → location-3s8skp45.js} +176 -176
  55. package/dist/chunks/{file-retention-bxhjfq4f.js → location-3tzhzaa2.js} +17 -17
  56. package/dist/chunks/{file-retention-c726nvqq.js → location-3w65b8dw.js} +20 -20
  57. package/dist/chunks/{file-retention-40y6dtc2.js → location-40y6dtc2.js} +1 -1
  58. package/dist/chunks/{file-retention-j06rjn1j.js → location-44n6rsh7.js} +16 -16
  59. package/dist/chunks/{file-retention-e9v8rvcx.js → location-494zrbqa.js} +22 -22
  60. package/dist/chunks/{file-retention-phm1wtvk.js → location-4ajzq9zr.js} +16 -16
  61. package/dist/chunks/{file-retention-kmcen3k3.js → location-4c20e9ck.js} +23 -23
  62. package/dist/chunks/{file-retention-4dfqsw0d.js → location-4dfqsw0d.js} +1 -1
  63. package/dist/chunks/{file-retention-4dx1dgte.js → location-4dx1dgte.js} +1 -1
  64. package/dist/chunks/{file-retention-4f25tdd0.js → location-4f25tdd0.js} +1 -1
  65. package/dist/chunks/{file-retention-150b7jmw.js → location-4hr0gj8v.js} +23 -23
  66. package/dist/chunks/{file-retention-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{file-retention-4v008n1t.js → location-4v008n1t.js} +1 -1
  68. package/dist/chunks/{file-retention-0cm2734h.js → location-4x0dh2jb.js} +23 -23
  69. package/dist/chunks/{file-retention-0efy3j82.js → location-5c9hp1k3.js} +59 -59
  70. package/dist/chunks/{file-retention-cmn8rvxz.js → location-5cfsv2d4.js} +7 -7
  71. package/dist/chunks/{file-retention-60ppm0h1.js → location-5ec385rp.js} +31 -31
  72. package/dist/chunks/{file-retention-5enarcya.js → location-5enarcya.js} +2 -2
  73. package/dist/chunks/{file-retention-3cq3byd1.js → location-5g5c2xgf.js} +26 -26
  74. package/dist/chunks/{file-retention-bmhe4rg7.js → location-5jjh806t.js} +11 -11
  75. package/dist/chunks/{file-retention-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{file-retention-p4rtjgzz.js → location-5qpj0r7y.js} +18 -18
  77. package/dist/chunks/{file-retention-q6mj5sb5.js → location-5teqn4za.js} +16 -16
  78. package/dist/chunks/{file-retention-r3mdxadk.js → location-5vcdkfdf.js} +36 -36
  79. package/dist/chunks/{file-retention-sc9hyn7r.js → location-5wrnmdn2.js} +6 -6
  80. package/dist/chunks/{file-retention-t8erkws8.js → location-61qraad9.js} +5 -5
  81. package/dist/chunks/{file-retention-sgt041th.js → location-63rpahs8.js} +15 -15
  82. package/dist/chunks/{file-retention-kkf7ngzn.js → location-68ysa86r.js} +13 -13
  83. package/dist/chunks/{file-retention-mnyx5pgk.js → location-69ahswmr.js} +28 -28
  84. package/dist/chunks/{file-retention-h8jbka20.js → location-6dbssvqe.js} +15 -15
  85. package/dist/chunks/{file-retention-tz1vm39h.js → location-6jx1tk7q.js} +49 -49
  86. package/dist/chunks/{file-retention-0vp45jwm.js → location-6kv1vnfg.js} +14 -14
  87. package/dist/chunks/{file-retention-gy9f922q.js → location-6yb4hasd.js} +12 -12
  88. package/dist/chunks/{file-retention-g0spxtp6.js → location-75hg3qrd.js} +22 -22
  89. package/dist/chunks/{file-retention-4kkdjnw8.js → location-79dx1dc6.js} +5 -5
  90. package/dist/chunks/{file-retention-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{file-retention-qwbqpk8k.js → location-7cjya25h.js} +31 -31
  92. package/dist/chunks/{file-retention-mqfpt9za.js → location-7nxfzr7c.js} +46 -46
  93. package/dist/chunks/{file-retention-0kbsc3bc.js → location-7tt4rns3.js} +10 -10
  94. package/dist/chunks/{file-retention-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  95. package/dist/chunks/{file-retention-7weczvnd.js → location-7weczvnd.js} +1 -1
  96. package/dist/chunks/{file-retention-3qgwywyc.js → location-7zs4mqwf.js} +4 -4
  97. package/dist/chunks/{file-retention-80mg3ag8.js → location-80mg3ag8.js} +3 -3
  98. package/dist/chunks/{file-retention-80pdk984.js → location-80pdk984.js} +1 -1
  99. package/dist/chunks/{file-retention-3r9gxn8p.js → location-83vckxy2.js} +9 -9
  100. package/dist/chunks/{file-retention-85jq8dht.js → location-85jq8dht.js} +1 -1
  101. package/dist/chunks/{file-retention-yx4a6ynz.js → location-860nww6g.js} +11 -11
  102. package/dist/chunks/{file-retention-ft9k8fee.js → location-8912y0am.js} +4 -4
  103. package/dist/chunks/{file-retention-8b3vzgkx.js → location-8b3vzgkx.js} +1 -1
  104. package/dist/chunks/{file-retention-znt68fg9.js → location-8kf0wfca.js} +24 -24
  105. package/dist/chunks/{file-retention-8kjyvwy5.js → location-8kjyvwy5.js} +1 -1
  106. package/dist/chunks/{file-retention-667z2zx1.js → location-8p86a9v0.js} +38 -38
  107. package/dist/chunks/{file-retention-8sxe6kv8.js → location-8sxe6kv8.js} +2 -2
  108. package/dist/chunks/{file-retention-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  109. package/dist/chunks/{file-retention-kbgs7tyr.js → location-8xz27cp9.js} +4 -4
  110. package/dist/chunks/{file-retention-8zv0xmg5.js → location-8zv0xmg5.js} +1 -1
  111. package/dist/chunks/{file-retention-feyxv19c.js → location-93frtw2k.js} +20 -20
  112. package/dist/chunks/{file-retention-cxab28sr.js → location-93xmyh8q.js} +5 -5
  113. package/dist/chunks/{file-retention-963hk181.js → location-963hk181.js} +2 -2
  114. package/dist/chunks/{file-retention-a75rh4gh.js → location-9d40qpyk.js} +39 -39
  115. package/dist/chunks/{file-retention-jz0mx6tr.js → location-9ggk2xgz.js} +17 -17
  116. package/dist/chunks/{file-retention-vh41eekb.js → location-9n9dbwpr.js} +9 -9
  117. package/dist/chunks/{file-retention-d9fan7x9.js → location-9p5gsf2d.js} +8 -8
  118. package/dist/chunks/{file-retention-t48jrnqq.js → location-9rqfe4ad.js} +3 -3
  119. package/dist/chunks/{file-retention-4bwthz3m.js → location-9yqjp86x.js} +6 -6
  120. package/dist/chunks/{file-retention-rj7jtxy8.js → location-9zfcngb4.js} +3 -3
  121. package/dist/chunks/{file-retention-xnapnxbk.js → location-a0fjv017.js} +8 -8
  122. package/dist/chunks/{file-retention-p3vyqzsr.js → location-a1sevdk6.js} +8 -8
  123. package/dist/chunks/{file-retention-77yjsakq.js → location-a3zw6vh0.js} +5 -5
  124. package/dist/chunks/{file-retention-fgvpvm77.js → location-a4959few.js} +25 -25
  125. package/dist/chunks/location-a4h8tact.js +16 -0
  126. package/dist/chunks/{file-retention-wj07hs0y.js → location-a6n7v7y1.js} +7 -7
  127. package/dist/chunks/{file-retention-yxb8rzbt.js → location-a7svfngn.js} +9 -9
  128. package/dist/chunks/location-ae2enjxf.js +26 -0
  129. package/dist/chunks/{file-retention-ztpwyc0h.js → location-aegvhdtm.js} +15 -15
  130. package/dist/chunks/{file-retention-evzwwyk8.js → location-ap59q5ss.js} +30 -30
  131. package/dist/chunks/{file-retention-k4cv2hms.js → location-assq2g0s.js} +9 -9
  132. package/dist/chunks/{file-retention-whpxj07g.js → location-ayh7mq6p.js} +6 -6
  133. package/dist/chunks/{file-retention-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
  134. package/dist/chunks/{file-retention-bdv8sqrq.js → location-bdv8sqrq.js} +1 -1
  135. package/dist/chunks/{file-retention-jkdcm5hg.js → location-bhfd478d.js} +4 -4
  136. package/dist/chunks/{file-retention-4d7zxp2a.js → location-bs9waz9h.js} +13 -13
  137. package/dist/chunks/{file-retention-bstexjd6.js → location-bstexjd6.js} +1 -1
  138. package/dist/chunks/{file-retention-w18pj85q.js → location-bym0vczj.js} +28 -28
  139. package/dist/chunks/{file-retention-3j14174f.js → location-c0v3h0z2.js} +7 -7
  140. package/dist/chunks/{file-retention-z6g4szpb.js → location-c1sfsxsr.js} +8 -8
  141. package/dist/chunks/{file-retention-hhqkzs30.js → location-c3dkbdre.js} +8 -8
  142. package/dist/chunks/{file-retention-khj9x6xc.js → location-cawgzzmf.js} +1 -1
  143. package/dist/chunks/{file-retention-jj536981.js → location-ch6g8yyy.js} +8 -8
  144. package/dist/chunks/{file-retention-ab317q8b.js → location-crjbq1fj.js} +7 -7
  145. package/dist/chunks/{file-retention-ctmpqb7w.js → location-ctmpqb7w.js} +2 -2
  146. package/dist/chunks/{file-retention-cwrgdav8.js → location-cwrgdav8.js} +2 -2
  147. package/dist/chunks/{file-retention-kjsepkch.js → location-d2mtjhbp.js} +14 -14
  148. package/dist/chunks/{file-retention-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  149. package/dist/chunks/{file-retention-fh0fq9b5.js → location-d6my81aa.js} +8 -8
  150. package/dist/chunks/{file-retention-vcys6qhd.js → location-d6r73yeb.js} +14 -14
  151. package/dist/chunks/{file-retention-p4ejt6rk.js → location-d7417ht8.js} +6 -6
  152. package/dist/chunks/{file-retention-hm2477qa.js → location-d7ypzca6.js} +7 -7
  153. package/dist/chunks/{file-retention-dq4qq6ky.js → location-dd01c720.js} +8 -8
  154. package/dist/chunks/{file-retention-v5hpj9dd.js → location-ddvn7d3w.js} +8 -8
  155. package/dist/chunks/{file-retention-8pan14bd.js → location-dm9e5vs3.js} +11 -11
  156. package/dist/chunks/{file-retention-pcdy99rr.js → location-dr488njp.js} +15 -15
  157. package/dist/chunks/{file-retention-ejbss7k5.js → location-drxqj7ww.js} +3 -3
  158. package/dist/chunks/{file-retention-dt77769w.js → location-dt77769w.js} +1 -1
  159. package/dist/chunks/{file-retention-axztvgqb.js → location-e5djxydh.js} +25 -25
  160. package/dist/chunks/{file-retention-3qh97n76.js → location-e88hp8d3.js} +4 -4
  161. package/dist/chunks/{file-retention-fww0ckjz.js → location-eenxfrnv.js} +31 -31
  162. package/dist/chunks/{file-retention-68ffpfcm.js → location-eh6m4bvd.js} +9 -9
  163. package/dist/chunks/{file-retention-62gb4g00.js → location-engwtr2s.js} +13 -13
  164. package/dist/chunks/{file-retention-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{file-retention-4nrkag3r.js → location-evgcp8py.js} +38 -38
  166. package/dist/chunks/{file-retention-mk3p57ba.js → location-f2zjpyt5.js} +9 -9
  167. package/dist/chunks/{file-retention-8njq14s6.js → location-f7ya8ph1.js} +40 -40
  168. package/dist/chunks/{file-retention-xzrej5mb.js → location-fceqcsak.js} +9 -9
  169. package/dist/chunks/{file-retention-c63tvp3g.js → location-fcw2ts4y.js} +32 -32
  170. package/dist/chunks/{file-retention-zs3fp1wz.js → location-few3y8aw.js} +6 -6
  171. package/dist/chunks/{file-retention-vsk6pjy9.js → location-ffsx0dsw.js} +21 -21
  172. package/dist/chunks/{file-retention-prq7xxp2.js → location-fg9p65nk.js} +6 -6
  173. package/dist/chunks/{file-retention-mbhm97dq.js → location-fjwkbb1x.js} +5 -5
  174. package/dist/chunks/{file-retention-y1wz0kre.js → location-fmn2kqrj.js} +5 -5
  175. package/dist/chunks/{file-retention-bdwbwdha.js → location-fp40n1c2.js} +4 -4
  176. package/dist/chunks/{file-retention-vp6f3r4t.js → location-fttd7asn.js} +33 -33
  177. package/dist/chunks/{file-retention-b26ddj6h.js → location-g4txs7zc.js} +4 -4
  178. package/dist/chunks/{file-retention-ewcb59am.js → location-g59rmezr.js} +9 -9
  179. package/dist/chunks/{file-retention-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{file-retention-ghrv1g9c.js → location-ghrv1g9c.js} +1 -1
  181. package/dist/chunks/{file-retention-drd1heem.js → location-gndpbmdm.js} +19 -19
  182. package/dist/chunks/{file-retention-we5qfhj5.js → location-grqs93a2.js} +15 -15
  183. package/dist/chunks/{file-retention-v5wv1gmb.js → location-gvack1pm.js} +5 -5
  184. package/dist/chunks/{file-retention-gxs71cxp.js → location-gxs71cxp.js} +1 -1
  185. package/dist/chunks/{file-retention-amzpgvrk.js → location-h1kkz68v.js} +21 -21
  186. package/dist/chunks/{file-retention-4aq2cbca.js → location-h58va8dq.js} +4 -4
  187. package/dist/chunks/{file-retention-mywchkag.js → location-h7m3rpv6.js} +38 -38
  188. package/dist/chunks/{file-retention-06v46bpq.js → location-hfhs4mpm.js} +21 -21
  189. package/dist/chunks/{file-retention-f49b5jkw.js → location-hfxka2yv.js} +23 -23
  190. package/dist/chunks/{file-retention-hgzwgvze.js → location-hgzwgvze.js} +2 -2
  191. package/dist/chunks/{file-retention-7nb8tm12.js → location-hj0xet7m.js} +5 -5
  192. package/dist/chunks/{file-retention-j1xv4v49.js → location-hjc319se.js} +9 -9
  193. package/dist/chunks/{file-retention-dvq2ad43.js → location-hk0haw90.js} +15 -15
  194. package/dist/chunks/{file-retention-exvyxjzm.js → location-hmr7ep0m.js} +18 -18
  195. package/dist/chunks/{file-retention-7zwayxc3.js → location-hmrnkg9v.js} +9 -9
  196. package/dist/chunks/{file-retention-hretfjjx.js → location-hretfjjx.js} +2 -2
  197. package/dist/chunks/{file-retention-dv3b9r4y.js → location-hzv6fmc8.js} +14 -14
  198. package/dist/chunks/{file-retention-tr8x705m.js → location-j376ae4e.js} +5 -5
  199. package/dist/chunks/{file-retention-0ahs07zn.js → location-j3f8hyeg.js} +4 -4
  200. package/dist/chunks/{file-retention-heemzf90.js → location-j7km1s7q.js} +7 -7
  201. package/dist/chunks/{file-retention-3czc66q2.js → location-jagrrpc9.js} +11 -11
  202. package/dist/chunks/{file-retention-d5pat9xm.js → location-jawmze8e.js} +15 -15
  203. package/dist/chunks/{file-retention-mhd9r07a.js → location-jf4t0k0h.js} +15 -15
  204. package/dist/chunks/{file-retention-2p8k2s7w.js → location-jh6vjbd1.js} +8 -8
  205. package/dist/chunks/{file-retention-jm70asfg.js → location-jm70asfg.js} +1 -1
  206. package/dist/chunks/{file-retention-bqp6xy8k.js → location-jrkjq978.js} +34 -34
  207. package/dist/chunks/{file-retention-44pmzq9c.js → location-jxd6f16v.js} +2 -2
  208. package/dist/chunks/{file-retention-x26wqd07.js → location-jy2czfqv.js} +4 -4
  209. package/dist/chunks/{file-retention-yat07sy7.js → location-k0yyr421.js} +6 -6
  210. package/dist/chunks/{file-retention-vcg7bpvq.js → location-k2bv77w3.js} +12 -12
  211. package/dist/chunks/{file-retention-s9fd3xwq.js → location-k2d8whbt.js} +16 -16
  212. package/dist/chunks/{file-retention-wb0b7yq0.js → location-k3mzzpjn.js} +18 -18
  213. package/dist/chunks/{file-retention-1x3dkayz.js → location-k6657dbz.js} +34 -34
  214. package/dist/chunks/{file-retention-kd251xf9.js → location-kgwjc899.js} +334 -334
  215. package/dist/chunks/{file-retention-k46dd5bg.js → location-kj9n5bvh.js} +4 -4
  216. package/dist/chunks/{file-retention-7nqkf5r1.js → location-kmekj7m2.js} +4 -4
  217. package/dist/chunks/{file-retention-kbdxrbcm.js → location-kn564b0n.js} +36 -36
  218. package/dist/chunks/{file-retention-gc6rk9wr.js → location-knfecrdw.js} +6 -6
  219. package/dist/chunks/{file-retention-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  220. package/dist/chunks/{file-retention-kzczzf4v.js → location-kzczzf4v.js} +1 -1
  221. package/dist/chunks/{file-retention-m1714858.js → location-m1714858.js} +1 -1
  222. package/dist/chunks/{file-retention-09exjb9z.js → location-m1badbm2.js} +85 -85
  223. package/dist/chunks/{file-retention-3jchp7r6.js → location-m59x6rdx.js} +24 -24
  224. package/dist/chunks/{file-retention-04tv7frf.js → location-m5brqekz.js} +9 -9
  225. package/dist/chunks/{file-retention-m90tx7mw.js → location-m90tx7mw.js} +1 -1
  226. package/dist/chunks/{file-retention-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  227. package/dist/chunks/{file-retention-mb7mbhnz.js → location-mb7mbhnz.js} +3 -3
  228. package/dist/chunks/{file-retention-pbqaqhra.js → location-mgmg6hh5.js} +4 -4
  229. package/dist/chunks/{file-retention-s4dm6e30.js → location-mh0b6rbq.js} +29 -29
  230. package/dist/chunks/{file-retention-qjda8ra2.js → location-mnmhd1ma.js} +67 -67
  231. package/dist/chunks/{file-retention-ev31077d.js → location-msvehm7b.js} +18 -18
  232. package/dist/chunks/{file-retention-t12h4yen.js → location-mt0kppvp.js} +5 -5
  233. package/dist/chunks/{file-retention-22qctdeq.js → location-mvdp7tdv.js} +10 -10
  234. package/dist/chunks/{file-retention-fyfz6y7c.js → location-n2d0znsc.js} +46 -46
  235. package/dist/chunks/{file-retention-xvn8mnch.js → location-n320gsn2.js} +4 -4
  236. package/dist/chunks/{file-retention-5d3y61h0.js → location-n3eej7r5.js} +8 -8
  237. package/dist/chunks/{file-retention-9c7qz02m.js → location-nc6smvmj.js} +40 -40
  238. package/dist/chunks/{file-retention-5qd2gt0z.js → location-neqyr9wr.js} +4 -4
  239. package/dist/chunks/{file-retention-0d10ewvx.js → location-nfv00ekf.js} +4 -4
  240. package/dist/chunks/{file-retention-xdw1z05c.js → location-ngy14927.js} +9 -9
  241. package/dist/chunks/{file-retention-52je48kk.js → location-nk38p6jx.js} +5 -5
  242. package/dist/chunks/{file-retention-7qk7973a.js → location-npjdnad2.js} +21 -21
  243. package/dist/chunks/{file-retention-7ww0j6wb.js → location-nqyp38bs.js} +30 -30
  244. package/dist/chunks/{file-retention-jw36j8wc.js → location-nx6g645b.js} +13 -13
  245. package/dist/chunks/{file-retention-5nsh16xn.js → location-p39jfpm1.js} +4 -4
  246. package/dist/chunks/{file-retention-j4rt9t5q.js → location-p4xn5zar.js} +5 -5
  247. package/dist/chunks/{file-retention-j2f88nx3.js → location-p67xwpfb.js} +27 -27
  248. package/dist/chunks/{file-retention-0ja1snzm.js → location-pabkrdhw.js} +5 -5
  249. package/dist/chunks/{file-retention-5yzck44w.js → location-panr2g9g.js} +24 -24
  250. package/dist/chunks/{file-retention-by0d0avf.js → location-pcp8gfw4.js} +29 -29
  251. package/dist/chunks/{file-retention-94k3x7fw.js → location-pf45fqbf.js} +9 -9
  252. package/dist/chunks/{file-retention-znwh7a4t.js → location-pgpkdhbn.js} +48 -48
  253. package/dist/chunks/{file-retention-pknna89w.js → location-pknna89w.js} +1 -1
  254. package/dist/chunks/{file-retention-r700gx2d.js → location-pkxyv48r.js} +23 -23
  255. package/dist/chunks/{file-retention-y8hpy02j.js → location-pma5hsr6.js} +6 -6
  256. package/dist/chunks/{file-retention-n185pfet.js → location-ppf36a3j.js} +20 -20
  257. package/dist/chunks/{file-retention-gvxv930q.js → location-pr0613n6.js} +26 -26
  258. package/dist/chunks/{file-retention-qek3cncy.js → location-pvphxqmh.js} +3 -3
  259. package/dist/chunks/{file-retention-rj7j5fvs.js → location-px7qpgcn.js} +4 -4
  260. package/dist/chunks/{file-retention-qmak0sqy.js → location-pywehcnw.js} +5 -5
  261. package/dist/chunks/{file-retention-cfh4jfjc.js → location-q3nzwynw.js} +24 -24
  262. package/dist/chunks/{file-retention-eq4sfy6p.js → location-q61w7sw0.js} +9 -9
  263. package/dist/chunks/{file-retention-8fd4mn1c.js → location-qnaghnfk.js} +5 -5
  264. package/dist/chunks/{file-retention-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
  265. package/dist/chunks/{file-retention-6d420gkt.js → location-qq0yagk7.js} +2 -2
  266. package/dist/chunks/{file-retention-gpgwkesj.js → location-qqmca438.js} +9 -9
  267. package/dist/chunks/{file-retention-frmf8ahe.js → location-qre4deg6.js} +15 -15
  268. package/dist/chunks/{file-retention-y36pttez.js → location-qxjvndhw.js} +24 -24
  269. package/dist/chunks/{file-retention-pk5zk8y9.js → location-r7e81jc1.js} +12 -12
  270. package/dist/chunks/{file-retention-j0pb0h51.js → location-r9bv2xh7.js} +8 -8
  271. package/dist/chunks/{file-retention-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  272. package/dist/chunks/{file-retention-h0rg6s60.js → location-rbg54dp1.js} +4 -4
  273. package/dist/chunks/{file-retention-85b3prs0.js → location-rf8vhzcq.js} +39 -39
  274. package/dist/chunks/{file-retention-v7p9rwhb.js → location-rf944vn1.js} +7 -7
  275. package/dist/chunks/{file-retention-rgc9cx3e.js → location-rgc9cx3e.js} +2 -2
  276. package/dist/chunks/{file-retention-rkd48pdt.js → location-rkd48pdt.js} +3 -3
  277. package/dist/chunks/{file-retention-jnq57at3.js → location-rvfxd4w2.js} +14 -14
  278. package/dist/chunks/{file-retention-n6qtc6gw.js → location-s0mcv615.js} +8 -8
  279. package/dist/chunks/{file-retention-2p60zmnr.js → location-s1ba0vj0.js} +2 -2
  280. package/dist/chunks/{file-retention-5cjcvxnn.js → location-s4e73zdk.js} +26 -26
  281. package/dist/chunks/{file-retention-5xdgvpxd.js → location-s4kyhetj.js} +6 -6
  282. package/dist/chunks/{file-retention-sbya78hr.js → location-sbya78hr.js} +1 -1
  283. package/dist/chunks/{file-retention-zftx71qr.js → location-sh04rkyp.js} +15 -15
  284. package/dist/chunks/{file-retention-3ra5990g.js → location-smc3rm4b.js} +5 -5
  285. package/dist/chunks/{file-retention-svcy3p9a.js → location-svcy3p9a.js} +1 -1
  286. package/dist/chunks/{file-retention-52rc22q8.js → location-sxq67ep3.js} +11 -11
  287. package/dist/chunks/{file-retention-0rsmmchx.js → location-t5dr3wqv.js} +4 -4
  288. package/dist/chunks/{file-retention-kxkhg3zq.js → location-t5hqjg8s.js} +10 -10
  289. package/dist/chunks/{file-retention-7pts1ak4.js → location-t60f2ys1.js} +22 -22
  290. package/dist/chunks/{file-retention-tbpn7jtk.js → location-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{file-retention-td2m5beg.js → location-tbrwkzkg.js} +27 -27
  292. package/dist/chunks/{file-retention-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{file-retention-rgt3k6v8.js → location-tggz5a2q.js} +42 -42
  294. package/dist/chunks/{file-retention-560dfe2w.js → location-ths95evr.js} +16 -16
  295. package/dist/chunks/{file-retention-mxgx47vh.js → location-tvsprgdd.js} +3 -3
  296. package/dist/chunks/{file-retention-tvtps2q9.js → location-tvtps2q9.js} +1 -1
  297. package/dist/chunks/{file-retention-44pa0r3g.js → location-twd6600p.js} +10 -10
  298. package/dist/chunks/{file-retention-twssxy5n.js → location-twssxy5n.js} +2 -2
  299. package/dist/chunks/{file-retention-s7kyse9r.js → location-v0t96s7a.js} +4 -4
  300. package/dist/chunks/{file-retention-ssxfv6ww.js → location-v2fecc8h.js} +30 -30
  301. package/dist/chunks/{file-retention-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  302. package/dist/chunks/{file-retention-hvdaxvp6.js → location-v3sqaabv.js} +22 -22
  303. package/dist/chunks/{file-retention-qj0z1s3r.js → location-v6r9jgs6.js} +38 -38
  304. package/dist/chunks/{file-retention-3j87ya0s.js → location-v9svr75v.js} +51 -51
  305. package/dist/chunks/{file-retention-vjf35v1f.js → location-vjf35v1f.js} +1 -1
  306. package/dist/chunks/{file-retention-42f9g7sr.js → location-vqvhwm3j.js} +28 -28
  307. package/dist/chunks/{file-retention-89ebr2vf.js → location-vvf9bm55.js} +18 -18
  308. package/dist/chunks/{file-retention-wvr8xscb.js → location-vwcz1f45.js} +5 -5
  309. package/dist/chunks/{file-retention-cs73jd0s.js → location-w14fxw5f.js} +11 -11
  310. package/dist/chunks/{file-retention-rbxfq0qh.js → location-w1mpaq3n.js} +12 -12
  311. package/dist/chunks/{file-retention-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  312. package/dist/chunks/{file-retention-6jnjjsb4.js → location-w40n8x0j.js} +6 -6
  313. package/dist/chunks/{file-retention-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{file-retention-wd87259q.js → location-wd87259q.js} +1 -1
  315. package/dist/chunks/{file-retention-wegkxhrn.js → location-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{file-retention-pv5h712h.js → location-wgcpkes0.js} +10 -10
  317. package/dist/chunks/{file-retention-1yped5qa.js → location-wr3re1en.js} +4 -4
  318. package/dist/chunks/{file-retention-xb99jcsv.js → location-wxedqf16.js} +18 -18
  319. package/dist/chunks/{file-retention-69mw4eyz.js → location-x39990g7.js} +12 -12
  320. package/dist/chunks/{file-retention-nwrmc6eh.js → location-x5x79x1p.js} +13 -13
  321. package/dist/chunks/{file-retention-50dkjas4.js → location-x75ycvaq.js} +21 -21
  322. package/dist/chunks/{file-retention-n1zsgr9w.js → location-x7xtgrvg.js} +47 -47
  323. package/dist/chunks/{file-retention-xjbsd7zy.js → location-xjbsd7zy.js} +2 -2
  324. package/dist/chunks/{file-retention-r7szk8ev.js → location-xm8s2bgm.js} +12 -12
  325. package/dist/chunks/{file-retention-bhm679s9.js → location-xnzgrw5r.js} +16 -16
  326. package/dist/chunks/{file-retention-vnqd166h.js → location-xpxawzse.js} +2 -2
  327. package/dist/chunks/{file-retention-xxschbft.js → location-xxschbft.js} +1 -1
  328. package/dist/chunks/{file-retention-6pntshe6.js → location-xzkmwchz.js} +18 -18
  329. package/dist/chunks/{file-retention-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  330. package/dist/chunks/{file-retention-95m5nm6t.js → location-ybjrjk8q.js} +21 -21
  331. package/dist/chunks/{file-retention-1v2g13eq.js → location-ybws1qgk.js} +4 -4
  332. package/dist/chunks/{file-retention-yr705xyq.js → location-yr705xyq.js} +1 -1
  333. package/dist/chunks/{file-retention-pdfrrazy.js → location-yt5t6xpx.js} +6 -6
  334. package/dist/chunks/{file-retention-yvtc2x31.js → location-yvtc2x31.js} +1 -1
  335. package/dist/chunks/{file-retention-v21gy18w.js → location-yx4259q6.js} +10 -10
  336. package/dist/chunks/{file-retention-09xx3e9d.js → location-yxvbcdyy.js} +21 -21
  337. package/dist/chunks/{file-retention-h2wrp3yj.js → location-yzqhkq2n.js} +77 -77
  338. package/dist/chunks/{file-retention-z9aj34kn.js → location-yzrp4n77.js} +33 -33
  339. package/dist/chunks/{file-retention-z0wbgq7s.js → location-z0wbgq7s.js} +1 -1
  340. package/dist/chunks/{file-retention-fjfy99sp.js → location-z0wcdjqv.js} +16 -16
  341. package/dist/chunks/{file-retention-s3v49wnk.js → location-z5tjg4x2.js} +8 -8
  342. package/dist/chunks/location-z7bdqmx5.js +18 -0
  343. package/dist/chunks/{file-retention-vf2r618n.js → location-z8bfyw3m.js} +18 -18
  344. package/dist/chunks/{file-retention-ffhnscww.js → location-zdpmx191.js} +7 -7
  345. package/dist/chunks/{file-retention-8ek76eqy.js → location-zdy9rm1r.js} +18 -18
  346. package/dist/chunks/{file-retention-ze75qvmd.js → location-ze75qvmd.js} +3 -3
  347. package/dist/chunks/{file-retention-ea9gdnjh.js → location-zfgjw8jw.js} +22 -22
  348. package/dist/chunks/{file-retention-wk43x6sn.js → location-zjv8505p.js} +9 -9
  349. package/dist/chunks/{file-retention-aytg7816.js → location-zq4c9dxv.js} +4 -4
  350. package/dist/chunks/{file-retention-qzpac2v2.js → location-zt6s3j4t.js} +17 -17
  351. package/dist/chunks/{file-retention-x9rvnbpf.js → location-zy9ja1zy.js} +4 -4
  352. package/dist/codemode/catalog.js +1 -1
  353. package/dist/codemode/execution.js +5 -5
  354. package/dist/codemode/fetch.js +150 -150
  355. package/dist/codemode/instructions.js +10 -10
  356. package/dist/codemode/tool.js +157 -157
  357. package/dist/command.js +94 -94
  358. package/dist/config/discovery.js +95 -95
  359. package/dist/config/integration.js +3 -3
  360. package/dist/config/managed.js +1 -1
  361. package/dist/config/markdown.js +1 -1
  362. package/dist/config/normalize.js +113 -113
  363. package/dist/config/plugin/agent.js +132 -132
  364. package/dist/config/plugin/command.js +247 -247
  365. package/dist/config/plugin/compaction.js +175 -175
  366. package/dist/config/plugin/compatibility.js +155 -155
  367. package/dist/config/plugin/entry-observer.js +1 -1
  368. package/dist/config/plugin/formatter.js +130 -130
  369. package/dist/config/plugin/image.js +131 -131
  370. package/dist/config/plugin/instruction.js +132 -132
  371. package/dist/config/plugin/location-watcher.js +131 -131
  372. package/dist/config/plugin/mcp.js +146 -146
  373. package/dist/config/plugin/policy.js +131 -131
  374. package/dist/config/plugin/provider.js +131 -131
  375. package/dist/config/plugin/reference.js +133 -133
  376. package/dist/config/plugin/shell.js +131 -131
  377. package/dist/config/plugin/skill-file.js +151 -151
  378. package/dist/config/plugin/skill-scan.js +1 -1
  379. package/dist/config/plugin/skill.js +156 -156
  380. package/dist/config/plugin/snapshot.js +131 -131
  381. package/dist/config/plugin/source.js +129 -129
  382. package/dist/config/plugin/tool-output.js +132 -132
  383. package/dist/config/plugin/websearch.js +130 -130
  384. package/dist/config/plugin/worktree.js +133 -133
  385. package/dist/config/variable.js +1 -1
  386. package/dist/config/watch.js +1 -1
  387. package/dist/config.js +136 -136
  388. package/dist/console-access.js +1 -1
  389. package/dist/credential/sql.js +2 -2
  390. package/dist/credential.js +96 -96
  391. package/dist/database/batch.js +1 -1
  392. package/dist/database/database.js +77 -77
  393. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  394. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  395. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  396. package/dist/database/drizzle/index.js +15 -15
  397. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  400. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  406. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  407. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  408. package/dist/database/drizzle.js +16 -16
  409. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  410. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  411. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  412. package/dist/database/migration/20260225215848_workspace.js +1 -1
  413. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  414. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  415. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  416. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  417. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  418. package/dist/database/migration/20260323234822_events.js +1 -1
  419. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  420. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  421. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  422. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  423. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  424. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  425. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  426. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  427. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  428. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  429. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  430. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  431. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  432. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  433. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  434. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  435. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  436. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  437. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  438. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  439. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  440. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  441. package/dist/database/migration/20260611035744_credential.js +1 -1
  442. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  443. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  444. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  445. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  446. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  447. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  448. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  449. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  450. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  451. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  452. package/dist/database/migration/20260812213948_worktree.js +1 -1
  453. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  454. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  455. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  456. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  457. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  458. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  459. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  460. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  461. package/dist/database/migration/20261025123711_blob.js +1 -1
  462. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  463. package/dist/database/migration/20261026223005_schedule.js +1 -1
  464. package/dist/database/migration/20261029002625_session_part.js +1 -1
  465. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  466. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  467. package/dist/database/migration/20261030054400_job.js +1 -1
  468. package/dist/database/migration.gen.js +60 -60
  469. package/dist/database/migration.js +76 -76
  470. package/dist/database/path.js +2 -2
  471. package/dist/database/schema.gen.js +1 -1
  472. package/dist/database/schema.sql.js +1 -1
  473. package/dist/database/v1-migration.bun.js +98 -98
  474. package/dist/effect/app-node-builder.js +450 -450
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +3 -3
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +109 -109
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +162 -162
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +166 -166
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +2 -2
  498. package/dist/filesystem/location-watcher.js +254 -254
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +111 -111
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +134 -134
  505. package/dist/form.js +93 -93
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +117 -117
  509. package/dist/git.js +7 -7
  510. package/dist/github-copilot/models.js +113 -113
  511. package/dist/image/notice.js +1 -1
  512. package/dist/image/photon-normalize.js +1 -1
  513. package/dist/image/photon-worker.js +1 -1
  514. package/dist/image/photon.js +4 -4
  515. package/dist/image.js +6 -6
  516. package/dist/instance/service.js +5 -5
  517. package/dist/instance.js +441 -441
  518. package/dist/instruction-discovery.js +98 -98
  519. package/dist/instructions/builtins.js +101 -101
  520. package/dist/instructions/index.js +6 -6
  521. package/dist/integration/connection.js +3 -3
  522. package/dist/integration.js +98 -98
  523. package/dist/job/list.js +5 -5
  524. package/dist/job/recovery.js +2 -2
  525. package/dist/job/sql.js +2 -2
  526. package/dist/job.js +90 -90
  527. package/dist/kv/sql.js +2 -2
  528. package/dist/kv.js +84 -84
  529. package/dist/location-activity.js +185 -185
  530. package/dist/location-lifecycle.js +155 -155
  531. package/dist/location-service-map.js +99 -99
  532. package/dist/location-services.js +438 -438
  533. package/dist/location.js +100 -100
  534. package/dist/managed-policy.js +3 -3
  535. package/dist/mcp/client.js +161 -161
  536. package/dist/mcp/connection.js +104 -104
  537. package/dist/mcp/event-errors.js +1 -1
  538. package/dist/mcp/index.js +147 -147
  539. package/dist/mcp/instructions.js +186 -186
  540. package/dist/mcp/oauth.js +90 -90
  541. package/dist/mcp/pool.js +106 -106
  542. package/dist/mcp/socket-client.js +1 -1
  543. package/dist/mcp/stdio.js +161 -161
  544. package/dist/mime.js +1 -1
  545. package/dist/modal/models.js +113 -113
  546. package/dist/model-resolver.js +113 -113
  547. package/dist/model-retry.js +1 -1
  548. package/dist/model.js +114 -114
  549. package/dist/models-dev/v1.js +1 -1
  550. package/dist/models-dev.js +122 -122
  551. package/dist/oauth/page.js +1 -1
  552. package/dist/oauth/redirect.js +1 -1
  553. package/dist/permission/saved.js +93 -93
  554. package/dist/permission/sql.js +5 -5
  555. package/dist/permission.js +156 -156
  556. package/dist/persistent-pty/binary.bun.js +1 -1
  557. package/dist/persistent-pty/daemon.js +1 -1
  558. package/dist/persistent-pty/index.js +97 -97
  559. package/dist/persistent-pty/pty-binding.js +1 -1
  560. package/dist/persistent-pty.js +86 -86
  561. package/dist/plugin/agent.js +85 -85
  562. package/dist/plugin/command.js +146 -146
  563. package/dist/plugin/fork-notice.js +3 -3
  564. package/dist/plugin/goal.js +3 -3
  565. package/dist/plugin/hooks.js +5 -5
  566. package/dist/plugin/host.js +251 -251
  567. package/dist/plugin/identity.js +5 -5
  568. package/dist/plugin/instance.js +5 -5
  569. package/dist/plugin/internal.js +418 -418
  570. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  571. package/dist/plugin/models-dev.js +111 -111
  572. package/dist/plugin/module.js +128 -128
  573. package/dist/plugin/optimize.js +2 -2
  574. package/dist/plugin/plan.js +151 -151
  575. package/dist/plugin/promise.js +1 -1
  576. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  577. package/dist/plugin/provider/azure.js +132 -132
  578. package/dist/plugin/provider/cerebras.js +1 -1
  579. package/dist/plugin/provider/chatgpt.js +135 -135
  580. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  581. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  586. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  588. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  589. package/dist/plugin/provider/claude-agent/index.js +149 -149
  590. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  591. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  594. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  595. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  599. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  600. package/dist/plugin/provider/claude-agent/session.js +113 -113
  601. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  602. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  605. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  611. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  612. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  613. package/dist/plugin/provider/configured.js +127 -127
  614. package/dist/plugin/provider/credential-settings.js +88 -88
  615. package/dist/plugin/provider/databricks.js +1 -1
  616. package/dist/plugin/provider/digitalocean.js +110 -110
  617. package/dist/plugin/provider/dynamic.js +2 -2
  618. package/dist/plugin/provider/github-copilot.js +112 -112
  619. package/dist/plugin/provider/gitlab.js +111 -111
  620. package/dist/plugin/provider/google-vertex.js +128 -128
  621. package/dist/plugin/provider/kilo.js +1 -1
  622. package/dist/plugin/provider/llmgateway.js +89 -89
  623. package/dist/plugin/provider/lmstudio.js +144 -144
  624. package/dist/plugin/provider/local.js +141 -141
  625. package/dist/plugin/provider/modal.js +109 -109
  626. package/dist/plugin/provider/neon.js +1 -1
  627. package/dist/plugin/provider/nvidia.js +1 -1
  628. package/dist/plugin/provider/ollama.js +144 -144
  629. package/dist/plugin/provider/openai-context-caps.js +107 -107
  630. package/dist/plugin/provider/openai.js +135 -135
  631. package/dist/plugin/provider/opencode-watches.js +4 -4
  632. package/dist/plugin/provider/opencode.js +163 -163
  633. package/dist/plugin/provider/openrouter.js +105 -105
  634. package/dist/plugin/provider/poe.js +91 -91
  635. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  636. package/dist/plugin/provider/refresh.js +87 -87
  637. package/dist/plugin/provider/sap-ai-core.js +105 -105
  638. package/dist/plugin/provider/sdk-factory.js +1 -1
  639. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  640. package/dist/plugin/provider/vllm.js +144 -144
  641. package/dist/plugin/provider/xai.js +105 -105
  642. package/dist/plugin/provider/zenmux.js +1 -1
  643. package/dist/plugin/provider.js +242 -242
  644. package/dist/plugin/sdk.js +87 -87
  645. package/dist/plugin/service.js +3 -3
  646. package/dist/plugin/skill.js +152 -152
  647. package/dist/plugin/source-directory.js +1 -1
  648. package/dist/plugin/supervisor.js +426 -426
  649. package/dist/plugin/tool-input-repair.js +4 -4
  650. package/dist/plugin/update.js +6 -6
  651. package/dist/plugin/vcs/git.js +99 -99
  652. package/dist/plugin/vcs/hg.js +99 -99
  653. package/dist/plugin/verbosity.js +107 -107
  654. package/dist/plugin/warming.js +131 -131
  655. package/dist/plugin/websearch/exa.js +8 -8
  656. package/dist/plugin/websearch/firecrawl.js +9 -9
  657. package/dist/plugin/websearch/index.js +10 -10
  658. package/dist/plugin/websearch/mcp.js +2 -2
  659. package/dist/plugin/websearch/parallel.js +9 -9
  660. package/dist/plugin/websearch/provider.js +1 -1
  661. package/dist/plugin/websearch/tavily.js +7 -7
  662. package/dist/plugin/websearch/tinyfish.js +9 -9
  663. package/dist/plugin.js +258 -258
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +2 -2
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +93 -93
  668. package/dist/provider.js +113 -113
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +111 -111
  672. package/dist/reference/instructions.js +100 -100
  673. package/dist/reference.js +101 -101
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +109 -109
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +256 -256
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +266 -266
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +133 -133
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +171 -171
  688. package/dist/session/context.js +208 -208
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +270 -270
  694. package/dist/session/execution/subagent-report.js +147 -147
  695. package/dist/session/execution.js +176 -176
  696. package/dist/session/generate.js +208 -208
  697. package/dist/session/history.js +141 -141
  698. package/dist/session/inbox.js +154 -154
  699. package/dist/session/info.js +3 -3
  700. package/dist/session/instruction-entry.js +91 -91
  701. package/dist/session/instruction-state.js +9 -9
  702. package/dist/session/instructions.js +142 -142
  703. package/dist/session/message-updater.js +2 -2
  704. package/dist/session/message.js +1 -1
  705. package/dist/session/model-request.js +171 -171
  706. package/dist/session/model-transport.js +7 -7
  707. package/dist/session/move.js +176 -176
  708. package/dist/session/projector.js +148 -148
  709. package/dist/session/prompt.js +153 -153
  710. package/dist/session/recent-text.js +1 -1
  711. package/dist/session/revert.js +144 -144
  712. package/dist/session/run-coordinator.js +1 -1
  713. package/dist/session/runner/index.js +3 -3
  714. package/dist/session/runner/llm.js +261 -261
  715. package/dist/session/runner/max-steps.js +1 -1
  716. package/dist/session/runner/model.js +115 -115
  717. package/dist/session/runner/publish-llm-event.js +155 -155
  718. package/dist/session/runner/retry.js +3 -3
  719. package/dist/session/runner/step.js +166 -166
  720. package/dist/session/runner/to-llm-message.js +142 -142
  721. package/dist/session/schema.js +1 -1
  722. package/dist/session/session.js +196 -196
  723. package/dist/session/shell.js +149 -149
  724. package/dist/session/skill.js +152 -152
  725. package/dist/session/sql.js +5 -5
  726. package/dist/session/stats.js +85 -85
  727. package/dist/session/store.js +145 -145
  728. package/dist/session/stored.js +4 -4
  729. package/dist/session/subagent-completion.js +1 -1
  730. package/dist/session/subagent-job.js +169 -169
  731. package/dist/session/system-prompt.js +3 -3
  732. package/dist/session/title.js +206 -206
  733. package/dist/session/to-session-error.js +154 -154
  734. package/dist/session/transfer.js +252 -252
  735. package/dist/session/usage.js +1 -1
  736. package/dist/session.js +249 -249
  737. package/dist/shared-cache.js +5 -5
  738. package/dist/shell/parse.js +6 -6
  739. package/dist/shell/result.js +1 -1
  740. package/dist/shell/scan.js +1 -1
  741. package/dist/shell/select.js +13 -13
  742. package/dist/shell.js +149 -149
  743. package/dist/skill/discovery.js +2 -2
  744. package/dist/skill/instructions.js +156 -156
  745. package/dist/skill.js +161 -161
  746. package/dist/snapshot.js +104 -104
  747. package/dist/state.js +1 -1
  748. package/dist/tool/html-markdown.js +1 -1
  749. package/dist/tool/http-body.js +1 -1
  750. package/dist/tool/mcp.js +187 -187
  751. package/dist/tool/plugin/artifact.js +244 -244
  752. package/dist/tool/plugin/edit.js +172 -172
  753. package/dist/tool/plugin/file-diff.js +1 -1
  754. package/dist/tool/plugin/glob.js +174 -174
  755. package/dist/tool/plugin/grep.js +169 -169
  756. package/dist/tool/plugin/image-generate.js +257 -257
  757. package/dist/tool/plugin/mcp-events.js +168 -168
  758. package/dist/tool/plugin/mcp-resource.js +172 -172
  759. package/dist/tool/plugin/opencode.js +168 -168
  760. package/dist/tool/plugin/patch.js +171 -171
  761. package/dist/tool/plugin/question.js +149 -149
  762. package/dist/tool/plugin/read.js +175 -175
  763. package/dist/tool/plugin/schedule.js +262 -262
  764. package/dist/tool/plugin/shell.js +251 -251
  765. package/dist/tool/plugin/skill.js +160 -160
  766. package/dist/tool/plugin/subagent.js +253 -253
  767. package/dist/tool/plugin/todo.js +158 -158
  768. package/dist/tool/plugin/webfetch.js +160 -160
  769. package/dist/tool/plugin/websearch.js +158 -158
  770. package/dist/tool/plugin/write.js +169 -169
  771. package/dist/tool/read-filesystem.js +116 -116
  772. package/dist/tool/runtime.js +1 -1
  773. package/dist/tool/search.js +109 -109
  774. package/dist/tool-output.js +7 -7
  775. package/dist/tool.js +165 -165
  776. package/dist/usage-limits.js +100 -100
  777. package/dist/util/canonical-json.js +1 -1
  778. package/dist/util/error-summary.js +1 -1
  779. package/dist/util/git-executable.js +3 -3
  780. package/dist/util/lazy.js +1 -1
  781. package/dist/util/slug.js +1 -1
  782. package/dist/util/token.js +1 -1
  783. package/dist/util/which.js +1 -1
  784. package/dist/util/wildcard.js +1 -1
  785. package/dist/v1/config/agent.js +5 -5
  786. package/dist/v1/config/command.js +3 -3
  787. package/dist/v1/config/mcp.js +4 -4
  788. package/dist/v1/config/migrate.js +106 -106
  789. package/dist/v1/config/permission.js +3 -3
  790. package/dist/v1/config/plugin.js +3 -3
  791. package/dist/v1/config/provider-options.js +1 -1
  792. package/dist/v1/config/provider.js +4 -4
  793. package/dist/variant.js +105 -105
  794. package/dist/vcs/patch.js +1 -1
  795. package/dist/vcs.js +102 -102
  796. package/dist/voice.js +91 -91
  797. package/dist/websearch.js +91 -91
  798. package/dist/wellknown/plugin.js +87 -87
  799. package/dist/wellknown.js +86 -86
  800. package/dist/workspace/driver.js +5 -5
  801. package/dist/workspace/sql.js +1 -1
  802. package/dist/workspace.js +93 -93
  803. package/dist/worktree/directory.js +2 -2
  804. package/dist/worktree/git.js +11 -11
  805. package/dist/worktree/sql.js +5 -5
  806. package/dist/worktree/strategies.js +102 -102
  807. package/dist/worktree.js +113 -113
  808. package/package.json +8 -8
  809. package/dist/chunks/file-retention-2dkjcnxp.js +0 -18
  810. package/dist/chunks/file-retention-2ev4mpw4.js +0 -26
  811. package/dist/chunks/file-retention-86kd7kzh.js +0 -16
  812. package/dist/chunks/file-retention-e4vg19md.js +0 -273
  813. /package/dist/chunks/{file-retention-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  814. /package/dist/chunks/{file-retention-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  815. /package/dist/chunks/{file-retention-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  816. /package/dist/chunks/{file-retention-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  817. /package/dist/chunks/{file-retention-1kah00gy.js → location-1kah00gy.js} +0 -0
  818. /package/dist/chunks/{file-retention-24dcb14g.js → location-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{file-retention-2710q6r3.js → location-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{file-retention-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  821. /package/dist/chunks/{file-retention-359p4xyc.js → location-359p4xyc.js} +0 -0
  822. /package/dist/chunks/{file-retention-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  823. /package/dist/chunks/{file-retention-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  824. /package/dist/chunks/{file-retention-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  825. /package/dist/chunks/{file-retention-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
  826. /package/dist/chunks/{file-retention-53557ph1.js → location-53557ph1.js} +0 -0
  827. /package/dist/chunks/{file-retention-5w3e23ze.js → location-5w3e23ze.js} +0 -0
  828. /package/dist/chunks/{file-retention-6agm2x70.js → location-6agm2x70.js} +0 -0
  829. /package/dist/chunks/{file-retention-6prwharc.js → location-6prwharc.js} +0 -0
  830. /package/dist/chunks/{file-retention-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  831. /package/dist/chunks/{file-retention-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  832. /package/dist/chunks/{file-retention-7m9af43g.js → location-7m9af43g.js} +0 -0
  833. /package/dist/chunks/{file-retention-7rvsyqjv.js → location-7rvsyqjv.js} +0 -0
  834. /package/dist/chunks/{file-retention-822emrt2.js → location-822emrt2.js} +0 -0
  835. /package/dist/chunks/{file-retention-84wd9syh.js → location-84wd9syh.js} +0 -0
  836. /package/dist/chunks/{file-retention-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  837. /package/dist/chunks/{file-retention-8n3pysct.js → location-8n3pysct.js} +0 -0
  838. /package/dist/chunks/{file-retention-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  839. /package/dist/chunks/{file-retention-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  840. /package/dist/chunks/{file-retention-9ceax7yg.js → location-9ceax7yg.js} +0 -0
  841. /package/dist/chunks/{file-retention-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  842. /package/dist/chunks/{file-retention-ade8csyh.js → location-ade8csyh.js} +0 -0
  843. /package/dist/chunks/{file-retention-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  844. /package/dist/chunks/{file-retention-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  845. /package/dist/chunks/{file-retention-beh6qq61.js → location-beh6qq61.js} +0 -0
  846. /package/dist/chunks/{file-retention-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  847. /package/dist/chunks/{file-retention-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  848. /package/dist/chunks/{file-retention-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  849. /package/dist/chunks/{file-retention-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  850. /package/dist/chunks/{file-retention-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  851. /package/dist/chunks/{file-retention-d9fn303g.js → location-d9fn303g.js} +0 -0
  852. /package/dist/chunks/{file-retention-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  853. /package/dist/chunks/{file-retention-df08tz66.js → location-df08tz66.js} +0 -0
  854. /package/dist/chunks/{file-retention-dy18nga0.js → location-dy18nga0.js} +0 -0
  855. /package/dist/chunks/{file-retention-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  856. /package/dist/chunks/{file-retention-ean2d8b5.js → location-ean2d8b5.js} +0 -0
  857. /package/dist/chunks/{file-retention-ec1grn59.js → location-ec1grn59.js} +0 -0
  858. /package/dist/chunks/{file-retention-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  859. /package/dist/chunks/{file-retention-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  860. /package/dist/chunks/{file-retention-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  861. /package/dist/chunks/{file-retention-faypxj3z.js → location-faypxj3z.js} +0 -0
  862. /package/dist/chunks/{file-retention-fd410y7t.js → location-fd410y7t.js} +0 -0
  863. /package/dist/chunks/{file-retention-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
  864. /package/dist/chunks/{file-retention-g86h250q.js → location-g86h250q.js} +0 -0
  865. /package/dist/chunks/{file-retention-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  866. /package/dist/chunks/{file-retention-gftt206x.js → location-gftt206x.js} +0 -0
  867. /package/dist/chunks/{file-retention-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  868. /package/dist/chunks/{file-retention-hk9envan.js → location-hk9envan.js} +0 -0
  869. /package/dist/chunks/{file-retention-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  870. /package/dist/chunks/{file-retention-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  871. /package/dist/chunks/{file-retention-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  872. /package/dist/chunks/{file-retention-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  873. /package/dist/chunks/{file-retention-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  874. /package/dist/chunks/{file-retention-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  875. /package/dist/chunks/{file-retention-m18g726c.js → location-m18g726c.js} +0 -0
  876. /package/dist/chunks/{file-retention-mp448xyj.js → location-mp448xyj.js} +0 -0
  877. /package/dist/chunks/{file-retention-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  878. /package/dist/chunks/{file-retention-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  879. /package/dist/chunks/{file-retention-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  880. /package/dist/chunks/{file-retention-nh4v3znn.js → location-nh4v3znn.js} +0 -0
  881. /package/dist/chunks/{file-retention-njntx4h6.js → location-njntx4h6.js} +0 -0
  882. /package/dist/chunks/{file-retention-nv2c5e9q.js → location-nv2c5e9q.js} +0 -0
  883. /package/dist/chunks/{file-retention-p71gwv9c.js → location-p71gwv9c.js} +0 -0
  884. /package/dist/chunks/{file-retention-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  885. /package/dist/chunks/{file-retention-q74kybfr.js → location-q74kybfr.js} +0 -0
  886. /package/dist/chunks/{file-retention-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  887. /package/dist/chunks/{file-retention-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  888. /package/dist/chunks/{file-retention-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  889. /package/dist/chunks/{file-retention-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  890. /package/dist/chunks/{file-retention-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  891. /package/dist/chunks/{file-retention-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  892. /package/dist/chunks/{file-retention-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  893. /package/dist/chunks/{file-retention-syrav9an.js → location-syrav9an.js} +0 -0
  894. /package/dist/chunks/{file-retention-t03h4f5z.js → location-t03h4f5z.js} +0 -0
  895. /package/dist/chunks/{file-retention-ty7weeps.js → location-ty7weeps.js} +0 -0
  896. /package/dist/chunks/{file-retention-v2dnd5dt.js → location-v2dnd5dt.js} +0 -0
  897. /package/dist/chunks/{file-retention-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  898. /package/dist/chunks/{file-retention-vtarvj67.js → location-vtarvj67.js} +0 -0
  899. /package/dist/chunks/{file-retention-w803qqfp.js → location-w803qqfp.js} +0 -0
  900. /package/dist/chunks/{file-retention-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  901. /package/dist/chunks/{file-retention-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  902. /package/dist/chunks/{file-retention-wtztk69x.js → location-wtztk69x.js} +0 -0
  903. /package/dist/chunks/{file-retention-x4th4bpe.js → location-x4th4bpe.js} +0 -0
  904. /package/dist/chunks/{file-retention-y44na4kk.js → location-y44na4kk.js} +0 -0
  905. /package/dist/chunks/{file-retention-y8f7s663.js → location-y8f7s663.js} +0 -0
  906. /package/dist/chunks/{file-retention-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  907. /package/dist/chunks/{file-retention-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  908. /package/dist/chunks/{file-retention-z9919s4g.js → location-z9919s4g.js} +0 -0
  909. /package/dist/chunks/{file-retention-zxpyjp51.js → location-zxpyjp51.js} +0 -0
  910. /package/dist/chunks/{file-retention-zz5vv3aq.js → location-zz5vv3aq.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./file-retention-svcy3p9a.js";
3
+ } from "./location-svcy3p9a.js";
4
4
  import {
5
5
  makeFiles2
6
- } from "./file-retention-rgc9cx3e.js";
6
+ } from "./location-rgc9cx3e.js";
7
7
  import {
8
8
  Service94,
9
9
  node96
10
- } from "./file-retention-5qd2gt0z.js";
10
+ } from "./location-neqyr9wr.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./file-retention-s47rahr7.js";
13
+ } from "./location-2ytp0tvq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node91
18
- } from "./file-retention-gc6rk9wr.js";
17
+ node71
18
+ } from "./location-knfecrdw.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./file-retention-faypxj3z.js";
21
+ } from "./location-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID20,
31
- Info: () => Info30,
30
+ ID: () => ID11,
31
+ Info: () => Info15,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service89,
33
+ Service: () => Service69,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured10,
36
- node: () => node90
35
+ configured: () => configured8,
36
+ node: () => node70
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID20 = Workspace.ID;
44
+ var ID11 = Workspace.ID;
45
45
 
46
- class Info30 extends Schema.Class("Workspace.Info")({
47
- id: ID20,
46
+ class Info15 extends Schema.Class("Workspace.Info")({
47
+ id: ID11,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID20 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID20,
59
+ workspaceID: ID11,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service89 extends Context.Service()("@opencode/Workspace") {
65
+ class Service69 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured10 = (options = {}) => makeGlobalNode({
68
- service: Service89,
67
+ var configured8 = (options = {}) => makeGlobalNode({
68
+ service: Service69,
69
69
  layer: layer(options),
70
- deps: [node96, node91]
70
+ deps: [node96, node71]
71
71
  });
72
- var layer = (options) => Layer.effect(Service89, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
73
73
  const db = (yield* Service94).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service89, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info30({
89
+ const info = (row, binding) => new Info15({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service89, Effect.gen(function* () {
161
161
  yield* Scope.close(connection.scope, Exit.void);
162
162
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
163
163
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
164
- return Service89.of({
164
+ return Service69.of({
165
165
  create: Effect.fn("Workspace.create")(function* (input) {
166
- const workspaceID = input.id ?? ID20.create();
166
+ const workspaceID = input.id ?? ID11.create();
167
167
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
168
168
  if (existing) {
169
169
  if (existing.provider === input.provider)
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service89, Effect.gen(function* () {
239
239
  })
240
240
  });
241
241
  }));
242
- var node90 = configured10();
242
+ var node70 = configured8();
243
243
 
244
- export { ID20, Info30, NotFound2, CreateConflict2, Service89, configured10, node90, exports_workspace };
244
+ export { ID11, Info15, NotFound2, CreateConflict2, Service69, configured8, node70, exports_workspace };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./file-retention-aytg7816.js";
4
+ } from "./location-zq4c9dxv.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./file-retention-40y6dtc2.js";
8
+ } from "./location-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./file-retention-9rqn6x4v.js";
11
+ } from "./location-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
14
  var exports_agent3 = {};
15
15
  __export(exports_agent3, {
16
16
  Agent: () => exports_agent3,
17
17
  Color: () => Color2,
18
- Event: () => Event13,
19
- ID: () => ID13,
20
- Info: () => Info16,
18
+ Event: () => Event14,
19
+ ID: () => ID14,
20
+ Info: () => Info17,
21
21
  Name: () => Name3,
22
22
  Service: () => Service76,
23
23
  defaultID: () => defaultID2,
24
- node: () => node77
24
+ node: () => node78
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
- import { Event as Event13 } from "@opencode/schema/agent";
30
- var ID13 = Agent.ID;
29
+ import { Event as Event14 } from "@opencode/schema/agent";
30
+ var ID14 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID13.make("build");
32
+ var defaultID2 = ID14.make("build");
33
33
  var Color2 = Agent.Color;
34
- var Info16 = Agent.Info;
34
+ var Info17 = Agent.Info;
35
35
 
36
36
  class Service76 extends Context.Service()("@opencode/Agent") {
37
37
  }
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
68
68
  editor.default = id;
69
69
  },
70
70
  update: (id, fn) => {
71
- const current = editor.agents.get(id) ?? Info16.default(id);
71
+ const current = editor.agents.get(id) ?? Info17.default(id);
72
72
  if (!editor.agents.has(id))
73
73
  editor.agents.set(id, current);
74
74
  fn(current);
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID13.make(id));
91
+ return state.get().agents.get(ID14.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node77 = makeLocationNode({ service: Service76, layer, deps: [node95] });
105
+ var node78 = makeLocationNode({ service: Service76, layer, deps: [node95] });
106
106
 
107
- export { ID13, Name3, defaultID2, Color2, Info16, Service76, node77, exports_agent3, Event13 };
107
+ export { ID14, Name3, defaultID2, Color2, Info17, Service76, node78, exports_agent3, Event14 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./file-retention-7rvsyqjv.js";
3
+ } from "./location-7rvsyqjv.js";
4
4
  import {
5
5
  Ref3,
6
- Service80
7
- } from "./file-retention-z9aj34kn.js";
6
+ Service83
7
+ } from "./location-yzrp4n77.js";
8
8
  import {
9
- Service78
10
- } from "./file-retention-n1zsgr9w.js";
9
+ Service80
10
+ } from "./location-x7xtgrvg.js";
11
11
  import {
12
12
  observe2
13
- } from "./file-retention-tvtps2q9.js";
13
+ } from "./location-tvtps2q9.js";
14
14
  import {
15
- Service71
16
- } from "./file-retention-n185pfet.js";
15
+ Service68
16
+ } from "./location-ppf36a3j.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./file-retention-gftt206x.js";
19
+ } from "./location-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service72
23
- } from "./file-retention-4nrkag3r.js";
22
+ Service73
23
+ } from "./location-evgcp8py.js";
24
24
  import {
25
- Service69
26
- } from "./file-retention-g7av7xrx.js";
25
+ Service67
26
+ } from "./location-10gda4y3.js";
27
27
  import {
28
- Service17
29
- } from "./file-retention-7pts1ak4.js";
28
+ Service16
29
+ } from "./location-t60f2ys1.js";
30
30
  import {
31
31
  text2
32
- } from "./file-retention-8b3vzgkx.js";
32
+ } from "./location-8b3vzgkx.js";
33
33
  import {
34
- Service59
35
- } from "./file-retention-d5pat9xm.js";
34
+ Service61
35
+ } from "./location-jawmze8e.js";
36
36
  import {
37
37
  detect2
38
- } from "./file-retention-4pyp9zr9.js";
38
+ } from "./location-4pyp9zr9.js";
39
39
  import {
40
- Service23
41
- } from "./file-retention-09exjb9z.js";
40
+ Service24
41
+ } from "./location-m1badbm2.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./file-retention-3v8g72cx.js";
44
+ } from "./location-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./file-retention-9rqn6x4v.js";
47
+ } from "./location-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input14,
53
+ Input: () => Input2,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output10,
56
- Plugin: () => Plugin55,
55
+ Output: () => Output2,
56
+ Plugin: () => Plugin39,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description7,
59
- name: () => name14
58
+ description: () => description3,
59
+ name: () => name2
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name14 = "experimental_image_generate";
67
+ var name2 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description7 = [
78
+ var description3 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "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.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description7 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input14 = Schema.Struct({
87
+ var Input2 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  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."
90
90
  }),
@@ -98,25 +98,25 @@ var Input14 = Schema.Struct({
98
98
  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."
99
99
  })
100
100
  });
101
- var Output10 = Schema.Struct({
101
+ var Output2 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin55 = {
106
+ var Plugin39 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service69;
110
- const environment = yield* Service71;
111
- const generate = yield* Service17;
109
+ const access = yield* Service67;
110
+ const environment = yield* Service68;
111
+ const generate = yield* Service16;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
- const config = yield* Service78;
115
- const jobs = yield* Service59;
114
+ const config = yield* Service80;
115
+ const jobs = yield* Service61;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service23;
118
- const models = yield* Service80;
119
- const permission = yield* Service72;
117
+ const sessions = yield* Service24;
118
+ const models = yield* Service83;
119
+ const permission = yield* Service73;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -201,7 +201,7 @@ var Plugin55 = {
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name14, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name2, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin55 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name14,
223
+ name: name2,
224
224
  options: { codemode: false },
225
- description: description7,
226
- input: Input14,
227
- output: Output10,
225
+ description: description3,
226
+ input: Input2,
227
+ output: Output2,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin55 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  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)}`);
235
235
  yield* permission.assert({
236
- action: name14,
236
+ action: name2,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name14,
290
+ type: name2,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name14, MAX_INPUT_BYTES2, description7, Input14, Output10, Plugin55, defaultModel2, exports_image_generate };
329
+ export { name2, MAX_INPUT_BYTES2, description3, Input2, Output2, Plugin39, defaultModel2, exports_image_generate };
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service59,
3
- node60
4
- } from "./file-retention-d5pat9xm.js";
2
+ Service61,
3
+ node62
4
+ } from "./location-jawmze8e.js";
5
5
  import {
6
- Service39,
7
- node42
8
- } from "./file-retention-rgt3k6v8.js";
6
+ Service55,
7
+ node57
8
+ } from "./location-tggz5a2q.js";
9
9
  import {
10
10
  __export
11
- } from "./file-retention-9rqn6x4v.js";
11
+ } from "./location-9rqn6x4v.js";
12
12
 
13
13
  // src/session/subagent-job.ts
14
14
  var exports_subagent_job = {};
15
15
  __export(exports_subagent_job, {
16
16
  Service: () => Service12,
17
17
  SubagentJob: () => exports_subagent_job,
18
- layer: () => layer8,
18
+ layer: () => layer9,
19
19
  node: () => node14,
20
20
  start: () => start4
21
21
  });
@@ -37,18 +37,18 @@ function start4(jobs, execution, recovery, notificationID) {
37
37
  });
38
38
  }
39
39
  var make = Effect.gen(function* () {
40
- const execution = yield* Service39;
41
- const jobs = yield* Service59;
40
+ const execution = yield* Service55;
41
+ const jobs = yield* Service61;
42
42
  const context = yield* Effect.context();
43
43
  return Service12.of({
44
44
  start: (recovery) => start4(jobs, execution, recovery).pipe(Effect.setContext(context))
45
45
  });
46
46
  });
47
- var layer8 = Layer.effect(Service12, make);
47
+ var layer9 = Layer.effect(Service12, make);
48
48
  var node14 = Node.makeGlobalNode({
49
49
  service: Service12,
50
- layer: layer8,
51
- deps: [node42, node60]
50
+ layer: layer9,
51
+ deps: [node57, node62]
52
52
  });
53
53
 
54
- export { Service12, start4, layer8, node14, exports_subagent_job };
54
+ export { Service12, start4, layer9, node14, exports_subagent_job };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-va4jfsd2.js";
3
+ } from "./location-1s0bqze6.js";
4
4
  import {
5
5
  OAuth3,
6
- Service87
7
- } from "./file-retention-7ww0j6wb.js";
6
+ Service88
7
+ } from "./location-nqyp38bs.js";
8
8
  import {
9
- ID17,
9
+ ID18,
10
10
  MethodID2
11
- } from "./file-retention-56xt8ks8.js";
11
+ } from "./location-0jaqsgzq.js";
12
12
  import {
13
13
  mergeOverlay2
14
- } from "./file-retention-m90tx7mw.js";
14
+ } from "./location-m90tx7mw.js";
15
15
  import {
16
- ID16
17
- } from "./file-retention-fww0ckjz.js";
16
+ ID17
17
+ } from "./location-eenxfrnv.js";
18
18
 
19
19
  // src/plugin/provider/xai.ts
20
20
  import { define } from "@opencode/plugin/effect/plugin";
@@ -26,7 +26,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
26
26
  var pollingSafetyMargin = 3000;
27
27
  var browserMethodID = MethodID2.make("browser");
28
28
  var deviceMethodID = MethodID2.make("device");
29
- var providerID = ID16.make("xai");
29
+ var providerID = ID17.make("xai");
30
30
  var Token = Schema.Struct({
31
31
  access_token: Schema.String,
32
32
  refresh_token: Schema.optional(Schema.String),
@@ -46,7 +46,7 @@ var DeviceError = Schema.Struct({
46
46
  });
47
47
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
48
48
  var device = (app) => ({
49
- integrationID: ID17.make("xai"),
49
+ integrationID: ID18.make("xai"),
50
50
  method: {
51
51
  id: deviceMethodID,
52
52
  type: "oauth",
@@ -71,8 +71,8 @@ var device = (app) => ({
71
71
  var XAIPlugin2 = define({
72
72
  id: "opencode.provider.xai",
73
73
  effect: Effect.fn(function* (ctx) {
74
- const credentials = yield* Service87;
75
- yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
74
+ const credentials = yield* Service88;
75
+ yield* Effect.forEach(yield* credentials.list(ID18.make("xai")), (credential) => {
76
76
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
77
77
  return Effect.void;
78
78
  return credentials.update(credential.id, {
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-z5v4ffb3.js";
4
+ } from "./location-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service92,
9
9
  node94
10
- } from "./file-retention-8fd4mn1c.js";
10
+ } from "./location-qnaghnfk.js";
11
11
  import {
12
- Service88,
13
- node89
14
- } from "./file-retention-69mw4eyz.js";
12
+ Service90,
13
+ node92
14
+ } from "./location-x39990g7.js";
15
15
  import {
16
16
  create4
17
- } from "./file-retention-40y6dtc2.js";
17
+ } from "./location-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./location-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error2,
26
- ID: () => ID9,
27
- Service: () => Service43,
26
+ ID: () => ID10,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
30
- noopLayer: () => noopLayer3
29
+ node: () => node51,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service43 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service43, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service92;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service88;
52
+ const location = yield* Service90;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID9.make(tree);
100
+ return ID10.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -153,14 +153,14 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node45 = makeLocationNode({
159
- service: Service43,
158
+ var node51 = makeLocationNode({
159
+ service: Service48,
160
160
  layer,
161
- deps: [FSUtil.node, node94, Global.node, node89]
161
+ deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service43, Service43.of({
163
+ var noopLayer2 = Layer.succeed(Service48, Service48.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -178,4 +178,4 @@ function failure(operation, cause) {
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error2, Service43, node45, noopLayer3, exports_snapshot2 };
181
+ export { ID10, Error2, Service48, node51, noopLayer2, exports_snapshot2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./file-retention-7nqkf5r1.js";
3
+ } from "./location-kmekj7m2.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin29,
12
+ Plugin: () => Plugin31,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin29 = define({
27
+ var Plugin31 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin29 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin29, exports_identity };
40
+ export { identity2, Plugin31, exports_identity };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./file-retention-emrn6kk6.js";
5
+ } from "./location-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";