@opencode/core 0.0.0-dev-466 → 0.0.0-dev-468

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 (538) hide show
  1. package/dist/agent.js +75 -75
  2. package/dist/aisdk-native.js +73 -73
  3. package/dist/aisdk.js +78 -78
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +198 -198
  6. package/dist/bus.js +61 -61
  7. package/dist/chunks/{tool-output-djw2zn7q.js → tool-output-003nb3x9.js} +6 -6
  8. package/dist/chunks/{tool-output-n0nkwf14.js → tool-output-0f7cqh9y.js} +19 -19
  9. package/dist/chunks/{tool-output-yb225m05.js → tool-output-0g084y6g.js} +8 -8
  10. package/dist/chunks/{tool-output-gnwamg3p.js → tool-output-0mncc170.js} +18 -18
  11. package/dist/chunks/{tool-output-jx32s6s7.js → tool-output-0qn973hg.js} +41 -41
  12. package/dist/chunks/{tool-output-cf9r8vqq.js → tool-output-0w5jtxws.js} +2 -2
  13. package/dist/chunks/{tool-output-x87ytaxf.js → tool-output-10xvpzbz.js} +8 -8
  14. package/dist/chunks/{tool-output-w6zbx7sx.js → tool-output-15x6q7ay.js} +27 -27
  15. package/dist/chunks/{tool-output-h187kc3f.js → tool-output-1dzaet6x.js} +22 -22
  16. package/dist/chunks/{tool-output-7eev1cf5.js → tool-output-1k3fpg92.js} +16 -16
  17. package/dist/chunks/{tool-output-26wfx3k0.js → tool-output-1q07fp1w.js} +3 -3
  18. package/dist/chunks/{tool-output-f341sazs.js → tool-output-1vbrkdbs.js} +1 -1
  19. package/dist/chunks/{tool-output-v9ez2kgh.js → tool-output-1yq9hg58.js} +4 -4
  20. package/dist/chunks/{tool-output-pxp22qz6.js → tool-output-1zyreaf5.js} +5 -5
  21. package/dist/chunks/{tool-output-8zfy3skd.js → tool-output-20f8tgrs.js} +84 -84
  22. package/dist/chunks/{tool-output-dkrnptrz.js → tool-output-233argac.js} +6 -6
  23. package/dist/chunks/{tool-output-66sfkq4p.js → tool-output-24e6ax7n.js} +21 -21
  24. package/dist/chunks/{tool-output-8b3vzgkx.js → tool-output-25h84942.js} +3 -3
  25. package/dist/chunks/{tool-output-kdrvp24z.js → tool-output-26b1y7rt.js} +15 -15
  26. package/dist/chunks/{tool-output-0p4pmdhq.js → tool-output-2mekcvss.js} +19 -28
  27. package/dist/chunks/{tool-output-5sx3441x.js → tool-output-2mjf8t6w.js} +12 -12
  28. package/dist/chunks/{tool-output-kpa09rhw.js → tool-output-2mn1j6hz.js} +7 -7
  29. package/dist/chunks/{tool-output-ahedfgv0.js → tool-output-2p0swzms.js} +3 -3
  30. package/dist/chunks/{tool-output-0x3mztr9.js → tool-output-2wxwzjqh.js} +16 -16
  31. package/dist/chunks/{tool-output-dcbgjmsj.js → tool-output-34mdyaah.js} +19 -19
  32. package/dist/chunks/{tool-output-anvcme1c.js → tool-output-38aws4xb.js} +3 -3
  33. package/dist/chunks/{tool-output-d2fmx1yk.js → tool-output-3d7bg7jv.js} +17 -17
  34. package/dist/chunks/{tool-output-6sfn6t41.js → tool-output-3hgz1z2m.js} +9 -9
  35. package/dist/chunks/{tool-output-sx8d7w52.js → tool-output-3jc4acfe.js} +23 -23
  36. package/dist/chunks/{tool-output-x7bw7bgf.js → tool-output-3n7vn1tw.js} +24 -24
  37. package/dist/chunks/{tool-output-gnjy40cd.js → tool-output-3vgty9hw.js} +31 -31
  38. package/dist/chunks/{tool-output-2s709x84.js → tool-output-3wyhrqfb.js} +7 -7
  39. package/dist/chunks/{tool-output-7ns7jg7q.js → tool-output-4q33662b.js} +15 -15
  40. package/dist/chunks/{tool-output-hykqydna.js → tool-output-4ze21y5e.js} +15 -15
  41. package/dist/chunks/{tool-output-vatt5ny9.js → tool-output-56pf6jzp.js} +6 -6
  42. package/dist/chunks/{tool-output-m0kck7zd.js → tool-output-58ep7nm1.js} +27 -27
  43. package/dist/chunks/{tool-output-gd47j70e.js → tool-output-5bkchar3.js} +29 -29
  44. package/dist/chunks/{tool-output-hcysfq1n.js → tool-output-5cne3tjk.js} +29 -29
  45. package/dist/chunks/{tool-output-z29mj6ce.js → tool-output-5cvxvtjb.js} +13 -13
  46. package/dist/chunks/{tool-output-ndksvsqq.js → tool-output-5ftq3225.js} +3 -3
  47. package/dist/chunks/{tool-output-4j9dw2d0.js → tool-output-5gvc3re6.js} +28 -28
  48. package/dist/chunks/{tool-output-t3ax3ke3.js → tool-output-5mhm4vfj.js} +16 -16
  49. package/dist/chunks/{tool-output-2r6mdnfq.js → tool-output-5n09j8yg.js} +7 -7
  50. package/dist/chunks/{tool-output-y63ywa2k.js → tool-output-5t6r72gb.js} +9 -9
  51. package/dist/chunks/{tool-output-h4v5z7wp.js → tool-output-60869ztc.js} +3 -3
  52. package/dist/chunks/{tool-output-xksw6ev0.js → tool-output-67wwskyb.js} +3 -3
  53. package/dist/chunks/{tool-output-pdgyk44n.js → tool-output-694pnq3x.js} +1 -25
  54. package/dist/chunks/{tool-output-q1ev5fjc.js → tool-output-69mqj339.js} +12 -12
  55. package/dist/chunks/{tool-output-ycj63wkd.js → tool-output-6d0d1q6g.js} +1 -1
  56. package/dist/chunks/{tool-output-73ps2g3c.js → tool-output-6v0patxj.js} +22 -22
  57. package/dist/chunks/{tool-output-pbfjpsb7.js → tool-output-6x3ndttp.js} +4 -4
  58. package/dist/chunks/{tool-output-sfzk71g3.js → tool-output-6xskjdg4.js} +5 -5
  59. package/dist/chunks/{tool-output-sth9zcg7.js → tool-output-6y88akds.js} +5 -5
  60. package/dist/chunks/{tool-output-bzrt1caw.js → tool-output-76293m8w.js} +31 -31
  61. package/dist/chunks/{tool-output-a78wj5dv.js → tool-output-784aez8k.js} +7 -7
  62. package/dist/chunks/{tool-output-wvr8xscb.js → tool-output-79k544d0.js} +6 -6
  63. package/dist/chunks/{tool-output-we2g0r14.js → tool-output-7bdqzxt9.js} +4 -4
  64. package/dist/chunks/{tool-output-2jft24my.js → tool-output-7bf7hj9s.js} +15 -15
  65. package/dist/chunks/{tool-output-jjvq20ys.js → tool-output-7fc9d4g7.js} +12 -12
  66. package/dist/chunks/{tool-output-hhntqeqf.js → tool-output-7fv8psxd.js} +4 -4
  67. package/dist/chunks/{tool-output-ngc4k3z1.js → tool-output-7jewgrz3.js} +2 -2
  68. package/dist/chunks/{tool-output-yz3xmvrq.js → tool-output-7jm9ds1n.js} +11 -11
  69. package/dist/chunks/{tool-output-5hn8w8k6.js → tool-output-7m6c0hj2.js} +8 -8
  70. package/dist/chunks/{tool-output-byaw3b0t.js → tool-output-7qk9epd7.js} +36 -45
  71. package/dist/chunks/{tool-output-est9w4fd.js → tool-output-7whn3c9q.js} +9 -9
  72. package/dist/chunks/{tool-output-qjsezd78.js → tool-output-8gjkw0js.js} +9 -9
  73. package/dist/chunks/{tool-output-xjhqr95z.js → tool-output-8r9v0q4w.js} +10 -10
  74. package/dist/chunks/{tool-output-qw2t3dzn.js → tool-output-8wjgamp7.js} +3 -3
  75. package/dist/chunks/{tool-output-ab8r1jbv.js → tool-output-93fxe9zc.js} +31 -31
  76. package/dist/chunks/{tool-output-68cs06h1.js → tool-output-963hk181.js} +3 -3
  77. package/dist/chunks/{tool-output-y5h5r084.js → tool-output-98sn12ya.js} +9 -9
  78. package/dist/chunks/{tool-output-5eyjw0yz.js → tool-output-9cb2b2x0.js} +19 -19
  79. package/dist/chunks/{tool-output-aa24rdx2.js → tool-output-9g038b7v.js} +4 -4
  80. package/dist/chunks/{tool-output-v3tjqm7n.js → tool-output-9hyv3ajx.js} +2 -2
  81. package/dist/chunks/{tool-output-0xq8s71y.js → tool-output-9q24xs2v.js} +12 -12
  82. package/dist/chunks/{tool-output-42mcpepz.js → tool-output-a9d80qez.js} +2 -2
  83. package/dist/chunks/{tool-output-cvmhw006.js → tool-output-a9zrx39y.js} +11 -11
  84. package/dist/chunks/{tool-output-qvqcv7sy.js → tool-output-ac2zwpmx.js} +1 -1
  85. package/dist/chunks/{tool-output-10jzpw8f.js → tool-output-adnc1c99.js} +2 -2
  86. package/dist/chunks/{tool-output-ra34yqmw.js → tool-output-ag4egyv9.js} +5 -5
  87. package/dist/chunks/{tool-output-qvgx1mgd.js → tool-output-aj83cngs.js} +4 -4
  88. package/dist/chunks/{tool-output-xztvf178.js → tool-output-atz91cs9.js} +69 -69
  89. package/dist/chunks/{tool-output-h6jcj9p8.js → tool-output-b1w7ct0q.js} +7 -7
  90. package/dist/chunks/{tool-output-5nnwax6m.js → tool-output-b6vsg801.js} +3 -3
  91. package/dist/chunks/{tool-output-n3bkb5q1.js → tool-output-ba7dfhfp.js} +3 -3
  92. package/dist/chunks/{tool-output-q3kq69cx.js → tool-output-bh8w17xh.js} +16 -16
  93. package/dist/chunks/{tool-output-5p8cescm.js → tool-output-bterja0n.js} +3 -3
  94. package/dist/chunks/{tool-output-fjdc7vet.js → tool-output-c9zhd1c6.js} +1 -1
  95. package/dist/chunks/{tool-output-4nqe5hb4.js → tool-output-cat0vb1y.js} +11 -11
  96. package/dist/chunks/{tool-output-4h4fbn9p.js → tool-output-cbt2qz57.js} +8 -8
  97. package/dist/chunks/{tool-output-f2xjtcez.js → tool-output-cncmn02m.js} +10 -10
  98. package/dist/chunks/{tool-output-yngvyh0w.js → tool-output-d34c0f98.js} +3 -3
  99. package/dist/chunks/{tool-output-c5zvymhv.js → tool-output-dg5naf6e.js} +3 -3
  100. package/dist/chunks/tool-output-dj32dvym.js +261 -0
  101. package/dist/chunks/{tool-output-qsfsht85.js → tool-output-drgga8bz.js} +1 -1
  102. package/dist/chunks/{tool-output-2p5k36f2.js → tool-output-dvxnt4qw.js} +30 -30
  103. package/dist/chunks/{tool-output-n7d48jjh.js → tool-output-dxsywhez.js} +7 -7
  104. package/dist/chunks/{tool-output-4g7xdd9d.js → tool-output-e0vqfz96.js} +15 -15
  105. package/dist/chunks/{tool-output-82351en7.js → tool-output-e2cspmt5.js} +10 -10
  106. package/dist/chunks/{tool-output-yszbb02h.js → tool-output-e3d9wnyc.js} +9 -9
  107. package/dist/chunks/{tool-output-xym735jc.js → tool-output-e44hy6kp.js} +3 -3
  108. package/dist/chunks/{tool-output-dsd8sep6.js → tool-output-e4befdmj.js} +7 -7
  109. package/dist/chunks/{tool-output-f1szzr5n.js → tool-output-e8sv3ecx.js} +20 -20
  110. package/dist/chunks/{tool-output-4seebxp0.js → tool-output-eck7g38n.js} +8 -8
  111. package/dist/chunks/{tool-output-8s0gjrq3.js → tool-output-efk301g8.js} +18 -18
  112. package/dist/chunks/{tool-output-gyrwg2kg.js → tool-output-ej9jn8mj.js} +23 -23
  113. package/dist/chunks/{tool-output-5w0rdcwe.js → tool-output-ekqb8f4k.js} +7 -7
  114. package/dist/chunks/{tool-output-z5wh7n3m.js → tool-output-eqad68fz.js} +14 -14
  115. package/dist/chunks/{tool-output-2ty1qw88.js → tool-output-er9xytph.js} +3 -3
  116. package/dist/chunks/{tool-output-xxt856rx.js → tool-output-es1eqkr0.js} +1 -1
  117. package/dist/chunks/{tool-output-tj8zavg0.js → tool-output-ev3m9bcx.js} +11 -11
  118. package/dist/chunks/{tool-output-yk6dfxq1.js → tool-output-ewdy5g4h.js} +3 -3
  119. package/dist/chunks/{tool-output-yc3c4tkd.js → tool-output-ewr5gkwb.js} +10 -10
  120. package/dist/chunks/{tool-output-6zjm2phc.js → tool-output-ezna1kdx.js} +4 -4
  121. package/dist/chunks/{tool-output-adfvhgh8.js → tool-output-f4317sb4.js} +9 -9
  122. package/dist/chunks/{tool-output-qnc8gnan.js → tool-output-fcqh8bpp.js} +28 -28
  123. package/dist/chunks/{tool-output-r8rq6y8n.js → tool-output-ffqz4qa7.js} +10 -10
  124. package/dist/chunks/{tool-output-prq7xxp2.js → tool-output-fg9p65nk.js} +4 -4
  125. package/dist/chunks/{tool-output-bph1244c.js → tool-output-fjxgnb22.js} +21 -21
  126. package/dist/chunks/{tool-output-p64ky49f.js → tool-output-fvhkzny2.js} +22 -22
  127. package/dist/chunks/{tool-output-w687dnns.js → tool-output-fznmdakp.js} +3 -3
  128. package/dist/chunks/{tool-output-wb4c515f.js → tool-output-gb8v6gwe.js} +1 -1
  129. package/dist/chunks/{tool-output-mef8ekqr.js → tool-output-gdzky9ye.js} +16 -16
  130. package/dist/chunks/{tool-output-axq9n4nd.js → tool-output-ggsyfnd7.js} +7 -7
  131. package/dist/chunks/{tool-output-58y85ej2.js → tool-output-h4cqsg37.js} +13 -13
  132. package/dist/chunks/{tool-output-9cdgjr65.js → tool-output-h5bwdsb5.js} +30 -30
  133. package/dist/chunks/{tool-output-18a09hjh.js → tool-output-h5x6jdbe.js} +20 -20
  134. package/dist/chunks/{tool-output-1h3sfksp.js → tool-output-h6qp7cak.js} +4 -4
  135. package/dist/chunks/{tool-output-wt6a3mqf.js → tool-output-h9hc66h4.js} +3 -3
  136. package/dist/chunks/{tool-output-xja22b89.js → tool-output-he0d9e52.js} +8 -8
  137. package/dist/chunks/{tool-output-aqdx993p.js → tool-output-hr4kpn3s.js} +27 -27
  138. package/dist/chunks/{tool-output-a3fn0gmm.js → tool-output-hretfjjx.js} +1 -1
  139. package/dist/chunks/{tool-output-6nnr6ddx.js → tool-output-ht9cd5a6.js} +19 -19
  140. package/dist/chunks/{tool-output-7qg3mtbn.js → tool-output-j1fsn7bn.js} +20 -22
  141. package/dist/chunks/{tool-output-6rpcq00a.js → tool-output-j3rhnfwy.js} +23 -23
  142. package/dist/chunks/{tool-output-fdd0tmq7.js → tool-output-jkrj3e3r.js} +12 -12
  143. package/dist/chunks/{tool-output-wn5njeqz.js → tool-output-jkw133re.js} +8 -8
  144. package/dist/chunks/{tool-output-58vvnw5h.js → tool-output-jsb54h12.js} +9 -9
  145. package/dist/chunks/{tool-output-ps0ytyna.js → tool-output-jy9vhdfa.js} +10 -10
  146. package/dist/chunks/{tool-output-qr3qf9ct.js → tool-output-jyzwnaxr.js} +20 -20
  147. package/dist/chunks/{tool-output-mw0ek7me.js → tool-output-k0nmr3d0.js} +9 -9
  148. package/dist/chunks/{tool-output-2j18gx8c.js → tool-output-k12c5f6w.js} +27 -27
  149. package/dist/chunks/{tool-output-4d5xkhzj.js → tool-output-k3gnvwmc.js} +7 -7
  150. package/dist/chunks/{tool-output-m4ftx5nk.js → tool-output-kfnngk0d.js} +30 -30
  151. package/dist/chunks/{tool-output-fyaaepwe.js → tool-output-kg500zpr.js} +28 -28
  152. package/dist/chunks/{tool-output-hj1t8ssm.js → tool-output-krmwacza.js} +20 -20
  153. package/dist/chunks/{tool-output-4ew25cb5.js → tool-output-krxsh9ks.js} +23 -23
  154. package/dist/chunks/{tool-output-d3aj8f3h.js → tool-output-kv2t3cyj.js} +9 -9
  155. package/dist/chunks/{tool-output-ex8kn217.js → tool-output-m17rt52q.js} +7 -7
  156. package/dist/chunks/{tool-output-ppvp06zs.js → tool-output-m2vvefb9.js} +23 -23
  157. package/dist/chunks/{tool-output-2jjfs7g5.js → tool-output-m6cfdtf3.js} +3 -3
  158. package/dist/chunks/{tool-output-qxa8694e.js → tool-output-mbqn2nbf.js} +12 -12
  159. package/dist/chunks/{tool-output-f5g6d0qb.js → tool-output-mc2p1ws7.js} +20 -20
  160. package/dist/chunks/{tool-output-95kj44hy.js → tool-output-mk99ka2e.js} +7 -7
  161. package/dist/chunks/{tool-output-xvhx3fzq.js → tool-output-mn5s68kz.js} +8 -8
  162. package/dist/chunks/{tool-output-q1edwbg5.js → tool-output-mq4pmep5.js} +16 -16
  163. package/dist/chunks/{tool-output-sf3r2nj7.js → tool-output-mxnpz060.js} +2 -2
  164. package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
  165. package/dist/chunks/{tool-output-sbfaben9.js → tool-output-nd2qx06s.js} +7 -7
  166. package/dist/chunks/{tool-output-d0pyrcv2.js → tool-output-nf1q0ebc.js} +47 -47
  167. package/dist/chunks/{tool-output-ateksmxm.js → tool-output-ngbqbpny.js} +14 -14
  168. package/dist/chunks/{tool-output-p53k08rd.js → tool-output-nq646sks.js} +23 -23
  169. package/dist/chunks/{tool-output-4r6p4fek.js → tool-output-nq8r7s52.js} +4 -4
  170. package/dist/chunks/{tool-output-qfz6bxfd.js → tool-output-nr915jn7.js} +3 -3
  171. package/dist/chunks/{tool-output-2n444ktb.js → tool-output-nv2c5e9q.js} +3 -3
  172. package/dist/chunks/{tool-output-h77r3w1s.js → tool-output-nw1saj90.js} +28 -28
  173. package/dist/chunks/{tool-output-hxrjgpzw.js → tool-output-nz9pn5jw.js} +9 -9
  174. package/dist/chunks/{tool-output-yxjmegqv.js → tool-output-nzaxwfce.js} +30 -30
  175. package/dist/chunks/{tool-output-t6vp9y58.js → tool-output-nzm9kpg0.js} +43 -43
  176. package/dist/chunks/{tool-output-vv9ywpgj.js → tool-output-p2sff4ab.js} +2 -2
  177. package/dist/chunks/{tool-output-hsnq1va6.js → tool-output-p55ejza0.js} +3 -3
  178. package/dist/chunks/{tool-output-60w1zvt0.js → tool-output-pf3vmkke.js} +58 -58
  179. package/dist/chunks/{tool-output-7z9zc7fv.js → tool-output-ppbjty95.js} +34 -34
  180. package/dist/chunks/{tool-output-qykgtxne.js → tool-output-pr168ar6.js} +22 -22
  181. package/dist/chunks/{tool-output-eka5gqec.js → tool-output-pxv0r0tk.js} +18 -18
  182. package/dist/chunks/{tool-output-6r9ht2s4.js → tool-output-q3z02may.js} +2 -2
  183. package/dist/chunks/{tool-output-c83t1a4q.js → tool-output-q3z0vr5a.js} +5 -5
  184. package/dist/chunks/{tool-output-6sxbqbzw.js → tool-output-qa8vg83d.js} +9 -9
  185. package/dist/chunks/{tool-output-parb2748.js → tool-output-qg6qvrnm.js} +2 -2
  186. package/dist/chunks/{tool-output-jc49e2ak.js → tool-output-qgmkp9j8.js} +24 -24
  187. package/dist/chunks/{tool-output-ydd7qh3d.js → tool-output-qhwrm2rz.js} +1 -1
  188. package/dist/chunks/{tool-output-erd82hzj.js → tool-output-qnk9w869.js} +23 -23
  189. package/dist/chunks/{tool-output-xf3q1v2n.js → tool-output-qpmemebt.js} +1 -1
  190. package/dist/chunks/{tool-output-e63h50qx.js → tool-output-qrwmr4mb.js} +24 -24
  191. package/dist/chunks/{tool-output-v093k11a.js → tool-output-qs0v2njn.js} +1 -1
  192. package/dist/chunks/{tool-output-p4g6dtgh.js → tool-output-qyb0apjn.js} +14 -14
  193. package/dist/chunks/{tool-output-py9rnfbe.js → tool-output-rcv43n97.js} +21 -21
  194. package/dist/chunks/{tool-output-4p9gmmpp.js → tool-output-rfwkesfc.js} +33 -33
  195. package/dist/chunks/{tool-output-fjp9qcz0.js → tool-output-rhte1d85.js} +11 -11
  196. package/dist/chunks/{tool-output-nef4x0fv.js → tool-output-rj5f6m6g.js} +17 -17
  197. package/dist/chunks/{tool-output-jdzjtwv2.js → tool-output-rk2h67k3.js} +77 -77
  198. package/dist/chunks/{tool-output-w19hfjk6.js → tool-output-rk6pkc68.js} +10 -10
  199. package/dist/chunks/{tool-output-g6mxdxvy.js → tool-output-rv8zvzdc.js} +6 -6
  200. package/dist/chunks/{tool-output-9rytrcgt.js → tool-output-rxmrkyph.js} +7 -7
  201. package/dist/chunks/{tool-output-530xg6vw.js → tool-output-s4kyhetj.js} +1 -1
  202. package/dist/chunks/{tool-output-3y4xzgma.js → tool-output-s6h1tbfj.js} +12 -12
  203. package/dist/chunks/{tool-output-2cdjxzfg.js → tool-output-sbz71ybr.js} +2 -2
  204. package/dist/chunks/{tool-output-kb33k53g.js → tool-output-sqj1fmw3.js} +7 -7
  205. package/dist/chunks/{tool-output-0j7gp832.js → tool-output-sqjzf8x2.js} +3 -3
  206. package/dist/chunks/{tool-output-ztf6n3de.js → tool-output-syncbfr5.js} +3 -3
  207. package/dist/chunks/{tool-output-80pdnbfy.js → tool-output-t1c5djej.js} +28 -28
  208. package/dist/chunks/{tool-output-jpdapree.js → tool-output-t5pccnhe.js} +13 -13
  209. package/dist/chunks/{tool-output-ww0cyf3z.js → tool-output-tcbneg83.js} +48 -48
  210. package/dist/chunks/{tool-output-e5y560y7.js → tool-output-th2hp9ev.js} +7 -7
  211. package/dist/chunks/{tool-output-d904zbqa.js → tool-output-tj4hnhpr.js} +25 -25
  212. package/dist/chunks/{tool-output-m6f9p571.js → tool-output-tjm2sr5g.js} +21 -21
  213. package/dist/chunks/{tool-output-mpq8mfwy.js → tool-output-tkmbybpd.js} +6 -6
  214. package/dist/chunks/{tool-output-tvgyr2bd.js → tool-output-tn27k7n2.js} +12 -12
  215. package/dist/chunks/{tool-output-vr4vq26x.js → tool-output-tpc5s4y5.js} +43 -43
  216. package/dist/chunks/{tool-output-8a2xbwhq.js → tool-output-v74x3na4.js} +6 -6
  217. package/dist/chunks/{tool-output-amrdb7ww.js → tool-output-v77zgkhm.js} +4 -4
  218. package/dist/chunks/{tool-output-6jbcaht7.js → tool-output-vakqs29q.js} +1 -1
  219. package/dist/chunks/{tool-output-4y71by1a.js → tool-output-vbthxz0p.js} +15 -15
  220. package/dist/chunks/{tool-output-gmg2m67c.js → tool-output-vc37r1zq.js} +6 -6
  221. package/dist/chunks/{tool-output-115b3ms3.js → tool-output-veq5jnq3.js} +9 -9
  222. package/dist/chunks/{tool-output-bgm817xr.js → tool-output-vrcsa8qx.js} +7 -7
  223. package/dist/chunks/{tool-output-x7de2wha.js → tool-output-vt4r9rmy.js} +7 -7
  224. package/dist/chunks/{tool-output-yf1a4qa7.js → tool-output-vtkgm0rk.js} +3 -3
  225. package/dist/chunks/{tool-output-wd84ymt0.js → tool-output-vx0rqq3s.js} +25 -25
  226. package/dist/chunks/{tool-output-wqszm3cq.js → tool-output-vx8z5gpr.js} +5 -5
  227. package/dist/chunks/{tool-output-fv23p420.js → tool-output-vzyjvy19.js} +352 -352
  228. package/dist/chunks/{tool-output-kbd1k1ej.js → tool-output-w2wjze7r.js} +9 -9
  229. package/dist/chunks/{tool-output-f8enq2ta.js → tool-output-w5zv77p4.js} +4 -4
  230. package/dist/chunks/{tool-output-qq4f8yjf.js → tool-output-wfmpece2.js} +19 -19
  231. package/dist/chunks/{tool-output-8t99kr38.js → tool-output-wfs84ra6.js} +3 -3
  232. package/dist/chunks/{tool-output-r11wa1x2.js → tool-output-wk8jtf2z.js} +17 -17
  233. package/dist/chunks/{tool-output-8eap5edk.js → tool-output-wmv27f9c.js} +3 -3
  234. package/dist/chunks/{tool-output-s4xb5t7y.js → tool-output-wshxcgwp.js} +31 -31
  235. package/dist/chunks/{tool-output-81e7rhct.js → tool-output-wt3svnfa.js} +30 -30
  236. package/dist/chunks/{tool-output-9djsjk3f.js → tool-output-wvwgxcbr.js} +37 -37
  237. package/dist/chunks/{tool-output-5r1jnhxq.js → tool-output-wwax6h97.js} +20 -20
  238. package/dist/chunks/{tool-output-ys2kpqh4.js → tool-output-wy9q57d6.js} +10 -10
  239. package/dist/chunks/{tool-output-7nqkf5r1.js → tool-output-x4mcewfn.js} +3 -3
  240. package/dist/chunks/{tool-output-z16qtg1w.js → tool-output-x6613ah8.js} +13 -13
  241. package/dist/chunks/{tool-output-6y63rby9.js → tool-output-xd3zm682.js} +13 -13
  242. package/dist/chunks/{tool-output-2t908x44.js → tool-output-xe8ck1p9.js} +19 -19
  243. package/dist/chunks/{tool-output-22ywg2me.js → tool-output-xft6dn0a.js} +7 -7
  244. package/dist/chunks/{tool-output-55gp94gm.js → tool-output-xtfjfdah.js} +29 -29
  245. package/dist/chunks/{tool-output-v06mza8y.js → tool-output-xw4jh0fq.js} +10 -10
  246. package/dist/chunks/{tool-output-pzp284mp.js → tool-output-y0dmyt4t.js} +23 -23
  247. package/dist/chunks/{tool-output-gqgdr040.js → tool-output-y4ahsw2v.js} +6 -6
  248. package/dist/chunks/{tool-output-w9qm3w4z.js → tool-output-y9wqzmeb.js} +8 -8
  249. package/dist/chunks/{tool-output-bfhbvqd5.js → tool-output-ybr9qycb.js} +20 -20
  250. package/dist/chunks/{tool-output-k1zxkq7r.js → tool-output-yk1y9yyc.js} +8 -8
  251. package/dist/chunks/{tool-output-cq3q9vsf.js → tool-output-ykqp9ed4.js} +19 -19
  252. package/dist/chunks/{tool-output-g5ae1s2z.js → tool-output-ynqstxnz.js} +145 -145
  253. package/dist/chunks/{tool-output-rjz4d94e.js → tool-output-yrevsbh2.js} +7 -7
  254. package/dist/chunks/{tool-output-e0wzwgvk.js → tool-output-z0fjqy87.js} +3 -3
  255. package/dist/chunks/{tool-output-yydqqga9.js → tool-output-zfyb5tr4.js} +3 -3
  256. package/dist/chunks/{tool-output-n18wzqne.js → tool-output-zrc3e38m.js} +1 -1
  257. package/dist/chunks/{tool-output-phn32fwn.js → tool-output-zx10qtpe.js} +17 -17
  258. package/dist/codemode/execution.js +3 -3
  259. package/dist/codemode/fetch.js +107 -107
  260. package/dist/codemode/instructions.js +8 -8
  261. package/dist/codemode/tool.js +112 -112
  262. package/dist/command.js +75 -75
  263. package/dist/config/discovery.js +68 -68
  264. package/dist/config/integration.js +3 -3
  265. package/dist/config/normalize.js +79 -79
  266. package/dist/config/plugin/agent.js +93 -93
  267. package/dist/config/plugin/command.js +180 -180
  268. package/dist/config/plugin/compaction.js +127 -127
  269. package/dist/config/plugin/compatibility.js +110 -110
  270. package/dist/config/plugin/formatter.js +94 -94
  271. package/dist/config/plugin/image.js +93 -93
  272. package/dist/config/plugin/instruction.js +94 -94
  273. package/dist/config/plugin/location-watcher.js +95 -95
  274. package/dist/config/plugin/mcp.js +97 -97
  275. package/dist/config/plugin/policy.js +93 -93
  276. package/dist/config/plugin/provider.js +93 -93
  277. package/dist/config/plugin/reference.js +94 -94
  278. package/dist/config/plugin/shell.js +95 -95
  279. package/dist/config/plugin/skill-file.js +107 -107
  280. package/dist/config/plugin/skill.js +113 -113
  281. package/dist/config/plugin/snapshot.js +93 -93
  282. package/dist/config/plugin/source.js +96 -96
  283. package/dist/config/plugin/tool-output.js +94 -94
  284. package/dist/config/plugin/websearch.js +94 -94
  285. package/dist/config/plugin/worktree.js +94 -94
  286. package/dist/config.js +97 -97
  287. package/dist/credential.js +75 -75
  288. package/dist/database/database.js +60 -60
  289. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  290. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  291. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  292. package/dist/database/drizzle/index.js +9 -9
  293. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  294. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  295. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  296. package/dist/database/drizzle.js +9 -9
  297. package/dist/database/migration.gen.js +49 -49
  298. package/dist/database/migration.js +50 -50
  299. package/dist/database/v1-migration.bun.js +15 -15
  300. package/dist/effect/app-node-builder.js +265 -265
  301. package/dist/environment/environment.js +75 -75
  302. package/dist/environment/index.js +75 -75
  303. package/dist/environment/unavailable.js +3 -3
  304. package/dist/event-logger.js +9 -9
  305. package/dist/file-access.js +114 -114
  306. package/dist/file-mutation.js +76 -76
  307. package/dist/filesystem/file-watch.js +12 -12
  308. package/dist/filesystem/location-watcher-policy.js +5 -5
  309. package/dist/filesystem/location-watcher.js +196 -196
  310. package/dist/filesystem/search.js +79 -79
  311. package/dist/filesystem/watcher.js +7 -7
  312. package/dist/filesystem.js +82 -82
  313. package/dist/form.js +76 -76
  314. package/dist/formatter/builtins.js +3 -3
  315. package/dist/formatter.js +73 -73
  316. package/dist/generate.js +88 -88
  317. package/dist/git.js +7 -7
  318. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  319. package/dist/github-copilot/copilot-provider.js +3 -3
  320. package/dist/github-copilot/models.js +75 -75
  321. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  322. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  323. package/dist/image/notice.js +3 -3
  324. package/dist/image/photon.js +1 -1
  325. package/dist/image.js +5 -5
  326. package/dist/instance/service.js +5 -5
  327. package/dist/instance.js +351 -351
  328. package/dist/instruction-discovery.js +78 -78
  329. package/dist/instructions/builtins.js +73 -73
  330. package/dist/instructions/index.js +5 -5
  331. package/dist/integration.js +72 -72
  332. package/dist/job.js +68 -68
  333. package/dist/kv.js +65 -65
  334. package/dist/location-activity.js +72 -72
  335. package/dist/location-lifecycle.js +112 -112
  336. package/dist/location-service-map.js +72 -72
  337. package/dist/location-services.js +349 -349
  338. package/dist/location.js +73 -73
  339. package/dist/managed-policy.js +2 -2
  340. package/dist/mcp/client.js +17 -17
  341. package/dist/mcp/index.js +89 -89
  342. package/dist/mcp/instructions.js +136 -136
  343. package/dist/mcp/oauth.js +13 -13
  344. package/dist/mcp/stdio.js +72 -72
  345. package/dist/modal/models.js +75 -75
  346. package/dist/model-resolver.js +82 -82
  347. package/dist/model.js +80 -80
  348. package/dist/models-dev.js +89 -89
  349. package/dist/permission/saved.js +67 -67
  350. package/dist/permission.js +113 -113
  351. package/dist/persistent-pty/index.js +80 -80
  352. package/dist/persistent-pty.js +64 -64
  353. package/dist/plugin/agent.js +66 -66
  354. package/dist/plugin/command.js +80 -80
  355. package/dist/plugin/goal.js +3 -3
  356. package/dist/plugin/hooks.js +3 -3
  357. package/dist/plugin/host.js +187 -187
  358. package/dist/plugin/identity.js +5 -5
  359. package/dist/plugin/internal.js +329 -329
  360. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  361. package/dist/plugin/models-dev.js +80 -80
  362. package/dist/plugin/module.js +90 -90
  363. package/dist/plugin/optimize.js +2 -2
  364. package/dist/plugin/plan.js +108 -108
  365. package/dist/plugin/provider/amazon-bedrock.js +75 -75
  366. package/dist/plugin/provider/azure.js +96 -96
  367. package/dist/plugin/provider/chatgpt.js +92 -92
  368. package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
  369. package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
  370. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  371. package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
  372. package/dist/plugin/provider/claude-agent/index.js +103 -103
  373. package/dist/plugin/provider/claude-agent/instructions.js +81 -81
  374. package/dist/plugin/provider/claude-agent/integration.js +80 -80
  375. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  376. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  377. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  378. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  379. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  380. package/dist/plugin/provider/claude-agent/provider.js +77 -77
  381. package/dist/plugin/provider/claude-agent/session.js +80 -80
  382. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  383. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  384. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  385. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  386. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  387. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  388. package/dist/plugin/provider/configured.js +90 -90
  389. package/dist/plugin/provider/credential-settings.js +64 -64
  390. package/dist/plugin/provider/digitalocean.js +78 -78
  391. package/dist/plugin/provider/github-copilot.js +80 -80
  392. package/dist/plugin/provider/gitlab.js +77 -77
  393. package/dist/plugin/provider/google-vertex.js +91 -91
  394. package/dist/plugin/provider/llmgateway.js +67 -67
  395. package/dist/plugin/provider/lmstudio.js +99 -99
  396. package/dist/plugin/provider/local.js +96 -96
  397. package/dist/plugin/provider/modal.js +78 -78
  398. package/dist/plugin/provider/ollama.js +99 -99
  399. package/dist/plugin/provider/openai-context-caps.js +74 -74
  400. package/dist/plugin/provider/openai.js +92 -92
  401. package/dist/plugin/provider/opencode.js +94 -94
  402. package/dist/plugin/provider/openrouter.js +75 -75
  403. package/dist/plugin/provider/poe.js +67 -67
  404. package/dist/plugin/provider/refresh.js +65 -65
  405. package/dist/plugin/provider/sap-ai-core.js +74 -74
  406. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  407. package/dist/plugin/provider/vllm.js +99 -99
  408. package/dist/plugin/provider/xai.js +75 -75
  409. package/dist/plugin/provider.js +157 -157
  410. package/dist/plugin/sdk.js +66 -66
  411. package/dist/plugin/service.js +3 -3
  412. package/dist/plugin/skill.js +109 -109
  413. package/dist/plugin/supervisor.js +335 -335
  414. package/dist/plugin/tool-input-repair.js +3 -3
  415. package/dist/plugin/update.js +5 -5
  416. package/dist/plugin/vcs/git.js +72 -72
  417. package/dist/plugin/vcs/hg.js +72 -72
  418. package/dist/plugin/verbosity.js +77 -77
  419. package/dist/plugin/warming.js +94 -94
  420. package/dist/plugin/websearch/exa.js +3 -3
  421. package/dist/plugin/websearch/firecrawl.js +4 -4
  422. package/dist/plugin/websearch/index.js +7 -7
  423. package/dist/plugin/websearch/parallel.js +6 -6
  424. package/dist/plugin/websearch/tavily.js +6 -6
  425. package/dist/plugin/websearch/tinyfish.js +6 -6
  426. package/dist/plugin.js +196 -196
  427. package/dist/project/schema.js +3 -3
  428. package/dist/project.js +74 -74
  429. package/dist/provider.js +79 -79
  430. package/dist/pty.js +86 -86
  431. package/dist/reference/instructions.js +74 -74
  432. package/dist/reference.js +74 -74
  433. package/dist/repository-cache.js +69 -69
  434. package/dist/ripgrep.js +78 -78
  435. package/dist/rpc.js +72 -72
  436. package/dist/schedule/check.js +191 -191
  437. package/dist/schedule.js +198 -198
  438. package/dist/session/blob.js +92 -92
  439. package/dist/session/command.js +66 -66
  440. package/dist/session/compaction.js +128 -128
  441. package/dist/session/context.js +152 -152
  442. package/dist/session/diff.js +72 -72
  443. package/dist/session/environment.js +5 -5
  444. package/dist/session/error.js +2 -2
  445. package/dist/session/execution/restart.js +122 -122
  446. package/dist/session/execution.js +121 -121
  447. package/dist/session/generate.js +152 -152
  448. package/dist/session/history.js +98 -98
  449. package/dist/session/inbox.js +109 -109
  450. package/dist/session/info.js +2 -2
  451. package/dist/session/instruction-entry.js +68 -68
  452. package/dist/session/instruction-state.js +2 -2
  453. package/dist/session/instructions.js +103 -103
  454. package/dist/session/message-updater.js +3 -3
  455. package/dist/session/model-request.js +122 -122
  456. package/dist/session/model-transport.js +5 -5
  457. package/dist/session/move.js +124 -124
  458. package/dist/session/projector.js +104 -104
  459. package/dist/session/prompt.js +110 -110
  460. package/dist/session/revert.js +101 -101
  461. package/dist/session/runner/index.js +3 -3
  462. package/dist/session/runner/llm.js +198 -198
  463. package/dist/session/runner/model.js +83 -83
  464. package/dist/session/runner/publish-llm-event.js +110 -110
  465. package/dist/session/runner/retry.js +4 -4
  466. package/dist/session/runner/step.js +123 -123
  467. package/dist/session/runner/to-llm-message.js +99 -99
  468. package/dist/session/schema.js +5 -5
  469. package/dist/session/session.js +135 -135
  470. package/dist/session/shell.js +103 -103
  471. package/dist/session/skill.js +109 -109
  472. package/dist/session/stats.js +8 -8
  473. package/dist/session/store.js +104 -104
  474. package/dist/session/stored.js +3 -3
  475. package/dist/session/subagent-completion.js +3 -3
  476. package/dist/session/subagent-job.js +181 -181
  477. package/dist/session/system-prompt.js +5 -5
  478. package/dist/session/title.js +153 -153
  479. package/dist/session/to-session-error.js +109 -109
  480. package/dist/session/transfer.js +116 -116
  481. package/dist/session.js +187 -187
  482. package/dist/shared-cache.js +3 -3
  483. package/dist/shell/parse.js +3 -3
  484. package/dist/shell/select.js +14 -14
  485. package/dist/shell.js +106 -106
  486. package/dist/skill/discovery.js +5 -5
  487. package/dist/skill/instructions.js +113 -113
  488. package/dist/skill.js +118 -118
  489. package/dist/snapshot.js +77 -77
  490. package/dist/tool/mcp.js +135 -135
  491. package/dist/tool/plugin/artifact.js +179 -179
  492. package/dist/tool/plugin/edit.js +115 -115
  493. package/dist/tool/plugin/glob.js +124 -124
  494. package/dist/tool/plugin/grep.js +124 -124
  495. package/dist/tool/plugin/image-generate.js +189 -189
  496. package/dist/tool/plugin/mcp-resource.js +118 -118
  497. package/dist/tool/plugin/opencode.js +117 -117
  498. package/dist/tool/plugin/patch.js +123 -123
  499. package/dist/tool/plugin/question.js +110 -110
  500. package/dist/tool/plugin/read.js +125 -125
  501. package/dist/tool/plugin/schedule.js +195 -195
  502. package/dist/tool/plugin/shell.js +182 -182
  503. package/dist/tool/plugin/skill.js +117 -117
  504. package/dist/tool/plugin/subagent.js +186 -186
  505. package/dist/tool/plugin/todo.js +108 -108
  506. package/dist/tool/plugin/webfetch.js +116 -116
  507. package/dist/tool/plugin/websearch.js +117 -117
  508. package/dist/tool/plugin/write.js +123 -123
  509. package/dist/tool/read-filesystem.js +80 -80
  510. package/dist/tool-output.js +5 -5
  511. package/dist/tool.js +118 -118
  512. package/dist/types/session/model-request.d.ts +2 -2
  513. package/dist/usage-limits.js +77 -77
  514. package/dist/v1/config/agent.js +5 -5
  515. package/dist/v1/config/migrate.js +75 -75
  516. package/dist/v1/config/plugin.js +3 -3
  517. package/dist/v1/config/provider.js +3 -3
  518. package/dist/variant.js +75 -75
  519. package/dist/vcs.js +75 -75
  520. package/dist/voice.js +77 -77
  521. package/dist/websearch.js +80 -80
  522. package/dist/wellknown/plugin.js +66 -66
  523. package/dist/wellknown.js +71 -71
  524. package/dist/workspace/driver.js +7 -7
  525. package/dist/workspace.js +71 -71
  526. package/dist/worktree/git.js +4 -4
  527. package/dist/worktree/strategies.js +74 -74
  528. package/dist/worktree.js +78 -78
  529. package/package.json +8 -8
  530. package/dist/chunks/tool-output-2k0qjd71.js +0 -261
  531. package/dist/chunks/tool-output-h8kmj787.js +0 -26
  532. /package/dist/chunks/{tool-output-9b00c1fb.js → tool-output-5ebw3s4g.js} +0 -0
  533. /package/dist/chunks/{tool-output-pd14fbdd.js → tool-output-78hmycys.js} +0 -0
  534. /package/dist/chunks/{tool-output-775hqbnd.js → tool-output-80mg3ag8.js} +0 -0
  535. /package/dist/chunks/{tool-output-mfjzh9b6.js → tool-output-b00xhfda.js} +0 -0
  536. /package/dist/chunks/{tool-output-ybfg1fv3.js → tool-output-kmysz3kf.js} +0 -0
  537. /package/dist/chunks/{tool-output-287n1fg5.js → tool-output-x0tb4wca.js} +0 -0
  538. /package/dist/chunks/{tool-output-j9nxzz3g.js → tool-output-ze75qvmd.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./tool-output-v093k11a.js";
4
+ } from "./tool-output-qs0v2njn.js";
5
5
  import {
6
- Service83,
7
- node86
8
- } from "./tool-output-7ns7jg7q.js";
6
+ Service85,
7
+ node88
8
+ } from "./tool-output-4q33662b.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
12
  } from "./tool-output-40y6dtc2.js";
