@opencode/core 0.0.0-dev-669 → 0.0.0-dev-678

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +247 -247
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{file-access-xdnjwfb8.js → workspace-00b6wk7a.js} +11 -11
  9. package/dist/chunks/{file-access-vt4r9rmy.js → workspace-011jp90z.js} +9 -9
  10. package/dist/chunks/{file-access-034tev2y.js → workspace-034tev2y.js} +2 -2
  11. package/dist/chunks/{file-access-0kqhr9fh.js → workspace-0730n636.js} +30 -30
  12. package/dist/chunks/{file-access-tsrvdyqy.js → workspace-0cmpn9c6.js} +12 -12
  13. package/dist/chunks/{file-access-fznmdakp.js → workspace-0h8y3ex8.js} +4 -4
  14. package/dist/chunks/{file-access-9rgw5r30.js → workspace-0j6nkc2e.js} +16 -16
  15. package/dist/chunks/{file-access-0j7gp832.js → workspace-0j7gp832.js} +1 -1
  16. package/dist/chunks/{file-access-0ma9gw4f.js → workspace-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{file-access-hjeehjzr.js → workspace-0mk1tev8.js} +22 -22
  18. package/dist/chunks/{file-access-t46kjgcg.js → workspace-0ppn72gd.js} +8 -8
  19. package/dist/chunks/{file-access-xnfkjakw.js → workspace-0xa533gr.js} +11 -11
  20. package/dist/chunks/{file-access-6j9kfq4z.js → workspace-0xvkyzh7.js} +9 -9
  21. package/dist/chunks/{file-access-fccvjkbp.js → workspace-1303zeef.js} +9 -9
  22. package/dist/chunks/{file-access-1aqsckx4.js → workspace-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{file-access-cm849bt1.js → workspace-1bx7q8nr.js} +12 -12
  24. package/dist/chunks/{file-access-1ep2p91f.js → workspace-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{file-access-5c51ehhm.js → workspace-1mry7be8.js} +59 -59
  26. package/dist/chunks/{file-access-z3twg34m.js → workspace-1p5srj1c.js} +28 -28
  27. package/dist/chunks/{file-access-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{file-access-qf23cwjr.js → workspace-1z92vj22.js} +8 -8
  29. package/dist/chunks/{file-access-qfz6bxfd.js → workspace-20pht57w.js} +4 -4
  30. package/dist/chunks/{file-access-d529knt8.js → workspace-20zapttw.js} +11 -11
  31. package/dist/chunks/{file-access-dg5naf6e.js → workspace-229tvxdn.js} +4 -4
  32. package/dist/chunks/{file-access-q6shx8x8.js → workspace-2bkzfbsz.js} +28 -28
  33. package/dist/chunks/{file-access-52vbc9sz.js → workspace-2chrnrgg.js} +8 -8
  34. package/dist/chunks/{file-access-zfm3j6d6.js → workspace-2g7dwy4s.js} +13 -13
  35. package/dist/chunks/workspace-2jmkt892.js +26 -0
  36. package/dist/chunks/{file-access-gn6qas9s.js → workspace-2kedh6bd.js} +8 -8
  37. package/dist/chunks/{file-access-s7kyse9r.js → workspace-2kg89srt.js} +4 -4
  38. package/dist/chunks/{file-access-2azy8kv6.js → workspace-2kj7f5bg.js} +7 -7
  39. package/dist/chunks/{file-access-jxd6f16v.js → workspace-2r1es908.js} +4 -4
  40. package/dist/chunks/{file-access-hfw8pwg6.js → workspace-2ss4x588.js} +16 -16
  41. package/dist/chunks/{file-access-0wx31zef.js → workspace-2xs49srk.js} +11 -11
  42. package/dist/chunks/{file-access-73d30c8d.js → workspace-33wwkde5.js} +14 -14
  43. package/dist/chunks/{file-access-jkysd3d7.js → workspace-348fzt08.js} +26 -26
  44. package/dist/chunks/{file-access-n6444cc3.js → workspace-34zjd965.js} +2 -2
  45. package/dist/chunks/{file-access-15ztnm6h.js → workspace-37pk4rrs.js} +11 -11
  46. package/dist/chunks/{file-access-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{file-access-3nnrz6f6.js → workspace-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{file-access-z2f8dexb.js → workspace-3pf3v1ej.js} +4 -4
  49. package/dist/chunks/{file-access-2pnhf2fv.js → workspace-3ppfbg49.js} +9 -9
  50. package/dist/chunks/{file-access-40y6dtc2.js → workspace-40y6dtc2.js} +1 -1
  51. package/dist/chunks/{file-access-8qhc16gb.js → workspace-4a5d1rrj.js} +9 -9
  52. package/dist/chunks/{file-access-agfgpsgx.js → workspace-4bhv40mk.js} +7 -7
  53. package/dist/chunks/{file-access-4dx1dgte.js → workspace-4dx1dgte.js} +1 -1
  54. package/dist/chunks/{file-access-ya1387my.js → workspace-4h57hff9.js} +32 -32
  55. package/dist/chunks/{file-access-8p7kryx5.js → workspace-4kjn9ksr.js} +7 -7
  56. package/dist/chunks/{file-access-bj78ahtb.js → workspace-4krz84m7.js} +7 -7
  57. package/dist/chunks/{file-access-6rsf1dys.js → workspace-4nq527ny.js} +1 -1
  58. package/dist/chunks/{file-access-g1e2r5aa.js → workspace-4pw98qd4.js} +4 -4
  59. package/dist/chunks/{file-access-4pyp9zr9.js → workspace-4pyp9zr9.js} +1 -1
  60. package/dist/chunks/{file-access-3859rkhc.js → workspace-4trj2kny.js} +11 -11
  61. package/dist/chunks/{file-access-4v008n1t.js → workspace-4v008n1t.js} +1 -1
  62. package/dist/chunks/{file-access-h32cv9n9.js → workspace-4wvtc0e3.js} +4 -4
  63. package/dist/chunks/{file-access-7eccwfzj.js → workspace-50n8f5wq.js} +9 -9
  64. package/dist/chunks/{file-access-2vptjdd6.js → workspace-52ps0vwb.js} +13 -13
  65. package/dist/chunks/{file-access-tc8pgehs.js → workspace-54bjh6mf.js} +21 -21
  66. package/dist/chunks/{file-access-cjwy7mcr.js → workspace-55v12qa6.js} +11 -11
  67. package/dist/chunks/{file-access-h5590et4.js → workspace-5628et6m.js} +11 -11
  68. package/dist/chunks/{file-access-dfda5f3v.js → workspace-574s5hg6.js} +4 -4
  69. package/dist/chunks/{file-access-bgwjeeyb.js → workspace-5j59vfgn.js} +44 -44
  70. package/dist/chunks/{file-access-fc40xytx.js → workspace-5jgxv5yq.js} +13 -13
  71. package/dist/chunks/{file-access-aynzz71e.js → workspace-5kv53nmy.js} +6 -6
  72. package/dist/chunks/{file-access-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  73. package/dist/chunks/{file-access-8hrqjx95.js → workspace-5xt13vk8.js} +24 -24
  74. package/dist/chunks/{file-access-1yq9hg58.js → workspace-5zrxpy3q.js} +5 -5
  75. package/dist/chunks/{file-access-g0qgh6jn.js → workspace-62xw0mvt.js} +3 -3
  76. package/dist/chunks/{file-access-ezts94v4.js → workspace-63mjq513.js} +13 -13
  77. package/dist/chunks/{file-access-s2vxek9s.js → workspace-66w22gpr.js} +32 -32
  78. package/dist/chunks/{file-access-nn6tc4k4.js → workspace-6caf7qbs.js} +5 -5
  79. package/dist/chunks/{file-access-b86kpz8v.js → workspace-6d4rtfjy.js} +1 -1
  80. package/dist/chunks/{file-access-676638kc.js → workspace-6h7vsf3n.js} +3 -3
  81. package/dist/chunks/{file-access-qm1y40pa.js → workspace-6kjz2f4d.js} +16 -16
  82. package/dist/chunks/workspace-6pkp7j51.js +265 -0
  83. package/dist/chunks/{file-access-jh9q4qkg.js → workspace-6sg7v011.js} +2 -2
  84. package/dist/chunks/{file-access-82h2v3n9.js → workspace-6vtzmyfg.js} +11 -11
  85. package/dist/chunks/{file-access-0a7b4cn0.js → workspace-6w81cxr7.js} +23 -23
  86. package/dist/chunks/{file-access-ybws1qgk.js → workspace-6zps0eyt.js} +6 -6
  87. package/dist/chunks/{file-access-b0fy1v2h.js → workspace-75a2gs08.js} +1 -1
  88. package/dist/chunks/{file-access-k5j1jet1.js → workspace-79d2kzvn.js} +23 -23
  89. package/dist/chunks/{file-access-fesdrxr1.js → workspace-7ane29vr.js} +15 -15
  90. package/dist/chunks/{file-access-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{file-access-6pf6cnn4.js → workspace-7bs7td23.js} +10 -10
  92. package/dist/chunks/{file-access-6d8cn8kw.js → workspace-7d680rbb.js} +26 -26
  93. package/dist/chunks/{file-access-6ae9v3b9.js → workspace-7gm9k7ns.js} +7 -7
  94. package/dist/chunks/{file-access-7ac8xva7.js → workspace-7h3ekc0e.js} +7 -7
  95. package/dist/chunks/{file-access-1vtvbhan.js → workspace-7m9jtzqb.js} +13 -13
  96. package/dist/chunks/{file-access-7nqkf5r1.js → workspace-7nqkf5r1.js} +2 -2
  97. package/dist/chunks/{file-access-058709fy.js → workspace-7smtdct0.js} +12 -12
  98. package/dist/chunks/{file-access-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
  99. package/dist/chunks/{file-access-7weczvnd.js → workspace-7weczvnd.js} +1 -1
  100. package/dist/chunks/{file-access-61p0qzkt.js → workspace-7y4fptee.js} +22 -22
  101. package/dist/chunks/{file-access-775hqbnd.js → workspace-80mg3ag8.js} +3 -3
  102. package/dist/chunks/{file-access-dawyp82y.js → workspace-83bsjey4.js} +30 -30
  103. package/dist/chunks/{file-access-jk785kd8.js → workspace-83yvc02p.js} +25 -25
  104. package/dist/chunks/{file-access-23wtffjk.js → workspace-86xhc84s.js} +19 -19
  105. package/dist/chunks/{file-access-by4r3shq.js → workspace-87pdjwah.js} +11 -11
  106. package/dist/chunks/{file-access-89287pr7.js → workspace-89287pr7.js} +1 -1
  107. package/dist/chunks/{file-access-8b3vzgkx.js → workspace-8b3vzgkx.js} +1 -1
  108. package/dist/chunks/{file-access-5whx36p1.js → workspace-8cg7mtm3.js} +4 -4
  109. package/dist/chunks/{file-access-m7g3hjkg.js → workspace-8e8wqawb.js} +32 -32
  110. package/dist/chunks/{file-access-c0x1eb3d.js → workspace-8fq7ft0b.js} +10 -10
  111. package/dist/chunks/{file-access-z9z0mqmx.js → workspace-8fvyfs7w.js} +21 -21
  112. package/dist/chunks/{file-access-pkk56tyj.js → workspace-8h8e8n15.js} +13 -13
  113. package/dist/chunks/{file-access-fpt7fnns.js → workspace-8k3rmt1b.js} +4 -4
  114. package/dist/chunks/{file-access-sn5cqhzf.js → workspace-8kcs33zx.js} +3 -3
  115. package/dist/chunks/{file-access-8sxe6kv8.js → workspace-8sxe6kv8.js} +2 -2
  116. package/dist/chunks/{file-access-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
  117. package/dist/chunks/{file-access-fyshjpxs.js → workspace-8wxwsd5v.js} +38 -38
  118. package/dist/chunks/{file-access-8zv0xmg5.js → workspace-8zv0xmg5.js} +1 -1
  119. package/dist/chunks/{file-access-90zstvax.js → workspace-90zstvax.js} +1 -1
  120. package/dist/chunks/{file-access-f7n0dpqs.js → workspace-97j0qqrs.js} +28 -28
  121. package/dist/chunks/{file-access-k26mjjh3.js → workspace-9cn7jfar.js} +5 -5
  122. package/dist/chunks/{file-access-pgz0w21z.js → workspace-9j4v15dw.js} +4 -4
  123. package/dist/chunks/{file-access-g8cpsm86.js → workspace-9q4nq1c6.js} +38 -38
  124. package/dist/chunks/{file-access-88hz85sn.js → workspace-9x2qg9pq.js} +20 -20
  125. package/dist/chunks/{file-access-7ykwk5v8.js → workspace-9x9jzkyy.js} +28 -28
  126. package/dist/chunks/{file-access-an9r4h04.js → workspace-9ztwrape.js} +10 -10
  127. package/dist/chunks/{file-access-sg8eej2a.js → workspace-a26vdw7f.js} +17 -17
  128. package/dist/chunks/{file-access-hmc1gkc2.js → workspace-a4ww6fpm.js} +6 -6
  129. package/dist/chunks/{file-access-55p9gccj.js → workspace-ab8yzrrq.js} +19 -19
  130. package/dist/chunks/{file-access-v2a62t8q.js → workspace-aj5fgcv7.js} +3 -3
  131. package/dist/chunks/{file-access-mm1zb7mz.js → workspace-akee56p2.js} +14 -14
  132. package/dist/chunks/{file-access-hzwp3p45.js → workspace-ars90k0f.js} +6 -6
  133. package/dist/chunks/{file-access-d3v9vpe1.js → workspace-at45f4fp.js} +31 -31
  134. package/dist/chunks/{file-access-b1qja4p9.js → workspace-av6f822f.js} +32 -32
  135. package/dist/chunks/{file-access-ayjs7tqn.js → workspace-ayjs7tqn.js} +2 -2
  136. package/dist/chunks/{file-access-pcrw1sad.js → workspace-b6c5ggjb.js} +36 -36
  137. package/dist/chunks/{file-access-gew8ze7s.js → workspace-b6wxxw1y.js} +16 -16
  138. package/dist/chunks/{file-access-zqemv4z2.js → workspace-baxwm4d8.js} +12 -12
  139. package/dist/chunks/{file-access-g50yp3gf.js → workspace-bgd9s1ff.js} +25 -25
  140. package/dist/chunks/{file-access-vmxsyvj6.js → workspace-bhfd478d.js} +4 -4
  141. package/dist/chunks/{file-access-erbw1qef.js → workspace-bkv5etzs.js} +49 -49
  142. package/dist/chunks/{file-access-98rddy26.js → workspace-bm6a2y6s.js} +13 -13
  143. package/dist/chunks/{file-access-v30sqnv7.js → workspace-bma2xte4.js} +4 -4
  144. package/dist/chunks/{file-access-n1kvkb20.js → workspace-bmydr3hf.js} +27 -27
  145. package/dist/chunks/{file-access-1q07fp1w.js → workspace-bq5ppnsn.js} +7 -7
  146. package/dist/chunks/{file-access-xd9cc171.js → workspace-bstexjd6.js} +5 -5
  147. package/dist/chunks/{file-access-tvr4nxrr.js → workspace-bvh463d7.js} +17 -17
  148. package/dist/chunks/{file-access-zpdbqgja.js → workspace-by8ty0bx.js} +4 -4
  149. package/dist/chunks/{file-access-m9c8gm9a.js → workspace-bz0b2j3k.js} +20 -20
  150. package/dist/chunks/{file-access-v0t3z570.js → workspace-bzcevmya.js} +28 -28
  151. package/dist/chunks/{file-access-kkf9ha7x.js → workspace-c3zgdyby.js} +13 -13
  152. package/dist/chunks/{file-access-afnpkxtq.js → workspace-c4hrkxy0.js} +4 -4
  153. package/dist/chunks/{file-access-c7cw818c.js → workspace-c7cw818c.js} +2 -2
  154. package/dist/chunks/{file-access-0hq2244m.js → workspace-caqm80py.js} +4 -4
  155. package/dist/chunks/{file-access-f4jdp53b.js → workspace-ck76ea61.js} +19 -19
  156. package/dist/chunks/{file-access-nrfk0nvg.js → workspace-cppsts8r.js} +43 -43
  157. package/dist/chunks/{file-access-fk7e9h0q.js → workspace-cw7qf2q7.js} +14 -14
  158. package/dist/chunks/{file-access-cwrgdav8.js → workspace-cwrgdav8.js} +2 -2
  159. package/dist/chunks/{file-access-fjbaea66.js → workspace-cx0zpgej.js} +21 -21
  160. package/dist/chunks/{file-access-5zz1nskt.js → workspace-czxmwfdg.js} +18 -18
  161. package/dist/chunks/{file-access-8rgb2cvr.js → workspace-d390zwf3.js} +11 -11
  162. package/dist/chunks/{file-access-kh0hrg97.js → workspace-d4qb2rc3.js} +4 -4
  163. package/dist/chunks/{file-access-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
  164. package/dist/chunks/{file-access-vsjvk9v2.js → workspace-d6vvd2ec.js} +30 -30
  165. package/dist/chunks/{file-access-8zd1tjs9.js → workspace-d7m65cx1.js} +37 -37
  166. package/dist/chunks/{file-access-82m30djg.js → workspace-d8mebr7j.js} +11 -11
  167. package/dist/chunks/{file-access-5tfd77hf.js → workspace-dmrv1dmn.js} +7 -7
  168. package/dist/chunks/{file-access-4xwpmypg.js → workspace-drraqxvn.js} +21 -21
  169. package/dist/chunks/{file-access-dt77769w.js → workspace-dt77769w.js} +1 -1
  170. package/dist/chunks/{file-access-ry7kp2db.js → workspace-e71bb87j.js} +8 -8
  171. package/dist/chunks/{file-access-e834z07m.js → workspace-e834z07m.js} +1 -1
  172. package/dist/chunks/{file-access-gdqab8my.js → workspace-eck3pvym.js} +5 -5
  173. package/dist/chunks/{file-access-06zkvc0n.js → workspace-ehnbt8y2.js} +15 -15
  174. package/dist/chunks/{file-access-a44ywaxh.js → workspace-epey1acq.js} +3 -3
  175. package/dist/chunks/{file-access-eqw4pqj1.js → workspace-eqw4pqj1.js} +2 -2
  176. package/dist/chunks/{file-access-mehwr4w3.js → workspace-er3bpk3r.js} +24 -24
  177. package/dist/chunks/{file-access-tkadyq4q.js → workspace-etpy72cx.js} +21 -21
  178. package/dist/chunks/{file-access-v0xq60h7.js → workspace-ev9xz77x.js} +18 -18
  179. package/dist/chunks/{file-access-srprsw7e.js → workspace-evkchrw3.js} +10 -10
  180. package/dist/chunks/{file-access-rz744k4g.js → workspace-ewt6jbtx.js} +179 -179
  181. package/dist/chunks/{file-access-ayqnvdv4.js → workspace-f1r7qwst.js} +4 -4
  182. package/dist/chunks/{file-access-kzdam8c6.js → workspace-f4krjp8e.js} +7 -7
  183. package/dist/chunks/{file-access-mcss7ksz.js → workspace-f59t34pb.js} +29 -29
  184. package/dist/chunks/{file-access-m1srg405.js → workspace-f67n8emy.js} +5 -5
  185. package/dist/chunks/{file-access-rts5ga2t.js → workspace-fc9d0whs.js} +18 -18
  186. package/dist/chunks/{file-access-azqdag7d.js → workspace-fcrd7kek.js} +4 -4
  187. package/dist/chunks/{file-access-t7nfsnfr.js → workspace-fdczpx5s.js} +18 -18
  188. package/dist/chunks/{file-access-fffv3p7h.js → workspace-fffv3p7h.js} +1 -1
  189. package/dist/chunks/{file-access-ew4hsaft.js → workspace-fmsk93db.js} +8 -8
  190. package/dist/chunks/{file-access-be4byaya.js → workspace-fvxw9k0s.js} +87 -87
  191. package/dist/chunks/{file-access-qkc3z5ds.js → workspace-fwp9mfc9.js} +4 -4
  192. package/dist/chunks/{file-access-461hdc9j.js → workspace-g0m3yf2z.js} +21 -21
  193. package/dist/chunks/{file-access-0php2d2a.js → workspace-g5agcsak.js} +4 -4
  194. package/dist/chunks/{file-access-gbjdnr5j.js → workspace-gbjdnr5j.js} +2 -2
  195. package/dist/chunks/{file-access-qwaexfsf.js → workspace-gehtqm8z.js} +14 -14
  196. package/dist/chunks/{file-access-mbgrcnvh.js → workspace-gfcye9yw.js} +5 -5
  197. package/dist/chunks/{file-access-ghrv1g9c.js → workspace-ghrv1g9c.js} +1 -1
  198. package/dist/chunks/{file-access-k2cgm02r.js → workspace-gntnm11s.js} +24 -24
  199. package/dist/chunks/workspace-grzehpz7.js +18 -0
  200. package/dist/chunks/{file-access-408jzva5.js → workspace-gsybpqjy.js} +8 -8
  201. package/dist/chunks/{file-access-dd7hjca8.js → workspace-h1kc2mjq.js} +24 -24
  202. package/dist/chunks/{file-access-bfeaxn68.js → workspace-hgn89zd1.js} +31 -31
  203. package/dist/chunks/{file-access-fkegkvkw.js → workspace-hhwgthyv.js} +81 -81
  204. package/dist/chunks/{file-access-0qve5r99.js → workspace-hsfeb6dj.js} +15 -15
  205. package/dist/chunks/{file-access-gb8xhyq3.js → workspace-jcb0fr6q.js} +16 -16
  206. package/dist/chunks/{file-access-anvcme1c.js → workspace-jgd4e8e6.js} +4 -4
  207. package/dist/chunks/{file-access-1tewhfw6.js → workspace-jhgh1a0t.js} +8 -8
  208. package/dist/chunks/{file-access-jm70asfg.js → workspace-jm70asfg.js} +1 -1
  209. package/dist/chunks/{file-access-swkaaxzc.js → workspace-jn7865eg.js} +23 -23
  210. package/dist/chunks/{file-access-5v51mt63.js → workspace-k4h5p2ad.js} +6 -6
  211. package/dist/chunks/{file-access-pnxznnzn.js → workspace-ka5mw2jd.js} +2 -2
  212. package/dist/chunks/{file-access-tjmvm704.js → workspace-kdtpe2vy.js} +5 -5
  213. package/dist/chunks/{file-access-6an8kd06.js → workspace-kek3h0en.js} +11 -11
  214. package/dist/chunks/{file-access-pgyqv8me.js → workspace-kekqsqqd.js} +11 -11
  215. package/dist/chunks/{file-access-c6rk1913.js → workspace-kgab7tq0.js} +10 -10
  216. package/dist/chunks/{file-access-j376ae4e.js → workspace-knpbkrg7.js} +4 -4
  217. package/dist/chunks/{file-access-d91vn1sv.js → workspace-kp65zg9d.js} +6 -6
  218. package/dist/chunks/{file-access-jhsh5xsx.js → workspace-kqddg63j.js} +3 -3
  219. package/dist/chunks/{file-access-n8j3ekxt.js → workspace-kvhr5bb6.js} +12 -12
  220. package/dist/chunks/{file-access-exesxnwf.js → workspace-kvq38q23.js} +10 -10
  221. package/dist/chunks/{file-access-kzczzf4v.js → workspace-kzczzf4v.js} +1 -1
  222. package/dist/chunks/{file-access-m1714858.js → workspace-m1714858.js} +1 -1
  223. package/dist/chunks/{file-access-dntshq6m.js → workspace-m9py3t94.js} +86 -86
  224. package/dist/chunks/{file-access-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  225. package/dist/chunks/{file-access-mb7mbhnz.js → workspace-mb7mbhnz.js} +3 -3
  226. package/dist/chunks/{file-access-jsz4hbav.js → workspace-mcvncqkb.js} +11 -11
  227. package/dist/chunks/{file-access-61813k6e.js → workspace-mdt2ypdr.js} +10 -10
  228. package/dist/chunks/{file-access-dats8php.js → workspace-mjasb2yr.js} +23 -23
  229. package/dist/chunks/{file-access-xjbsd7zy.js → workspace-mjrcsjpa.js} +9 -9
  230. package/dist/chunks/{file-access-mm06edep.js → workspace-mm06edep.js} +1 -1
  231. package/dist/chunks/{file-access-35twpycj.js → workspace-mp62b2pv.js} +18 -18
  232. package/dist/chunks/{file-access-fxn7xz16.js → workspace-mxhhacq2.js} +26 -26
  233. package/dist/chunks/{file-access-n3j33rb6.js → workspace-n3j33rb6.js} +1 -1
  234. package/dist/chunks/{file-access-cemzghn6.js → workspace-n5ft8qmj.js} +53 -53
  235. package/dist/chunks/{file-access-zdv5v0qn.js → workspace-n6vj9dqb.js} +6 -6
  236. package/dist/chunks/{file-access-kf35b9hs.js → workspace-n7q0hate.js} +11 -11
  237. package/dist/chunks/{file-access-pyc3gczw.js → workspace-nchw3v9s.js} +5 -5
  238. package/dist/chunks/{file-access-0zjz6pjc.js → workspace-p44ynsf9.js} +11 -11
  239. package/dist/chunks/{file-access-xkg0zvw0.js → workspace-p6qk19qa.js} +6 -6
  240. package/dist/chunks/{file-access-sy3sznj2.js → workspace-p7ra6mek.js} +45 -45
  241. package/dist/chunks/{file-access-pqs67trp.js → workspace-pa1as6qa.js} +27 -27
  242. package/dist/chunks/{file-access-s1ba0vj0.js → workspace-pah254n3.js} +4 -4
  243. package/dist/chunks/{file-access-p030t5sn.js → workspace-pb94tfqt.js} +9 -9
  244. package/dist/chunks/{file-access-6j4t8a0j.js → workspace-pfqw83hm.js} +2 -2
  245. package/dist/chunks/{file-access-56n39fx5.js → workspace-ph2g2emk.js} +12 -12
  246. package/dist/chunks/{file-access-2wqm2j4k.js → workspace-pk123et4.js} +40 -40
  247. package/dist/chunks/{file-access-pknna89w.js → workspace-pknna89w.js} +1 -1
  248. package/dist/chunks/{file-access-fg9p65nk.js → workspace-prq7xxp2.js} +6 -6
  249. package/dist/chunks/{file-access-p9jmt18g.js → workspace-pz5w5yg9.js} +8 -8
  250. package/dist/chunks/{file-access-0a8vamr5.js → workspace-q2ewgeb1.js} +3 -3
  251. package/dist/chunks/{file-access-1a8v1gv3.js → workspace-q4svz67e.js} +19 -19
  252. package/dist/chunks/{file-access-td1eznyc.js → workspace-q63wdnth.js} +21 -21
  253. package/dist/chunks/{file-access-234c6vvf.js → workspace-q93jpgmj.js} +47 -47
  254. package/dist/chunks/{file-access-n5yavzak.js → workspace-qctjb626.js} +7 -7
  255. package/dist/chunks/{file-access-k5z9zggz.js → workspace-qdr4rq3e.js} +31 -31
  256. package/dist/chunks/{file-access-5fkx2vhc.js → workspace-qfvbtd9b.js} +29 -29
  257. package/dist/chunks/{file-access-rmv7fhs4.js → workspace-qnqasnye.js} +6 -6
  258. package/dist/chunks/{file-access-qp7r0hxv.js → workspace-qp7r0hxv.js} +1 -1
  259. package/dist/chunks/workspace-qs96j4t3.js +571 -0
  260. package/dist/chunks/{file-access-r0x1pt2g.js → workspace-qsbb99wt.js} +26 -26
  261. package/dist/chunks/{file-access-qsdghx1p.js → workspace-qsdghx1p.js} +1 -1
  262. package/dist/chunks/{file-access-c4txmr09.js → workspace-qz5h613z.js} +7 -7
  263. package/dist/chunks/{file-access-4f25tdd0.js → workspace-r542h3bh.js} +5 -5
  264. package/dist/chunks/{file-access-tx7xb0a1.js → workspace-r74kddvb.js} +26 -26
  265. package/dist/chunks/{file-access-nr9yy66d.js → workspace-r9ywparb.js} +7 -7
  266. package/dist/chunks/{file-access-kmzgegqq.js → workspace-ra6js1h8.js} +8 -8
  267. package/dist/chunks/{file-access-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
  268. package/dist/chunks/{file-access-rgc9cx3e.js → workspace-rgc9cx3e.js} +2 -2
  269. package/dist/chunks/{file-access-q426c1dc.js → workspace-rhd7v640.js} +33 -33
  270. package/dist/chunks/{file-access-kncwe4xz.js → workspace-rke42rrk.js} +2 -2
  271. package/dist/chunks/{file-access-rt5dr6hb.js → workspace-rt5dr6hb.js} +1 -1
  272. package/dist/chunks/{file-access-96djdqw5.js → workspace-rtb1tmc5.js} +7 -7
  273. package/dist/chunks/{file-access-v4fxzgcf.js → workspace-rxg3th5z.js} +14 -14
  274. package/dist/chunks/{file-access-4b8d6c44.js → workspace-s4286pke.js} +25 -25
  275. package/dist/chunks/{file-access-sa3fpqfw.js → workspace-sa3fpqfw.js} +2 -2
  276. package/dist/chunks/{file-access-sbya78hr.js → workspace-sbya78hr.js} +1 -1
  277. package/dist/chunks/{file-access-ys4nc8f2.js → workspace-scpjtdd8.js} +60 -60
  278. package/dist/chunks/{file-access-1yqe7xgw.js → workspace-see2tnqp.js} +14 -14
  279. package/dist/chunks/{file-access-svfjtheb.js → workspace-sv6ega32.js} +42 -42
  280. package/dist/chunks/{file-access-rj7jtxy8.js → workspace-sv909n4y.js} +3 -3
  281. package/dist/chunks/{file-access-svcy3p9a.js → workspace-svcy3p9a.js} +1 -1
  282. package/dist/chunks/{file-access-waedsdtd.js → workspace-sy24fjas.js} +20 -20
  283. package/dist/chunks/{file-access-6bcwq14n.js → workspace-t3qgac3j.js} +5 -5
  284. package/dist/chunks/{file-access-vre17ymf.js → workspace-t521gf9q.js} +9 -9
  285. package/dist/chunks/{file-access-bys6f9s7.js → workspace-t8erkws8.js} +5 -5
  286. package/dist/chunks/{file-access-fkqs5xn0.js → workspace-taqgwch1.js} +31 -31
  287. package/dist/chunks/{file-access-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
  288. package/dist/chunks/{file-access-gxs71cxp.js → workspace-tg7s7b5t.js} +4 -4
  289. package/dist/chunks/{file-access-hq2b0vrf.js → workspace-tjyq3t2b.js} +49 -49
  290. package/dist/chunks/{file-access-nxangwgq.js → workspace-tp10xhh7.js} +7 -7
  291. package/dist/chunks/{file-access-nrnc8hk6.js → workspace-tp49b57m.js} +8 -8
  292. package/dist/chunks/workspace-tt9rk80g.js +16 -0
  293. package/dist/chunks/{file-access-twssxy5n.js → workspace-twssxy5n.js} +2 -2
  294. package/dist/chunks/{file-access-tp7eahw9.js → workspace-v0emb7vt.js} +20 -20
  295. package/dist/chunks/{file-access-xds81p3n.js → workspace-v2bkhstg.js} +5 -5
  296. package/dist/chunks/{file-access-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
  297. package/dist/chunks/{file-access-1r4spm6j.js → workspace-v31c066e.js} +19 -19
  298. package/dist/chunks/{file-access-dtrrxc61.js → workspace-v37bc009.js} +3 -3
  299. package/dist/chunks/{file-access-te8498dn.js → workspace-v7bhfc4q.js} +42 -42
  300. package/dist/chunks/{file-access-b8kb0jc9.js → workspace-vam0z8fa.js} +18 -18
  301. package/dist/chunks/{file-access-kvm2d91k.js → workspace-vdbfgpn3.js} +5 -5
  302. package/dist/chunks/{file-access-kg1rk2qk.js → workspace-ve7y5qbm.js} +28 -28
  303. package/dist/chunks/{file-access-sbz71ybr.js → workspace-vg0erq9k.js} +3 -3
  304. package/dist/chunks/{file-access-vjf35v1f.js → workspace-vjf35v1f.js} +1 -1
  305. package/dist/chunks/{file-access-mfb75177.js → workspace-vn84zkq5.js} +4 -4
  306. package/dist/chunks/{file-access-p4s65b19.js → workspace-vqacqe03.js} +10 -10
  307. package/dist/chunks/{file-access-83d4jrxa.js → workspace-vwdcswbs.js} +12 -12
  308. package/dist/chunks/{file-access-40za9wsf.js → workspace-w2eysc6j.js} +9 -9
  309. package/dist/chunks/{file-access-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{file-access-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{file-access-wd87259q.js → workspace-wd87259q.js} +1 -1
  312. package/dist/chunks/{file-access-wegkxhrn.js → workspace-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{file-access-3qgwywyc.js → workspace-wfs84ra6.js} +4 -4
  314. package/dist/chunks/{file-access-pdghdwt7.js → workspace-wmhg6hg6.js} +13 -13
  315. package/dist/chunks/{file-access-wnhgecwx.js → workspace-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{file-access-42nwc92a.js → workspace-wv40mmeb.js} +3 -3
  317. package/dist/chunks/{file-access-wvr8xscb.js → workspace-wvr8xscb.js} +1 -1
  318. package/dist/chunks/{file-access-np1c8pfb.js → workspace-ww60k523.js} +22 -22
  319. package/dist/chunks/{file-access-dgxvmcdk.js → workspace-ww75070p.js} +16 -16
  320. package/dist/chunks/{file-access-38tfb193.js → workspace-x3dwxgt2.js} +26 -26
  321. package/dist/chunks/{file-access-df77ttde.js → workspace-x7p9qjep.js} +27 -27
  322. package/dist/chunks/{file-access-60j8t7cp.js → workspace-xjksw0pd.js} +7 -7
  323. package/dist/chunks/{file-access-k76kw1ec.js → workspace-xjvm1wye.js} +43 -43
  324. package/dist/chunks/{file-access-gqfe7nrd.js → workspace-xxdzcxzw.js} +19 -19
  325. package/dist/chunks/{file-access-t54kw4zq.js → workspace-xxschbft.js} +7 -7
  326. package/dist/chunks/{file-access-fzer2hyr.js → workspace-y2ptcyja.js} +30 -30
  327. package/dist/chunks/{file-access-xk6kfmxk.js → workspace-y3qe1we7.js} +8 -8
  328. package/dist/chunks/{file-access-y1k18859.js → workspace-y49z93ap.js} +19 -19
  329. package/dist/chunks/{file-access-y7y602s7.js → workspace-y9hckaaa.js} +6 -6
  330. package/dist/chunks/{file-access-99rcw2f2.js → workspace-ya4qwqg1.js} +25 -25
  331. package/dist/chunks/{file-access-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{file-access-8rakv8pv.js → workspace-yey25jw1.js} +8 -8
  333. package/dist/chunks/{file-access-c5hzmnk3.js → workspace-yfwmymrp.js} +12 -12
  334. package/dist/chunks/{file-access-yr705xyq.js → workspace-yr705xyq.js} +1 -1
  335. package/dist/chunks/{file-access-yybgvvmq.js → workspace-yts2a8qm.js} +4 -4
  336. package/dist/chunks/{file-access-yvtc2x31.js → workspace-yvtc2x31.js} +1 -1
  337. package/dist/chunks/{file-access-aeywt1sb.js → workspace-yyjn20hv.js} +11 -11
  338. package/dist/chunks/{file-access-dqm4211d.js → workspace-z0jv2kcw.js} +11 -11
  339. package/dist/chunks/{file-access-ctzz3pbe.js → workspace-z2dpjp0f.js} +4 -4
  340. package/dist/chunks/{file-access-a67wznky.js → workspace-z3eg134k.js} +15 -15
  341. package/dist/chunks/{file-access-gs6qbkcv.js → workspace-z522rwm8.js} +32 -32
  342. package/dist/chunks/{file-access-p7ff7khe.js → workspace-z9w7d102.js} +24 -24
  343. package/dist/chunks/{file-access-j9nxzz3g.js → workspace-ze75qvmd.js} +3 -3
  344. package/dist/chunks/{file-access-xz9tqgyz.js → workspace-zf9t0rg5.js} +8 -8
  345. package/dist/chunks/{file-access-rn6817b0.js → workspace-zg47tsk2.js} +9 -9
  346. package/dist/chunks/{file-access-bwrsmx9p.js → workspace-zjcx5m3z.js} +9 -9
  347. package/dist/chunks/{file-access-4q5kx77g.js → workspace-znvmg0xb.js} +6 -6
  348. package/dist/chunks/{file-access-wfg1w5j6.js → workspace-zxzphe8d.js} +15 -15
  349. package/dist/codemode/catalog.js +1 -1
  350. package/dist/codemode/execution.js +5 -5
  351. package/dist/codemode/fetch.js +146 -146
  352. package/dist/codemode/instructions.js +7 -7
  353. package/dist/codemode/tool.js +152 -152
  354. package/dist/command.js +96 -96
  355. package/dist/config/discovery.js +95 -95
  356. package/dist/config/integration.js +3 -3
  357. package/dist/config/managed.js +1 -1
  358. package/dist/config/markdown.js +1 -1
  359. package/dist/config/normalize.js +112 -112
  360. package/dist/config/plugin/agent.js +133 -133
  361. package/dist/config/plugin/command.js +239 -239
  362. package/dist/config/plugin/compaction.js +172 -172
  363. package/dist/config/plugin/compatibility.js +151 -151
  364. package/dist/config/plugin/entry-observer.js +1 -1
  365. package/dist/config/plugin/formatter.js +131 -131
  366. package/dist/config/plugin/image.js +130 -130
  367. package/dist/config/plugin/instruction.js +130 -130
  368. package/dist/config/plugin/location-watcher.js +130 -130
  369. package/dist/config/plugin/mcp.js +145 -145
  370. package/dist/config/plugin/policy.js +130 -130
  371. package/dist/config/plugin/provider.js +130 -130
  372. package/dist/config/plugin/reference.js +132 -132
  373. package/dist/config/plugin/shell.js +130 -130
  374. package/dist/config/plugin/skill-file.js +147 -147
  375. package/dist/config/plugin/skill-scan.js +1 -1
  376. package/dist/config/plugin/skill.js +154 -154
  377. package/dist/config/plugin/snapshot.js +130 -130
  378. package/dist/config/plugin/source.js +134 -134
  379. package/dist/config/plugin/tool-output.js +131 -131
  380. package/dist/config/plugin/websearch.js +129 -129
  381. package/dist/config/plugin/worktree.js +132 -132
  382. package/dist/config/variable.js +1 -1
  383. package/dist/config/watch.js +1 -1
  384. package/dist/config.js +135 -135
  385. package/dist/console-access.js +7 -7
  386. package/dist/credential/sql.js +2 -2
  387. package/dist/credential.js +92 -92
  388. package/dist/database/batch.js +1 -1
  389. package/dist/database/database.js +77 -77
  390. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  391. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  393. package/dist/database/drizzle/index.js +15 -15
  394. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  397. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  404. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  405. package/dist/database/drizzle.js +16 -16
  406. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  407. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  408. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  409. package/dist/database/migration/20260225215848_workspace.js +1 -1
  410. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  411. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  412. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  413. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  414. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  415. package/dist/database/migration/20260323234822_events.js +1 -1
  416. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  417. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  418. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  419. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  420. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  421. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  422. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  423. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  424. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  425. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  426. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  427. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  428. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  429. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  430. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  431. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  432. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  433. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  434. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  435. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  436. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  437. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  438. package/dist/database/migration/20260611035744_credential.js +1 -1
  439. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  440. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  441. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  442. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  443. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  444. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  445. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  446. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  447. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  448. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  449. package/dist/database/migration/20260812213948_worktree.js +1 -1
  450. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  451. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  452. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  453. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  454. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  455. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  456. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  457. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  458. package/dist/database/migration/20261025123711_blob.js +1 -1
  459. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  460. package/dist/database/migration/20261026223005_schedule.js +1 -1
  461. package/dist/database/migration/20261029002625_session_part.js +1 -1
  462. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  463. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  464. package/dist/database/migration/20261030054400_job.js +1 -1
  465. package/dist/database/migration.gen.js +60 -60
  466. package/dist/database/migration.js +76 -76
  467. package/dist/database/path.js +2 -2
  468. package/dist/database/schema.gen.js +1 -1
  469. package/dist/database/schema.sql.js +1 -1
  470. package/dist/database/v1-migration.bun.js +103 -103
  471. package/dist/database/v1-migration.js +1 -1
  472. package/dist/effect/app-node-builder.js +439 -439
  473. package/dist/effect/app-node-platform.js +2 -2
  474. package/dist/effect/keyed-mutex.js +3 -3
  475. package/dist/effect/websocket-constructor.js +1 -1
  476. package/dist/environment/driver.js +1 -1
  477. package/dist/environment/environment.js +105 -105
  478. package/dist/environment/exec-defaults.js +2 -2
  479. package/dist/environment/files.js +1 -1
  480. package/dist/environment/index.js +107 -107
  481. package/dist/environment/local.js +2 -2
  482. package/dist/environment/memory.js +2 -2
  483. package/dist/environment/unavailable.js +3 -3
  484. package/dist/event/sql.js +1 -1
  485. package/dist/event-logger.js +81 -81
  486. package/dist/file-access.js +158 -158
  487. package/dist/file-mutation.js +108 -108
  488. package/dist/file-retention.js +1 -1
  489. package/dist/file-write.js +162 -162
  490. package/dist/filesystem/fff.bun.js +2 -2
  491. package/dist/filesystem/fff.js +1 -1
  492. package/dist/filesystem/fff.node.js +2 -2
  493. package/dist/filesystem/fff.workerd.js +2 -2
  494. package/dist/filesystem/file-watch.js +88 -88
  495. package/dist/filesystem/location-watcher-policy.js +6 -6
  496. package/dist/filesystem/location-watcher.js +250 -250
  497. package/dist/filesystem/protected.js +1 -1
  498. package/dist/filesystem/search.js +113 -113
  499. package/dist/filesystem/watcher-binding.js +1 -1
  500. package/dist/filesystem/watcher.js +11 -11
  501. package/dist/filesystem.js +118 -118
  502. package/dist/form.js +95 -95
  503. package/dist/formatter/builtins.js +4 -4
  504. package/dist/formatter.js +100 -100
  505. package/dist/generate.js +120 -120
  506. package/dist/git.js +11 -11
  507. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  508. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  509. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  510. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  511. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  513. package/dist/github-copilot/copilot-provider.js +17 -17
  514. package/dist/github-copilot/models.js +112 -112
  515. package/dist/github-copilot/openai-compatible-error.js +1 -1
  516. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  517. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  518. package/dist/github-copilot/responses/openai-error.js +1 -1
  519. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  520. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  521. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  522. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  523. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  524. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  525. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  526. package/dist/image/notice.js +1 -1
  527. package/dist/image/photon-normalize.js +1 -1
  528. package/dist/image/photon-worker.js +1 -1
  529. package/dist/image/photon.js +4 -4
  530. package/dist/image.js +6 -6
  531. package/dist/instance/service.js +5 -5
  532. package/dist/instance.js +430 -430
  533. package/dist/instruction-discovery.js +97 -97
  534. package/dist/instructions/builtins.js +100 -100
  535. package/dist/instructions/index.js +1 -1
  536. package/dist/integration/connection.js +3 -3
  537. package/dist/integration.js +100 -100
  538. package/dist/job/list.js +5 -5
  539. package/dist/job/recovery.js +2 -2
  540. package/dist/job/sql.js +2 -2
  541. package/dist/job.js +90 -90
  542. package/dist/kv/sql.js +2 -2
  543. package/dist/kv.js +84 -84
  544. package/dist/location-activity.js +179 -179
  545. package/dist/location-lifecycle.js +151 -151
  546. package/dist/location-service-map.js +99 -99
  547. package/dist/location-services.js +427 -427
  548. package/dist/location.js +100 -100
  549. package/dist/managed-policy.js +3 -3
  550. package/dist/mcp/client.js +156 -156
  551. package/dist/mcp/connection.js +106 -106
  552. package/dist/mcp/index.js +126 -126
  553. package/dist/mcp/instructions.js +186 -186
  554. package/dist/mcp/oauth.js +89 -89
  555. package/dist/mcp/pool.js +112 -112
  556. package/dist/mcp/socket-client.js +1 -1
  557. package/dist/mcp/stdio.js +155 -155
  558. package/dist/mime.js +1 -1
  559. package/dist/modal/models.js +112 -112
  560. package/dist/model-resolver.js +110 -110
  561. package/dist/model-retry.js +1 -1
  562. package/dist/model.js +111 -111
  563. package/dist/models-dev/v1.js +1 -1
  564. package/dist/models-dev.js +109 -109
  565. package/dist/oauth/page.js +1 -1
  566. package/dist/permission/saved.js +89 -89
  567. package/dist/permission/sql.js +5 -5
  568. package/dist/permission.js +152 -152
  569. package/dist/persistent-pty/binary.bun.js +1 -1
  570. package/dist/persistent-pty/daemon.js +1 -1
  571. package/dist/persistent-pty/index.js +101 -101
  572. package/dist/persistent-pty/pty-binding.js +1 -1
  573. package/dist/persistent-pty.js +86 -86
  574. package/dist/plugin/agent.js +87 -87
  575. package/dist/plugin/command.js +119 -119
  576. package/dist/plugin/goal.js +3 -3
  577. package/dist/plugin/hooks.js +5 -5
  578. package/dist/plugin/host.js +243 -243
  579. package/dist/plugin/identity.js +5 -5
  580. package/dist/plugin/instance.js +5 -5
  581. package/dist/plugin/internal.js +408 -408
  582. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  583. package/dist/plugin/models-dev.js +110 -110
  584. package/dist/plugin/module.js +129 -129
  585. package/dist/plugin/optimize.js +2 -2
  586. package/dist/plugin/plan.js +147 -147
  587. package/dist/plugin/promise.js +1 -1
  588. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  589. package/dist/plugin/provider/azure.js +133 -133
  590. package/dist/plugin/provider/cerebras.js +1 -1
  591. package/dist/plugin/provider/chatgpt.js +133 -133
  592. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  593. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  594. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  598. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  600. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  601. package/dist/plugin/provider/claude-agent/index.js +148 -148
  602. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  603. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  604. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  605. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  606. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  607. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  608. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  609. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  610. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  611. package/dist/plugin/provider/claude-agent/provider.js +112 -112
  612. package/dist/plugin/provider/claude-agent/session.js +112 -112
  613. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  614. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  615. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  616. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  617. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  619. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  623. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  624. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  625. package/dist/plugin/provider/configured.js +126 -126
  626. package/dist/plugin/provider/credential-settings.js +88 -88
  627. package/dist/plugin/provider/databricks.js +1 -1
  628. package/dist/plugin/provider/digitalocean.js +109 -109
  629. package/dist/plugin/provider/dynamic.js +2 -2
  630. package/dist/plugin/provider/github-copilot.js +111 -111
  631. package/dist/plugin/provider/gitlab.js +109 -109
  632. package/dist/plugin/provider/google-vertex.js +127 -127
  633. package/dist/plugin/provider/kilo.js +1 -1
  634. package/dist/plugin/provider/llmgateway.js +89 -89
  635. package/dist/plugin/provider/lmstudio.js +140 -140
  636. package/dist/plugin/provider/local.js +137 -137
  637. package/dist/plugin/provider/modal.js +108 -108
  638. package/dist/plugin/provider/neon.js +1 -1
  639. package/dist/plugin/provider/nvidia.js +1 -1
  640. package/dist/plugin/provider/ollama.js +140 -140
  641. package/dist/plugin/provider/openai-context-caps.js +106 -106
  642. package/dist/plugin/provider/openai.js +133 -133
  643. package/dist/plugin/provider/opencode.js +158 -158
  644. package/dist/plugin/provider/openrouter.js +104 -104
  645. package/dist/plugin/provider/poe.js +90 -90
  646. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  647. package/dist/plugin/provider/refresh.js +87 -87
  648. package/dist/plugin/provider/sap-ai-core.js +104 -104
  649. package/dist/plugin/provider/sdk-factory.js +1 -1
  650. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  651. package/dist/plugin/provider/vllm.js +140 -140
  652. package/dist/plugin/provider/xai.js +104 -104
  653. package/dist/plugin/provider/zenmux.js +1 -1
  654. package/dist/plugin/provider.js +236 -236
  655. package/dist/plugin/sdk.js +87 -87
  656. package/dist/plugin/service.js +3 -3
  657. package/dist/plugin/skill.js +150 -150
  658. package/dist/plugin/source-directory.js +1 -1
  659. package/dist/plugin/supervisor.js +418 -418
  660. package/dist/plugin/tool-input-repair.js +4 -4
  661. package/dist/plugin/update.js +6 -6
  662. package/dist/plugin/vcs/git.js +99 -99
  663. package/dist/plugin/vcs/hg.js +99 -99
  664. package/dist/plugin/verbosity.js +106 -106
  665. package/dist/plugin/warming.js +130 -130
  666. package/dist/plugin/websearch/exa.js +8 -8
  667. package/dist/plugin/websearch/firecrawl.js +7 -7
  668. package/dist/plugin/websearch/index.js +10 -10
  669. package/dist/plugin/websearch/mcp.js +6 -6
  670. package/dist/plugin/websearch/parallel.js +9 -9
  671. package/dist/plugin/websearch/provider.js +5 -5
  672. package/dist/plugin/websearch/tavily.js +7 -7
  673. package/dist/plugin/websearch/tinyfish.js +9 -9
  674. package/dist/plugin.js +248 -248
  675. package/dist/project/icon.js +5 -5
  676. package/dist/project/schema.js +8 -8
  677. package/dist/project/sql.js +4 -4
  678. package/dist/project.js +103 -103
  679. package/dist/provider.js +108 -108
  680. package/dist/pty/protocol.js +1 -1
  681. package/dist/pty/ticket.js +1 -1
  682. package/dist/pty.js +111 -111
  683. package/dist/reference/instructions.js +101 -101
  684. package/dist/reference.js +101 -101
  685. package/dist/repository-cache.js +93 -93
  686. package/dist/repository.js +3 -3
  687. package/dist/ripgrep/binary.js +2 -2
  688. package/dist/ripgrep.js +111 -111
  689. package/dist/rpc.js +99 -99
  690. package/dist/schedule/check.js +248 -248
  691. package/dist/schedule/sql.js +6 -6
  692. package/dist/schedule.js +254 -254
  693. package/dist/schema.js +1 -1
  694. package/dist/session/affinity.js +1 -1
  695. package/dist/session/background.js +3 -3
  696. package/dist/session/blob.js +130 -130
  697. package/dist/session/command.js +85 -85
  698. package/dist/session/compaction.js +174 -174
  699. package/dist/session/context.js +203 -203
  700. package/dist/session/diff.js +101 -101
  701. package/dist/session/environment.js +5 -5
  702. package/dist/session/error.js +5 -5
  703. package/dist/session/event.js +1 -1
  704. package/dist/session/execution/restart.js +246 -246
  705. package/dist/session/execution.js +166 -166
  706. package/dist/session/generate.js +205 -205
  707. package/dist/session/history.js +137 -137
  708. package/dist/session/inbox.js +148 -148
  709. package/dist/session/info.js +3 -3
  710. package/dist/session/instruction-entry.js +90 -90
  711. package/dist/session/instruction-state.js +8 -8
  712. package/dist/session/instructions.js +144 -144
  713. package/dist/session/message-updater.js +2 -2
  714. package/dist/session/message.js +1 -1
  715. package/dist/session/model-request.js +169 -169
  716. package/dist/session/model-transport.js +9 -9
  717. package/dist/session/move.js +168 -168
  718. package/dist/session/projector.js +144 -144
  719. package/dist/session/prompt.js +149 -149
  720. package/dist/session/recent-text.js +1 -1
  721. package/dist/session/revert.js +140 -140
  722. package/dist/session/run-coordinator.js +1 -1
  723. package/dist/session/runner/index.js +3 -3
  724. package/dist/session/runner/llm.js +257 -257
  725. package/dist/session/runner/max-steps.js +1 -1
  726. package/dist/session/runner/model.js +113 -113
  727. package/dist/session/runner/publish-llm-event.js +150 -150
  728. package/dist/session/runner/retry.js +5 -5
  729. package/dist/session/runner/step.js +164 -164
  730. package/dist/session/runner/to-llm-message.js +138 -138
  731. package/dist/session/schema.js +5 -5
  732. package/dist/session/session.js +185 -185
  733. package/dist/session/shell.js +145 -145
  734. package/dist/session/skill.js +148 -148
  735. package/dist/session/sql.js +5 -5
  736. package/dist/session/stats.js +85 -85
  737. package/dist/session/store.js +143 -143
  738. package/dist/session/stored.js +4 -4
  739. package/dist/session/subagent-completion.js +1 -1
  740. package/dist/session/subagent-job.js +236 -236
  741. package/dist/session/system-prompt.js +1 -1
  742. package/dist/session/title.js +207 -207
  743. package/dist/session/to-session-error.js +149 -149
  744. package/dist/session/transfer.js +242 -242
  745. package/dist/session/usage.js +3 -3
  746. package/dist/session.js +242 -242
  747. package/dist/shared-cache.js +5 -5
  748. package/dist/shell/parse.js +6 -6
  749. package/dist/shell/result.js +1 -1
  750. package/dist/shell/scan.js +1 -1
  751. package/dist/shell/select.js +13 -13
  752. package/dist/shell.js +147 -147
  753. package/dist/skill/discovery.js +6 -6
  754. package/dist/skill/instructions.js +152 -152
  755. package/dist/skill.js +159 -159
  756. package/dist/snapshot.js +104 -104
  757. package/dist/state.js +1 -1
  758. package/dist/tool/html-markdown.js +1 -1
  759. package/dist/tool/http-body.js +1 -1
  760. package/dist/tool/mcp.js +183 -183
  761. package/dist/tool/plugin/artifact.js +235 -235
  762. package/dist/tool/plugin/edit.js +168 -168
  763. package/dist/tool/plugin/file-diff.js +1 -1
  764. package/dist/tool/plugin/glob.js +166 -166
  765. package/dist/tool/plugin/grep.js +171 -171
  766. package/dist/tool/plugin/image-generate.js +246 -246
  767. package/dist/tool/plugin/mcp-resource.js +167 -167
  768. package/dist/tool/plugin/opencode.js +164 -164
  769. package/dist/tool/plugin/patch.js +163 -163
  770. package/dist/tool/plugin/question.js +145 -145
  771. package/dist/tool/plugin/read.js +173 -173
  772. package/dist/tool/plugin/schedule.js +254 -254
  773. package/dist/tool/plugin/shell.js +240 -240
  774. package/dist/tool/plugin/skill.js +156 -156
  775. package/dist/tool/plugin/subagent.js +243 -243
  776. package/dist/tool/plugin/todo.js +154 -154
  777. package/dist/tool/plugin/webfetch.js +158 -158
  778. package/dist/tool/plugin/websearch.js +154 -154
  779. package/dist/tool/plugin/write.js +169 -169
  780. package/dist/tool/read-filesystem.js +116 -116
  781. package/dist/tool/runtime.js +1 -1
  782. package/dist/tool/search.js +109 -109
  783. package/dist/tool-output.js +7 -7
  784. package/dist/tool.js +162 -162
  785. package/dist/usage-limits.js +100 -100
  786. package/dist/util/error-summary.js +1 -1
  787. package/dist/util/git-executable.js +3 -3
  788. package/dist/util/lazy.js +1 -1
  789. package/dist/util/slug.js +1 -1
  790. package/dist/util/token.js +1 -1
  791. package/dist/util/which.js +1 -1
  792. package/dist/util/wildcard.js +1 -1
  793. package/dist/v1/config/agent.js +7 -7
  794. package/dist/v1/config/command.js +5 -5
  795. package/dist/v1/config/mcp.js +4 -4
  796. package/dist/v1/config/migrate.js +105 -105
  797. package/dist/v1/config/permission.js +3 -3
  798. package/dist/v1/config/plugin.js +3 -3
  799. package/dist/v1/config/provider-options.js +1 -1
  800. package/dist/v1/config/provider.js +4 -4
  801. package/dist/variant.js +104 -104
  802. package/dist/vcs/patch.js +1 -1
  803. package/dist/vcs.js +102 -102
  804. package/dist/voice.js +101 -101
  805. package/dist/websearch.js +99 -99
  806. package/dist/wellknown/plugin.js +85 -85
  807. package/dist/wellknown.js +92 -92
  808. package/dist/workspace/driver.js +3 -3
  809. package/dist/workspace/sql.js +1 -1
  810. package/dist/workspace.js +93 -93
  811. package/dist/worktree/directory.js +2 -2
  812. package/dist/worktree/git.js +11 -11
  813. package/dist/worktree/sql.js +5 -5
  814. package/dist/worktree/strategies.js +102 -102
  815. package/dist/worktree.js +113 -113
  816. package/package.json +9 -9
  817. package/dist/chunks/file-access-2pekrx62.js +0 -26
  818. package/dist/chunks/file-access-8x060fmy.js +0 -18
  819. package/dist/chunks/file-access-f7zhbhyf.js +0 -265
  820. package/dist/chunks/file-access-fwc5tj9a.js +0 -16
  821. package/dist/chunks/file-access-pmg619m1.js +0 -571
  822. /package/dist/chunks/{file-access-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{file-access-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{file-access-108x4f4w.js → workspace-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{file-access-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{file-access-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{file-access-1kah00gy.js → workspace-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{file-access-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{file-access-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{file-access-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{file-access-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{file-access-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{file-access-3af0jn4w.js → workspace-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{file-access-3asan66x.js → workspace-3asan66x.js} +0 -0
  835. /package/dist/chunks/{file-access-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{file-access-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{file-access-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{file-access-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{file-access-4qk9sjk2.js → workspace-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{file-access-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{file-access-53557ph1.js → workspace-53557ph1.js} +0 -0
  842. /package/dist/chunks/{file-access-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{file-access-5w3e23ze.js → workspace-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{file-access-6agm2x70.js → workspace-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{file-access-6prwharc.js → workspace-6prwharc.js} +0 -0
  846. /package/dist/chunks/{file-access-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{file-access-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{file-access-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{file-access-822emrt2.js → workspace-822emrt2.js} +0 -0
  850. /package/dist/chunks/{file-access-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{file-access-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{file-access-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{file-access-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{file-access-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{file-access-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{file-access-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{file-access-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{file-access-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{file-access-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{file-access-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{file-access-beh6qq61.js → workspace-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{file-access-bhmrqjy3.js → workspace-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{file-access-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{file-access-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{file-access-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{file-access-cqv5kn06.js → workspace-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{file-access-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{file-access-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{file-access-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{file-access-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{file-access-df08tz66.js → workspace-df08tz66.js} +0 -0
  872. /package/dist/chunks/{file-access-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{file-access-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{file-access-ean2d8b5.js → workspace-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{file-access-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{file-access-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{file-access-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{file-access-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{file-access-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{file-access-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{file-access-fkpq3x5p.js → workspace-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{file-access-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{file-access-g86h250q.js → workspace-g86h250q.js} +0 -0
  884. /package/dist/chunks/{file-access-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{file-access-gftt206x.js → workspace-gftt206x.js} +0 -0
  886. /package/dist/chunks/{file-access-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{file-access-hk9envan.js → workspace-hk9envan.js} +0 -0
  888. /package/dist/chunks/{file-access-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{file-access-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{file-access-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{file-access-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{file-access-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{file-access-jwr30sdr.js → workspace-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{file-access-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{file-access-m18g726c.js → workspace-m18g726c.js} +0 -0
  896. /package/dist/chunks/{file-access-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{file-access-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{file-access-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{file-access-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{file-access-nh4v3znn.js → workspace-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{file-access-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{file-access-p71gwv9c.js → workspace-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{file-access-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{file-access-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{file-access-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  906. /package/dist/chunks/{file-access-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  907. /package/dist/chunks/{file-access-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  908. /package/dist/chunks/{file-access-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  909. /package/dist/chunks/{file-access-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  910. /package/dist/chunks/{file-access-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  911. /package/dist/chunks/{file-access-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  912. /package/dist/chunks/{file-access-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  913. /package/dist/chunks/{file-access-syrav9an.js → workspace-syrav9an.js} +0 -0
  914. /package/dist/chunks/{file-access-t03h4f5z.js → workspace-t03h4f5z.js} +0 -0
  915. /package/dist/chunks/{file-access-ty7weeps.js → workspace-ty7weeps.js} +0 -0
  916. /package/dist/chunks/{file-access-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  917. /package/dist/chunks/{file-access-vtarvj67.js → workspace-vtarvj67.js} +0 -0
  918. /package/dist/chunks/{file-access-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  919. /package/dist/chunks/{file-access-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  920. /package/dist/chunks/{file-access-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  921. /package/dist/chunks/{file-access-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  922. /package/dist/chunks/{file-access-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  923. /package/dist/chunks/{file-access-x61499pn.js → workspace-x61499pn.js} +0 -0
  924. /package/dist/chunks/{file-access-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{file-access-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{file-access-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{file-access-z0h12gs8.js → workspace-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{file-access-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{file-access-z9919s4g.js → workspace-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{file-access-zxpyjp51.js → workspace-zxpyjp51.js} +0 -0
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-access-5whx36p1.js";
3
+ } from "./workspace-8cg7mtm3.js";
4
4
  import {
5
5
  Service91,
6
6
  node95
7
- } from "./file-access-fpt7fnns.js";
7
+ } from "./workspace-8k3rmt1b.js";
8
8
  import {
9
- Event21,
10
- Service90,
11
- node94
12
- } from "./file-access-p7ff7khe.js";
9
+ Event20,
10
+ Service88,
11
+ node92
12
+ } from "./workspace-z9w7d102.js";
13
13
  import {
14
14
  Service80,
15
- node83
16
- } from "./file-access-srprsw7e.js";
15
+ node82
16
+ } from "./workspace-evkchrw3.js";
17
17
  import {
18
- Service76,
19
- node78
20
- } from "./file-access-35twpycj.js";
18
+ Service61,
19
+ node64
20
+ } from "./workspace-mp62b2pv.js";
21
21
  import {
22
- ID21,
23
- Service89,
24
- node93
25
- } from "./file-access-dd7hjca8.js";
22
+ ID18,
23
+ Service79,
24
+ node81
25
+ } from "./workspace-h1kc2mjq.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./file-access-40y6dtc2.js";
29
+ } from "./workspace-40y6dtc2.js";
30
30
  import {
31
- ID20,
31
+ ID17,
32
32
  MethodID2,
33
- Service88,
34
- node92
35
- } from "./file-access-v0t3z570.js";
33
+ Service78,
34
+ node80
35
+ } from "./workspace-bzcevmya.js";
36
36
  import {
37
- make26
38
- } from "./file-access-nrnc8hk6.js";
37
+ make24
38
+ } from "./workspace-tp49b57m.js";
39
39
  import {
40
- Service44,
40
+ Service38,
41
41
  key2,
42
- node47
43
- } from "./file-access-1r4spm6j.js";
42
+ node41
43
+ } from "./workspace-v31c066e.js";
44
44
  import {
45
45
  __export
46
- } from "./file-access-9rqn6x4v.js";
46
+ } from "./workspace-9rqn6x4v.js";
47
47
 
48
48
  // src/mcp/index.ts
49
49
  var exports_mcp4 = {};
50
50
  __export(exports_mcp4, {
51
51
  Mcp: () => exports_mcp4,
52
- NotFoundError: () => NotFoundError6,
53
- Options: () => Options4,
52
+ NotFoundError: () => NotFoundError4,
53
+ Options: () => Options3,
54
54
  PromptsChanged: () => PromptsChanged2,
55
55
  Resource: () => Resource2,
56
56
  ResourceCatalog: () => ResourceCatalog2,
57
57
  ResourceContent: () => ResourceContent2,
58
58
  ResourceTemplate: () => ResourceTemplate2,
59
59
  ServerName: () => ServerName2,
60
- Service: () => Service43,
60
+ Service: () => Service37,
61
61
  Status: () => Status3,
62
62
  ToolCallError: () => ToolCallError2,
63
- configured: () => configured4,
64
- layer: () => layer17,
65
- node: () => node46
63
+ configured: () => configured3,
64
+ layer: () => layer15,
65
+ node: () => node40
66
66
  });
67
67
  import { Mcp } from "@opencode/schema/mcp";
68
68
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
95
95
  var ResourceCatalog2 = Mcp.ResourceCatalog;
96
96
  var ResourceContent2 = Mcp.ResourceContent;
97
97
 
98
- class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
98
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
99
99
  server: ServerName2
100
100
  }) {
101
101
  get message() {
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
128
128
  var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
129
129
  var cloneConfig = (config) => structuredClone(config);
130
130
 
131
- class Service43 extends Context.Service()("@opencode/MCP") {
131
+ class Service37 extends Context.Service()("@opencode/MCP") {
132
132
  }
133
- var Options4 = Schema.Struct({
133
+ var Options3 = Schema.Struct({
134
134
  clientInfo: Schema.optional(Schema.Struct({
135
135
  name: Schema.String,
136
136
  version: Schema.String
137
137
  }))
138
138
  });
139
- var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
139
+ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
140
140
  const location = yield* Service80;
141
- const environment = yield* Service76;
141
+ const environment = yield* Service61;
142
142
  const bus = yield* Service91;
143
- const forms = yield* Service89;
144
- const integration = yield* Service88;
145
- const credentials = yield* Service90;
143
+ const forms = yield* Service79;
144
+ const integration = yield* Service78;
145
+ const credentials = yield* Service88;
146
146
  const fetch = yield* FetchHttpClient.Fetch;
147
- const pool = yield* Service44;
147
+ const pool = yield* Service38;
148
148
  const root = yield* Effect.scope;
149
149
  const fork = yield* FiberSet.makeRuntime();
150
150
  const servers = yield* Scope.fork(root, "parallel");
@@ -160,7 +160,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
160
160
  return;
161
161
  const remote = entry.config;
162
162
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
163
- const integrationID = ID20.make(suffix);
163
+ const integrationID = ID17.make(suffix);
164
164
  entry.integrationID = integrationID;
165
165
  const methodID = MethodID2.make(suffix);
166
166
  const scope = yield* Scope.fork(root);
@@ -175,7 +175,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
175
175
  method: { id: methodID, type: "oauth", label: name },
176
176
  authorize: () => Effect.gen(function* () {
177
177
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
178
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service90, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
178
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service88, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
179
179
  })
180
180
  });
181
181
  }).pipe(Scope.provide(scope));
@@ -183,7 +183,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
183
183
  const requireServer = Effect.fnUntraced(function* (name) {
184
184
  const entry = entries.get(name);
185
185
  if (!entry)
186
- return yield* new NotFoundError6({ server: name });
186
+ return yield* new NotFoundError4({ server: name });
187
187
  return entry;
188
188
  });
189
189
  const connected = Effect.fnUntraced(function* (name) {
@@ -196,12 +196,12 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
196
196
  if (entry.config.type !== "remote" || !entry.integrationID)
197
197
  return;
198
198
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
199
- return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service90, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
199
+ return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service88, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
200
200
  });
201
201
  const elicitation = {
202
202
  create: (input) => Effect.gen(function* () {
203
203
  if (input.params.mode === "url") {
204
- const formID = ID21.create();
204
+ const formID = ID18.create();
205
205
  const elicitationID = input.params.elicitationId;
206
206
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
207
207
  if (key)
@@ -270,7 +270,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
270
270
  status: { status: "pending" },
271
271
  startup: Latch.makeUnsafe(),
272
272
  attempt: { started, settled: Latch.makeUnsafe() },
273
- connection: (pooled ? share : make26)({
273
+ connection: (pooled ? share : make24)({
274
274
  name,
275
275
  config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
276
276
  directory: location.directory,
@@ -412,7 +412,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
412
412
  clientInfo: options?.clientInfo
413
413
  }).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
414
414
  closed = true;
415
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
415
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
416
416
  const register = Effect.gen(function* () {
417
417
  if (closed) {
418
418
  yield* Scope.close(scope, Exit.void);
@@ -485,7 +485,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
485
485
  yield* entry.connection.start;
486
486
  }).pipe(locks.withLock(name));
487
487
  });
488
- fork(bus.subscribe(Event21.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
488
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
489
489
  const state = create4({
490
490
  name: "mcp",
491
491
  initial: () => ({
@@ -511,7 +511,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
511
511
  }),
512
512
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
513
513
  });
514
- return Service43.of({
514
+ return Service37.of({
515
515
  transform: state.transform,
516
516
  reload: state.reload,
517
517
  servers: Effect.fn("MCP.servers")(function* () {
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
643
643
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
644
644
  });
645
645
  }
646
- function configured4(options) {
646
+ function configured3(options) {
647
647
  return makeLocationNode({
648
- service: Service43,
649
- layer: layer17(options),
648
+ service: Service37,
649
+ layer: layer15(options),
650
650
  deps: [
651
- node83,
652
- node78,
651
+ node82,
652
+ node64,
653
653
  node95,
654
- node93,
654
+ node81,
655
+ node80,
655
656
  node92,
656
- node94,
657
657
  httpFetch,
658
- node47
658
+ node41
659
659
  ]
660
660
  });
661
661
  }
662
- var node46 = configured4();
662
+ var node40 = configured3();
663
663
  function toElicitationField(key, property, required) {
664
664
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
665
665
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
710
710
  }
711
711
  }
712
712
 
713
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service43, Options4, layer17, configured4, node46, exports_mcp4 };
713
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options3, layer15, configured3, node40, exports_mcp4 };
@@ -2,24 +2,24 @@ import {
2
2
  ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-access-0a7b4cn0.js";
5
+ } from "./workspace-6w81cxr7.js";
6
6
  import {
7
7
  ID15,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info22
11
- } from "./file-access-hjeehjzr.js";
11
+ } from "./workspace-0mk1tev8.js";
12
12
  import {
13
13
  __export
14
- } from "./file-access-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load4
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load5
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Effect, Option, Schema } from "effect";
@@ -68,17 +68,17 @@ var RemoteModel = Schema.Struct({
68
68
  });
69
69
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- function get2(http, baseURL, headers, existing) {
72
- return load4(http, baseURL, headers).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
71
+ function get3(http, baseURL, headers, existing) {
72
+ return load5(http, baseURL, headers).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
73
73
  }
74
- var load4 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
74
+ var load5 = Effect.fn("CopilotModels.load")(function* (http, baseURL, headers) {
75
75
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL}/models`).pipe(HttpClientRequest.setHeaders(headers))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("5 seconds"));
76
76
  return new Map(response.data.flatMap((raw) => {
77
77
  const model = Option.getOrUndefined(decodeModel(raw));
78
78
  return model && usable(model) ? [[model.id, model]] : [];
79
79
  }));
80
80
  });
81
- function derive2(baseURL, remote, existing) {
81
+ function derive3(baseURL, remote, existing) {
82
82
  const result = new Map(existing.map((model) => [model.id, model]));
83
83
  for (const [id, model] of result) {
84
84
  const current = remote.get(model.modelID);
@@ -192,4 +192,4 @@ function variants(remote, messages) {
192
192
  ];
193
193
  }
194
194
 
195
- export { get2, load4, derive2, exports_models };
195
+ export { get3, load5, derive3, exports_models2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service91,
3
3
  node95
4
- } from "./file-access-fpt7fnns.js";
4
+ } from "./workspace-8k3rmt1b.js";
5
5
  import {
6
- node76
7
- } from "./file-access-b8kb0jc9.js";
6
+ node73
7
+ } from "./workspace-vam0z8fa.js";
8
8
  import {
9
- Service8,
10
- node10
11
- } from "./file-access-6d8cn8kw.js";
9
+ Service4,
10
+ node6
11
+ } from "./workspace-7d680rbb.js";
12
12
  import {
13
- Service38
14
- } from "./file-access-8x060fmy.js";
13
+ Service35
14
+ } from "./workspace-grzehpz7.js";
15
15
  import {
16
- node18,
16
+ node17,
17
17
  ID5
18
- } from "./file-access-pdghdwt7.js";
18
+ } from "./workspace-wmhg6hg6.js";
19
19
  import {
20
- Service2,
21
- node3
22
- } from "./file-access-kmzgegqq.js";
20
+ Service12,
21
+ node14
22
+ } from "./workspace-ra6js1h8.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
- list2
27
- } from "./file-access-pmg619m1.js";
26
+ list3
27
+ } from "./workspace-qs96j4t3.js";
28
28
  import {
29
- make17,
29
+ make20,
30
30
  source2,
31
31
  LoadError2
32
- } from "./file-access-cm849bt1.js";
32
+ } from "./workspace-1bx7q8nr.js";
33
33
  import {
34
34
  Updated2,
35
- Service3,
36
- node4
37
- } from "./file-access-6pf6cnn4.js";
35
+ Service10,
36
+ node12
37
+ } from "./workspace-7bs7td23.js";
38
38
  import {
39
- Service4,
40
- node5
41
- } from "./file-access-vre17ymf.js";
39
+ Service11,
40
+ node13
41
+ } from "./workspace-t521gf9q.js";
42
42
  import {
43
43
  __export
44
- } from "./file-access-9rqn6x4v.js";
44
+ } from "./workspace-9rqn6x4v.js";
45
45
 
46
46
  // src/plugin/supervisor.ts
47
47
  var exports_supervisor = {};
48
48
  __export(exports_supervisor, {
49
49
  PluginSupervisor: () => exports_supervisor,
50
- layer: () => layer3,
51
- node: () => node2
50
+ layer: () => layer4,
51
+ node: () => node5
52
52
  });
53
53
  import { Event } from "@opencode/schema/config";
54
54
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -133,15 +133,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
133
133
  pending: [...pending]
134
134
  };
135
135
  });
136
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
137
- const registry = yield* Service38;
138
- const sdk = yield* Service3;
139
- const instance = yield* Service2;
140
- const sources = yield* Service8;
141
- const modules = yield* make17();
136
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
137
+ const registry = yield* Service35;
138
+ const sdk = yield* Service10;
139
+ const instance = yield* Service12;
140
+ const sources = yield* Service4;
141
+ const modules = yield* make20();
142
142
  const bus = yield* Service91;
143
- const updates = yield* Service4;
144
- const internal = yield* list2();
143
+ const updates = yield* Service11;
144
+ const internal = yield* list3();
145
145
  let release = yield* registry.hold();
146
146
  yield* Effect.addFinalizer(() => release ?? Effect.void);
147
147
  yield* Effect.addFinalizer(registry.close);
@@ -207,16 +207,16 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node18,
211
- node4,
212
- node3,
213
- node10,
214
- node5,
210
+ node17,
211
+ node12,
212
+ node14,
213
+ node6,
214
+ node13,
215
215
  node95,
216
216
  Npm.node,
217
- node76,
217
+ node73,
218
218
  requirements2
219
219
  ];
220
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
220
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
221
221
 
222
- export { layer3, node2, exports_supervisor };
222
+ export { layer4, node5, exports_supervisor };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Document3
3
- } from "./file-access-3qgwywyc.js";
3
+ } from "./workspace-wfs84ra6.js";
4
4
  import {
5
5
  match3
6
- } from "./file-access-1aqsckx4.js";
6
+ } from "./workspace-1aqsckx4.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/managed-policy.ts
12
12
  var exports_managed_policy = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service91,
4
4
  node95
5
- } from "./file-access-fpt7fnns.js";
5
+ } from "./workspace-8k3rmt1b.js";
6
6
  import {
7
- Service84,
8
- node87
9
- } from "./file-access-an9r4h04.js";
7
+ Service73,
8
+ node75
9
+ } from "./workspace-9ztwrape.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service75,
22
+ Service: () => Service72,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node77,
26
- resolve: () => resolve4
25
+ node: () => node74,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service75 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service72 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service75, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service84;
84
+ const kv = yield* Service73;
85
85
  const bus = yield* Service91;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event14.Updated, {}, { global: true });
115
+ yield* bus.publish(Event13.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service75.of({
118
+ return Service72.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event14.Updated, {}, { global: true });
130
+ yield* bus.publish(Event13.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event14.Updated, {}, { global: true });
144
+ yield* bus.publish(Event13.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
154
154
  })
155
155
  });
156
156
  }));
157
- var node77 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node87, node95] });
157
+ var node74 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node75, node95] });
158
158
 
159
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event14, inspect2, resolve4, node77, exports_wellknown };
159
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event13, inspect2, resolve3, node74, exports_wellknown };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizeContent2
4
- } from "./file-access-z0h12gs8.js";
4
+ } from "./workspace-z0h12gs8.js";
5
5
  import {
6
6
  __export
7
- } from "./file-access-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/tool-input-repair.ts
10
10
  var exports_tool_input_repair = {};
11
11
  __export(exports_tool_input_repair, {
12
- Plugin: () => Plugin10,
12
+ Plugin: () => Plugin47,
13
13
  ToolInputRepairPlugin: () => exports_tool_input_repair
14
14
  });
15
15
  import { ToolFailure } from "@opencode/ai/effect";
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
18
18
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
19
19
  var maxDepth = 6;
20
20
  var aliases = new Map([["bash", "shell"]]);
21
- var Plugin10 = define({
21
+ var Plugin47 = define({
22
22
  id: "opencode.tool.input.repair",
23
23
  effect: (ctx) => Effect.gen(function* () {
24
24
  const aliased = new Map;
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
153
153
  return compatible ? [repaired] : value;
154
154
  }
155
155
 
156
- export { Plugin10, exports_tool_input_repair };
156
+ export { Plugin47, exports_tool_input_repair };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-access-5whx36p1.js";
3
+ } from "./workspace-8cg7mtm3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service4,
13
- node: () => node5
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service4 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service11 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service4, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service4.of({
27
+ return Service11.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node5, exports_update };
54
+ export { Service11, node13, exports_update };