@opencode/core 0.0.0-dev-19512 → 0.0.0-dev-19514

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{persistent-pty-knzb2q45.js → file-048xp89v.js} +17 -17
  9. package/dist/chunks/{persistent-pty-vgqed5s0.js → file-07ch4k8a.js} +24 -24
  10. package/dist/chunks/{persistent-pty-txfe9bzh.js → file-0a423ajn.js} +43 -43
  11. package/dist/chunks/{persistent-pty-4jgfcj8t.js → file-0bcfzsmy.js} +10 -10
  12. package/dist/chunks/{persistent-pty-zf1fnb9x.js → file-0dzcdmmm.js} +11 -11
  13. package/dist/chunks/{persistent-pty-s8d7rejh.js → file-0gdmqesm.js} +4 -4
  14. package/dist/chunks/{persistent-pty-ypy7xg3m.js → file-0gsjhwbw.js} +25 -25
  15. package/dist/chunks/{persistent-pty-z4a9sax2.js → file-0kenkm4y.js} +3 -3
  16. package/dist/chunks/{persistent-pty-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{persistent-pty-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{persistent-pty-nadg9pcd.js → file-0r7yqxbf.js} +5 -5
  19. package/dist/chunks/{persistent-pty-6phyce8p.js → file-0rymwcrg.js} +25 -25
  20. package/dist/chunks/{persistent-pty-s7m2x4kt.js → file-1288mpm8.js} +50 -50
  21. package/dist/chunks/{persistent-pty-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{persistent-pty-2derpj9y.js → file-1dgfjwgv.js} +24 -24
  23. package/dist/chunks/{persistent-pty-evnp26tg.js → file-1j388zrc.js} +24 -24
  24. package/dist/chunks/{persistent-pty-bby00dsd.js → file-1vtz46z8.js} +8 -8
  25. package/dist/chunks/file-1x11rq2a.js +18 -0
  26. package/dist/chunks/{persistent-pty-21r38tys.js → file-21r38tys.js} +1 -1
  27. package/dist/chunks/{persistent-pty-4786se8r.js → file-21tk25ps.js} +1 -1
  28. package/dist/chunks/{persistent-pty-da6kr1wx.js → file-23mbrqv5.js} +2 -2
  29. package/dist/chunks/{persistent-pty-2402vzrj.js → file-2402vzrj.js} +1 -1
  30. package/dist/chunks/{persistent-pty-awk4bmnf.js → file-25nfakxt.js} +26 -26
  31. package/dist/chunks/{persistent-pty-x86qc38n.js → file-26m15rn7.js} +17 -17
  32. package/dist/chunks/{persistent-pty-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{persistent-pty-9dzcd8j5.js → file-2scwh29m.js} +41 -41
  34. package/dist/chunks/{persistent-pty-rvz6msw0.js → file-30f1x3mc.js} +13 -13
  35. package/dist/chunks/{persistent-pty-89b9anhp.js → file-365b2wx5.js} +160 -160
  36. package/dist/chunks/{persistent-pty-gvjc4wvc.js → file-37yfqsb0.js} +8 -8
  37. package/dist/chunks/{persistent-pty-gngnamge.js → file-3ec5gh45.js} +4 -4
  38. package/dist/chunks/{persistent-pty-3zaatfj6.js → file-3g5458vk.js} +40 -40
  39. package/dist/chunks/{persistent-pty-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{persistent-pty-bwtw07rb.js → file-3jrr9nrh.js} +4 -4
  41. package/dist/chunks/{persistent-pty-tgs7p31y.js → file-3kwdbmfv.js} +15 -15
  42. package/dist/chunks/{persistent-pty-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{persistent-pty-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{persistent-pty-d87ppnb3.js → file-3w0fmcng.js} +5 -5
  45. package/dist/chunks/{persistent-pty-798sgk8w.js → file-3yqybkx7.js} +11 -11
  46. package/dist/chunks/{persistent-pty-t8wk4avw.js → file-40bxqg89.js} +11 -11
  47. package/dist/chunks/{persistent-pty-fbbdr9rn.js → file-40p7j5ff.js} +20 -20
  48. package/dist/chunks/{persistent-pty-kq4dwxxq.js → file-4p6bmny6.js} +10 -10
  49. package/dist/chunks/{persistent-pty-9z5caz15.js → file-4we3c2am.js} +28 -28
  50. package/dist/chunks/{persistent-pty-4y66k410.js → file-4y66k410.js} +2 -2
  51. package/dist/chunks/{persistent-pty-1qfpcee2.js → file-52hm8910.js} +7 -7
  52. package/dist/chunks/{persistent-pty-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{persistent-pty-5daktx2q.js → file-5daktx2q.js} +1 -1
  54. package/dist/chunks/{persistent-pty-b7skc9aj.js → file-5n5g9tme.js} +13 -13
  55. package/dist/chunks/{persistent-pty-dmpt8hns.js → file-5ppegk2h.js} +5 -5
  56. package/dist/chunks/{persistent-pty-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{persistent-pty-rd2nkd0p.js → file-5vpje3g0.js} +14 -14
  58. package/dist/chunks/{persistent-pty-669tq793.js → file-669tq793.js} +1 -1
  59. package/dist/chunks/{persistent-pty-twy35tz0.js → file-6d9mz4vp.js} +8 -8
  60. package/dist/chunks/{persistent-pty-d62yrf5j.js → file-6h09v0nk.js} +20 -20
  61. package/dist/chunks/{persistent-pty-96q9j7dw.js → file-6h539xbt.js} +8 -8
  62. package/dist/chunks/{persistent-pty-qmy7xtej.js → file-6kb1ngvr.js} +1 -1
  63. package/dist/chunks/{persistent-pty-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{persistent-pty-vxpy1f9m.js → file-715w4jb6.js} +9 -9
  65. package/dist/chunks/{persistent-pty-f1weefa4.js → file-71eqg07f.js} +15 -15
  66. package/dist/chunks/{persistent-pty-71q4at8m.js → file-71q4at8m.js} +1 -1
  67. package/dist/chunks/{persistent-pty-cbth7jfa.js → file-779r4x49.js} +17 -17
  68. package/dist/chunks/{persistent-pty-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{persistent-pty-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
  70. package/dist/chunks/{persistent-pty-aqqyz78k.js → file-7hkbksc5.js} +17 -17
  71. package/dist/chunks/{persistent-pty-0zp474g4.js → file-7n50n386.js} +7 -7
  72. package/dist/chunks/{persistent-pty-5sam3g36.js → file-7rd885s9.js} +26 -26
  73. package/dist/chunks/{persistent-pty-khxf73f1.js → file-7rxw70p2.js} +13 -13
  74. package/dist/chunks/{persistent-pty-81swgkk7.js → file-81swgkk7.js} +2 -2
  75. package/dist/chunks/{persistent-pty-m86bnw2c.js → file-84zt2byv.js} +9 -9
  76. package/dist/chunks/{persistent-pty-zw1h157g.js → file-858qdcc3.js} +17 -17
  77. package/dist/chunks/file-86de9m55.js +22 -0
  78. package/dist/chunks/{persistent-pty-b99w0g26.js → file-8a2qdx2a.js} +6 -6
  79. package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{persistent-pty-mk8mwmng.js → file-8g5hs4np.js} +37 -37
  81. package/dist/chunks/{persistent-pty-sfxwf0ta.js → file-8j5k38c8.js} +11 -11
  82. package/dist/chunks/{persistent-pty-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{persistent-pty-j7ne0kvx.js → file-8secz49e.js} +25 -25
  84. package/dist/chunks/{persistent-pty-1z7a71ya.js → file-903gnre9.js} +11 -11
  85. package/dist/chunks/{persistent-pty-915t83ht.js → file-915t83ht.js} +3 -3
  86. package/dist/chunks/{persistent-pty-6fa65h3x.js → file-92vqf0gg.js} +14 -14
  87. package/dist/chunks/{persistent-pty-njr070nn.js → file-96v5c2p5.js} +20 -20
  88. package/dist/chunks/{persistent-pty-048g18x0.js → file-9cfgjn1d.js} +12 -12
  89. package/dist/chunks/{persistent-pty-tjfw1za4.js → file-9khdf5s3.js} +11 -11
  90. package/dist/chunks/{persistent-pty-szbf9hj0.js → file-9z0v2yqn.js} +27 -27
  91. package/dist/chunks/{persistent-pty-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{persistent-pty-tgqjfyja.js → file-a3rvyvck.js} +3 -3
  93. package/dist/chunks/{persistent-pty-aaet6srn.js → file-aaet6srn.js} +2 -2
  94. package/dist/chunks/{persistent-pty-8qbgjw8c.js → file-akrnn5pm.js} +11 -11
  95. package/dist/chunks/{persistent-pty-hkvp06w1.js → file-ar7nfc0b.js} +24 -24
  96. package/dist/chunks/{persistent-pty-wqc0af95.js → file-aw9hkdyd.js} +25 -25
  97. package/dist/chunks/{persistent-pty-jfqtm2ew.js → file-b27vhd2z.js} +4 -4
  98. package/dist/chunks/{persistent-pty-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{persistent-pty-g5d5n1kd.js → file-b7kmpk6t.js} +47 -47
  100. package/dist/chunks/{persistent-pty-gc9axj16.js → file-ba5k2znj.js} +7 -7
  101. package/dist/chunks/{persistent-pty-n63a0fh6.js → file-bj61hnyg.js} +16 -16
  102. package/dist/chunks/{persistent-pty-qq65p8vg.js → file-bm7vyjfb.js} +11 -11
  103. package/dist/chunks/{persistent-pty-brv6cq0s.js → file-br4mb8ra.js} +22 -22
  104. package/dist/chunks/{persistent-pty-8a0b7fze.js → file-bvr7grfh.js} +4 -4
  105. package/dist/chunks/{persistent-pty-1wfat45j.js → file-c0n50874.js} +11 -11
  106. package/dist/chunks/{persistent-pty-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{persistent-pty-0bttyzvt.js → file-cn02216x.js} +6 -6
  108. package/dist/chunks/{persistent-pty-79dr9dve.js → file-cyfhm506.js} +15 -15
  109. package/dist/chunks/{persistent-pty-fm8jr0de.js → file-d9s96shc.js} +38 -38
  110. package/dist/chunks/{persistent-pty-2ve45fd6.js → file-da2m7fje.js} +5 -5
  111. package/dist/chunks/{persistent-pty-3251az8d.js → file-dedq8wa1.js} +11 -11
  112. package/dist/chunks/{persistent-pty-8nz98mka.js → file-detsjsfs.js} +33 -33
  113. package/dist/chunks/{persistent-pty-an7cqtb7.js → file-dfe8djrf.js} +4 -4
  114. package/dist/chunks/{persistent-pty-ehm2a07j.js → file-dkkjpy3x.js} +11 -11
  115. package/dist/chunks/{persistent-pty-dpkg50ah.js → file-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{persistent-pty-hdzt82x2.js → file-dwvzh0g2.js} +6 -6
  117. package/dist/chunks/{persistent-pty-fzex66xc.js → file-e5y2w16d.js} +10 -10
  118. package/dist/chunks/{persistent-pty-qz49fwgp.js → file-e6hd9jay.js} +6 -6
  119. package/dist/chunks/{persistent-pty-radr3yff.js → file-edqnm9wa.js} +15 -15
  120. package/dist/chunks/{persistent-pty-hce77wk0.js → file-ee39sspt.js} +33 -33
  121. package/dist/chunks/{persistent-pty-wq28fpm9.js → file-eg10bheh.js} +18 -18
  122. package/dist/chunks/{persistent-pty-grfax6bg.js → file-ekkfxm1b.js} +20 -19
  123. package/dist/chunks/{persistent-pty-24cfyjnk.js → file-embs9rr0.js} +20 -20
  124. package/dist/chunks/{persistent-pty-dw1fjyb0.js → file-ep6qz3j5.js} +5 -5
  125. package/dist/chunks/{persistent-pty-6tt5evqq.js → file-epd1fg1b.js} +4 -4
  126. package/dist/chunks/{persistent-pty-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{persistent-pty-hapv3ekj.js → file-f49kx7ec.js} +15 -15
  128. package/dist/chunks/{persistent-pty-yj8ww8v9.js → file-f6x64a2f.js} +21 -21
  129. package/dist/chunks/{persistent-pty-f828m53h.js → file-f828m53h.js} +2 -2
  130. package/dist/chunks/{persistent-pty-36m3rdv1.js → file-fbgw5egt.js} +77 -77
  131. package/dist/chunks/{persistent-pty-jfbv0dxj.js → file-fdma6z5m.js} +6 -6
  132. package/dist/chunks/{persistent-pty-va89syh5.js → file-fg1gh0c9.js} +30 -30
  133. package/dist/chunks/{persistent-pty-pns73tnr.js → file-fh5t8s2q.js} +1 -1
  134. package/dist/chunks/{persistent-pty-9m4vma00.js → file-fhqc3h92.js} +27 -27
  135. package/dist/chunks/{persistent-pty-09s1qc9w.js → file-fjszsmnf.js} +4 -4
  136. package/dist/chunks/{persistent-pty-93z8j3q2.js → file-fqtt6ran.js} +22 -22
  137. package/dist/chunks/{persistent-pty-h1cbn5my.js → file-frwpyczr.js} +4 -4
  138. package/dist/chunks/{persistent-pty-e2ztegh1.js → file-fs5r8wpj.js} +20 -20
  139. package/dist/chunks/{persistent-pty-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{persistent-pty-ftnt8sm4.js → file-fzthsjy4.js} +11 -11
  141. package/dist/chunks/{persistent-pty-3g8cchxn.js → file-g02cz0vt.js} +20 -20
  142. package/dist/chunks/{persistent-pty-m7y3f53v.js → file-g67wee21.js} +4 -4
  143. package/dist/chunks/{persistent-pty-vfarjvhq.js → file-g6fqja2m.js} +10 -10
  144. package/dist/chunks/{persistent-pty-znnrkdj7.js → file-g7hhbneb.js} +15 -15
  145. package/dist/chunks/{persistent-pty-tq94g21h.js → file-g83qpwmz.js} +3 -3
  146. package/dist/chunks/{persistent-pty-4rrnbjgb.js → file-g9t7qa9y.js} +30 -30
  147. package/dist/chunks/{persistent-pty-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{persistent-pty-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{persistent-pty-qp6756r8.js → file-gmmhsxfs.js} +24 -24
  150. package/dist/chunks/{persistent-pty-cza9j1er.js → file-gmprtwsb.js} +1 -1
  151. package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{persistent-pty-cd3bxnjg.js → file-gy7w27zy.js} +11 -11
  153. package/dist/chunks/{persistent-pty-ahrdm3aj.js → file-gyaee7jp.js} +17 -17
  154. package/dist/chunks/{persistent-pty-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{persistent-pty-9d8v8ke2.js → file-h2fpsr6d.js} +10 -10
  156. package/dist/chunks/{persistent-pty-j6ehekt9.js → file-h3fx38h7.js} +22 -22
  157. package/dist/chunks/{persistent-pty-wphcxv4k.js → file-h6f2rjkg.js} +13 -13
  158. package/dist/chunks/{persistent-pty-16qkbgjp.js → file-h6t3ct0z.js} +43 -43
  159. package/dist/chunks/{persistent-pty-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{persistent-pty-c7zg7x3c.js → file-h9n27kr1.js} +54 -54
  161. package/dist/chunks/{persistent-pty-agfns39k.js → file-hh50gg05.js} +2 -2
  162. package/dist/chunks/{persistent-pty-d9dst3t3.js → file-hhzb4w78.js} +10 -10
  163. package/dist/chunks/{persistent-pty-ead3g9p8.js → file-hkfg6fzm.js} +5 -5
  164. package/dist/chunks/{persistent-pty-hjnk9kpc.js → file-hn612hq8.js} +83 -83
  165. package/dist/chunks/{persistent-pty-wzk2dcjy.js → file-hv3f10xw.js} +13 -13
  166. package/dist/chunks/{persistent-pty-v3t9d055.js → file-hy7ma9dc.js} +16 -16
  167. package/dist/chunks/{persistent-pty-3g8f6v0w.js → file-hy9khhh5.js} +4 -4
  168. package/dist/chunks/{persistent-pty-r5x6zcsm.js → file-j028xdjb.js} +3 -3
  169. package/dist/chunks/{persistent-pty-1vg6t9wt.js → file-j2xqzd67.js} +91 -42
  170. package/dist/chunks/{persistent-pty-j56e64zr.js → file-j56e64zr.js} +1 -1
  171. package/dist/chunks/{persistent-pty-ag6663bn.js → file-jfahe5dm.js} +7 -7
  172. package/dist/chunks/{persistent-pty-cxmh4q5b.js → file-jj3qxa52.js} +4 -4
  173. package/dist/chunks/{persistent-pty-znrr5g8g.js → file-jm6kzkv1.js} +5 -5
  174. package/dist/chunks/{persistent-pty-xvgh8vxx.js → file-jrpprbm6.js} +15 -15
  175. package/dist/chunks/{persistent-pty-p9km1gz3.js → file-jsa2395n.js} +21 -21
  176. package/dist/chunks/{persistent-pty-hjvca3k7.js → file-jwadv04f.js} +32 -32
  177. package/dist/chunks/{persistent-pty-ap9dfpx5.js → file-jxyz68eg.js} +7 -7
  178. package/dist/chunks/{persistent-pty-af4kcksd.js → file-jzzy94zk.js} +9 -9
  179. package/dist/chunks/{persistent-pty-kg06axw8.js → file-kg06axw8.js} +1 -1
  180. package/dist/chunks/{persistent-pty-k7t3n1wc.js → file-kmv05cyx.js} +28 -28
  181. package/dist/chunks/{persistent-pty-kt5w8vxh.js → file-kt5w8vxh.js} +3 -3
  182. package/dist/chunks/{persistent-pty-jbp58yvw.js → file-ky6wt9x3.js} +8 -8
  183. package/dist/chunks/{persistent-pty-82xjv89z.js → file-kym9c2x0.js} +9 -9
  184. package/dist/chunks/{persistent-pty-bj0ze64x.js → file-m3krncyp.js} +13 -13
  185. package/dist/chunks/{persistent-pty-9c4d1d9h.js → file-m6cttsv8.js} +12 -12
  186. package/dist/chunks/{persistent-pty-ywnt24na.js → file-m6qbstta.js} +3 -3
  187. package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{persistent-pty-1bvxxf6d.js → file-ma9yb35x.js} +9 -9
  189. package/dist/chunks/{persistent-pty-gtn38wb9.js → file-mbpbw8jh.js} +10 -10
  190. package/dist/chunks/{persistent-pty-w39jxxw7.js → file-mj63ee6j.js} +20 -20
  191. package/dist/chunks/{persistent-pty-hgg7tghe.js → file-mpvjdhq3.js} +8 -8
  192. package/dist/chunks/{persistent-pty-g36znxke.js → file-msprhwgy.js} +16 -16
  193. package/dist/chunks/{persistent-pty-hrndf12w.js → file-msq0jde0.js} +4 -4
  194. package/dist/chunks/{persistent-pty-svskfwkh.js → file-mtjmqs8n.js} +2 -2
  195. package/dist/chunks/{persistent-pty-sdsmrv3v.js → file-mv3cm7pe.js} +16 -16
  196. package/dist/chunks/{persistent-pty-qm7jrdpz.js → file-mvdg3mfe.js} +5 -5
  197. package/dist/chunks/{persistent-pty-6jzp287t.js → file-n01rjve2.js} +18 -18
  198. package/dist/chunks/{persistent-pty-1tfjzybb.js → file-np6jr823.js} +11 -11
  199. package/dist/chunks/{persistent-pty-dr4h96fj.js → file-nrafk414.js} +32 -32
  200. package/dist/chunks/{persistent-pty-5aengpdy.js → file-nv4467mr.js} +11 -11
  201. package/dist/chunks/{persistent-pty-tnq3p80p.js → file-nw0z258d.js} +15 -15
  202. package/dist/chunks/{persistent-pty-yp2x3t23.js → file-nxer0yad.js} +4 -4
  203. package/dist/chunks/{persistent-pty-9gyd2w40.js → file-p33ejz0k.js} +1 -1
  204. package/dist/chunks/{persistent-pty-hjt4xg1x.js → file-p6yzb5ay.js} +4 -4
  205. package/dist/chunks/{persistent-pty-j935v87r.js → file-paphc93g.js} +2 -2
  206. package/dist/chunks/file-pdy8tdap.js +462 -0
  207. package/dist/chunks/{persistent-pty-a2p6xxeh.js → file-pef5zs3s.js} +16 -16
  208. package/dist/chunks/{persistent-pty-aeb4sny1.js → file-pfq1ksym.js} +5 -5
  209. package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{persistent-pty-pknna89w.js → file-pknna89w.js} +1 -1
  211. package/dist/chunks/{persistent-pty-16ha7j0n.js → file-pv06hj7d.js} +2 -2
  212. package/dist/chunks/{persistent-pty-ggsyc5qm.js → file-pw6rbwyw.js} +6 -6
  213. package/dist/chunks/{persistent-pty-40b8r03t.js → file-pxs9g58w.js} +47 -47
  214. package/dist/chunks/{persistent-pty-721tb84k.js → file-pxt4kznk.js} +3 -3
  215. package/dist/chunks/{persistent-pty-j29g5m16.js → file-q19rd6y7.js} +9 -9
  216. package/dist/chunks/{persistent-pty-tfjqyvk6.js → file-q6vwf3nd.js} +6 -6
  217. package/dist/chunks/{persistent-pty-a0v04wpe.js → file-qeden6pr.js} +25 -25
  218. package/dist/chunks/{persistent-pty-jr3tywxk.js → file-qj8eh1ht.js} +21 -21
  219. package/dist/chunks/{persistent-pty-wdm18wae.js → file-qjrh95de.js} +4 -4
  220. package/dist/chunks/{persistent-pty-zbr6jhfd.js → file-qmj11y7g.js} +24 -24
  221. package/dist/chunks/{persistent-pty-s76nk363.js → file-qr42g2ex.js} +12 -12
  222. package/dist/chunks/{persistent-pty-qsdy395h.js → file-qsdy395h.js} +1 -1
  223. package/dist/chunks/{persistent-pty-e17bkqjz.js → file-qtptnsh1.js} +1 -1
  224. package/dist/chunks/file-qtvmxc8s.js +4 -0
  225. package/dist/chunks/{persistent-pty-0h54jqbs.js → file-qvb3nf84.js} +7 -7
  226. package/dist/chunks/{persistent-pty-hzez76ws.js → file-r4aah319.js} +11 -11
  227. package/dist/chunks/{persistent-pty-azs2rc3z.js → file-r8vf1f61.js} +6 -6
  228. package/dist/chunks/{persistent-pty-r9mregkx.js → file-r9mregkx.js} +2 -2
  229. package/dist/chunks/{persistent-pty-6tsg30fm.js → file-rfkfgx1j.js} +2 -2
  230. package/dist/chunks/{persistent-pty-g640k70z.js → file-rgy7ctyq.js} +6 -6
  231. package/dist/chunks/{persistent-pty-p8wqtd46.js → file-rjjwk750.js} +65 -65
  232. package/dist/chunks/{persistent-pty-7j422xf6.js → file-rny9rhyh.js} +4 -4
  233. package/dist/chunks/{persistent-pty-g14zqp48.js → file-rqnks7rh.js} +6 -6
  234. package/dist/chunks/{persistent-pty-ea8nv0r7.js → file-rzmkrbvb.js} +2 -2
  235. package/dist/chunks/{persistent-pty-fsxrvzy1.js → file-s8b69be9.js} +8 -8
  236. package/dist/chunks/{persistent-pty-w572f1ch.js → file-sj50v99f.js} +16 -16
  237. package/dist/chunks/{persistent-pty-n3h5xxke.js → file-skmtrd5n.js} +22 -22
  238. package/dist/chunks/{persistent-pty-7083wxq8.js → file-sv08ktng.js} +13 -13
  239. package/dist/chunks/{persistent-pty-d9tj6f20.js → file-t0r7fcbn.js} +24 -24
  240. package/dist/chunks/{persistent-pty-715qt4bx.js → file-t2mvn8e2.js} +9 -9
  241. package/dist/chunks/{persistent-pty-hhd62ded.js → file-t3v0vag8.js} +7 -7
  242. package/dist/chunks/{persistent-pty-xf783ser.js → file-t4fqcf9n.js} +24 -24
  243. package/dist/chunks/{persistent-pty-ewyrcxn4.js → file-t7f26a2p.js} +17 -17
  244. package/dist/chunks/{persistent-pty-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{persistent-pty-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{persistent-pty-akt3csds.js → file-td8ytyxd.js} +11 -11
  247. package/dist/chunks/{persistent-pty-tdstcens.js → file-tdstcens.js} +1 -1
  248. package/dist/chunks/{persistent-pty-485fr60v.js → file-tjr0drtg.js} +11 -11
  249. package/dist/chunks/{persistent-pty-nw2nz702.js → file-tm7zr4pr.js} +4 -4
  250. package/dist/chunks/{persistent-pty-7b15y959.js → file-tpw6cwsb.js} +6 -6
  251. package/dist/chunks/{persistent-pty-tvtrv512.js → file-tvtrv512.js} +1 -1
  252. package/dist/chunks/{persistent-pty-kp4m38ba.js → file-v1gbks79.js} +28 -28
  253. package/dist/chunks/{persistent-pty-jhp2p10f.js → file-v1h457r3.js} +9 -9
  254. package/dist/chunks/{persistent-pty-h4epa83b.js → file-v1sethzn.js} +20 -20
  255. package/dist/chunks/{persistent-pty-09xfy49k.js → file-v6v8ttny.js} +21 -21
  256. package/dist/chunks/{persistent-pty-h14ne9sf.js → file-v8xrsrn8.js} +6 -6
  257. package/dist/chunks/{persistent-pty-bem6a6z8.js → file-v9me9bjc.js} +14 -14
  258. package/dist/chunks/{persistent-pty-7m2yq395.js → file-vbz5sa67.js} +34 -34
  259. package/dist/chunks/{persistent-pty-veqvce7d.js → file-veqvce7d.js} +1 -1
  260. package/dist/chunks/{persistent-pty-zpte1r0p.js → file-vm34h1x5.js} +8 -8
  261. package/dist/chunks/{persistent-pty-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  262. package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{persistent-pty-jeanpfns.js → file-wd6ep4mh.js} +1 -1
  264. package/dist/chunks/{persistent-pty-wd87259q.js → file-wd87259q.js} +1 -1
  265. package/dist/chunks/{persistent-pty-k0nnq3t9.js → file-wpm2rk0p.js} +6 -6
  266. package/dist/chunks/{persistent-pty-tys4kk6f.js → file-wywpfvj8.js} +26 -26
  267. package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{persistent-pty-b8c6h3xb.js → file-x4fh1qwh.js} +23 -23
  269. package/dist/chunks/{persistent-pty-szdez07b.js → file-xc694gh7.js} +3 -3
  270. package/dist/chunks/{persistent-pty-9pf502c0.js → file-xte6ahy5.js} +12 -12
  271. package/dist/chunks/{persistent-pty-jgwaxhte.js → file-xx4ze2dw.js} +9 -9
  272. package/dist/chunks/{persistent-pty-5b4hr3cy.js → file-xy0cewe0.js} +8 -8
  273. package/dist/chunks/{persistent-pty-n33yzhyc.js → file-xz25bmqh.js} +21 -21
  274. package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{persistent-pty-rzn68cdd.js → file-y2rgym3m.js} +9 -9
  276. package/dist/chunks/{persistent-pty-dh6431a9.js → file-yb2a0x4v.js} +3 -3
  277. package/dist/chunks/{persistent-pty-q382xdnw.js → file-ye1tt27n.js} +31 -31
  278. package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{persistent-pty-s4enseaf.js → file-yrznvahk.js} +2 -2
  280. package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{persistent-pty-29x78va6.js → file-z63w68vq.js} +6 -6
  282. package/dist/chunks/file-zb4ha1kd.js +247 -0
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-x5hahj8f.js → file-znf35ddy.js} +43 -43
  285. package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{persistent-pty-vsbkejts.js → file-zvsn794g.js} +10 -10
  287. package/dist/chunks/{persistent-pty-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +114 -114
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +4 -4
  419. package/dist/filesystem/location-watcher.js +219 -219
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +101 -101
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +3 -3
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +80 -80
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +77 -77
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +104 -104
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +81 -81
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +96 -96
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +225 -225
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +76 -76
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +83 -83
  560. package/dist/reference.js +83 -83
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +92 -92
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +128 -128
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/environment.js +3 -3
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +147 -147
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +168 -168
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +103 -103
  622. package/dist/skill.js +106 -106
  623. package/dist/snapshot.js +85 -85
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +120 -120
  628. package/dist/tool/plugin/edit.js +112 -112
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +99 -99
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +211 -211
  637. package/dist/tool/plugin/skill.js +103 -103
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +106 -106
  640. package/dist/tool/plugin/websearch.js +102 -102
  641. package/dist/tool/plugin/write.js +118 -118
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/types/config.d.ts +5 -1
  647. package/dist/types/shell/select.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +341 -341
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +92 -92
  686. package/package.json +8 -8
  687. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  688. package/dist/chunks/persistent-pty-21jpq35a.js +0 -247
  689. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  690. package/dist/chunks/persistent-pty-m4pp9rhr.js +0 -462
  691. package/dist/chunks/persistent-pty-pcc2jen2.js +0 -22
  692. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-2710q6r3.js → file-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-359p4xyc.js → file-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3asan66x.js → file-3asan66x.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-53557ph1.js → file-53557ph1.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-550bvhaj.js → file-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-6prwharc.js → file-6prwharc.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-7m9af43g.js → file-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-822emrt2.js → file-822emrt2.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-8n3pysct.js → file-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-922hggd3.js → file-922hggd3.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-af5trqkr.js → file-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-afrmfg78.js → file-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-d9fn303g.js → file-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-dajrwvna.js → file-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-dap0rakb.js → file-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-df08tz66.js → file-df08tz66.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-dy18nga0.js → file-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-ec1grn59.js → file-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-faypxj3z.js → file-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-fd410y7t.js → file-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-g86h250q.js → file-g86h250q.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-gftt206x.js → file-gftt206x.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-hk9envan.js → file-hk9envan.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-mp448xyj.js → file-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-njntx4h6.js → file-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-q74kybfr.js → file-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-twg0f83k.js → file-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-w803qqfp.js → file-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-wtztk69x.js → file-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-x61499pn.js → file-x61499pn.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y44na4kk.js → file-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-y8f7s663.js → file-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-ym463w8f.js → file-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./persistent-pty-gngnamge.js";
4
+ } from "./file-3ec5gh45.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./persistent-pty-2402vzrj.js";
11
+ } from "./file-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./persistent-pty-922hggd3.js";
14
+ } from "./file-922hggd3.js";
15
15
  import {
16
- Service54,
17
- node58
18
- } from "./persistent-pty-zw1h157g.js";
16
+ Service47,
17
+ node50
18
+ } from "./file-858qdcc3.js";
19
19
  import {
20
20
  create3
21
- } from "./persistent-pty-kg06axw8.js";
21
+ } from "./file-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./file-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
29
  Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info8,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service37,
34
+ Service: () => Service42,
35
35
  Source: () => Source3,
36
- node: () => node40
36
+ node: () => node45
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -43,14 +43,14 @@ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info8 = Reference.Info;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service37 extends Context.Service()("@opencode/Reference") {
48
+ class Service42 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service37, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service79;
53
- const cache = yield* Service54;
53
+ const cache = yield* Service47;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info8.make({ ...info, path: source.path })];
63
+ return [Info7.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info8.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service37.of({
107
+ return Service42.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node40 = makeLocationNode({
116
- service: Service37,
115
+ var node45 = makeLocationNode({
116
+ service: Service42,
117
117
  layer,
118
- deps: [Global.node, node84, node58]
118
+ deps: [Global.node, node84, node50]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info8, Service37, node40, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service42, node45, exports_reference2, Event7 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-tjfw1za4.js";
3
+ } from "./file-9khdf5s3.js";
4
4
  import {
5
5
  Service79
6
- } from "./persistent-pty-gngnamge.js";
6
+ } from "./file-3ec5gh45.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./persistent-pty-9z5caz15.js";
9
+ Event18
10
+ } from "./file-4we3c2am.js";
11
11
  import {
12
- ID7,
12
+ ID9,
13
13
  MethodID2
14
- } from "./persistent-pty-vgqed5s0.js";
14
+ } from "./file-07ch4k8a.js";
15
15
  import {
16
- ID16
17
- } from "./persistent-pty-g14zqp48.js";
16
+ ID13
17
+ } from "./file-rqnks7rh.js";
18
18
  import {
19
19
  Family2
20
- } from "./persistent-pty-9d8v8ke2.js";
20
+ } from "./file-h2fpsr6d.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./persistent-pty-pjvnvgmy.js";
23
+ } from "./file-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID16.make("digitalocean");
30
- var integrationID = ID7.make("digitalocean");
29
+ var providerID = ID13.make("digitalocean");
30
+ var integrationID = ID9.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./persistent-pty-gngnamge.js";
4
+ } from "./file-3ec5gh45.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID13,
19
- Info: () => Info17,
17
+ Event: () => Event14,
18
+ ID: () => ID7,
19
+ Info: () => Info22,
20
20
  Name: () => Name3,
21
- Service: () => Service69,
21
+ Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node74
23
+ node: () => node62
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event16 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID13 = Agent.ID;
33
+ var ID7 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID13.make("build");
35
+ var defaultID2 = ID7.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info17 = Agent.Info;
37
+ var Info22 = Agent.Info;
38
38
 
39
- class Service69 extends Context.Service()("@opencode/Agent") {
39
+ class Service59 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service69, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info17.default(id);
60
+ const defaults = Info22.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID13.make("build")));
82
+ const build = selectable(data.agents.get(ID7.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service69.of({
91
+ return Service59.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID13.make(id));
99
+ return state.get().agents.get(ID7.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID13.make(id);
104
+ const selected = ID7.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node74 = makeLocationNode({ service: Service69, layer, deps: [node84, Global.node] });
119
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID13, Name3, defaultID2, Color2, Info17, Service69, node74, exports_agent3, Event16 };
121
+ export { ID7, Name3, defaultID2, Color2, Info22, Service59, node62, exports_agent4, Event14 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./persistent-pty-gngnamge.js";
3
+ } from "./file-3ec5gh45.js";
4
4
  import {
5
5
  Service76
6
- } from "./persistent-pty-svskfwkh.js";
6
+ } from "./file-mtjmqs8n.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service27
10
- } from "./persistent-pty-g5d5n1kd.js";
9
+ Service35
10
+ } from "./file-b7kmpk6t.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin40
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin40 = define({
196
+ var Plugin43 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service76;
200
- const mcp = yield* Service27;
200
+ const mcp = yield* Service35;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin40, exports_command2 };
283
+ export { Plugin43, exports_command2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./persistent-pty-g14zqp48.js";
3
+ } from "./file-rqnks7rh.js";
4
4
  import {
5
- Service56
6
- } from "./persistent-pty-a0v04wpe.js";
5
+ Service65
6
+ } from "./file-qeden6pr.js";
7
7
  import {
8
- Service70
9
- } from "./persistent-pty-1vg6t9wt.js";
8
+ Service52
9
+ } from "./file-j2xqzd67.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service56;
14
+ const catalog = yield* Service65;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service70);
16
+ const service = yield* Effect.serviceOption(Service52);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./persistent-pty-jr3tywxk.js";
6
+ } from "./file-qj8eh1ht.js";
7
7
  import {
8
- Info25
9
- } from "./persistent-pty-8qbgjw8c.js";
8
+ Info18
9
+ } from "./file-akrnn5pm.js";
10
10
  import {
11
- Info24
12
- } from "./persistent-pty-d87ppnb3.js";
11
+ Info15
12
+ } from "./file-3w0fmcng.js";
13
13
  import {
14
- Info19
15
- } from "./persistent-pty-jfqtm2ew.js";
14
+ Info16
15
+ } from "./file-b27vhd2z.js";
16
16
  import {
17
- Info20
18
- } from "./persistent-pty-ead3g9p8.js";
17
+ Info12
18
+ } from "./file-hkfg6fzm.js";
19
19
  import {
20
20
  Spec2
21
- } from "./persistent-pty-7dqw4kz8.js";
21
+ } from "./file-7dqw4kz8.js";
22
22
  import {
23
- Info27
24
- } from "./persistent-pty-nadg9pcd.js";
23
+ Info14
24
+ } from "./file-0r7yqxbf.js";
25
25
  import {
26
- Info18
27
- } from "./persistent-pty-txfe9bzh.js";
26
+ Info10
27
+ } from "./file-0a423ajn.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./persistent-pty-m7y3f53v.js";
36
+ } from "./file-g67wee21.js";
37
37
  import {
38
38
  __export
39
- } from "./persistent-pty-9rqn6x4v.js";
39
+ } from "./file-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info18.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info24, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info25, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info25, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info20, value, path, diagnostics);
228
+ const server = decodeValue(Info12, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info27, raw, path, diagnostics);
424
+ const provider = decodeValue(Info14, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service71
3
- } from "./persistent-pty-zbr6jhfd.js";
2
+ Service53
3
+ } from "./file-qmj11y7g.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./persistent-pty-922hggd3.js";
6
+ } from "./file-922hggd3.js";
7
7
  import {
8
8
  Service76
9
- } from "./persistent-pty-svskfwkh.js";
9
+ } from "./file-mtjmqs8n.js";
10
10
  import {
11
- Service70
12
- } from "./persistent-pty-1vg6t9wt.js";
11
+ Service52
12
+ } from "./file-j2xqzd67.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./persistent-pty-j6ehekt9.js";
17
+ } from "./file-h3fx38h7.js";
18
18
  import {
19
- Service9
20
- } from "./persistent-pty-m86bnw2c.js";
19
+ Service5
20
+ } from "./file-84zt2byv.js";
21
21
  import {
22
22
  parse2
23
- } from "./persistent-pty-ggsyc5qm.js";
23
+ } from "./file-pw6rbwyw.js";
24
24
  import {
25
25
  __export
26
- } from "./persistent-pty-9rqn6x4v.js";
26
+ } from "./file-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill2 = {};
30
30
  __export(exports_skill2, {
31
31
  ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin31
32
+ Plugin: () => Plugin27
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin31 = define({
39
+ var Plugin27 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service70;
43
- const discovery = yield* Service9;
42
+ const config = yield* Service52;
43
+ const discovery = yield* Service5;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service76;
47
- const watcher = yield* Service71;
47
+ const watcher = yield* Service53;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -181,4 +181,4 @@ var Plugin31 = define({
181
181
  })
182
182
  });
183
183
 
184
- export { Plugin31, exports_skill2 };
184
+ export { Plugin27, exports_skill2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./file-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-721tb84k.js";
6
+ } from "./file-pxt4kznk.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./persistent-pty-1bvxxf6d.js";
9
+ } from "./file-ma9yb35x.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./persistent-pty-s8d7rejh.js";
13
+ } from "./file-0gdmqesm.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-a1bz86dw.js";
16
+ } from "./file-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./persistent-pty-6tt5evqq.js";
20
+ } from "./file-epd1fg1b.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./persistent-pty-hrndf12w.js";
25
+ } from "./file-msq0jde0.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./file-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load2,
38
+ load: () => load3,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};