13
13
  import {
14
- Service82,
15
- node85
16
- } from "./tool-output-4seebxp0.js";
14
+ Service78,
15
+ node80
16
+ } from "./tool-output-eck7g38n.js";
17
17
  import {
18
18
  latest2,
19
- Service72,
19
+ Service73,
20
20
  node75
21
- } from "./tool-output-t6vp9y58.js";
21
+ } from "./tool-output-nzm9kpg0.js";
22
22
  import {
23
23
  detect2
24
24
  } from "./tool-output-4pyp9zr9.js";
25
25
  import {
26
- Service24,
27
- node27
28
- } from "./tool-output-jdzjtwv2.js";
26
+ Service31,
27
+ node34
28
+ } from "./tool-output-rk2h67k3.js";
29
29
  import {
30
30
  __export
31
31
  } from "./tool-output-9rqn6x4v.js";
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
36
36
  Artifact: () => exports_artifact2,
37
37
  Capability: () => Capability2,
38
38
  Content: () => Content2,
39
- CreateInput: () => CreateInput4,
40
- DisabledError: () => DisabledError3,
41
- Event: () => Event5,
39
+ CreateInput: () => CreateInput5,
40
+ DisabledError: () => DisabledError4,
41
+ Event: () => Event7,
42
42
  FileMissingError: () => FileMissingError2,
