@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./persistent-pty-h322wpay.js";
7
+ } from "./config-bgdg82ee.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./persistent-pty-stesey4a.js";
11
+ } from "./config-rj8xn73b.js";
12
12
  import {
13
- Service78,
14
- node83
15
- } from "./persistent-pty-kt5w8vxh.js";
13
+ Service71,
14
+ node75
15
+ } from "./config-mkh51v61.js";
16
16
  import {
17
- ID18,
17
+ ID15,
18
18
  Current3,
19
- Info33,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event16,
22
22
  Vcs3
23
- } from "./persistent-pty-81swgkk7.js";
23
+ } from "./config-byp1chnz.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./persistent-pty-8p4f9s12.js";
27
+ } from "./config-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./persistent-pty-cfpkc3c9.js";
30
+ } from "./config-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./config-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info32,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID14,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError8,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service70,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node74,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID14 = ID15;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError8 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID14
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service70 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service71;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event20.Updated, fromRow(row));
110
+ yield* bus.publish(Event16.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID17.global,
147
+ previous: project.previous ?? ID14.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError10({ projectID: input.projectID });
170
+ return yield* new NotFoundError8({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event20.Updated, project);
172
+ yield* bus.publish(Event16.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID14.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID17.make(root) : undefined;
212
+ return root ? ID14.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID17.make(node) : undefined;
228
+ return node ? ID14.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID17.global,
237
+ id: id ?? ID14.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID17.global,
254
+ id: id ?? ID14.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID17.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID14.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service70.of({ list, update, resolve });
275
275
  }));
276
- var node82 = makeGlobalNode({
277
- service: Service77,
276
+ var node74 = makeGlobalNode({
277
+ service: Service70,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
+ deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
282
+ export { ID14, Vcs2, Current2, Info28, UpdateInput3, NotFoundError8, root2, Service70, node74, exports_project };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./persistent-pty-stesey4a.js";
4
+ } from "./config-rj8xn73b.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./persistent-pty-xsgnaeym.js";
6
+ Service69,
7
+ node73
8
+ } from "./config-vts1skcq.js";
9
9
  import {
10
- Service59,
11
- node63
12
- } from "./persistent-pty-aavsyw27.js";
10
+ Service63,
11
+ node66
12
+ } from "./config-6xw6hfxy.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./persistent-pty-gd4qta3r.js";
15
+ } from "./config-gd4qta3r.js";
16
16
  import {
17
- Service62,
17
+ Service54,
18
18
  args2,
19
- node67
20
- } from "./persistent-pty-grfax6bg.js";
19
+ node57
20
+ } from "./config-8q7vzyvq.js";
21
21
  import {
22
- Service68,
23
- node73
24
- } from "./persistent-pty-bby00dsd.js";
22
+ Service73,
23
+ node77
24
+ } from "./config-121k57vw.js";
25
25
  import {
26
- Service40,
27
- node44
28
- } from "./persistent-pty-0h54jqbs.js";
26
+ Service35,
27
+ node39
28
+ } from "./config-3cwb9jzf.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./persistent-pty-721tb84k.js";
31
+ } from "./config-grqp3cmb.js";
32
32
  import {
33
33
  latest2,
34
- Service70,
35
- node75
36
- } from "./persistent-pty-p9e7n5cp.js";
34
+ Service65,
35
+ node69
36
+ } from "./config-7z8hcgfe.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./persistent-pty-s76nk363.js";
40
+ } from "./config-q6jxhr7p.js";
41
41
  import {
42
42
  __export
43
- } from "./persistent-pty-9rqn6x4v.js";
43
+ } from "./config-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service39,
51
+ Service: () => Service34,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node38
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service39 extends Context.Service()("@opencode/Shell") {
73
+ class Service34 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service39, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service76;
91
+ const location = yield* Service69;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service62;
94
- const environment = yield* Service59;
95
- const hooks = yield* Service68;
96
- const environments = yield* Service40;
97
- const config = yield* Service70;
93
+ const shell = yield* Service54;
94
+ const environment = yield* Service63;
95
+ const hooks = yield* Service73;
96
+ const environments = yield* Service35;
97
+ const config = yield* Service65;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError5({ id });
118
+ return yield* new NotFoundError4({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service39.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service34.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node43 = makeLocationNode({
320
- service: Service39,
319
+ var node38 = makeLocationNode({
320
+ service: Service34,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node81,
325
- Global.node,
326
- node67,
327
- node63,
328
324
  node73,
329
- node44,
330
- node75,
325
+ Global.node,
326
+ node57,
327
+ node66,
328
+ node77,
329
+ node39,
330
+ node69,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service39, cleanup2, node43, exports_shell4 };
335
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service34, cleanup2, node38, exports_shell4 };
@@ -1,56 +1,56 @@
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
  Event19,
7
- Service74,
8
- node79
9
- } from "./persistent-pty-2vgrpkws.js";
7
+ Service77,
8
+ node81
9
+ } from "./config-7dab4f7d.js";
10
10
  import {
11
- Service71,
12
- node76
13
- } from "./persistent-pty-zbr6jhfd.js";
11
+ Service66,
12
+ node70
13
+ } from "./config-jnykdmk9.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./persistent-pty-922hggd3.js";
16
+ } from "./config-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node81
20
- } from "./persistent-pty-xsgnaeym.js";
18
+ Service69,
19
+ node73
20
+ } from "./config-vts1skcq.js";
21
21
  import {
22
22
  substitute2
23
- } from "./persistent-pty-s4enseaf.js";
23
+ } from "./config-s4enseaf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./persistent-pty-2hnfpkj9.js";
26
+ } from "./config-z2e219bb.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./persistent-pty-s51v67se.js";
30
+ } from "./config-tayccbp0.js";
31
31
  import {
32
32
  plan2
33
- } from "./persistent-pty-j56e64zr.js";
33
+ } from "./config-j56e64zr.js";
34
34
  import {
35
- Service72,
36
- Event18,
37
- node77
38
- } from "./persistent-pty-cgwhtan4.js";
35
+ Service67,
36
+ Event15,
37
+ node71
38
+ } from "./config-e43gp79w.js";
39
39
  import {
40
40
  __export
41
- } from "./persistent-pty-9rqn6x4v.js";
41
+ } from "./config-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options8,
48
- Service: () => Service70,
48
+ Service: () => Service65,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured9,
51
51
  latest: () => latest2,
