@opencode/core 0.0.0-dev-1280 → 0.0.0-dev-1284

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 (911) 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 +11 -11
  6. package/dist/artifact.js +262 -262
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{wellknown-2aer8hgd.js → aisdk-00natry1.js} +4 -4
  9. package/dist/chunks/{wellknown-034tev2y.js → aisdk-034tev2y.js} +2 -2
  10. package/dist/chunks/{wellknown-eab5a047.js → aisdk-076bfny5.js} +8 -8
  11. package/dist/chunks/{wellknown-0fvxehme.js → aisdk-0fvxehme.js} +2 -2
  12. package/dist/chunks/{wellknown-0ma9gw4f.js → aisdk-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{wellknown-f6jr0yjz.js → aisdk-0ns6cc2e.js} +23 -23
  14. package/dist/chunks/{wellknown-jrkc3ds1.js → aisdk-0tq2d6dg.js} +6 -6
  15. package/dist/chunks/{wellknown-7tftgcmj.js → aisdk-0xem9e8e.js} +25 -25
  16. package/dist/chunks/{wellknown-ptwmb640.js → aisdk-0xfehysn.js} +15 -15
  17. package/dist/chunks/{wellknown-qs72j73j.js → aisdk-0yqc1rax.js} +32 -32
  18. package/dist/chunks/{wellknown-gn3h6dxw.js → aisdk-16tg2mvn.js} +10 -10
  19. package/dist/chunks/{wellknown-1aqsckx4.js → aisdk-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{wellknown-1aryjtsy.js → aisdk-1aryjtsy.js} +1 -1
  21. package/dist/chunks/{wellknown-1ep2p91f.js → aisdk-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{wellknown-prxmvqz6.js → aisdk-1f74jjjb.js} +20 -20
  23. package/dist/chunks/{wellknown-etnnmb6a.js → aisdk-1naekne1.js} +17 -17
  24. package/dist/chunks/{wellknown-728t7gc6.js → aisdk-1qskw9ds.js} +11 -11
  25. package/dist/chunks/{wellknown-v2b374hr.js → aisdk-1s033asv.js} +3 -3
  26. package/dist/chunks/{wellknown-c4t9ypm8.js → aisdk-1tz3hwqh.js} +43 -43
  27. package/dist/chunks/{wellknown-1x2knyw4.js → aisdk-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{wellknown-xyz1t0qk.js → aisdk-1x6cp2ns.js} +5 -5
  29. package/dist/chunks/{wellknown-1yq9hg58.js → aisdk-1yq9hg58.js} +1 -1
  30. package/dist/chunks/{wellknown-q56zascw.js → aisdk-1zavewex.js} +28 -28
  31. package/dist/chunks/{wellknown-nr915jn7.js → aisdk-20pht57w.js} +4 -4
  32. package/dist/chunks/{wellknown-641q2q1z.js → aisdk-22jsjh4w.js} +28 -28
  33. package/dist/chunks/{wellknown-axsp18qw.js → aisdk-2e4egsra.js} +19 -19
  34. package/dist/chunks/{wellknown-2fc7eemy.js → aisdk-2fc7eemy.js} +1 -1
  35. package/dist/chunks/{wellknown-583ggra2.js → aisdk-2fge76wm.js} +15 -15
  36. package/dist/chunks/{wellknown-v6c3tqzh.js → aisdk-2ghe1sdb.js} +8 -8
  37. package/dist/chunks/{wellknown-f9vd95df.js → aisdk-2j6pyb0n.js} +21 -21
  38. package/dist/chunks/{wellknown-2ythy1tk.js → aisdk-2jadq5d6.js} +37 -37
  39. package/dist/chunks/{wellknown-84394vcr.js → aisdk-2prt43t7.js} +4 -4
  40. package/dist/chunks/{wellknown-0bbygp07.js → aisdk-2rzewps1.js} +11 -11
  41. package/dist/chunks/{wellknown-31avdb49.js → aisdk-31avdb49.js} +3 -3
  42. package/dist/chunks/{wellknown-e8r1tr1j.js → aisdk-36qzrbfm.js} +4 -4
  43. package/dist/chunks/{wellknown-kccz2vv3.js → aisdk-37fbk07p.js} +22 -22
  44. package/dist/chunks/{wellknown-c6x0pbrm.js → aisdk-39njpq4v.js} +18 -18
  45. package/dist/chunks/{wellknown-dr03sag8.js → aisdk-3a27dgsk.js} +34 -34
  46. package/dist/chunks/{wellknown-strcadht.js → aisdk-3b9ngwn6.js} +31 -31
  47. package/dist/chunks/{wellknown-xma42a2y.js → aisdk-3c35xw7m.js} +8 -8
  48. package/dist/chunks/{wellknown-cy1060tq.js → aisdk-3fevqy49.js} +17 -17
  49. package/dist/chunks/{wellknown-ye3r8z34.js → aisdk-3gkz7q01.js} +10 -10
  50. package/dist/chunks/{wellknown-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{wellknown-37k1m3sd.js → aisdk-3ms7wh5c.js} +27 -27
  52. package/dist/chunks/{wellknown-3nnrz6f6.js → aisdk-3nnrz6f6.js} +1 -1
  53. package/dist/chunks/{wellknown-j3f8hyeg.js → aisdk-3ryz99p0.js} +4 -4
  54. package/dist/chunks/{wellknown-pqjsfgk2.js → aisdk-3sf4a8wt.js} +20 -20
  55. package/dist/chunks/{wellknown-tmd1r8tg.js → aisdk-3v50s0nm.js} +4 -4
  56. package/dist/chunks/{wellknown-w4t81q56.js → aisdk-3wd3705a.js} +1 -1
  57. package/dist/chunks/{wellknown-40y6dtc2.js → aisdk-40y6dtc2.js} +1 -1
  58. package/dist/chunks/{wellknown-xvn8mnch.js → aisdk-44w9n9s7.js} +4 -4
  59. package/dist/chunks/{wellknown-t48ka35x.js → aisdk-4b72pw7k.js} +5 -5
  60. package/dist/chunks/{wellknown-4dx1dgte.js → aisdk-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{wellknown-4f25tdd0.js → aisdk-4f25tdd0.js} +1 -1
  62. package/dist/chunks/{wellknown-tqvvgzsw.js → aisdk-4h02zwvv.js} +5 -5
  63. package/dist/chunks/{wellknown-d8fs5gt4.js → aisdk-4kfaajce.js} +21 -21
  64. package/dist/chunks/{wellknown-27ktqzwr.js → aisdk-4ktpdd8g.js} +11 -11
  65. package/dist/chunks/{wellknown-dsq1faga.js → aisdk-4nbkseap.js} +12 -12
  66. package/dist/chunks/{wellknown-38nr3rfb.js → aisdk-4pr198gw.js} +38 -38
  67. package/dist/chunks/{wellknown-4pyp9zr9.js → aisdk-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{wellknown-e3766z8e.js → aisdk-4q7m519v.js} +7 -7
  69. package/dist/chunks/{wellknown-1n2mm7tv.js → aisdk-4qfcgkge.js} +16 -16
  70. package/dist/chunks/{wellknown-4v008n1t.js → aisdk-4v008n1t.js} +1 -1
  71. package/dist/chunks/{wellknown-stbett4v.js → aisdk-4vzr2b15.js} +3 -3
  72. package/dist/chunks/{wellknown-9thz99j1.js → aisdk-503rnqqm.js} +11 -11
  73. package/dist/chunks/{wellknown-43n69t78.js → aisdk-56143vs8.js} +6 -6
  74. package/dist/chunks/{wellknown-pwr3tcaa.js → aisdk-56gmx9a6.js} +10 -10
  75. package/dist/chunks/{wellknown-6sg7v011.js → aisdk-57kvbh9f.js} +2 -2
  76. package/dist/chunks/{wellknown-qr0pq923.js → aisdk-586sxvqv.js} +4 -4
  77. package/dist/chunks/{wellknown-gwyytpcj.js → aisdk-5asgddgx.js} +6 -6
  78. package/dist/chunks/{wellknown-kw0eymth.js → aisdk-5ejd13wg.js} +12 -12
  79. package/dist/chunks/{wellknown-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{wellknown-5zr5898h.js → aisdk-5nrbea71.js} +16 -16
  81. package/dist/chunks/{wellknown-1v2g13eq.js → aisdk-5wyjxme5.js} +7 -7
  82. package/dist/chunks/{wellknown-61qraad9.js → aisdk-61qraad9.js} +2 -2
  83. package/dist/chunks/{wellknown-nx57nrss.js → aisdk-684z6gka.js} +41 -41
  84. package/dist/chunks/{wellknown-5wsftw7f.js → aisdk-6e9j1y6c.js} +23 -23
  85. package/dist/chunks/{wellknown-ecm48gf7.js → aisdk-6esk6jxx.js} +15 -15
  86. package/dist/chunks/{wellknown-n0z1eb53.js → aisdk-6gc9tp6s.js} +13 -13
  87. package/dist/chunks/{wellknown-h91vm5r2.js → aisdk-6h8vcvjm.js} +9 -9
  88. package/dist/chunks/{wellknown-8tx2ejmc.js → aisdk-6j2z21mn.js} +9 -9
  89. package/dist/chunks/{wellknown-79k544d0.js → aisdk-6y2b864j.js} +7 -7
  90. package/dist/chunks/{wellknown-v37bc009.js → aisdk-721tb84k.js} +2 -2
  91. package/dist/chunks/{wellknown-80mg3ag8.js → aisdk-775hqbnd.js} +3 -3
  92. package/dist/chunks/{wellknown-0qahn5h0.js → aisdk-78zhyyfk.js} +81 -81
  93. package/dist/chunks/{wellknown-46q226g6.js → aisdk-79w4g2qb.js} +15 -15
  94. package/dist/chunks/{wellknown-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{wellknown-qxqqmyjt.js → aisdk-7bsvr981.js} +40 -40
  96. package/dist/chunks/{wellknown-rx1xeagf.js → aisdk-7j05p5xv.js} +11 -11
  97. package/dist/chunks/{wellknown-1basnjmv.js → aisdk-7jebtk0t.js} +30 -30
  98. package/dist/chunks/{wellknown-tdmbv00j.js → aisdk-7jznsbvf.js} +18 -18
  99. package/dist/chunks/{wellknown-b1we0vk3.js → aisdk-7m22mtww.js} +19 -19
  100. package/dist/chunks/{wellknown-evjfqt55.js → aisdk-7rwrrcn2.js} +13 -13
  101. package/dist/chunks/{wellknown-dsm6hmjx.js → aisdk-7ryf1ztn.js} +8 -8
  102. package/dist/chunks/{wellknown-eq34fv4d.js → aisdk-7t2bcrk5.js} +18 -18
  103. package/dist/chunks/{wellknown-vhd8852r.js → aisdk-7vhwyy1h.js} +16 -16
  104. package/dist/chunks/{wellknown-5q652czm.js → aisdk-7vk7czv3.js} +7 -7
  105. package/dist/chunks/{wellknown-7w2ypzdf.js → aisdk-7w2ypzdf.js} +1 -1
  106. package/dist/chunks/{wellknown-7weczvnd.js → aisdk-7weczvnd.js} +1 -1
  107. package/dist/chunks/{wellknown-80pdk984.js → aisdk-80pdk984.js} +1 -1
  108. package/dist/chunks/{wellknown-85jq8dht.js → aisdk-85jq8dht.js} +1 -1
  109. package/dist/chunks/{wellknown-qq8nxmq8.js → aisdk-85yc0hq8.js} +12 -12
  110. package/dist/chunks/{wellknown-zpmbbmg4.js → aisdk-8729dcdd.js} +14 -14
  111. package/dist/chunks/{wellknown-23thvp2q.js → aisdk-87ah2vf6.js} +21 -21
  112. package/dist/chunks/{wellknown-xgntqjvj.js → aisdk-87z6x2pe.js} +83 -83
  113. package/dist/chunks/{wellknown-8b3vzgkx.js → aisdk-8b3vzgkx.js} +1 -1
  114. package/dist/chunks/{wellknown-kzdam8c6.js → aisdk-8hfctyyf.js} +7 -7
  115. package/dist/chunks/{wellknown-8kjyvwy5.js → aisdk-8kjyvwy5.js} +1 -1
  116. package/dist/chunks/{wellknown-8sxe6kv8.js → aisdk-8sxe6kv8.js} +2 -2
  117. package/dist/chunks/{wellknown-g2rjajxv.js → aisdk-8tdp8cw8.js} +23 -23
  118. package/dist/chunks/{wellknown-8wtp7s3z.js → aisdk-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{wellknown-8zv0xmg5.js → aisdk-8zv0xmg5.js} +1 -1
  120. package/dist/chunks/{wellknown-mw2mp8dw.js → aisdk-91fv2z8c.js} +36 -36
  121. package/dist/chunks/{wellknown-qbj8t3dc.js → aisdk-9288bp88.js} +10 -10
  122. package/dist/chunks/{wellknown-zp4kahxc.js → aisdk-92tssc24.js} +24 -24
  123. package/dist/chunks/{wellknown-evbwz3q2.js → aisdk-94tqjq71.js} +18 -18
  124. package/dist/chunks/{wellknown-cha0bdvb.js → aisdk-96dhar22.js} +36 -36
  125. package/dist/chunks/{wellknown-25ey1qe0.js → aisdk-9gezy0ta.js} +33 -33
  126. package/dist/chunks/{wellknown-wnsavktq.js → aisdk-9s0zd0nr.js} +8 -8
  127. package/dist/chunks/{wellknown-ve6h378e.js → aisdk-a1btkhwz.js} +20 -20
  128. package/dist/chunks/{wellknown-tpvfz3qe.js → aisdk-a3hr2qm9.js} +26 -26
  129. package/dist/chunks/{wellknown-yza0n96j.js → aisdk-a4qaryjt.js} +13 -13
  130. package/dist/chunks/{wellknown-63r1jezq.js → aisdk-a4z5kqp5.js} +20 -20
  131. package/dist/chunks/{wellknown-6a3qyq7w.js → aisdk-a621n4f6.js} +11 -11
  132. package/dist/chunks/{wellknown-tdzg3se5.js → aisdk-ag9se77v.js} +16 -16
  133. package/dist/chunks/{wellknown-5ar51n0r.js → aisdk-amxb1pax.js} +7 -7
  134. package/dist/chunks/{wellknown-4nr30yve.js → aisdk-ase39p5q.js} +12 -12
  135. package/dist/chunks/{wellknown-3nyx21qg.js → aisdk-ax1yvpgm.js} +18 -18
  136. package/dist/chunks/{wellknown-ayjs7tqn.js → aisdk-ayjs7tqn.js} +2 -2
  137. package/dist/chunks/{wellknown-184x2ne5.js → aisdk-b01wwvxe.js} +11 -11
  138. package/dist/chunks/aisdk-b9bbch9d.js +273 -0
  139. package/dist/chunks/{wellknown-m3dnz9m4.js → aisdk-bbazfr9j.js} +26 -26
  140. package/dist/chunks/{wellknown-9c9j4pyj.js → aisdk-bd49trsz.js} +11 -11
  141. package/dist/chunks/{wellknown-kyz53xa4.js → aisdk-bd4afk93.js} +23 -23
  142. package/dist/chunks/{wellknown-dxbmx42z.js → aisdk-begbag3g.js} +24 -24
  143. package/dist/chunks/{wellknown-w0v8te3a.js → aisdk-btz4vdf2.js} +9 -9
  144. package/dist/chunks/{wellknown-m2y57w8k.js → aisdk-ce3tf4ne.js} +18 -18
  145. package/dist/chunks/{wellknown-vwrwz5ex.js → aisdk-cm0vzj2n.js} +194 -194
  146. package/dist/chunks/{wellknown-vmxsyvj6.js → aisdk-cr4rfj9z.js} +4 -4
  147. package/dist/chunks/{wellknown-cwrgdav8.js → aisdk-cwrgdav8.js} +2 -2
  148. package/dist/chunks/{wellknown-tss705n6.js → aisdk-d2jxnkqd.js} +19 -19
  149. package/dist/chunks/{wellknown-d4v9tmah.js → aisdk-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{wellknown-yte9g17j.js → aisdk-dbddn8gk.js} +27 -27
  151. package/dist/chunks/{wellknown-8m9p3vgp.js → aisdk-ddyyp427.js} +5 -5
  152. package/dist/chunks/{wellknown-pr0ynw92.js → aisdk-dn6vvjkq.js} +4 -4
  153. package/dist/chunks/{wellknown-27qg90p7.js → aisdk-dsv0mf57.js} +16 -16
  154. package/dist/chunks/{wellknown-dt77769w.js → aisdk-dt77769w.js} +1 -1
  155. package/dist/chunks/{wellknown-f7hsj4em.js → aisdk-e451z2y6.js} +3 -3
  156. package/dist/chunks/{wellknown-cbs8fcwx.js → aisdk-e8gak9bx.js} +17 -17
  157. package/dist/chunks/{wellknown-13tsap6q.js → aisdk-e8qhv52p.js} +46 -46
  158. package/dist/chunks/{wellknown-f3p75wf2.js → aisdk-ek4mh5pg.js} +15 -15
  159. package/dist/chunks/{wellknown-hs9f9bk4.js → aisdk-enezt5d6.js} +26 -26
  160. package/dist/chunks/{wellknown-eqw4pqj1.js → aisdk-eqw4pqj1.js} +2 -2
  161. package/dist/chunks/{wellknown-qmv579w2.js → aisdk-er9d18x6.js} +31 -31
  162. package/dist/chunks/{wellknown-s2cspse1.js → aisdk-erpgh78q.js} +4 -4
  163. package/dist/chunks/{wellknown-qt3ze8rr.js → aisdk-esg5xb2a.js} +8 -8
  164. package/dist/chunks/aisdk-ev660z6k.js +18 -0
  165. package/dist/chunks/{wellknown-jrwdf4r9.js → aisdk-ew00j23b.js} +10 -10
  166. package/dist/chunks/{wellknown-h4wgh636.js → aisdk-f053wwz5.js} +11 -11
  167. package/dist/chunks/{wellknown-mrnef867.js → aisdk-f3qdxw07.js} +53 -53
  168. package/dist/chunks/{wellknown-15v75j2x.js → aisdk-f48g45vp.js} +18 -18
  169. package/dist/chunks/{wellknown-ra8fnavv.js → aisdk-f5w7jr2y.js} +36 -36
  170. package/dist/chunks/{wellknown-fg9p65nk.js → aisdk-fg9p65nk.js} +2 -2
  171. package/dist/chunks/{wellknown-0w7t4ved.js → aisdk-fqtyqcmx.js} +47 -47
  172. package/dist/chunks/{wellknown-yarzfda3.js → aisdk-fxf50664.js} +13 -13
  173. package/dist/chunks/{wellknown-1cyffnvs.js → aisdk-fzenvpj1.js} +30 -30
  174. package/dist/chunks/{wellknown-hqyxx6vr.js → aisdk-g4hmqmty.js} +8 -8
  175. package/dist/chunks/{wellknown-b26ddj6h.js → aisdk-g4txs7zc.js} +4 -4
  176. package/dist/chunks/{wellknown-fsa0gwwp.js → aisdk-g7bzs5g0.js} +3 -3
  177. package/dist/chunks/{wellknown-gbjdnr5j.js → aisdk-gbjdnr5j.js} +2 -2
  178. package/dist/chunks/{wellknown-q5t45acw.js → aisdk-gehd6x6y.js} +94 -94
  179. package/dist/chunks/{wellknown-nhwrj81q.js → aisdk-ggzxzwph.js} +15 -15
  180. package/dist/chunks/{wellknown-m6mf4mcx.js → aisdk-ghw2q90v.js} +23 -23
  181. package/dist/chunks/{wellknown-vrhb1srk.js → aisdk-gmhw82g6.js} +9 -9
  182. package/dist/chunks/{wellknown-z7c6cvks.js → aisdk-gnm9zfyf.js} +5 -5
  183. package/dist/chunks/{wellknown-yam2w8sh.js → aisdk-gpvcxtjg.js} +6 -6
  184. package/dist/chunks/{wellknown-cf4nqrhb.js → aisdk-grbgb1th.js} +33 -33
  185. package/dist/chunks/{wellknown-jkakbz53.js → aisdk-gsyv4rf3.js} +17 -17
  186. package/dist/chunks/{wellknown-my4fpfwk.js → aisdk-h2aspcra.js} +13 -13
  187. package/dist/chunks/{wellknown-km209ejh.js → aisdk-h4m7yyn3.js} +24 -24
  188. package/dist/chunks/{wellknown-xmp7pdtz.js → aisdk-hc4gekvm.js} +33 -33
  189. package/dist/chunks/{wellknown-hgzwgvze.js → aisdk-hgzwgvze.js} +2 -2
  190. package/dist/chunks/{wellknown-hj0xet7m.js → aisdk-hj0xet7m.js} +2 -2
  191. package/dist/chunks/{wellknown-g7qdwrsk.js → aisdk-htk0ea2j.js} +7 -7
  192. package/dist/chunks/{wellknown-28zec0f4.js → aisdk-hvsxw0jd.js} +12 -12
  193. package/dist/chunks/{wellknown-tr8x705m.js → aisdk-j376ae4e.js} +5 -5
  194. package/dist/chunks/{wellknown-d8vxf25s.js → aisdk-j6t60dp0.js} +32 -32
  195. package/dist/chunks/{wellknown-ze75qvmd.js → aisdk-j9nxzz3g.js} +3 -3
  196. package/dist/chunks/{wellknown-r9k0m1fx.js → aisdk-jc512s3p.js} +8 -8
  197. package/dist/chunks/{wellknown-7mhsjf65.js → aisdk-je31fw81.js} +2 -2
  198. package/dist/chunks/{wellknown-jm70asfg.js → aisdk-jm70asfg.js} +1 -1
  199. package/dist/chunks/{wellknown-qjgpr7gk.js → aisdk-jmd7tb51.js} +376 -376
  200. package/dist/chunks/{wellknown-j2htf90w.js → aisdk-jv4h3f2w.js} +7 -7
  201. package/dist/chunks/{wellknown-44pmzq9c.js → aisdk-jxd6f16v.js} +2 -2
  202. package/dist/chunks/{wellknown-yybgvvmq.js → aisdk-kbgs7tyr.js} +4 -4
  203. package/dist/chunks/{wellknown-mja1swvv.js → aisdk-kc45z3h4.js} +48 -48
  204. package/dist/chunks/{wellknown-y57h9apw.js → aisdk-kfge3pfm.js} +4 -4
  205. package/dist/chunks/{wellknown-v7sr38g7.js → aisdk-kmpykya8.js} +7 -7
  206. package/dist/chunks/{wellknown-kt3bjfbg.js → aisdk-kt3bjfbg.js} +1 -1
  207. package/dist/chunks/{wellknown-7qec28h5.js → aisdk-kv781v4h.js} +31 -31
  208. package/dist/chunks/{wellknown-d5mm1dvd.js → aisdk-kxnmw1dp.js} +7 -7
  209. package/dist/chunks/{wellknown-kzczzf4v.js → aisdk-kzczzf4v.js} +1 -1
  210. package/dist/chunks/{wellknown-m1714858.js → aisdk-m1714858.js} +1 -1
  211. package/dist/chunks/{wellknown-14bfnkfq.js → aisdk-m1jf72ck.js} +45 -45
  212. package/dist/chunks/{wellknown-m4p4r8nc.js → aisdk-m4p4r8nc.js} +1 -1
  213. package/dist/chunks/{wellknown-9ch8vfxj.js → aisdk-m4pn5tm0.js} +50 -50
  214. package/dist/chunks/{wellknown-m90tx7mw.js → aisdk-m90tx7mw.js} +1 -1
  215. package/dist/chunks/{wellknown-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  216. package/dist/chunks/{wellknown-mb7mbhnz.js → aisdk-mb7mbhnz.js} +3 -3
  217. package/dist/chunks/{wellknown-pxbvf64t.js → aisdk-mbhm97dq.js} +5 -5
  218. package/dist/chunks/{wellknown-cyx4wr0f.js → aisdk-mex3sg7w.js} +10 -10
  219. package/dist/chunks/{wellknown-g6yp65q8.js → aisdk-mfaczyzq.js} +16 -16
  220. package/dist/chunks/{wellknown-81jb41jf.js → aisdk-mhdwvfsv.js} +49 -49
  221. package/dist/chunks/{wellknown-66d8dez0.js → aisdk-mr3xrd1g.js} +52 -52
  222. package/dist/chunks/{wellknown-87bmqdkz.js → aisdk-mt7tkt1k.js} +18 -18
  223. package/dist/chunks/{wellknown-p33cc0wg.js → aisdk-mtxnd1fj.js} +23 -23
  224. package/dist/chunks/{wellknown-ayxe58k5.js → aisdk-mv4qm2s4.js} +28 -28
  225. package/dist/chunks/{wellknown-nrz3a2k3.js → aisdk-n1z7dayf.js} +12 -12
  226. package/dist/chunks/{wellknown-e4rmxmhs.js → aisdk-n35t2vgz.js} +4 -4
  227. package/dist/chunks/{wellknown-c610j0ka.js → aisdk-n6c0ry9n.js} +6 -6
  228. package/dist/chunks/{wellknown-e14e5bqv.js → aisdk-n6tvvmnw.js} +10 -10
  229. package/dist/chunks/{wellknown-bm7xpb2p.js → aisdk-n70wf70b.js} +20 -20
  230. package/dist/chunks/{wellknown-gqegjds9.js → aisdk-n7p5aby2.js} +48 -48
  231. package/dist/chunks/{wellknown-652m3am9.js → aisdk-nd60m3ta.js} +24 -24
  232. package/dist/chunks/{wellknown-75a2gs08.js → aisdk-nfhv1t94.js} +1 -1
  233. package/dist/chunks/{wellknown-s5zrq09q.js → aisdk-nkzb5f1v.js} +8 -8
  234. package/dist/chunks/{wellknown-0cr0jx4r.js → aisdk-nm4fzak7.js} +8 -8
  235. package/dist/chunks/{wellknown-8bcc8xgx.js → aisdk-nq1mg43n.js} +3 -3
  236. package/dist/chunks/{wellknown-p3g3b7x5.js → aisdk-nv9tsjma.js} +6 -6
  237. package/dist/chunks/{wellknown-aq2e9c4r.js → aisdk-nxfqjndq.js} +3 -3
  238. package/dist/chunks/{wellknown-rkrs0bvn.js → aisdk-ny24wdce.js} +41 -41
  239. package/dist/chunks/{wellknown-a8x8zk8z.js → aisdk-p201jne6.js} +6 -6
  240. package/dist/chunks/{wellknown-drdmzpww.js → aisdk-p6ptthry.js} +4 -4
  241. package/dist/chunks/{wellknown-2mbjfaxd.js → aisdk-p76me67c.js} +4 -4
  242. package/dist/chunks/{wellknown-v84ns8g0.js → aisdk-pdyy7gz9.js} +16 -16
  243. package/dist/chunks/{wellknown-f4xxa474.js → aisdk-pfjryf1x.js} +7 -7
  244. package/dist/chunks/{wellknown-pknna89w.js → aisdk-pknna89w.js} +1 -1
  245. package/dist/chunks/{wellknown-z06gyfty.js → aisdk-pq0zk47q.js} +33 -33
  246. package/dist/chunks/{wellknown-1ww6mj8f.js → aisdk-ptjgxvm7.js} +9 -9
  247. package/dist/chunks/{wellknown-hccp4m5y.js → aisdk-pymb48n1.js} +8 -8
  248. package/dist/chunks/{wellknown-dm4ee7c9.js → aisdk-q47m729n.js} +59 -59
  249. package/dist/chunks/{wellknown-amjjh717.js → aisdk-q5bk3gvt.js} +5 -5
  250. package/dist/chunks/{wellknown-g6ce35sq.js → aisdk-q6169bpd.js} +12 -12
  251. package/dist/chunks/{wellknown-rzcftq1z.js → aisdk-q9zjhx43.js} +60 -60
  252. package/dist/chunks/{wellknown-w1zsvdr8.js → aisdk-qaf33g9m.js} +21 -21
  253. package/dist/chunks/{wellknown-xr62gm6v.js → aisdk-qakab0ph.js} +34 -34
  254. package/dist/chunks/{wellknown-s3xmv40e.js → aisdk-qc7j8vb7.js} +5 -5
  255. package/dist/chunks/aisdk-qg5d3qey.js +26 -0
  256. package/dist/chunks/{wellknown-m6nb5czf.js → aisdk-qkv3pk5p.js} +26 -26
  257. package/dist/chunks/{wellknown-tvwsaxa1.js → aisdk-qm9pt90z.js} +11 -11
  258. package/dist/chunks/{wellknown-jkenhkn3.js → aisdk-qmvdf6k5.js} +11 -11
  259. package/dist/chunks/{wellknown-qp7r0hxv.js → aisdk-qp7r0hxv.js} +1 -1
  260. package/dist/chunks/{wellknown-m6vyjheh.js → aisdk-qtd7mr94.js} +32 -32
  261. package/dist/chunks/{wellknown-ef01k0v5.js → aisdk-qy94z0q3.js} +9 -9
  262. package/dist/chunks/{wellknown-r2wb5enr.js → aisdk-qza0cy21.js} +19 -19
  263. package/dist/chunks/{wellknown-xstwqhrk.js → aisdk-r0g4qhb1.js} +8 -8
  264. package/dist/chunks/{wellknown-963hk181.js → aisdk-r9z26v6p.js} +9 -9
  265. package/dist/chunks/{wellknown-wyrdxqa1.js → aisdk-ra5zg4y5.js} +11 -11
  266. package/dist/chunks/{wellknown-6m8vj9yr.js → aisdk-rb0e2ctr.js} +10 -10
  267. package/dist/chunks/{wellknown-rb9dy4dg.js → aisdk-rb9dy4dg.js} +1 -1
  268. package/dist/chunks/{wellknown-s14vrjdz.js → aisdk-rf5xdxz2.js} +6 -6
  269. package/dist/chunks/{wellknown-rgc9cx3e.js → aisdk-rgc9cx3e.js} +2 -2
  270. package/dist/chunks/{wellknown-c5zvymhv.js → aisdk-rj7j5fvs.js} +4 -4
  271. package/dist/chunks/{wellknown-evvjvga6.js → aisdk-rjd4ght5.js} +45 -45
  272. package/dist/chunks/{wellknown-f2nzj6et.js → aisdk-rrym2d7k.js} +9 -9
  273. package/dist/chunks/{wellknown-ae0qpv5r.js → aisdk-rsvhexnm.js} +16 -16
  274. package/dist/chunks/{wellknown-w91xtpfr.js → aisdk-rwqkr5yq.js} +17 -17
  275. package/dist/chunks/{wellknown-rk91jcqn.js → aisdk-s0b19rzj.js} +22 -22
  276. package/dist/chunks/{wellknown-mqf256nb.js → aisdk-s0zpw7pd.js} +12 -12
  277. package/dist/chunks/{wellknown-2p60zmnr.js → aisdk-s1ba0vj0.js} +2 -2
  278. package/dist/chunks/{wellknown-jcdena8z.js → aisdk-s2rqz5wb.js} +26 -26
  279. package/dist/chunks/{wellknown-7ahda34f.js → aisdk-s3jc10rj.js} +19 -19
  280. package/dist/chunks/{wellknown-x51rz0sc.js → aisdk-s3rv10yp.js} +28 -28
  281. package/dist/chunks/{wellknown-s47rahr7.js → aisdk-s47rahr7.js} +1 -1
  282. package/dist/chunks/{wellknown-sbya78hr.js → aisdk-sbya78hr.js} +1 -1
  283. package/dist/chunks/{wellknown-ghrv1g9c.js → aisdk-sdt5j0rm.js} +4 -4
  284. package/dist/chunks/{wellknown-5k31ttt8.js → aisdk-sk2v7ve7.js} +41 -41
  285. package/dist/chunks/{wellknown-fk6pt02a.js → aisdk-sn77dt8p.js} +56 -56
  286. package/dist/chunks/{wellknown-mjwhre59.js → aisdk-snmv5tc2.js} +7 -7
  287. package/dist/chunks/{wellknown-tyekj3r9.js → aisdk-sq5fdpmn.js} +30 -30
  288. package/dist/chunks/{wellknown-n67wry4g.js → aisdk-sseh985f.js} +9 -9
  289. package/dist/chunks/{wellknown-svcy3p9a.js → aisdk-svcy3p9a.js} +1 -1
  290. package/dist/chunks/{wellknown-qbknckpd.js → aisdk-t13qr1dd.js} +4 -4
  291. package/dist/chunks/{wellknown-1b0p7szg.js → aisdk-t307fb60.js} +3 -3
  292. package/dist/chunks/{wellknown-c95q701f.js → aisdk-t69jc1z4.js} +5 -5
  293. package/dist/chunks/{wellknown-8dea992e.js → aisdk-t7xjw7j2.js} +10 -10
  294. package/dist/chunks/{wellknown-tbpn7jtk.js → aisdk-tbpn7jtk.js} +1 -1
  295. package/dist/chunks/{wellknown-tczq8hjw.js → aisdk-tczq8hjw.js} +1 -1
  296. package/dist/chunks/{wellknown-zg3dd62n.js → aisdk-td1c14kr.js} +2 -2
  297. package/dist/chunks/{wellknown-gxs71cxp.js → aisdk-tg7s7b5t.js} +4 -4
  298. package/dist/chunks/{wellknown-8cqsbq15.js → aisdk-trmh86bb.js} +40 -40
  299. package/dist/chunks/{wellknown-tvtps2q9.js → aisdk-tvtps2q9.js} +1 -1
  300. package/dist/chunks/{wellknown-twssxy5n.js → aisdk-twssxy5n.js} +2 -2
  301. package/dist/chunks/{wellknown-67ehfp3r.js → aisdk-tx7xfjek.js} +34 -34
  302. package/dist/chunks/{wellknown-j5221a8k.js → aisdk-tzzrxahk.js} +11 -11
  303. package/dist/chunks/{wellknown-v0t96s7a.js → aisdk-v0t96s7a.js} +1 -1
  304. package/dist/chunks/{wellknown-ds6fnft9.js → aisdk-v23hhw89.js} +3 -3
  305. package/dist/chunks/{wellknown-v2r1d0zg.js → aisdk-v2r1d0zg.js} +1 -1
  306. package/dist/chunks/{wellknown-26wfx3k0.js → aisdk-v4bj6baw.js} +4 -4
  307. package/dist/chunks/{wellknown-aedwt843.js → aisdk-v5hpj9dd.js} +4 -4
  308. package/dist/chunks/{wellknown-z94e4jy3.js → aisdk-vajpn6aq.js} +24 -24
  309. package/dist/chunks/{wellknown-mtmh24f8.js → aisdk-vbzkhvdq.js} +31 -31
  310. package/dist/chunks/{wellknown-5kcdngh6.js → aisdk-vfzbs16a.js} +4 -4
  311. package/dist/chunks/{wellknown-vjf35v1f.js → aisdk-vjf35v1f.js} +1 -1
  312. package/dist/chunks/{wellknown-zf0c34x3.js → aisdk-vszn7bs3.js} +9 -9
  313. package/dist/chunks/{wellknown-p0cgagxb.js → aisdk-vt36y783.js} +6 -6
  314. package/dist/chunks/{wellknown-esnd5w8j.js → aisdk-w0bvmzjm.js} +5 -5
  315. package/dist/chunks/{wellknown-5enarcya.js → aisdk-w2eysc6j.js} +6 -6
  316. package/dist/chunks/{wellknown-7g49ttx0.js → aisdk-w2xfegj1.js} +16 -16
  317. package/dist/chunks/{wellknown-t0yxsa4w.js → aisdk-w37wwrqm.js} +11 -11
  318. package/dist/chunks/{wellknown-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  319. package/dist/chunks/{wellknown-1ysk8pqb.js → aisdk-w9y1k97s.js} +21 -21
  320. package/dist/chunks/{wellknown-wakvkjy4.js → aisdk-wakvkjy4.js} +1 -1
  321. package/dist/chunks/{wellknown-wd87259q.js → aisdk-wd87259q.js} +1 -1
  322. package/dist/chunks/aisdk-we9eewdm.js +35 -0
  323. package/dist/chunks/{wellknown-wegkxhrn.js → aisdk-wegkxhrn.js} +2 -2
  324. package/dist/chunks/{wellknown-pyzh8wbn.js → aisdk-wfkcbjb5.js} +8 -8
  325. package/dist/chunks/{wellknown-mnyhyg0k.js → aisdk-wq08meq6.js} +9 -9
  326. package/dist/chunks/{wellknown-6gkjea5y.js → aisdk-wq62csb0.js} +15 -15
  327. package/dist/chunks/{wellknown-w687dnns.js → aisdk-wr3re1en.js} +4 -4
  328. package/dist/chunks/{wellknown-smg32ne4.js → aisdk-wta6202z.js} +18 -18
  329. package/dist/chunks/{wellknown-c8cpqe4g.js → aisdk-ww6xxge1.js} +21 -21
  330. package/dist/chunks/{wellknown-j1zpf99x.js → aisdk-xacrkbdt.js} +7 -7
  331. package/dist/chunks/{wellknown-xd6fx7tp.js → aisdk-xbbbq08w.js} +16 -16
  332. package/dist/chunks/{wellknown-xd9cc171.js → aisdk-xd9cc171.js} +1 -1
  333. package/dist/chunks/{wellknown-04whjz6n.js → aisdk-xjbsd7zy.js} +9 -9
  334. package/dist/chunks/{wellknown-thdadhbn.js → aisdk-xjf932n8.js} +6 -6
  335. package/dist/chunks/{wellknown-cq4jgwga.js → aisdk-xmdz2ynj.js} +3 -3
  336. package/dist/chunks/{wellknown-q5jvrzph.js → aisdk-xsj5ak6x.js} +13 -13
  337. package/dist/chunks/{wellknown-xxschbft.js → aisdk-xxschbft.js} +1 -1
  338. package/dist/chunks/{wellknown-x4mcewfn.js → aisdk-xz07m27x.js} +4 -4
  339. package/dist/chunks/{wellknown-vk1gq6xh.js → aisdk-xz5n7eyq.js} +8 -8
  340. package/dist/chunks/{wellknown-derxze1q.js → aisdk-y33bhg8s.js} +30 -30
  341. package/dist/chunks/{wellknown-929zkk1r.js → aisdk-y398vq4b.js} +5 -5
  342. package/dist/chunks/{wellknown-yb20nhc3.js → aisdk-yb20nhc3.js} +1 -1
  343. package/dist/chunks/{wellknown-yr705xyq.js → aisdk-yr705xyq.js} +1 -1
  344. package/dist/chunks/{wellknown-9d854vd9.js → aisdk-ysqr8c6t.js} +20 -20
  345. package/dist/chunks/{wellknown-7fpr7hz7.js → aisdk-ytfr5x0q.js} +13 -13
  346. package/dist/chunks/{wellknown-6besst92.js → aisdk-yvj3tegn.js} +16 -16
  347. package/dist/chunks/{wellknown-yvtc2x31.js → aisdk-yvtc2x31.js} +1 -1
  348. package/dist/chunks/aisdk-ywh3xphk.js +16 -0
  349. package/dist/chunks/{wellknown-g5ajqn12.js → aisdk-z080rjh6.js} +4 -4
  350. package/dist/chunks/{wellknown-z0wbgq7s.js → aisdk-z0wbgq7s.js} +1 -1
  351. package/dist/chunks/{wellknown-ck63xrcz.js → aisdk-z54rs5r9.js} +12 -12
  352. package/dist/chunks/{wellknown-qctje6mm.js → aisdk-zkc29vwy.js} +11 -11
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +97 -97
  360. package/dist/config/integration.js +5 -5
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +132 -132
  365. package/dist/config/plugin/command.js +247 -247
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +146 -146
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +133 -133
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +132 -132
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +132 -132
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +107 -107
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +81 -81
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +88 -88
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +258 -258
  500. package/dist/filesystem/protected.js +3 -3
  501. package/dist/filesystem/search.js +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +9 -9
  504. package/dist/filesystem.js +116 -116
  505. package/dist/flag.js +134 -134
  506. package/dist/form.js +95 -95
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +121 -121
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +113 -113
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +441 -441
  519. package/dist/instruction-discovery.js +92 -92
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +4 -4
  522. package/dist/integration/connection.js +3 -3
  523. package/dist/integration.js +102 -102
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +90 -90
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +187 -187
  531. package/dist/location-lifecycle.js +155 -155
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +102 -102
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +147 -147
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +110 -110
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +161 -161
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +113 -113
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +114 -114
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +118 -118
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +89 -89
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +160 -160
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +97 -97
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +85 -85
  563. package/dist/plugin/command.js +146 -146
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +3 -3
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  587. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  601. package/dist/plugin/provider/claude-agent/session.js +113 -113
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +89 -89
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +89 -89
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +154 -154
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +7 -7
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +4 -4
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +1 -1
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +262 -262
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +103 -103
  669. package/dist/provider.js +109 -109
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +100 -100
  674. package/dist/reference.js +103 -103
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +111 -111
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +270 -270
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +1 -1
  686. package/dist/session/blob.js +133 -133
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +173 -173
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +274 -274
  695. package/dist/session/execution/subagent-report.js +147 -147
  696. package/dist/session/execution.js +174 -174
  697. package/dist/session/generate.js +208 -208
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +150 -150
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +89 -89
  702. package/dist/session/instruction-state.js +9 -9
  703. package/dist/session/instructions.js +148 -148
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +173 -173
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +3 -3
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +3 -3
  723. package/dist/session/session.js +196 -196
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +175 -175
  732. package/dist/session/system-prompt.js +5 -5
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +257 -257
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +251 -251
  738. package/dist/shared-cache.js +5 -5
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +5 -5
  743. package/dist/shell.js +149 -149
  744. package/dist/skill/discovery.js +6 -6
  745. package/dist/skill/instructions.js +154 -154
  746. package/dist/skill.js +161 -161
  747. package/dist/snapshot.js +104 -104
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +191 -191
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +174 -174
  756. package/dist/tool/plugin/grep.js +173 -173
  757. package/dist/tool/plugin/image-generate.js +257 -257
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +171 -171
  762. package/dist/tool/plugin/question.js +153 -153
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +253 -253
  766. package/dist/tool/plugin/skill.js +162 -162
  767. package/dist/tool/plugin/subagent.js +251 -251
  768. package/dist/tool/plugin/todo.js +156 -156
  769. package/dist/tool/plugin/webfetch.js +158 -158
  770. package/dist/tool/plugin/websearch.js +160 -160
  771. package/dist/tool/plugin/write.js +171 -171
  772. package/dist/tool/read-filesystem.js +116 -116
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +163 -163
  777. package/dist/usage-limits.js +92 -92
  778. package/dist/util/canonical-json.js +1 -1
  779. package/dist/util/error-summary.js +1 -1
  780. package/dist/util/git-executable.js +3 -3
  781. package/dist/util/lazy.js +1 -1
  782. package/dist/util/slug.js +1 -1
  783. package/dist/util/token.js +1 -1
  784. package/dist/util/which.js +1 -1
  785. package/dist/util/wildcard.js +1 -1
  786. package/dist/v1/config/agent.js +3 -3
  787. package/dist/v1/config/command.js +3 -3
  788. package/dist/v1/config/mcp.js +2 -2
  789. package/dist/v1/config/migrate.js +106 -106
  790. package/dist/v1/config/permission.js +1 -1
  791. package/dist/v1/config/plugin.js +1 -1
  792. package/dist/v1/config/provider-options.js +1 -1
  793. package/dist/v1/config/provider.js +2 -2
  794. package/dist/variant.js +105 -105
  795. package/dist/vcs/patch.js +1 -1
  796. package/dist/vcs.js +102 -102
  797. package/dist/voice.js +97 -97
  798. package/dist/websearch.js +103 -103
  799. package/dist/wellknown/plugin.js +87 -87
  800. package/dist/wellknown.js +90 -90
  801. package/dist/workspace/driver.js +7 -7
  802. package/dist/workspace/sql.js +1 -1
  803. package/dist/workspace.js +93 -93
  804. package/dist/worktree/directory.js +2 -2
  805. package/dist/worktree/git.js +11 -11
  806. package/dist/worktree/sql.js +5 -5
  807. package/dist/worktree/strategies.js +102 -102
  808. package/dist/worktree.js +111 -111
  809. package/package.json +9 -9
  810. package/dist/chunks/wellknown-2jjfs7g5.js +0 -16
  811. package/dist/chunks/wellknown-3qx6b3ma.js +0 -273
  812. package/dist/chunks/wellknown-6zjm2phc.js +0 -18
  813. package/dist/chunks/wellknown-d2q2a2xy.js +0 -26
  814. package/dist/chunks/wellknown-kaa67y14.js +0 -35
  815. /package/dist/chunks/{wellknown-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  816. /package/dist/chunks/{wellknown-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  817. /package/dist/chunks/{wellknown-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  818. /package/dist/chunks/{wellknown-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  819. /package/dist/chunks/{wellknown-1kah00gy.js → aisdk-1kah00gy.js} +0 -0
  820. /package/dist/chunks/{wellknown-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  821. /package/dist/chunks/{wellknown-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  822. /package/dist/chunks/{wellknown-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{wellknown-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{wellknown-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{wellknown-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{wellknown-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{wellknown-4qk9sjk2.js → aisdk-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{wellknown-53557ph1.js → aisdk-53557ph1.js} +0 -0
  829. /package/dist/chunks/{wellknown-5w3e23ze.js → aisdk-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{wellknown-6agm2x70.js → aisdk-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{wellknown-6prwharc.js → aisdk-6prwharc.js} +0 -0
  832. /package/dist/chunks/{wellknown-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{wellknown-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{wellknown-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{wellknown-7rvsyqjv.js → aisdk-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{wellknown-822emrt2.js → aisdk-822emrt2.js} +0 -0
  837. /package/dist/chunks/{wellknown-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{wellknown-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{wellknown-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{wellknown-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{wellknown-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{wellknown-9ceax7yg.js → aisdk-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{wellknown-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{wellknown-ade8csyh.js → aisdk-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{wellknown-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{wellknown-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{wellknown-beh6qq61.js → aisdk-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{wellknown-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{wellknown-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{wellknown-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{wellknown-cqv5kn06.js → aisdk-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{wellknown-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{wellknown-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{wellknown-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{wellknown-df08tz66.js → aisdk-df08tz66.js} +0 -0
  856. /package/dist/chunks/{wellknown-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{wellknown-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{wellknown-ean2d8b5.js → aisdk-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{wellknown-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{wellknown-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{wellknown-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{wellknown-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{wellknown-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{wellknown-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{wellknown-fkpq3x5p.js → aisdk-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{wellknown-g86h250q.js → aisdk-g86h250q.js} +0 -0
  867. /package/dist/chunks/{wellknown-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{wellknown-gftt206x.js → aisdk-gftt206x.js} +0 -0
  869. /package/dist/chunks/{wellknown-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{wellknown-hk9envan.js → aisdk-hk9envan.js} +0 -0
  871. /package/dist/chunks/{wellknown-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{wellknown-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{wellknown-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{wellknown-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{wellknown-jwr30sdr.js → aisdk-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{wellknown-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{wellknown-m18g726c.js → aisdk-m18g726c.js} +0 -0
  878. /package/dist/chunks/{wellknown-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{wellknown-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{wellknown-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{wellknown-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{wellknown-nh4v3znn.js → aisdk-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{wellknown-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{wellknown-p71gwv9c.js → aisdk-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{wellknown-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{wellknown-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{wellknown-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{wellknown-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{wellknown-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{wellknown-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{wellknown-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{wellknown-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{wellknown-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{wellknown-syrav9an.js → aisdk-syrav9an.js} +0 -0
  895. /package/dist/chunks/{wellknown-t03h4f5z.js → aisdk-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{wellknown-ty7weeps.js → aisdk-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{wellknown-v2dnd5dt.js → aisdk-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{wellknown-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{wellknown-vtarvj67.js → aisdk-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{wellknown-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{wellknown-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{wellknown-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{wellknown-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{wellknown-x4th4bpe.js → aisdk-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{wellknown-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{wellknown-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{wellknown-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{wellknown-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{wellknown-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{wellknown-zxpyjp51.js → aisdk-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{wellknown-zz5vv3aq.js → aisdk-zz5vv3aq.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./wellknown-5kcdngh6.js";
4
+ } from "./aisdk-vfzbs16a.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./wellknown-s2cspse1.js";
8
+ } from "./aisdk-erpgh78q.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./wellknown-pknna89w.js";
11
+ } from "./aisdk-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./wellknown-m1714858.js";
14
+ } from "./aisdk-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./wellknown-9rqn6x4v.js";
17
+ } from "./aisdk-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID20,
26
- Info: () => Info28,
25
+ ID: () => ID21,
26
+ Info: () => Info31,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service87,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node85
32
+ node: () => node89
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -38,25 +38,25 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
38
38
  import { Integration } from "@opencode/schema/integration";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
40
40
  import { EffectFlock } from "@opencode/util/effect-flock";
41
- var ID20 = Credential.ID;
41
+ var ID21 = Credential.ID;
42
42
  var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
45
45
  var Value2 = Credential.Value;
46
- var Event18 = Credential.Event;
46
+ var Event19 = Credential.Event;
47
47
  var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
48
48
 
49
- class Info28 extends Schema.Class("Credential.Info")({
50
- id: ID20,
49
+ class Info31 extends Schema.Class("Credential.Info")({
50
+ id: ID21,
51
51
  integrationID: Integration.ID,
52
52
  label: Schema.String,
53
53
  value: Value2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service83 extends Context.Service()("@opencode/Credential") {
57
+ class Service87 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service83, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service87, Effect.gen(function* () {
60
60
  const db = (yield* Service94).db;
61
61
  const bus = yield* Service93;
62
62
  const flock = yield* EffectFlock.Service;
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
66
66
  const stored = (row) => {
67
67
  if (!row.integration_id)
68
68
  return;
69
- return new Info28({
69
+ return new Info31({
70
70
  id: row.id,
71
71
  integrationID: row.integration_id,
72
72
  label: row.label,
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service83.of({
96
+ const service = Service87.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
123
123
  return row ? stored(row) : undefined;
124
124
  }),
125
125
  create: Effect.fn("Credential.create")(function* (input) {
126
- const credential = new Info28({
127
- id: input.id ?? ID20.create(),
126
+ const credential = new Info31({
127
+ id: input.id ?? ID21.create(),
128
128
  integrationID: input.integrationID,
129
129
  label: input.label ?? "default",
130
130
  value: input.value
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
154
154
  type: credential.value.type,
155
155
  active: activated
156
156
  });
157
- yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
157
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
158
158
  if (activated)
159
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
159
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
160
160
  return credential;
161
161
  }),
162
162
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
172
172
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
173
173
  if (integrationID) {
174
174
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
175
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
175
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
176
176
  }
177
177
  }),
178
178
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
197
197
  labelChanged: updates.label !== undefined && updates.label !== credential.label
198
198
  });
199
199
  if (updates.label !== undefined && updates.label !== credential.label)
200
- yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
200
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
201
201
  }),
202
202
  remove: Effect.fn("Credential.remove")(function* (id) {
203
203
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
226
226
  ...removed.switched ? { replacementID: removed.credentialID } : {}
227
227
  });
228
228
  if (removed.integrationID)
229
- yield* bus.publish(Event18.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
229
+ yield* bus.publish(Event19.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
230
230
  if (removed.switched)
231
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
231
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
232
232
  })
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node85 = makeGlobalNode({ service: Service83, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node89 = makeGlobalNode({ service: Service87, layer, deps: [node96, node95, EffectFlock.node] });
237
237
 
238
- export { ID20, OAuth3, Key4, External2, Value2, Event18, expiring2, Info28, Service83, node85, exports_credential };
238
+ export { ID21, OAuth3, Key4, External2, Value2, Event19, expiring2, Info31, Service87, node89, exports_credential };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service78
3
- } from "./wellknown-v84ns8g0.js";
2
+ Service69
3
+ } from "./aisdk-pdyy7gz9.js";
4
4
  import {
5
- Service77
6
- } from "./wellknown-9ch8vfxj.js";
5
+ Service68
6
+ } from "./aisdk-m4pn5tm0.js";
7
7
  import {
8
8
  parse2
9
- } from "./wellknown-a8x8zk8z.js";
9
+ } from "./aisdk-p201jne6.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./wellknown-yvtc2x31.js";
13
+ } from "./aisdk-yvtc2x31.js";
14
14
  import {
15
15
  __export
16
- } from "./wellknown-9rqn6x4v.js";
16
+ } from "./aisdk-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin17
22
+ Plugin: () => Plugin34
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin17 = define({
28
+ var Plugin34 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service77;
31
+ const config = yield* Service68;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service78;
33
+ const watcher = yield* Service69;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
81
81
  return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
82
82
  }
83
83
 
84
- export { Plugin17, exports_compatibility };
84
+ export { Plugin34, exports_compatibility };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./wellknown-vhd8852r.js";
3
+ } from "./aisdk-7vhwyy1h.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make14 = createLocalProviderPlugin2({
37
+ var make19 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make14 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make14();
70
+ var OllamaPlugin2 = make19();
71
71
 
72
- export { make14, OllamaPlugin2 };
72
+ export { make19, OllamaPlugin2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  HEADER2,
3
3
  FORK_HEADER2
4
- } from "./wellknown-yr705xyq.js";
4
+ } from "./aisdk-yr705xyq.js";
5
5
  import {
6
6
  ID3
7
- } from "./wellknown-c6x0pbrm.js";
7
+ } from "./aisdk-39njpq4v.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/session.ts
13
13
  var exports_session2 = {};
14
14
  __export(exports_session2, {
15
15
  ClaudeSessionHooks: () => exports_session2,
16
- register: () => register4
16
+ register: () => register5
17
17
  });
18
18
  import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
28
28
  };
29
29
  return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
30
30
  };
31
- var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
31
+ var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
32
32
  yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
33
33
  event.headers[HEADER2] = event.kind;
34
34
  if (event.kind !== "primary")
@@ -53,4 +53,4 @@ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
53
53
  }), { providerID: ID3 });
54
54
  });
55
55
 
56
- export { register4, exports_session2 };
56
+ export { register5, exports_session2 };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./wellknown-rb9dy4dg.js";
8
+ } from "./aisdk-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./wellknown-hgzwgvze.js";
11
+ } from "./aisdk-hgzwgvze.js";
12
12
  import {
13
- Service90
14
- } from "./wellknown-cy1060tq.js";
13
+ Service82
14
+ } from "./aisdk-3fevqy49.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./wellknown-1ysk8pqb.js";
17
+ } from "./aisdk-w9y1k97s.js";
18
18
  import {
19
19
  __export
20
- } from "./wellknown-9rqn6x4v.js";
20
+ } from "./aisdk-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin19,
25
+ Plugin: () => Plugin39,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin19 = define({
36
+ var Plugin39 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service90;
39
+ const location = yield* Service82;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
561
561
  return yield* diffAgainstRef(ctx, ref, options);
562
562
  });
563
563
 
564
- export { Plugin19, exports_git };
564
+ export { Plugin39, exports_git };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77
3
- } from "./wellknown-9ch8vfxj.js";
2
+ Service68
3
+ } from "./aisdk-m4pn5tm0.js";
4
4
  import {
5
5
  observe2
6
- } from "./wellknown-tvtps2q9.js";
6
+ } from "./aisdk-tvtps2q9.js";
7
7
  import {
8
- Service76
9
- } from "./wellknown-652m3am9.js";
8
+ Service66
9
+ } from "./aisdk-nd60m3ta.js";
10
10
  import {
11
11
  Condition2,
12
- ID4,
12
+ ID5,
13
13
  Outcome3,
14
14
  Request2,
15
15
  Status2,
16
16
  toCreateInput2,
17
17
  When2,
18
- NotFoundError2,
18
+ NotFoundError3,
19
19
  DisabledError2,
20
- Service15
21
- } from "./wellknown-13tsap6q.js";
20
+ Service16
21
+ } from "./aisdk-e8qhv52p.js";
22
22
  import {
23
23
  __export
24
- } from "./wellknown-9rqn6x4v.js";
24
+ } from "./aisdk-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/schedule.ts
27
27
  var exports_schedule = {};
28
28
  __export(exports_schedule, {
29
29
  IDInput: () => IDInput2,
30
- Plugin: () => Plugin45,
30
+ Plugin: () => Plugin6,
31
31
  ScheduleTools: () => exports_schedule,
32
32
  View: () => View2
33
33
  });
@@ -40,7 +40,7 @@ var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $
40
40
 
41
41
  // src/tool/plugin/schedule.ts
42
42
  var View2 = Schema.Struct({
43
- id: ID4,
43
+ id: ID5,
44
44
  name: Schema.String.pipe(optional),
45
45
  when: When2,
46
46
  tz: Schema.String,
@@ -61,19 +61,19 @@ var ListOutput = Schema.Struct({
61
61
  schedules: Schema.Array(View2)
62
62
  });
63
63
  var IDInput2 = Schema.Struct({
64
- id: ID4.annotate({ description: "Schedule id from schedule_list." })
64
+ id: ID5.annotate({ description: "Schedule id from schedule_list." })
65
65
  });
66
- var RemoveOutput = Schema.Struct({ id: ID4, removed: Schema.Boolean });
67
- var Plugin45 = {
66
+ var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
67
+ var Plugin6 = {
68
68
  id: "opencode.tool.schedule",
69
69
  effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
70
- const config = yield* Service77;
71
- const schedules = yield* Service15;
70
+ const config = yield* Service68;
71
+ const schedules = yield* Service16;
72
72
  const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
73
- const flags = yield* Service76;
73
+ const flags = yield* Service66;
74
74
  const enabled = () => flags.resolve(loaded.entries).schedules.enabled;
75
75
  const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
76
- const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError2({ scheduleID: id })));
76
+ const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError3({ scheduleID: id })));
77
77
  const failure = (error) => new ToolFailure({ message: error.message, error });
78
78
  yield* ctx.tool.transform((editor) => {
79
79
  if (!enabled())
@@ -201,4 +201,4 @@ function toView(info) {
201
201
  };
202
202
  }
203
203
 
204
- export { View2, IDInput2, Plugin45, exports_schedule };
204
+ export { View2, IDInput2, Plugin6, exports_schedule };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
5
  Service94,
6
6
  node96
7
- } from "./wellknown-5kcdngh6.js";
7
+ } from "./aisdk-vfzbs16a.js";
8
8
  import {
9
9
  Service93,
10
10
  node95
11
- } from "./wellknown-s2cspse1.js";
11
+ } from "./aisdk-erpgh78q.js";
12
12
  import {
13
- Service92,
14
- node94
15
- } from "./wellknown-qq8nxmq8.js";
13
+ Service91,
14
+ node93
15
+ } from "./aisdk-85yc0hq8.js";
16
16
  import {
17
- ID22,
17
+ ID18,
18
18
  Current3,
19
- Info32,
19
+ Info27,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event16,
22
22
  Vcs3
23
- } from "./wellknown-963hk181.js";
23
+ } from "./aisdk-r9z26v6p.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./wellknown-034tev2y.js";
27
+ } from "./aisdk-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./wellknown-8sxe6kv8.js";
30
+ } from "./aisdk-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./wellknown-ayjs7tqn.js";
33
+ } from "./aisdk-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./wellknown-9rqn6x4v.js";
36
+ } from "./aisdk-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID21,
44
- Info: () => Info31,
45
- NotFoundError: () => NotFoundError14,
43
+ ID: () => ID17,
44
+ Info: () => Info26,
45
+ NotFoundError: () => NotFoundError13,
46
46
  Project: () => exports_project,
47
- Service: () => Service91,
47
+ Service: () => Service83,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
50
  configured: () => configured12,
51
- node: () => node93,
51
+ node: () => node85,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID21 = ID22;
64
+ var ID17 = ID18;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info31 = Info32;
67
+ var Info26 = Info27;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID21
70
+ class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID17
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service91 extends Context.Service()("@opencode/Project") {
90
+ class Service83 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,10 +111,10 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service91, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service92;
117
+ const git = yield* Service91;
118
118
  const proc = yield* AppProcess.Service;
119
119
  const bus = yield* Service93;
120
120
  const db = (yield* Service94).db;
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event16.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event16.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID21.global,
167
+ previous: project.previous ?? ID17.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError14({ projectID: input.projectID });
190
+ return yield* new NotFoundError13({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event16.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event16.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID21.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID21.make(root) : undefined;
247
+ return root ? ID17.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID21.global,
263
+ id: id ?? ID17.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID21.make(node) : undefined;
288
+ return node ? ID17.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID21.global,
296
+ id: id ?? ID17.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID21.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event16.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service91.of({ list, update, activate, resolve, sweep });
348
+ return Service83.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
350
  function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service91,
352
+ service: Service83,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
354
+ deps: [node95, node96, FSUtil.node, node93, AppProcess.node]
355
355
  });
356
356
  }
357
- var node93 = configured12();
357
+ var node85 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service91;
361
+ const project = yield* Service83;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node93]
364
+ deps: [node85]
365
365
  });
366
366
 
367
- export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
367
+ export { ID17, Vcs2, Current2, Info26, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service83, configured12, node85, sweepNode2, exports_project };