43
- ID: () => ID6,
44
- Info: () => Info7,
43
+ ID: () => ID8,
44
+ Info: () => Info9,
45
45
  InvalidError: () => InvalidError3,
46
46
  LocalProviderID: () => LocalProviderID2,
47
- NotFoundError: () => NotFoundError3,
48
- Provider: () => Provider2,
47
+ NotFoundError: () => NotFoundError5,
48
+ Provider: () => Provider3,
49
49
  ProviderError: () => ProviderError2,
50
50
  ProviderID: () => ProviderID2,
51
- ProviderNotFoundError: () => ProviderNotFoundError2,
52
- Service: () => Service23,
53
- UpdateInput: () => UpdateInput2,
51
+ ProviderNotFoundError: () => ProviderNotFoundError3,
52
+ Service: () => Service30,
53
+ UpdateInput: () => UpdateInput3,
54
54
  locate: () => locate2,
55
- node: () => node26
55
+ node: () => node33
56
56
  });
57
57
  import { randomUUID } from "node:crypto";
58
58
  import fs from "node:fs/promises";
@@ -61,13 +61,13 @@ import { lookup } from "mime-types";
61
61
  import {
62
62
  Capability as Capability2,
63
63
  Content as Content2,
64
- CreateInput as CreateInput4,
65
- Event as Event5,
66
- ID as ID6,
67
- Info as Info7,
68
- Provider as Provider2,
64
+ CreateInput as CreateInput5,
65
+ Event as Event7,
66
+ ID as ID8,
67
+ Info as Info9,
68
+ Provider as Provider3,
69
69
  ProviderID as ProviderID2,
70
- UpdateInput as UpdateInput2
70
+ UpdateInput as UpdateInput3
71
71
  } from "@opencode/schema/artifact";
