@opencode/core 0.0.0-dev-306 → 0.0.0-dev-338

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 (840) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/{location-r7dkdyp5.js → schema-00csjphn.js} +36 -36
  8. package/dist/chunks/{location-nbm7yy57.js → schema-01kh9xtm.js} +14 -14
  9. package/dist/chunks/{location-hch7yraj.js → schema-02ye6z51.js} +15 -15
  10. package/dist/chunks/{location-034tev2y.js → schema-034tev2y.js} +2 -2
  11. package/dist/chunks/{location-zqbg2s7f.js → schema-04rctafp.js} +51 -51
  12. package/dist/chunks/{location-536gnnhd.js → schema-099yywvh.js} +29 -29
  13. package/dist/chunks/{location-6bd340sn.js → schema-0d2vjrpp.js} +8 -8
  14. package/dist/chunks/{location-bqxm09jz.js → schema-0dhx3ykd.js} +55 -55
  15. package/dist/chunks/{location-jyg8crv2.js → schema-0grvd95t.js} +25 -25
  16. package/dist/chunks/{location-ads06k24.js → schema-0hbtj59d.js} +19 -19
  17. package/dist/chunks/{location-bhyrg0mn.js → schema-0hvn3y38.js} +17 -17
  18. package/dist/chunks/{location-sqjzf8x2.js → schema-0j7gp832.js} +4 -4
  19. package/dist/chunks/{location-2bwv8tnq.js → schema-0ncehkqy.js} +87 -87
  20. package/dist/chunks/{location-ghrzdqqx.js → schema-0nde5ztd.js} +5 -5
  21. package/dist/chunks/{location-3dbyenxe.js → schema-0qqqxr5x.js} +20 -20
  22. package/dist/chunks/{location-147wqxjy.js → schema-0t5h2k0v.js} +5 -5
  23. package/dist/chunks/{location-7a4v4c26.js → schema-0w807sat.js} +11 -11
  24. package/dist/chunks/{location-m89858wj.js → schema-12yz1921.js} +3 -3
  25. package/dist/chunks/{location-v2yyptek.js → schema-1ad21j16.js} +8 -8
  26. package/dist/chunks/{location-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{location-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{location-50w453fn.js → schema-1g2qd3p6.js} +12 -12
  29. package/dist/chunks/{location-85hx114z.js → schema-1gdnxn8q.js} +23 -23
  30. package/dist/chunks/{location-5j5yn56v.js → schema-1p3hqer1.js} +12 -12
  31. package/dist/chunks/{location-cmkpv6mv.js → schema-1qc5n05d.js} +10 -10
  32. package/dist/chunks/{location-et87mf2s.js → schema-1ry6nyrb.js} +89 -89
  33. package/dist/chunks/{location-fd5e9wgq.js → schema-1wrrsbc4.js} +12 -12
  34. package/dist/chunks/{location-hhdnbsvt.js → schema-1wtf8ad7.js} +19 -19
  35. package/dist/chunks/{location-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  36. package/dist/chunks/{location-ms8gjsg9.js → schema-1x5s0zfr.js} +23 -23
  37. package/dist/chunks/{location-1yq9hg58.js → schema-1yq9hg58.js} +1 -1
  38. package/dist/chunks/{location-rw03ft0n.js → schema-1z5f493n.js} +5 -5
  39. package/dist/chunks/{location-204s3925.js → schema-204s3925.js} +1 -1
  40. package/dist/chunks/{location-zb0eyyj7.js → schema-25jw3g4f.js} +5 -5
  41. package/dist/chunks/{location-26x8chrq.js → schema-26x8chrq.js} +3 -3
  42. package/dist/chunks/{location-x07fr6ah.js → schema-2gk2y1j8.js} +14 -14
  43. package/dist/chunks/{location-bpjheaj0.js → schema-2j84ncef.js} +21 -21
  44. package/dist/chunks/{location-hh67hv7z.js → schema-2v186e1s.js} +30 -30
  45. package/dist/chunks/{location-99gmmhwa.js → schema-2vahexqr.js} +18 -18
  46. package/dist/chunks/{location-tsz093v2.js → schema-33qkep72.js} +8 -8
  47. package/dist/chunks/{location-zgkfm9vd.js → schema-36r31j1y.js} +15 -15
  48. package/dist/chunks/{location-yh2v5kew.js → schema-3756z231.js} +45 -45
  49. package/dist/chunks/{location-62s3a18k.js → schema-375j4a5k.js} +34 -34
  50. package/dist/chunks/{location-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{location-qgs1tbcx.js → schema-3hn5rpb1.js} +24 -24
  52. package/dist/chunks/{location-34pknpnd.js → schema-3mhkvgqt.js} +26 -26
  53. package/dist/chunks/{location-djd49kbm.js → schema-3qb4h4tp.js} +2 -2
  54. package/dist/chunks/{location-g32ax1nd.js → schema-3vf3ny91.js} +20 -20
  55. package/dist/chunks/{location-3jqxp1k9.js → schema-3w7mkftw.js} +20 -20
  56. package/dist/chunks/{location-40za9wsf.js → schema-40za9wsf.js} +2 -2
  57. package/dist/chunks/{location-w67s4ywc.js → schema-4a2b0ssv.js} +8 -8
  58. package/dist/chunks/{location-5dcrg5my.js → schema-4c49gk8m.js} +5 -5
  59. package/dist/chunks/{location-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
  60. package/dist/chunks/{location-fffxyf18.js → schema-4f5xwjpe.js} +13 -13
  61. package/dist/chunks/{location-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
  62. package/dist/chunks/{location-4v008n1t.js → schema-4v008n1t.js} +1 -1
  63. package/dist/chunks/{location-mkc9xh75.js → schema-4zsvjwk5.js} +11 -11
  64. package/dist/chunks/{location-97r9t6wm.js → schema-54whx9vj.js} +21 -21
  65. package/dist/chunks/{location-9ahqkxsp.js → schema-578cqfvw.js} +3 -3
  66. package/dist/chunks/{location-74n62q8p.js → schema-57h12rnx.js} +3 -3
  67. package/dist/chunks/{location-de6znanw.js → schema-5c0rjt9e.js} +34 -34
  68. package/dist/chunks/{location-98n7hra1.js → schema-5jzshcv3.js} +32 -32
  69. package/dist/chunks/{location-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  70. package/dist/chunks/{location-b6vsg801.js → schema-5nnwax6m.js} +5 -5
  71. package/dist/chunks/{location-fhyh4p9b.js → schema-655tpehd.js} +34 -34
  72. package/dist/chunks/{location-336ptya5.js → schema-68mpvj42.js} +9 -9
  73. package/dist/chunks/{location-efbqjxxv.js → schema-6a8reyab.js} +9 -9
  74. package/dist/chunks/{location-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
  75. package/dist/chunks/{location-3sty8408.js → schema-6sqa993f.js} +9 -9
  76. package/dist/chunks/{location-my54cbqv.js → schema-6srxf2b1.js} +5 -5
  77. package/dist/chunks/{location-28365gvt.js → schema-6wyy0pz9.js} +41 -41
  78. package/dist/chunks/{location-dbmp929s.js → schema-6y263vp8.js} +5 -5
  79. package/dist/chunks/{location-j6fakqra.js → schema-6zw0fw57.js} +3 -3
  80. package/dist/chunks/{location-5bnajwfk.js → schema-71gmpxhv.js} +24 -24
  81. package/dist/chunks/{location-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
  82. package/dist/chunks/{location-t8erkws8.js → schema-78p2h4ex.js} +5 -5
  83. package/dist/chunks/{location-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{location-3mtcb7b3.js → schema-7brnv8w0.js} +17 -17
  85. package/dist/chunks/{location-8gqhbr3y.js → schema-7fff45pw.js} +8 -8
  86. package/dist/chunks/{location-7gh51h4m.js → schema-7h768wt6.js} +20 -20
  87. package/dist/chunks/{location-vnqrb8rh.js → schema-7jw3x0rm.js} +20 -20
  88. package/dist/chunks/{location-7kr66rt3.js → schema-7kr66rt3.js} +1 -1
  89. package/dist/chunks/schema-7mzbv8bq.js +26 -0
  90. package/dist/chunks/{location-0d0e2qqj.js → schema-7n0jac0z.js} +9 -9
  91. package/dist/chunks/{location-eyc69scq.js → schema-7rvjhzv0.js} +31 -31
  92. package/dist/chunks/{location-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{location-rbndg51d.js → schema-7wfak81m.js} +3 -3
  94. package/dist/chunks/{location-f6bwzamp.js → schema-7znc2ak6.js} +12 -12
  95. package/dist/chunks/{location-25h84942.js → schema-8b3vzgkx.js} +4 -4
  96. package/dist/chunks/{location-5h2db7ke.js → schema-8b69v1a7.js} +21 -21
  97. package/dist/chunks/{location-8prsd97r.js → schema-8jhdp17k.js} +31 -31
  98. package/dist/chunks/{location-4f5ax2dv.js → schema-8m7jngp7.js} +11 -11
  99. package/dist/chunks/{location-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  100. package/dist/chunks/{location-90zstvax.js → schema-90zstvax.js} +1 -1
  101. package/dist/chunks/{location-xbvaqmtc.js → schema-9bnx8v1s.js} +43 -43
  102. package/dist/chunks/{location-efswkf52.js → schema-9vnf221r.js} +35 -35
  103. package/dist/chunks/{location-yg79hbqn.js → schema-9y5j7mew.js} +8 -8
  104. package/dist/chunks/{location-zgd8t41s.js → schema-9z9tayqc.js} +9 -9
  105. package/dist/chunks/{location-tkxe7v6f.js → schema-a6vzdybk.js} +20 -20
  106. package/dist/chunks/{location-vkdfbcf5.js → schema-aa5xtxj2.js} +16 -16
  107. package/dist/chunks/{location-gd3reat4.js → schema-afzqdm25.js} +27 -27
  108. package/dist/chunks/{location-zxc9shn1.js → schema-asjdf3ky.js} +4 -4
  109. package/dist/chunks/{location-dxrghr56.js → schema-asp0rn3b.js} +28 -28
  110. package/dist/chunks/{location-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
  111. package/dist/chunks/{location-4c0eh56a.js → schema-b0951d1j.js} +7 -7
  112. package/dist/chunks/{location-9eh5kz8z.js → schema-b1k617ee.js} +19 -19
  113. package/dist/chunks/schema-b2ekajyb.js +257 -0
  114. package/dist/chunks/{location-r0pyvz6f.js → schema-b491pjm5.js} +24 -24
  115. package/dist/chunks/{location-c3qstxzp.js → schema-b59atwxm.js} +4 -4
  116. package/dist/chunks/{location-44vsgcd8.js → schema-bam9qj5c.js} +7 -7
  117. package/dist/chunks/{location-bstexjd6.js → schema-bstexjd6.js} +1 -1
  118. package/dist/chunks/{location-3ryz99p0.js → schema-c6x7d2ts.js} +4 -4
  119. package/dist/chunks/{location-r440h8qp.js → schema-cmhv6pag.js} +11 -11
  120. package/dist/chunks/{location-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
  121. package/dist/chunks/{location-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{location-49bazr4g.js → schema-d56bmmma.js} +19 -19
  123. package/dist/chunks/{location-gm0ycg18.js → schema-dbavz9kp.js} +9 -9
  124. package/dist/chunks/{location-egx4syav.js → schema-dezsc65w.js} +18 -18
  125. package/dist/chunks/{location-07bhy05n.js → schema-djm830jq.js} +4 -4
  126. package/dist/chunks/{location-35bjdts5.js → schema-djs3dngg.js} +7 -7
  127. package/dist/chunks/{location-xnwqffna.js → schema-drfa0kca.js} +3 -3
  128. package/dist/chunks/{location-dt77769w.js → schema-dt77769w.js} +1 -1
  129. package/dist/chunks/{location-4ntm1ty7.js → schema-dxf17875.js} +9 -9
  130. package/dist/chunks/{location-43mtkq1f.js → schema-dy8ej2a0.js} +20 -20
  131. package/dist/chunks/{location-q2kxgsvb.js → schema-e00yb6hn.js} +7 -7
  132. package/dist/chunks/{location-9xnamytp.js → schema-e5awnnxc.js} +25 -25
  133. package/dist/chunks/{location-e834z07m.js → schema-e834z07m.js} +1 -1
  134. package/dist/chunks/{location-011mqk6m.js → schema-e85a669x.js} +10 -10
  135. package/dist/chunks/{location-w510rxtp.js → schema-e89v3s2x.js} +5 -5
  136. package/dist/chunks/{location-hdmnesa6.js → schema-ecd2v7nh.js} +5 -5
  137. package/dist/chunks/{location-mfmmqpne.js → schema-efnt7zk1.js} +28 -28
  138. package/dist/chunks/{location-bbnmh3xr.js → schema-egd6pm3f.js} +35 -35
  139. package/dist/chunks/{location-spehfrkg.js → schema-ehgd54p9.js} +25 -25
  140. package/dist/chunks/{location-v6x8hkr5.js → schema-emvnqz9f.js} +11 -11
  141. package/dist/chunks/{location-mt21hhzj.js → schema-esk39185.js} +6 -6
  142. package/dist/chunks/{location-eqmd2tfz.js → schema-eybj1wgy.js} +5 -5
  143. package/dist/chunks/{location-85qde3ax.js → schema-ezqsy8gy.js} +27 -27
  144. package/dist/chunks/{location-jrbmxwcc.js → schema-ezw7t4kx.js} +9 -9
  145. package/dist/chunks/{location-sh2m58zd.js → schema-f3ad9cbx.js} +43 -43
  146. package/dist/chunks/{location-x79e7hsz.js → schema-faaeq40t.js} +6 -6
  147. package/dist/chunks/{location-pqs4b36k.js → schema-fbgyyhht.js} +21 -21
  148. package/dist/chunks/{location-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
  149. package/dist/chunks/{location-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
  150. package/dist/chunks/{location-nva9eqjm.js → schema-fn61dekp.js} +5 -5
  151. package/dist/chunks/{location-z896zmsn.js → schema-fq1fyy34.js} +41 -41
  152. package/dist/chunks/{location-v3h869xg.js → schema-fs1j62r4.js} +11 -11
  153. package/dist/chunks/{location-beqawg79.js → schema-fxyd2t29.js} +10 -10
  154. package/dist/chunks/{location-y4n6pw34.js → schema-g1e2r5aa.js} +4 -4
  155. package/dist/chunks/{location-8jjf20rn.js → schema-g1mvyxge.js} +8 -8
  156. package/dist/chunks/{location-9hw2m1zw.js → schema-g4te2x2h.js} +31 -31
  157. package/dist/chunks/{location-hhaywkwm.js → schema-gcbf8e2a.js} +11 -11
  158. package/dist/chunks/{location-kv1pxpnb.js → schema-gcye4jv7.js} +4 -4
  159. package/dist/chunks/{location-k4pwdphg.js → schema-gm428j6c.js} +29 -29
  160. package/dist/chunks/{location-xbq7ap0g.js → schema-gv5m31y1.js} +8 -5
  161. package/dist/chunks/{location-kcg78dnn.js → schema-hdfrs5mg.js} +7 -7
  162. package/dist/chunks/{location-kawgm7c0.js → schema-hek2y864.js} +9 -9
  163. package/dist/chunks/{location-hh7kjqtw.js → schema-hh7kjqtw.js} +1 -1
  164. package/dist/chunks/{location-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
  165. package/dist/chunks/{location-2sjtpkz1.js → schema-hptmg8g9.js} +17 -17
  166. package/dist/chunks/{location-zehwd02a.js → schema-hq6dxpfa.js} +24 -24
  167. package/dist/chunks/{location-hqxkkta1.js → schema-hqxkkta1.js} +1 -1
  168. package/dist/chunks/{location-q2571jsw.js → schema-hscrayt9.js} +42 -42
  169. package/dist/chunks/{location-4h609sqz.js → schema-j0dybgn2.js} +30 -30
  170. package/dist/chunks/{location-jcqm84fr.js → schema-jcqm84fr.js} +2 -2
  171. package/dist/chunks/{location-jfaecv01.js → schema-jfaecv01.js} +1 -1
  172. package/dist/chunks/{location-ym7mkmya.js → schema-jhxhd08e.js} +19 -19
  173. package/dist/chunks/{location-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
  174. package/dist/chunks/{location-vze99txj.js → schema-jzy064tf.js} +17 -17
  175. package/dist/chunks/{location-fr9j7gn6.js → schema-k394zw05.js} +58 -58
  176. package/dist/chunks/{location-4bbpqcw3.js → schema-k6966x57.js} +15 -15
  177. package/dist/chunks/{location-k814nvkf.js → schema-k814nvkf.js} +1 -1
  178. package/dist/chunks/{location-j2c5g3b2.js → schema-k8ec4f2h.js} +22 -22
  179. package/dist/chunks/{location-bgd12eww.js → schema-k9c4fygp.js} +193 -193
  180. package/dist/chunks/{location-b3a32pfz.js → schema-kh0hrg97.js} +4 -4
  181. package/dist/chunks/{location-akkhd0hr.js → schema-khq1tf5f.js} +20 -20
  182. package/dist/chunks/{location-q6jmyack.js → schema-kjphpf5s.js} +12 -12
  183. package/dist/chunks/{location-tjspe09c.js → schema-kka3dzk1.js} +10 -10
  184. package/dist/chunks/{location-tg1vr1qt.js → schema-kmzgegqq.js} +8 -8
  185. package/dist/chunks/{location-rerwg0b9.js → schema-ksw1makz.js} +12 -12
  186. package/dist/chunks/{location-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
  187. package/dist/chunks/{location-trmt4qt7.js → schema-m0n96caj.js} +33 -33
  188. package/dist/chunks/{location-m1714858.js → schema-m1714858.js} +1 -1
  189. package/dist/chunks/{location-7kqn30mb.js → schema-m2p7g6q5.js} +39 -39
  190. package/dist/chunks/{location-pk0dqn8g.js → schema-m9mdazr8.js} +5 -5
  191. package/dist/chunks/{location-y0xdaqa2.js → schema-m9qjbqaf.js} +11 -11
  192. package/dist/chunks/{location-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{location-x8fyy5bn.js → schema-ma7n6kha.js} +4 -4
  194. package/dist/chunks/{location-mb7mbhnz.js → schema-mb7mbhnz.js} +3 -3
  195. package/dist/chunks/{location-nf3n4x4w.js → schema-md7hf9yx.js} +29 -29
  196. package/dist/chunks/schema-me0dhgxs.js +18 -0
  197. package/dist/chunks/{location-d2887f8n.js → schema-mtkfycnh.js} +4 -4
  198. package/dist/chunks/{location-w3ee0mms.js → schema-mvcvwgh8.js} +2 -2
  199. package/dist/chunks/{location-qxhe8vts.js → schema-mw7cb6xb.js} +11 -11
  200. package/dist/chunks/{location-9excscth.js → schema-n8agtmcc.js} +16 -16
  201. package/dist/chunks/{location-dgambtz7.js → schema-n9svx643.js} +29 -29
  202. package/dist/chunks/{location-2znspyh0.js → schema-na7hrbgf.js} +15 -15
  203. package/dist/chunks/{location-vha2yqec.js → schema-nagb01d0.js} +6 -6
  204. package/dist/chunks/{location-nah043kf.js → schema-nah043kf.js} +1 -1
  205. package/dist/chunks/{location-2y347c6b.js → schema-nb79qexc.js} +16 -16
  206. package/dist/chunks/{location-sh1my6rk.js → schema-nd0gg6f3.js} +52 -52
  207. package/dist/chunks/{location-esh8axw0.js → schema-nfy79yn0.js} +14 -14
  208. package/dist/chunks/{location-cvsegsfy.js → schema-nhj2s2rn.js} +29 -29
  209. package/dist/chunks/{location-z2vfz141.js → schema-npvk5mbc.js} +12 -12
  210. package/dist/chunks/{location-jgw0ez2q.js → schema-nsannsan.js} +35 -35
  211. package/dist/chunks/{location-p015t6z3.js → schema-p015t6z3.js} +2 -2
  212. package/dist/chunks/{location-x7fqccva.js → schema-p288ht65.js} +9 -9
  213. package/dist/chunks/{location-nkbs8pm4.js → schema-p6qx88jx.js} +11 -11
  214. package/dist/chunks/{location-pknna89w.js → schema-pknna89w.js} +1 -1
  215. package/dist/chunks/{location-aqr5273r.js → schema-pnj9p3e7.js} +15 -15
  216. package/dist/chunks/{location-gprb4n4c.js → schema-pzn80and.js} +5 -5
  217. package/dist/chunks/{location-k6586ewx.js → schema-q3gx0t3a.js} +21 -21
  218. package/dist/chunks/{location-h949k007.js → schema-q89tx0w9.js} +4 -4
  219. package/dist/chunks/{location-jzgtnw1d.js → schema-qa8rkrn5.js} +4 -4
  220. package/dist/chunks/{location-8jztxfpf.js → schema-qjgzc4b4.js} +4 -4
  221. package/dist/chunks/{location-w4dn9kj3.js → schema-qm628a9a.js} +81 -81
  222. package/dist/chunks/{location-zqpvfprb.js → schema-qn9arske.js} +16 -16
  223. package/dist/chunks/{location-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
  224. package/dist/chunks/{location-brd5eeq0.js → schema-qqpbcr2p.js} +8 -8
  225. package/dist/chunks/{location-qqvy8y24.js → schema-qqvy8y24.js} +1 -1
  226. package/dist/chunks/{location-eyba04wr.js → schema-qxzr918a.js} +25 -25
  227. package/dist/chunks/{location-h3chngrm.js → schema-qyfz9dkk.js} +10 -10
  228. package/dist/chunks/{location-7j88ajzy.js → schema-qz97qqq3.js} +22 -22
  229. package/dist/chunks/{location-xrbbh422.js → schema-r15nerz4.js} +2 -2
  230. package/dist/chunks/{location-wpkqvnzq.js → schema-r1hwwpqk.js} +13 -13
  231. package/dist/chunks/{location-bfhbctn3.js → schema-r3jekzdf.js} +29 -29
  232. package/dist/chunks/{location-8k8pzbp4.js → schema-r4zhn8a3.js} +8 -8
  233. package/dist/chunks/{location-r542h3bh.js → schema-r542h3bh.js} +1 -1
  234. package/dist/chunks/{location-s2pfznc4.js → schema-ra34yqmw.js} +6 -6
  235. package/dist/chunks/{location-3sg64nxm.js → schema-rb6a0f6t.js} +11 -11
  236. package/dist/chunks/{location-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  237. package/dist/chunks/{location-vztbg1g9.js → schema-rehx0x6s.js} +11 -11
  238. package/dist/chunks/{location-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
  239. package/dist/chunks/{location-7ahw8xm3.js → schema-s2dzrv2e.js} +351 -351
  240. package/dist/chunks/{location-2spvqkt6.js → schema-s5zjbmxy.js} +13 -13
  241. package/dist/chunks/{location-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{location-cm18kf9d.js → schema-sgq8g3gm.js} +18 -18
  243. package/dist/chunks/{location-j1pnkskb.js → schema-sj028wv8.js} +9 -9
  244. package/dist/chunks/{location-va0kemka.js → schema-snr8m60h.js} +3 -3
  245. package/dist/chunks/{location-zzc7mygy.js → schema-srcgv9w3.js} +50 -50
  246. package/dist/chunks/{location-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
  247. package/dist/chunks/{location-r20zdgj9.js → schema-sx385end.js} +5 -5
  248. package/dist/chunks/{location-4c7peeks.js → schema-t1bgdn1k.js} +21 -21
  249. package/dist/chunks/{location-w62z9fyd.js → schema-t8kxmwy5.js} +3 -3
  250. package/dist/chunks/{location-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  251. package/dist/chunks/{location-g8tf0a0n.js → schema-tj38cb2g.js} +19 -19
  252. package/dist/chunks/{location-tmc7xdjs.js → schema-tmc7xdjs.js} +1 -1
  253. package/dist/chunks/{location-twssxy5n.js → schema-twssxy5n.js} +2 -2
  254. package/dist/chunks/{location-qf791z7a.js → schema-v23js2jf.js} +24 -24
  255. package/dist/chunks/{location-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{location-f5vve9yn.js → schema-vce9hmvv.js} +8 -8
  257. package/dist/chunks/{location-662rk1k7.js → schema-vhvv8ez0.js} +4 -4
  258. package/dist/chunks/{location-9p40vjn2.js → schema-vnyx9vg6.js} +6 -6
  259. package/dist/chunks/{location-ysnxehz4.js → schema-vp8rtqyg.js} +18 -18
  260. package/dist/chunks/{location-pa2rdw4x.js → schema-vqntchmx.js} +20 -20
  261. package/dist/chunks/{location-scgs57d2.js → schema-vtbv1fva.js} +17 -17
  262. package/dist/chunks/{location-78m9g99c.js → schema-vtkbdejs.js} +33 -33
  263. package/dist/chunks/{location-3jwa21mm.js → schema-vybksbky.js} +22 -22
  264. package/dist/chunks/{location-fdjpgvma.js → schema-vz2va2d1.js} +21 -21
  265. package/dist/chunks/{location-wrd39zd3.js → schema-vzmjdaw1.js} +9 -9
  266. package/dist/chunks/{location-kytj30gb.js → schema-w11ey1wa.js} +11 -11
  267. package/dist/chunks/{location-s7kyse9r.js → schema-w35wzz9x.js} +4 -4
  268. package/dist/chunks/{location-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  269. package/dist/chunks/{location-fznmdakp.js → schema-w687dnns.js} +4 -4
  270. package/dist/chunks/{location-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  271. package/dist/chunks/{location-wd87259q.js → schema-wd87259q.js} +1 -1
  272. package/dist/chunks/{location-mw7rhp6d.js → schema-wdcvs2c8.js} +47 -47
  273. package/dist/chunks/{location-wegkxhrn.js → schema-wegkxhrn.js} +2 -2
  274. package/dist/chunks/{location-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
  275. package/dist/chunks/{location-gk8yz1wb.js → schema-wvwyjhqj.js} +15 -15
  276. package/dist/chunks/{location-xhz7bc8m.js → schema-wwr5b8zq.js} +13 -13
  277. package/dist/chunks/{location-nesyvdwa.js → schema-wymh8p0v.js} +1 -1
  278. package/dist/chunks/{location-qnghve6e.js → schema-wzwsv8q3.js} +8 -8
  279. package/dist/chunks/{location-q1abnwp6.js → schema-x7sbefsh.js} +18 -18
  280. package/dist/chunks/{location-tfgkb3f6.js → schema-x7sgwrtq.js} +33 -33
  281. package/dist/chunks/{location-jbbta00e.js → schema-xa8sgekr.js} +1 -1
  282. package/dist/chunks/{location-gxt6edwm.js → schema-xg9fc39m.js} +27 -27
  283. package/dist/chunks/{location-bd1zsfw8.js → schema-xjhaxcdd.js} +12 -12
  284. package/dist/chunks/{location-5wsenn9a.js → schema-xnw40tj7.js} +18 -18
  285. package/dist/chunks/{location-e71bb87j.js → schema-xrc3640n.js} +8 -8
  286. package/dist/chunks/{location-s6h2s3rz.js → schema-xymnhqkr.js} +4 -4
  287. package/dist/chunks/{location-5pq7k0xn.js → schema-y1hrmxtq.js} +25 -25
  288. package/dist/chunks/{location-vpndcmkw.js → schema-yaf14s91.js} +29 -29
  289. package/dist/chunks/{location-yara3q77.js → schema-yara3q77.js} +2 -2
  290. package/dist/chunks/{location-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  291. package/dist/chunks/{location-vfgkptxa.js → schema-yfmps5ht.js} +17 -17
  292. package/dist/chunks/{location-2f6y3wyx.js → schema-ypzz06n9.js} +8 -8
  293. package/dist/chunks/{location-5225t9m9.js → schema-yv3czy6n.js} +27 -27
  294. package/dist/chunks/{location-v3swpve8.js → schema-zasfh7e5.js} +17 -17
  295. package/dist/chunks/{location-k2034wbj.js → schema-zbwmzx6w.js} +43 -43
  296. package/dist/chunks/{location-rp03b2v5.js → schema-zes4xa3j.js} +6 -6
  297. package/dist/chunks/{location-dn2kncps.js → schema-zr8qtytk.js} +3 -3
  298. package/dist/chunks/{location-agx6da5f.js → schema-ztatdthy.js} +45 -45
  299. package/dist/chunks/{location-e45fk36t.js → schema-ztf6n3de.js} +4 -4
  300. package/dist/chunks/{location-vwmyycjt.js → schema-zvmapj1s.js} +11 -11
  301. package/dist/chunks/{location-xwswqzhk.js → schema-zvwzcwk0.js} +8 -8
  302. package/dist/chunks/{location-zhh0qxkb.js → schema-zvyj7mkg.js} +33 -33
  303. package/dist/codemode/catalog.js +1 -1
  304. package/dist/codemode/instructions.js +11 -11
  305. package/dist/codemode/tool.js +149 -149
  306. package/dist/codemode/web.js +1 -1
  307. package/dist/command.js +93 -93
  308. package/dist/config/discovery.js +94 -94
  309. package/dist/config/integration.js +5 -5
  310. package/dist/config/managed.js +1 -1
  311. package/dist/config/markdown.js +1 -1
  312. package/dist/config/normalize.js +111 -111
  313. package/dist/config/plugin/agent.js +129 -129
  314. package/dist/config/plugin/command.js +226 -226
  315. package/dist/config/plugin/compaction.js +169 -169
  316. package/dist/config/plugin/compatibility.js +149 -149
  317. package/dist/config/plugin/entry-observer.js +1 -1
  318. package/dist/config/plugin/formatter.js +130 -130
  319. package/dist/config/plugin/image.js +129 -129
  320. package/dist/config/plugin/instruction.js +129 -129
  321. package/dist/config/plugin/location-watcher.js +129 -129
  322. package/dist/config/plugin/mcp.js +136 -136
  323. package/dist/config/plugin/policy.js +129 -129
  324. package/dist/config/plugin/provider.js +129 -129
  325. package/dist/config/plugin/reference.js +131 -131
  326. package/dist/config/plugin/shell.js +131 -131
  327. package/dist/config/plugin/skill-file.js +145 -145
  328. package/dist/config/plugin/skill-scan.js +1 -1
  329. package/dist/config/plugin/skill.js +152 -152
  330. package/dist/config/plugin/snapshot.js +129 -129
  331. package/dist/config/plugin/source.js +128 -128
  332. package/dist/config/plugin/tool-output.js +130 -130
  333. package/dist/config/plugin/websearch.js +130 -130
  334. package/dist/config/plugin/worktree.js +131 -131
  335. package/dist/config/variable.js +1 -1
  336. package/dist/config/watch.js +1 -1
  337. package/dist/config.js +132 -132
  338. package/dist/console-access.js +1 -1
  339. package/dist/credential/sql.js +2 -2
  340. package/dist/credential.js +93 -93
  341. package/dist/database/database.js +76 -76
  342. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  343. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  344. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  345. package/dist/database/drizzle/index.js +13 -13
  346. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  349. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  354. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  356. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  357. package/dist/database/drizzle.js +14 -14
  358. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  359. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  360. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  361. package/dist/database/migration/20260225215848_workspace.js +1 -1
  362. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  363. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  364. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  365. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  366. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  367. package/dist/database/migration/20260323234822_events.js +1 -1
  368. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  369. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  370. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  371. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  372. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  373. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  374. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  375. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  376. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  377. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  378. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  379. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  380. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  381. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  382. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  383. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  384. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  385. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  386. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  387. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  388. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  389. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  390. package/dist/database/migration/20260611035744_credential.js +1 -1
  391. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  392. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  393. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  394. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  395. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  396. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  397. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  398. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  399. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  400. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  401. package/dist/database/migration/20260812213948_worktree.js +1 -1
  402. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  403. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  404. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  405. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  406. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  407. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  408. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  409. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  410. package/dist/database/migration/20261025123711_blob.js +1 -1
  411. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  412. package/dist/database/migration/20261026223005_schedule.js +1 -1
  413. package/dist/database/migration/20261029002625_session_part.js +1 -1
  414. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  415. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  416. package/dist/database/migration.gen.js +59 -59
  417. package/dist/database/migration.js +61 -61
  418. package/dist/database/path.js +2 -2
  419. package/dist/database/schema.gen.js +1 -1
  420. package/dist/database/schema.sql.js +1 -1
  421. package/dist/database/sqlite.bun.js +1 -1
  422. package/dist/database/sqlite.js +1 -1
  423. package/dist/database/sqlite.node.js +1 -1
  424. package/dist/database/sqlite.workerd.js +1 -1
  425. package/dist/database/v1-migration.bun.js +104 -104
  426. package/dist/database/v1-migration.js +1 -1
  427. package/dist/effect/app-node-builder.js +392 -392
  428. package/dist/effect/app-node-platform.js +2 -2
  429. package/dist/effect/keyed-mutex.js +3 -3
  430. package/dist/effect/websocket-constructor.js +1 -1
  431. package/dist/environment/driver.js +1 -1
  432. package/dist/environment/environment.js +105 -105
  433. package/dist/environment/exec-defaults.js +2 -2
  434. package/dist/environment/files.js +1 -1
  435. package/dist/environment/index.js +105 -105
  436. package/dist/environment/local.js +2 -2
  437. package/dist/environment/memory.js +2 -2
  438. package/dist/environment/unavailable.js +3 -3
  439. package/dist/event/sql.js +1 -1
  440. package/dist/event-logger.js +84 -84
  441. package/dist/file-access.js +155 -155
  442. package/dist/file-mutation.js +106 -106
  443. package/dist/file-retention.js +1 -1
  444. package/dist/filesystem/fff.bun.js +2 -2
  445. package/dist/filesystem/fff.js +1 -1
  446. package/dist/filesystem/fff.node.js +2 -2
  447. package/dist/filesystem/fff.workerd.js +2 -2
  448. package/dist/filesystem/file-watch.js +90 -90
  449. package/dist/filesystem/location-watcher-policy.js +6 -6
  450. package/dist/filesystem/location-watcher.js +239 -239
  451. package/dist/filesystem/protected.js +1 -1
  452. package/dist/filesystem/search.js +111 -111
  453. package/dist/filesystem/watcher-binding.js +1 -1
  454. package/dist/filesystem/watcher.js +11 -11
  455. package/dist/filesystem.js +114 -114
  456. package/dist/form.js +90 -90
  457. package/dist/formatter/builtins.js +2 -2
  458. package/dist/formatter.js +99 -99
  459. package/dist/generate.js +119 -119
  460. package/dist/git.js +11 -11
  461. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  462. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  463. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  464. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  465. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  467. package/dist/github-copilot/copilot-provider.js +17 -17
  468. package/dist/github-copilot/models.js +103 -103
  469. package/dist/github-copilot/openai-compatible-error.js +1 -1
  470. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  471. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  472. package/dist/github-copilot/responses/openai-error.js +1 -1
  473. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  474. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  475. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  476. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  477. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  479. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  480. package/dist/image/notice.js +3 -3
  481. package/dist/image/photon-normalize.js +1 -1
  482. package/dist/image/photon-worker.js +1 -1
  483. package/dist/image/photon.js +4 -4
  484. package/dist/image.js +6 -6
  485. package/dist/instance/service.js +5 -5
  486. package/dist/instance.js +383 -383
  487. package/dist/instruction-discovery.js +94 -94
  488. package/dist/instructions/builtins.js +99 -99
  489. package/dist/instructions/index.js +5 -5
  490. package/dist/integration/connection.js +3 -3
  491. package/dist/integration.js +97 -97
  492. package/dist/job.js +88 -88
  493. package/dist/kv/sql.js +2 -2
  494. package/dist/kv.js +83 -83
  495. package/dist/location-activity.js +173 -173
  496. package/dist/location-lifecycle.js +149 -149
  497. package/dist/location-service-map.js +98 -98
  498. package/dist/location-services.js +380 -380
  499. package/dist/location.js +99 -99
  500. package/dist/managed-policy.js +3 -3
  501. package/dist/mcp/client.js +103 -103
  502. package/dist/mcp/index.js +121 -121
  503. package/dist/mcp/instructions.js +177 -177
  504. package/dist/mcp/oauth.js +88 -88
  505. package/dist/mcp/socket-client.js +1 -1
  506. package/dist/mcp/stdio.js +102 -102
  507. package/dist/mime.js +1 -1
  508. package/dist/modal/models.js +103 -103
  509. package/dist/model-resolver.js +111 -111
  510. package/dist/model-retry.js +1 -1
  511. package/dist/model.js +110 -110
  512. package/dist/models-dev/v1.js +1 -1
  513. package/dist/models-dev.js +108 -108
  514. package/dist/oauth/page.js +1 -1
  515. package/dist/permission/saved.js +90 -90
  516. package/dist/permission/sql.js +5 -5
  517. package/dist/permission.js +148 -148
  518. package/dist/persistent-pty/binary.bun.js +1 -1
  519. package/dist/persistent-pty/daemon.js +1 -1
  520. package/dist/persistent-pty/index.js +98 -98
  521. package/dist/persistent-pty/pty-binding.js +1 -1
  522. package/dist/persistent-pty.js +85 -85
  523. package/dist/plugin/agent.js +84 -84
  524. package/dist/plugin/command.js +112 -112
  525. package/dist/plugin/goal.js +3 -3
  526. package/dist/plugin/hooks.js +5 -5
  527. package/dist/plugin/host.js +232 -232
  528. package/dist/plugin/identity.js +5 -5
  529. package/dist/plugin/instance.js +5 -5
  530. package/dist/plugin/internal.js +359 -359
  531. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  532. package/dist/plugin/models-dev.js +109 -109
  533. package/dist/plugin/module.js +126 -126
  534. package/dist/plugin/optimize.js +4 -4
  535. package/dist/plugin/plan.js +145 -145
  536. package/dist/plugin/promise.js +1 -1
  537. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  538. package/dist/plugin/provider/azure.js +127 -127
  539. package/dist/plugin/provider/cerebras.js +1 -1
  540. package/dist/plugin/provider/chatgpt.js +129 -129
  541. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  542. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  543. package/dist/plugin/provider/configured.js +125 -125
  544. package/dist/plugin/provider/credential-settings.js +84 -84
  545. package/dist/plugin/provider/databricks.js +1 -1
  546. package/dist/plugin/provider/digitalocean.js +105 -105
  547. package/dist/plugin/provider/dynamic.js +2 -2
  548. package/dist/plugin/provider/github-copilot.js +107 -107
  549. package/dist/plugin/provider/gitlab.js +106 -106
  550. package/dist/plugin/provider/google-vertex.js +126 -126
  551. package/dist/plugin/provider/kilo.js +1 -1
  552. package/dist/plugin/provider/llmgateway.js +88 -88
  553. package/dist/plugin/provider/lmstudio.js +138 -138
  554. package/dist/plugin/provider/local.js +135 -135
  555. package/dist/plugin/provider/modal.js +104 -104
  556. package/dist/plugin/provider/neon.js +1 -1
  557. package/dist/plugin/provider/nvidia.js +1 -1
  558. package/dist/plugin/provider/ollama.js +138 -138
  559. package/dist/plugin/provider/openai-context-caps.js +102 -102
  560. package/dist/plugin/provider/openai.js +131 -131
  561. package/dist/plugin/provider/opencode.js +131 -131
  562. package/dist/plugin/provider/openrouter.js +103 -103
  563. package/dist/plugin/provider/poe.js +89 -89
  564. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  565. package/dist/plugin/provider/sap-ai-core.js +103 -103
  566. package/dist/plugin/provider/sdk-factory.js +1 -1
  567. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  568. package/dist/plugin/provider/vllm.js +136 -136
  569. package/dist/plugin/provider/xai.js +103 -103
  570. package/dist/plugin/provider/zenmux.js +1 -1
  571. package/dist/plugin/provider.js +178 -178
  572. package/dist/plugin/sdk.js +80 -80
  573. package/dist/plugin/service.js +3 -3
  574. package/dist/plugin/skill.js +146 -146
  575. package/dist/plugin/source-directory.js +1 -1
  576. package/dist/plugin/supervisor.js +367 -367
  577. package/dist/plugin/tool-input-repair.js +4 -4
  578. package/dist/plugin/update.js +6 -6
  579. package/dist/plugin/vcs/git.js +98 -98
  580. package/dist/plugin/vcs/hg.js +98 -98
  581. package/dist/plugin/verbosity.js +105 -105
  582. package/dist/plugin/warming.js +127 -127
  583. package/dist/plugin/websearch/exa.js +7 -7
  584. package/dist/plugin/websearch/firecrawl.js +8 -8
  585. package/dist/plugin/websearch/index.js +9 -9
  586. package/dist/plugin/websearch/mcp.js +2 -2
  587. package/dist/plugin/websearch/parallel.js +8 -8
  588. package/dist/plugin/websearch/tavily.js +6 -6
  589. package/dist/plugin/websearch/tinyfish.js +8 -8
  590. package/dist/plugin.js +239 -239
  591. package/dist/project/icon.js +5 -5
  592. package/dist/project/schema.js +6 -6
  593. package/dist/project/sql.js +4 -4
  594. package/dist/project.js +100 -100
  595. package/dist/provider.js +109 -109
  596. package/dist/pty/protocol.js +1 -1
  597. package/dist/pty/ticket.js +1 -1
  598. package/dist/pty.js +108 -108
  599. package/dist/reference/instructions.js +100 -100
  600. package/dist/reference.js +98 -98
  601. package/dist/repository-cache.js +92 -92
  602. package/dist/repository.js +1 -1
  603. package/dist/ripgrep/binary.js +2 -2
  604. package/dist/ripgrep.js +109 -109
  605. package/dist/rpc.js +98 -98
  606. package/dist/schedule/check.js +237 -237
  607. package/dist/schedule/sql.js +6 -6
  608. package/dist/schedule.js +245 -245
  609. package/dist/schema.js +1 -1
  610. package/dist/session/affinity.js +1 -1
  611. package/dist/session/background.js +1 -1
  612. package/dist/session/blob.js +128 -128
  613. package/dist/session/command.js +84 -84
  614. package/dist/session/compaction.js +171 -171
  615. package/dist/session/context.js +196 -196
  616. package/dist/session/diff.js +100 -100
  617. package/dist/session/environment.js +5 -5
  618. package/dist/session/error.js +3 -3
  619. package/dist/session/event.js +1 -1
  620. package/dist/session/execution/restart.js +243 -243
  621. package/dist/session/execution.js +159 -159
  622. package/dist/session/generate.js +196 -196
  623. package/dist/session/history.js +135 -135
  624. package/dist/session/inbox.js +144 -144
  625. package/dist/session/info.js +3 -3
  626. package/dist/session/instruction-entry.js +89 -89
  627. package/dist/session/instruction-state.js +8 -8
  628. package/dist/session/instructions.js +140 -140
  629. package/dist/session/message-updater.js +4 -4
  630. package/dist/session/message.js +1 -1
  631. package/dist/session/model-request.js +166 -166
  632. package/dist/session/model-transport.js +9 -9
  633. package/dist/session/move.js +163 -163
  634. package/dist/session/projector.js +142 -142
  635. package/dist/session/prompt.js +147 -147
  636. package/dist/session/recent-text.js +1 -1
  637. package/dist/session/revert.js +138 -138
  638. package/dist/session/run-coordinator.js +3 -3
  639. package/dist/session/runner/index.js +3 -3
  640. package/dist/session/runner/llm.js +246 -246
  641. package/dist/session/runner/max-steps.js +1 -1
  642. package/dist/session/runner/model.js +112 -112
  643. package/dist/session/runner/publish-llm-event.js +148 -148
  644. package/dist/session/runner/retry.js +3 -3
  645. package/dist/session/runner/step.js +159 -159
  646. package/dist/session/runner/to-llm-message.js +136 -136
  647. package/dist/session/schema.js +5 -5
  648. package/dist/session/session.js +177 -177
  649. package/dist/session/shell.js +143 -143
  650. package/dist/session/skill.js +146 -146
  651. package/dist/session/sql.js +5 -5
  652. package/dist/session/stats.js +83 -83
  653. package/dist/session/store.js +141 -141
  654. package/dist/session/stored.js +2 -2
  655. package/dist/session/subagent-completion.js +3 -3
  656. package/dist/session/subagent-job.js +226 -226
  657. package/dist/session/system-prompt.js +3 -3
  658. package/dist/session/title.js +200 -200
  659. package/dist/session/to-session-error.js +147 -147
  660. package/dist/session/transfer.js +237 -237
  661. package/dist/session/usage.js +1 -1
  662. package/dist/session.js +228 -228
  663. package/dist/shell/parse.js +6 -6
  664. package/dist/shell/result.js +1 -1
  665. package/dist/shell/scan.js +1 -1
  666. package/dist/shell/select.js +11 -11
  667. package/dist/shell.js +145 -145
  668. package/dist/skill/discovery.js +2 -2
  669. package/dist/skill/instructions.js +150 -150
  670. package/dist/skill.js +149 -149
  671. package/dist/snapshot.js +101 -101
  672. package/dist/state.js +1 -1
  673. package/dist/tool/html-markdown.js +1 -1
  674. package/dist/tool/http-body.js +1 -1
  675. package/dist/tool/mcp.js +176 -176
  676. package/dist/tool/plugin/edit.js +161 -161
  677. package/dist/tool/plugin/file-diff.js +1 -1
  678. package/dist/tool/plugin/glob.js +167 -167
  679. package/dist/tool/plugin/grep.js +167 -167
  680. package/dist/tool/plugin/image-generate.js +236 -236
  681. package/dist/tool/plugin/mcp-resource.js +161 -161
  682. package/dist/tool/plugin/opencode.js +160 -160
  683. package/dist/tool/plugin/patch.js +163 -163
  684. package/dist/tool/plugin/question.js +143 -143
  685. package/dist/tool/plugin/read.js +168 -168
  686. package/dist/tool/plugin/schedule.js +243 -243
  687. package/dist/tool/plugin/shell.js +232 -232
  688. package/dist/tool/plugin/skill.js +152 -152
  689. package/dist/tool/plugin/subagent.js +233 -233
  690. package/dist/tool/plugin/todo.js +152 -152
  691. package/dist/tool/plugin/webfetch.js +154 -154
  692. package/dist/tool/plugin/websearch.js +154 -154
  693. package/dist/tool/plugin/write.js +161 -161
  694. package/dist/tool/read-filesystem.js +114 -114
  695. package/dist/tool/runtime.js +1 -1
  696. package/dist/tool-output.js +7 -7
  697. package/dist/tool.js +157 -157
  698. package/dist/usage-limits.js +99 -99
  699. package/dist/util/error-summary.js +1 -1
  700. package/dist/util/git-executable.js +3 -3
  701. package/dist/util/lazy.js +1 -1
  702. package/dist/util/slug.js +1 -1
  703. package/dist/util/token.js +1 -1
  704. package/dist/util/which.js +1 -1
  705. package/dist/util/wildcard.js +1 -1
  706. package/dist/v1/config/agent.js +5 -5
  707. package/dist/v1/config/command.js +3 -3
  708. package/dist/v1/config/mcp.js +4 -4
  709. package/dist/v1/config/migrate.js +104 -104
  710. package/dist/v1/config/permission.js +3 -3
  711. package/dist/v1/config/plugin.js +1 -1
  712. package/dist/v1/config/provider-options.js +1 -1
  713. package/dist/v1/config/provider.js +4 -4
  714. package/dist/variant.js +105 -105
  715. package/dist/vcs/patch.js +1 -1
  716. package/dist/vcs.js +101 -101
  717. package/dist/voice.js +100 -100
  718. package/dist/websearch.js +90 -90
  719. package/dist/wellknown/plugin.js +86 -86
  720. package/dist/wellknown.js +87 -87
  721. package/dist/workspace/driver.js +7 -7
  722. package/dist/workspace/sql.js +1 -1
  723. package/dist/workspace.js +92 -92
  724. package/dist/worktree/directory.js +2 -2
  725. package/dist/worktree/git.js +11 -11
  726. package/dist/worktree/sql.js +5 -5
  727. package/dist/worktree/strategies.js +101 -101
  728. package/dist/worktree.js +112 -112
  729. package/package.json +8 -8
  730. package/dist/chunks/location-ev660z6k.js +0 -18
  731. package/dist/chunks/location-hwkge4a4.js +0 -26
  732. package/dist/chunks/location-n30bqkse.js +0 -257
  733. /package/dist/chunks/{location-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  734. /package/dist/chunks/{location-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  735. /package/dist/chunks/{location-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  736. /package/dist/chunks/{location-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  737. /package/dist/chunks/{location-1kah00gy.js → schema-1kah00gy.js} +0 -0
  738. /package/dist/chunks/{location-24dcb14g.js → schema-24dcb14g.js} +0 -0
  739. /package/dist/chunks/{location-2710q6r3.js → schema-2710q6r3.js} +0 -0
  740. /package/dist/chunks/{location-2bv980vf.js → schema-2bv980vf.js} +0 -0
  741. /package/dist/chunks/{location-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  742. /package/dist/chunks/{location-359p4xyc.js → schema-359p4xyc.js} +0 -0
  743. /package/dist/chunks/{location-3asan66x.js → schema-3asan66x.js} +0 -0
  744. /package/dist/chunks/{location-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  745. /package/dist/chunks/{location-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  746. /package/dist/chunks/{location-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  747. /package/dist/chunks/{location-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  748. /package/dist/chunks/{location-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  749. /package/dist/chunks/{location-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  750. /package/dist/chunks/{location-53557ph1.js → schema-53557ph1.js} +0 -0
  751. /package/dist/chunks/{location-550bvhaj.js → schema-550bvhaj.js} +0 -0
  752. /package/dist/chunks/{location-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
  753. /package/dist/chunks/{location-6prwharc.js → schema-6prwharc.js} +0 -0
  754. /package/dist/chunks/{location-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  755. /package/dist/chunks/{location-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  756. /package/dist/chunks/{location-7m9af43g.js → schema-7m9af43g.js} +0 -0
  757. /package/dist/chunks/{location-7stb81gk.js → schema-7stb81gk.js} +0 -0
  758. /package/dist/chunks/{location-822emrt2.js → schema-822emrt2.js} +0 -0
  759. /package/dist/chunks/{location-84wd9syh.js → schema-84wd9syh.js} +0 -0
  760. /package/dist/chunks/{location-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  761. /package/dist/chunks/{location-8n3pysct.js → schema-8n3pysct.js} +0 -0
  762. /package/dist/chunks/{location-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  763. /package/dist/chunks/{location-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  764. /package/dist/chunks/{location-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  765. /package/dist/chunks/{location-a058387c.js → schema-a058387c.js} +0 -0
  766. /package/dist/chunks/{location-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  767. /package/dist/chunks/{location-af5trqkr.js → schema-af5trqkr.js} +0 -0
  768. /package/dist/chunks/{location-afrmfg78.js → schema-afrmfg78.js} +0 -0
  769. /package/dist/chunks/{location-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  770. /package/dist/chunks/{location-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  771. /package/dist/chunks/{location-beh6qq61.js → schema-beh6qq61.js} +0 -0
  772. /package/dist/chunks/{location-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  773. /package/dist/chunks/{location-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  774. /package/dist/chunks/{location-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  775. /package/dist/chunks/{location-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
  776. /package/dist/chunks/{location-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  777. /package/dist/chunks/{location-d9fn303g.js → schema-d9fn303g.js} +0 -0
  778. /package/dist/chunks/{location-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  779. /package/dist/chunks/{location-dap0rakb.js → schema-dap0rakb.js} +0 -0
  780. /package/dist/chunks/{location-df08tz66.js → schema-df08tz66.js} +0 -0
  781. /package/dist/chunks/{location-dy18nga0.js → schema-dy18nga0.js} +0 -0
  782. /package/dist/chunks/{location-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  783. /package/dist/chunks/{location-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  784. /package/dist/chunks/{location-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
  785. /package/dist/chunks/{location-ec1grn59.js → schema-ec1grn59.js} +0 -0
  786. /package/dist/chunks/{location-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  787. /package/dist/chunks/{location-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  788. /package/dist/chunks/{location-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  789. /package/dist/chunks/{location-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  790. /package/dist/chunks/{location-faypxj3z.js → schema-faypxj3z.js} +0 -0
  791. /package/dist/chunks/{location-fd410y7t.js → schema-fd410y7t.js} +0 -0
  792. /package/dist/chunks/{location-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
  793. /package/dist/chunks/{location-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  794. /package/dist/chunks/{location-g86h250q.js → schema-g86h250q.js} +0 -0
  795. /package/dist/chunks/{location-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  796. /package/dist/chunks/{location-gftt206x.js → schema-gftt206x.js} +0 -0
  797. /package/dist/chunks/{location-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  798. /package/dist/chunks/{location-hk9envan.js → schema-hk9envan.js} +0 -0
  799. /package/dist/chunks/{location-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  800. /package/dist/chunks/{location-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  801. /package/dist/chunks/{location-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  802. /package/dist/chunks/{location-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  803. /package/dist/chunks/{location-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  804. /package/dist/chunks/{location-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
  805. /package/dist/chunks/{location-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  806. /package/dist/chunks/{location-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  807. /package/dist/chunks/{location-m18g726c.js → schema-m18g726c.js} +0 -0
  808. /package/dist/chunks/{location-mp448xyj.js → schema-mp448xyj.js} +0 -0
  809. /package/dist/chunks/{location-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  810. /package/dist/chunks/{location-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  811. /package/dist/chunks/{location-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  812. /package/dist/chunks/{location-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
  813. /package/dist/chunks/{location-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
  814. /package/dist/chunks/{location-njntx4h6.js → schema-njntx4h6.js} +0 -0
  815. /package/dist/chunks/{location-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
  816. /package/dist/chunks/{location-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  817. /package/dist/chunks/{location-q74kybfr.js → schema-q74kybfr.js} +0 -0
  818. /package/dist/chunks/{location-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  819. /package/dist/chunks/{location-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  820. /package/dist/chunks/{location-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  821. /package/dist/chunks/{location-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  822. /package/dist/chunks/{location-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  823. /package/dist/chunks/{location-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  824. /package/dist/chunks/{location-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  825. /package/dist/chunks/{location-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  826. /package/dist/chunks/{location-stkk57rt.js → schema-stkk57rt.js} +0 -0
  827. /package/dist/chunks/{location-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
  828. /package/dist/chunks/{location-ty7weeps.js → schema-ty7weeps.js} +0 -0
  829. /package/dist/chunks/{location-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  830. /package/dist/chunks/{location-w803qqfp.js → schema-w803qqfp.js} +0 -0
  831. /package/dist/chunks/{location-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  832. /package/dist/chunks/{location-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  833. /package/dist/chunks/{location-wtztk69x.js → schema-wtztk69x.js} +0 -0
  834. /package/dist/chunks/{location-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  835. /package/dist/chunks/{location-x61499pn.js → schema-x61499pn.js} +0 -0
  836. /package/dist/chunks/{location-y44na4kk.js → schema-y44na4kk.js} +0 -0
  837. /package/dist/chunks/{location-y8f7s663.js → schema-y8f7s663.js} +0 -0
  838. /package/dist/chunks/{location-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  839. /package/dist/chunks/{location-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  840. /package/dist/chunks/{location-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./location-5j5yn56v.js";
2
+ Service84,
3
+ node88
4
+ } from "./schema-1p3hqer1.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./schema-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info26,
19
+ ID: () => ID14,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service80,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
- layer: () => layer27,
29
- node: () => node84,
28
+ layer: () => layer26,
29
+ node: () => node78,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info26 = Form.Info;
38
+ var ID14 = Form.ID;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
48
+ id: ID14
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID14
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID14
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service80 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service80, Effect.gen(function* () {
85
- const bus = yield* Service86;
84
+ var layer26 = Layer.effect(Service76, Effect.gen(function* () {
85
+ const bus = yield* Service84;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service80.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service76.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service80, layer: layer27, deps: [node90] });
167
+ var node78 = makeLocationNode({ service: Service76, layer: layer26, deps: [node88] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info26, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer27, node84, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID14, Info25, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer26, node78, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-y0xdaqa2.js";
3
+ } from "./schema-m9qjbqaf.js";
4
4
  import {
5
- Service86
6
- } from "./location-5j5yn56v.js";
5
+ Service84
6
+ } from "./schema-1p3hqer1.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
- Service81
11
- } from "./location-jyg8crv2.js";
10
+ Service77
11
+ } from "./schema-0grvd95t.js";
12
12
  import {
13
- ID14,
13
+ ID13,
14
14
  MethodID2
15
- } from "./location-62s3a18k.js";
15
+ } from "./schema-375j4a5k.js";
16
16
  import {
17
- ID13,
17
+ ID12,
18
18
  mergeOverlay2
19
- } from "./location-bfhbctn3.js";
19
+ } from "./schema-r3jekzdf.js";
20
20
  import {
21
- ID12,
21
+ ID11,
22
22
  VariantID2,
23
- Info22
24
- } from "./location-8prsd97r.js";
23
+ Info21
24
+ } from "./schema-8jhdp17k.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./location-yb20nhc3.js";
28
+ } from "./schema-yb20nhc3.js";
29
29
  import {
30
30
  get4
31
- } from "./location-tmc7xdjs.js";
31
+ } from "./schema-tmc7xdjs.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./location-x79e7hsz.js";
34
+ } from "./schema-faaeq40t.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID13.openai;
47
- var integrationID = ID14.make("openai");
46
+ var providerID = ID12.openai;
47
+ var integrationID = ID13.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -181,8 +181,8 @@ function listen(server) {
181
181
  var ChatGPTPlugin2 = define({
182
182
  id: "opencode.provider.chatgpt",
183
183
  effect: Effect.fn(function* (ctx) {
184
- const bus = yield* Service86;
185
- const credentials = yield* Service81;
184
+ const bus = yield* Service84;
185
+ const credentials = yield* Service77;
186
186
  const loading = Semaphore.makeUnsafe(1);
187
187
  let chatgpt;
188
188
  let source;
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
197
197
  yield* ctx.integration.transform((editor) => {
198
198
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
199
199
  });
200
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
200
+ yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
201
201
  const value = entry.value;
202
202
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
203
203
  return Effect.void;
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
327
327
  const found = byID.get(model.modelID);
328
328
  return found ? [deriveModel(found, model)] : [];
329
329
  }),
330
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info22.default(ID13.openai, ID12.make(model.slug))))
330
+ ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID12.openai, ID11.make(model.slug))))
331
331
  ];
332
332
  }
333
333
  function deriveModel(remote, previous) {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-8jztxfpf.js";
3
+ } from "./schema-qjgzc4b4.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service2,
13
- node: () => node3
12
+ Service: () => Service4,
13
+ node: () => node5
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service2 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service2, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service2.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
52
+ var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service2, node3, exports_update };
54
+ export { Service4, node5, exports_update };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./location-tczq8hjw.js";
3
+ } from "./schema-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./location-204s3925.js";
6
+ } from "./schema-204s3925.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service51,
18
+ Service: () => Service40,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node53
21
+ node: () => node43
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service51 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service40 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service51, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service51.of({
124
+ return Service40.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node53 = makeLocationNode({
143
- service: Service51,
142
+ var node43 = makeLocationNode({
143
+ service: Service40,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service51, node53, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service40, node43, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
@@ -8,7 +8,7 @@ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info18,
11
+ Info: () => Info17,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule3
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info17 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule3, Info17, exports_permission2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./location-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer5,
9
+ layer: () => layer6,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer5, exports_unavailable };
22
+ export { spawner2, layer6, exports_unavailable };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./location-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./location-5j5yn56v.js";
2
+ Service84,
3
+ node88
4
+ } from "./schema-1p3hqer1.js";
5
5
  import {
6
- ID16,
6
+ ID15,
7
7
  Event19,
8
- Service81,
9
- node85
10
- } from "./location-jyg8crv2.js";
8
+ Service77,
9
+ node79
10
+ } from "./schema-0grvd95t.js";
11
11
  import {
12
- Service74,
13
- node78
14
- } from "./location-cm18kf9d.js";
12
+ Service70,
13
+ node72
14
+ } from "./schema-sgq8g3gm.js";
15
15
  import {
16
16
  AbsolutePath2
17
- } from "./location-z5v4ffb3.js";
17
+ } from "./schema-z5v4ffb3.js";
18
18
  import {
19
- Service83,
20
- node87
21
- } from "./location-2y347c6b.js";
19
+ Service81,
20
+ node85
21
+ } from "./schema-nb79qexc.js";
22
22
  import {
23
23
  substitute2
24
- } from "./location-7w2ypzdf.js";
24
+ } from "./schema-7w2ypzdf.js";
25
25
  import {
26
26
  normalize3
27
- } from "./location-5wsenn9a.js";
27
+ } from "./schema-xnw40tj7.js";
28
28
  import {
29
29
  names4,
30
30
  stripPreferenceMetadata2,
31
31
  discover3
32
- } from "./location-zb0eyyj7.js";
32
+ } from "./schema-25jw3g4f.js";
33
33
  import {
34
34
  plan2
35
- } from "./location-1x2knyw4.js";
35
+ } from "./schema-1x2knyw4.js";
36
36
  import {
37
37
  Document3,
38
38
  WellKnownDocument2
39
- } from "./location-4c0eh56a.js";
39
+ } from "./schema-b0951d1j.js";
40
40
  import {
41
41
  Document2
42
- } from "./location-4dx1dgte.js";
42
+ } from "./schema-4dx1dgte.js";
43
43
  import {
44
44
  statements2,
45
45
  decision2,
46
46
  integrationResource2,
47
47
  account2
48
- } from "./location-dn2kncps.js";
48
+ } from "./schema-zr8qtytk.js";
49
49
  import {
50
- Service75,
50
+ Service71,
51
51
  Event13,
52
- node79
53
- } from "./location-4bbpqcw3.js";
52
+ node73
53
+ } from "./schema-k6966x57.js";
54
54
  import {
55
55
  __export
56
- } from "./location-9rqn6x4v.js";
56
+ } from "./schema-9rqn6x4v.js";
57
57
 
58
58
  // src/config.ts
59
59
  var exports_config = {};
60
60
  __export(exports_config, {
61
61
  Config: () => exports_config,
62
62
  Options: () => Options7,
63
- Service: () => Service73,
63
+ Service: () => Service69,
64
64
  Test: () => Test2,
65
- configured: () => configured10,
65
+ configured: () => configured8,
66
66
  latest: () => latest2,
67
- layer: () => layer25,
68
- node: () => node77,
67
+ layer: () => layer24,
68
+ node: () => node71,
69
69
  testLayer: () => testLayer2
70
70
  });
71
71
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
90
90
  content: Schema.optional(Schema.String)
91
91
  });
92
92
 
93
- class Service73 extends Context.Service()("@opencode/Config") {
93
+ class Service69 extends Context.Service()("@opencode/Config") {
94
94
  }
95
95
 
96
96
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
114
114
  return document ? next.set(integrationID, document) : next;
115
115
  })
116
116
  });
117
- return Context.empty().pipe(Context.add(Service73, service), Context.add(Test2, service));
117
+ return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
118
118
  }));
119
- var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
119
+ var layer24 = (options) => Layer.effect(Service69, Effect.gen(function* () {
120
120
  const fs = yield* FSUtil.Service;
121
- const location = yield* Service83;
122
- const watcher = yield* Service74;
123
- const bus = yield* Service86;
124
- const credentials = yield* Service81;
121
+ const location = yield* Service81;
122
+ const watcher = yield* Service70;
123
+ const bus = yield* Service84;
124
+ const credentials = yield* Service77;
125
125
  const globalService = yield* Global.Service;
126
- const wellknown = yield* Service75;
126
+ const wellknown = yield* Service71;
127
127
  const processes = yield* AppProcess.Service;
128
128
  const integrations = new Map;
129
129
  const context = yield* Effect.context();
@@ -194,7 +194,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
194
194
  return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
195
195
  });
196
196
  const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
197
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
197
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
198
198
  const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
199
199
  return decision2(lockdown, "integration.use", resource) !== "deny";
200
200
  });
@@ -321,7 +321,7 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
321
321
  `);
322
322
  yield* requestReload;
323
323
  }, (effect) => updateLock.withPermit(effect));
324
- return Service73.of({
324
+ return Service69.of({
325
325
  entries: Effect.fnUntraced(function* () {
326
326
  return configs;
327
327
  }),
@@ -341,22 +341,22 @@ var layer25 = (options) => Layer.effect(Service73, Effect.gen(function* () {
341
341
  })
342
342
  });
343
343
  }));
344
- function configured10(options) {
344
+ function configured8(options) {
345
345
  return makeLocationNode({
346
- service: Service73,
347
- layer: layer25(options),
346
+ service: Service69,
347
+ layer: layer24(options),
348
348
  deps: [
349
- node78,
350
- node90,
349
+ node72,
350
+ node88,
351
351
  FSUtil.node,
352
352
  Global.node,
353
- node87,
354
353
  node85,
355
354
  node79,
355
+ node73,
356
356
  AppProcess.node
357
357
  ]
358
358
  });
359
359
  }
360
- var node77 = configured10();
360
+ var node71 = configured8();
361
361
 
362
- export { latest2, Options7, Service73, Test2, testLayer2, layer25, configured10, node77, exports_config };
362
+ export { latest2, Options7, Service69, Test2, testLayer2, layer24, configured8, node71, exports_config };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-qfa1cgps.js";
3
+ } from "./schema-qfa1cgps.js";
4
4
  import {
5
5
  SessionTable2
6
- } from "./location-mb7mbhnz.js";
6
+ } from "./schema-mb7mbhnz.js";
7
7
 
8
8
  // src/schedule/sql.ts
9
9
  import { sql } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};