@opencode/core 0.0.0-dev-19426 → 0.0.0-dev-19427

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 +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{persistent-pty-07z0gam2.js → config-04sbkdwc.js} +2 -2
  9. package/dist/chunks/{persistent-pty-eanp9d5s.js → config-080jjftm.js} +38 -38
  10. package/dist/chunks/{persistent-pty-af4kcksd.js → config-0996nyz8.js} +9 -9
  11. package/dist/chunks/{persistent-pty-hb21dksg.js → config-0cyncc7e.js} +11 -11
  12. package/dist/chunks/{persistent-pty-s8d7rejh.js → config-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{persistent-pty-vypqtakx.js → config-0jx2kcb6.js} +1 -1
  14. package/dist/chunks/{persistent-pty-gq9ysr8h.js → config-0nes75s0.js} +6 -6
  15. package/dist/chunks/{persistent-pty-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{persistent-pty-0q0f95c6.js → config-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{persistent-pty-771pt6a1.js → config-0r543n7w.js} +9 -9
  18. package/dist/chunks/{persistent-pty-5t0z2mmn.js → config-0rjbp7af.js} +5 -5
  19. package/dist/chunks/{persistent-pty-m5y0j72z.js → config-0y0fy2ct.js} +18 -18
  20. package/dist/chunks/{persistent-pty-1z0pzthf.js → config-0y4a2eys.js} +3 -3
  21. package/dist/chunks/{persistent-pty-bby00dsd.js → config-121k57vw.js} +8 -8
  22. package/dist/chunks/{persistent-pty-7z50rzs6.js → config-18300jzq.js} +11 -11
  23. package/dist/chunks/{persistent-pty-6fdj6kdr.js → config-1ak7w0y1.js} +4 -4
  24. package/dist/chunks/{persistent-pty-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{persistent-pty-9njfg5h4.js → config-1nawpdar.js} +19 -19
  26. package/dist/chunks/{persistent-pty-56gdpj1q.js → config-1ygqh575.js} +9 -9
  27. package/dist/chunks/config-210dr5bd.js +247 -0
  28. package/dist/chunks/{persistent-pty-21r38tys.js → config-21r38tys.js} +1 -1
  29. package/dist/chunks/{persistent-pty-hrndf12w.js → config-26ym7a2d.js} +4 -4
  30. package/dist/chunks/{persistent-pty-29x78va6.js → config-29x78va6.js} +2 -2
  31. package/dist/chunks/{persistent-pty-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{persistent-pty-qjfza5jp.js → config-2aer1yk3.js} +28 -28
  33. package/dist/chunks/{persistent-pty-1tq060df.js → config-2d57kztd.js} +6 -6
  34. package/dist/chunks/{persistent-pty-d5yt5jwb.js → config-2pkcpn7k.js} +20 -20
  35. package/dist/chunks/{persistent-pty-jvzfedhz.js → config-2s3vs4q7.js} +10 -10
  36. package/dist/chunks/{persistent-pty-5r7wtzhh.js → config-2t4fwem2.js} +20 -20
  37. package/dist/chunks/{persistent-pty-64a4x0vc.js → config-2vem9984.js} +9 -9
  38. package/dist/chunks/{persistent-pty-0h54jqbs.js → config-3cwb9jzf.js} +8 -8
  39. package/dist/chunks/{persistent-pty-mtft99cd.js → config-3cz8rj72.js} +5 -5
  40. package/dist/chunks/{persistent-pty-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{persistent-pty-g2rsct3h.js → config-3n4jppc0.js} +6 -6
  43. package/dist/chunks/{persistent-pty-2sb6srdd.js → config-3rjjvc4m.js} +9 -9
  44. package/dist/chunks/{persistent-pty-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{persistent-pty-fq1h1v14.js → config-3t4rpvx0.js} +3 -3
  46. package/dist/chunks/{persistent-pty-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{persistent-pty-nw2nz702.js → config-3ythc6yv.js} +4 -4
  48. package/dist/chunks/{persistent-pty-j39pwvkg.js → config-4d0h0zpx.js} +6 -6
  49. package/dist/chunks/{persistent-pty-n52fcynn.js → config-4fnmr1se.js} +30 -30
  50. package/dist/chunks/{persistent-pty-fsxrvzy1.js → config-4p9erpdr.js} +8 -8
  51. package/dist/chunks/{persistent-pty-75q7adw5.js → config-4wtpxfp6.js} +16 -16
  52. package/dist/chunks/{persistent-pty-mge8n18z.js → config-52y26kps.js} +5 -5
  53. package/dist/chunks/{persistent-pty-35wxgrz4.js → config-5908qhdy.js} +14 -14
  54. package/dist/chunks/{persistent-pty-pps99k3k.js → config-5b05e64m.js} +25 -25
  55. package/dist/chunks/{persistent-pty-smj81yy7.js → config-5cphae0w.js} +26 -26
  56. package/dist/chunks/{persistent-pty-5daktx2q.js → config-5daktx2q.js} +1 -1
  57. package/dist/chunks/{persistent-pty-bkrv928p.js → config-5jsk88ac.js} +85 -85
  58. package/dist/chunks/{persistent-pty-jer3sd0r.js → config-5kp564w1.js} +11 -11
  59. package/dist/chunks/{persistent-pty-twy35tz0.js → config-5kptn8c0.js} +9 -9
  60. package/dist/chunks/{persistent-pty-6feaep00.js → config-5n1g8faq.js} +25 -25
  61. package/dist/chunks/{persistent-pty-7wc683m2.js → config-5pdzgdxg.js} +2 -2
  62. package/dist/chunks/{persistent-pty-x30a5wep.js → config-5pffmstf.js} +3 -3
  63. package/dist/chunks/{persistent-pty-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{persistent-pty-9vd61c30.js → config-5webd478.js} +20 -20
  65. package/dist/chunks/{persistent-pty-rzn68cdd.js → config-5zpyp4z2.js} +9 -9
  66. package/dist/chunks/{persistent-pty-7hpb1swa.js → config-61fyb2a3.js} +21 -21
  67. package/dist/chunks/{persistent-pty-1jzr98sp.js → config-63fj94e7.js} +11 -11
  68. package/dist/chunks/{persistent-pty-669tq793.js → config-669tq793.js} +1 -1
  69. package/dist/chunks/{persistent-pty-3ajmv4vc.js → config-6be0w3hg.js} +21 -21
  70. package/dist/chunks/{persistent-pty-qfd3egxj.js → config-6df1nwa0.js} +10 -10
  71. package/dist/chunks/{persistent-pty-2402vzrj.js → config-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{persistent-pty-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{persistent-pty-nyba91e3.js → config-6v1tvx37.js} +23 -23
  74. package/dist/chunks/{persistent-pty-aavsyw27.js → config-6xw6hfxy.js} +24 -24
  75. package/dist/chunks/{persistent-pty-21nf8x37.js → config-716zws2t.js} +5 -5
  76. package/dist/chunks/{persistent-pty-71q4at8m.js → config-71q4at8m.js} +1 -1
  77. package/dist/chunks/{persistent-pty-ws70e1ew.js → config-73qe7w20.js} +40 -40
  78. package/dist/chunks/{persistent-pty-r5x6zcsm.js → config-73tb2d7t.js} +3 -3
  79. package/dist/chunks/{persistent-pty-1ybn2y83.js → config-74c01z77.js} +46 -46
  80. package/dist/chunks/{persistent-pty-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{persistent-pty-xck95xk4.js → config-7cgwyxtc.js} +18 -18
  82. package/dist/chunks/{persistent-pty-2vgrpkws.js → config-7dab4f7d.js} +20 -20
  83. package/dist/chunks/{persistent-pty-y20gv630.js → config-7dexpn2v.js} +32 -32
  84. package/dist/chunks/{persistent-pty-e9x29tk8.js → config-7jj9ww0g.js} +17 -17
  85. package/dist/chunks/{persistent-pty-mrw4weg4.js → config-7jkg984e.js} +5 -5
  86. package/dist/chunks/{persistent-pty-ez87t20v.js → config-7wwq8wqs.js} +41 -41
  87. package/dist/chunks/{persistent-pty-qryc0yk4.js → config-7xn0ak3t.js} +47 -47
  88. package/dist/chunks/{persistent-pty-p9e7n5cp.js → config-7z8hcgfe.js} +39 -39
  89. package/dist/chunks/{persistent-pty-7cbt97qs.js → config-7zgw0769.js} +39 -39
  90. package/dist/chunks/{persistent-pty-m3s16k4y.js → config-83d60b5q.js} +11 -11
  91. package/dist/chunks/{persistent-pty-esdnemd6.js → config-862gqftt.js} +1 -1
  92. package/dist/chunks/{persistent-pty-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{persistent-pty-8p4f9s12.js → config-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{persistent-pty-h2gyv3sg.js → config-8pkvmqn2.js} +1 -1
  95. package/dist/chunks/{persistent-pty-grfax6bg.js → config-8q7vzyvq.js} +15 -15
  96. package/dist/chunks/{persistent-pty-he2978am.js → config-8rahwd83.js} +17 -17
  97. package/dist/chunks/{persistent-pty-a46v4e4v.js → config-8x96bj0m.js} +7 -7
  98. package/dist/chunks/{persistent-pty-qcahbspj.js → config-94hawnvy.js} +10 -10
  99. package/dist/chunks/{persistent-pty-v8aeq3gs.js → config-967d7zym.js} +32 -32
  100. package/dist/chunks/{persistent-pty-6kvtrg8a.js → config-98k0cdha.js} +6 -6
  101. package/dist/chunks/{persistent-pty-zss1wv0f.js → config-98zkxtvb.js} +56 -56
  102. package/dist/chunks/{persistent-pty-qshadkbd.js → config-9af4hgzp.js} +17 -17
  103. package/dist/chunks/{persistent-pty-b0grxa7w.js → config-9b00c1fb.js} +5 -5
  104. package/dist/chunks/{persistent-pty-a1bz86dw.js → config-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{persistent-pty-aaet6srn.js → config-aaet6srn.js} +2 -2
  106. package/dist/chunks/{persistent-pty-3w2b2yj4.js → config-ag9w8cw1.js} +5 -5
  107. package/dist/chunks/{persistent-pty-t8wk4avw.js → config-az4749a7.js} +9 -9
  108. package/dist/chunks/{persistent-pty-9gyd2w40.js → config-b10jyp57.js} +1 -1
  109. package/dist/chunks/{persistent-pty-bx134keb.js → config-b2r3edrw.js} +9 -9
  110. package/dist/chunks/{persistent-pty-bwtw07rb.js → config-b4aanydw.js} +4 -4
  111. package/dist/chunks/{persistent-pty-9k2v62xn.js → config-b4jw9d4v.js} +1 -1
  112. package/dist/chunks/{persistent-pty-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{persistent-pty-h322wpay.js → config-bgdg82ee.js} +3 -3
  114. package/dist/chunks/{persistent-pty-81swgkk7.js → config-byp1chnz.js} +9 -9
  115. package/dist/chunks/{persistent-pty-avr3wk77.js → config-c1j4d1x8.js} +15 -15
  116. package/dist/chunks/{persistent-pty-q34x7630.js → config-c4dahkdv.js} +4 -4
  117. package/dist/chunks/{persistent-pty-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{persistent-pty-d8qpv23y.js → config-cqegaqd0.js} +41 -41
  119. package/dist/chunks/{persistent-pty-aagvkkxy.js → config-cwjx0559.js} +24 -24
  120. package/dist/chunks/{persistent-pty-ttqfmzkf.js → config-d2kzsg1r.js} +4 -4
  121. package/dist/chunks/{persistent-pty-55fm1b9t.js → config-d3xzc5yd.js} +29 -29
  122. package/dist/chunks/{persistent-pty-gvcny074.js → config-d47m9tc9.js} +7 -7
  123. package/dist/chunks/{persistent-pty-h28mzj1y.js → config-desmpezp.js} +43 -43
  124. package/dist/chunks/{persistent-pty-andaq6rh.js → config-df2wv8bx.js} +12 -12
  125. package/dist/chunks/{persistent-pty-7b15y959.js → config-dv1qgsyq.js} +8 -8
  126. package/dist/chunks/{persistent-pty-f873qhwf.js → config-e0fydr9g.js} +17 -17
  127. package/dist/chunks/{persistent-pty-gcaewnb3.js → config-e0vtkr8g.js} +6 -6
  128. package/dist/chunks/{persistent-pty-exnvqzq0.js → config-e3zqxkjh.js} +25 -25
  129. package/dist/chunks/{persistent-pty-cgwhtan4.js → config-e43gp79w.js} +18 -18
  130. package/dist/chunks/{persistent-pty-nx4935gj.js → config-e5vktses.js} +14 -14
  131. package/dist/chunks/{persistent-pty-b2v3nqsm.js → config-e7vjb8xb.js} +17 -17
  132. package/dist/chunks/{persistent-pty-atpcpkf0.js → config-e8fqe44x.js} +27 -27
  133. package/dist/chunks/{persistent-pty-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{persistent-pty-c7m75h3c.js → config-ev1z17mg.js} +1 -1
  135. package/dist/chunks/{persistent-pty-yp2x3t23.js → config-f2n192rq.js} +4 -4
  136. package/dist/chunks/{persistent-pty-aahnsagd.js → config-f65gecnf.js} +24 -24
  137. package/dist/chunks/{persistent-pty-akt3csds.js → config-f7waqs9s.js} +8 -8
  138. package/dist/chunks/{persistent-pty-f828m53h.js → config-f828m53h.js} +2 -2
  139. package/dist/chunks/{persistent-pty-4vm0hqbg.js → config-f8khf541.js} +7 -7
  140. package/dist/chunks/{persistent-pty-qz2hjw9m.js → config-fbjpvkak.js} +6 -6
  141. package/dist/chunks/{persistent-pty-7dqw4kz8.js → config-fcrkznn8.js} +5 -5
  142. package/dist/chunks/{persistent-pty-tge42xv9.js → config-fhhh5fpv.js} +24 -24
  143. package/dist/chunks/{persistent-pty-7rgb98b3.js → config-fkya8xgs.js} +25 -25
  144. package/dist/chunks/{persistent-pty-1bvxxf6d.js → config-fmr28pax.js} +6 -6
  145. package/dist/chunks/{persistent-pty-7zkd12m7.js → config-fq5tybeh.js} +13 -13
  146. package/dist/chunks/{persistent-pty-7e7r6h4f.js → config-ftwyyc7q.js} +11 -11
  147. package/dist/chunks/{persistent-pty-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{persistent-pty-3sapyj2b.js → config-g02c2j6c.js} +15 -15
  149. package/dist/chunks/{persistent-pty-tybgdchd.js → config-g36pzvek.js} +41 -41
  150. package/dist/chunks/{persistent-pty-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{persistent-pty-8xbg7ftz.js → config-ghdn73s2.js} +8 -8
  152. package/dist/chunks/{persistent-pty-721tb84k.js → config-grqp3cmb.js} +3 -3
  153. package/dist/chunks/{persistent-pty-h03wrkyp.js → config-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{persistent-pty-6mgtcd6n.js → config-h0n719fv.js} +26 -26
  155. package/dist/chunks/{persistent-pty-2v34zfk0.js → config-h2mpge2c.js} +13 -13
  156. package/dist/chunks/config-h6rmx1e7.js +22 -0
  157. package/dist/chunks/{persistent-pty-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{persistent-pty-m86bnw2c.js → config-h7ygw6q4.js} +9 -9
  159. package/dist/chunks/{persistent-pty-84gm4pzb.js → config-hc9y5yrm.js} +13 -13
  160. package/dist/chunks/{persistent-pty-vmq7ehpy.js → config-hnr5yq9h.js} +5 -5
  161. package/dist/chunks/{persistent-pty-warydmh4.js → config-hpz3494e.js} +23 -23
  162. package/dist/chunks/{persistent-pty-vze96k0n.js → config-hyj2vz80.js} +4 -4
  163. package/dist/chunks/{persistent-pty-dxygqc36.js → config-hzcq6r0f.js} +17 -17
  164. package/dist/chunks/{persistent-pty-tjfw1za4.js → config-j2qn64gj.js} +11 -11
  165. package/dist/chunks/{persistent-pty-j56e64zr.js → config-j56e64zr.js} +1 -1
  166. package/dist/chunks/config-j5b0wgyp.js +462 -0
  167. package/dist/chunks/{persistent-pty-g246acm2.js → config-jarjgmjf.js} +16 -16
  168. package/dist/chunks/{persistent-pty-g7bd3bxh.js → config-jcqksr1s.js} +13 -13
  169. package/dist/chunks/{persistent-pty-69najtqd.js → config-jke8kf8k.js} +23 -23
  170. package/dist/chunks/{persistent-pty-zbr6jhfd.js → config-jnykdmk9.js} +22 -22
  171. package/dist/chunks/{persistent-pty-qt3ydrbb.js → config-jr2wm6h1.js} +79 -79
  172. package/dist/chunks/{persistent-pty-g5zzrv8s.js → config-jrrv4qtc.js} +15 -15
  173. package/dist/chunks/{persistent-pty-mdkf98yy.js → config-jrzxfgsz.js} +5 -5
  174. package/dist/chunks/{persistent-pty-159kg1rb.js → config-jzd3jr9p.js} +15 -15
  175. package/dist/chunks/{persistent-pty-84tssp1s.js → config-k1dcmph1.js} +6 -6
  176. package/dist/chunks/{persistent-pty-bhydgh2x.js → config-kc19q4nv.js} +18 -18
  177. package/dist/chunks/{persistent-pty-m4xc242r.js → config-kfyjm1bj.js} +15 -15
  178. package/dist/chunks/{persistent-pty-kg06axw8.js → config-kg06axw8.js} +1 -1
  179. package/dist/chunks/{persistent-pty-axdmkq6x.js → config-kgs2gyn8.js} +15 -15
  180. package/dist/chunks/{persistent-pty-fppgezky.js → config-kgzd18rf.js} +28 -28
  181. package/dist/chunks/{persistent-pty-c3t7yrgz.js → config-kjmc9q6p.js} +6 -6
  182. package/dist/chunks/{persistent-pty-9h6x7gyv.js → config-kw9fkdsd.js} +15 -15
  183. package/dist/chunks/{persistent-pty-8z17e00v.js → config-kyrbgmgz.js} +2 -2
  184. package/dist/chunks/{persistent-pty-915t83ht.js → config-m0yean37.js} +11 -11
  185. package/dist/chunks/{persistent-pty-h15vyfzd.js → config-m3wg7f1z.js} +10 -10
  186. package/dist/chunks/{persistent-pty-e8mbapm5.js → config-m4kgf6ca.js} +6 -6
  187. package/dist/chunks/{persistent-pty-hxh4hb0e.js → config-m80ew2zz.js} +17 -17
  188. package/dist/chunks/{persistent-pty-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-g6986w1q.js → config-mb7tvf4x.js} +33 -33
  190. package/dist/chunks/{persistent-pty-cvvekyt1.js → config-mbnc4twk.js} +20 -20
  191. package/dist/chunks/{persistent-pty-kpgdrxya.js → config-mcjr5rma.js} +10 -10
  192. package/dist/chunks/{persistent-pty-mkcjrzeh.js → config-mkcjrzeh.js} +1 -1
  193. package/dist/chunks/{persistent-pty-kt5w8vxh.js → config-mkh51v61.js} +10 -10
  194. package/dist/chunks/{persistent-pty-3trbxeqx.js → config-mv54rrkq.js} +1 -1
  195. package/dist/chunks/{persistent-pty-5f411mky.js → config-mzykdn05.js} +10 -10
  196. package/dist/chunks/{persistent-pty-ww3mwnc7.js → config-nhbeg3qa.js} +11 -11
  197. package/dist/chunks/{persistent-pty-hjt4xg1x.js → config-nhy5jxhy.js} +4 -4
  198. package/dist/chunks/{persistent-pty-7ba6wjkk.js → config-nhzetgd2.js} +18 -18
  199. package/dist/chunks/{persistent-pty-pbmjghd7.js → config-ns8hfw5m.js} +11 -11
  200. package/dist/chunks/{persistent-pty-bgp3qmdj.js → config-nw3ed1mk.js} +38 -38
  201. package/dist/chunks/{persistent-pty-enc0sym2.js → config-pbvcetj3.js} +18 -18
  202. package/dist/chunks/config-pf31ssb9.js +18 -0
  203. package/dist/chunks/{persistent-pty-xrmsdwza.js → config-pghpsfx8.js} +32 -32
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-pknna89w.js → config-pknna89w.js} +1 -1
  206. package/dist/chunks/{persistent-pty-jzpbgybv.js → config-pp9bqr7w.js} +20 -20
  207. package/dist/chunks/{persistent-pty-cqyts73c.js → config-pxa5mnve.js} +33 -33
  208. package/dist/chunks/{persistent-pty-s76nk363.js → config-q6jxhr7p.js} +12 -12
  209. package/dist/chunks/{persistent-pty-ggwxhvn5.js → config-q879j799.js} +28 -28
  210. package/dist/chunks/{persistent-pty-jk9xsz7x.js → config-qq71fy0p.js} +22 -22
  211. package/dist/chunks/{persistent-pty-7yqnf43w.js → config-qq8x5mwt.js} +6 -6
  212. package/dist/chunks/{persistent-pty-fg7rbsd2.js → config-qs001aqx.js} +8 -8
  213. package/dist/chunks/{persistent-pty-qsdy395h.js → config-qsdy395h.js} +1 -1
  214. package/dist/chunks/{persistent-pty-vabb23s0.js → config-qstjqs7y.js} +1 -1
  215. package/dist/chunks/{persistent-pty-72xz0ztc.js → config-qwkmaj58.js} +65 -65
  216. package/dist/chunks/{persistent-pty-hj2v5ffq.js → config-r1pwacvm.js} +36 -36
  217. package/dist/chunks/{persistent-pty-bf6dt9pk.js → config-r43g2czz.js} +12 -12
  218. package/dist/chunks/{persistent-pty-stesey4a.js → config-rj8xn73b.js} +4 -4
  219. package/dist/chunks/{persistent-pty-c6j5rb3b.js → config-rmmx4qnr.js} +4 -4
  220. package/dist/chunks/{persistent-pty-9vqpghck.js → config-rncrryjg.js} +26 -26
  221. package/dist/chunks/{persistent-pty-bkxbsem7.js → config-rp8qt6s9.js} +21 -21
  222. package/dist/chunks/{persistent-pty-r3meafyq.js → config-rpqwx9z1.js} +15 -15
  223. package/dist/chunks/{persistent-pty-vqyjqhb3.js → config-s1x6275h.js} +13 -13
  224. package/dist/chunks/{persistent-pty-s4enseaf.js → config-s4enseaf.js} +2 -2
  225. package/dist/chunks/{persistent-pty-3zc5jvmt.js → config-s9mkjwxj.js} +23 -23
  226. package/dist/chunks/{persistent-pty-qv60t1mv.js → config-smssq42f.js} +9 -9
  227. package/dist/chunks/{persistent-pty-emyaygjm.js → config-snx4kq1r.js} +54 -54
  228. package/dist/chunks/{persistent-pty-9t9a8468.js → config-t9j7pbck.js} +27 -27
  229. package/dist/chunks/{persistent-pty-s51v67se.js → config-tayccbp0.js} +5 -5
  230. package/dist/chunks/{persistent-pty-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{persistent-pty-0c8kwbsp.js → config-tcerhjb9.js} +18 -18
  232. package/dist/chunks/{persistent-pty-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{persistent-pty-tdstcens.js → config-tdstcens.js} +1 -1
  234. package/dist/chunks/{persistent-pty-fgcgd4rw.js → config-tewgewgq.js} +13 -13
  235. package/dist/chunks/{persistent-pty-tc9rqwe8.js → config-tgysfc69.js} +9 -9
  236. package/dist/chunks/{persistent-pty-gv6a8nnw.js → config-th5km1p3.js} +5 -5
  237. package/dist/chunks/{persistent-pty-tvtrv512.js → config-tvtrv512.js} +1 -1
  238. package/dist/chunks/{persistent-pty-87rksg4x.js → config-v5dm1t52.js} +18 -18
  239. package/dist/chunks/{persistent-pty-485fr60v.js → config-v84z85pp.js} +8 -8
  240. package/dist/chunks/{persistent-pty-ynnp4yam.js → config-va1yysyv.js} +11 -11
  241. package/dist/chunks/{persistent-pty-3j8sdtpz.js → config-ve4pfa0n.js} +4 -4
  242. package/dist/chunks/{persistent-pty-b99w0g26.js → config-ve6nm2s5.js} +6 -6
  243. package/dist/chunks/{persistent-pty-veqvce7d.js → config-veqvce7d.js} +1 -1
  244. package/dist/chunks/{persistent-pty-21thbrk0.js → config-vh7c63t2.js} +25 -25
  245. package/dist/chunks/{persistent-pty-6tt5evqq.js → config-vkxpz7g2.js} +4 -4
  246. package/dist/chunks/{persistent-pty-xsgnaeym.js → config-vts1skcq.js} +17 -17
  247. package/dist/chunks/{persistent-pty-612qpymn.js → config-vyt5132f.js} +15 -15
  248. package/dist/chunks/{persistent-pty-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{persistent-pty-s1htzk4a.js → config-w097dxjk.js} +26 -26
  250. package/dist/chunks/{persistent-pty-k8g3dj73.js → config-w2t9q7d6.js} +28 -28
  251. package/dist/chunks/{persistent-pty-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{persistent-pty-k0nnq3t9.js → config-w6zk8pbt.js} +6 -6
  253. package/dist/chunks/{persistent-pty-wd87259q.js → config-wd87259q.js} +1 -1
  254. package/dist/chunks/{persistent-pty-jbp58yvw.js → config-wn0rwpc4.js} +8 -8
  255. package/dist/chunks/{persistent-pty-m7vxemcg.js → config-x07swckw.js} +11 -11
  256. package/dist/chunks/{persistent-pty-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{persistent-pty-x43y2vfs.js → config-x43y2vfs.js} +2 -2
  258. package/dist/chunks/{persistent-pty-gpw9mxzt.js → config-x5m8r6tq.js} +34 -34
  259. package/dist/chunks/{persistent-pty-zepncfka.js → config-xdk9p2qn.js} +4 -4
  260. package/dist/chunks/{persistent-pty-zw5b53zw.js → config-xj97y6sx.js} +43 -43
  261. package/dist/chunks/{persistent-pty-g22feqm7.js → config-xwr11g7g.js} +9 -9
  262. package/dist/chunks/{persistent-pty-9yqcsx6m.js → config-xx23fqgj.js} +20 -20
  263. package/dist/chunks/{persistent-pty-7vhhzrrm.js → config-xy3hb6gv.js} +6 -6
  264. package/dist/chunks/{persistent-pty-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{persistent-pty-0e44rvxq.js → config-y4xy21re.js} +12 -12
  266. package/dist/chunks/{persistent-pty-2j1x0myt.js → config-y5qhjknn.js} +7 -7
  267. package/dist/chunks/{persistent-pty-dpkg50ah.js → config-y71avatq.js} +4 -4
  268. package/dist/chunks/{persistent-pty-t7fdnyc8.js → config-y733bjqp.js} +20 -20
  269. package/dist/chunks/{persistent-pty-yddgxcp4.js → config-yddgxcp4.js} +2 -2
  270. package/dist/chunks/{persistent-pty-bhzctmd7.js → config-yhm50jqs.js} +16 -16
  271. package/dist/chunks/{persistent-pty-mqy9bkz8.js → config-yn68rwy1.js} +4 -4
  272. package/dist/chunks/{persistent-pty-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{persistent-pty-6j8myhdp.js → config-ytfft4zc.js} +4 -4
  274. package/dist/chunks/{persistent-pty-rs226bz6.js → config-yy11cnfq.js} +5 -5
  275. package/dist/chunks/{persistent-pty-1hxa6pzb.js → config-yzr0k2jx.js} +30 -30
  276. package/dist/chunks/{persistent-pty-5a5hve6r.js → config-yzvghwtp.js} +22 -22
  277. package/dist/chunks/{persistent-pty-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{persistent-pty-2hnfpkj9.js → config-z2e219bb.js} +24 -24
  279. package/dist/chunks/{persistent-pty-0cc4q6tf.js → config-zcrpa3mr.js} +7 -7
  280. package/dist/chunks/{persistent-pty-cxmh4q5b.js → config-zcrspsvn.js} +4 -4
  281. package/dist/chunks/{persistent-pty-bw0vgseb.js → config-ze5v0a14.js} +8 -8
  282. package/dist/chunks/{persistent-pty-j9jre7ys.js → config-zecem4fz.js} +174 -174
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → config-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-m18hwpd1.js → config-zkes3v37.js} +8 -8
  285. package/dist/chunks/{persistent-pty-0m5hy3yw.js → config-zpv3n05j.js} +33 -33
  286. package/dist/chunks/{persistent-pty-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{persistent-pty-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +79 -79
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  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 +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  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 +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +88 -88
  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 +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  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 +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +89 -89
  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 +353 -353
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +130 -130
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +95 -95
  468. package/dist/mcp/instructions.js +116 -116
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +108 -108
  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 +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  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/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -216
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +113 -113
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +116 -116
  632. package/dist/tool/plugin/grep.js +118 -118
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +117 -117
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  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 +5 -5
  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 +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/persistent-pty-9r5tkcxt.js +0 -247
  687. package/dist/chunks/persistent-pty-gqh9qxps.js +0 -462
  688. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  689. package/dist/chunks/persistent-pty-t9b0v4z9.js +0 -22
  690. /package/dist/chunks/{persistent-pty-0mesazry.js → config-0mesazry.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-2710q6r3.js → config-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-359p4xyc.js → config-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3asan66x.js → config-3asan66x.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-53557ph1.js → config-53557ph1.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-550bvhaj.js → config-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-6prwharc.js → config-6prwharc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-7m9af43g.js → config-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-822emrt2.js → config-822emrt2.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-8n3pysct.js → config-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-922hggd3.js → config-922hggd3.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-af5trqkr.js → config-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-afrmfg78.js → config-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-d9fn303g.js → config-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-dajrwvna.js → config-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-dap0rakb.js → config-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-df08tz66.js → config-df08tz66.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-dy18nga0.js → config-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-ec1grn59.js → config-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-faypxj3z.js → config-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-fd410y7t.js → config-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-g86h250q.js → config-g86h250q.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-gftt206x.js → config-gftt206x.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-hk9envan.js → config-hk9envan.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-j935v87r.js → config-j935v87r.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-mp448xyj.js → config-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-njntx4h6.js → config-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-q74kybfr.js → config-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-twg0f83k.js → config-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-w803qqfp.js → config-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-wtztk69x.js → config-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-x61499pn.js → config-x61499pn.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y44na4kk.js → config-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ym463w8f.js → config-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-kg06axw8.js";
3
+ } from "./config-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service8,
13
- node: () => node11
12
+ Service: () => Service10,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service8, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service8.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node11 = makeLocationNode({ service: Service8, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service8, node11, exports_location_watcher_policy };
53
+ export { Service10, node13, exports_location_watcher_policy };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./persistent-pty-stesey4a.js";
4
+ } from "./config-rj8xn73b.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./config-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event14,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID9,
20
- Info: () => Info13,
19
+ ID: () => ID17,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply2,
25
- Service: () => Service63,
23
+ NotFoundError: () => NotFoundError9,
24
+ Reply: () => Reply3,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer23,
29
- node: () => node68,
29
+ node: () => node80,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event14 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID9 = Form.ID;
39
- var Info13 = Form.Info;
38
+ var ID17 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID9
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID17
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID9
56
+ id: ID17
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: ID9
64
+ id: ID17
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: ID9,
72
+ id: ID17,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service63 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer23 = Layer.effect(Service63, Effect.gen(function* () {
84
+ var layer23 = Layer.effect(Service76, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID9.create();
92
+ const id = input.id ?? ID17.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service63, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service63.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service76.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node68 = makeLocationNode({ service: Service63, layer: layer23, deps: [node84] });
158
+ var node80 = makeLocationNode({ service: Service76, layer: layer23, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID9, Info13, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer23, node68, validateAnswer2, validateFields2, exports_form, Event14 };
310
+ export { ID17, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer23, node80, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-922hggd3.js";
4
+ } from "./config-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./persistent-pty-721tb84k.js";
7
+ } from "./config-grqp3cmb.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./persistent-pty-1ybn2y83.js";
3
+ } from "./config-74c01z77.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./persistent-pty-twg0f83k.js";
6
+ } from "./config-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./persistent-pty-y8cydn3q.js";
3
+ } from "./config-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./persistent-pty-h322wpay.js";
3
+ } from "./config-bgdg82ee.js";
4
4
  import {
5
5
  Service79
6
- } from "./persistent-pty-stesey4a.js";
6
+ } from "./config-rj8xn73b.js";
7
7
  import {
8
- Service33
9
- } from "./persistent-pty-b99w0g26.js";
8
+ Service43
9
+ } from "./config-ve6nm2s5.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./persistent-pty-922hggd3.js";
12
+ } from "./config-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service46
16
- } from "./persistent-pty-g6986w1q.js";
14
+ ID5,
15
+ Service33
16
+ } from "./config-mb7tvf4x.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./persistent-pty-ec1grn59.js";
19
+ } from "./config-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./persistent-pty-gftt206x.js";
22
+ } from "./config-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./persistent-pty-1bvxxf6d.js";
25
+ } from "./config-fmr28pax.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./persistent-pty-a1bz86dw.js";
28
+ } from "./config-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./persistent-pty-9rqn6x4v.js";
31
+ } from "./config-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service33;
45
+ const instances = yield* Service43;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service46;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service33;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service33;
77
+ const instances = yield* Service43;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service46;
80
+ const snapshot = yield* Service33;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-kg06axw8.js";
3
+ } from "./config-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service36,
14
+ Service: () => Service74,
15
15
  SizeError: () => SizeError2,
16
- node: () => node39
16
+ node: () => node78
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service36 extends Context.Service()("@opencode/Image") {
45
+ class Service74 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service36, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service36.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service74.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node39 = makeLocationNode({ service: Service36, layer, deps: [] });
79
+ var node78 = makeLocationNode({ service: Service74, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service36, node39, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service74, node78, exports_image2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-tjfw1za4.js";
3
+ } from "./config-j2qn64gj.js";
4
4
  import {
5
5
  Service79
6
- } from "./persistent-pty-stesey4a.js";
6
+ } from "./config-rj8xn73b.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./persistent-pty-2vgrpkws.js";
10
+ } from "./config-7dab4f7d.js";
11
11
  import {
12
- ID7,
12
+ ID16,
13
13
  MethodID2
14
- } from "./persistent-pty-smj81yy7.js";
14
+ } from "./config-5cphae0w.js";
15
15
  import {
16
- ID16,
16
+ ID13,
17
17
  isAISDK2,
18
18
  packageName2,
19
19
  mergeOverlay2
20
- } from "./persistent-pty-84tssp1s.js";
20
+ } from "./config-k1dcmph1.js";
21
21
  import {
22
22
  iife2
23
- } from "./persistent-pty-1kg9ymc8.js";
23
+ } from "./config-1kg9ymc8.js";
24
24
  import {
25
25
  which2
26
- } from "./persistent-pty-qaymkmh1.js";
26
+ } from "./config-qaymkmh1.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./persistent-pty-0cc4q6tf.js";
29
+ } from "./config-zcrpa3mr.js";
30
30
 
31
31
  // src/plugin/provider/azure.ts
32
32
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
57
57
  var AzurePlugin2 = define({
58
58
  id: "opencode.provider.azure",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID16.azure);
60
+ const configured = yield* configuredSettings2(ID13.azure);
61
61
  const processes = yield* AppProcess.Service;
62
62
  const bus = yield* Service79;
63
63
  const tokens = new Map;
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
93
93
  });
94
94
  yield* ctx.integration.transform((editor) => {
95
95
  editor.method.update({
96
- integrationID: ID16.azure,
96
+ integrationID: ID13.azure,
97
97
  method: { type: "key", label: "API key", form: form() }
98
98
  });
99
99
  if (!available)
100
100
  return;
101
101
  editor.method.update({
102
- integrationID: ID16.azure,
102
+ integrationID: ID13.azure,
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  });
132
132
  });
133
133
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID16.azure);
134
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
135
135
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
136
  return;
137
137
  })) : undefined;
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
145
145
  yield* load();
146
146
  yield* ctx.catalog.transform((evt) => {
147
147
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
148
+ if (item.provider.id !== ID13.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
149
  continue;
150
150
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
151
  if (resourceName)
@@ -169,11 +169,11 @@ var AzurePlugin2 = define({
169
169
  }
170
170
  });
171
171
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
172
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
172
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
173
173
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
174
- if (evt.model.providerID !== ID16.azure)
174
+ if (evt.model.providerID !== ID13.azure)
175
175
  return;
176
- const connection = yield* ctx.integration.connection.active(ID16.azure);
176
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
177
177
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
178
178
  return;
179
179
  })) : undefined;
@@ -186,11 +186,11 @@ var AzurePlugin2 = define({
186
186
  evt.request.headers.delete("x-api-key");
187
187
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
188
188
  evt.request.headers.set("user-agent", useragent2(ctx.app));
189
- }), { providerID: ID16.azure });
189
+ }), { providerID: ID13.azure });
190
190
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
191
191
  if (evt.package !== "@ai-sdk/azure")
192
192
  return;
193
- if (evt.model.providerID === ID16.azure) {
193
+ if (evt.model.providerID === ID13.azure) {
194
194
  if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
195
195
  throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
196
196
  }
@@ -199,7 +199,7 @@ var AzurePlugin2 = define({
199
199
  evt.sdk = mod.createAzure(evt.options);
200
200
  }));
201
201
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
202
- if (evt.model.providerID !== ID16.azure)
202
+ if (evt.model.providerID !== ID13.azure)
203
203
  return;
204
204
  evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
205
205
  }));
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-tjfw1za4.js";
3
+ } from "./config-j2qn64gj.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./persistent-pty-2vgrpkws.js";
6
+ Service77
7
+ } from "./config-7dab4f7d.js";
8
8
  import {
9
- ID7,
9
+ ID16,
10
10
  MethodID2
11
- } from "./persistent-pty-smj81yy7.js";
11
+ } from "./config-5cphae0w.js";
12
12
  import {
13
- ID16
14
- } from "./persistent-pty-84tssp1s.js";
13
+ ID13
14
+ } from "./config-k1dcmph1.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID16.make("xai");
26
+ var providerID = ID13.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID7.make("xai"),
46
+ integrationID: ID16.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service74;
72
- yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
71
+ const credentials = yield* Service77;
72
+ yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./persistent-pty-ym463w8f.js";
3
+ } from "./config-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./persistent-pty-xsgnaeym.js";
5
+ Service69
6
+ } from "./config-vts1skcq.js";
7
7
  import {
8
- Service64
9
- } from "./persistent-pty-87rksg4x.js";
8
+ Service15
9
+ } from "./config-v5dm1t52.js";
10
10
  import {
11
- Service11
12
- } from "./persistent-pty-9njfg5h4.js";
11
+ Service8
12
+ } from "./config-1nawpdar.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./persistent-pty-2a5m3afh.js";
15
+ } from "./config-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,20 +23,20 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./persistent-pty-qshadkbd.js";
26
+ Service6
27
+ } from "./config-9af4hgzp.js";
28
28
  import {
29
29
  __export
30
- } from "./persistent-pty-9rqn6x4v.js";
30
+ } from "./config-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
35
  Input: () => Input3,
36
- Plugin: () => Plugin4,
36
+ Plugin: () => Plugin16,
37
37
  ReadTool: () => exports_read,
38
38
  name: () => name3,
39
- toModelContent: () => toModelContent3
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
55
55
  });
56
56
  var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin4 = {
58
+ var Plugin16 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service64;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service15;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service69;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
67
  name: name3,
68
68
  options: { codemode: false },
@@ -112,7 +112,7 @@ var Plugin4 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name3, Input3, Plugin4, toModelContent3, exports_read };
183
+ export { name3, Input3, Plugin16, toModelContent2, exports_read };