72
72
  import { Global } from "@opencode/util/global";
73
73
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
75
75
  var LocalProviderID2 = ProviderID2.make("local");
76
76
  var ItemPrefix = "artifact:item:";
77
77
 
78
- class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
78
+ class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
79
79
  get message() {
80
80
  return "Artifacts are disabled; set experimental.artifacts in config";
81
81
  }
82
82
  }
83
83
 
84
- class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
- artifactID: ID6
84
+ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
+ artifactID: ID8
86
86
  }) {
87
87
  get message() {
88
88
  return `Artifact not found: ${this.artifactID}`;
@@ -90,7 +90,7 @@ class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
90
90
  }
91
91
 
92
92
  class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
93
- artifactID: ID6,
93
+ artifactID: ID8,
94
94
  path: Schema.String
95
95
  }) {
96
96
  get message() {
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
98
98
  }
99
99
  }
100
100
 
101
- class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
101
+ class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
102
102
  providerID: ProviderID2
103
103
  }) {
104
104
  get message() {
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
124
124
  }
125
125
  }
126
126
 
127
- class Service23 extends Context.Service()("@opencode/Artifact") {
127
+ class Service30 extends Context.Service()("@opencode/Artifact") {
128
128
  }
129
129
  var StoredRecord = Schema.Struct({
130
- info: Info7,
130
+ info: Info9,
131
131
  directory: Schema.String,
132
132
  projectID: Schema.String
133
133
  });
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
140
140
  const decoded = decodeStoredRecord(stored);
141
141
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
142
142
  }));
