@opencode/core 0.0.0-dev-19594 → 0.0.0-dev-19595

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +2 -2
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{mime-35wynegs.js → persistent-pty-01375378.js} +2 -2
  9. package/dist/chunks/{mime-cc31018j.js → persistent-pty-067daj8h.js} +30 -30
  10. package/dist/chunks/{mime-219neeqh.js → persistent-pty-06tybfx6.js} +5 -5
  11. package/dist/chunks/{mime-pt5fe4wm.js → persistent-pty-07bs0vjz.js} +13 -13
  12. package/dist/chunks/{mime-kx4bd44t.js → persistent-pty-07yh2w3s.js} +6 -6
  13. package/dist/chunks/{mime-tr59z4r6.js → persistent-pty-08c87ar3.js} +17 -17
  14. package/dist/chunks/{mime-33n3bzdy.js → persistent-pty-0axr4kr0.js} +6 -6
  15. package/dist/chunks/{mime-1vh2jpye.js → persistent-pty-0c4p4pyk.js} +33 -31
  16. package/dist/chunks/{mime-qc2jvtz9.js → persistent-pty-0kbrq2j8.js} +15 -15
  17. package/dist/chunks/{mime-vc4e6k4r.js → persistent-pty-0nvtj8my.js} +4 -4
  18. package/dist/chunks/{mime-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{mime-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{mime-gb2e7tdd.js → persistent-pty-0vt4hkwr.js} +5 -5
  21. package/dist/chunks/{mime-9fk0tq8j.js → persistent-pty-0wy9zd5d.js} +11 -11
  22. package/dist/chunks/{mime-j3y0vmp2.js → persistent-pty-156rc272.js} +15 -15
  23. package/dist/chunks/{mime-f640cp8s.js → persistent-pty-16mp2rsj.js} +5 -5
  24. package/dist/chunks/{mime-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{mime-dagq8swk.js → persistent-pty-1bsf6wqz.js} +90 -90
  26. package/dist/chunks/{mime-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{mime-g3vtg5jq.js → persistent-pty-1j73jf0y.js} +6 -6
  28. package/dist/chunks/{mime-wavq5vqb.js → persistent-pty-1nfpt5r1.js} +1 -1
  29. package/dist/chunks/{mime-cga0myw9.js → persistent-pty-1nvffc7z.js} +7 -7
  30. package/dist/chunks/{mime-6pg9yxyn.js → persistent-pty-205snssp.js} +18 -18
  31. package/dist/chunks/{mime-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  32. package/dist/chunks/{mime-d2q9jptv.js → persistent-pty-22cd4xtf.js} +43 -43
  33. package/dist/chunks/{mime-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  34. package/dist/chunks/{mime-rqkpr08e.js → persistent-pty-28m91z5w.js} +44 -44
  35. package/dist/chunks/{mime-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{mime-2cv161v0.js → persistent-pty-2gj877a4.js} +22 -22
  37. package/dist/chunks/{mime-ppg8cm88.js → persistent-pty-2p4phcfp.js} +162 -162
  38. package/dist/chunks/{mime-ra43e7fd.js → persistent-pty-2wacw76k.js} +47 -47
  39. package/dist/chunks/{mime-adtd93wp.js → persistent-pty-2ww59eqx.js} +28 -28
  40. package/dist/chunks/{mime-v4xb0e1g.js → persistent-pty-2zw4rjvd.js} +9 -9
  41. package/dist/chunks/{mime-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{mime-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{mime-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{mime-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{mime-t0fxg8b9.js → persistent-pty-3w2b2yj4.js} +5 -5
  46. package/dist/chunks/{mime-pdcjakb6.js → persistent-pty-3ydh67fs.js} +41 -41
  47. package/dist/chunks/{mime-1cbk4m95.js → persistent-pty-40ykk5rq.js} +12 -12
  48. package/dist/chunks/{mime-zqbh65n6.js → persistent-pty-41ysy2js.js} +25 -25
  49. package/dist/chunks/{mime-zyyezbff.js → persistent-pty-44zaeaht.js} +12 -12
  50. package/dist/chunks/{mime-3zygn6db.js → persistent-pty-476tty53.js} +16 -16
  51. package/dist/chunks/{mime-rm1v9tpv.js → persistent-pty-496ptbe5.js} +39 -39
  52. package/dist/chunks/{mime-6stpc6jq.js → persistent-pty-496zq10v.js} +30 -30
  53. package/dist/chunks/{mime-5y1dhwgz.js → persistent-pty-4bdgx2my.js} +11 -11
  54. package/dist/chunks/{mime-f565jxke.js → persistent-pty-4jkr53zg.js} +14 -14
  55. package/dist/chunks/{mime-skgd961f.js → persistent-pty-4mdcdt6k.js} +35 -35
  56. package/dist/chunks/{mime-tpnhe26j.js → persistent-pty-4xcpnpvy.js} +8 -8
  57. package/dist/chunks/{mime-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{mime-pfm8588r.js → persistent-pty-5765z361.js} +11 -11
  59. package/dist/chunks/{mime-et0rkxxj.js → persistent-pty-57e9z27j.js} +8 -8
  60. package/dist/chunks/{mime-qkdjfw93.js → persistent-pty-5aeq7032.js} +13 -13
  61. package/dist/chunks/{mime-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{mime-seam05pa.js → persistent-pty-5s1ew4p0.js} +10 -10
  63. package/dist/chunks/{mime-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{mime-669tq793.js → persistent-pty-669tq793.js} +1 -1
  65. package/dist/chunks/{mime-3djbw1yw.js → persistent-pty-67z4309q.js} +28 -28
  66. package/dist/chunks/{mime-ahxwejs5.js → persistent-pty-6kckr5h4.js} +6 -6
  67. package/dist/chunks/{mime-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{mime-rr835zjc.js → persistent-pty-6rx7art5.js} +16 -16
  69. package/dist/chunks/{mime-kn0whz0h.js → persistent-pty-70znhec0.js} +24 -24
  70. package/dist/chunks/{mime-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
  71. package/dist/chunks/{mime-f160myny.js → persistent-pty-72v2qqr0.js} +5 -5
  72. package/dist/chunks/{mime-fvx6fngr.js → persistent-pty-74vtdart.js} +15 -15
  73. package/dist/chunks/{mime-pt4bgws9.js → persistent-pty-758t4wd9.js} +25 -25
  74. package/dist/chunks/{mime-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{mime-2k8khapm.js → persistent-pty-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{mime-xn5rvdk3.js → persistent-pty-7m5f9412.js} +8 -8
  77. package/dist/chunks/{mime-444p8hwk.js → persistent-pty-7qbafv54.js} +3 -3
  78. package/dist/chunks/{mime-0qxam8dj.js → persistent-pty-81swgkk7.js} +9 -9
  79. package/dist/chunks/{mime-anxsz8s7.js → persistent-pty-83x3c1cr.js} +13 -13
  80. package/dist/chunks/{mime-844ef7ks.js → persistent-pty-844ef7ks.js} +1 -1
  81. package/dist/chunks/{mime-hwfrndnj.js → persistent-pty-858znxdh.js} +15 -15
  82. package/dist/chunks/{mime-70d2s7af.js → persistent-pty-8baymvr8.js} +1 -1
  83. package/dist/chunks/{mime-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{mime-7fejhyaj.js → persistent-pty-8gp97p59.js} +17 -17
  85. package/dist/chunks/{mime-5r46t150.js → persistent-pty-8hz2npkx.js} +7 -7
  86. package/dist/chunks/{mime-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{mime-5cbe66kg.js → persistent-pty-8rr4encj.js} +14 -14
  88. package/dist/chunks/{mime-sm7k231e.js → persistent-pty-9fpgstc4.js} +8 -8
  89. package/dist/chunks/{mime-8bnrj9ah.js → persistent-pty-9fxcdvg0.js} +9 -9
  90. package/dist/chunks/{mime-zfyh5k5p.js → persistent-pty-9nw0mbe1.js} +30 -30
  91. package/dist/chunks/{mime-kpzqjmdf.js → persistent-pty-9qxgj1yn.js} +8 -8
  92. package/dist/chunks/{mime-wjf2ryf5.js → persistent-pty-9vcfs5dg.js} +18 -18
  93. package/dist/chunks/{mime-rf80fxgj.js → persistent-pty-9w4ppqge.js} +5 -5
  94. package/dist/chunks/{mime-81rrwt6s.js → persistent-pty-9yr2yfq4.js} +6 -6
  95. package/dist/chunks/{mime-0q847seh.js → persistent-pty-9z190z2h.js} +8 -8
  96. package/dist/chunks/{mime-kpvyk30t.js → persistent-pty-9zswys26.js} +9 -9
  97. package/dist/chunks/{mime-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{mime-7fkzzjzh.js → persistent-pty-a23yy72n.js} +14 -14
  99. package/dist/chunks/{mime-qk0gpxf2.js → persistent-pty-a3gkz02n.js} +8 -8
  100. package/dist/chunks/{mime-xj7p06cz.js → persistent-pty-a3sm1a4h.js} +13 -13
  101. package/dist/chunks/{mime-64mdbckw.js → persistent-pty-a8axnbpa.js} +23 -23
  102. package/dist/chunks/{mime-9eafbtjx.js → persistent-pty-aa476z6j.js} +4 -4
  103. package/dist/chunks/{mime-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  104. package/dist/chunks/{mime-fr161fk4.js → persistent-pty-admsvzww.js} +4 -4
  105. package/dist/chunks/{mime-ke3mc4hq.js → persistent-pty-aemcnybr.js} +11 -11
  106. package/dist/chunks/{mime-2gwea9g5.js → persistent-pty-avan7d23.js} +19 -19
  107. package/dist/chunks/{mime-q5r46mjj.js → persistent-pty-axcfkn0b.js} +29 -29
  108. package/dist/chunks/{mime-b11403r6.js → persistent-pty-ayn42wpr.js} +4 -4
  109. package/dist/chunks/{mime-420zfhbw.js → persistent-pty-b1gy5zdm.js} +11 -11
  110. package/dist/chunks/{mime-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{mime-sd8yy5r9.js → persistent-pty-b6thfyg0.js} +21 -21
  112. package/dist/chunks/{mime-7jryds9y.js → persistent-pty-brpq8yh8.js} +9 -9
  113. package/dist/chunks/persistent-pty-by5v678g.js +18 -0
  114. package/dist/chunks/{mime-818pfwc9.js → persistent-pty-c1495ybz.js} +8 -8
  115. package/dist/chunks/{mime-wzv25m25.js → persistent-pty-c24ss25q.js} +10 -10
  116. package/dist/chunks/{mime-c5gn303e.js → persistent-pty-c5gn303e.js} +1 -1
  117. package/dist/chunks/{mime-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{mime-mdwr1hje.js → persistent-pty-ch16p0qp.js} +3 -3
  119. package/dist/chunks/{mime-8na3ps9f.js → persistent-pty-cjjk0ngx.js} +17 -17
  120. package/dist/chunks/{mime-13a7a1wx.js → persistent-pty-cq5jfqfc.js} +25 -25
  121. package/dist/chunks/{mime-xkanz2ea.js → persistent-pty-crfr8jm1.js} +10 -10
  122. package/dist/chunks/{mime-8q7cq0y1.js → persistent-pty-csdaj16z.js} +3 -3
  123. package/dist/chunks/{mime-0artwwxx.js → persistent-pty-cw8m5w0x.js} +3 -3
  124. package/dist/chunks/{mime-r9asyhme.js → persistent-pty-cztn7rx7.js} +11 -11
  125. package/dist/chunks/{mime-pa86c6bb.js → persistent-pty-d1qe38wd.js} +4 -4
  126. package/dist/chunks/{mime-4780s8zr.js → persistent-pty-d4eh0prg.js} +9 -9
  127. package/dist/chunks/{mime-mez6c9p4.js → persistent-pty-dmcv08zt.js} +13 -13
  128. package/dist/chunks/{mime-7dt64zzx.js → persistent-pty-dpz13x6g.js} +23 -23
  129. package/dist/chunks/{mime-xmvk2ac6.js → persistent-pty-dqhps3gd.js} +9 -9
  130. package/dist/chunks/{mime-jyzy5bh9.js → persistent-pty-dx72tz9d.js} +21 -21
  131. package/dist/chunks/{mime-zjw2f83e.js → persistent-pty-dyznf783.js} +61 -61
  132. package/dist/chunks/{mime-txhedez9.js → persistent-pty-e3db9cm6.js} +28 -28
  133. package/dist/chunks/{mime-bndc73cn.js → persistent-pty-e5nv3ght.js} +5 -5
  134. package/dist/chunks/{mime-bhcmsjc5.js → persistent-pty-e6mws8mz.js} +13 -13
  135. package/dist/chunks/{mime-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{mime-0pb75hch.js → persistent-pty-enks4xxx.js} +5 -5
  137. package/dist/chunks/{mime-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{mime-g190xswt.js → persistent-pty-f3ngv102.js} +4 -4
  139. package/dist/chunks/{mime-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
  140. package/dist/chunks/{mime-50spkatp.js → persistent-pty-fch79rh9.js} +28 -3
  141. package/dist/chunks/{mime-mz6ae2yf.js → persistent-pty-fhnehbw5.js} +1 -1
  142. package/dist/chunks/{mime-m1mf6fzk.js → persistent-pty-fmcf9gbb.js} +36 -36
  143. package/dist/chunks/{mime-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{mime-z053jb5k.js → persistent-pty-g25g5a4k.js} +21 -21
  145. package/dist/chunks/{mime-gsy31vka.js → persistent-pty-g25n9e5v.js} +8 -8
  146. package/dist/chunks/{mime-sxz6gkc3.js → persistent-pty-g8d3gcyj.js} +4 -4
  147. package/dist/chunks/{mime-6sm2335y.js → persistent-pty-g8r6989n.js} +8 -8
  148. package/dist/chunks/{mime-g95881nk.js → persistent-pty-gar1hgen.js} +6 -6
  149. package/dist/chunks/{mime-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{mime-g2v8q978.js → persistent-pty-gk7f333q.js} +64 -64
  151. package/dist/chunks/{mime-m86bnw2c.js → persistent-pty-gsx0ryk4.js} +9 -9
  152. package/dist/chunks/{mime-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{mime-h752p31j.js → persistent-pty-gwmaab63.js} +11 -11
  154. package/dist/chunks/{mime-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{mime-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{mime-cq37gk0t.js → persistent-pty-hfdr1yjj.js} +4 -4
  157. package/dist/chunks/{mime-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
  158. package/dist/chunks/{mime-a6wxbqrd.js → persistent-pty-hk10kj8x.js} +13 -13
  159. package/dist/chunks/{mime-c3s2gn8c.js → persistent-pty-hnc9qj7b.js} +12 -12
  160. package/dist/chunks/{mime-t92h3xfh.js → persistent-pty-hz420t0m.js} +15 -15
  161. package/dist/chunks/{mime-wwgj97ya.js → persistent-pty-j0x671y3.js} +15 -15
  162. package/dist/chunks/{mime-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  163. package/dist/chunks/{mime-3bxse654.js → persistent-pty-j91288an.js} +9 -9
  164. package/dist/chunks/{mime-hbbajkb6.js → persistent-pty-jav6p6ha.js} +38 -38
  165. package/dist/chunks/{mime-6heswp50.js → persistent-pty-jcyd57qm.js} +9 -9
  166. package/dist/chunks/{mime-r65rh87v.js → persistent-pty-jjefxv93.js} +11 -11
  167. package/dist/chunks/{mime-edtxp2z3.js → persistent-pty-jpej03b4.js} +1 -1
  168. package/dist/chunks/{mime-xtdnnkz9.js → persistent-pty-jt82t686.js} +24 -24
  169. package/dist/chunks/{mime-gv2jqw69.js → persistent-pty-k165hmq5.js} +20 -20
  170. package/dist/chunks/{mime-stk15n3e.js → persistent-pty-k8jcpvvr.js} +47 -47
  171. package/dist/chunks/{mime-5w49rw7h.js → persistent-pty-kfekjm9s.js} +18 -18
  172. package/dist/chunks/{mime-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  173. package/dist/chunks/{mime-8x7bs8k4.js → persistent-pty-kh1txrez.js} +9 -9
  174. package/dist/chunks/{mime-sy5x3wzp.js → persistent-pty-km3hm7vc.js} +24 -24
  175. package/dist/chunks/{mime-tdjcx4hx.js → persistent-pty-kyjj2hpk.js} +29 -29
  176. package/dist/chunks/{mime-265kqrgy.js → persistent-pty-kz70mmnm.js} +1 -1
  177. package/dist/chunks/{mime-1eaf0dqh.js → persistent-pty-kz993g5t.js} +7 -7
  178. package/dist/chunks/{mime-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{mime-5yeq06a0.js → persistent-pty-marnn1hp.js} +6 -6
  180. package/dist/chunks/{mime-mfhfdr54.js → persistent-pty-mfhfdr54.js} +1 -1
  181. package/dist/chunks/{mime-2fz3ddp8.js → persistent-pty-mm04bz81.js} +16 -16
  182. package/dist/chunks/{mime-bbrkv54p.js → persistent-pty-mm6h0sq5.js} +25 -25
  183. package/dist/chunks/{mime-133n9d2d.js → persistent-pty-mnqckem1.js} +9 -9
  184. package/dist/chunks/{mime-tst7fck9.js → persistent-pty-n5hgnsg4.js} +8 -8
  185. package/dist/chunks/{mime-qbx47xy2.js → persistent-pty-nc5bxtt4.js} +9 -9
  186. package/dist/chunks/persistent-pty-nn38a0fv.js +247 -0
  187. package/dist/chunks/{mime-axyhzpge.js → persistent-pty-nnrfkqda.js} +20 -20
  188. package/dist/chunks/{mime-e6prdszb.js → persistent-pty-nqm8jas2.js} +36 -36
  189. package/dist/chunks/{mime-t0x5rdq8.js → persistent-pty-p1wf2k30.js} +9 -9
  190. package/dist/chunks/{mime-8pcfc58d.js → persistent-pty-p8ad8txy.js} +32 -32
  191. package/dist/chunks/{mime-eqde16p0.js → persistent-pty-pbkjeet7.js} +18 -18
  192. package/dist/chunks/{mime-2ge8dzt3.js → persistent-pty-pdn6mkhs.js} +29 -29
  193. package/dist/chunks/{mime-fvhxsqzp.js → persistent-pty-pdps0bse.js} +12 -12
  194. package/dist/chunks/{mime-hr15y0yn.js → persistent-pty-pedsh274.js} +6 -6
  195. package/dist/chunks/{mime-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{mime-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{mime-t9zs3egg.js → persistent-pty-pmr4s4kc.js} +4 -4
  198. package/dist/chunks/{mime-wa22fvar.js → persistent-pty-pqsh7sw8.js} +24 -24
  199. package/dist/chunks/{mime-870jgjkc.js → persistent-pty-pwxeempz.js} +22 -22
  200. package/dist/chunks/{mime-njct8jvz.js → persistent-pty-q5rhn9x0.js} +11 -11
  201. package/dist/chunks/{mime-y1x7r325.js → persistent-pty-q8nw8w0b.js} +32 -32
  202. package/dist/chunks/{mime-tfwtnexv.js → persistent-pty-qj8patcw.js} +10 -10
  203. package/dist/chunks/{mime-eatzh2k7.js → persistent-pty-qm01ndw7.js} +10 -10
  204. package/dist/chunks/{mime-bgxcxs0p.js → persistent-pty-qn4ba14w.js} +5 -5
  205. package/dist/chunks/{mime-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  206. package/dist/chunks/{mime-w3zbj2ne.js → persistent-pty-qtj6hy35.js} +44 -44
  207. package/dist/chunks/{mime-35vdht0v.js → persistent-pty-qwgwmjpf.js} +4 -4
  208. package/dist/chunks/{mime-hs2a3b3x.js → persistent-pty-r0cp9c3a.js} +3 -3
  209. package/dist/chunks/{mime-704h20fa.js → persistent-pty-r12607a7.js} +14 -14
  210. package/dist/chunks/{mime-w4arg62q.js → persistent-pty-r33ff4dw.js} +6 -6
  211. package/dist/chunks/{mime-r5x6zcsm.js → persistent-pty-r5x6zcsm.js} +1 -1
  212. package/dist/chunks/{mime-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
  213. package/dist/chunks/{mime-1p086jrz.js → persistent-pty-rjncv4cx.js} +11 -11
  214. package/dist/chunks/{mime-ywcdcbeh.js → persistent-pty-rq1dwzcr.js} +13 -13
  215. package/dist/chunks/{mime-s140sdf9.js → persistent-pty-rsfa6j5g.js} +6 -6
  216. package/dist/chunks/{mime-z16ek00m.js → persistent-pty-rt91ng8c.js} +279 -279
  217. package/dist/chunks/{mime-jgs57335.js → persistent-pty-rvsh4nhd.js} +23 -23
  218. package/dist/chunks/{mime-hssj4d10.js → persistent-pty-rvxgyzv0.js} +35 -35
  219. package/dist/chunks/{mime-8qh7f6m5.js → persistent-pty-rycxbs55.js} +32 -32
  220. package/dist/chunks/{mime-zyyy8fjh.js → persistent-pty-s2q6918b.js} +10 -10
  221. package/dist/chunks/{mime-73zec2db.js → persistent-pty-s586x74b.js} +13 -13
  222. package/dist/chunks/{mime-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
  223. package/dist/chunks/{mime-h4xx3q8r.js → persistent-pty-s8hds3n7.js} +41 -41
  224. package/dist/chunks/{mime-e07961mt.js → persistent-pty-s8hqqq62.js} +23 -23
  225. package/dist/chunks/{mime-yt0fqk68.js → persistent-pty-s8zy8myc.js} +5 -5
  226. package/dist/chunks/{mime-2wyn68kt.js → persistent-pty-sg67attt.js} +93 -93
  227. package/dist/chunks/{mime-1qy9swdm.js → persistent-pty-svxpmbmv.js} +15 -15
  228. package/dist/chunks/{mime-tqtqm0tk.js → persistent-pty-t6apg4xb.js} +21 -21
  229. package/dist/chunks/{mime-2vs2nh1n.js → persistent-pty-t7n9q6bq.js} +4 -4
  230. package/dist/chunks/{mime-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{mime-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{mime-0rh963zz.js → persistent-pty-tcmfg0c6.js} +15 -15
  233. package/dist/chunks/{mime-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  234. package/dist/chunks/{mime-52xa8h0k.js → persistent-pty-tfna5j6r.js} +15 -15
  235. package/dist/chunks/{mime-59c8rz3w.js → persistent-pty-tspgchm8.js} +17 -17
  236. package/dist/chunks/{mime-vv47xjan.js → persistent-pty-tt6wxkxp.js} +20 -20
  237. package/dist/chunks/{mime-0rn7bd2y.js → persistent-pty-tvhq06z0.js} +3 -3
  238. package/dist/chunks/{mime-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  239. package/dist/chunks/{mime-eraanh1f.js → persistent-pty-tx9qvpbt.js} +2 -2
  240. package/dist/chunks/{mime-5frpvc34.js → persistent-pty-tyqkzprt.js} +2 -2
  241. package/dist/chunks/{mime-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  242. package/dist/chunks/{mime-2ht41vc1.js → persistent-pty-vexsgc0a.js} +15 -15
  243. package/dist/chunks/{mime-hcv4nqeb.js → persistent-pty-vj87fc1v.js} +12 -4
  244. package/dist/chunks/{mime-qmd9v6g9.js → persistent-pty-vpesspm9.js} +15 -15
  245. package/dist/chunks/{mime-dvfrh357.js → persistent-pty-vrn1sxtn.js} +6 -6
  246. package/dist/chunks/{mime-2nm7ty4g.js → persistent-pty-vvgctfdq.js} +12 -12
  247. package/dist/chunks/{mime-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{mime-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{mime-qd153e6s.js → persistent-pty-w5dgsa5w.js} +8 -8
  250. package/dist/chunks/{mime-2x58g7fm.js → persistent-pty-wbjq657r.js} +37 -37
  251. package/dist/chunks/{mime-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  252. package/dist/chunks/{mime-2p6q1z9q.js → persistent-pty-wh1sxcy7.js} +8 -8
  253. package/dist/chunks/{mime-cfpeewsf.js → persistent-pty-wk8vywde.js} +17 -17
  254. package/dist/chunks/{mime-gcb8mzse.js → persistent-pty-wydq2hf7.js} +45 -45
  255. package/dist/chunks/{mime-ky1z1t7f.js → persistent-pty-wzsbb5hr.js} +32 -32
  256. package/dist/chunks/{mime-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{mime-f0r94znb.js → persistent-pty-x49tpfx8.js} +8 -8
  258. package/dist/chunks/{mime-cvtmmhw6.js → persistent-pty-xbh0n0bt.js} +1 -1
  259. package/dist/chunks/{mime-v2rhk2e4.js → persistent-pty-xbh1yte2.js} +18 -18
  260. package/dist/chunks/{mime-4xgk073c.js → persistent-pty-xf4dwdmn.js} +21 -21
  261. package/dist/chunks/{mime-qharf8gs.js → persistent-pty-xqmeh0zh.js} +19 -19
  262. package/dist/chunks/{mime-tt0d903s.js → persistent-pty-xqrmvh4d.js} +28 -28
  263. package/dist/chunks/{mime-mx7czsbd.js → persistent-pty-xta415tq.js} +21 -21
  264. package/dist/chunks/{mime-prkz2p0b.js → persistent-pty-xv814t3x.js} +11 -11
  265. package/dist/chunks/{mime-wyd5qy3e.js → persistent-pty-xwy7nsbm.js} +13 -13
  266. package/dist/chunks/{mime-d6k63gab.js → persistent-pty-y1eyp4h1.js} +46 -46
  267. package/dist/chunks/{mime-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{mime-k30yspdv.js → persistent-pty-y3qvm77n.js} +5 -5
  269. package/dist/chunks/{mime-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  270. package/dist/chunks/{mime-zb37mv0v.js → persistent-pty-y75c90f9.js} +6 -6
  271. package/dist/chunks/{mime-79j0w79y.js → persistent-pty-yag4m0hg.js} +27 -27
  272. package/dist/chunks/{mime-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{mime-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  274. package/dist/chunks/{mime-9h8p7dc2.js → persistent-pty-yxmjpxht.js} +26 -26
  275. package/dist/chunks/{mime-njhyngta.js → persistent-pty-yzpqraws.js} +2 -2
  276. package/dist/chunks/{mime-m6mq2hjy.js → persistent-pty-yzzaphg0.js} +4 -4
  277. package/dist/chunks/{mime-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{mime-b0dn0kc2.js → persistent-pty-z2d75gdc.js} +24 -24
  279. package/dist/chunks/{mime-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  280. package/dist/chunks/{mime-t2qnazqa.js → persistent-pty-zahra9jy.js} +25 -25
  281. package/dist/chunks/{mime-eq6c3fte.js → persistent-pty-zb4p73ts.js} +4 -4
  282. package/dist/chunks/{mime-z4y4a432.js → persistent-pty-zd83r0vm.js} +16 -16
  283. package/dist/chunks/{mime-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{mime-ye34jjbw.js → persistent-pty-zmjtwb5q.js} +23 -23
  285. package/dist/chunks/{mime-3gjcsfkp.js → persistent-pty-znp8765m.js} +30 -30
  286. package/dist/chunks/{mime-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{mime-z5e4xs1g.js → persistent-pty-zrhm0kb5.js} +11 -11
  288. package/dist/chunks/{mime-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{mime-dec7wy2e.js → persistent-pty-zy1ry69w.js} +25 -25
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +137 -137
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +119 -119
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +119 -119
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +115 -115
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +74 -74
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +99 -99
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +88 -88
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +126 -126
  473. package/dist/mcp/oauth.js +74 -74
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +85 -85
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +77 -77
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +83 -83
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +91 -91
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +115 -115
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +1 -1
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +125 -125
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +117 -117
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +110 -110
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +109 -109
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +79 -79
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +91 -91
  690. package/package.json +8 -8
  691. package/dist/chunks/mime-4v7qdvcn.js +0 -18
  692. package/dist/chunks/mime-x0mt5qzb.js +0 -247
  693. /package/dist/chunks/{mime-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  694. /package/dist/chunks/{mime-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{mime-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{mime-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{mime-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{mime-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{mime-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{mime-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{mime-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{mime-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{mime-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  704. /package/dist/chunks/{mime-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{mime-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{mime-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{mime-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{mime-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{mime-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{mime-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{mime-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  712. /package/dist/chunks/{mime-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{mime-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  714. /package/dist/chunks/{mime-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{mime-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{mime-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  717. /package/dist/chunks/{mime-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{mime-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{mime-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  720. /package/dist/chunks/{mime-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{mime-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{mime-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{mime-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{mime-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{mime-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{mime-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{mime-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{mime-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{mime-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{mime-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{mime-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{mime-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{mime-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{mime-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{mime-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  736. /package/dist/chunks/{mime-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{mime-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{mime-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{mime-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{mime-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{mime-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{mime-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{mime-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{mime-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{mime-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{mime-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{mime-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{mime-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  749. /package/dist/chunks/{mime-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{mime-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  751. /package/dist/chunks/{mime-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{mime-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  753. /package/dist/chunks/{mime-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{mime-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{mime-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{mime-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{mime-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{mime-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{mime-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{mime-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{mime-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{mime-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{mime-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{mime-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
  765. /package/dist/chunks/{mime-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{mime-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{mime-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{mime-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{mime-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{mime-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{mime-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{mime-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{mime-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{mime-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{mime-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{mime-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{mime-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{mime-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{mime-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{mime-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  781. /package/dist/chunks/{mime-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{mime-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{mime-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{mime-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{mime-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{mime-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Service77,
6
- node82
7
- } from "./mime-ke3mc4hq.js";
5
+ Service80,
6
+ node85
7
+ } from "./persistent-pty-aemcnybr.js";
8
8
  import {
9
- Service76,
10
- node81
11
- } from "./mime-z4y4a432.js";
9
+ Service79,
10
+ node84
11
+ } from "./persistent-pty-zd83r0vm.js";
12
12
  import {
13
- Service67,
14
- node72
15
- } from "./mime-fvhxsqzp.js";
13
+ Service78,
14
+ node83
15
+ } from "./persistent-pty-pdps0bse.js";
16
16
  import {
17
- ID13,
17
+ ID18,
18
18
  Current3,
19
- Info27,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event15,
21
+ Event20,
22
22
  Vcs3
23
- } from "./mime-0qxam8dj.js";
23
+ } from "./persistent-pty-81swgkk7.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./mime-8p4f9s12.js";
27
+ } from "./persistent-pty-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./mime-cfpkc3c9.js";
30
+ } from "./persistent-pty-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./mime-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID12,
40
- Info: () => Info26,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID17,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service66,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node71,
46
+ node: () => node82,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID12 = ID13;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info26 = Info27;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID12
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service66 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,12 +93,12 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service66, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service67;
98
+ const git = yield* Service78;
99
99
  const proc = yield* AppProcess.Service;
100
- const bus = yield* Service76;
101
- const db = (yield* Service77).db;
100
+ const bus = yield* Service79;
101
+ const db = (yield* Service80).db;
102
102
  const announcing = new Set;
103
103
  const persist = Effect.fnUntraced(function* (project) {
104
104
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event15.Updated, fromRow(row));
109
+ yield* bus.publish(Event20.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID12.global,
146
+ previous: project.previous ?? ID17.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError9({ projectID: input.projectID });
169
+ return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event15.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID12.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID12.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID12.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID12.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
250
250
  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), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID12.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID12.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service66.of({ list, update, resolve });
273
+ return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node71 = makeGlobalNode({
276
- service: Service66,
275
+ var node82 = makeGlobalNode({
276
+ service: Service77,
277
277
  layer,
278
- deps: [node81, node82, FSUtil.node, node72, AppProcess.node]
278
+ deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID12, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service66, node71, exports_project };
281
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node82, exports_project };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./mime-z4y4a432.js";
2
+ Service79,
3
+ node84
4
+ } from "./persistent-pty-zd83r0vm.js";
5
5
  import {
6
6
  create3
7
- } from "./mime-kg06axw8.js";
7
+ } from "./persistent-pty-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./mime-d6k63gab.js";
10
+ } from "./persistent-pty-y1eyp4h1.js";
11
11
  import {
12
12
  __export
13
- } from "./mime-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event12,
21
- ID: () => ID6,
22
- Info: () => Info19,
20
+ Event: () => Event8,
21
+ ID: () => ID5,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service56,
24
+ Service: () => Service36,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node60,
29
+ node: () => node40,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event12 } from "@opencode/schema/skill";
37
+ import { Event as Event8 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info19 = Skill.Info;
43
- var ID6 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info7 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service56 extends Context.Service()("@opencode/Skill") {
74
+ class Service36 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service56, Effect.gen(function* () {
77
- const bus = yield* Service76;
76
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
77
+ const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service56.of({
100
+ return Service36.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node60 = makeLocationNode({
112
- service: Service56,
111
+ var node40 = makeLocationNode({
112
+ service: Service36,
113
113
  layer,
114
- deps: [node81]
114
+ deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID6, Name2, available2, toModelOutput3, prepare3, Service56, node60, exports_skill5, Event12 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service36, node40, exports_skill5, Event8 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service48
3
- } from "./mime-pdcjakb6.js";
2
+ Service55
3
+ } from "./persistent-pty-3ydh67fs.js";
4
4
  import {
5
5
  match2
6
- } from "./mime-y1fvbwt7.js";
6
+ } from "./persistent-pty-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./mime-qsdy395h.js";
9
+ } from "./persistent-pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./mime-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin7
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin7 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service48;
25
+ const config = yield* Service55;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin7 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin7, exports_policy };
38
+ export { Plugin20, exports_policy };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./mime-qfa1cgps.js";
3
+ } from "./persistent-pty-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./mime-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info12
13
+ Info: () => Info19
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info12 = Schema.Struct({
30
+ var Info19 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info12, exports_attachment };
34
+ export { Image2, Info19, exports_attachment };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./mime-z4y4a432.js";
2
+ Service79,
3
+ node84
4
+ } from "./persistent-pty-zd83r0vm.js";
5
5
  import {
6
6
  Event19,
7
7
  Service74,
8
8
  node79
9
- } from "./mime-7fejhyaj.js";
9
+ } from "./persistent-pty-8gp97p59.js";
10
10
  import {
11
- Service49,
12
- node53
13
- } from "./mime-2cv161v0.js";
11
+ Service56,
12
+ node61
13
+ } from "./persistent-pty-2gj877a4.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./mime-922hggd3.js";
16
+ } from "./persistent-pty-922hggd3.js";
17
17
  import {
18
- Service65,
19
- node70
20
- } from "./mime-cfpeewsf.js";
18
+ Service76,
19
+ node81
20
+ } from "./persistent-pty-wk8vywde.js";
21
21
  import {
22
22
  substitute2
23
- } from "./mime-yrznvahk.js";
23
+ } from "./persistent-pty-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./mime-xtdnnkz9.js";
26
+ } from "./persistent-pty-jt82t686.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./mime-k30yspdv.js";
30
+ } from "./persistent-pty-y3qvm77n.js";
31
31
  import {
32
32
  plan2
33
- } from "./mime-j56e64zr.js";
33
+ } from "./persistent-pty-j56e64zr.js";
34
34
  import {
35
- Service50,
36
- Event9,
37
- node54
38
- } from "./mime-tqtqm0tk.js";
35
+ Service57,
36
+ Event11,
37
+ node62
38
+ } from "./persistent-pty-t6apg4xb.js";
39
39
  import {
40
40
  __export
41
- } from "./mime-9rqn6x4v.js";
41
+ } from "./persistent-pty-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service48,
47
+ Options: () => Options8,
48
+ Service: () => Service55,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer19,
53
- node: () => node52,
52
+ layer: () => layer20,
53
+ node: () => node60,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options8 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service48 extends Context.Service()("@opencode/Config") {
74
+ class Service55 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
93
93
  }));
94
- var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service65;
97
- const watcher = yield* Service49;
98
- const bus = yield* Service76;
96
+ const location = yield* Service76;
97
+ const watcher = yield* Service56;
98
+ const bus = yield* Service79;
99
99
  const credentials = yield* Service74;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service50;
101
+ const wellknown = yield* Service57;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -222,7 +222,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service48.of({
253
+ return Service55.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured8(options) {
265
+ function configured10(options) {
266
266
  return makeLocationNode({
267
- service: Service48,
268
- layer: layer19(options),
269
- deps: [node53, node81, FSUtil.node, Global.node, node70, node79, node54]
267
+ service: Service55,
268
+ layer: layer20(options),
269
+ deps: [node61, node84, FSUtil.node, Global.node, node81, node79, node62]
270
270
  });
271
271
  }
272
- var node52 = configured8();
272
+ var node60 = configured10();
273
273
 
274
- export { latest2, Options7, Service48, Test2, testLayer2, layer19, configured8, node52, exports_config };
274
+ export { latest2, Options8, Service55, Test2, testLayer2, layer20, configured10, node60, exports_config };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID18,
2
+ ID15,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./mime-33n3bzdy.js";
5
+ } from "./persistent-pty-0axr4kr0.js";
6
6
  import {
7
- ID17,
7
+ ID14,
8
8
  VariantID2,
9
- Info32,
9
+ Info28,
10
10
  compatibility2
11
- } from "./mime-c3s2gn8c.js";
11
+ } from "./persistent-pty-hnc9qj7b.js";
12
12
  import {
13
13
  __export
14
- } from "./mime-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
17
  var exports_models = {};
@@ -21,7 +21,7 @@ __export(exports_models, {
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
24
- var providerID = ID18.make("modal");
24
+ var providerID = ID15.make("modal");
25
25
  var ReasoningOption = Schema.Struct({
26
26
  type: Schema.Literal("effort"),
27
27
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID17.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID17.make(item.id);
72
+ const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID14.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info32.make({
92
- ...Info32.default(providerID, id),
91
+ return Info28.make({
92
+ ...Info28.default(providerID, id),
93
93
  id,
94
- modelID: ID17.make(remote.id),
94
+ modelID: ID14.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,