@opencode/core 0.0.0-dev-55 → 0.0.0-dev-56

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 (825) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{repository-cache-034tev2y.js → rpc-034tev2y.js} +2 -2
  8. package/dist/chunks/{repository-cache-yz9rz98a.js → rpc-06ezgrzy.js} +6 -6
  9. package/dist/chunks/{repository-cache-3ryz99p0.js → rpc-0ahs07zn.js} +4 -4
  10. package/dist/chunks/{repository-cache-efqx7wb7.js → rpc-0c526ams.js} +16 -16
  11. package/dist/chunks/{repository-cache-126c3fvz.js → rpc-0rq8521k.js} +4 -4
  12. package/dist/chunks/{repository-cache-g4y5gz37.js → rpc-0vawvjhj.js} +6 -6
  13. package/dist/chunks/{repository-cache-dqpjcdfr.js → rpc-0vp9s6f9.js} +9 -9
  14. package/dist/chunks/{repository-cache-gh11ee6b.js → rpc-0whhes9s.js} +15 -15
  15. package/dist/chunks/{repository-cache-x6d4sgx3.js → rpc-11r0hn6h.js} +11 -11
  16. package/dist/chunks/{repository-cache-0xaqh9kd.js → rpc-1cm167wn.js} +5 -5
  17. package/dist/chunks/{repository-cache-sytrbmxa.js → rpc-1cz5jnx3.js} +21 -21
  18. package/dist/chunks/{repository-cache-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{repository-cache-69zgfr7z.js → rpc-1fev81q9.js} +12 -12
  20. package/dist/chunks/{repository-cache-mc3192g6.js → rpc-1pr3bvqr.js} +54 -54
  21. package/dist/chunks/{repository-cache-e3p7per7.js → rpc-1w0v2jg6.js} +94 -94
  22. package/dist/chunks/{repository-cache-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{repository-cache-5zrxpy3q.js → rpc-1yq9hg58.js} +5 -5
  24. package/dist/chunks/{repository-cache-204s3925.js → rpc-204s3925.js} +1 -1
  25. package/dist/chunks/{repository-cache-1znhd7w1.js → rpc-20pewr79.js} +40 -40
  26. package/dist/chunks/{repository-cache-thyeeq05.js → rpc-21sjz75x.js} +3 -3
  27. package/dist/chunks/{repository-cache-snb89k4v.js → rpc-24b1822y.js} +37 -37
  28. package/dist/chunks/{repository-cache-j7407a90.js → rpc-24f1v18m.js} +15 -15
  29. package/dist/chunks/{repository-cache-dwy6z8dc.js → rpc-27mf012m.js} +24 -24
  30. package/dist/chunks/{repository-cache-744d0c63.js → rpc-2dyqtkwr.js} +5 -5
  31. package/dist/chunks/rpc-2fww1xq6.js +257 -0
  32. package/dist/chunks/{repository-cache-0tgb71k0.js → rpc-2zq6pbnf.js} +38 -38
  33. package/dist/chunks/{repository-cache-gybe5gkg.js → rpc-33fc7s0m.js} +25 -25
  34. package/dist/chunks/{repository-cache-fhsk438g.js → rpc-33kcjwwy.js} +10 -10
  35. package/dist/chunks/{repository-cache-1p9mjqrz.js → rpc-37fv4m6h.js} +19 -19
  36. package/dist/chunks/{repository-cache-5btzaxpa.js → rpc-3dcwdj6v.js} +19 -19
  37. package/dist/chunks/{repository-cache-grfmaxtg.js → rpc-3gda39my.js} +48 -48
  38. package/dist/chunks/{repository-cache-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{repository-cache-haf3v3hy.js → rpc-3j1m3tq4.js} +5 -5
  40. package/dist/chunks/{repository-cache-sgrnxxty.js → rpc-3jakq1d6.js} +19 -19
  41. package/dist/chunks/{repository-cache-6zz3v10r.js → rpc-3kq4a6sg.js} +15 -15
  42. package/dist/chunks/{repository-cache-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{repository-cache-h255y8je.js → rpc-3t8h1e95.js} +35 -35
  44. package/dist/chunks/{repository-cache-vtsyfctf.js → rpc-40d4xgsq.js} +25 -25
  45. package/dist/chunks/{repository-cache-w2eysc6j.js → rpc-40za9wsf.js} +9 -9
  46. package/dist/chunks/{repository-cache-vdatw69e.js → rpc-45c1pec7.js} +21 -21
  47. package/dist/chunks/{repository-cache-ywqn3jdz.js → rpc-48d8ae9z.js} +8 -8
  48. package/dist/chunks/{repository-cache-1cdppm47.js → rpc-49q52fh6.js} +33 -33
  49. package/dist/chunks/{repository-cache-93ab2gax.js → rpc-4cp64nen.js} +20 -20
  50. package/dist/chunks/{repository-cache-asrq7j76.js → rpc-4d2pgjbv.js} +20 -20
  51. package/dist/chunks/{repository-cache-js6kqssh.js → rpc-4d6ha9s6.js} +5 -5
  52. package/dist/chunks/{repository-cache-ze8w1qcn.js → rpc-4dp2wx2w.js} +64 -64
  53. package/dist/chunks/{repository-cache-dkqkergf.js → rpc-4fd5ta9m.js} +2 -2
  54. package/dist/chunks/{repository-cache-grnvj370.js → rpc-4m1g0ceg.js} +22 -22
  55. package/dist/chunks/{repository-cache-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{repository-cache-4v008n1t.js → rpc-4v008n1t.js} +1 -1
  57. package/dist/chunks/{repository-cache-g3hvekgd.js → rpc-52f5rtfj.js} +18 -18
  58. package/dist/chunks/{repository-cache-bx992dmv.js → rpc-5456a48y.js} +9 -9
  59. package/dist/chunks/{repository-cache-f2hv8cv8.js → rpc-55pbqef1.js} +11 -11
  60. package/dist/chunks/{repository-cache-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{repository-cache-60ge4sjk.js → rpc-5t0ssftj.js} +20 -20
  62. package/dist/chunks/{repository-cache-mptjpcxy.js → rpc-5tsxr0ws.js} +14 -14
  63. package/dist/chunks/{repository-cache-scvnz3tv.js → rpc-65dm05df.js} +45 -45
  64. package/dist/chunks/{repository-cache-pankmnx0.js → rpc-67nysykx.js} +15 -15
  65. package/dist/chunks/{repository-cache-fsd04637.js → rpc-68a4b1nr.js} +9 -9
  66. package/dist/chunks/{repository-cache-b4e3zc8a.js → rpc-6dfsbm8p.js} +40 -40
  67. package/dist/chunks/{repository-cache-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{repository-cache-0h58xf1g.js → rpc-6g6p8k27.js} +34 -34
  69. package/dist/chunks/{repository-cache-2jexvr2j.js → rpc-6m6bsj58.js} +27 -27
  70. package/dist/chunks/{repository-cache-06pe9pmm.js → rpc-6sbpw0e5.js} +25 -25
  71. package/dist/chunks/{repository-cache-jb6rb1an.js → rpc-6v5hcgfq.js} +15 -15
  72. package/dist/chunks/{repository-cache-sh0q5wym.js → rpc-6xsxm8kw.js} +35 -35
  73. package/dist/chunks/{repository-cache-6y263vp8.js → rpc-6y263vp8.js} +2 -2
  74. package/dist/chunks/{repository-cache-knt1f303.js → rpc-72tjyr14.js} +15 -15
  75. package/dist/chunks/{repository-cache-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{repository-cache-atw8c7pr.js → rpc-7h2t6vc0.js} +6 -6
  77. package/dist/chunks/{repository-cache-75v6tc0m.js → rpc-7ktfwhzn.js} +19 -19
  78. package/dist/chunks/{repository-cache-2cwns7qk.js → rpc-7m6jdvvc.js} +21 -21
  79. package/dist/chunks/{repository-cache-3z0hxnyk.js → rpc-7nwq7d8b.js} +5 -5
  80. package/dist/chunks/{repository-cache-efz9xtfj.js → rpc-7pasvbr1.js} +23 -23
  81. package/dist/chunks/{repository-cache-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{repository-cache-401hbwyh.js → rpc-7zxwgkwf.js} +5 -5
  83. package/dist/chunks/{repository-cache-j6gvah3y.js → rpc-85wke8th.js} +30 -30
  84. package/dist/chunks/{repository-cache-rx5gvnt1.js → rpc-883j7vh5.js} +28 -28
  85. package/dist/chunks/{repository-cache-vqxcyac6.js → rpc-88pmpatn.js} +11 -11
  86. package/dist/chunks/{repository-cache-fdfvc1dg.js → rpc-8en22g3v.js} +24 -24
  87. package/dist/chunks/{repository-cache-csyeyjrf.js → rpc-8fdswnnk.js} +9 -9
  88. package/dist/chunks/{repository-cache-4btp19b3.js → rpc-8k1232g8.js} +14 -14
  89. package/dist/chunks/{repository-cache-0711fn9k.js → rpc-8rgpj3v9.js} +29 -29
  90. package/dist/chunks/{repository-cache-6z1320sj.js → rpc-8v13ctkh.js} +30 -30
  91. package/dist/chunks/{repository-cache-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{repository-cache-90zstvax.js → rpc-90zstvax.js} +1 -1
  93. package/dist/chunks/{repository-cache-taveqshq.js → rpc-919vdwc6.js} +14 -14
  94. package/dist/chunks/{repository-cache-6fjx9w38.js → rpc-94dw899a.js} +18 -18
  95. package/dist/chunks/{repository-cache-8nzygxt8.js → rpc-9aaqd4cr.js} +51 -51
  96. package/dist/chunks/{repository-cache-9cx9sm2q.js → rpc-9cx9sm2q.js} +1 -1
  97. package/dist/chunks/{repository-cache-jmzf3sak.js → rpc-9d3qqyt3.js} +33 -33
  98. package/dist/chunks/{repository-cache-gf4hftfj.js → rpc-9ej9d65q.js} +10 -10
  99. package/dist/chunks/{repository-cache-9q8g9sv8.js → rpc-9q8g9sv8.js} +1 -1
  100. package/dist/chunks/{repository-cache-p1vte9h6.js → rpc-9v9sw9y8.js} +11 -11
  101. package/dist/chunks/{repository-cache-zwenfqkq.js → rpc-9vv0e3hr.js} +7 -7
  102. package/dist/chunks/{repository-cache-69gwv1xx.js → rpc-9wzjb77v.js} +5 -5
  103. package/dist/chunks/{repository-cache-22nm8aah.js → rpc-a7mz7h33.js} +44 -44
  104. package/dist/chunks/{repository-cache-rpkzka4k.js → rpc-ag2aa0c3.js} +13 -13
  105. package/dist/chunks/{repository-cache-pfy2m4ca.js → rpc-akbz7b6h.js} +5 -5
  106. package/dist/chunks/{repository-cache-9ryshn0f.js → rpc-aqre7xn4.js} +29 -29
  107. package/dist/chunks/{repository-cache-2nn7s44w.js → rpc-atqtx36x.js} +34 -34
  108. package/dist/chunks/{repository-cache-368y3b8n.js → rpc-avmkrmj1.js} +19 -19
  109. package/dist/chunks/{repository-cache-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{repository-cache-8mtpnz0v.js → rpc-ayzcn7ry.js} +27 -27
  111. package/dist/chunks/{repository-cache-b6vsg801.js → rpc-b6vsg801.js} +2 -2
  112. package/dist/chunks/{repository-cache-61ennm6n.js → rpc-bjhzkqyk.js} +4 -4
  113. package/dist/chunks/{repository-cache-s6re1h3h.js → rpc-brp6nb8b.js} +36 -36
  114. package/dist/chunks/{repository-cache-c7w77bqn.js → rpc-bsfsn1q2.js} +14 -14
  115. package/dist/chunks/{repository-cache-bstexjd6.js → rpc-bstexjd6.js} +1 -1
  116. package/dist/chunks/{repository-cache-2r71v196.js → rpc-bvqmrn1m.js} +14 -14
  117. package/dist/chunks/{repository-cache-stwk20ed.js → rpc-c49xtfdh.js} +8 -8
  118. package/dist/chunks/{repository-cache-q9eywg3w.js → rpc-cedkk2hn.js} +27 -27
  119. package/dist/chunks/rpc-crdv5ver.js +517 -0
  120. package/dist/chunks/{repository-cache-x4gc5gbk.js → rpc-crhn495q.js} +9 -9
  121. package/dist/chunks/{repository-cache-yc79q165.js → rpc-cttyfbh0.js} +14 -14
  122. package/dist/chunks/{repository-cache-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
  123. package/dist/chunks/{repository-cache-9111wyrc.js → rpc-cyj2kt6c.js} +6 -6
  124. package/dist/chunks/{repository-cache-bwjvbmsb.js → rpc-d081q3rt.js} +87 -87
  125. package/dist/chunks/{repository-cache-ssfehs1z.js → rpc-d2887f8n.js} +4 -4
  126. package/dist/chunks/{repository-cache-sgrvbqkr.js → rpc-d3a27jat.js} +20 -20
  127. package/dist/chunks/{repository-cache-qkxp7296.js → rpc-d495y938.js} +1 -1
  128. package/dist/chunks/{repository-cache-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
  129. package/dist/chunks/{repository-cache-q5h6r7rp.js → rpc-d9vrgche.js} +27 -27
  130. package/dist/chunks/{repository-cache-djjzzs3c.js → rpc-djjzzs3c.js} +3 -3
  131. package/dist/chunks/{repository-cache-2c4q4gd1.js → rpc-drerwy6v.js} +6 -6
  132. package/dist/chunks/{repository-cache-mj0wev1x.js → rpc-drvbhkez.js} +4 -4
  133. package/dist/chunks/{repository-cache-dt77769w.js → rpc-dt77769w.js} +1 -1
  134. package/dist/chunks/{repository-cache-yfkhsjsm.js → rpc-dtbhyemk.js} +6 -6
  135. package/dist/chunks/{repository-cache-x4etgdbd.js → rpc-dv6qm9br.js} +27 -27
  136. package/dist/chunks/{repository-cache-e07q2w5p.js → rpc-e07q2w5p.js} +1 -1
  137. package/dist/chunks/{repository-cache-e834z07m.js → rpc-e834z07m.js} +1 -1
  138. package/dist/chunks/{repository-cache-ws0jw39t.js → rpc-emfgrb33.js} +27 -27
  139. package/dist/chunks/{repository-cache-a0tqv4gf.js → rpc-enhdjx8m.js} +17 -17
  140. package/dist/chunks/{repository-cache-cyty15yb.js → rpc-ey18rynk.js} +28 -28
  141. package/dist/chunks/{repository-cache-x00hvv89.js → rpc-f1jvjr49.js} +3 -3
  142. package/dist/chunks/{repository-cache-r6whtadg.js → rpc-f4tcs0jy.js} +23 -23
  143. package/dist/chunks/{repository-cache-76g7jkkw.js → rpc-fdaca9h8.js} +15 -15
  144. package/dist/chunks/{repository-cache-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{repository-cache-an749m78.js → rpc-ffj9xh6w.js} +1 -1
  146. package/dist/chunks/{repository-cache-prq7xxp2.js → rpc-fg9p65nk.js} +6 -6
  147. package/dist/chunks/{repository-cache-6ze967nv.js → rpc-fkvkceny.js} +58 -58
  148. package/dist/chunks/{repository-cache-hxvg6wb1.js → rpc-fpp6hpcz.js} +18 -18
  149. package/dist/chunks/{repository-cache-dg9hqg77.js → rpc-fxp3jdxe.js} +3 -3
  150. package/dist/chunks/{repository-cache-w687dnns.js → rpc-fznmdakp.js} +4 -4
  151. package/dist/chunks/{repository-cache-s0815yd1.js → rpc-g3vbb411.js} +32 -32
  152. package/dist/chunks/{repository-cache-98qrekfe.js → rpc-g5cwnqn4.js} +5 -5
  153. package/dist/chunks/{repository-cache-fwgp6qwj.js → rpc-g5f8x4xx.js} +2 -2
  154. package/dist/chunks/{repository-cache-kke9g1hb.js → rpc-g5n7re5f.js} +50 -50
  155. package/dist/chunks/{repository-cache-1860ddgg.js → rpc-g60qat9x.js} +25 -25
  156. package/dist/chunks/{repository-cache-jcqm84fr.js → rpc-gcjdgkn2.js} +9 -9
  157. package/dist/chunks/{repository-cache-gg8p9cgs.js → rpc-gg8p9cgs.js} +3 -3
  158. package/dist/chunks/{repository-cache-hgrfbex2.js → rpc-gnpspdhe.js} +9 -9
  159. package/dist/chunks/{repository-cache-0731t3tw.js → rpc-gs6z249h.js} +11 -11
  160. package/dist/chunks/{repository-cache-xt0z8zst.js → rpc-gtn9c16a.js} +4 -4
  161. package/dist/chunks/{repository-cache-cwcqs07e.js → rpc-h05nesbv.js} +33 -33
  162. package/dist/chunks/{repository-cache-hdfrs5mg.js → rpc-hdfrs5mg.js} +2 -2
  163. package/dist/chunks/{repository-cache-06w9ffrv.js → rpc-hfgk9wzg.js} +5 -5
  164. package/dist/chunks/{repository-cache-rqx7f7vj.js → rpc-hggwpgzd.js} +4 -4
  165. package/dist/chunks/{repository-cache-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
  166. package/dist/chunks/{repository-cache-wa8k00xj.js → rpc-hvvf9qw8.js} +6 -6
  167. package/dist/chunks/rpc-hzxj5g2m.js +26 -0
  168. package/dist/chunks/{repository-cache-0fe450at.js → rpc-j3crpzxq.js} +13 -13
  169. package/dist/chunks/{repository-cache-75g1xcwv.js → rpc-j8mbjqzd.js} +18 -18
  170. package/dist/chunks/{repository-cache-pk48tdmc.js → rpc-jag19rqs.js} +8 -8
  171. package/dist/chunks/{repository-cache-zaq8ky8h.js → rpc-je2wvarz.js} +11 -11
  172. package/dist/chunks/{repository-cache-jfaecv01.js → rpc-jfaecv01.js} +1 -1
  173. package/dist/chunks/{repository-cache-q9qc3bva.js → rpc-jpf9vwqw.js} +9 -9
  174. package/dist/chunks/{repository-cache-t0zgzgtb.js → rpc-jq6y1ase.js} +12 -12
  175. package/dist/chunks/{repository-cache-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
  176. package/dist/chunks/rpc-jztn5z23.js +18 -0
  177. package/dist/chunks/{repository-cache-wvk1wtsq.js → rpc-k5kj76dt.js} +11 -11
  178. package/dist/chunks/{repository-cache-k814nvkf.js → rpc-k814nvkf.js} +1 -1
  179. package/dist/chunks/{repository-cache-m29sxe67.js → rpc-kacyanm6.js} +19 -19
  180. package/dist/chunks/{repository-cache-1v5xq3rj.js → rpc-kc9nrs0j.js} +24 -24
  181. package/dist/chunks/{repository-cache-61t7fw61.js → rpc-kcdb1e28.js} +22 -22
  182. package/dist/chunks/{repository-cache-5mkx8w5e.js → rpc-kk9fztqn.js} +11 -11
  183. package/dist/chunks/{repository-cache-bec1vpmw.js → rpc-ksghqzra.js} +34 -34
  184. package/dist/chunks/{repository-cache-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
  185. package/dist/chunks/{repository-cache-q1s8j9ch.js → rpc-kv3397pn.js} +4 -4
  186. package/dist/chunks/{repository-cache-zgd8t41s.js → rpc-kwh42651.js} +9 -9
  187. package/dist/chunks/{repository-cache-ytc9yt2s.js → rpc-kzsyc12b.js} +9 -9
  188. package/dist/chunks/{repository-cache-ayj1td4f.js → rpc-m0beerck.js} +27 -27
  189. package/dist/chunks/{repository-cache-m1714858.js → rpc-m1714858.js} +1 -1
  190. package/dist/chunks/{repository-cache-me73n50h.js → rpc-m2zathk5.js} +11 -11
  191. package/dist/chunks/{repository-cache-epsjn5re.js → rpc-m5e8m7x2.js} +12 -12
  192. package/dist/chunks/{repository-cache-k2rhsbab.js → rpc-m9dmsm3n.js} +4 -4
  193. package/dist/chunks/{repository-cache-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{repository-cache-j0tgfc8g.js → rpc-mj1vn29f.js} +8 -8
  195. package/dist/chunks/{repository-cache-vb2nzj1m.js → rpc-mm8jtwth.js} +24 -24
  196. package/dist/chunks/{repository-cache-54cc93aa.js → rpc-mpm5mb5p.js} +39 -39
  197. package/dist/chunks/{repository-cache-adf3gjyn.js → rpc-mqf62vgd.js} +31 -31
  198. package/dist/chunks/{repository-cache-5bbnem9k.js → rpc-myx6e55h.js} +11 -11
  199. package/dist/chunks/{repository-cache-w81qrt50.js → rpc-n3f5ztfg.js} +9 -9
  200. package/dist/chunks/{repository-cache-6nw1th37.js → rpc-na8jz2jz.js} +4 -4
  201. package/dist/chunks/{repository-cache-770pw0s1.js → rpc-nah043kf.js} +4 -4
  202. package/dist/chunks/{repository-cache-gcgkk9nz.js → rpc-ncgr05pj.js} +23 -23
  203. package/dist/chunks/{repository-cache-pbbktnbz.js → rpc-nf3nsvxh.js} +4 -4
  204. package/dist/chunks/{repository-cache-4rdf7p1z.js → rpc-ngfv116b.js} +6 -6
  205. package/dist/chunks/{repository-cache-bwewbjz4.js → rpc-npb0m00r.js} +13 -13
  206. package/dist/chunks/{repository-cache-p015t6z3.js → rpc-p015t6z3.js} +2 -2
  207. package/dist/chunks/{repository-cache-h4ydejha.js → rpc-p2p83sy3.js} +13 -13
  208. package/dist/chunks/{repository-cache-p96sj727.js → rpc-pjvdrmby.js} +6 -6
  209. package/dist/chunks/{repository-cache-pknna89w.js → rpc-pknna89w.js} +1 -1
  210. package/dist/chunks/{repository-cache-zc9mtzb2.js → rpc-pms2m0st.js} +5 -5
  211. package/dist/chunks/{repository-cache-9tvpxs1q.js → rpc-pn41xxg3.js} +4 -4
  212. package/dist/chunks/{repository-cache-pnwsrq7c.js → rpc-pnwsrq7c.js} +3 -3
  213. package/dist/chunks/{repository-cache-bt05tr8e.js → rpc-pv5ds392.js} +5 -5
  214. package/dist/chunks/{repository-cache-fcq8h12c.js → rpc-pxrx0r0g.js} +32 -32
  215. package/dist/chunks/{repository-cache-0av67dp6.js → rpc-q08g37zc.js} +4 -4
  216. package/dist/chunks/{repository-cache-207ajt2h.js → rpc-q17z9dx8.js} +5 -5
  217. package/dist/chunks/{repository-cache-bb4x0tjg.js → rpc-q2mw85a4.js} +196 -196
  218. package/dist/chunks/{repository-cache-sjt6c43d.js → rpc-qedxx4df.js} +11 -11
  219. package/dist/chunks/{repository-cache-8t2j541k.js → rpc-qj76h0fc.js} +16 -16
  220. package/dist/chunks/{repository-cache-qkqjbc48.js → rpc-qkqjbc48.js} +1 -1
  221. package/dist/chunks/{repository-cache-xwmtk72n.js → rpc-qmj7wcqf.js} +8 -8
  222. package/dist/chunks/{repository-cache-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
  223. package/dist/chunks/{repository-cache-ts7mkfs9.js → rpc-qsee9sfb.js} +3 -3
  224. package/dist/chunks/{repository-cache-jgy2dcvd.js → rpc-qx5f0d2q.js} +46 -26
  225. package/dist/chunks/{repository-cache-j49x6kf4.js → rpc-qz087kyw.js} +8 -8
  226. package/dist/chunks/{repository-cache-rwct159c.js → rpc-r0rv0wyp.js} +11 -11
  227. package/dist/chunks/{repository-cache-r0yr0wbs.js → rpc-r0yr0wbs.js} +1 -1
  228. package/dist/chunks/{repository-cache-kk93czde.js → rpc-r3fd02n6.js} +16 -16
  229. package/dist/chunks/{repository-cache-b58rnyhw.js → rpc-r427bdzm.js} +22 -22
  230. package/dist/chunks/{repository-cache-r542h3bh.js → rpc-r542h3bh.js} +1 -1
  231. package/dist/chunks/{repository-cache-g2zgwj7s.js → rpc-r7pyyrd2.js} +19 -19
  232. package/dist/chunks/{repository-cache-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
  233. package/dist/chunks/{repository-cache-3w0ebqzc.js → rpc-rj5anvxz.js} +12 -12
  234. package/dist/chunks/{repository-cache-agrjqxtd.js → rpc-rmq8nx06.js} +35 -35
  235. package/dist/chunks/{repository-cache-m6ved7xn.js → rpc-rrxyghcz.js} +22 -22
  236. package/dist/chunks/{repository-cache-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{repository-cache-sa01r6br.js → rpc-s5vpcb73.js} +7 -7
  238. package/dist/chunks/{repository-cache-f1h45990.js → rpc-s7hqqt4z.js} +40 -40
  239. package/dist/chunks/{repository-cache-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{repository-cache-bxpjy74r.js → rpc-sdtp6k0d.js} +18 -18
  241. package/dist/chunks/{repository-cache-0kze6sgm.js → rpc-sedz7jsj.js} +29 -29
  242. package/dist/chunks/{repository-cache-havzekw2.js → rpc-sj12gjca.js} +4 -4
  243. package/dist/chunks/{repository-cache-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{repository-cache-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
  245. package/dist/chunks/{repository-cache-3t73xeyv.js → rpc-t5jqs5j7.js} +2 -2
  246. package/dist/chunks/{repository-cache-dh0xafzq.js → rpc-t7gq5xjm.js} +35 -35
  247. package/dist/chunks/{repository-cache-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{repository-cache-tg1vr1qt.js → rpc-tg1vr1qt.js} +1 -1
  249. package/dist/chunks/{repository-cache-76q453m6.js → rpc-th47pjd4.js} +25 -25
  250. package/dist/chunks/{repository-cache-pzbtwyx3.js → rpc-tjxwgd7m.js} +27 -27
  251. package/dist/chunks/{repository-cache-3hq0yj39.js → rpc-tv0gzqtp.js} +2 -2
  252. package/dist/chunks/{repository-cache-gj88ka9e.js → rpc-twcvacat.js} +14 -14
  253. package/dist/chunks/{repository-cache-twssxy5n.js → rpc-twssxy5n.js} +2 -2
  254. package/dist/chunks/{repository-cache-rp5k6d8n.js → rpc-twsxhs3f.js} +16 -16
  255. package/dist/chunks/{repository-cache-6xz7nqt8.js → rpc-twvtkg4y.js} +12 -12
  256. package/dist/chunks/{repository-cache-c1tffms3.js → rpc-txpcm6be.js} +50 -50
  257. package/dist/chunks/{repository-cache-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
  258. package/dist/chunks/{repository-cache-jzesebws.js → rpc-v5xd2mpf.js} +17 -17
  259. package/dist/chunks/{repository-cache-f4zya5pk.js → rpc-v83fq82d.js} +40 -40
  260. package/dist/chunks/{repository-cache-dys1grgm.js → rpc-v92b8r51.js} +14 -14
  261. package/dist/chunks/{repository-cache-4c9y6q6s.js → rpc-vb2mcp36.js} +9 -9
  262. package/dist/chunks/{repository-cache-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  263. package/dist/chunks/{repository-cache-a16f13fh.js → rpc-vnn3phs4.js} +25 -25
  264. package/dist/chunks/{repository-cache-v7wb1cp1.js → rpc-vsne3b7e.js} +18 -18
  265. package/dist/chunks/{repository-cache-0k1p4s69.js → rpc-vtjnzknn.js} +7 -7
  266. package/dist/chunks/{repository-cache-5vz29j2k.js → rpc-w1hkhdtf.js} +22 -22
  267. package/dist/chunks/{repository-cache-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{repository-cache-w8qtt4th.js → rpc-w8qtt4th.js} +1 -1
  269. package/dist/chunks/{repository-cache-c9xzbdd8.js → rpc-w8t2j0ev.js} +5 -5
  270. package/dist/chunks/{repository-cache-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
  271. package/dist/chunks/{repository-cache-wd87259q.js → rpc-wd87259q.js} +1 -1
  272. package/dist/chunks/{repository-cache-rz5tx8yt.js → rpc-whngmfrz.js} +21 -21
  273. package/dist/chunks/{repository-cache-mszzfg2j.js → rpc-whz9p1gq.js} +23 -23
  274. package/dist/chunks/{repository-cache-kqjqdw98.js → rpc-x356pzge.js} +48 -48
  275. package/dist/chunks/{repository-cache-k6c5bswj.js → rpc-x60fdxnj.js} +16 -16
  276. package/dist/chunks/{repository-cache-11hfp36g.js → rpc-x8nvjgx0.js} +4 -4
  277. package/dist/chunks/{repository-cache-txxjr4gv.js → rpc-xa9xwx2k.js} +31 -30
  278. package/dist/chunks/{repository-cache-nx0czgsy.js → rpc-xnf74d9j.js} +3 -3
  279. package/dist/chunks/{repository-cache-s3jtzn6y.js → rpc-xnnf989s.js} +30 -30
  280. package/dist/chunks/{repository-cache-w76xjer3.js → rpc-xpve62cf.js} +4 -4
  281. package/dist/chunks/{repository-cache-cbyw8mhh.js → rpc-xqhxnj8s.js} +13 -13
  282. package/dist/chunks/{repository-cache-83fkeet7.js → rpc-xxpmek4t.js} +9 -9
  283. package/dist/chunks/{repository-cache-twtxmczq.js → rpc-y3dxaa8f.js} +12 -12
  284. package/dist/chunks/{repository-cache-yara3q77.js → rpc-yara3q77.js} +2 -2
  285. package/dist/chunks/{repository-cache-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{repository-cache-jwhwbamd.js → rpc-yx939w10.js} +21 -21
  287. package/dist/chunks/{repository-cache-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{repository-cache-z38nccrw.js → rpc-z38nccrw.js} +1 -1
  289. package/dist/chunks/{repository-cache-evnead99.js → rpc-zbg53hjx.js} +9 -9
  290. package/dist/chunks/{repository-cache-46mxd6jt.js → rpc-zbmx9syz.js} +33 -33
  291. package/dist/chunks/{repository-cache-zgkm4kzm.js → rpc-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{repository-cache-jpj38ht1.js → rpc-zr1w76qe.js} +4 -4
  293. package/dist/chunks/{repository-cache-ajv3ghch.js → rpc-ztfp96c4.js} +32 -21
  294. package/dist/chunks/{repository-cache-4yq3azdc.js → rpc-zvgac7b0.js} +24 -24
  295. package/dist/chunks/{repository-cache-0mv4v5wj.js → rpc-zzqwmb9j.js} +26 -26
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +9 -9
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +89 -89
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +1 -1
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +123 -123
  306. package/dist/config/plugin/command.js +221 -221
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +132 -132
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +123 -123
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +3 -3
  321. package/dist/config/plugin/skill.js +143 -143
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +124 -124
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +122 -122
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +126 -126
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +95 -95
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +103 -103
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +3 -3
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +86 -86
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +234 -234
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +110 -110
  444. package/dist/form.js +88 -88
  445. package/dist/formatter/builtins.js +2 -2
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +113 -113
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +107 -107
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +88 -88
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +93 -93
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +79 -79
  482. package/dist/location-activity.js +166 -166
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +93 -93
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +113 -113
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +107 -107
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +108 -108
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +88 -88
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +145 -145
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +90 -90
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +82 -82
  511. package/dist/plugin/command.js +110 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +1 -1
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +121 -121
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +119 -119
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +108 -108
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +78 -78
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +360 -360
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +2 -2
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +6 -6
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +4 -4
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +232 -230
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +2 -2
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +92 -92
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +106 -106
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +98 -98
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +1 -1
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +103 -103
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +158 -158
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +231 -231
  607. package/dist/session/execution.js +154 -154
  608. package/dist/session/generate.js +188 -188
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +138 -138
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +3 -3
  631. package/dist/session/runner/step.js +152 -152
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +79 -79
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +4 -4
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +3 -3
  644. package/dist/session/title.js +190 -190
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +227 -227
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +225 -225
  649. package/dist/shell/parse.js +8 -8
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +13 -13
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +143 -143
  656. package/dist/skill.js +148 -148
  657. package/dist/snapshot.js +101 -101
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +165 -165
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +156 -156
  669. package/dist/tool/plugin/question.js +138 -138
  670. package/dist/tool/plugin/read.js +161 -161
  671. package/dist/tool/plugin/shell.js +224 -224
  672. package/dist/tool/plugin/skill.js +147 -147
  673. package/dist/tool/plugin/subagent.js +224 -224
  674. package/dist/tool/plugin/todo.js +145 -145
  675. package/dist/tool/plugin/webfetch.js +149 -149
  676. package/dist/tool/plugin/websearch.js +147 -147
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +14 -14
  682. package/dist/types/plugin/module.d.ts +10 -0
  683. package/dist/types/plugin/service.d.ts +12 -0
  684. package/dist/types/plugin.d.ts +1 -1
  685. package/dist/usage-limits.js +95 -95
  686. package/dist/util/error-summary.js +1 -1
  687. package/dist/util/git-executable.js +3 -3
  688. package/dist/util/lazy.js +1 -1
  689. package/dist/util/slug.js +1 -1
  690. package/dist/util/token.js +1 -1
  691. package/dist/util/which.js +1 -1
  692. package/dist/util/wildcard.js +1 -1
  693. package/dist/v1/config/agent.js +3 -3
  694. package/dist/v1/config/command.js +3 -3
  695. package/dist/v1/config/mcp.js +4 -4
  696. package/dist/v1/config/migrate.js +100 -100
  697. package/dist/v1/config/permission.js +1 -1
  698. package/dist/v1/config/plugin.js +3 -3
  699. package/dist/v1/config/provider-options.js +1 -1
  700. package/dist/v1/config/provider.js +2 -2
  701. package/dist/variant.js +101 -101
  702. package/dist/vcs/patch.js +1 -1
  703. package/dist/vcs.js +97 -97
  704. package/dist/voice.js +94 -94
  705. package/dist/websearch.js +90 -90
  706. package/dist/wellknown/plugin.js +80 -80
  707. package/dist/wellknown.js +87 -87
  708. package/dist/workspace/driver.js +5 -5
  709. package/dist/workspace/sql.js +1 -1
  710. package/dist/workspace.js +88 -88
  711. package/dist/worktree/directory.js +2 -2
  712. package/dist/worktree/git.js +11 -11
  713. package/dist/worktree/sql.js +5 -5
  714. package/dist/worktree/strategies.js +97 -97
  715. package/dist/worktree.js +108 -108
  716. package/package.json +8 -8
  717. package/dist/chunks/repository-cache-12h23m8g.js +0 -517
  718. package/dist/chunks/repository-cache-2a2m1jyz.js +0 -257
  719. package/dist/chunks/repository-cache-xx32eqvj.js +0 -26
  720. package/dist/chunks/repository-cache-z355x5yr.js +0 -18
  721. /package/dist/chunks/{repository-cache-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{repository-cache-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{repository-cache-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{repository-cache-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{repository-cache-1jakw16s.js → rpc-1jakw16s.js} +0 -0
  726. /package/dist/chunks/{repository-cache-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{repository-cache-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{repository-cache-2bv980vf.js → rpc-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{repository-cache-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{repository-cache-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{repository-cache-3asan66x.js → rpc-3asan66x.js} +0 -0
  732. /package/dist/chunks/{repository-cache-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{repository-cache-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{repository-cache-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{repository-cache-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{repository-cache-4m86bj6y.js → rpc-4m86bj6y.js} +0 -0
  737. /package/dist/chunks/{repository-cache-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{repository-cache-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{repository-cache-53557ph1.js → rpc-53557ph1.js} +0 -0
  740. /package/dist/chunks/{repository-cache-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{repository-cache-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
  742. /package/dist/chunks/{repository-cache-6prwharc.js → rpc-6prwharc.js} +0 -0
  743. /package/dist/chunks/{repository-cache-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{repository-cache-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{repository-cache-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{repository-cache-822emrt2.js → rpc-822emrt2.js} +0 -0
  747. /package/dist/chunks/{repository-cache-84wd9syh.js → rpc-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{repository-cache-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{repository-cache-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{repository-cache-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{repository-cache-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{repository-cache-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{repository-cache-a058387c.js → rpc-a058387c.js} +0 -0
  754. /package/dist/chunks/{repository-cache-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{repository-cache-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{repository-cache-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{repository-cache-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{repository-cache-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{repository-cache-beh6qq61.js → rpc-beh6qq61.js} +0 -0
  760. /package/dist/chunks/{repository-cache-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  761. /package/dist/chunks/{repository-cache-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  762. /package/dist/chunks/{repository-cache-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  763. /package/dist/chunks/{repository-cache-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
  764. /package/dist/chunks/{repository-cache-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  765. /package/dist/chunks/{repository-cache-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  766. /package/dist/chunks/{repository-cache-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  767. /package/dist/chunks/{repository-cache-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  768. /package/dist/chunks/{repository-cache-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  769. /package/dist/chunks/{repository-cache-df08tz66.js → rpc-df08tz66.js} +0 -0
  770. /package/dist/chunks/{repository-cache-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  771. /package/dist/chunks/{repository-cache-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{repository-cache-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{repository-cache-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{repository-cache-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{repository-cache-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{repository-cache-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{repository-cache-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{repository-cache-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{repository-cache-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{repository-cache-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
  781. /package/dist/chunks/{repository-cache-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  782. /package/dist/chunks/{repository-cache-g86h250q.js → rpc-g86h250q.js} +0 -0
  783. /package/dist/chunks/{repository-cache-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  784. /package/dist/chunks/{repository-cache-gftt206x.js → rpc-gftt206x.js} +0 -0
  785. /package/dist/chunks/{repository-cache-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
  786. /package/dist/chunks/{repository-cache-hk9envan.js → rpc-hk9envan.js} +0 -0
  787. /package/dist/chunks/{repository-cache-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  788. /package/dist/chunks/{repository-cache-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  789. /package/dist/chunks/{repository-cache-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  790. /package/dist/chunks/{repository-cache-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  791. /package/dist/chunks/{repository-cache-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  792. /package/dist/chunks/{repository-cache-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
  793. /package/dist/chunks/{repository-cache-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
  794. /package/dist/chunks/{repository-cache-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  795. /package/dist/chunks/{repository-cache-m18g726c.js → rpc-m18g726c.js} +0 -0
  796. /package/dist/chunks/{repository-cache-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  797. /package/dist/chunks/{repository-cache-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  798. /package/dist/chunks/{repository-cache-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  799. /package/dist/chunks/{repository-cache-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  800. /package/dist/chunks/{repository-cache-ncqqe42p.js → rpc-ncqqe42p.js} +0 -0
  801. /package/dist/chunks/{repository-cache-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  802. /package/dist/chunks/{repository-cache-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
  803. /package/dist/chunks/{repository-cache-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  804. /package/dist/chunks/{repository-cache-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  805. /package/dist/chunks/{repository-cache-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  806. /package/dist/chunks/{repository-cache-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  807. /package/dist/chunks/{repository-cache-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  808. /package/dist/chunks/{repository-cache-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  809. /package/dist/chunks/{repository-cache-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  810. /package/dist/chunks/{repository-cache-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  811. /package/dist/chunks/{repository-cache-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  812. /package/dist/chunks/{repository-cache-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  813. /package/dist/chunks/{repository-cache-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
  814. /package/dist/chunks/{repository-cache-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  815. /package/dist/chunks/{repository-cache-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  816. /package/dist/chunks/{repository-cache-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  817. /package/dist/chunks/{repository-cache-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  818. /package/dist/chunks/{repository-cache-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  819. /package/dist/chunks/{repository-cache-x61499pn.js → rpc-x61499pn.js} +0 -0
  820. /package/dist/chunks/{repository-cache-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  821. /package/dist/chunks/{repository-cache-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  822. /package/dist/chunks/{repository-cache-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  823. /package/dist/chunks/{repository-cache-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  824. /package/dist/chunks/{repository-cache-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
  825. /package/dist/chunks/{repository-cache-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./repository-cache-adf3gjyn.js";
3
+ } from "./rpc-mqf62vgd.js";
4
4
  import {
5
- ID14,
5
+ ID13,
6
6
  MethodID2
7
- } from "./repository-cache-0711fn9k.js";
7
+ } from "./rpc-8rgpj3v9.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./repository-cache-yb20nhc3.js";
11
+ } from "./rpc-yb20nhc3.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID13.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./repository-cache-emrn6kk6.js";
4
+ } from "./rpc-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
- node88
6
- } from "./repository-cache-twtxmczq.js";
5
+ node89
6
+ } from "./rpc-y3dxaa8f.js";
7
7
  import {
8
- Service82,
9
- node86
10
- } from "./repository-cache-gj88ka9e.js";
8
+ Service83,
9
+ node87
10
+ } from "./rpc-twcvacat.js";
11
11
  import {
12
12
  create3
13
- } from "./repository-cache-204s3925.js";
13
+ } from "./rpc-204s3925.js";
14
14
  import {
15
- make14
16
- } from "./repository-cache-ywqn3jdz.js";
15
+ make21
16
+ } from "./rpc-48d8ae9z.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service18,
24
+ Service: () => Service60,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node21
26
+ node: () => node63
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service18 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service60 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service18, Effect.gen(function* () {
37
- const location = yield* Service82;
36
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
37
+ const location = yield* Service83;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make14;
39
+ const git = yield* make21;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service18.of({ ...state, directory: location.directory });
58
+ return Service60.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node21 = makeLocationNode({
61
- service: Service18,
60
+ var node63 = makeLocationNode({
61
+ service: Service60,
62
62
  layer,
63
- deps: [node86, Global.node, node88, FSUtil.node]
63
+ deps: [node87, Global.node, node89, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service18, node21, exports_strategies };
66
+ export { Service60, node63, exports_strategies };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service66
3
- } from "./repository-cache-6fjx9w38.js";
2
+ Service69
3
+ } from "./rpc-94dw899a.js";
4
4
  import {
5
- Service82
6
- } from "./repository-cache-gj88ka9e.js";
5
+ Service83
6
+ } from "./rpc-twcvacat.js";
7
7
  import {
8
- Service65
9
- } from "./repository-cache-kke9g1hb.js";
8
+ Service68
9
+ } from "./rpc-g5n7re5f.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./repository-cache-xt0z8zst.js";
12
+ } from "./rpc-gtn9c16a.js";
13
13
  import {
14
- File3,
15
- Service59
16
- } from "./repository-cache-2jexvr2j.js";
14
+ File2,
15
+ Service35
16
+ } from "./rpc-6m6bsj58.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin23
25
+ Plugin: () => Plugin25
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin23 = define({
34
+ var Plugin25 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service59;
37
+ const discovery = yield* Service35;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service65;
39
+ const config = yield* Service68;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service66;
43
+ const location = yield* Service83;
44
+ const watcher = yield* Service69;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -66,13 +66,13 @@ var Plugin23 = define({
66
66
  yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
67
67
  }
68
68
  const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
69
- return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
69
+ return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
70
70
  });
71
71
  const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
72
72
  if (!discovery.global || !(yield* fs.isFile(globalFile)))
73
73
  return [];
74
74
  const file = yield* read(globalFile);
75
- return file instanceof File3 ? [file] : [];
75
+ return file instanceof File2 ? [file] : [];
76
76
  });
77
77
  const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
78
78
  if (!project)
@@ -82,7 +82,7 @@ var Plugin23 = define({
82
82
  const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
83
83
  if (files.some((file) => file === undefined))
84
84
  return unavailable3;
85
- return files.filter((file) => file instanceof File3);
85
+ return files.filter((file) => file instanceof File2);
86
86
  });
87
87
  const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
88
88
  const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
@@ -117,7 +117,7 @@ var Plugin23 = define({
117
117
  continue;
118
118
  watched.add(resolved);
119
119
  const file = yield* read(resolved);
120
- if (file instanceof File3)
120
+ if (file instanceof File2)
121
121
  files.push(file);
122
122
  }
123
123
  }
@@ -136,7 +136,7 @@ var Plugin23 = define({
136
136
  const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
137
137
  const entries = yield* config.entries();
138
138
  const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
139
- const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
139
+ const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
140
140
  configured.sources = sources;
141
141
  configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
142
142
  }, (effect) => lock.withPermit(effect));
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin23, exports_instruction };
183
+ export { Plugin25, exports_instruction };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./repository-cache-69zgfr7z.js";
2
+ Service86,
3
+ node90
4
+ } from "./rpc-1fev81q9.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./repository-cache-gj88ka9e.js";
6
+ Service83,
7
+ node87
8
+ } from "./rpc-twcvacat.js";
9
9
  import {
10
- Service57,
11
- node59
12
- } from "./repository-cache-m6ved7xn.js";
10
+ Service67,
11
+ node70
12
+ } from "./rpc-rrxyghcz.js";
13
13
  import {
14
- NotFoundError6
15
- } from "./repository-cache-2c4q4gd1.js";
14
+ NotFoundError9
15
+ } from "./rpc-drerwy6v.js";
16
16
  import {
17
- Service55,
18
- node57
19
- } from "./repository-cache-t0zgzgtb.js";
17
+ Service66,
18
+ node69
19
+ } from "./rpc-jq6y1ase.js";
20
20
  import {
21
21
  match2
22
- } from "./repository-cache-z38nccrw.js";
22
+ } from "./rpc-z38nccrw.js";
23
23
  import {
24
- Service56,
25
- node58
26
- } from "./repository-cache-vdatw69e.js";
24
+ Service65,
25
+ node68
26
+ } from "./rpc-45c1pec7.js";
27
27
  import {
28
- Service67,
29
- node69
30
- } from "./repository-cache-j49x6kf4.js";
28
+ Service71,
29
+ node74
30
+ } from "./rpc-qz087kyw.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-cache-9rqn6x4v.js";
33
+ } from "./rpc-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,28 +39,28 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event8,
43
- ID: () => ID5,
44
- NotFoundError: () => NotFoundError5,
42
+ Event: () => Event11,
43
+ ID: () => ID7,
44
+ NotFoundError: () => NotFoundError7,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request2,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service54,
50
+ Service: () => Service64,
51
51
  Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node56
54
+ node: () => node67
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
59
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event8 } from "@opencode/schema/permission";
60
+ import { Event as Event11 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID5 = Permission.ID;
63
+ var ID7 = Permission.ID;
64
64
  var Source5 = Permission.Source;
65
65
  var Request2 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
84
84
  }
85
85
  }
86
86
 
87
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID5
87
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
88
+ requestID: ID7
89
89
  }) {
90
90
  }
91
91
  function evaluate2(action, resource, ...rulesets) {
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service54 extends Context.Service()("@opencode/Permission") {
102
+ class Service64 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service54, Effect.gen(function* () {
105
- const bus = yield* Service85;
106
- const location = yield* Service82;
107
- const agents = yield* Service57;
108
- const sessions = yield* Service55;
109
- const saved = yield* Service56;
110
- const hooks = yield* Service67;
104
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
105
+ const bus = yield* Service86;
106
+ const location = yield* Service83;
107
+ const agents = yield* Service67;
108
+ const sessions = yield* Service66;
109
+ const saved = yield* Service65;
110
+ const hooks = yield* Service71;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError6({ sessionID });
133
+ return yield* new NotFoundError9({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
160
160
  });
161
161
  function request(input, message) {
162
162
  return {
163
- id: input.id ?? ID5.create(),
163
+ id: input.id ?? ID7.create(),
164
164
  sessionID: input.sessionID,
165
165
  action: input.action,
166
166
  resources: input.resources,
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
185
185
  }));
186
186
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
187
  if (closed)
188
- return { id: input.id ?? ID5.create(), effect: "deny" };
188
+ return { id: input.id ?? ID7.create(), effect: "deny" };
189
189
  const result = yield* evaluateInput(input);
190
190
  const value = request(input, result.message);
191
191
  if (result.effect === "ask")
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
216
216
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
217
217
  const existing = pending.get(input.requestID);
218
218
  if (!existing)
219
- return yield* new NotFoundError5({ requestID: input.requestID });
219
+ return yield* new NotFoundError7({ requestID: input.requestID });
220
220
  yield* bus.publish(Permission.Event.Replied, {
221
221
  sessionID: existing.request.sessionID,
222
222
  requestID: existing.request.id,
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service54.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service64.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node56 = makeLocationNode({
277
- service: Service54,
276
+ var node67 = makeLocationNode({
277
+ service: Service64,
278
278
  layer,
279
- deps: [node89, node86, node59, node57, node58, node69]
279
+ deps: [node90, node87, node70, node69, node68, node74]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID5, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service54, node56, exports_permission, Rule2, Ruleset2, Event8 };
282
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service64, node67, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./repository-cache-fhsk438g.js";
2
+ Service77,
3
+ node80
4
+ } from "./rpc-33kcjwwy.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./repository-cache-gftt206x.js";
7
+ } from "./rpc-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./repository-cache-ts7mkfs9.js";
10
+ } from "./rpc-qsee9sfb.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-cache-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service75,
20
- make: () => make22,
21
- node: () => node78
19
+ Service: () => Service43,
20
+ make: () => make19,
21
+ node: () => node45
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service75 extends Context.Service()("@opencode/Job") {
51
+ class Service43 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make22 = Effect.gen(function* () {
87
- const kv = yield* Service86;
86
+ var make19 = Effect.gen(function* () {
87
+ const kv = yield* Service77;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make22 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service75.of({
346
+ return Service43.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make22 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service75, make22);
360
- var node78 = makeGlobalNode({ service: Service75, layer, deps: [node90] });
359
+ var layer = Layer.effect(Service43, make19);
360
+ var node45 = makeGlobalNode({ service: Service43, layer, deps: [node80] });
361
361
 
362
- export { Service75, make22, node78, exports_job };
362
+ export { Service43, make19, node45, exports_job };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make24,
9
+ make: () => make25,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make24 = () => Effect.sync(makeUnsafe2);
29
+ var make25 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make24, exports_keyed_mutex };
31
+ export { makeUnsafe2, make25, exports_keyed_mutex };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service66,
3
- node68
4
- } from "./repository-cache-6fjx9w38.js";
2
+ Service69,
3
+ node72
4
+ } from "./rpc-94dw899a.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./repository-cache-gj88ka9e.js";
6
+ Service83,
7
+ node87
8
+ } from "./rpc-twcvacat.js";
9
9
  import {
10
- Service65,
11
- node67
12
- } from "./repository-cache-kke9g1hb.js";
10
+ Service68,
11
+ node71
12
+ } from "./rpc-g5n7re5f.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./repository-cache-6esdw8yj.js";
16
+ } from "./rpc-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service2,
25
+ Service: () => Service7,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node3
27
+ layer: () => layer6,
28
+ node: () => node8
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service65;
40
- const watcher = yield* Service66;
38
+ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
39
+ const config = yield* Service68;
40
+ const watcher = yield* Service69;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service82;
42
+ const location = yield* Service83;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service2.of({
61
+ return Service7.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node3 = makeLocationNode({
74
- service: Service2,
75
- layer: layer4,
76
- deps: [node67, FSUtil.node, node68, node86]
73
+ var node8 = makeLocationNode({
74
+ service: Service7,
75
+ layer: layer6,
76
+ deps: [node71, FSUtil.node, node72, node87]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service2,
80
- layer: Layer.succeed(Service2, Service2.of({
79
+ service: Service7,
80
+ layer: Layer.succeed(Service7, Service7.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -118,12 +118,13 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
118
118
  return [operation];
119
119
  const directory = yield* fs.isDir(operation.target);
120
120
  const entrypoints = directory ? yield* Effect.sync(() => Host.resolve({ directory: operation.target })) : { server: pathToFileURL(operation.target).href };
121
- if (!entrypoints.server)
121
+ const entrypoint = entrypoints.server ?? entrypoints.gui;
122
+ if (!entrypoint)
122
123
  return [];
123
124
  if (directory) {
124
125
  const root = yield* fs.resolve(operation.target);
125
- const server = yield* fs.resolve(fileURLToPath(entrypoints.server));
126
- if (!FSUtil.contains(root, server))
126
+ const resolved = yield* fs.resolve(fileURLToPath(entrypoint));
127
+ if (!FSUtil.contains(root, resolved))
127
128
  return [];
128
129
  }
129
130
  const times = yield* Effect.forEach([
@@ -137,4 +138,4 @@ function isPluginSource(entries, file) {
137
138
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
139
  }
139
140
 
140
- export { Service2, layer4, node3, empty2, exports_source };
141
+ export { Service7, layer6, node8, empty2, exports_source };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./repository-cache-ec1grn59.js";
3
+ } from "./rpc-ec1grn59.js";
4
4
  import {
5
5
  stringify2
6
- } from "./repository-cache-1jakw16s.js";
6
+ } from "./rpc-1jakw16s.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./repository-cache-98qrekfe.js";
9
+ } from "./rpc-g5cwnqn4.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { isRecord } from "@opencode/util/record";