143
- var layer = Layer.effect(Service23, Effect.gen(function* () {
143
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
144
144
  const bus = yield* Service89;
145
- const config = yield* Service72;
145
+ const config = yield* Service73;
146
146
  const global = yield* Global.Service;
147
- const kv = yield* Service82;
148
- const location = yield* Service83;
149
- const sessions = yield* Service24;
147
+ const kv = yield* Service78;
148
+ const location = yield* Service85;
149
+ const sessions = yield* Service31;
150
150
  const rootDir = path.join(global.data, "artifacts");
151
151
  const itemDir = (id) => path.join(rootDir, id);
152
152
  const localProvider = {
@@ -187,13 +187,13 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
187
187
  }
188
188
  }
189
189
  }),
190
- notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
190
+ notify: changes2(snapshotProviders, () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid))
191
191
  });
192
192
  const isEnabled = Effect.fn("Artifact.enabled")(function* () {
193
193
  const entries = yield* config.entries();
194
194
  return latest2(entries, "experimental")?.artifacts === true;
195
195
  });
196
- const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
196
+ const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
197
197
  const activeDefaultID = () => {
198
198
  const data = state.get();
199
199
  return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
@@ -202,17 +202,17 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
202
202
  const data = state.get();
203
203
  const target = requested ?? activeDefaultID();
204
204
  const found = data.providers.get(target);
205
- return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
205
+ return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
206
206
  };
