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

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{persistent-pty-tys4kk6f.js → provider-059fs9mx.js} +28 -28
  9. package/dist/chunks/{persistent-pty-485fr60v.js → provider-0aq61y81.js} +7 -7
  10. package/dist/chunks/{persistent-pty-jgwaxhte.js → provider-0epqkpm1.js} +9 -9
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{persistent-pty-hapv3ekj.js → provider-0vt2xqgk.js} +12 -12
  14. package/dist/chunks/{persistent-pty-g36znxke.js → provider-0wvc6jt9.js} +22 -22
  15. package/dist/chunks/{persistent-pty-2derpj9y.js → provider-13pq2pdm.js} +25 -25
  16. package/dist/chunks/{persistent-pty-jfqtm2ew.js → provider-19vf66h0.js} +4 -4
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{persistent-pty-hjvca3k7.js → provider-1ddtjyqg.js} +32 -32
  19. package/dist/chunks/{persistent-pty-v3t9d055.js → provider-1jc936zz.js} +23 -23
  20. package/dist/chunks/{persistent-pty-9d8v8ke2.js → provider-1p8j09kx.js} +7 -7
  21. package/dist/chunks/{persistent-pty-40b8r03t.js → provider-20m76snv.js} +47 -47
  22. package/dist/chunks/{persistent-pty-zf1fnb9x.js → provider-21jzgs9a.js} +11 -11
  23. package/dist/chunks/{persistent-pty-21r38tys.js → provider-21r38tys.js} +1 -1
  24. package/dist/chunks/{persistent-pty-2402vzrj.js → provider-2402vzrj.js} +1 -1
  25. package/dist/chunks/provider-27zn5j18.js +22 -0
  26. package/dist/chunks/{persistent-pty-29x78va6.js → provider-29x78va6.js} +2 -2
  27. package/dist/chunks/{persistent-pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{persistent-pty-m86bnw2c.js → provider-2bt6bea8.js} +9 -9
  29. package/dist/chunks/{persistent-pty-kt5w8vxh.js → provider-2dvxsv9x.js} +10 -10
  30. package/dist/chunks/{persistent-pty-1qfpcee2.js → provider-2jbxqxhr.js} +7 -7
  31. package/dist/chunks/{persistent-pty-7dqw4kz8.js → provider-2k8khapm.js} +5 -5
  32. package/dist/chunks/{persistent-pty-6jzp287t.js → provider-2m65srx0.js} +19 -19
  33. package/dist/chunks/{persistent-pty-d87ppnb3.js → provider-2qp6y8xf.js} +5 -5
  34. package/dist/chunks/{persistent-pty-q382xdnw.js → provider-2s89973z.js} +35 -35
  35. package/dist/chunks/{persistent-pty-pns73tnr.js → provider-35eprwbn.js} +1 -1
  36. package/dist/chunks/{persistent-pty-vxpy1f9m.js → provider-3cg8wryf.js} +9 -9
  37. package/dist/chunks/{persistent-pty-ead3g9p8.js → provider-3cz8rj72.js} +5 -5
  38. package/dist/chunks/{persistent-pty-evnp26tg.js → provider-3dxr2zf4.js} +15 -15
  39. package/dist/chunks/{persistent-pty-bwtw07rb.js → provider-3f1za49c.js} +4 -4
  40. package/dist/chunks/{persistent-pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{persistent-pty-9gyd2w40.js → provider-3jp54z3r.js} +1 -1
  43. package/dist/chunks/{persistent-pty-zpte1r0p.js → provider-3mc2fgte.js} +8 -8
  44. package/dist/chunks/{persistent-pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{persistent-pty-hce77wk0.js → provider-3sxz0rca.js} +35 -35
  46. package/dist/chunks/{persistent-pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{persistent-pty-fm8jr0de.js → provider-3wfeb9p8.js} +51 -51
  48. package/dist/chunks/{persistent-pty-khxf73f1.js → provider-43dgb45m.js} +13 -13
  49. package/dist/chunks/{persistent-pty-n3h5xxke.js → provider-44a9ae37.js} +29 -29
  50. package/dist/chunks/{persistent-pty-qq65p8vg.js → provider-4614hqwg.js} +11 -11
  51. package/dist/chunks/{persistent-pty-sfxwf0ta.js → provider-4mwwxnhq.js} +8 -8
  52. package/dist/chunks/{persistent-pty-4y66k410.js → provider-4y66k410.js} +2 -2
  53. package/dist/chunks/{persistent-pty-56gdpj1q.js → provider-56gdpj1q.js} +2 -2
  54. package/dist/chunks/{persistent-pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
  55. package/dist/chunks/{persistent-pty-twy35tz0.js → provider-5kptn8c0.js} +9 -9
  56. package/dist/chunks/{persistent-pty-96q9j7dw.js → provider-5mwnqeqx.js} +10 -10
  57. package/dist/chunks/{persistent-pty-dr4h96fj.js → provider-5nmhxvv8.js} +26 -26
  58. package/dist/chunks/{persistent-pty-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{persistent-pty-fbbdr9rn.js → provider-5vgnmgpm.js} +22 -22
  60. package/dist/chunks/{persistent-pty-3251az8d.js → provider-63n4gx86.js} +9 -9
  61. package/dist/chunks/{persistent-pty-znrr5g8g.js → provider-65ndygh0.js} +5 -5
  62. package/dist/chunks/{persistent-pty-669tq793.js → provider-669tq793.js} +1 -1
  63. package/dist/chunks/{persistent-pty-d62yrf5j.js → provider-6agwt34k.js} +26 -26
  64. package/dist/chunks/{persistent-pty-hgg7tghe.js → provider-6jtjhyr8.js} +41 -41
  65. package/dist/chunks/provider-6kdq0pjd.js +4 -0
  66. package/dist/chunks/{persistent-pty-cd3bxnjg.js → provider-6mg3rapr.js} +9 -9
  67. package/dist/chunks/{persistent-pty-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{persistent-pty-brv6cq0s.js → provider-6s1ns7mr.js} +25 -25
  69. package/dist/chunks/{persistent-pty-c7zg7x3c.js → provider-6s9nm4sm.js} +57 -57
  70. package/dist/chunks/{persistent-pty-5sam3g36.js → provider-6tzc8vz6.js} +26 -26
  71. package/dist/chunks/{persistent-pty-8a0b7fze.js → provider-6vj01xgp.js} +2 -2
  72. package/dist/chunks/{persistent-pty-798sgk8w.js → provider-70g36m39.js} +12 -12
  73. package/dist/chunks/{persistent-pty-71q4at8m.js → provider-71q4at8m.js} +1 -1
  74. package/dist/chunks/{persistent-pty-89b9anhp.js → provider-79e6a9cn.js} +165 -165
  75. package/dist/chunks/{persistent-pty-7b15y959.js → provider-7b15y959.js} +1 -1
  76. package/dist/chunks/{persistent-pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  77. package/dist/chunks/provider-7fj5dwt0.js +18 -0
  78. package/dist/chunks/{persistent-pty-9dzcd8j5.js → provider-7m9y9qn0.js} +39 -39
  79. package/dist/chunks/provider-7s83b9yk.js +247 -0
  80. package/dist/chunks/{persistent-pty-njr070nn.js → provider-82n8eww3.js} +21 -21
  81. package/dist/chunks/{persistent-pty-znnrkdj7.js → provider-880bzhav.js} +18 -18
  82. package/dist/chunks/{persistent-pty-dw1fjyb0.js → provider-8c7y8dn0.js} +1 -1
  83. package/dist/chunks/{persistent-pty-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{persistent-pty-8p4f9s12.js → provider-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{persistent-pty-w572f1ch.js → provider-8qt0rzb8.js} +19 -19
  86. package/dist/chunks/{persistent-pty-a2p6xxeh.js → provider-8r08b25s.js} +16 -16
  87. package/dist/chunks/{persistent-pty-f1weefa4.js → provider-8rq3gmwa.js} +15 -15
  88. package/dist/chunks/{persistent-pty-sdsmrv3v.js → provider-917zdv8c.js} +16 -16
  89. package/dist/chunks/{persistent-pty-36m3rdv1.js → provider-9bgyk126.js} +87 -87
  90. package/dist/chunks/{persistent-pty-6phyce8p.js → provider-9eg1w2ne.js} +30 -30
  91. package/dist/chunks/{persistent-pty-fsxrvzy1.js → provider-9mjj0np4.js} +5 -5
  92. package/dist/chunks/{persistent-pty-dmpt8hns.js → provider-9wgrhtqh.js} +5 -5
  93. package/dist/chunks/{persistent-pty-wq28fpm9.js → provider-9zy2xjhp.js} +33 -33
  94. package/dist/chunks/{persistent-pty-a1bz86dw.js → provider-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{persistent-pty-24cfyjnk.js → provider-a6abw5cg.js} +13 -13
  96. package/dist/chunks/{persistent-pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
  97. package/dist/chunks/{persistent-pty-tfjqyvk6.js → provider-aep6wmkx.js} +4 -4
  98. package/dist/chunks/{persistent-pty-vfarjvhq.js → provider-af1zye0v.js} +10 -10
  99. package/dist/chunks/{persistent-pty-szdez07b.js → provider-agwgt4ts.js} +6 -6
  100. package/dist/chunks/{persistent-pty-rvz6msw0.js → provider-aq39gh99.js} +13 -13
  101. package/dist/chunks/{persistent-pty-0zp474g4.js → provider-avq7f719.js} +7 -7
  102. package/dist/chunks/{persistent-pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{persistent-pty-ea8nv0r7.js → provider-b6hy6gkz.js} +2 -2
  104. package/dist/chunks/{persistent-pty-tnq3p80p.js → provider-bb10rvgt.js} +15 -15
  105. package/dist/chunks/{persistent-pty-e17bkqjz.js → provider-bbarxbyb.js} +1 -1
  106. package/dist/chunks/{persistent-pty-1bvxxf6d.js → provider-bf375p48.js} +6 -6
  107. package/dist/chunks/{persistent-pty-p9km1gz3.js → provider-bj8pk1h0.js} +30 -30
  108. package/dist/chunks/{persistent-pty-g5d5n1kd.js → provider-bj92tvmk.js} +52 -52
  109. package/dist/chunks/{persistent-pty-azs2rc3z.js → provider-by4xtjq4.js} +4 -4
  110. package/dist/chunks/{persistent-pty-5b4hr3cy.js → provider-c2bh7n43.js} +11 -11
  111. package/dist/chunks/{persistent-pty-x5hahj8f.js → provider-c9nd8tak.js} +29 -29
  112. package/dist/chunks/{persistent-pty-16ha7j0n.js → provider-cdt90cdf.js} +2 -2
  113. package/dist/chunks/{persistent-pty-cfpkc3c9.js → provider-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{persistent-pty-gvjc4wvc.js → provider-cfrg58jt.js} +11 -11
  115. package/dist/chunks/{persistent-pty-tgqjfyja.js → provider-cg1ew3t4.js} +1 -1
  116. package/dist/chunks/{persistent-pty-ag6663bn.js → provider-cg8rhwe6.js} +7 -7
  117. package/dist/chunks/{persistent-pty-gngnamge.js → provider-cgpav5ev.js} +14 -14
  118. package/dist/chunks/{persistent-pty-9z5caz15.js → provider-cgwzkpq9.js} +33 -33
  119. package/dist/chunks/{persistent-pty-tgs7p31y.js → provider-cncyymjp.js} +29 -29
  120. package/dist/chunks/{persistent-pty-3g8f6v0w.js → provider-cp65ze15.js} +2 -2
  121. package/dist/chunks/{persistent-pty-fzex66xc.js → provider-crn6nz6p.js} +6 -6
  122. package/dist/chunks/{persistent-pty-hrndf12w.js → provider-csf2jhsg.js} +4 -4
  123. package/dist/chunks/{persistent-pty-e2ztegh1.js → provider-cw78x96k.js} +23 -23
  124. package/dist/chunks/{persistent-pty-7j422xf6.js → provider-cz4prtxp.js} +4 -4
  125. package/dist/chunks/{persistent-pty-nadg9pcd.js → provider-d1khqved.js} +5 -5
  126. package/dist/chunks/{persistent-pty-xf783ser.js → provider-d2v740yb.js} +24 -24
  127. package/dist/chunks/{persistent-pty-j7ne0kvx.js → provider-d32qb1z3.js} +32 -32
  128. package/dist/chunks/{persistent-pty-da6kr1wx.js → provider-da6kr1wx.js} +2 -2
  129. package/dist/chunks/{persistent-pty-gtn38wb9.js → provider-ddcztwyx.js} +10 -10
  130. package/dist/chunks/{persistent-pty-h14ne9sf.js → provider-dk0zpy9w.js} +6 -6
  131. package/dist/chunks/{persistent-pty-a0v04wpe.js → provider-dptdzbd5.js} +28 -28
  132. package/dist/chunks/{persistent-pty-wphcxv4k.js → provider-dvm9cexd.js} +19 -19
  133. package/dist/chunks/{persistent-pty-mk8mwmng.js → provider-e03nkfvf.js} +38 -38
  134. package/dist/chunks/{persistent-pty-7083wxq8.js → provider-e31khs9j.js} +13 -13
  135. package/dist/chunks/{persistent-pty-rd2nkd0p.js → provider-e5bkhh6f.js} +12 -12
  136. package/dist/chunks/{persistent-pty-1wfat45j.js → provider-e78zjprw.js} +11 -11
  137. package/dist/chunks/{persistent-pty-bj0ze64x.js → provider-e7tmvv6q.js} +15 -15
  138. package/dist/chunks/{persistent-pty-ywnt24na.js → provider-em5e1hc8.js} +3 -3
  139. package/dist/chunks/{persistent-pty-txfe9bzh.js → provider-emv1mhks.js} +43 -43
  140. package/dist/chunks/{persistent-pty-tjfw1za4.js → provider-epk4gxbx.js} +8 -8
  141. package/dist/chunks/{persistent-pty-vgqed5s0.js → provider-eqcjdke8.js} +31 -31
  142. package/dist/chunks/{persistent-pty-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{persistent-pty-jeanpfns.js → provider-eztf1wzg.js} +1 -1
  144. package/dist/chunks/{persistent-pty-dh6431a9.js → provider-f6fv9kt7.js} +5 -5
  145. package/dist/chunks/{persistent-pty-f828m53h.js → provider-f828m53h.js} +2 -2
  146. package/dist/chunks/{persistent-pty-hkvp06w1.js → provider-fd3whvwn.js} +26 -26
  147. package/dist/chunks/{persistent-pty-b99w0g26.js → provider-ff0htmxq.js} +6 -6
  148. package/dist/chunks/{persistent-pty-6fa65h3x.js → provider-fjzk1t67.js} +18 -18
  149. package/dist/chunks/{persistent-pty-k7t3n1wc.js → provider-fqa85krr.js} +18 -18
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-va89syh5.js → provider-g616ba88.js} +32 -32
  152. package/dist/chunks/{persistent-pty-048g18x0.js → provider-g7tzfezq.js} +12 -12
  153. package/dist/chunks/{persistent-pty-79dr9dve.js → provider-g85wbd3d.js} +17 -17
  154. package/dist/chunks/{persistent-pty-s8d7rejh.js → provider-gbt6w4kb.js} +8 -8
  155. package/dist/chunks/{persistent-pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{persistent-pty-721tb84k.js → provider-gfvszjcj.js} +3 -3
  157. package/dist/chunks/{persistent-pty-s7m2x4kt.js → provider-gkc45a82.js} +60 -60
  158. package/dist/chunks/{persistent-pty-b8c6h3xb.js → provider-gstr6zjx.js} +23 -23
  159. package/dist/chunks/{persistent-pty-gv6a8nnw.js → provider-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{persistent-pty-h03wrkyp.js → provider-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{persistent-pty-7m2yq395.js → provider-h6mhsgyz.js} +36 -36
  162. package/dist/chunks/{persistent-pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{persistent-pty-k0nnq3t9.js → provider-had4kgfk.js} +6 -6
  164. package/dist/chunks/{persistent-pty-hjt4xg1x.js → provider-hjt4xg1x.js} +1 -1
  165. package/dist/chunks/{persistent-pty-qp6756r8.js → provider-hmtkpfat.js} +32 -32
  166. package/dist/chunks/{persistent-pty-ahrdm3aj.js → provider-hqgtbq8y.js} +17 -17
  167. package/dist/chunks/{persistent-pty-j56e64zr.js → provider-j56e64zr.js} +1 -1
  168. package/dist/chunks/{persistent-pty-p8wqtd46.js → provider-j5exv28m.js} +65 -65
  169. package/dist/chunks/{persistent-pty-rzn68cdd.js → provider-jdd9z3zr.js} +9 -9
  170. package/dist/chunks/{persistent-pty-h1cbn5my.js → provider-jnmqjdkf.js} +4 -4
  171. package/dist/chunks/{persistent-pty-cbth7jfa.js → provider-js4pqfak.js} +17 -17
  172. package/dist/chunks/{persistent-pty-m7y3f53v.js → provider-jsydqds2.js} +4 -4
  173. package/dist/chunks/{persistent-pty-cxmh4q5b.js → provider-jvf3yq6v.js} +4 -4
  174. package/dist/chunks/{persistent-pty-kg06axw8.js → provider-kg06axw8.js} +1 -1
  175. package/dist/chunks/{persistent-pty-wzk2dcjy.js → provider-kgwk72tj.js} +15 -15
  176. package/dist/chunks/{persistent-pty-0h54jqbs.js → provider-kh9sx4kg.js} +8 -8
  177. package/dist/chunks/{persistent-pty-n33yzhyc.js → provider-ksgc7bff.js} +24 -24
  178. package/dist/chunks/{persistent-pty-aeb4sny1.js → provider-kzdcqyn1.js} +5 -5
  179. package/dist/chunks/{persistent-pty-vsbkejts.js → provider-m950gd3p.js} +8 -8
  180. package/dist/chunks/{persistent-pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{persistent-pty-d9tj6f20.js → provider-mddbddvt.js} +24 -24
  182. package/dist/chunks/{persistent-pty-m4pp9rhr.js → provider-mg0amdr2.js} +300 -300
  183. package/dist/chunks/{persistent-pty-svskfwkh.js → provider-mgj0eac3.js} +17 -17
  184. package/dist/chunks/{persistent-pty-hdzt82x2.js → provider-mjncxbbh.js} +6 -6
  185. package/dist/chunks/{persistent-pty-82xjv89z.js → provider-n0w16hmp.js} +9 -9
  186. package/dist/chunks/{persistent-pty-bby00dsd.js → provider-n3wdcy6w.js} +8 -8
  187. package/dist/chunks/{persistent-pty-j29g5m16.js → provider-n6x86vy5.js} +9 -9
  188. package/dist/chunks/{persistent-pty-zw1h157g.js → provider-nbwgzt6s.js} +20 -20
  189. package/dist/chunks/{persistent-pty-1z7a71ya.js → provider-nkwppv5y.js} +11 -11
  190. package/dist/chunks/{persistent-pty-akt3csds.js → provider-nqzeqxym.js} +8 -8
  191. package/dist/chunks/{persistent-pty-nw2nz702.js → provider-nw2nz702.js} +1 -1
  192. package/dist/chunks/{persistent-pty-09s1qc9w.js → provider-nwyvgzw7.js} +4 -4
  193. package/dist/chunks/{persistent-pty-ggsyc5qm.js → provider-p4pgsv82.js} +4 -4
  194. package/dist/chunks/{persistent-pty-bem6a6z8.js → provider-p54br4xx.js} +13 -13
  195. package/dist/chunks/{persistent-pty-ehm2a07j.js → provider-p8y3rg0s.js} +15 -15
  196. package/dist/chunks/{persistent-pty-h4epa83b.js → provider-pb4gtzr9.js} +21 -21
  197. package/dist/chunks/{persistent-pty-4786se8r.js → provider-peejr10p.js} +1 -1
  198. package/dist/chunks/{persistent-pty-cza9j1er.js → provider-pjrv1sn1.js} +1 -1
  199. package/dist/chunks/{persistent-pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{persistent-pty-t8wk4avw.js → provider-pkkwwmgt.js} +11 -11
  201. package/dist/chunks/{persistent-pty-x86qc38n.js → provider-pkm07w3p.js} +32 -32
  202. package/dist/chunks/{persistent-pty-pknna89w.js → provider-pknna89w.js} +1 -1
  203. package/dist/chunks/{persistent-pty-g14zqp48.js → provider-pye8sh6e.js} +4 -4
  204. package/dist/chunks/{persistent-pty-09xfy49k.js → provider-q19b4cjc.js} +22 -22
  205. package/dist/chunks/{persistent-pty-1tfjzybb.js → provider-qah718a2.js} +14 -14
  206. package/dist/chunks/{persistent-pty-9m4vma00.js → provider-qe863w20.js} +30 -30
  207. package/dist/chunks/{persistent-pty-2ve45fd6.js → provider-qkrnz1pz.js} +2 -2
  208. package/dist/chunks/{persistent-pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
  209. package/dist/chunks/{persistent-pty-16qkbgjp.js → provider-qymjzjax.js} +46 -46
  210. package/dist/chunks/{persistent-pty-9pf502c0.js → provider-r25mw0kc.js} +12 -12
  211. package/dist/chunks/{persistent-pty-gc9axj16.js → provider-r4bep42t.js} +9 -9
  212. package/dist/chunks/{persistent-pty-kq4dwxxq.js → provider-r4jwy59m.js} +8 -8
  213. package/dist/chunks/{persistent-pty-r5x6zcsm.js → provider-r5x6zcsm.js} +1 -1
  214. package/dist/chunks/{persistent-pty-r9mregkx.js → provider-r9mregkx.js} +2 -2
  215. package/dist/chunks/{persistent-pty-radr3yff.js → provider-razh1rh3.js} +17 -17
  216. package/dist/chunks/{persistent-pty-agfns39k.js → provider-rk93ac63.js} +5 -5
  217. package/dist/chunks/{persistent-pty-qz49fwgp.js → provider-rp8jz6x1.js} +6 -6
  218. package/dist/chunks/{persistent-pty-aqqyz78k.js → provider-rx6vhxft.js} +17 -17
  219. package/dist/chunks/{persistent-pty-xvgh8vxx.js → provider-s3vjz8f8.js} +20 -20
  220. package/dist/chunks/{persistent-pty-s4enseaf.js → provider-s4enseaf.js} +2 -2
  221. package/dist/chunks/{persistent-pty-tq94g21h.js → provider-s58ke6q9.js} +3 -3
  222. package/dist/chunks/{persistent-pty-zbr6jhfd.js → provider-s7516gn7.js} +22 -22
  223. package/dist/chunks/{persistent-pty-715qt4bx.js → provider-snw92vp3.js} +13 -13
  224. package/dist/chunks/{persistent-pty-ypy7xg3m.js → provider-sr9wakx4.js} +27 -27
  225. package/dist/chunks/{persistent-pty-ewyrcxn4.js → provider-ssagvezb.js} +27 -27
  226. package/dist/chunks/{persistent-pty-6tt5evqq.js → provider-t002jccf.js} +4 -4
  227. package/dist/chunks/{persistent-pty-qm7jrdpz.js → provider-t33aqq77.js} +6 -6
  228. package/dist/chunks/{persistent-pty-9c4d1d9h.js → provider-t3zsn7tb.js} +16 -16
  229. package/dist/chunks/{persistent-pty-wqc0af95.js → provider-t832p3z2.js} +28 -28
  230. package/dist/chunks/{persistent-pty-6tsg30fm.js → provider-t8f8a47m.js} +2 -2
  231. package/dist/chunks/{persistent-pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{persistent-pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{persistent-pty-tdstcens.js → provider-tdstcens.js} +1 -1
  234. package/dist/chunks/{persistent-pty-ftnt8sm4.js → provider-tgydxn46.js} +23 -23
  235. package/dist/chunks/{persistent-pty-4rrnbjgb.js → provider-tn3zdbs0.js} +30 -30
  236. package/dist/chunks/{persistent-pty-ap9dfpx5.js → provider-tp9ndsvq.js} +9 -9
  237. package/dist/chunks/{persistent-pty-1vg6t9wt.js → provider-tr6ja7tk.js} +97 -48
  238. package/dist/chunks/{persistent-pty-tvtrv512.js → provider-tvtrv512.js} +1 -1
  239. package/dist/chunks/{persistent-pty-hhd62ded.js → provider-v8ywx32k.js} +7 -7
  240. package/dist/chunks/{persistent-pty-an7cqtb7.js → provider-ve4pfa0n.js} +4 -4
  241. package/dist/chunks/{persistent-pty-veqvce7d.js → provider-veqvce7d.js} +1 -1
  242. package/dist/chunks/{persistent-pty-j6ehekt9.js → provider-vk9n42km.js} +22 -22
  243. package/dist/chunks/{persistent-pty-jhp2p10f.js → provider-vm1jjz87.js} +9 -9
  244. package/dist/chunks/{persistent-pty-w39jxxw7.js → provider-vnadph8e.js} +20 -20
  245. package/dist/chunks/{persistent-pty-93z8j3q2.js → provider-vpdr7g8j.js} +20 -20
  246. package/dist/chunks/{persistent-pty-yj8ww8v9.js → provider-vq1xkcbr.js} +25 -25
  247. package/dist/chunks/{persistent-pty-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{persistent-pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{persistent-pty-knzb2q45.js → provider-w7n72ycn.js} +19 -19
  250. package/dist/chunks/{persistent-pty-wd87259q.js → provider-wd87259q.js} +1 -1
  251. package/dist/chunks/{persistent-pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{persistent-pty-hjnk9kpc.js → provider-x280j3tq.js} +85 -85
  253. package/dist/chunks/{persistent-pty-5aengpdy.js → provider-x5ttagpj.js} +13 -13
  254. package/dist/chunks/{persistent-pty-z4a9sax2.js → provider-xambzptg.js} +5 -5
  255. package/dist/chunks/{persistent-pty-jbp58yvw.js → provider-xbdctb2d.js} +8 -8
  256. package/dist/chunks/{persistent-pty-g640k70z.js → provider-xcjhgh37.js} +6 -6
  257. package/dist/chunks/{persistent-pty-grfax6bg.js → provider-xcx71mhc.js} +17 -16
  258. package/dist/chunks/{persistent-pty-jr3tywxk.js → provider-xdk9p2qn.js} +4 -4
  259. package/dist/chunks/{persistent-pty-kp4m38ba.js → provider-xdxq1p02.js} +34 -34
  260. package/dist/chunks/{persistent-pty-af4kcksd.js → provider-xhmq8qgk.js} +2 -2
  261. package/dist/chunks/{persistent-pty-hzez76ws.js → provider-xkwgppqg.js} +14 -14
  262. package/dist/chunks/{persistent-pty-szbf9hj0.js → provider-xzjvqte7.js} +26 -26
  263. package/dist/chunks/{persistent-pty-d9dst3t3.js → provider-y17fffc9.js} +12 -12
  264. package/dist/chunks/{persistent-pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{persistent-pty-dpkg50ah.js → provider-y71avatq.js} +4 -4
  266. package/dist/chunks/{persistent-pty-4jgfcj8t.js → provider-y7p08kvk.js} +8 -8
  267. package/dist/chunks/{persistent-pty-915t83ht.js → provider-ydr0mbyb.js} +5 -5
  268. package/dist/chunks/{persistent-pty-n63a0fh6.js → provider-yfztj9my.js} +16 -16
  269. package/dist/chunks/{persistent-pty-yp2x3t23.js → provider-yp2x3t23.js} +1 -1
  270. package/dist/chunks/{persistent-pty-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{persistent-pty-8nz98mka.js → provider-ysmk5kbm.js} +35 -35
  272. package/dist/chunks/{persistent-pty-awk4bmnf.js → provider-yw4pw9zd.js} +27 -27
  273. package/dist/chunks/{persistent-pty-wdm18wae.js → provider-yzyvjjcs.js} +4 -4
  274. package/dist/chunks/{persistent-pty-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{persistent-pty-3zaatfj6.js → provider-z3jzy529.js} +23 -23
  276. package/dist/chunks/{persistent-pty-s76nk363.js → provider-z4491rhz.js} +12 -12
  277. package/dist/chunks/{persistent-pty-8qbgjw8c.js → provider-z93n0fe9.js} +8 -8
  278. package/dist/chunks/{persistent-pty-qmy7xtej.js → provider-zc2xj3qj.js} +1 -1
  279. package/dist/chunks/{persistent-pty-zeh9ct20.js → provider-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{persistent-pty-81swgkk7.js → provider-zgajvhgj.js} +9 -9
  281. package/dist/chunks/{persistent-pty-b7skc9aj.js → provider-zh8yrkqv.js} +13 -13
  282. package/dist/chunks/{persistent-pty-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{persistent-pty-jfbv0dxj.js → provider-ztannf4n.js} +8 -8
  284. package/dist/chunks/{persistent-pty-0bttyzvt.js → provider-zvg7bzkf.js} +3 -3
  285. package/dist/chunks/{persistent-pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{persistent-pty-3g8cchxn.js → provider-zzd16jny.js} +20 -20
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +80 -80
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +112 -112
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +132 -132
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +85 -85
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +85 -85
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +98 -98
  486. package/dist/plugin/command.js +95 -95
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +69 -69
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +132 -132
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +225 -225
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +3 -3
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +123 -123
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +85 -85
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +109 -109
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +168 -168
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +150 -150
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -214
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +106 -106
  622. package/dist/snapshot.js +87 -87
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +122 -122
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +101 -101
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +114 -114
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/types/config.d.ts +5 -1
  646. package/dist/types/shell/select.d.ts +1 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +83 -83
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +78 -78
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +79 -79
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +88 -88
  685. package/package.json +8 -8
  686. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  687. package/dist/chunks/persistent-pty-21jpq35a.js +0 -247
  688. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  689. package/dist/chunks/persistent-pty-pcc2jen2.js +0 -22
  690. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3asan66x.js → provider-3asan66x.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-53557ph1.js → provider-53557ph1.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-6prwharc.js → provider-6prwharc.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-822emrt2.js → provider-822emrt2.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-922hggd3.js → provider-922hggd3.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-df08tz66.js → provider-df08tz66.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-ec1grn59.js → provider-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-g86h250q.js → provider-g86h250q.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-gftt206x.js → provider-gftt206x.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-hk9envan.js → provider-hk9envan.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → provider-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-j935v87r.js → provider-j935v87r.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-twg0f83k.js → provider-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-x61499pn.js → provider-x61499pn.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-y8f7s663.js → provider-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ym463w8f.js → provider-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node84
5
- } from "./persistent-pty-gngnamge.js";
3
+ Service76,
4
+ node80
5
+ } from "./provider-cgpav5ev.js";
6
6
  import {
7
- Service73,
8
- node78
9
- } from "./persistent-pty-vfarjvhq.js";
7
+ Service78,
8
+ node82
9
+ } from "./provider-af1zye0v.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./provider-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event18,
19
+ Event: () => Event20,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service72,
22
+ Service: () => Service75,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node77,
25
+ node: () => node79,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service72 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service75 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event18 = {
51
+ var Event20 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service72, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service73;
81
- const bus = yield* Service79;
80
+ const kv = yield* Service78;
81
+ const bus = yield* Service76;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event18.Updated, {});
112
+ yield* bus.publish(Event20.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service72.of({
115
+ return Service75.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event18.Updated, {});
128
+ yield* bus.publish(Event20.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event18.Updated, {});
141
+ yield* bus.publish(Event20.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node78, node84] });
146
+ var node79 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node82, node80] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event18, inspect2, resolve3, node77, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event20, inspect2, resolve3, node79, exports_wellknown };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-g14zqp48.js";
4
+ } from "./provider-pye8sh6e.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./persistent-pty-g14zqp48.js";
3
+ } from "./provider-pye8sh6e.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./persistent-pty-5t3nmthw.js";
3
+ } from "./provider-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service26,
11
+ Service: () => Service31,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer12,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node36
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service26.of({ bind, close, closeAll });
359
+ return Service31.of({ bind, close, closeAll });
360
360
  }));
361
- var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node31 = makeGlobalNode({ service: Service26, layer: layer12, deps: [webSocketConstructor2] });
364
+ var node36 = makeGlobalNode({ service: Service31, layer: layer13, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service26, makeLayer2, layer12, node31, exports_model_transport };
366
+ export { Service31, makeLayer2, layer13, node36, exports_model_transport };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-922hggd3.js";
4
+ } from "./provider-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./persistent-pty-kt5w8vxh.js";
8
+ Service73,
9
+ node77
10
+ } from "./provider-2dvxsv9x.js";
11
11
  import {
12
- Service76,
13
- node81
14
- } from "./persistent-pty-svskfwkh.js";
12
+ Service71,
13
+ node75
14
+ } from "./provider-mgj0eac3.js";
15
15
  import {
16
16
  create3
17
- } from "./persistent-pty-kg06axw8.js";
17
+ } from "./provider-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./provider-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service46,
25
+ Error: () => Error4,
26
+ ID: () => ID12,
27
+ Service: () => Service70,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node50,
29
+ node: () => node74,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID12 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service70 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service73;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service71;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID12.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service70.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node50 = makeLocationNode({
139
- service: Service46,
138
+ var node74 = makeLocationNode({
139
+ service: Service70,
140
140
  layer,
141
- deps: [FSUtil.node, node83, Global.node, node81]
141
+ deps: [FSUtil.node, node77, Global.node, node75]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
143
+ var noopLayer3 = Layer.succeed(Service70, Service70.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error3 && cause.operation === operation)
152
+ if (cause instanceof Error4 && cause.operation === operation)
153
153
  return cause;
154
- return new Error3({
154
+ return new Error4({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID4, Error3, Service46, node50, noopLayer3, exports_snapshot2 };
161
+ export { ID12, Error4, Service70, node74, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./provider-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
9
  ID: () => ID16,
10
- Info: () => Info30,
10
+ Info: () => Info31,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -144,7 +144,7 @@ function mergeHeaders2(base, overlay) {
144
144
  }
145
145
  var Request3 = Provider.Request;
146
146
  var Settings2 = Provider.Settings;
147
- var Info30 = Provider.Info;
147
+ var Info31 = Provider.Info;
148
148
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
149
149
  const module = yield* Effect.tryPromise({
150
150
  try: () => {
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
166
166
  return module;
167
167
  });
168
168
 
169
- export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
169
+ export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info31, exports_provider3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-gngnamge.js";
2
+ Service76,
3
+ node80
4
+ } from "./provider-cgpav5ev.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-kg06axw8.js";
7
+ } from "./provider-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./provider-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event6,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info7,
19
- NotFoundError: () => NotFoundError4,
20
- Service: () => Service34,
21
- layer: () => layer16,
22
- node: () => node37
19
+ NotFoundError: () => NotFoundError5,
20
+ Service: () => Service39,
21
+ layer: () => layer17,
22
+ node: () => node43
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event6 } from "@opencode/schema/command";
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
28
  var Info7 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service34 extends Context.Service()("@opencode/Command") {
42
+ class Service39 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer16 = Layer.effect(Service34, Effect.gen(function* () {
45
- const bus = yield* Service79;
44
+ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
45
+ const bus = yield* Service76;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -55,7 +55,7 @@ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service34.of({
58
+ return Service39.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node37 = makeLocationNode({
75
- service: Service34,
76
- layer: layer16,
77
- deps: [node84]
74
+ var node43 = makeLocationNode({
75
+ service: Service39,
76
+ layer: layer17,
77
+ deps: [node80]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError4, ExecutionError2, Service34, layer16, node37, exports_command4, Event6 };
89
+ export { Info7, NotFoundError5, ExecutionError2, Service39, layer17, node43, exports_command4, Event8 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service63
3
- } from "./persistent-pty-tys4kk6f.js";
2
+ Service64
3
+ } from "./provider-059fs9mx.js";
4
4
  import {
5
- Service65
6
- } from "./persistent-pty-c7zg7x3c.js";
5
+ Service53
6
+ } from "./provider-6s9nm4sm.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./provider-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service63;
57
- const permission = yield* Service65;
56
+ const forms = yield* Service64;
57
+ const permission = yield* Service53;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };