@opencode/core 0.0.0-dev-170 → 0.0.0-dev-172

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 (811) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +81 -81
  7. package/dist/chunks/{project-034tev2y.js → schema-034tev2y.js} +2 -2
  8. package/dist/chunks/{project-vvcp0tk0.js → schema-04z78z4p.js} +19 -19
  9. package/dist/chunks/{project-z3cpcmma.js → schema-061s75p4.js} +3 -3
  10. package/dist/chunks/{project-h9k240yj.js → schema-090m30xj.js} +45 -45
  11. package/dist/chunks/{project-qqg9c0kv.js → schema-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{project-gdegh7ym.js → schema-0cfns17n.js} +50 -50
  13. package/dist/chunks/{project-zs9j6ctn.js → schema-0drtew17.js} +36 -36
  14. package/dist/chunks/schema-0kar9yb6.js +26 -0
  15. package/dist/chunks/{project-kzwnk51j.js → schema-0m3hsgex.js} +23 -23
  16. package/dist/chunks/{project-79n4cqja.js → schema-0wqwjmtr.js} +10 -10
  17. package/dist/chunks/{project-7nrp2fgb.js → schema-15j8kqyp.js} +6 -6
  18. package/dist/chunks/{project-4mw87j2f.js → schema-1c950baa.js} +5 -5
  19. package/dist/chunks/{project-0k0cpw4p.js → schema-1enrjds2.js} +27 -27
  20. package/dist/chunks/{project-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{project-xt0z8zst.js → schema-1kn6jdkn.js} +4 -4
  22. package/dist/chunks/{project-rnbc7s2k.js → schema-1m459fdp.js} +10 -10
  23. package/dist/chunks/{project-1tz71j9c.js → schema-1rdchn1p.js} +12 -12
  24. package/dist/chunks/{project-124q93e5.js → schema-1w0tbadz.js} +30 -30
  25. package/dist/chunks/{project-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{project-ktsdcenb.js → schema-1x5b7tgq.js} +16 -16
  27. package/dist/chunks/{project-p7vhpwh8.js → schema-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{project-4f22kke0.js → schema-1yxgftn3.js} +11 -11
  29. package/dist/chunks/{project-204s3925.js → schema-204s3925.js} +1 -1
  30. package/dist/chunks/{project-psc6haxf.js → schema-210pe7vf.js} +34 -34
  31. package/dist/chunks/{project-n7e2n2r9.js → schema-21qby824.js} +323 -323
  32. package/dist/chunks/{project-sq958vhs.js → schema-269arx00.js} +22 -22
  33. package/dist/chunks/{project-zg0jbn27.js → schema-26x8chrq.js} +6 -6
  34. package/dist/chunks/{project-19311dth.js → schema-26z001ty.js} +17 -17
  35. package/dist/chunks/{project-nt2tnka6.js → schema-2cx4pwwp.js} +13 -13
  36. package/dist/chunks/{project-ft3m1rtv.js → schema-2dah0fcg.js} +5 -5
  37. package/dist/chunks/{project-eh1k8bp1.js → schema-2ha14jpx.js} +5 -5
  38. package/dist/chunks/{project-nva4mbph.js → schema-2mkw5nnf.js} +26 -26
  39. package/dist/chunks/{project-6d5phvpe.js → schema-3cnqskb9.js} +45 -45
  40. package/dist/chunks/{project-eppkswgj.js → schema-3fbhx6a4.js} +15 -15
  41. package/dist/chunks/{project-7jvcwqbb.js → schema-3g3amc73.js} +11 -11
  42. package/dist/chunks/{project-c13q7adm.js → schema-3gr2x4rj.js} +23 -23
  43. package/dist/chunks/{project-q3w0bdwb.js → schema-3h3qy8d6.js} +11 -11
  44. package/dist/chunks/{project-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{project-j2q3svc5.js → schema-3ng4e935.js} +20 -20
  46. package/dist/chunks/{project-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{project-qckvhxzw.js → schema-3sxgyymf.js} +11 -11
  48. package/dist/chunks/{project-2fa41nq0.js → schema-3t4pqd58.js} +21 -21
  49. package/dist/chunks/{project-799g0xtq.js → schema-3x9h4h7w.js} +31 -31
  50. package/dist/chunks/{project-r8t391st.js → schema-3zadjdx1.js} +31 -31
  51. package/dist/chunks/{project-me9p9d4t.js → schema-408p671s.js} +78 -78
  52. package/dist/chunks/{project-40za9wsf.js → schema-40za9wsf.js} +2 -2
  53. package/dist/chunks/{project-2vrz8qrs.js → schema-448jnkaf.js} +8 -8
  54. package/dist/chunks/{project-ey4zchg3.js → schema-4ct751ez.js} +32 -32
  55. package/dist/chunks/{project-gzx9tr3x.js → schema-4dqzxk7p.js} +35 -35
  56. package/dist/chunks/{project-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
  57. package/dist/chunks/{project-bn5mm526.js → schema-4qg5d7zq.js} +3 -3
  58. package/dist/chunks/{project-dqz301c6.js → schema-4rzb5v1e.js} +12 -12
  59. package/dist/chunks/{project-wqtd6dn9.js → schema-4s5pdsz9.js} +6 -6
  60. package/dist/chunks/{project-4v008n1t.js → schema-4v008n1t.js} +1 -1
  61. package/dist/chunks/{project-w4kkwae7.js → schema-50q6hzkb.js} +14 -14
  62. package/dist/chunks/{project-s6jhc88p.js → schema-50w453fn.js} +12 -12
  63. package/dist/chunks/{project-s30exhfx.js → schema-552y5q35.js} +12 -12
  64. package/dist/chunks/{project-5ebc4mtx.js → schema-5b4vr08c.js} +10 -10
  65. package/dist/chunks/{project-adqpdtcv.js → schema-5jnjkx8j.js} +28 -28
  66. package/dist/chunks/{project-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{project-wzwsv8q3.js → schema-5r72z9dp.js} +8 -8
  68. package/dist/chunks/{project-a31zznv1.js → schema-5t9jfe1j.js} +14 -14
  69. package/dist/chunks/{project-ey3djwrh.js → schema-5vwbz2vn.js} +2 -2
  70. package/dist/chunks/{project-xf5kfeqa.js → schema-5wkj2ywt.js} +15 -15
  71. package/dist/chunks/{project-z016zt19.js → schema-5x26af84.js} +4 -4
  72. package/dist/chunks/{project-7xm26dej.js → schema-5y2afnr7.js} +51 -51
  73. package/dist/chunks/{project-rrad2nt9.js → schema-61ennm6n.js} +4 -4
  74. package/dist/chunks/{project-9p4gea0z.js → schema-63g612mw.js} +3 -3
  75. package/dist/chunks/{project-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
  76. package/dist/chunks/{project-d73nr425.js → schema-6f28nday.js} +43 -43
  77. package/dist/chunks/{project-mfv1rfcp.js → schema-6n305hg2.js} +9 -9
  78. package/dist/chunks/{project-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
  79. package/dist/chunks/{project-nah043kf.js → schema-770pw0s1.js} +4 -4
  80. package/dist/chunks/{project-aze2b8kp.js → schema-7aatzr77.js} +30 -30
  81. package/dist/chunks/{project-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{project-9wzjb77v.js → schema-7jz89kf0.js} +5 -5
  83. package/dist/chunks/{project-05bsswg1.js → schema-7kxnx84r.js} +27 -27
  84. package/dist/chunks/{project-mba9snx8.js → schema-7p1vn3s6.js} +9 -9
  85. package/dist/chunks/{project-w11ey1wa.js → schema-7pa3t2xk.js} +11 -11
  86. package/dist/chunks/{project-xd934wrq.js → schema-7rm7mm2f.js} +6 -6
  87. package/dist/chunks/{project-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{project-2ttzh2h6.js → schema-7y8v7c8e.js} +11 -11
  89. package/dist/chunks/{project-mnmgb4vy.js → schema-7yh8xe92.js} +21 -21
  90. package/dist/chunks/{project-3qevjexk.js → schema-8bhq06zm.js} +5 -5
  91. package/dist/chunks/{project-aym7h9kd.js → schema-8ek83jqy.js} +36 -36
  92. package/dist/chunks/{project-txdrszf7.js → schema-8eqybnrh.js} +5 -5
  93. package/dist/chunks/{project-5w021j54.js → schema-8gz737b7.js} +4 -4
  94. package/dist/chunks/{project-8jztxfpf.js → schema-8jztxfpf.js} +1 -1
  95. package/dist/chunks/{project-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  96. package/dist/chunks/{project-90zstvax.js → schema-90zstvax.js} +1 -1
  97. package/dist/chunks/{project-2tprm9m6.js → schema-94rrg3vb.js} +47 -47
  98. package/dist/chunks/{project-r9mkamcg.js → schema-9e9bdq1p.js} +11 -11
  99. package/dist/chunks/{project-94pnpden.js → schema-9exzskw1.js} +74 -74
  100. package/dist/chunks/{project-y1325wkv.js → schema-9kverp60.js} +14 -14
  101. package/dist/chunks/{project-zx29snpc.js → schema-9r0x1bva.js} +9 -9
  102. package/dist/chunks/{project-ds061g1g.js → schema-9rhy1jhz.js} +35 -35
  103. package/dist/chunks/{project-zgd8t41s.js → schema-9z9tayqc.js} +9 -9
  104. package/dist/chunks/{project-eq7epvew.js → schema-a4qm5kkz.js} +3 -3
  105. package/dist/chunks/{project-2tjq87z5.js → schema-a6dwmrq2.js} +23 -23
  106. package/dist/chunks/{project-e46kqp3e.js → schema-aa5aqj1j.js} +11 -11
  107. package/dist/chunks/{project-d4w7jtq9.js → schema-adrdbcay.js} +17 -17
  108. package/dist/chunks/{project-7dm987a9.js → schema-ae69f5xb.js} +12 -12
  109. package/dist/chunks/{project-s3s9hs0c.js → schema-afq6afk6.js} +22 -22
  110. package/dist/chunks/{project-f4h8jhts.js → schema-ah0gjdxz.js} +44 -44
  111. package/dist/chunks/{project-1h6fjecm.js → schema-at9e0pnj.js} +29 -29
  112. package/dist/chunks/{project-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
  113. package/dist/chunks/{project-a1meba53.js → schema-b0k6q4r7.js} +21 -21
  114. package/dist/chunks/{project-b6vsg801.js → schema-b6vsg801.js} +2 -2
  115. package/dist/chunks/{project-pcfd06vh.js → schema-b8nj54vk.js} +20 -20
  116. package/dist/chunks/{project-71dc9dsf.js → schema-b9bpy08a.js} +17 -17
  117. package/dist/chunks/{project-g65rdf98.js → schema-bhxshkcp.js} +37 -37
  118. package/dist/chunks/{project-k6kbygd0.js → schema-bkkedvkd.js} +5 -5
  119. package/dist/chunks/{project-27sjz104.js → schema-btbftat3.js} +4 -4
  120. package/dist/chunks/{project-459w24x0.js → schema-btkemy5f.js} +16 -16
  121. package/dist/chunks/{project-nzep71h9.js → schema-cbrqsbxs.js} +35 -35
  122. package/dist/chunks/{project-hrn2e2cq.js → schema-cc9g74x6.js} +7 -7
  123. package/dist/chunks/{project-jv5e37k4.js → schema-ce2ydvyh.js} +49 -49
  124. package/dist/chunks/{project-hr2wbp44.js → schema-chb25f6y.js} +9 -9
  125. package/dist/chunks/{project-6jcsbcjf.js → schema-cke2hwj1.js} +14 -14
  126. package/dist/chunks/{project-3vs2fbhh.js → schema-cr4v66wc.js} +18 -18
  127. package/dist/chunks/{project-8drcqw0f.js → schema-ct5fctns.js} +17 -17
  128. package/dist/chunks/{project-34ar8crh.js → schema-ctbc3d2x.js} +9 -9
  129. package/dist/chunks/{project-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{project-5qc37f80.js → schema-cxn0c79x.js} +13 -13
  131. package/dist/chunks/{project-2pgc8tgc.js → schema-czjbmn1x.js} +3 -3
  132. package/dist/chunks/{project-d2887f8n.js → schema-d2887f8n.js} +1 -1
  133. package/dist/chunks/{project-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  134. package/dist/chunks/{project-t4sgv1fk.js → schema-d9vx7wx0.js} +15 -15
  135. package/dist/chunks/{project-zx6h37zb.js → schema-df57mhq9.js} +17 -17
  136. package/dist/chunks/{project-xtbg8a45.js → schema-dfxm9epe.js} +23 -23
  137. package/dist/chunks/{project-cfcfv7cp.js → schema-dh1g62nj.js} +23 -23
  138. package/dist/chunks/{project-1b0ss9v1.js → schema-dh7yr4e4.js} +33 -33
  139. package/dist/chunks/{project-38by4s4r.js → schema-dn4sdd79.js} +28 -28
  140. package/dist/chunks/{project-3j1m3tq4.js → schema-ds7r37yp.js} +5 -5
  141. package/dist/chunks/{project-dt77769w.js → schema-dt77769w.js} +1 -1
  142. package/dist/chunks/{project-w7tc5k17.js → schema-dtjqx0e4.js} +23 -23
  143. package/dist/chunks/{project-4vm9vmfx.js → schema-e0sctgnq.js} +15 -15
  144. package/dist/chunks/{project-nf3ytnjv.js → schema-e1frhwek.js} +8 -8
  145. package/dist/chunks/{project-e834z07m.js → schema-e834z07m.js} +1 -1
  146. package/dist/chunks/{project-psr6t8k9.js → schema-e9zqgb96.js} +38 -38
  147. package/dist/chunks/{project-zx69eakp.js → schema-ehb90vmh.js} +15 -15
  148. package/dist/chunks/{project-fzpw41ny.js → schema-ehsb21bg.js} +22 -22
  149. package/dist/chunks/{project-fv82f688.js → schema-ek1rnzpg.js} +13 -13
  150. package/dist/chunks/{project-dmbhcq3k.js → schema-f1q86js6.js} +12 -12
  151. package/dist/chunks/{project-fvtargsj.js → schema-f4bj65gc.js} +1 -1
  152. package/dist/chunks/{project-gyk73bm7.js → schema-fajmsesy.js} +14 -14
  153. package/dist/chunks/{project-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
  154. package/dist/chunks/{project-prq7xxp2.js → schema-fg9p65nk.js} +6 -6
  155. package/dist/chunks/{project-38ywgb00.js → schema-fpb1sgsj.js} +21 -21
  156. package/dist/chunks/{project-dtqc2fsd.js → schema-fv6xxc7y.js} +11 -11
  157. package/dist/chunks/{project-wr3re1en.js → schema-fznmdakp.js} +4 -4
  158. package/dist/chunks/{project-ewexpb9k.js → schema-g13qewtb.js} +6 -6
  159. package/dist/chunks/{project-ayxp4qd3.js → schema-g1w8m9xc.js} +194 -194
  160. package/dist/chunks/{project-r96ere88.js → schema-g9ndtp1p.js} +4 -4
  161. package/dist/chunks/{project-gg8p9cgs.js → schema-gg8p9cgs.js} +3 -3
  162. package/dist/chunks/{project-3gezxapr.js → schema-gj697h3c.js} +17 -17
  163. package/dist/chunks/{project-dzj6a01f.js → schema-gjwgtksd.js} +44 -44
  164. package/dist/chunks/{project-wcgrwyye.js → schema-grp5rwdb.js} +10 -10
  165. package/dist/chunks/{project-q1nnka74.js → schema-h097nhc1.js} +8 -8
  166. package/dist/chunks/{project-5h5p4jk8.js → schema-h0ppebc3.js} +8 -8
  167. package/dist/chunks/{project-nhdw7njq.js → schema-h1qzytc1.js} +22 -22
  168. package/dist/chunks/{project-86sj6v0r.js → schema-hapd2mq8.js} +31 -31
  169. package/dist/chunks/{project-80j4qbe9.js → schema-hbmj972w.js} +17 -17
  170. package/dist/chunks/{project-3wezf27v.js → schema-hc8nqjwe.js} +9 -9
  171. package/dist/chunks/{project-9562mf0m.js → schema-hdfrs5mg.js} +9 -9
  172. package/dist/chunks/{project-xnh55p1t.js → schema-hfgk9wzg.js} +7 -7
  173. package/dist/chunks/{project-ahzfx2tk.js → schema-hkt99n7n.js} +6 -6
  174. package/dist/chunks/{project-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
  175. package/dist/chunks/{project-2zp5a6yg.js → schema-hqxkkta1.js} +3 -3
  176. package/dist/chunks/{project-kvhc1fwr.js → schema-hte5j8rj.js} +52 -52
  177. package/dist/chunks/{project-zhq6s34y.js → schema-hvwz7mjy.js} +5 -5
  178. package/dist/chunks/{project-f6mm2amt.js → schema-j0fb9gww.js} +6 -6
  179. package/dist/chunks/{project-fjma1jv2.js → schema-j2na3mwa.js} +32 -32
  180. package/dist/chunks/{project-nx583b5g.js → schema-j6rxfpjy.js} +12 -12
  181. package/dist/chunks/{project-14gt304f.js → schema-j7jb94ac.js} +25 -25
  182. package/dist/chunks/{project-3kdbrncp.js → schema-ja63h2sr.js} +5 -5
  183. package/dist/chunks/{project-8x9y3wj0.js → schema-jcqm84fr.js} +9 -9
  184. package/dist/chunks/{project-f6x4r6gn.js → schema-jesqdct3.js} +4 -4
  185. package/dist/chunks/{project-jfaecv01.js → schema-jfaecv01.js} +1 -1
  186. package/dist/chunks/{project-bsezhyhb.js → schema-jj7tzx6g.js} +24 -24
  187. package/dist/chunks/{project-gas2q22w.js → schema-jrc11jm8.js} +9 -9
  188. package/dist/chunks/{project-5fh1z4z1.js → schema-jspw90cp.js} +18 -18
  189. package/dist/chunks/{project-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
  190. package/dist/chunks/{project-rx76597h.js → schema-jzepz2rk.js} +26 -26
  191. package/dist/chunks/{project-sjqk8nme.js → schema-k031ef6b.js} +24 -24
  192. package/dist/chunks/{project-t7bjgsbt.js → schema-k2yq3k02.js} +16 -16
  193. package/dist/chunks/{project-rcb3tjxw.js → schema-k624yqda.js} +4 -4
  194. package/dist/chunks/{project-h316rdv7.js → schema-k7b253ks.js} +44 -44
  195. package/dist/chunks/{project-k814nvkf.js → schema-k814nvkf.js} +1 -1
  196. package/dist/chunks/{project-wby0kqsc.js → schema-k9zkdd2y.js} +4 -4
  197. package/dist/chunks/{project-fghe2ptw.js → schema-kbdkx2jg.js} +23 -23
  198. package/dist/chunks/{project-qfdapvtz.js → schema-kf8fsxtd.js} +54 -54
  199. package/dist/chunks/{project-160yv0cs.js → schema-kmzgegqq.js} +8 -8
  200. package/dist/chunks/{project-1g1hpfaj.js → schema-kprhyz1z.js} +83 -83
  201. package/dist/chunks/{project-x040dv0w.js → schema-kq6ta67e.js} +25 -25
  202. package/dist/chunks/{project-7hq1xj9b.js → schema-krr7tknq.js} +23 -23
  203. package/dist/chunks/{project-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
  204. package/dist/chunks/{project-3vt72wg3.js → schema-kxh38scf.js} +27 -27
  205. package/dist/chunks/{project-m1714858.js → schema-m1714858.js} +1 -1
  206. package/dist/chunks/{project-602fj4e2.js → schema-m4f8sh63.js} +25 -25
  207. package/dist/chunks/{project-0g4awprx.js → schema-m8sj5xmd.js} +1 -1
  208. package/dist/chunks/{project-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  209. package/dist/chunks/{project-e717qx8y.js → schema-mnw2gt42.js} +23 -23
  210. package/dist/chunks/{project-wdt8vddk.js → schema-mpxecfx5.js} +11 -11
  211. package/dist/chunks/{project-rnvvyp42.js → schema-myxan7r3.js} +6 -6
  212. package/dist/chunks/schema-n3r3rt18.js +18 -0
  213. package/dist/chunks/{project-cq02s23n.js → schema-n5wkbxzm.js} +11 -11
  214. package/dist/chunks/{project-jfb3emas.js → schema-nj7fnw38.js} +51 -51
  215. package/dist/chunks/{project-hs34szv9.js → schema-nnhp4nhp.js} +14 -14
  216. package/dist/chunks/{project-p015t6z3.js → schema-p015t6z3.js} +2 -2
  217. package/dist/chunks/{project-7sdtxe0n.js → schema-p7f9amnf.js} +8 -8
  218. package/dist/chunks/schema-p8c3k4sp.js +257 -0
  219. package/dist/chunks/{project-skp3ezgj.js → schema-pe59pxdd.js} +20 -20
  220. package/dist/chunks/{project-6vq97qmv.js → schema-pfq1ksym.js} +5 -5
  221. package/dist/chunks/{project-pknna89w.js → schema-pknna89w.js} +1 -1
  222. package/dist/chunks/{project-z2vzs3fj.js → schema-pq666zke.js} +29 -29
  223. package/dist/chunks/{project-xfgzn115.js → schema-py366xq1.js} +12 -12
  224. package/dist/chunks/{project-q63cb7ap.js → schema-q63cb7ap.js} +3 -3
  225. package/dist/chunks/{project-sq4s6wq1.js → schema-qah7t4da.js} +6 -6
  226. package/dist/chunks/{project-62tathnt.js → schema-qfdchg71.js} +24 -24
  227. package/dist/chunks/{project-chy3akzh.js → schema-qg7hdk6m.js} +15 -15
  228. package/dist/chunks/{project-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
  229. package/dist/chunks/{project-hhwk9qya.js → schema-qpwdfbas.js} +7 -7
  230. package/dist/chunks/{project-5epte933.js → schema-qsee9sfb.js} +2 -2
  231. package/dist/chunks/{project-jen2k315.js → schema-qtfmf1tm.js} +31 -31
  232. package/dist/chunks/{project-cj1qh6za.js → schema-qyn9kdbg.js} +33 -33
  233. package/dist/chunks/{project-jbzdmrt6.js → schema-qzcxxbs6.js} +38 -38
  234. package/dist/chunks/{project-qga7e6rc.js → schema-qzzez12v.js} +11 -11
  235. package/dist/chunks/{project-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
  236. package/dist/chunks/{project-3aaxk4qf.js → schema-r1emyrvf.js} +2 -2
  237. package/dist/chunks/{project-r542h3bh.js → schema-r542h3bh.js} +1 -1
  238. package/dist/chunks/{project-qdh34tk1.js → schema-r5wdg4a9.js} +8 -8
  239. package/dist/chunks/{project-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  240. package/dist/chunks/{project-9thcrcbn.js → schema-rccanh0n.js} +31 -31
  241. package/dist/chunks/{project-cmgxfm60.js → schema-rk0m1k2s.js} +12 -12
  242. package/dist/chunks/{project-kdpv2zf1.js → schema-rmstegws.js} +38 -38
  243. package/dist/chunks/{project-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
  244. package/dist/chunks/{project-q5tw4zz6.js → schema-rthtd3fc.js} +38 -38
  245. package/dist/chunks/{project-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
  246. package/dist/chunks/{project-heb8hctq.js → schema-saa9e38s.js} +1 -1
  247. package/dist/chunks/{project-zq48vbqh.js → schema-skfxre3x.js} +27 -27
  248. package/dist/chunks/{project-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
  249. package/dist/chunks/{project-8xv62g9a.js → schema-sqpw74e5.js} +23 -23
  250. package/dist/chunks/{project-maw15393.js → schema-srey9s68.js} +13 -13
  251. package/dist/chunks/{project-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
  252. package/dist/chunks/{project-sd52sx5g.js → schema-t3b400sf.js} +4 -4
  253. package/dist/chunks/{project-tzyd7gqa.js → schema-t5jqs5j7.js} +2 -2
  254. package/dist/chunks/{project-tn22qbfv.js → schema-t78wmv83.js} +17 -17
  255. package/dist/chunks/{project-h1pe7txv.js → schema-tbn2mnzh.js} +3 -3
  256. package/dist/chunks/{project-3v4n5zps.js → schema-tcsxprfy.js} +31 -31
  257. package/dist/chunks/{project-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  258. package/dist/chunks/{project-pnwsrq7c.js → schema-tf9r37f3.js} +11 -11
  259. package/dist/chunks/{project-0dbrkw6r.js → schema-tg57hhy1.js} +21 -21
  260. package/dist/chunks/{project-twssxy5n.js → schema-twssxy5n.js} +2 -2
  261. package/dist/chunks/{project-gchbbwt8.js → schema-txbj6sh8.js} +11 -11
  262. package/dist/chunks/{project-b33ebngj.js → schema-v0jzprfb.js} +12 -12
  263. package/dist/chunks/{project-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  264. package/dist/chunks/{project-dpcjrdrj.js → schema-vqf4085a.js} +13 -13
  265. package/dist/chunks/{project-mjncwgp7.js → schema-vyc6s2qb.js} +19 -19
  266. package/dist/chunks/{project-9q8g9sv8.js → schema-w35wzz9x.js} +4 -4
  267. package/dist/chunks/{project-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{project-9yrnwmme.js → schema-w5sf4kaa.js} +8 -8
  269. package/dist/chunks/{project-hhcxg32b.js → schema-wahr43z1.js} +4 -4
  270. package/dist/chunks/{project-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  271. package/dist/chunks/{project-wd87259q.js → schema-wd87259q.js} +1 -1
  272. package/dist/chunks/{project-wr1az2wc.js → schema-wfmjjmyz.js} +17 -17
  273. package/dist/chunks/{project-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
  274. package/dist/chunks/{project-db8965yk.js → schema-wv0e3mfz.js} +27 -27
  275. package/dist/chunks/{project-7wmd0erc.js → schema-x9s6m3f5.js} +37 -37
  276. package/dist/chunks/{project-9h4962kz.js → schema-xc81ym32.js} +14 -14
  277. package/dist/chunks/{project-bstexjd6.js → schema-xd9cc171.js} +5 -5
  278. package/dist/chunks/{project-4e9277vr.js → schema-xpa3vb6e.js} +19 -19
  279. package/dist/chunks/{project-2mbjfaxd.js → schema-xsact9zs.js} +4 -4
  280. package/dist/chunks/{project-6mxrg4kx.js → schema-xtfsy8hb.js} +7 -7
  281. package/dist/chunks/{project-yara3q77.js → schema-yara3q77.js} +2 -2
  282. package/dist/chunks/{project-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  283. package/dist/chunks/{project-k293y0h3.js → schema-yfcb8j9k.js} +5 -5
  284. package/dist/chunks/{project-vq0wjetv.js → schema-yhe5e00v.js} +9 -9
  285. package/dist/chunks/{project-a9q6fvpe.js → schema-ymz7p2c9.js} +3 -3
  286. package/dist/chunks/{project-sxz3hzr2.js → schema-yzwnyabz.js} +11 -11
  287. package/dist/chunks/{project-z38nccrw.js → schema-z38nccrw.js} +1 -1
  288. package/dist/chunks/{project-6qd66m37.js → schema-zbrhs51n.js} +25 -25
  289. package/dist/chunks/{project-88vg190z.js → schema-zpr60y31.js} +6 -6
  290. package/dist/chunks/{project-sgg5jrrm.js → schema-zt231353.js} +32 -32
  291. package/dist/chunks/{project-p2cjbm1q.js → schema-zzzjcb07.js} +22 -22
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +89 -89
  297. package/dist/config/discovery.js +90 -90
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +126 -126
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  329. package/dist/database/database.js +72 -72
  330. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +13 -13
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +14 -14
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +100 -100
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -377
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +1 -1
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +101 -101
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +80 -80
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +86 -86
  433. package/dist/filesystem/location-watcher-policy.js +6 -6
  434. package/dist/filesystem/location-watcher.js +234 -234
  435. package/dist/filesystem/protected.js +1 -1
  436. package/dist/filesystem/search.js +105 -105
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +11 -11
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +88 -88
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +115 -115
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +107 -107
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -368
  470. package/dist/instruction-discovery.js +92 -92
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +95 -95
  475. package/dist/job.js +82 -82
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +166 -166
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -365
  482. package/dist/location.js +97 -97
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +113 -113
  486. package/dist/mcp/instructions.js +168 -168
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +107 -107
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +108 -108
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +110 -110
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +86 -86
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +147 -147
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +94 -94
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -338
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +119 -119
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +128 -128
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +128 -128
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +123 -123
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +130 -130
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -171
  553. package/dist/plugin/sdk.js +80 -80
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +139 -139
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +357 -357
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +2 -2
  568. package/dist/plugin/websearch/parallel.js +6 -6
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +236 -236
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +8 -8
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +98 -98
  576. package/dist/provider.js +107 -107
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +106 -106
  580. package/dist/reference/instructions.js +92 -92
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +3 -3
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +103 -103
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +164 -164
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +228 -228
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +188 -188
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +138 -138
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +2 -2
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +152 -152
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +1 -1
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +5 -5
  622. package/dist/session/runner/step.js +154 -154
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +3 -3
  625. package/dist/session/session.js +170 -170
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +79 -79
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +4 -4
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +5 -5
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +222 -222
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +219 -219
  640. package/dist/shell/parse.js +8 -8
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +15 -15
  644. package/dist/shell.js +135 -135
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +141 -141
  647. package/dist/skill.js +148 -148
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +167 -167
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +160 -160
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +158 -158
  660. package/dist/tool/plugin/question.js +138 -138
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +224 -224
  663. package/dist/tool/plugin/skill.js +149 -149
  664. package/dist/tool/plugin/subagent.js +224 -224
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +147 -147
  667. package/dist/tool/plugin/websearch.js +143 -143
  668. package/dist/tool/plugin/write.js +156 -156
  669. package/dist/tool/read-filesystem.js +108 -108
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +93 -93
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +7 -7
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +3 -3
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +101 -101
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +93 -93
  692. package/dist/voice.js +96 -96
  693. package/dist/websearch.js +88 -88
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +87 -87
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +88 -88
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +106 -106
  704. package/package.json +8 -8
  705. package/dist/chunks/project-2224t6nn.js +0 -257
  706. package/dist/chunks/project-d77dj7jw.js +0 -18
  707. package/dist/chunks/project-megfknn9.js +0 -26
  708. /package/dist/chunks/{project-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{project-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{project-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{project-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{project-1jakw16s.js → schema-1jakw16s.js} +0 -0
  713. /package/dist/chunks/{project-24dcb14g.js → schema-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{project-2710q6r3.js → schema-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{project-2bv980vf.js → schema-2bv980vf.js} +0 -0
  716. /package/dist/chunks/{project-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{project-359p4xyc.js → schema-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{project-3asan66x.js → schema-3asan66x.js} +0 -0
  719. /package/dist/chunks/{project-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{project-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{project-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{project-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{project-4m86bj6y.js → schema-4m86bj6y.js} +0 -0
  724. /package/dist/chunks/{project-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{project-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{project-53557ph1.js → schema-53557ph1.js} +0 -0
  727. /package/dist/chunks/{project-550bvhaj.js → schema-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{project-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
  729. /package/dist/chunks/{project-6prwharc.js → schema-6prwharc.js} +0 -0
  730. /package/dist/chunks/{project-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  731. /package/dist/chunks/{project-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{project-7m9af43g.js → schema-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{project-822emrt2.js → schema-822emrt2.js} +0 -0
  734. /package/dist/chunks/{project-84wd9syh.js → schema-84wd9syh.js} +0 -0
  735. /package/dist/chunks/{project-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{project-8n3pysct.js → schema-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{project-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{project-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{project-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{project-a058387c.js → schema-a058387c.js} +0 -0
  741. /package/dist/chunks/{project-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{project-af5trqkr.js → schema-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{project-afrmfg78.js → schema-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{project-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{project-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{project-beh6qq61.js → schema-beh6qq61.js} +0 -0
  747. /package/dist/chunks/{project-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{project-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{project-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{project-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{project-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{project-d9fn303g.js → schema-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{project-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{project-dajrwvna.js → schema-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{project-dap0rakb.js → schema-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{project-df08tz66.js → schema-df08tz66.js} +0 -0
  757. /package/dist/chunks/{project-dy18nga0.js → schema-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{project-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{project-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{project-ec1grn59.js → schema-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{project-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{project-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{project-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{project-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{project-faypxj3z.js → schema-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{project-fd410y7t.js → schema-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{project-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
  768. /package/dist/chunks/{project-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  769. /package/dist/chunks/{project-g86h250q.js → schema-g86h250q.js} +0 -0
  770. /package/dist/chunks/{project-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  771. /package/dist/chunks/{project-gftt206x.js → schema-gftt206x.js} +0 -0
  772. /package/dist/chunks/{project-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  773. /package/dist/chunks/{project-hk9envan.js → schema-hk9envan.js} +0 -0
  774. /package/dist/chunks/{project-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  775. /package/dist/chunks/{project-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  776. /package/dist/chunks/{project-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  777. /package/dist/chunks/{project-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  778. /package/dist/chunks/{project-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  779. /package/dist/chunks/{project-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
  780. /package/dist/chunks/{project-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  781. /package/dist/chunks/{project-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  782. /package/dist/chunks/{project-m18g726c.js → schema-m18g726c.js} +0 -0
  783. /package/dist/chunks/{project-mp448xyj.js → schema-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{project-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{project-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{project-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{project-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
  788. /package/dist/chunks/{project-njntx4h6.js → schema-njntx4h6.js} +0 -0
  789. /package/dist/chunks/{project-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
  790. /package/dist/chunks/{project-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  791. /package/dist/chunks/{project-q74kybfr.js → schema-q74kybfr.js} +0 -0
  792. /package/dist/chunks/{project-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  793. /package/dist/chunks/{project-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  794. /package/dist/chunks/{project-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  795. /package/dist/chunks/{project-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  796. /package/dist/chunks/{project-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  797. /package/dist/chunks/{project-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  798. /package/dist/chunks/{project-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  799. /package/dist/chunks/{project-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  800. /package/dist/chunks/{project-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  801. /package/dist/chunks/{project-w803qqfp.js → schema-w803qqfp.js} +0 -0
  802. /package/dist/chunks/{project-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  803. /package/dist/chunks/{project-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  804. /package/dist/chunks/{project-wtztk69x.js → schema-wtztk69x.js} +0 -0
  805. /package/dist/chunks/{project-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  806. /package/dist/chunks/{project-x61499pn.js → schema-x61499pn.js} +0 -0
  807. /package/dist/chunks/{project-y44na4kk.js → schema-y44na4kk.js} +0 -0
  808. /package/dist/chunks/{project-y8f7s663.js → schema-y8f7s663.js} +0 -0
  809. /package/dist/chunks/{project-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  810. /package/dist/chunks/{project-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  811. /package/dist/chunks/{project-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./project-wcgrwyye.js";
3
+ } from "./schema-grp5rwdb.js";
4
4
  import {
5
- Service84
6
- } from "./project-a31zznv1.js";
5
+ Service82
6
+ } from "./schema-5t9jfe1j.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./project-3v4n5zps.js";
9
+ Event19
10
+ } from "./schema-tcsxprfy.js";
11
11
  import {
12
- ID15,
12
+ ID14,
13
13
  MethodID2
14
- } from "./project-jen2k315.js";
14
+ } from "./schema-qtfmf1tm.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./project-yb20nhc3.js";
18
+ } from "./schema-yb20nhc3.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./project-1b0ss9v1.js";
23
+ } from "./schema-dh7yr4e4.js";
24
24
  import {
25
25
  get5
26
- } from "./project-3nnrz6f6.js";
26
+ } from "./schema-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./project-f6mm2amt.js";
29
+ } from "./schema-j0fb9gww.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
49
49
  }));
50
50
  var decodeClaims = Schema.decodeUnknownOption(Claims);
51
51
  var browser = (app) => ({
52
- integrationID: ID15.make("openai"),
52
+ integrationID: ID14.make("openai"),
53
53
  method: {
54
54
  id: browserMethodID,
55
55
  type: "oauth",
@@ -122,7 +122,7 @@ function addressInUse(error) {
122
122
  return "code" in error && error.code === "EADDRINUSE";
123
123
  }
124
124
  var headless = (app) => ({
125
- integrationID: ID15.make("openai"),
125
+ integrationID: ID14.make("openai"),
126
126
  method: {
127
127
  id: headlessMethodID,
128
128
  type: "oauth",
@@ -164,10 +164,10 @@ var headless = (app) => ({
164
164
  }),
165
165
  refresh: (value) => refresh(headlessMethodID, value, app)
166
166
  });
167
- var OpenAIPlugin2 = define({
167
+ var OpenAIPlugin3 = define({
168
168
  id: "opencode.provider.openai",
169
169
  effect: Effect.fn(function* (ctx) {
170
- const bus = yield* Service84;
170
+ const bus = yield* Service82;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let chatgpt;
173
173
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -182,9 +182,9 @@ var OpenAIPlugin2 = define({
182
182
  editor.method.update(headless(ctx.app));
183
183
  });
184
184
  yield* load();
185
- const configured = yield* configuredSettings2(ID12.openai);
185
+ const configured = yield* configuredSettings2(ID13.openai);
186
186
  yield* ctx.provider.transform((providers) => {
187
- const item = providers.get(ID12.openai);
187
+ const item = providers.get(ID13.openai);
188
188
  if (!item)
189
189
  return;
190
190
  const account = chatgpt?.metadata?.accountID;
@@ -204,7 +204,7 @@ var OpenAIPlugin2 = define({
204
204
  });
205
205
  });
206
206
  yield* ctx.model.transform((models) => {
207
- for (const model of models.list(ID12.openai)) {
207
+ for (const model of models.list(ID13.openai)) {
208
208
  models.update(model.providerID, model.id, (draft) => {
209
209
  if (!chatgpt)
210
210
  return;
@@ -234,14 +234,14 @@ var OpenAIPlugin2 = define({
234
234
  }));
235
235
  evt.headers.originator = "opencode";
236
236
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
237
- }), { providerID: ID12.openai });
237
+ }), { providerID: ID13.openai });
238
238
  const omitOutputLimit = (evt) => Effect.sync(() => {
239
239
  delete evt.options.maxTokens;
240
240
  });
241
241
  for (const name of ["context", "compaction"])
242
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
242
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
243
243
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
244
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
244
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
245
245
  })
246
246
  });
247
247
  function headers(contentType, app) {
@@ -332,4 +332,4 @@ function claim(token) {
332
332
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
333
333
  }
334
334
 
335
- export { OpenAIPlugin2 };
335
+ export { OpenAIPlugin3 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./project-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
- Service76
6
- } from "./project-80j4qbe9.js";
5
+ Service80
6
+ } from "./schema-hbmj972w.js";
7
7
  import {
8
- Service69
9
- } from "./project-jv5e37k4.js";
8
+ Service71
9
+ } from "./schema-ce2ydvyh.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./project-9thcrcbn.js";
13
+ } from "./schema-rccanh0n.js";
14
14
  import {
15
15
  observe2
16
- } from "./project-hpg1pkwy.js";
16
+ } from "./schema-hpg1pkwy.js";
17
17
  import {
18
18
  __export
19
- } from "./project-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin33
25
+ Plugin: () => Plugin34
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin33 = define({
31
+ var Plugin34 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service69;
35
- const location = yield* Service76;
34
+ const config = yield* Service71;
35
+ const location = yield* Service80;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin33, exports_reference };
75
+ export { Plugin34, exports_reference };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service60
3
- } from "./project-62tathnt.js";
2
+ Service59
3
+ } from "./schema-qfdchg71.js";
4
4
  import {
5
5
  __export
6
- } from "./project-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service60;
24
+ const environment = yield* Service59;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./project-z5v4ffb3.js";
4
+ } from "./schema-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./project-5epte933.js";
7
+ } from "./schema-qsee9sfb.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service84,
3
- node86
4
- } from "./project-a31zznv1.js";
2
+ Service82,
3
+ node85
4
+ } from "./schema-5t9jfe1j.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./project-rb9dy4dg.js";
9
+ } from "./schema-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./project-7xm26dej.js";
12
+ } from "./schema-5y2afnr7.js";
13
13
  import {
14
- Service76,
15
- node78
16
- } from "./project-80j4qbe9.js";
14
+ Service80,
15
+ node83
16
+ } from "./schema-hbmj972w.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./project-204s3925.js";
20
+ } from "./schema-204s3925.js";
21
21
  import {
22
22
  __export
23
- } from "./project-9rqn6x4v.js";
23
+ } from "./schema-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,7 +29,7 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info6,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
35
  Service: () => Service19,
@@ -41,7 +41,7 @@ import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -59,8 +59,8 @@ class Service19 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
60
  var layer = Layer.effect(Service19, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service76;
63
- const bus = yield* Service84;
62
+ const location = yield* Service80;
63
+ const bus = yield* Service82;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
66
66
  const vcs = location.vcs;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -192,7 +192,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
192
192
  var node22 = makeLocationNode({
193
193
  service: Service19,
194
194
  layer,
195
- deps: [FSUtil.node, node78, node86]
195
+ deps: [FSUtil.node, node83, node85]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service19, node22, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info6, Mode2, Untracked2, DiffError2, InitializeError2, Service19, node22, exports_vcs };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./project-z3cpcmma.js";
3
+ } from "./schema-061s75p4.js";
4
4
  import {
5
5
  apply3
6
- } from "./project-eq7epvew.js";
6
+ } from "./schema-a4qm5kkz.js";
7
7
  import {
8
8
  __export
9
- } from "./project-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./project-h1pe7txv.js";
4
+ } from "./schema-tbn2mnzh.js";
5
5
  import {
6
- Service84,
7
- node86
8
- } from "./project-a31zznv1.js";
6
+ Service82,
7
+ node85
8
+ } from "./schema-5t9jfe1j.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./project-pknna89w.js";
11
+ } from "./schema-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./project-m1714858.js";
14
+ } from "./schema-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./project-9rqn6x4v.js";
17
+ } from "./schema-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info29,
25
+ ID: () => ID16,
26
+ Info: () => Info27,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service79,
30
30
  Value: () => Value2,
31
- node: () => node85
31
+ node: () => node82
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID17 = Credential.ID;
40
+ var ID16 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event20 = Credential.Event;
45
+ var Event19 = Credential.Event;
46
46
 
47
- class Info29 extends Schema.Class("Credential.Info")({
48
- id: ID17,
47
+ class Info27 extends Schema.Class("Credential.Info")({
48
+ id: ID16,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service83 extends Context.Service()("@opencode/Credential") {
55
+ class Service79 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service83, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
58
58
  const db = (yield* Service86).db;
59
- const bus = yield* Service84;
59
+ const bus = yield* Service82;
60
60
  const flock = yield* EffectFlock.Service;
61
61
  const scope = yield* Effect.scope;
62
62
  const pending = new Map;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info29({
67
+ return new Info27({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
75
75
  const credential = stored(row);
76
76
  return credential ? [credential] : [];
77
77
  });
78
- return Service83.of({
78
+ return Service79.of({
79
79
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
80
80
  const current = pending.get(id);
81
81
  if (current)
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
91
91
  return row ? stored(row) : undefined;
92
92
  }),
93
93
  create: Effect.fn("Credential.create")(function* (input) {
94
- const credential = new Info29({
95
- id: input.id ?? ID17.create(),
94
+ const credential = new Info27({
95
+ id: input.id ?? ID16.create(),
96
96
  integrationID: input.integrationID,
97
97
  label: input.label ?? "default",
98
98
  value: input.value
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
123
123
  type: credential.value.type,
124
124
  active: activated
125
125
  });
126
- yield* bus.publish(Event20.Updated, {}, { global: true });
126
+ yield* bus.publish(Event19.Updated, {}, { global: true });
127
127
  if (activated)
128
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
128
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
129
129
  return credential;
130
130
  }),
131
131
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
145
145
  })), Effect.orDie);
146
146
  if (integrationID) {
147
147
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
148
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
148
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
149
149
  }
150
150
  }),
151
151
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
177
177
  labelChanged: updates.label !== undefined && updates.label !== credential.label
178
178
  });
179
179
  if (updates.label !== undefined && updates.label !== credential.label)
180
- yield* bus.publish(Event20.Updated, {}, { global: true });
180
+ yield* bus.publish(Event19.Updated, {}, { global: true });
181
181
  }),
182
182
  remove: Effect.fn("Credential.remove")(function* (id) {
183
183
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
210
210
  active: removed.switched,
211
211
  ...removed.switched ? { replacementID: removed.credentialID } : {}
212
212
  });
213
- yield* bus.publish(Event20.Updated, {}, { global: true });
213
+ yield* bus.publish(Event19.Updated, {}, { global: true });
214
214
  if (removed.switched)
215
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
215
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
216
216
  })
217
217
  });
218
218
  }));
219
- var node85 = makeGlobalNode({ service: Service83, layer, deps: [node90, node86, EffectFlock.node] });
219
+ var node82 = makeGlobalNode({ service: Service79, layer, deps: [node90, node85, EffectFlock.node] });
220
220
 
221
- export { ID17, OAuth3, Key4, External2, Value2, Event20, Info29, Service83, node85, exports_credential };
221
+ export { ID16, OAuth3, Key4, External2, Value2, Event19, Info27, Service79, node82, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./project-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info19
7
- } from "./project-9q8g9sv8.js";
6
+ Info17
7
+ } from "./schema-w35wzz9x.js";
8
8
  import {
9
9
  __export
10
- } from "./project-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info18
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info19)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info18, exports_agent4 };
72
+ export { Info16, exports_agent3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service84,
3
- node86
4
- } from "./project-a31zznv1.js";
2
+ Service82,
3
+ node85
4
+ } from "./schema-5t9jfe1j.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./project-z5v4ffb3.js";
8
+ } from "./schema-z5v4ffb3.js";
9
9
  import {
10
- Ref4,
11
- Service76,
12
- node78
13
- } from "./project-80j4qbe9.js";
10
+ Ref5,
11
+ Service80,
12
+ node83
13
+ } from "./schema-hbmj972w.js";
14
14
  import {
15
15
  __export
16
- } from "./project-9rqn6x4v.js";
16
+ } from "./schema-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service75,
22
+ Service: () => Service65,
23
23
  define: () => define2,
24
24
  eventDefinition: () => eventDefinition2,
25
- node: () => node77
25
+ node: () => node68
26
26
  });
27
27
  import { define as define2 } from "@opencode/schema/rpc";
28
28
  import { Event } from "@opencode/schema/event";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
31
- class Service75 extends Context.Service()("@opencode/Rpc") {
31
+ class Service65 extends Context.Service()("@opencode/Rpc") {
32
32
  }
33
33
 
34
34
  class DeclaredError extends Error {
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
40
40
  this.data = data;
41
41
  }
42
42
  }
43
- var layer = Layer.effect(Service75, Effect.gen(function* () {
44
- const bus = yield* Service84;
45
- const location = yield* Service76;
46
- const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
43
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const location = yield* Service80;
46
+ const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
47
47
  const closed = yield* Deferred.make();
48
48
  const callContext = {
49
49
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
119
119
  const registered = events.get(name);
120
120
  if (!registered)
121
121
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
122
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
123
123
  }
124
124
  }
125
125
  };
126
126
  };
127
- return Service75.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
+ return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
128
128
  }));
129
- var node77 = makeLocationNode({ service: Service75, layer, deps: [node86, node78] });
129
+ var node68 = makeLocationNode({ service: Service65, layer, deps: [node85, node83] });
130
130
  var fields = {
131
131
  id: Event.ID,
132
132
  created: Schema.Finite,
133
133
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
134
- location: optional2(Ref4)
134
+ location: optional2(Ref5)
135
135
  };
136
136
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
137
137
  var jsonSchemas = new WeakMap;
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service75, node77, eventDefinition2, exports_rpc, define2 };
213
+ export { Service65, node68, eventDefinition2, exports_rpc, define2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./project-svcy3p9a.js";
5
+ } from "./schema-svcy3p9a.js";
6
6
  import {
7
7
  __export
8
- } from "./project-9rqn6x4v.js";
8
+ } from "./schema-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};