207
207
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
208
- return Service23.of({
208
+ return Service30.of({
209
209
  transform: state.transform,
210
210
  reload: state.reload,
211
211
  enabled: isEnabled,
212
212
  providers: Effect.fn("Artifact.providers")(function* () {
213
213
  yield* requireEnabled();
214
214
  const defaultID = activeDefaultID();
215
- return Array.from(state.get().providers.values(), (provider) => Provider2.make({
215
+ return Array.from(state.get().providers.values(), (provider) => Provider3.make({
216
216
  id: provider.id,
217
217
  name: provider.name,
218
218
  capabilities: [...provider.capabilities],
@@ -249,10 +249,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
249
249
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
250
250
  const entry = yield* resolveEntry(files, input.entry);
251
251
  const provider = yield* resolveProvider(input.provider);
252
- const id = ID6.create();
252
+ const id = ID8.create();
253
253
  const now = yield* Clock.currentTimeMillis;
254
254
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
255
- const info = Info7.make({
255
+ const info = Info9.make({
256
256
  id,
257
257
  provider: provider.id,
258
258
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -272,14 +272,14 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
272
272
  yield* requireEnabled();
273
273
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
274
274
  if (!existing)
275
- return yield* new NotFoundError3({ artifactID: id });
275
+ return yield* new NotFoundError5({ artifactID: id });
276
276
  return existing.info;
277
277
  }),
278
278
  get: Effect.fn("Artifact.get")(function* (id) {
279
279
  yield* requireEnabled();
280
280
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
281
281
  if (!existing)
282
- return yield* new NotFoundError3({ artifactID: id });
282
+ return yield* new NotFoundError5({ artifactID: id });
283
283
  const provider = yield* resolveProvider(existing.info.provider);
284
284
  const raw = yield* provider.read(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
285
285
  return Content2.make({
@@ -292,7 +292,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
292
292
  yield* checkSession(input.sessionID);
293
293
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
294
294
  if (!existing)
295
- return yield* new NotFoundError3({ artifactID: id });
295
+ return yield* new NotFoundError5({ artifactID: id });
296
296
  const title = input.title === undefined ? existing.info.title : input.title.trim();
297
297
  if (!title)
298
298
  return yield* new InvalidError3({ reason: "Artifact title must not be empty", field: "title" });
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
302
302
  const now = yield* Clock.currentTimeMillis;
303
303
  const sessionID = input.sessionID ?? existing.info.sessionID;
304
304
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
305
- const info = Info7.make({
305
+ const info = Info9.make({
306
306
  id,
307
307
  provider: existing.info.provider,
308
308
  ...sessionID === undefined ? {} : { sessionID },
@@ -322,7 +322,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
322
322
  yield* requireEnabled();
323
323
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
324
324
  if (!existing)
325
- return yield* new NotFoundError3({ artifactID: id });
325
+ return yield* new NotFoundError5({ artifactID: id });
326
326
  const provider = state.get().providers.get(existing.info.provider);
327
327
  if (provider) {
328
328
  yield* provider.delete(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
@@ -333,7 +333,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
333
333
  yield* requireEnabled();
334
334
  const existing = yield* loadProjectRecord(kv, id, location.project.id);
335
335
  if (!existing)
336
- return yield* new NotFoundError3({ artifactID: id });
336
+ return yield* new NotFoundError5({ artifactID: id });
337
337
  if (existing.info.provider !== LocalProviderID2) {
338
338
  return yield* new InvalidError3({
339
339
  reason: `Artifact ${id} is hosted by provider "${existing.info.provider}", not the local server`,
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
350
350
  })
351
351
  });
352
352
  }));
353
- var node26 = makeLocationNode({
354
- service: Service23,
353
+ var node33 = makeLocationNode({
354
+ service: Service30,
355
355
  layer,
356
- deps: [node92, node75, Global.node, node85, node86, node27]
356
+ deps: [node92, node75, Global.node, node80, node88, node34]
357
357
  });
358
358
  function encodeStringFiles(files) {
359
359
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
491
491
  });
492
492
  }
493
493
 
494
- export { Capability2, Content2, CreateInput4, Event5, ID6, Info7, Provider2, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError3, NotFoundError3, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service23, locate2, node26, exports_artifact2 };
494
+ export { Capability2, Content2, CreateInput5, Event7, ID8, Info9, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError5, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service30, locate2, node33, exports_artifact2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./tool-output-v093k11a.js";
4
+ } from "./tool-output-qs0v2njn.js";
5
5
  import {
6
6
  lazy2
7
7
  } from "./tool-output-88xbtdfr.js";
8
8
  import {
9
- Service83,
10
- node86
11
- } from "./tool-output-7ns7jg7q.js";
9
+ Service85,
10
+ node88
11
+ } from "./tool-output-4q33662b.js";
12
12
  import {
13
- Service88,
13
+ Service52,
14
14
  login2,
15
- node91
16
- } from "./tool-output-dcbgjmsj.js";
15
+ node54
16
+ } from "./tool-output-34mdyaah.js";
17
17
  import {
18
18
  __export
19
19
  } from "./tool-output-9rqn6x4v.js";
@@ -21,45 +21,45 @@ import {
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput5,
25
- Event: () => Event11,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event3,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID11,
28
- Info: () => Info15,
29
- NotFoundError: () => NotFoundError8,
27
+ ID: () => ID6,
28
+ Info: () => Info5,
29
+ NotFoundError: () => NotFoundError4,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service65,
32
- UpdateInput: () => UpdateInput3,
33
- node: () => node68
31
+ Service: () => Service19,
32
+ UpdateInput: () => UpdateInput2,
33
+ node: () => node22
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event11 } from "@opencode/schema/pty";
38
+ import { Event as Event3 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID11 = Pty.ID;
43
- var Info15 = Pty.Info;
44
- var CreateInput5 = Pty.CreateInput;
45
- var UpdateInput3 = Pty.UpdateInput;
42
+ var ID6 = Pty.ID;
43
+ var Info5 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
+ var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID11
47
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID6
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID11
53
+ ptyID: ID6
54
54
  }) {
55
55
  }
56
56
 
57
- class Service65 extends Context.Service()("@opencode/Pty") {
57
+ class Service19 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service65, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
60
60
  const bus = yield* Service89;
61
- const location = yield* Service83;
62
- const shell = yield* Service88;
61
+ const location = yield* Service85;
62
+ const shell = yield* Service52;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError8({ ptyID: id });
99
+ return yield* new NotFoundError4({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID11.ascending();
125
+ const id = ID6.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service65.of({ list, get, create, update, remove, write, attach });
270
+ return Service19.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node68 = makeLocationNode({
273
- service: Service65,
272
+ var node22 = makeLocationNode({
273
+ service: Service19,
274
274
  layer,
275
- deps: [node92, node86, node91]
275
+ deps: [node92, node88, node54]
276
276
  });
277
277
 
278
- export { ID11, Info15, CreateInput5, UpdateInput3, NotFoundError8, ExitedError2, Service65, node68, exports_pty, Event11 };
278
+ export { ID6, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service19, node22, exports_pty, Event3 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service73
3
- } from "./tool-output-p4g6dtgh.js";
2
+ Service74
3
+ } from "./tool-output-qyb0apjn.js";
4
4
  import {
5
- Service83
6
- } from "./tool-output-7ns7jg7q.js";
5
+ Service85
6
+ } from "./tool-output-4q33662b.js";
7
7
  import {
8
- Service72
9
- } from "./tool-output-t6vp9y58.js";
8
+ Service73
9
+ } from "./tool-output-nzm9kpg0.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./tool-output-n7d48jjh.js";
12
+ } from "./tool-output-dxsywhez.js";
13
13
  import {
14
- File3,
15
- Service86
16
- } from "./tool-output-2j18gx8c.js";
14
+ File2,
15
+ Service51
16
+ } from "./tool-output-k12c5f6w.js";
17
17
  import {
18
18
  __export
19
19
  } from "./tool-output-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin45
25
+ Plugin: () => Plugin27
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin45 = define({
34
+ var Plugin27 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service86;
37
+ const discovery = yield* Service51;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service72;
39
+ const config = yield* Service73;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service83;
44
- const watcher = yield* Service73;
43
+ const location = yield* Service85;
44
+ const watcher = yield* Service74;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -66,13 +66,13 @@ var Plugin45 = define({
66
66
  yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
67
67
  }
68
68
  const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
69
- return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
69
+ return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
70
70
  });
71
71
  const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
72
72
  if (!discovery.global || !(yield* fs.isFile(globalFile)))
73
73
  return [];
74
74
  const file = yield* read(globalFile);
75
- return file instanceof File3 ? [file] : [];
75
+ return file instanceof File2 ? [file] : [];
76
76
  });
77
77
  const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
78
78
  if (!project)
@@ -82,7 +82,7 @@ var Plugin45 = define({
82
82
  const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
83
83
  if (files.some((file) => file === undefined))
84
84
  return unavailable3;
85
- return files.filter((file) => file instanceof File3);
85
+ return files.filter((file) => file instanceof File2);
86
86
  });
87
87
  const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
88
88
  const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
@@ -117,7 +117,7 @@ var Plugin45 = define({
117
117
  continue;
118
118
  watched.add(resolved);
119
119
  const file = yield* read(resolved);
120
- if (file instanceof File3)
120
+ if (file instanceof File2)
121
121
  files.push(file);
122
122
  }
123
123
  }
@@ -136,7 +136,7 @@ var Plugin45 = define({
136
136
  const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
137
137
  const entries = yield* config.entries();
138
138
  const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
139
- const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
139
+ const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
140
140
  configured.sources = sources;
141
141
  configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
142
142
  }, (effect) => lock.withPermit(effect));
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin45, exports_instruction };
183
+ export { Plugin27, exports_instruction };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./tool-output-v093k11a.js";
4
+ } from "./tool-output-qs0v2njn.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./tool-output-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./tool-output-55gp94gm.js";
12
+ } from "./tool-output-xtfjfdah.js";
13
13
  import {
14
- Service83,
15
- node86
16
- } from "./tool-output-7ns7jg7q.js";
14
+ Service85,
15
+ node88
16
+ } from "./tool-output-4q33662b.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create4
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info11,
32
+ Info: () => Info7,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service50,
35
+ Service: () => Service23,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node52
38
+ node: () => node26
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info11, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service50 extends Context.Service()("@opencode/Vcs") {
58
+ class Service23 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service50, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service83;
62
+ const location = yield* Service85;
63
63
  const bus = yield* Service89;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info11));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service50.of({
133
+ return Service23.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node52 = makeLocationNode({
193
- service: Service50,
192
+ var node26 = makeLocationNode({
193
+ service: Service23,
194
194
  layer,
195
- deps: [FSUtil.node, node86, node92]
195
+ deps: [FSUtil.node, node88, node92]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info11, Mode2, Untracked2, DiffError2, InitializeError2, Service50, node52, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, Untracked2, DiffError2, InitializeError2, Service23, node26, exports_vcs };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./tool-output-bfhbvqd5.js";
3
+ } from "./tool-output-ybr9qycb.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./tool-output-18a09hjh.js";
6
+ } from "./tool-output-h5x6jdbe.js";
7
7
  import {
8
8
  __export
9
9
  } from "./tool-output-9rqn6x4v.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AGENT_OPTION2,
3
3
  INSTRUCTIONS_OPTION2
4
- } from "./tool-output-qfz6bxfd.js";
4
+ } from "./tool-output-nr915jn7.js";
5
5
  import {
6
6
  ID3
7
- } from "./tool-output-ahedfgv0.js";
7
+ } from "./tool-output-2p0swzms.js";
8
8
  import {
9
9
  __export
10
10
  } from "./tool-output-9rqn6x4v.js";
@@ -13,7 +13,7 @@ import {
13
13
  var exports_instructions = {};
14
14
  __export(exports_instructions, {
15
15
  ClaudeInstructions: () => exports_instructions,
16
- register: () => register4
16
+ register: () => register3
17
17
  });
18
18
  import { Effect, Option, Schema } from "effect";
19
19
  var KINDS = ["context", "generate", "compaction"];
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
23
23
  })
24
24
  });
25
25
  var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
26
- var register4 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
26
+ var register3 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
27
27
  yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
28
28
  const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
29
29
  event.options[AGENT_OPTION2] = agent.data.system ?? "";
@@ -49,4 +49,4 @@ function instructions(system) {
49
49
  `);
50
50
  }
51
51
 
52
- export { register4, exports_instructions };
52
+ export { register3, exports_instructions };