52
- layer: () => layer24,
53
- node: () => node75,
52
+ layer: () => layer21,
53
+ node: () => node69,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -78,7 +78,7 @@ var Options8 = Schema.Struct({
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service70 extends Context.Service()("@opencode/Config") {
81
+ class Service65 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service70, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
96
96
  }));
97
- var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
97
+ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service76;
100
- const watcher = yield* Service71;
99
+ const location = yield* Service69;
100
+ const watcher = yield* Service66;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service74;
103
- const wellknown = yield* Service72;
102
+ const credentials = yield* Service77;
103
+ const wellknown = yield* Service67;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -224,7 +224,7 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service70.of({
238
+ return Service65.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured10(options) {
245
+ function configured9(options) {
246
246
  return makeLocationNode({
247
- service: Service70,
248
- layer: layer24(options),
249
- deps: [node76, node84, FSUtil.node, Global.node, node81, node79, node77]
247
+ service: Service65,
248
+ layer: layer21(options),
249
+ deps: [node70, node84, FSUtil.node, Global.node, node73, node81, node71]
250
250
  });
251
251
  }
252
- var node75 = configured10();
252
+ var node69 = configured9();
253
253
 
254
- export { latest2, Options8, Service70, Test2, testLayer2, layer24, configured10, node75, exports_config };
254
+ export { latest2, Options8, Service65, Test2, testLayer2, layer21, configured9, node69, exports_config };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./persistent-pty-stesey4a.js";
4
+ } from "./config-rj8xn73b.js";
5
5
  import {
6
- node76
7
- } from "./persistent-pty-zbr6jhfd.js";
6
+ node70
7
+ } from "./config-jnykdmk9.js";
8
8
  import {
9
- Service4,
10
- node7
11
- } from "./persistent-pty-atpcpkf0.js";
9
+ Service9,
10
+ node12
11
+ } from "./config-e8fqe44x.js";
12
12
  import {
13
- Service28
14
- } from "./persistent-pty-ht5y0zrb.js";
13
+ Service26
14
+ } from "./config-pf31ssb9.js";
15
15
  import {
16
- node17,
16
+ node21,
17
17
  ID3
18
- } from "./persistent-pty-xck95xk4.js";
18
+ } from "./config-7cgwyxtc.js";
19
19
  import {
20
- Service6,
21
- node9
22
- } from "./persistent-pty-7b15y959.js";
20
+ Service3,
21
+ node5
22
+ } from "./config-dv1qgsyq.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./persistent-pty-gqh9qxps.js";
26
+ } from "./config-j5b0wgyp.js";
27
27
  import {
28
- make4,
28
+ make6,
29
29
  LoadError2
30
- } from "./persistent-pty-fsxrvzy1.js";
30
+ } from "./config-4p9erpdr.js";
31
31
  import {
32
32
  Updated2,
33
- Service12,
34
- node15
35
- } from "./persistent-pty-kpgdrxya.js";
36
- import {
37
33
  Service5,
38
- node8
39
- } from "./persistent-pty-af4kcksd.js";
34
+ node7
35
+ } from "./config-mcjr5rma.js";
36
+ import {
37
+ Service4,
38
+ node6
39
+ } from "./config-0996nyz8.js";
40
40
  import {
41
41
  __export
42
- } from "./persistent-pty-9rqn6x4v.js";
42
+ } from "./config-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer4,
49
- node: () => node6
48
+ layer: () => layer3,
49
+ node: () => node4
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service28;
129
- const sdk = yield* Service12;
130
- const instance = yield* Service6;
131
- const sources = yield* Service4;
132
- const modules = yield* make4();
127
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service26;
129
+ const sdk = yield* Service5;
130
+ const instance = yield* Service3;
131
+ const sources = yield* Service9;
132
+ const modules = yield* make6();
133
133
  const bus = yield* Service79;
134
- const updates = yield* Service5;
134
+ const updates = yield* Service4;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node17,
210
- node15,
211
- node9,
209
+ node21,
212
210
  node7,
213
- node8,
211
+ node5,
212
+ node12,
213
+ node6,
214
214
  node84,
215
215
  Npm.node,
216
- node76,
216
+ node70,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
225
 
226
- export { layer4, node6, exports_supervisor };
226
+ export { layer3, node4, exports_supervisor };