@opencode/core 0.0.0-dev-413 → 0.0.0-dev-416

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 (927) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +242 -242
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{console-access-n255cbdk.js → rpc-003yp2qb.js} +12 -12
  9. package/dist/chunks/{console-access-034tev2y.js → rpc-034tev2y.js} +2 -2
  10. package/dist/chunks/{console-access-sj1tyacd.js → rpc-053t38hf.js} +35 -35
  11. package/dist/chunks/{console-access-ccxb81ax.js → rpc-0f2rj61r.js} +13 -13
  12. package/dist/chunks/{console-access-gc1g16vq.js → rpc-0wc0170a.js} +19 -19
  13. package/dist/chunks/{console-access-ds7gkj2h.js → rpc-0x4avvrg.js} +6 -6
  14. package/dist/chunks/rpc-0z1kk8n9.js +66 -0
  15. package/dist/chunks/{console-access-rn7qapfp.js → rpc-0ztp0khy.js} +35 -35
  16. package/dist/chunks/{console-access-1qscqjay.js → rpc-11kznhm7.js} +16 -16
  17. package/dist/chunks/{console-access-8p1fdta3.js → rpc-14wknv36.js} +23 -23
  18. package/dist/chunks/{console-access-aedwt843.js → rpc-160yv0cs.js} +6 -6
  19. package/dist/chunks/{console-access-f8gdfwgt.js → rpc-16jn7cn7.js} +31 -31
  20. package/dist/chunks/{console-access-8z59fcn4.js → rpc-16mfx2c5.js} +16 -16
  21. package/dist/chunks/{console-access-j9gqy7s4.js → rpc-17fahn3m.js} +34 -34
  22. package/dist/chunks/{console-access-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{console-access-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{console-access-1td0easz.js → rpc-1h062x6t.js} +7 -7
  25. package/dist/chunks/{console-access-sbz71ybr.js → rpc-1scgcwfj.js} +3 -3
  26. package/dist/chunks/{console-access-1v2g13eq.js → rpc-1v2g13eq.js} +4 -4
  27. package/dist/chunks/{console-access-mf27w6jh.js → rpc-1vk6hrwj.js} +18 -18
  28. package/dist/chunks/{console-access-7h4cw7e5.js → rpc-1w279wcd.js} +5 -5
  29. package/dist/chunks/{console-access-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{console-access-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
  31. package/dist/chunks/{console-access-65n9jqtg.js → rpc-233argac.js} +8 -8
  32. package/dist/chunks/{console-access-25h84942.js → rpc-25h84942.js} +1 -1
  33. package/dist/chunks/{console-access-dyzsvkz5.js → rpc-26e1psex.js} +15 -15
  34. package/dist/chunks/{console-access-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
  35. package/dist/chunks/{console-access-entggq94.js → rpc-313zmk5k.js} +18 -18
  36. package/dist/chunks/{console-access-38aws4xb.js → rpc-38aws4xb.js} +1 -1
  37. package/dist/chunks/{console-access-m7xh3h0x.js → rpc-3gv0spa2.js} +4 -4
  38. package/dist/chunks/{console-access-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{console-access-21xrzm9k.js → rpc-3mb214kb.js} +45 -45
  40. package/dist/chunks/{console-access-mxcm09z5.js → rpc-3mvx38w7.js} +46 -46
  41. package/dist/chunks/{console-access-tmc7xdjs.js → rpc-3nnrz6f6.js} +4 -4
  42. package/dist/chunks/{console-access-03pxz9jb.js → rpc-3rn9q11q.js} +11 -11
  43. package/dist/chunks/{console-access-ap16d4mh.js → rpc-3tanpf6c.js} +11 -11
  44. package/dist/chunks/{console-access-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
  45. package/dist/chunks/{console-access-5enarcya.js → rpc-40za9wsf.js} +6 -6
  46. package/dist/chunks/{console-access-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
  47. package/dist/chunks/{console-access-heq5d7xw.js → rpc-4atban0p.js} +26 -26
  48. package/dist/chunks/{console-access-cw8ap1qc.js → rpc-4dgy431j.js} +17 -17
  49. package/dist/chunks/{console-access-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
  50. package/dist/chunks/{console-access-4f25tdd0.js → rpc-4f25tdd0.js} +1 -1
  51. package/dist/chunks/{console-access-avzrgf0m.js → rpc-4j1pjsa9.js} +9 -9
  52. package/dist/chunks/{console-access-typegh0v.js → rpc-4naj32e0.js} +2 -2
  53. package/dist/chunks/{console-access-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
  54. package/dist/chunks/{console-access-4v008n1t.js → rpc-4v008n1t.js} +1 -1
  55. package/dist/chunks/{console-access-047gptvz.js → rpc-53kbtjgk.js} +8 -8
  56. package/dist/chunks/{console-access-s1aem6nm.js → rpc-57aqwfwp.js} +9 -9
  57. package/dist/chunks/{console-access-cztcaddm.js → rpc-5a5pr3ck.js} +33 -33
  58. package/dist/chunks/{console-access-0d3rghwk.js → rpc-5jgqfq96.js} +24 -24
  59. package/dist/chunks/{console-access-eancfdmp.js → rpc-5jve1gyn.js} +9 -9
  60. package/dist/chunks/{console-access-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{console-access-b6vsg801.js → rpc-5nnwax6m.js} +5 -5
  62. package/dist/chunks/{console-access-6wwpvrva.js → rpc-5qwnbn94.js} +45 -45
  63. package/dist/chunks/{console-access-xgwzgzwz.js → rpc-5qzrmt86.js} +11 -11
  64. package/dist/chunks/{console-access-thv48qjc.js → rpc-5y90z918.js} +8 -8
  65. package/dist/chunks/{console-access-znpm5zma.js → rpc-690yahak.js} +27 -27
  66. package/dist/chunks/{console-access-4ha72s12.js → rpc-6benpqn8.js} +11 -11
  67. package/dist/chunks/{console-access-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{console-access-n7bnkb3p.js → rpc-6twykydk.js} +9 -9
  69. package/dist/chunks/{console-access-gbk5jczt.js → rpc-6vx2fqsh.js} +48 -39
  70. package/dist/chunks/{console-access-4aq2cbca.js → rpc-6xtjqz2m.js} +4 -4
  71. package/dist/chunks/{console-access-jg6rn5f2.js → rpc-73n38n5m.js} +5 -5
  72. package/dist/chunks/{console-access-76cb1hcw.js → rpc-76cb1hcw.js} +1 -1
  73. package/dist/chunks/{console-access-9ef3qr1r.js → rpc-773xawyx.js} +30 -30
  74. package/dist/chunks/{console-access-78p2h4ex.js → rpc-78p2h4ex.js} +2 -2
  75. package/dist/chunks/{console-access-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{console-access-gj90kcgz.js → rpc-7c3byvqa.js} +3 -3
  77. package/dist/chunks/{console-access-dddhb43s.js → rpc-7etptj4x.js} +3 -3
  78. package/dist/chunks/{console-access-bz76zesz.js → rpc-7fsmcf5c.js} +5 -5
  79. package/dist/chunks/{console-access-7kr66rt3.js → rpc-7kr66rt3.js} +1 -1
  80. package/dist/chunks/{console-access-t45y67jp.js → rpc-7mve9j0q.js} +10 -10
  81. package/dist/chunks/{console-access-bqa8ney4.js → rpc-7nqkf5r1.js} +4 -4
  82. package/dist/chunks/{console-access-3mx9hs70.js → rpc-7pw3eeq7.js} +31 -31
  83. package/dist/chunks/{console-access-d01g6182.js → rpc-7s50p6s5.js} +12 -12
  84. package/dist/chunks/{console-access-emd5vfap.js → rpc-7t85rym9.js} +33 -33
  85. package/dist/chunks/{console-access-tcvxcnqs.js → rpc-7tb32prv.js} +21 -21
  86. package/dist/chunks/{console-access-5k96f8ej.js → rpc-7v32djr5.js} +9 -9
  87. package/dist/chunks/{console-access-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{console-access-my3t37xt.js → rpc-80cy8wxt.js} +17 -17
  89. package/dist/chunks/{console-access-775hqbnd.js → rpc-80mg3ag8.js} +3 -3
  90. package/dist/chunks/{console-access-ws46pv3v.js → rpc-81m33mvt.js} +15 -15
  91. package/dist/chunks/{console-access-wzcv3nw2.js → rpc-836ahjv0.js} +87 -87
  92. package/dist/chunks/{console-access-89287pr7.js → rpc-89287pr7.js} +1 -1
  93. package/dist/chunks/{console-access-jkjd442p.js → rpc-89rb9xh3.js} +14 -14
  94. package/dist/chunks/{console-access-hbd93kc4.js → rpc-8bae9qg4.js} +3 -3
  95. package/dist/chunks/{console-access-9bdxdygd.js → rpc-8kzyxvcj.js} +16 -16
  96. package/dist/chunks/{console-access-8b714bza.js → rpc-8n09hdvs.js} +8 -8
  97. package/dist/chunks/{console-access-cd0vfk34.js → rpc-8sa14nhd.js} +11 -11
  98. package/dist/chunks/{console-access-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{console-access-xksw6ev0.js → rpc-8xz27cp9.js} +4 -4
  100. package/dist/chunks/{console-access-90zstvax.js → rpc-90zstvax.js} +1 -1
  101. package/dist/chunks/{console-access-kzdam8c6.js → rpc-93xmyh8q.js} +5 -5
  102. package/dist/chunks/{console-access-m2q6a1bc.js → rpc-95f8dd5e.js} +72 -72
  103. package/dist/chunks/{console-access-xpeshqab.js → rpc-99h31re4.js} +6 -6
  104. package/dist/chunks/{console-access-9739c795.js → rpc-9frvjbed.js} +19 -19
  105. package/dist/chunks/{console-access-1gh4s45m.js → rpc-9h29zwzz.js} +19 -24
  106. package/dist/chunks/{console-access-1jf5rznk.js → rpc-9v96avtt.js} +10 -10
  107. package/dist/chunks/{console-access-wvfn30mp.js → rpc-a4ycr27e.js} +17 -17
  108. package/dist/chunks/{console-access-pkbwc4w3.js → rpc-a9k8tc5j.js} +22 -22
  109. package/dist/chunks/{console-access-6145mwex.js → rpc-aaxh80qp.js} +33 -33
  110. package/dist/chunks/{console-access-x059zqwf.js → rpc-ack38t55.js} +9 -9
  111. package/dist/chunks/{console-access-bkate89p.js → rpc-adm9hbm7.js} +38 -38
  112. package/dist/chunks/{console-access-5jm7ma5d.js → rpc-akn4t001.js} +8 -8
  113. package/dist/chunks/{console-access-8kc5h368.js → rpc-asaqahta.js} +8 -8
  114. package/dist/chunks/{console-access-sxxzmrah.js → rpc-ay5revt4.js} +27 -27
  115. package/dist/chunks/{console-access-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
  116. package/dist/chunks/{console-access-dyzex9k8.js → rpc-az3g39r9.js} +27 -27
  117. package/dist/chunks/{console-access-8cg7mtm3.js → rpc-b2armg7w.js} +4 -4
  118. package/dist/chunks/{console-access-171d64z1.js → rpc-b9t1pfge.js} +8 -8
  119. package/dist/chunks/{console-access-y20f0cvg.js → rpc-bj7w10bj.js} +28 -28
  120. package/dist/chunks/{console-access-bstexjd6.js → rpc-bstexjd6.js} +1 -1
  121. package/dist/chunks/{console-access-qwz12hkq.js → rpc-c7gk57p6.js} +4 -4
  122. package/dist/chunks/{console-access-hrvgn7m7.js → rpc-c9ckycx8.js} +53 -53
  123. package/dist/chunks/{console-access-b5qtesqm.js → rpc-c9mxd3eg.js} +25 -25
  124. package/dist/chunks/{console-access-x2btpcx0.js → rpc-cm015486.js} +23 -23
  125. package/dist/chunks/{console-access-vxxh2640.js → rpc-cnt6bnzr.js} +14 -14
  126. package/dist/chunks/{console-access-65q05t72.js → rpc-cq6fw8sx.js} +3 -3
  127. package/dist/chunks/{console-access-jkdcm5hg.js → rpc-cr4rfj9z.js} +4 -4
  128. package/dist/chunks/{console-access-vt4r9rmy.js → rpc-ctmpqb7w.js} +9 -9
  129. package/dist/chunks/{console-access-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
  130. package/dist/chunks/{console-access-hsnq1va6.js → rpc-d2dt6bgk.js} +5 -5
  131. package/dist/chunks/{console-access-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
  132. package/dist/chunks/{console-access-dt77769w.js → rpc-dt77769w.js} +1 -1
  133. package/dist/chunks/{console-access-tyv7ydte.js → rpc-dtscfpm0.js} +12 -12
  134. package/dist/chunks/{console-access-76d3terv.js → rpc-dveyat1s.js} +17 -17
  135. package/dist/chunks/{console-access-xw5830wd.js → rpc-e31mk9fd.js} +4 -4
  136. package/dist/chunks/{console-access-e834z07m.js → rpc-e834z07m.js} +1 -1
  137. package/dist/chunks/{console-access-z3a7ezm5.js → rpc-en8se85n.js} +33 -33
  138. package/dist/chunks/{console-access-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
  139. package/dist/chunks/{console-access-52a7xb4m.js → rpc-etemhy56.js} +21 -21
  140. package/dist/chunks/{console-access-3yvqs9n2.js → rpc-evg94e0m.js} +36 -36
  141. package/dist/chunks/rpc-ezna1kdx.js +18 -0
  142. package/dist/chunks/{console-access-9stg8mpy.js → rpc-ezxpw9py.js} +17 -17
  143. package/dist/chunks/{console-access-1xy57ws7.js → rpc-f1nhy0sx.js} +30 -30
  144. package/dist/chunks/{console-access-xmmp7jhq.js → rpc-f1r0yd0j.js} +9 -9
  145. package/dist/chunks/{console-access-sm13ja2x.js → rpc-f5x1bra2.js} +80 -80
  146. package/dist/chunks/{console-access-s6gexhmp.js → rpc-f6813r2x.js} +16 -16
  147. package/dist/chunks/rpc-fatxb1h0.js +261 -0
  148. package/dist/chunks/{console-access-jp2vtqa4.js → rpc-fbc398mr.js} +17 -17
  149. package/dist/chunks/{console-access-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{console-access-fg9p65nk.js → rpc-fg9p65nk.js} +2 -2
  151. package/dist/chunks/{console-access-x21h0ynd.js → rpc-fh36nf8c.js} +15 -15
  152. package/dist/chunks/{console-access-6z0mzcn2.js → rpc-fj2kqg5f.js} +9 -9
  153. package/dist/chunks/{console-access-kgq6c069.js → rpc-fkasyrab.js} +6 -6
  154. package/dist/chunks/{console-access-012npqv2.js → rpc-fs61hn2z.js} +33 -33
  155. package/dist/chunks/{console-access-paxvx61h.js → rpc-fyp4nyd4.js} +53 -53
  156. package/dist/chunks/{console-access-cf3f13z6.js → rpc-g4v74gy6.js} +8 -8
  157. package/dist/chunks/{console-access-11vmkxd0.js → rpc-g5fnnx9z.js} +38 -38
  158. package/dist/chunks/{console-access-nkmp69ab.js → rpc-gaf6qzjh.js} +27 -27
  159. package/dist/chunks/{console-access-2ae7dg9e.js → rpc-gaz3gjfe.js} +27 -27
  160. package/dist/chunks/{console-access-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
  161. package/dist/chunks/{console-access-gsqbessg.js → rpc-gcxh5vx1.js} +26 -26
  162. package/dist/chunks/{console-access-m2vzn1wg.js → rpc-ghdkeaam.js} +8 -8
  163. package/dist/chunks/{console-access-snb7e1jd.js → rpc-gjxr7tfs.js} +29 -29
  164. package/dist/chunks/{console-access-mq0v0kcp.js → rpc-gvdabkps.js} +11 -11
  165. package/dist/chunks/{console-access-gxs71cxp.js → rpc-gxs71cxp.js} +1 -1
  166. package/dist/chunks/{console-access-26vppqnk.js → rpc-h3n8tyn9.js} +52 -30
  167. package/dist/chunks/{console-access-6m3gtcrr.js → rpc-h4a24dsn.js} +1 -1
  168. package/dist/chunks/{console-access-dsewqt4b.js → rpc-h87b1agq.js} +13 -13
  169. package/dist/chunks/{console-access-hh7kjqtw.js → rpc-hh7kjqtw.js} +1 -1
  170. package/dist/chunks/{console-access-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
  171. package/dist/chunks/{console-access-re73493b.js → rpc-hqccc9by.js} +28 -28
  172. package/dist/chunks/{console-access-hretfjjx.js → rpc-hretfjjx.js} +2 -2
  173. package/dist/chunks/{console-access-c15yz7e4.js → rpc-j1n6cdx3.js} +31 -31
  174. package/dist/chunks/{console-access-r17fbvme.js → rpc-j82m12k7.js} +7 -7
  175. package/dist/chunks/{console-access-64gjgrnh.js → rpc-j8xp337f.js} +22 -22
  176. package/dist/chunks/{console-access-x2q5ghxs.js → rpc-jadkkbh8.js} +44 -44
  177. package/dist/chunks/{console-access-mapr1twb.js → rpc-jbx05nge.js} +3 -3
  178. package/dist/chunks/{console-access-b7v4cx43.js → rpc-jgttmm4a.js} +5 -5
  179. package/dist/chunks/{console-access-26wfx3k0.js → rpc-jjvvtnfs.js} +4 -4
  180. package/dist/chunks/{console-access-rwtnbzk6.js → rpc-jkzfstx9.js} +18 -18
  181. package/dist/chunks/{console-access-ye3m096d.js → rpc-jrdqc7et.js} +15 -15
  182. package/dist/chunks/{console-access-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
  183. package/dist/chunks/{console-access-tjtz70am.js → rpc-jww34mk0.js} +27 -27
  184. package/dist/chunks/{console-access-yk7c7y45.js → rpc-jxmjatb5.js} +46 -46
  185. package/dist/chunks/{console-access-kj9n5bvh.js → rpc-k46dd5bg.js} +4 -4
  186. package/dist/chunks/{console-access-fc32n11k.js → rpc-k5nze2cd.js} +8 -8
  187. package/dist/chunks/{console-access-4znee155.js → rpc-k8ydvx9t.js} +58 -58
  188. package/dist/chunks/{console-access-7pdnwsmd.js → rpc-kcjdv8bm.js} +4 -4
  189. package/dist/chunks/{console-access-1yn6gmz5.js → rpc-kkrssrbd.js} +6 -6
  190. package/dist/chunks/{console-access-ek7hp564.js → rpc-kpkjbdm7.js} +18 -18
  191. package/dist/chunks/{console-access-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
  192. package/dist/chunks/{console-access-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
  193. package/dist/chunks/{console-access-m1714858.js → rpc-m1714858.js} +1 -1
  194. package/dist/chunks/{console-access-kqasb5tt.js → rpc-m4a57d5d.js} +36 -36
  195. package/dist/chunks/{console-access-s1ag47km.js → rpc-m8000t4j.js} +12 -12
  196. package/dist/chunks/{console-access-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{console-access-mb7mbhnz.js → rpc-mb7mbhnz.js} +3 -3
  198. package/dist/chunks/{console-access-6za77tsx.js → rpc-mct7a04t.js} +12 -12
  199. package/dist/chunks/{console-access-n52pjeqf.js → rpc-me2hzm4v.js} +10 -10
  200. package/dist/chunks/{console-access-9kjwrn6z.js → rpc-mnvgqty7.js} +21 -21
  201. package/dist/chunks/{console-access-0jgp93xd.js → rpc-mr1qea7m.js} +16 -16
  202. package/dist/chunks/{console-access-r14veqnk.js → rpc-mw0artam.js} +11 -11
  203. package/dist/chunks/{console-access-wws03c5r.js → rpc-mzm8bzzq.js} +4 -4
  204. package/dist/chunks/{console-access-9pt7p6cj.js → rpc-n3czbcc8.js} +12 -12
  205. package/dist/chunks/{console-access-mgkh72vj.js → rpc-n4nfadeg.js} +64 -59
  206. package/dist/chunks/{console-access-byz3apxk.js → rpc-n4njf5qd.js} +13 -13
  207. package/dist/chunks/{console-access-9sy1j1hj.js → rpc-n59awk7t.js} +6 -6
  208. package/dist/chunks/{console-access-883a0ny7.js → rpc-n5kddzgv.js} +15 -15
  209. package/dist/chunks/rpc-n66np8d1.js +52 -0
  210. package/dist/chunks/{console-access-nah043kf.js → rpc-nah043kf.js} +1 -1
  211. package/dist/chunks/{console-access-cyescr1b.js → rpc-narjdbd2.js} +21 -21
  212. package/dist/chunks/{console-access-m4yf5w44.js → rpc-natbyxsp.js} +4 -4
  213. package/dist/chunks/{console-access-qkn4hv22.js → rpc-nc69wymw.js} +2 -2
  214. package/dist/chunks/{console-access-1qhsb1sf.js → rpc-ncew0vb7.js} +46 -46
  215. package/dist/chunks/{console-access-578kbwfq.js → rpc-nrn54an1.js} +4 -4
  216. package/dist/chunks/{console-access-99qm7z8z.js → rpc-ntxqw4zz.js} +26 -26
  217. package/dist/chunks/{console-access-k0708k2b.js → rpc-nxvc44k8.js} +10 -10
  218. package/dist/chunks/{console-access-a2ahffqb.js → rpc-nyf5hwvb.js} +11 -11
  219. package/dist/chunks/{console-access-2m7xespe.js → rpc-nzmw8n1y.js} +12 -12
  220. package/dist/chunks/{console-access-p015t6z3.js → rpc-p015t6z3.js} +2 -2
  221. package/dist/chunks/{console-access-rqs9vgn0.js → rpc-p2jax678.js} +16 -16
  222. package/dist/chunks/{console-access-nb6tzp2z.js → rpc-p35s2f0x.js} +15 -15
  223. package/dist/chunks/{console-access-w19s9fk5.js → rpc-p4hj3rpp.js} +12 -12
  224. package/dist/chunks/{console-access-p2nhr5gw.js → rpc-pfwhzn8k.js} +4 -4
  225. package/dist/chunks/{console-access-pwgfve7d.js → rpc-pj9ytb2t.js} +8 -8
  226. package/dist/chunks/{console-access-pknna89w.js → rpc-pknna89w.js} +1 -1
  227. package/dist/chunks/{console-access-sw04gsg0.js → rpc-pxfbqz3r.js} +5 -5
  228. package/dist/chunks/{console-access-7wxbp58z.js → rpc-q482fffg.js} +34 -34
  229. package/dist/chunks/{console-access-mvby0fnq.js → rpc-q645m655.js} +13 -13
  230. package/dist/chunks/{console-access-reeagv5s.js → rpc-q6z6t8x0.js} +6 -6
  231. package/dist/chunks/{console-access-m7w6t179.js → rpc-qdj0qsvg.js} +41 -41
  232. package/dist/chunks/{console-access-nrw65824.js → rpc-qfgdwcd7.js} +7 -7
  233. package/dist/chunks/{console-access-71tds82c.js → rpc-qj2pkgjz.js} +4 -4
  234. package/dist/chunks/{console-access-c59v4skt.js → rpc-qjv30t73.js} +6 -6
  235. package/dist/chunks/{console-access-fhdt1gj6.js → rpc-qp4rek59.js} +40 -40
  236. package/dist/chunks/{console-access-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
  237. package/dist/chunks/{console-access-qqvy8y24.js → rpc-qqvy8y24.js} +1 -1
  238. package/dist/chunks/{console-access-rmv7fhs4.js → rpc-qw2t3dzn.js} +6 -6
  239. package/dist/chunks/{console-access-wndn7xrm.js → rpc-qyfc9v9c.js} +30 -30
  240. package/dist/chunks/{console-access-xsvq7cjt.js → rpc-r96ere88.js} +4 -4
  241. package/dist/chunks/{console-access-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
  242. package/dist/chunks/{console-access-hj4adejm.js → rpc-rdscbfg2.js} +5 -5
  243. package/dist/chunks/{console-access-bmta0emp.js → rpc-rf1vxx78.js} +6 -6
  244. package/dist/chunks/{console-access-yrv4p0ze.js → rpc-rh29xf90.js} +5 -5
  245. package/dist/chunks/{console-access-fq4mbxwp.js → rpc-rjkfg8bm.js} +7 -7
  246. package/dist/chunks/{console-access-bevh0y2j.js → rpc-rrm5yn5h.js} +19 -26
  247. package/dist/chunks/{console-access-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
  248. package/dist/chunks/{console-access-4vt1ewqk.js → rpc-rxh3nxpw.js} +29 -29
  249. package/dist/chunks/{console-access-5xdgvpxd.js → rpc-s4kyhetj.js} +6 -6
  250. package/dist/chunks/{console-access-6sfvbzy2.js → rpc-s8cpj9fb.js} +24 -24
  251. package/dist/chunks/{console-access-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
  252. package/dist/chunks/{console-access-sbya78hr.js → rpc-sbya78hr.js} +1 -1
  253. package/dist/chunks/{console-access-s5jhqnc2.js → rpc-sgc6405s.js} +23 -23
  254. package/dist/chunks/{console-access-y7h14byq.js → rpc-shtnpd1d.js} +7 -7
  255. package/dist/chunks/{console-access-spq02rax.js → rpc-sm6ta99e.js} +12 -12
  256. package/dist/chunks/{console-access-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
  257. package/dist/chunks/{console-access-rgr196vp.js → rpc-ss8ra66z.js} +9 -9
  258. package/dist/chunks/{console-access-8akkm6mb.js → rpc-st4byt9w.js} +17 -17
  259. package/dist/chunks/{console-access-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
  260. package/dist/chunks/{console-access-kpyw0zg7.js → rpc-sw6m62cd.js} +18 -18
  261. package/dist/chunks/{console-access-szwm4crx.js → rpc-szwm4crx.js} +4 -4
  262. package/dist/chunks/{console-access-91qwq894.js → rpc-szz5g1cm.js} +24 -24
  263. package/dist/chunks/{console-access-dr9v79cp.js → rpc-t6ase0yh.js} +20 -20
  264. package/dist/chunks/{console-access-ny8dfwqy.js → rpc-t6rbahh6.js} +16 -16
  265. package/dist/chunks/{console-access-v68es4bf.js → rpc-t808fjx2.js} +28 -28
  266. package/dist/chunks/{console-access-tx562g4s.js → rpc-t9m5ffg7.js} +10 -10
  267. package/dist/chunks/{console-access-3srvschc.js → rpc-tbyvd26d.js} +17 -17
  268. package/dist/chunks/{console-access-mvk309ck.js → rpc-tckq1zd3.js} +1 -1
  269. package/dist/chunks/{console-access-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
  270. package/dist/chunks/{console-access-qygt2eg2.js → rpc-tf1xn9q6.js} +7 -7
  271. package/dist/chunks/{console-access-rg3mv5hx.js → rpc-thh5wg1b.js} +14 -14
  272. package/dist/chunks/{console-access-4fqsxtvc.js → rpc-tjc6f4pm.js} +6 -6
  273. package/dist/chunks/{console-access-yxz222g7.js → rpc-tnz34mgg.js} +25 -25
  274. package/dist/chunks/{console-access-sdcdtr0x.js → rpc-tpprkter.js} +4 -4
  275. package/dist/chunks/{console-access-tr8x705m.js → rpc-tr8x705m.js} +1 -1
  276. package/dist/chunks/{console-access-j2v0qy8s.js → rpc-trrzz0pv.js} +9 -9
  277. package/dist/chunks/{console-access-twssxy5n.js → rpc-twssxy5n.js} +2 -2
  278. package/dist/chunks/{console-access-ymy9k7ty.js → rpc-tyak2n23.js} +25 -25
  279. package/dist/chunks/{console-access-zf1smf1p.js → rpc-v1cmtwqq.js} +27 -27
  280. package/dist/chunks/{console-access-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
  281. package/dist/chunks/rpc-v3be0dee.js +555 -0
  282. package/dist/chunks/{console-access-q0esk5my.js → rpc-v8vsfr7j.js} +19 -19
  283. package/dist/chunks/{console-access-55yfevdw.js → rpc-vascph72.js} +3 -3
  284. package/dist/chunks/{console-access-rjkmwz1d.js → rpc-vd0tvg8q.js} +5 -5
  285. package/dist/chunks/{console-access-d544tsq3.js → rpc-veb23xdb.js} +13 -13
  286. package/dist/chunks/{console-access-8drxrpc2.js → rpc-vhhvf33t.js} +11 -11
  287. package/dist/chunks/{console-access-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
  288. package/dist/chunks/{console-access-adjz4yy8.js → rpc-vqf9x4n2.js} +14 -14
  289. package/dist/chunks/{console-access-7hnbdxzb.js → rpc-vrnse76x.js} +19 -19
  290. package/dist/chunks/{console-access-rj7j5fvs.js → rpc-vt2d6wap.js} +4 -4
  291. package/dist/chunks/{console-access-2ed7fw36.js → rpc-vt9btcah.js} +4 -4
  292. package/dist/chunks/{console-access-0rc4raje.js → rpc-w0xfwvp8.js} +11 -11
  293. package/dist/chunks/{console-access-t3b8egab.js → rpc-w3wcj2dt.js} +40 -40
  294. package/dist/chunks/{console-access-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  295. package/dist/chunks/{console-access-wr3re1en.js → rpc-w687dnns.js} +4 -4
  296. package/dist/chunks/{console-access-2vj1d40e.js → rpc-w6rj4brd.js} +18 -18
  297. package/dist/chunks/{console-access-2kg89srt.js → rpc-w79nt68w.js} +4 -4
  298. package/dist/chunks/{console-access-et2k6d7q.js → rpc-w7x9xhr0.js} +3 -3
  299. package/dist/chunks/rpc-w9e1hhap.js +74 -0
  300. package/dist/chunks/{console-access-9a74na53.js → rpc-w9r2bhp7.js} +7 -7
  301. package/dist/chunks/{console-access-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
  302. package/dist/chunks/{console-access-t0agjpr5.js → rpc-wbz71wqg.js} +11 -11
  303. package/dist/chunks/{console-access-wd87259q.js → rpc-wd87259q.js} +1 -1
  304. package/dist/chunks/{console-access-wegkxhrn.js → rpc-wegkxhrn.js} +2 -2
  305. package/dist/chunks/{console-access-qsdghx1p.js → rpc-wfdx5ztx.js} +4 -4
  306. package/dist/chunks/{console-access-wnhgecwx.js → rpc-wnhgecwx.js} +1 -1
  307. package/dist/chunks/{console-access-pgtr6qdp.js → rpc-wr39a8nh.js} +29 -29
  308. package/dist/chunks/{console-access-ajgw5s0b.js → rpc-wtsms3my.js} +13 -13
  309. package/dist/chunks/{console-access-czwy3yzx.js → rpc-wvr8xscb.js} +7 -7
  310. package/dist/chunks/{console-access-x8v8t4sy.js → rpc-ww813j0m.js} +17 -17
  311. package/dist/chunks/{console-access-2jq6k0gk.js → rpc-x09egrtq.js} +28 -28
  312. package/dist/chunks/{console-access-my078bax.js → rpc-x34ysmrm.js} +5 -5
  313. package/dist/chunks/{console-access-ec9rerbv.js → rpc-x5mq78kg.js} +2 -2
  314. package/dist/chunks/{console-access-v4y5j59e.js → rpc-x5q8dexz.js} +8 -8
  315. package/dist/chunks/{console-access-2hx07tg9.js → rpc-x771mf3a.js} +17 -17
  316. package/dist/chunks/{console-access-3s9dp9p8.js → rpc-x7xjn570.js} +17 -17
  317. package/dist/chunks/{console-access-rernskcx.js → rpc-xb8695ce.js} +2 -2
  318. package/dist/chunks/{console-access-ng2vgp0r.js → rpc-xf3y3k6n.js} +27 -27
  319. package/dist/chunks/{console-access-f8gsh4zb.js → rpc-xj5xdzrv.js} +59 -59
  320. package/dist/chunks/{console-access-j3f8hyeg.js → rpc-xmx7xj34.js} +4 -4
  321. package/dist/chunks/{console-access-94e33dpz.js → rpc-xtr9hwyk.js} +3 -3
  322. package/dist/chunks/{console-access-35gq0sf5.js → rpc-xy2adanr.js} +11 -11
  323. package/dist/chunks/{console-access-a5sr45n0.js → rpc-xykgae23.js} +7 -7
  324. package/dist/chunks/{console-access-9hnrjr8c.js → rpc-y8gj21cy.js} +18 -18
  325. package/dist/chunks/rpc-y8gkkgea.js +26 -0
  326. package/dist/chunks/{console-access-yara3q77.js → rpc-yara3q77.js} +2 -2
  327. package/dist/chunks/{console-access-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
  328. package/dist/chunks/{console-access-9hy7rh9d.js → rpc-yb8k4fwr.js} +26 -26
  329. package/dist/chunks/{console-access-t2vgk92d.js → rpc-ymt4gvf5.js} +22 -22
  330. package/dist/chunks/{console-access-yr705xyq.js → rpc-yr705xyq.js} +1 -1
  331. package/dist/chunks/{console-access-ggepn5mm.js → rpc-z3tfgyrb.js} +35 -35
  332. package/dist/chunks/{console-access-2z8zdsha.js → rpc-z8a4mkdq.js} +9 -9
  333. package/dist/chunks/{console-access-j9nxzz3g.js → rpc-ze75qvmd.js} +3 -3
  334. package/dist/chunks/{console-access-0yw44t0m.js → rpc-zkr99nfe.js} +50 -50
  335. package/dist/chunks/{console-access-psbdk92v.js → rpc-zma0vbn5.js} +9 -9
  336. package/dist/chunks/{console-access-vcetbmbx.js → rpc-zmyya5j2.js} +13 -13
  337. package/dist/chunks/{console-access-r589q6tg.js → rpc-zr8knj2t.js} +175 -175
  338. package/dist/chunks/{console-access-pzkd2tbe.js → rpc-zrgf1q50.js} +8 -8
  339. package/dist/chunks/{console-access-963hk181.js → rpc-zyfhsknv.js} +9 -9
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +3 -3
  342. package/dist/codemode/fetch.js +145 -145
  343. package/dist/codemode/instructions.js +11 -11
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +94 -94
  346. package/dist/config/discovery.js +95 -95
  347. package/dist/config/integration.js +5 -5
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -112
  351. package/dist/config/plugin/agent.js +132 -132
  352. package/dist/config/plugin/command.js +231 -231
  353. package/dist/config/plugin/compaction.js +171 -171
  354. package/dist/config/plugin/compatibility.js +150 -150
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -131
  357. package/dist/config/plugin/image.js +130 -130
  358. package/dist/config/plugin/instruction.js +130 -130
  359. package/dist/config/plugin/location-watcher.js +132 -132
  360. package/dist/config/plugin/mcp.js +141 -141
  361. package/dist/config/plugin/policy.js +130 -130
  362. package/dist/config/plugin/provider.js +130 -130
  363. package/dist/config/plugin/reference.js +132 -132
  364. package/dist/config/plugin/shell.js +132 -132
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +130 -130
  369. package/dist/config/plugin/source.js +133 -133
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +131 -131
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +129 -129
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -94
  379. package/dist/database/database.js +81 -81
  380. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +13 -13
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +14 -14
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +1 -1
  455. package/dist/database/migration.gen.js +60 -60
  456. package/dist/database/migration.js +62 -62
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/sqlite.bun.js +1 -1
  461. package/dist/database/sqlite.js +1 -1
  462. package/dist/database/sqlite.node.js +1 -1
  463. package/dist/database/sqlite.workerd.js +1 -1
  464. package/dist/database/v1-migration.bun.js +108 -108
  465. package/dist/database/v1-migration.js +1 -1
  466. package/dist/effect/app-node-builder.js +430 -428
  467. package/dist/effect/app-node-platform.js +2 -2
  468. package/dist/effect/keyed-mutex.js +3 -3
  469. package/dist/effect/websocket-constructor.js +1 -1
  470. package/dist/environment/driver.js +1 -1
  471. package/dist/environment/environment.js +106 -106
  472. package/dist/environment/exec-defaults.js +2 -2
  473. package/dist/environment/files.js +1 -1
  474. package/dist/environment/index.js +108 -108
  475. package/dist/environment/local.js +2 -2
  476. package/dist/environment/memory.js +2 -2
  477. package/dist/environment/unavailable.js +3 -3
  478. package/dist/event/sql.js +1 -1
  479. package/dist/event-logger.js +85 -85
  480. package/dist/file-access.js +152 -152
  481. package/dist/file-mutation.js +107 -107
  482. package/dist/file-retention.js +1 -1
  483. package/dist/filesystem/fff.bun.js +2 -2
  484. package/dist/filesystem/fff.js +1 -1
  485. package/dist/filesystem/fff.node.js +2 -2
  486. package/dist/filesystem/fff.workerd.js +2 -2
  487. package/dist/filesystem/file-watch.js +91 -91
  488. package/dist/filesystem/location-watcher-policy.js +6 -6
  489. package/dist/filesystem/location-watcher.js +245 -245
  490. package/dist/filesystem/protected.js +1 -1
  491. package/dist/filesystem/search.js +112 -112
  492. package/dist/filesystem/watcher-binding.js +1 -1
  493. package/dist/filesystem/watcher.js +7 -7
  494. package/dist/filesystem.js +115 -115
  495. package/dist/form.js +93 -93
  496. package/dist/formatter/builtins.js +4 -4
  497. package/dist/formatter.js +100 -100
  498. package/dist/generate.js +120 -120
  499. package/dist/git.js +11 -11
  500. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  501. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  502. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  504. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  506. package/dist/github-copilot/copilot-provider.js +17 -17
  507. package/dist/github-copilot/models.js +112 -112
  508. package/dist/github-copilot/openai-compatible-error.js +1 -1
  509. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  510. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  511. package/dist/github-copilot/responses/openai-error.js +1 -1
  512. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  513. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  514. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  515. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  516. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  517. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  519. package/dist/image/notice.js +1 -1
  520. package/dist/image/photon-normalize.js +1 -1
  521. package/dist/image/photon-worker.js +1 -1
  522. package/dist/image/photon.js +4 -4
  523. package/dist/image.js +6 -6
  524. package/dist/instance/service.js +5 -5
  525. package/dist/instance.js +421 -419
  526. package/dist/instruction-discovery.js +95 -95
  527. package/dist/instructions/builtins.js +100 -100
  528. package/dist/instructions/index.js +3 -3
  529. package/dist/integration/connection.js +3 -3
  530. package/dist/integration.js +102 -102
  531. package/dist/job/sql.js +2 -2
  532. package/dist/job.js +88 -88
  533. package/dist/kv/sql.js +2 -2
  534. package/dist/kv.js +80 -80
  535. package/dist/location-activity.js +172 -172
  536. package/dist/location-lifecycle.js +150 -150
  537. package/dist/location-service-map.js +99 -99
  538. package/dist/location-services.js +418 -416
  539. package/dist/location.js +102 -102
  540. package/dist/managed-policy.js +3 -3
  541. package/dist/mcp/client.js +104 -104
  542. package/dist/mcp/index.js +114 -114
  543. package/dist/mcp/instructions.js +179 -179
  544. package/dist/mcp/oauth.js +89 -89
  545. package/dist/mcp/socket-client.js +1 -1
  546. package/dist/mcp/stdio.js +103 -103
  547. package/dist/mime.js +1 -1
  548. package/dist/modal/models.js +112 -112
  549. package/dist/model-resolver.js +110 -110
  550. package/dist/model-retry.js +1 -1
  551. package/dist/model.js +107 -107
  552. package/dist/models-dev/v1.js +1 -1
  553. package/dist/models-dev.js +121 -121
  554. package/dist/oauth/page.js +1 -1
  555. package/dist/permission/saved.js +89 -89
  556. package/dist/permission/sql.js +5 -5
  557. package/dist/permission.js +147 -147
  558. package/dist/persistent-pty/binary.bun.js +1 -1
  559. package/dist/persistent-pty/daemon.js +1 -1
  560. package/dist/persistent-pty/index.js +97 -97
  561. package/dist/persistent-pty/pty-binding.js +1 -1
  562. package/dist/persistent-pty.js +86 -86
  563. package/dist/plugin/agent.js +87 -87
  564. package/dist/plugin/command.js +115 -115
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +236 -236
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +3 -3
  570. package/dist/plugin/internal.js +397 -395
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +110 -110
  573. package/dist/plugin/module.js +129 -129
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +146 -146
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  578. package/dist/plugin/provider/azure.js +132 -130
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +130 -130
  581. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +145 -145
  591. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  592. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  601. package/dist/plugin/provider/claude-agent/session.js +112 -112
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  614. package/dist/plugin/provider/configured.js +126 -126
  615. package/dist/plugin/provider/credential-settings.js +85 -85
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +108 -106
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +110 -108
  620. package/dist/plugin/provider/gitlab.js +107 -107
  621. package/dist/plugin/provider/google-vertex.js +127 -127
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +139 -139
  625. package/dist/plugin/provider/local.js +136 -136
  626. package/dist/plugin/provider/modal.js +107 -105
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +139 -139
  630. package/dist/plugin/provider/openai-context-caps.js +103 -103
  631. package/dist/plugin/provider/openai.js +130 -130
  632. package/dist/plugin/provider/opencode.js +132 -132
  633. package/dist/plugin/provider/openrouter.js +104 -104
  634. package/dist/plugin/provider/poe.js +90 -90
  635. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  636. package/dist/plugin/provider/refresh.js +96 -0
  637. package/dist/plugin/provider/sap-ai-core.js +104 -104
  638. package/dist/plugin/provider/sdk-factory.js +1 -1
  639. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  640. package/dist/plugin/provider/vllm.js +139 -139
  641. package/dist/plugin/provider/xai.js +104 -104
  642. package/dist/plugin/provider/zenmux.js +1 -1
  643. package/dist/plugin/provider.js +212 -210
  644. package/dist/plugin/sdk.js +83 -83
  645. package/dist/plugin/service.js +3 -3
  646. package/dist/plugin/skill.js +149 -149
  647. package/dist/plugin/source-directory.js +1 -1
  648. package/dist/plugin/supervisor.js +409 -407
  649. package/dist/plugin/tool-input-repair.js +4 -4
  650. package/dist/plugin/update.js +6 -6
  651. package/dist/plugin/vcs/git.js +99 -99
  652. package/dist/plugin/vcs/hg.js +99 -99
  653. package/dist/plugin/verbosity.js +106 -106
  654. package/dist/plugin/warming.js +128 -128
  655. package/dist/plugin/websearch/exa.js +7 -7
  656. package/dist/plugin/websearch/firecrawl.js +8 -8
  657. package/dist/plugin/websearch/index.js +9 -9
  658. package/dist/plugin/websearch/mcp.js +4 -4
  659. package/dist/plugin/websearch/parallel.js +8 -8
  660. package/dist/plugin/websearch/tavily.js +6 -6
  661. package/dist/plugin/websearch/tinyfish.js +8 -8
  662. package/dist/plugin.js +245 -245
  663. package/dist/project/icon.js +5 -5
  664. package/dist/project/schema.js +8 -8
  665. package/dist/project/sql.js +4 -4
  666. package/dist/project.js +103 -103
  667. package/dist/provider.js +106 -106
  668. package/dist/pty/protocol.js +1 -1
  669. package/dist/pty/ticket.js +1 -1
  670. package/dist/pty.js +109 -109
  671. package/dist/reference/instructions.js +101 -101
  672. package/dist/reference.js +101 -101
  673. package/dist/repository-cache.js +93 -93
  674. package/dist/repository.js +1 -1
  675. package/dist/ripgrep/binary.js +2 -2
  676. package/dist/ripgrep.js +110 -110
  677. package/dist/rpc.js +99 -99
  678. package/dist/schedule/check.js +241 -241
  679. package/dist/schedule/sql.js +6 -6
  680. package/dist/schedule.js +255 -255
  681. package/dist/schema.js +1 -1
  682. package/dist/session/affinity.js +3 -3
  683. package/dist/session/background.js +1 -1
  684. package/dist/session/blob.js +129 -129
  685. package/dist/session/command.js +85 -85
  686. package/dist/session/compaction.js +173 -173
  687. package/dist/session/context.js +194 -194
  688. package/dist/session/diff.js +101 -101
  689. package/dist/session/environment.js +5 -5
  690. package/dist/session/error.js +5 -5
  691. package/dist/session/event.js +1 -1
  692. package/dist/session/execution/restart.js +239 -239
  693. package/dist/session/execution.js +159 -159
  694. package/dist/session/generate.js +198 -198
  695. package/dist/session/history.js +136 -136
  696. package/dist/session/inbox.js +147 -147
  697. package/dist/session/info.js +3 -3
  698. package/dist/session/instruction-entry.js +88 -88
  699. package/dist/session/instruction-state.js +8 -8
  700. package/dist/session/instructions.js +141 -141
  701. package/dist/session/message-updater.js +4 -4
  702. package/dist/session/message.js +1 -1
  703. package/dist/session/model-request.js +168 -168
  704. package/dist/session/model-transport.js +9 -9
  705. package/dist/session/move.js +165 -165
  706. package/dist/session/projector.js +143 -143
  707. package/dist/session/prompt.js +148 -148
  708. package/dist/session/recent-text.js +1 -1
  709. package/dist/session/revert.js +139 -139
  710. package/dist/session/run-coordinator.js +3 -3
  711. package/dist/session/runner/index.js +3 -3
  712. package/dist/session/runner/llm.js +250 -250
  713. package/dist/session/runner/max-steps.js +1 -1
  714. package/dist/session/runner/model.js +113 -113
  715. package/dist/session/runner/publish-llm-event.js +149 -149
  716. package/dist/session/runner/retry.js +5 -5
  717. package/dist/session/runner/step.js +163 -163
  718. package/dist/session/runner/to-llm-message.js +137 -137
  719. package/dist/session/schema.js +1 -1
  720. package/dist/session/session.js +179 -179
  721. package/dist/session/shell.js +146 -146
  722. package/dist/session/skill.js +149 -149
  723. package/dist/session/sql.js +5 -5
  724. package/dist/session/stats.js +86 -86
  725. package/dist/session/store.js +138 -138
  726. package/dist/session/stored.js +2 -2
  727. package/dist/session/subagent-completion.js +1 -1
  728. package/dist/session/subagent-job.js +229 -229
  729. package/dist/session/system-prompt.js +5 -5
  730. package/dist/session/title.js +202 -202
  731. package/dist/session/to-session-error.js +148 -148
  732. package/dist/session/transfer.js +241 -241
  733. package/dist/session/usage.js +1 -1
  734. package/dist/session.js +231 -231
  735. package/dist/shared-cache.js +16 -0
  736. package/dist/shell/parse.js +6 -6
  737. package/dist/shell/result.js +1 -1
  738. package/dist/shell/scan.js +1 -1
  739. package/dist/shell/select.js +13 -13
  740. package/dist/shell.js +146 -146
  741. package/dist/skill/discovery.js +6 -6
  742. package/dist/skill/instructions.js +147 -147
  743. package/dist/skill.js +152 -152
  744. package/dist/snapshot.js +104 -104
  745. package/dist/state.js +1 -1
  746. package/dist/tool/html-markdown.js +1 -1
  747. package/dist/tool/http-body.js +1 -1
  748. package/dist/tool/mcp.js +180 -180
  749. package/dist/tool/plugin/artifact.js +228 -228
  750. package/dist/tool/plugin/edit.js +164 -164
  751. package/dist/tool/plugin/file-diff.js +1 -1
  752. package/dist/tool/plugin/glob.js +168 -168
  753. package/dist/tool/plugin/grep.js +168 -168
  754. package/dist/tool/plugin/image-generate.js +239 -239
  755. package/dist/tool/plugin/mcp-resource.js +162 -162
  756. package/dist/tool/plugin/opencode.js +161 -161
  757. package/dist/tool/plugin/patch.js +166 -166
  758. package/dist/tool/plugin/question.js +146 -146
  759. package/dist/tool/plugin/read.js +169 -169
  760. package/dist/tool/plugin/schedule.js +247 -247
  761. package/dist/tool/plugin/shell.js +235 -235
  762. package/dist/tool/plugin/skill.js +157 -157
  763. package/dist/tool/plugin/subagent.js +234 -234
  764. package/dist/tool/plugin/todo.js +149 -149
  765. package/dist/tool/plugin/webfetch.js +155 -155
  766. package/dist/tool/plugin/websearch.js +155 -155
  767. package/dist/tool/plugin/write.js +166 -166
  768. package/dist/tool/read-filesystem.js +113 -113
  769. package/dist/tool/runtime.js +1 -1
  770. package/dist/tool-output.js +7 -7
  771. package/dist/tool.js +159 -159
  772. package/dist/types/github-copilot/models.d.ts +4 -3
  773. package/dist/types/modal/models.d.ts +27 -3
  774. package/dist/types/plugin/internal.d.ts +3 -2
  775. package/dist/types/plugin/provider/azure.d.ts +3 -2
  776. package/dist/types/plugin/provider/digitalocean.d.ts +2 -2
  777. package/dist/types/plugin/provider/github-copilot.d.ts +3 -2
  778. package/dist/types/plugin/provider/modal.d.ts +3 -2
  779. package/dist/types/plugin/provider/refresh.d.ts +35 -0
  780. package/dist/types/shared-cache.d.ts +30 -0
  781. package/dist/usage-limits.js +100 -100
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +5 -5
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +2 -2
  792. package/dist/v1/config/migrate.js +105 -105
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +1 -1
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +104 -104
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +101 -101
  801. package/dist/websearch.js +95 -95
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +88 -88
  804. package/dist/workspace/driver.js +7 -7
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +9 -9
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/console-access-addzk4np.js +0 -549
  814. package/dist/chunks/console-access-eft1qarn.js +0 -75
  815. package/dist/chunks/console-access-grzehpz7.js +0 -18
  816. package/dist/chunks/console-access-jrgc7hbw.js +0 -261
  817. package/dist/chunks/console-access-zdx7fb9m.js +0 -26
  818. /package/dist/chunks/{console-access-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{console-access-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{console-access-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  821. /package/dist/chunks/{console-access-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  822. /package/dist/chunks/{console-access-1kah00gy.js → rpc-1kah00gy.js} +0 -0
  823. /package/dist/chunks/{console-access-1pevy3nx.js → rpc-1pevy3nx.js} +0 -0
  824. /package/dist/chunks/{console-access-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  825. /package/dist/chunks/{console-access-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  826. /package/dist/chunks/{console-access-2bv980vf.js → rpc-2bv980vf.js} +0 -0
  827. /package/dist/chunks/{console-access-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  828. /package/dist/chunks/{console-access-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  829. /package/dist/chunks/{console-access-3asan66x.js → rpc-3asan66x.js} +0 -0
  830. /package/dist/chunks/{console-access-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  831. /package/dist/chunks/{console-access-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  832. /package/dist/chunks/{console-access-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  833. /package/dist/chunks/{console-access-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  834. /package/dist/chunks/{console-access-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
  835. /package/dist/chunks/{console-access-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  836. /package/dist/chunks/{console-access-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  837. /package/dist/chunks/{console-access-53557ph1.js → rpc-53557ph1.js} +0 -0
  838. /package/dist/chunks/{console-access-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  839. /package/dist/chunks/{console-access-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
  840. /package/dist/chunks/{console-access-6agm2x70.js → rpc-6agm2x70.js} +0 -0
  841. /package/dist/chunks/{console-access-6prwharc.js → rpc-6prwharc.js} +0 -0
  842. /package/dist/chunks/{console-access-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
  843. /package/dist/chunks/{console-access-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  844. /package/dist/chunks/{console-access-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  845. /package/dist/chunks/{console-access-7stb81gk.js → rpc-7stb81gk.js} +0 -0
  846. /package/dist/chunks/{console-access-822emrt2.js → rpc-822emrt2.js} +0 -0
  847. /package/dist/chunks/{console-access-84wd9syh.js → rpc-84wd9syh.js} +0 -0
  848. /package/dist/chunks/{console-access-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  849. /package/dist/chunks/{console-access-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  850. /package/dist/chunks/{console-access-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  851. /package/dist/chunks/{console-access-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  852. /package/dist/chunks/{console-access-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  853. /package/dist/chunks/{console-access-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  854. /package/dist/chunks/{console-access-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  855. /package/dist/chunks/{console-access-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  856. /package/dist/chunks/{console-access-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  857. /package/dist/chunks/{console-access-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  858. /package/dist/chunks/{console-access-beh6qq61.js → rpc-beh6qq61.js} +0 -0
  859. /package/dist/chunks/{console-access-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  860. /package/dist/chunks/{console-access-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  861. /package/dist/chunks/{console-access-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  862. /package/dist/chunks/{console-access-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
  863. /package/dist/chunks/{console-access-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  864. /package/dist/chunks/{console-access-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  865. /package/dist/chunks/{console-access-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  866. /package/dist/chunks/{console-access-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  867. /package/dist/chunks/{console-access-df08tz66.js → rpc-df08tz66.js} +0 -0
  868. /package/dist/chunks/{console-access-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  869. /package/dist/chunks/{console-access-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  870. /package/dist/chunks/{console-access-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  871. /package/dist/chunks/{console-access-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
  872. /package/dist/chunks/{console-access-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  873. /package/dist/chunks/{console-access-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  874. /package/dist/chunks/{console-access-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  875. /package/dist/chunks/{console-access-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  876. /package/dist/chunks/{console-access-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  877. /package/dist/chunks/{console-access-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  878. /package/dist/chunks/{console-access-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  879. /package/dist/chunks/{console-access-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
  880. /package/dist/chunks/{console-access-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  881. /package/dist/chunks/{console-access-g86h250q.js → rpc-g86h250q.js} +0 -0
  882. /package/dist/chunks/{console-access-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  883. /package/dist/chunks/{console-access-gftt206x.js → rpc-gftt206x.js} +0 -0
  884. /package/dist/chunks/{console-access-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
  885. /package/dist/chunks/{console-access-hk9envan.js → rpc-hk9envan.js} +0 -0
  886. /package/dist/chunks/{console-access-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  887. /package/dist/chunks/{console-access-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  888. /package/dist/chunks/{console-access-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  889. /package/dist/chunks/{console-access-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  890. /package/dist/chunks/{console-access-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  891. /package/dist/chunks/{console-access-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
  892. /package/dist/chunks/{console-access-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
  893. /package/dist/chunks/{console-access-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  894. /package/dist/chunks/{console-access-m18g726c.js → rpc-m18g726c.js} +0 -0
  895. /package/dist/chunks/{console-access-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  896. /package/dist/chunks/{console-access-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  897. /package/dist/chunks/{console-access-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  898. /package/dist/chunks/{console-access-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  899. /package/dist/chunks/{console-access-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
  900. /package/dist/chunks/{console-access-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  901. /package/dist/chunks/{console-access-nv2c5e9q.js → rpc-nv2c5e9q.js} +0 -0
  902. /package/dist/chunks/{console-access-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{console-access-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{console-access-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{console-access-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  906. /package/dist/chunks/{console-access-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{console-access-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{console-access-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{console-access-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{console-access-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{console-access-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{console-access-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{console-access-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{console-access-ty7weeps.js → rpc-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{console-access-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{console-access-vtarvj67.js → rpc-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{console-access-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{console-access-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{console-access-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{console-access-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{console-access-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{console-access-x61499pn.js → rpc-x61499pn.js} +0 -0
  923. /package/dist/chunks/{console-access-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  924. /package/dist/chunks/{console-access-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  925. /package/dist/chunks/{console-access-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  926. /package/dist/chunks/{console-access-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
  927. /package/dist/chunks/{console-access-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./console-access-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./console-access-2m7xespe.js";
6
+ } from "./rpc-nzmw8n1y.js";
7
7
  import {
8
8
  Slug2
9
- } from "./console-access-gebd4c9n.js";
9
+ } from "./rpc-gebd4c9n.js";
10
+ import {
11
+ Service90,
12
+ node93
13
+ } from "./rpc-nyf5hwvb.js";
10
14
  import {
11
15
  Service89,
12
16
  node92
13
- } from "./console-access-a2ahffqb.js";
14
- import {
15
- Service88,
16
- node91
17
- } from "./console-access-1qscqjay.js";
17
+ } from "./rpc-11kznhm7.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./console-access-034tev2y.js";
20
+ } from "./rpc-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./console-access-ayjs7tqn.js";
23
+ } from "./rpc-ayjs7tqn.js";
24
24
  import {
25
- ID21,
26
- NotFoundError14
27
- } from "./console-access-paxvx61h.js";
25
+ ID18,
26
+ NotFoundError13
27
+ } from "./rpc-fyp4nyd4.js";
28
28
  import {
29
- Ref5
30
- } from "./console-access-2hx07tg9.js";
29
+ Ref4
30
+ } from "./rpc-x771mf3a.js";
31
31
  import {
32
- Service70,
33
- node73
34
- } from "./console-access-t0agjpr5.js";
32
+ Service71,
33
+ node74
34
+ } from "./rpc-wbz71wqg.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./console-access-d4v9tmah.js";
38
+ } from "./rpc-d4v9tmah.js";
39
39
  import {
40
- Service20
41
- } from "./console-access-q0esk5my.js";
40
+ Service27
41
+ } from "./rpc-v8vsfr7j.js";
42
42
  import {
43
43
  __export
44
- } from "./console-access-9rqn6x4v.js";
44
+ } from "./rpc-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput5,
49
+ CreateInput: () => CreateInput4,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
53
- Info: () => Info7,
52
+ Event: () => Event6,
53
+ Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service19,
59
+ Service: () => Service26,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node22
64
+ node: () => node29
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput5 = Worktree.CreateInput;
76
+ var CreateInput4 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info7 = Worktree.Info;
78
+ var Info8 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID21, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event6 = Worktree.Event;
94
94
 
95
- class Service19 extends Context.Service()("@opencode/Worktree") {
95
+ class Service26 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service19, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const database = yield* Service89;
99
+ const database = yield* Service90;
100
100
  const db = database.db;
101
- const bus = yield* Service88;
101
+ const bus = yield* Service89;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service70;
103
+ const locations = yield* Service71;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError14({ projectID });
107
+ return yield* new NotFoundError13({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref5.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service20).get();
118
+ return Context.get(context, Service27).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event6.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service19.of({
249
+ return Service26.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node22 = Node.makeGlobalNode({
260
- service: Service19,
259
+ var node29 = Node.makeGlobalNode({
260
+ service: Service26,
261
261
  layer,
262
- deps: [FSUtil.node, node91, node92, AppProcess.node, node73]
262
+ deps: [FSUtil.node, node92, node93, AppProcess.node, node74]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput5, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service19, node22, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service26, node29, exports_worktree2, OperationError2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service83
3
- } from "./console-access-99qm7z8z.js";
2
+ Service88
3
+ } from "./rpc-ntxqw4zz.js";
4
4
  import {
5
- Service71
6
- } from "./console-access-rn7qapfp.js";
5
+ Service72
6
+ } from "./rpc-0ztp0khy.js";
7
7
  import {
8
8
  __export
9
- } from "./console-access-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin55,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description8,
20
- name: () => name15,
20
+ name: () => name16,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai/effect";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name15 = "question";
26
+ var name16 = "question";
27
27
  var description8 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin55 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service83;
57
- const permission = yield* Service71;
56
+ const forms = yield* Service88;
57
+ const permission = yield* Service72;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name15,
59
+ name: name16,
60
60
  options: { codemode: false },
61
61
  description: description8,
62
62
  input: Input16,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name15, description8, Input16, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
120
+ export { name16, description8, Input16, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./console-access-tx562g4s.js";
3
+ } from "./rpc-t9m5ffg7.js";
4
4
  import {
5
5
  __export
6
- } from "./console-access-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin25,
11
+ Plugin: () => Plugin3,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin25 = define({
32
+ var Plugin3 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin25 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin25 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin25, exports_tavily };
80
+ export { endpoint2, Plugin3, exports_tavily };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service77,
3
- node80
4
- } from "./console-access-jkjd442p.js";
2
+ Service78,
3
+ node81
4
+ } from "./rpc-89rb9xh3.js";
5
5
  import {
6
- Service85,
7
- node88
8
- } from "./console-access-2hx07tg9.js";
6
+ Service83,
7
+ node86
8
+ } from "./rpc-x771mf3a.js";
9
9
  import {
10
- Service76,
11
- node79
12
- } from "./console-access-21xrzm9k.js";
10
+ Service77,
11
+ node80
12
+ } from "./rpc-3mb214kb.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./console-access-6esdw8yj.js";
16
+ } from "./rpc-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./console-access-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: () => Service12,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node3
27
+ layer: () => layer8,
28
+ node: () => node14
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 Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
- const config = yield* Service76;
40
- const watcher = yield* Service77;
38
+ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
39
+ const config = yield* Service77;
40
+ const watcher = yield* Service78;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service85;
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 Service12.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: [node79, FSUtil.node, node80, node88]
73
+ var node14 = makeLocationNode({
74
+ service: Service12,
75
+ layer: layer8,
76
+ deps: [node80, FSUtil.node, node81, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service2,
80
- layer: Layer.succeed(Service2, Service2.of({
79
+ service: Service12,
80
+ layer: Layer.succeed(Service12, Service12.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
138
138
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
139
139
  }
140
140
 
141
- export { Service2, layer4, node3, empty2, exports_source };
141
+ export { Service12, layer8, node14, empty2, exports_source };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service76
4
- } from "./console-access-21xrzm9k.js";
3
+ Service77
4
+ } from "./rpc-3mb214kb.js";
5
5
  import {
6
- Service42
7
- } from "./console-access-3mx9hs70.js";
6
+ Service58
7
+ } from "./rpc-7pw3eeq7.js";
8
8
  import {
9
9
  observe2
10
- } from "./console-access-hpg1pkwy.js";
10
+ } from "./rpc-hpg1pkwy.js";
11
11
  import {
12
12
  __export
13
- } from "./console-access-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin4
19
+ Plugin: () => Plugin54
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin4 = define({
23
+ var Plugin54 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service76;
27
- const snapshot = yield* Service42;
26
+ const config = yield* Service77;
27
+ const snapshot = yield* Service58;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin4 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin4, exports_snapshot };
38
+ export { Plugin54, exports_snapshot };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./console-access-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./console-access-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service5,
11
+ Service: () => Service11,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node6
13
+ node: () => node13
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service5, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service5.of({
66
+ return Service11.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service5, node6, exports_discovery };
155
+ export { Service11, node13, exports_discovery };
@@ -1,34 +1,39 @@
1
1
  import {
2
2
  useragent2
3
- } from "./console-access-tx562g4s.js";
3
+ } from "./rpc-t9m5ffg7.js";
4
4
  import {
5
- Service88
6
- } from "./console-access-1qscqjay.js";
5
+ OAuth3
6
+ } from "./rpc-az3g39r9.js";
7
7
  import {
8
- OAuth3,
9
- Event20
10
- } from "./console-access-dyzex9k8.js";
8
+ key2
9
+ } from "./rpc-mzm8bzzq.js";
11
10
  import {
12
- ID18,
11
+ ID20,
13
12
  MethodID2
14
- } from "./console-access-11vmkxd0.js";
13
+ } from "./rpc-g5fnnx9z.js";
15
14
  import {
16
15
  ID17
17
- } from "./console-access-gsqbessg.js";
16
+ } from "./rpc-gcxh5vx1.js";
18
17
  import {
19
18
  ID16,
20
19
  Family2
21
- } from "./console-access-tcvxcnqs.js";
20
+ } from "./rpc-7tb32prv.js";
22
21
  import {
23
22
  bootstrap2
24
- } from "./console-access-yb20nhc3.js";
23
+ } from "./rpc-yb20nhc3.js";
24
+ import {
25
+ Service19
26
+ } from "./rpc-0z1kk8n9.js";
27
+ import {
28
+ start3
29
+ } from "./rpc-n66np8d1.js";
25
30
 
26
31
  // src/plugin/provider/digitalocean.ts
27
32
  import { define } from "@opencode/plugin/effect/plugin";
28
- import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
33
+ import { Clock, Deferred, Effect, Option, Schema } from "effect";
29
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
35
  var providerID = ID17.make("digitalocean");
31
- var integrationID = ID18.make("digitalocean");
36
+ var integrationID = ID20.make("digitalocean");
32
37
  var methodID = MethodID2.make("browser");
33
38
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
39
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,29 +121,36 @@ var oauth = {
116
121
  var DigitalOceanPlugin2 = define({
117
122
  id: "opencode.provider.digitalocean",
118
123
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service88;
124
+ const cache = yield* Service19;
120
125
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
- const loading = Semaphore.makeUnsafe(1);
122
- const loaded = { routers: [] };
123
- const load = Effect.fn("DigitalOceanPlugin.load")(function* () {
124
- const connection = yield* ctx.integration.connection.active(integrationID);
125
- const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
126
- return;
127
- })) : undefined;
128
- if (credential?.type !== "oauth" || credential.methodID !== methodID) {
129
- loaded.access = undefined;
130
- loaded.routers = [];
131
- return;
132
- }
133
- if (loaded.access !== credential.access) {
134
- loaded.access = credential.access;
135
- loaded.routers = [];
136
- }
137
- if (credential.expires !== 0 && credential.expires <= (yield* Clock.currentTimeMillis))
138
- return;
139
- const result = yield* http.execute(HttpClientRequest.get(routersEndpoint).pipe(HttpClientRequest.bearerToken(credential.access), HttpClientRequest.acceptJson, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RoutersResponse)), Effect.timeout("10 seconds"), Effect.catch((cause) => Effect.logWarning("failed to sync DigitalOcean routers", { cause }).pipe(Effect.as(undefined))));
140
- if (result)
141
- loaded.routers = result.model_routers;
126
+ const discovered = yield* start3({
127
+ integrationID,
128
+ initial: { routers: [] },
129
+ active: ctx.integration.connection.active(integrationID),
130
+ reload: ctx.provider.reload(),
131
+ load: Effect.fn("DigitalOceanPlugin.load")(function* (current, options) {
132
+ const connection = yield* ctx.integration.connection.active(integrationID);
133
+ const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
134
+ return;
135
+ })) : undefined;
136
+ if (!connection || credential?.type !== "oauth" || credential.methodID !== methodID)
137
+ return { connection, value: { routers: [] } };
138
+ const key = `digitalocean:${key2(connection)}`;
139
+ if (credential.expires !== 0 && credential.expires <= (yield* Clock.currentTimeMillis))
140
+ return { connection, value: current.key === key ? current : { key, routers: [] } };
141
+ const routers = yield* cache.get({
142
+ key,
143
+ ...options,
144
+ load: Effect.gen(function* () {
145
+ const latest = yield* ctx.integration.connection.resolve(connection);
146
+ if (latest?.type !== "oauth" || latest.methodID !== methodID)
147
+ return yield* Effect.fail(new Error("DigitalOcean connection has no OAuth credential"));
148
+ const response = yield* http.execute(HttpClientRequest.get(routersEndpoint).pipe(HttpClientRequest.bearerToken(latest.access), HttpClientRequest.acceptJson, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RoutersResponse)), Effect.timeout("10 seconds"));
149
+ return response.model_routers.toSorted((a, b) => a.name.localeCompare(b.name));
150
+ })
151
+ }).pipe(Effect.orElseSucceed(() => []));
152
+ return { connection, value: { key, routers } };
153
+ })
142
154
  });
143
155
  yield* ctx.integration.transform((draft) => {
144
156
  draft.method.update(oauth);
@@ -146,7 +158,7 @@ var DigitalOceanPlugin2 = define({
146
158
  yield* ctx.provider.transform((evt) => {
147
159
  if (!evt.get(providerID))
148
160
  return;
149
- for (const router of loaded.routers) {
161
+ for (const router of discovered.current.routers) {
150
162
  const id = `router:${router.name}`;
151
163
  if (evt.get(providerID)?.models.has(ID16.make(id)))
152
164
  continue;
@@ -158,9 +170,6 @@ var DigitalOceanPlugin2 = define({
158
170
  });
159
171
  }
160
172
  });
161
- const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
- yield* refresh().pipe(Effect.forkScoped);
164
173
  })
165
174
  });
166
175
  function listen(server) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./console-access-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/goal.ts
6
6
  var exports_goal = {};
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin35,
12
+ Plugin: () => Plugin17,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin35 = define({
105
+ var Plugin17 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin35, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin17, exports_goal };