@opencode/core 0.0.0-dev-19343 → 0.0.0-dev-19346

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{location-mutation-7qc321h1.js → app-09sr60yf.js} +20 -20
  9. package/dist/chunks/{location-mutation-3dq4f3ya.js → app-0a65vbt0.js} +5 -5
  10. package/dist/chunks/{location-mutation-hm2ejha3.js → app-0ge7vg41.js} +13 -13
  11. package/dist/chunks/{location-mutation-d1268gaq.js → app-0h6ds6h2.js} +8 -8
  12. package/dist/chunks/{location-mutation-ytf8k5yw.js → app-0jwv6t6h.js} +46 -46
  13. package/dist/chunks/{location-mutation-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-mutation-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-mutation-nws43tmt.js → app-17nkb8jb.js} +24 -24
  16. package/dist/chunks/{location-mutation-1acjjqhc.js → app-1acjjqhc.js} +1 -1
  17. package/dist/chunks/{location-mutation-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{location-mutation-1dfhrqqs.js → app-1dfhrqqs.js} +2 -2
  19. package/dist/chunks/{location-mutation-d9mnrx7s.js → app-1kaxk7dt.js} +11 -11
  20. package/dist/chunks/{location-mutation-76h67nm5.js → app-1rr79kmz.js} +12 -12
  21. package/dist/chunks/{location-mutation-sjygwc2a.js → app-1s0d9f9g.js} +32 -32
  22. package/dist/chunks/{location-mutation-56gdpj1q.js → app-1ygqh575.js} +9 -9
  23. package/dist/chunks/{location-mutation-21r38tys.js → app-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-mutation-hr5bc81f.js → app-2336b01z.js} +8 -8
  25. package/dist/chunks/{location-mutation-3dtz0ed4.js → app-27rw9vzj.js} +6 -6
  26. package/dist/chunks/{location-mutation-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-mutation-2bt6bea8.js → app-2bt6bea8.js} +2 -2
  28. package/dist/chunks/{location-mutation-j3nra4g0.js → app-2d0sc79q.js} +11 -11
  29. package/dist/chunks/{location-mutation-fvanntqq.js → app-2d57kztd.js} +6 -6
  30. package/dist/chunks/{location-mutation-xjxyt9bq.js → app-2ee5rppv.js} +30 -30
  31. package/dist/chunks/{location-mutation-6bsje7ws.js → app-2f04pwep.js} +3 -3
  32. package/dist/chunks/{location-mutation-9xtkkd11.js → app-2hmv1bzq.js} +4 -4
  33. package/dist/chunks/{location-mutation-qgn6gcr1.js → app-2k8khapm.js} +5 -5
  34. package/dist/chunks/{location-mutation-7xr0d558.js → app-2p6pftky.js} +43 -43
  35. package/dist/chunks/{location-mutation-n0sspdwz.js → app-2t68cqyy.js} +6 -6
  36. package/dist/chunks/{location-mutation-178rcfj9.js → app-2x4qd1xw.js} +16 -16
  37. package/dist/chunks/{location-mutation-f2gse5fy.js → app-35jzzref.js} +6 -6
  38. package/dist/chunks/{location-mutation-gdvy8fx6.js → app-3fc6dm20.js} +4 -4
  39. package/dist/chunks/{location-mutation-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-mutation-my9h9hzg.js → app-3n3mkc0a.js} +17 -17
  41. package/dist/chunks/{location-mutation-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-mutation-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-mutation-3w0fmcng.js → app-3w0fmcng.js} +2 -2
  44. package/dist/chunks/{location-mutation-hc5qqzdn.js → app-42kdnm7d.js} +21 -21
  45. package/dist/chunks/{location-mutation-drdaqm2t.js → app-43zrvxpc.js} +9 -9
  46. package/dist/chunks/{location-mutation-vyjzrkx0.js → app-4780s8zr.js} +9 -9
  47. package/dist/chunks/{location-mutation-6m887wqr.js → app-48gcqyvg.js} +56 -56
  48. package/dist/chunks/{location-mutation-bzx022j9.js → app-4c96ywbw.js} +24 -24
  49. package/dist/chunks/{location-mutation-gsqtb8jw.js → app-4cc7n46c.js} +11 -11
  50. package/dist/chunks/{location-mutation-3w5dy25f.js → app-4dn6zthd.js} +41 -41
  51. package/dist/chunks/{location-mutation-crjd20w0.js → app-4kf284a7.js} +30 -30
  52. package/dist/chunks/{location-mutation-tw9m5efe.js → app-4tbcec2e.js} +8 -8
  53. package/dist/chunks/{location-mutation-kksf6wrm.js → app-4w8bkcbc.js} +5 -5
  54. package/dist/chunks/{location-mutation-ssb1z7k2.js → app-51fr0269.js} +3 -3
  55. package/dist/chunks/{location-mutation-vaw4v3ea.js → app-5bwht4jk.js} +60 -60
  56. package/dist/chunks/{location-mutation-5daktx2q.js → app-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-mutation-wmafn4dk.js → app-5ez3bzvb.js} +14 -14
  58. package/dist/chunks/{location-mutation-4x302fsb.js → app-5fgxrtk2.js} +33 -33
  59. package/dist/chunks/{location-mutation-8daqk3xn.js → app-5hkzjqtx.js} +39 -39
  60. package/dist/chunks/{location-mutation-4vm7bp65.js → app-5knb1gak.js} +22 -22
  61. package/dist/chunks/{location-mutation-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-mutation-rs7v9e6v.js → app-5wfnjyr5.js} +30 -30
  63. package/dist/chunks/{location-mutation-95nc2sbg.js → app-5yzdr05p.js} +9 -9
  64. package/dist/chunks/{location-mutation-rtqz3zzf.js → app-5z0pm3qf.js} +19 -19
  65. package/dist/chunks/{location-mutation-mc2qpn0s.js → app-65t0cekt.js} +22 -22
  66. package/dist/chunks/{location-mutation-669tq793.js → app-669tq793.js} +1 -1
  67. package/dist/chunks/{location-mutation-fqpps30f.js → app-6h5qj7gd.js} +6 -6
  68. package/dist/chunks/{location-mutation-6h73sxmp.js → app-6h73sxmp.js} +1 -1
  69. package/dist/chunks/{location-mutation-watqcrva.js → app-6j6s7zvs.js} +2 -2
  70. package/dist/chunks/{location-mutation-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{location-mutation-4ggq81fe.js → app-6r540pcs.js} +6 -6
  72. package/dist/chunks/{location-mutation-zm47b27w.js → app-6w8af2k5.js} +20 -20
  73. package/dist/chunks/{location-mutation-rnkhefmk.js → app-6xkfsm7b.js} +9 -9
  74. package/dist/chunks/{location-mutation-3dqftnvs.js → app-710w2ech.js} +1 -1
  75. package/dist/chunks/{location-mutation-71q4at8m.js → app-71q4at8m.js} +1 -1
  76. package/dist/chunks/{location-mutation-ezq2qp9g.js → app-7500bbe6.js} +11 -11
  77. package/dist/chunks/{location-mutation-e2vt25n2.js → app-78y0k101.js} +20 -20
  78. package/dist/chunks/{location-mutation-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{location-mutation-080yxg7k.js → app-7q67896j.js} +13 -13
  80. package/dist/chunks/{location-mutation-385yzhyd.js → app-80sf1axt.js} +14 -14
  81. package/dist/chunks/{location-mutation-2jgd78gq.js → app-813w40n4.js} +87 -87
  82. package/dist/chunks/{location-mutation-9pv0dm11.js → app-81swgkk7.js} +9 -9
  83. package/dist/chunks/{location-mutation-dsxqmp7c.js → app-85ngaffe.js} +86 -86
  84. package/dist/chunks/{location-mutation-d9fmyqsb.js → app-89ey782f.js} +4 -4
  85. package/dist/chunks/{location-mutation-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-mutation-rqzy1ewj.js → app-8j7gtpby.js} +1 -1
  87. package/dist/chunks/{location-mutation-4w92ht60.js → app-8nxecek8.js} +5 -5
  88. package/dist/chunks/{location-mutation-8p4f9s12.js → app-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{location-mutation-090d9x51.js → app-8psdzq5d.js} +33 -33
  90. package/dist/chunks/{location-mutation-2dchnhcv.js → app-8qk9tw02.js} +1 -1
  91. package/dist/chunks/{location-mutation-4yqnhzhd.js → app-8xn61e7a.js} +4 -4
  92. package/dist/chunks/{location-mutation-zycm96ct.js → app-94qkxzny.js} +4 -4
  93. package/dist/chunks/{location-mutation-jt7ywd0b.js → app-99m6at3m.js} +11 -11
  94. package/dist/chunks/{location-mutation-g47vrvhs.js → app-9gz2peze.js} +7 -7
  95. package/dist/chunks/{location-mutation-awpbsmrw.js → app-9k7d7sqa.js} +7 -7
  96. package/dist/chunks/{location-mutation-8r15tr8a.js → app-9pcza0f3.js} +8 -8
  97. package/dist/chunks/{location-mutation-r2qzv5a7.js → app-9qn3qky1.js} +8 -8
  98. package/dist/chunks/{location-mutation-6gmnnrt6.js → app-9shj9c1g.js} +30 -30
  99. package/dist/chunks/{location-mutation-5nxfjrr3.js → app-9t2pzca1.js} +16 -16
  100. package/dist/chunks/{location-mutation-9ps2pggw.js → app-9v7a85mc.js} +6 -6
  101. package/dist/chunks/{location-mutation-vsv68ttx.js → app-a0z9avay.js} +13 -13
  102. package/dist/chunks/{location-mutation-a1bz86dw.js → app-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{location-mutation-k0pv4tct.js → app-a1h69kzv.js} +11 -11
  104. package/dist/chunks/{location-mutation-rs95a90c.js → app-a1pjw3e1.js} +22 -22
  105. package/dist/chunks/{location-mutation-rv3dfgbk.js → app-a402vz1p.js} +25 -25
  106. package/dist/chunks/{location-mutation-r58s3aqr.js → app-a4bvw9dz.js} +5 -5
  107. package/dist/chunks/{location-mutation-78x7f3ty.js → app-a91wscfd.js} +9 -9
  108. package/dist/chunks/{location-mutation-8nv6ekx5.js → app-a9ab9jmj.js} +5 -5
  109. package/dist/chunks/{location-mutation-aaet6srn.js → app-aaet6srn.js} +2 -2
  110. package/dist/chunks/{location-mutation-fpqwst5z.js → app-ahxexsmd.js} +26 -26
  111. package/dist/chunks/{location-mutation-0e7nvs8b.js → app-aswh65bz.js} +30 -30
  112. package/dist/chunks/{location-mutation-pxf12as1.js → app-b2g5v7p2.js} +9 -9
  113. package/dist/chunks/{location-mutation-e6k7hz6j.js → app-b4f5v53j.js} +25 -25
  114. package/dist/chunks/{location-mutation-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-mutation-ghk9cxjs.js → app-b99w0g26.js} +6 -6
  116. package/dist/chunks/{location-mutation-ycvksfe9.js → app-baxrspjs.js} +21 -21
  117. package/dist/chunks/{location-mutation-kc5hk0w3.js → app-bbhatyce.js} +30 -30
  118. package/dist/chunks/{location-mutation-vncycja5.js → app-bct739vz.js} +4 -4
  119. package/dist/chunks/{location-mutation-cq37gk0t.js → app-bha4atvq.js} +4 -4
  120. package/dist/chunks/{location-mutation-a9yybgxj.js → app-bjqqhdfh.js} +20 -20
  121. package/dist/chunks/{location-mutation-5r7abtjb.js → app-bm2nqsn9.js} +8 -8
  122. package/dist/chunks/{location-mutation-rrmx6085.js → app-bmb0s36t.js} +23 -23
  123. package/dist/chunks/{location-mutation-h6nsps6f.js → app-bv56xrks.js} +8 -8
  124. package/dist/chunks/{location-mutation-zycx2ktx.js → app-bwd5s895.js} +12 -12
  125. package/dist/chunks/{location-mutation-wbmrxx9p.js → app-bznq0221.js} +169 -169
  126. package/dist/chunks/{location-mutation-6pzk0tbd.js → app-c0m0qq75.js} +18 -18
  127. package/dist/chunks/{location-mutation-6n88yxkj.js → app-c1495ybz.js} +8 -8
  128. package/dist/chunks/{location-mutation-c2k3x2kh.js → app-c9sbvd2s.js} +9 -9
  129. package/dist/chunks/{location-mutation-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
  130. package/dist/chunks/{location-mutation-4ymkhcds.js → app-cm2fs4jy.js} +18 -18
  131. package/dist/chunks/{location-mutation-y8p3zjbc.js → app-cn43q6qa.js} +8 -8
  132. package/dist/chunks/{location-mutation-tz4n1mmd.js → app-ctmr8zqa.js} +4 -4
  133. package/dist/chunks/{location-mutation-xfagbf0j.js → app-cxwzzg52.js} +11 -11
  134. package/dist/chunks/{location-mutation-9198tjt8.js → app-d9xjrm20.js} +16 -16
  135. package/dist/chunks/{location-mutation-q2wkz0b5.js → app-dc5wh9st.js} +19 -19
  136. package/dist/chunks/{location-mutation-dpkg50ah.js → app-dpkg50ah.js} +1 -1
  137. package/dist/chunks/{location-mutation-7adcerzg.js → app-drqds5np.js} +36 -36
  138. package/dist/chunks/{location-mutation-9fmb6jsc.js → app-dv02zjab.js} +15 -15
  139. package/dist/chunks/{location-mutation-nq9qg1fa.js → app-dvwg6a7w.js} +5 -5
  140. package/dist/chunks/app-e3dbktjq.js +22 -0
  141. package/dist/chunks/{location-mutation-7gjhgsed.js → app-e8163x7b.js} +11 -11
  142. package/dist/chunks/{location-mutation-rhjbct0v.js → app-eaj1djv9.js} +8 -8
  143. package/dist/chunks/{location-mutation-j5208yae.js → app-edme2h3e.js} +9 -9
  144. package/dist/chunks/{location-mutation-r1vajnqg.js → app-encrv3jm.js} +20 -20
  145. package/dist/chunks/{location-mutation-zr8vjmmw.js → app-esqr7hwz.js} +15 -15
  146. package/dist/chunks/{location-mutation-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{location-mutation-4n15vdsh.js → app-ett1kwgn.js} +13 -13
  148. package/dist/chunks/{location-mutation-ttt2pthn.js → app-etx20tfd.js} +36 -36
  149. package/dist/chunks/{location-mutation-w6x96kp1.js → app-eyvdh9jh.js} +4 -4
  150. package/dist/chunks/{location-mutation-r8dsc003.js → app-f1qhv5yx.js} +27 -27
  151. package/dist/chunks/{location-mutation-ww7tzrk1.js → app-f2rv3mpp.js} +47 -47
  152. package/dist/chunks/{location-mutation-k2h4r4s0.js → app-f3ngv102.js} +4 -4
  153. package/dist/chunks/{location-mutation-f828m53h.js → app-f828m53h.js} +2 -2
  154. package/dist/chunks/{location-mutation-mgtytz9t.js → app-fa0cr6zp.js} +3 -3
  155. package/dist/chunks/{location-mutation-nwrfcwym.js → app-fb0jezgx.js} +15 -15
  156. package/dist/chunks/{location-mutation-t3w9f47z.js → app-ffx4mq6v.js} +1 -1
  157. package/dist/chunks/{location-mutation-9epaz3x0.js → app-fhwp9j6e.js} +7 -7
  158. package/dist/chunks/{location-mutation-2mt51k4p.js → app-fkc946qs.js} +13 -13
  159. package/dist/chunks/{location-mutation-z6mfc8hp.js → app-fs5fhd3k.js} +26 -26
  160. package/dist/chunks/{location-mutation-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  161. package/dist/chunks/{location-mutation-bcaqsvj6.js → app-fzdjvg09.js} +23 -23
  162. package/dist/chunks/{location-mutation-r12caqqb.js → app-g4t6kbgy.js} +11 -11
  163. package/dist/chunks/{location-mutation-g196q5ga.js → app-gc25hdrq.js} +20 -20
  164. package/dist/chunks/{location-mutation-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{location-mutation-q52tmxvy.js → app-gfsay0az.js} +15 -15
  166. package/dist/chunks/{location-mutation-kcm7gb9h.js → app-gkxj5maj.js} +17 -17
  167. package/dist/chunks/{location-mutation-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{location-mutation-545xcy3v.js → app-gvmmzmye.js} +20 -20
  169. package/dist/chunks/{location-mutation-h03wrkyp.js → app-h03wrkyp.js} +2 -2
  170. package/dist/chunks/{location-mutation-ngjzpzgr.js → app-h158amkk.js} +8 -8
  171. package/dist/chunks/{location-mutation-gyq4aabv.js → app-h3kjspbj.js} +20 -20
  172. package/dist/chunks/{location-mutation-76dehvxn.js → app-h4rgb3bg.js} +8 -8
  173. package/dist/chunks/{location-mutation-p22jdjzb.js → app-h6ffn5hc.js} +11 -11
  174. package/dist/chunks/{location-mutation-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{location-mutation-qqmmwjzc.js → app-h7sfp9jq.js} +7 -7
  176. package/dist/chunks/{location-mutation-123pna3q.js → app-hbq44aga.js} +18 -18
  177. package/dist/chunks/app-hgd4btym.js +18 -0
  178. package/dist/chunks/{location-mutation-47gsdddb.js → app-hjt4xg1x.js} +7 -7
  179. package/dist/chunks/{location-mutation-j56e64zr.js → app-j56e64zr.js} +1 -1
  180. package/dist/chunks/{location-mutation-js0rm7nb.js → app-jdh6s7jq.js} +8 -8
  181. package/dist/chunks/{location-mutation-sz3a6x34.js → app-jemrr7f4.js} +26 -26
  182. package/dist/chunks/{location-mutation-dv6dc4x6.js → app-jezcp19q.js} +8 -8
  183. package/dist/chunks/{location-mutation-27eq3hnx.js → app-jn4c8fdh.js} +8 -8
  184. package/dist/chunks/{location-mutation-nxcn73z5.js → app-jsfcx0sm.js} +9 -9
  185. package/dist/chunks/{location-mutation-cay3r0qb.js → app-jygyrd66.js} +4 -4
  186. package/dist/chunks/{location-mutation-sdnaceaw.js → app-kaxfk2j5.js} +6 -6
  187. package/dist/chunks/{location-mutation-kg06axw8.js → app-kg06axw8.js} +1 -1
  188. package/dist/chunks/{location-mutation-9237j28x.js → app-kjq4p8hx.js} +16 -16
  189. package/dist/chunks/{location-mutation-84t3vnx7.js → app-knwk0fn4.js} +2 -2
  190. package/dist/chunks/{location-mutation-4ah5m7dw.js → app-ktcgqmkw.js} +6 -6
  191. package/dist/chunks/{location-mutation-m86bx8pg.js → app-ktgea0e0.js} +2 -2
  192. package/dist/chunks/{location-mutation-y7h51c3z.js → app-kvgamsrw.js} +37 -37
  193. package/dist/chunks/{location-mutation-6t52233q.js → app-m9t3cpvg.js} +30 -30
  194. package/dist/chunks/{location-mutation-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{location-mutation-1bbkgx8g.js → app-mhkvc446.js} +3 -3
  196. package/dist/chunks/{location-mutation-ts62jcg3.js → app-mjjddmmn.js} +15 -15
  197. package/dist/chunks/{location-mutation-mkcjrzeh.js → app-mkcjrzeh.js} +1 -1
  198. package/dist/chunks/{location-mutation-0g18c8jp.js → app-mygm96m8.js} +13 -13
  199. package/dist/chunks/{location-mutation-c4r800sx.js → app-n4a0kzxz.js} +59 -59
  200. package/dist/chunks/{location-mutation-sggvzg7x.js → app-n5k8tdrn.js} +24 -24
  201. package/dist/chunks/{location-mutation-egkp1q9v.js → app-n7mnjzkb.js} +5 -5
  202. package/dist/chunks/{location-mutation-s6pp54ct.js → app-nd5nzycz.js} +8 -8
  203. package/dist/chunks/{location-mutation-wsrtz5x5.js → app-nka8n5hw.js} +20 -20
  204. package/dist/chunks/{location-mutation-byvcghq4.js → app-nw3bhhr3.js} +22 -22
  205. package/dist/chunks/{location-mutation-3kk8mamv.js → app-nyhxp1gd.js} +32 -32
  206. package/dist/chunks/{location-mutation-ras7gexc.js → app-p0cja4mf.js} +5 -5
  207. package/dist/chunks/{location-mutation-t0x5rdq8.js → app-p1wf2k30.js} +9 -9
  208. package/dist/chunks/{location-mutation-xhqkdcr0.js → app-p72z5xx6.js} +2 -2
  209. package/dist/chunks/{location-mutation-jnehgznh.js → app-p7ek7nyz.js} +24 -24
  210. package/dist/chunks/{location-mutation-b2yhkeqr.js → app-p7w6t1ry.js} +11 -11
  211. package/dist/chunks/{location-mutation-yjrvv3jh.js → app-p7zfmd1x.js} +9 -9
  212. package/dist/chunks/{location-mutation-rsdf2nvv.js → app-paegk39x.js} +4 -4
  213. package/dist/chunks/{location-mutation-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{location-mutation-pknna89w.js → app-pknna89w.js} +1 -1
  215. package/dist/chunks/{location-mutation-42m4w0gd.js → app-pp2b87e8.js} +24 -24
  216. package/dist/chunks/{location-mutation-dw3vbsxg.js → app-prbcj3gk.js} +26 -26
  217. package/dist/chunks/{location-mutation-q316qzt7.js → app-q17fbf64.js} +18 -18
  218. package/dist/chunks/{location-mutation-mx1dcdcs.js → app-q21acaj2.js} +45 -45
  219. package/dist/chunks/{location-mutation-g1ryce64.js → app-q7h3k2fz.js} +19 -19
  220. package/dist/chunks/app-qapv375x.js +4 -0
  221. package/dist/chunks/{location-mutation-ae9b13mv.js → app-qbz333be.js} +15 -15
  222. package/dist/chunks/{location-mutation-510m7gjw.js → app-qn4ba14w.js} +5 -5
  223. package/dist/chunks/{location-mutation-qsdy395h.js → app-qsdy395h.js} +1 -1
  224. package/dist/chunks/{location-mutation-p5nxgrb7.js → app-qvb0z7t1.js} +12 -12
  225. package/dist/chunks/{location-mutation-481njsdn.js → app-qvb3nf84.js} +8 -8
  226. package/dist/chunks/{location-mutation-dh1thg5k.js → app-r6a9556n.js} +11 -11
  227. package/dist/chunks/{location-mutation-gxayccxh.js → app-rxfq5agb.js} +16 -16
  228. package/dist/chunks/{location-mutation-9197vs9x.js → app-s1qtxqw8.js} +33 -33
  229. package/dist/chunks/{location-mutation-1317kfkp.js → app-s1zp1szz.js} +34 -34
  230. package/dist/chunks/{location-mutation-xq8c8dbz.js → app-s442qdb8.js} +4 -4
  231. package/dist/chunks/{location-mutation-7bdqbdfj.js → app-s5qhvm9t.js} +3 -3
  232. package/dist/chunks/{location-mutation-45796egf.js → app-s7xtjryh.js} +1 -1
  233. package/dist/chunks/{location-mutation-hkfg6fzm.js → app-s8zy8myc.js} +5 -5
  234. package/dist/chunks/{location-mutation-6jn5f8v1.js → app-sd81gef5.js} +39 -39
  235. package/dist/chunks/{location-mutation-tm7zr4pr.js → app-shh6fz4q.js} +4 -4
  236. package/dist/chunks/{location-mutation-844ef7ks.js → app-skwbfvjy.js} +8 -8
  237. package/dist/chunks/{location-mutation-qq97xfyz.js → app-sqcc4mye.js} +3 -3
  238. package/dist/chunks/{location-mutation-pwjmm335.js → app-ssw3spj3.js} +20 -20
  239. package/dist/chunks/{location-mutation-h5f79651.js → app-sxamkkn3.js} +13 -13
  240. package/dist/chunks/{location-mutation-6hh8tjw2.js → app-sxz6gkc3.js} +5 -5
  241. package/dist/chunks/{location-mutation-rmm45jmv.js → app-sykc9y4a.js} +5 -5
  242. package/dist/chunks/{location-mutation-v71xcev7.js → app-t9e6e84n.js} +1 -1
  243. package/dist/chunks/{location-mutation-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{location-mutation-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{location-mutation-tdstcens.js → app-tdstcens.js} +1 -1
  246. package/dist/chunks/{location-mutation-4wmmbnna.js → app-tjznhfde.js} +24 -24
  247. package/dist/chunks/app-tvke6c6x.js +247 -0
  248. package/dist/chunks/{location-mutation-tvtrv512.js → app-tvtrv512.js} +1 -1
  249. package/dist/chunks/{location-mutation-w53767ff.js → app-v4924766.js} +16 -16
  250. package/dist/chunks/{location-mutation-mkzzj3z7.js → app-vazqxjkf.js} +22 -22
  251. package/dist/chunks/{location-mutation-qpv0by5y.js → app-vdshzfmb.js} +26 -26
  252. package/dist/chunks/{location-mutation-veqvce7d.js → app-veqvce7d.js} +1 -1
  253. package/dist/chunks/{location-mutation-8g5sjpkg.js → app-vwng0m0h.js} +28 -28
  254. package/dist/chunks/{location-mutation-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{location-mutation-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{location-mutation-135pcv3x.js → app-w5tc36wx.js} +22 -22
  257. package/dist/chunks/{location-mutation-wx9wy1qm.js → app-w79zsp0s.js} +1 -1
  258. package/dist/chunks/{location-mutation-29qpr4zm.js → app-wcy61h1j.js} +29 -29
  259. package/dist/chunks/{location-mutation-wd87259q.js → app-wd87259q.js} +1 -1
  260. package/dist/chunks/{location-mutation-v4ctacay.js → app-wjxh5jm8.js} +28 -28
  261. package/dist/chunks/{location-mutation-mf4542vt.js → app-wmqqfp92.js} +25 -25
  262. package/dist/chunks/{location-mutation-zw7fcf2s.js → app-wpmwtbt6.js} +51 -51
  263. package/dist/chunks/{location-mutation-9sbv9g2h.js → app-wqny05z1.js} +18 -18
  264. package/dist/chunks/{location-mutation-kvb4wp4j.js → app-wqvbafvh.js} +10 -10
  265. package/dist/chunks/{location-mutation-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-mutation-x43y2vfs.js → app-x43y2vfs.js} +2 -2
  267. package/dist/chunks/{location-mutation-h42j1xnf.js → app-x8jze1wy.js} +39 -39
  268. package/dist/chunks/{location-mutation-vb6hmp0d.js → app-xrqdjzmv.js} +23 -23
  269. package/dist/chunks/{location-mutation-yw151kp9.js → app-y18m38x5.js} +18 -18
  270. package/dist/chunks/{location-mutation-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{location-mutation-b8b3f19r.js → app-y243eewg.js} +9 -9
  272. package/dist/chunks/{location-mutation-0qdvrgkw.js → app-y40yxsg3.js} +36 -36
  273. package/dist/chunks/{location-mutation-n9v9edgr.js → app-y70rvmaz.js} +28 -28
  274. package/dist/chunks/{location-mutation-ymp004yg.js → app-ycga8mfj.js} +5 -5
  275. package/dist/chunks/{location-mutation-9edcvf27.js → app-yn3zm7tz.js} +10 -10
  276. package/dist/chunks/app-yn7as3j3.js +462 -0
  277. package/dist/chunks/{location-mutation-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{location-mutation-yrznvahk.js → app-yrznvahk.js} +2 -2
  279. package/dist/chunks/{location-mutation-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-mutation-z63w68vq.js → app-z63w68vq.js} +2 -2
  281. package/dist/chunks/{location-mutation-b6ynejew.js → app-z8spactq.js} +27 -27
  282. package/dist/chunks/{location-mutation-qpp7njgw.js → app-zc7dc76e.js} +41 -41
  283. package/dist/chunks/{location-mutation-y3gn6rnp.js → app-zcpy7hb5.js} +43 -43
  284. package/dist/chunks/{location-mutation-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-mutation-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-mutation-4hjsykte.js → app-zrt558wv.js} +9 -9
  287. package/dist/chunks/{location-mutation-s1a57xgp.js → app-zxgnc9zk.js} +1 -1
  288. package/dist/chunks/{location-mutation-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +98 -98
  425. package/dist/form.js +78 -78
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +4 -4
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +76 -76
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +104 -104
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +80 -80
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +82 -82
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +125 -125
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +81 -81
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +2 -2
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +82 -82
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +2 -2
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +7 -7
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +75 -75
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/location-mutation-0mesazry.js +0 -4
  688. package/dist/chunks/location-mutation-0nzs2ddd.js +0 -462
  689. package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
  690. package/dist/chunks/location-mutation-8vq1702j.js +0 -22
  691. package/dist/chunks/location-mutation-hmjqf0ee.js +0 -247
  692. /package/dist/chunks/{location-mutation-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-mutation-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-mutation-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-mutation-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-mutation-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-mutation-2710q6r3.js → app-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-mutation-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{location-mutation-359p4xyc.js → app-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-mutation-3asan66x.js → app-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-mutation-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-mutation-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-mutation-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-mutation-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{location-mutation-53557ph1.js → app-53557ph1.js} +0 -0
  709. /package/dist/chunks/{location-mutation-550bvhaj.js → app-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{location-mutation-6prwharc.js → app-6prwharc.js} +0 -0
  711. /package/dist/chunks/{location-mutation-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{location-mutation-7m9af43g.js → app-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{location-mutation-822emrt2.js → app-822emrt2.js} +0 -0
  714. /package/dist/chunks/{location-mutation-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-mutation-8n3pysct.js → app-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-mutation-922hggd3.js → app-922hggd3.js} +0 -0
  717. /package/dist/chunks/{location-mutation-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-mutation-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-mutation-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{location-mutation-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{location-mutation-af5trqkr.js → app-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{location-mutation-afrmfg78.js → app-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{location-mutation-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{location-mutation-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{location-mutation-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{location-mutation-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{location-mutation-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{location-mutation-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{location-mutation-d9fn303g.js → app-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{location-mutation-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{location-mutation-dajrwvna.js → app-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{location-mutation-dap0rakb.js → app-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{location-mutation-df08tz66.js → app-df08tz66.js} +0 -0
  734. /package/dist/chunks/{location-mutation-dy18nga0.js → app-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{location-mutation-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-mutation-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-mutation-ec1grn59.js → app-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-mutation-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-mutation-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-mutation-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-mutation-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-mutation-faypxj3z.js → app-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-mutation-fd410y7t.js → app-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-mutation-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-mutation-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-mutation-g86h250q.js → app-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-mutation-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-mutation-gftt206x.js → app-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-mutation-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{location-mutation-hk9envan.js → app-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-mutation-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{location-mutation-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-mutation-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-mutation-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-mutation-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-mutation-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-mutation-mp448xyj.js → app-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-mutation-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-mutation-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-mutation-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-mutation-njntx4h6.js → app-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-mutation-paphc93g.js → app-paphc93g.js} +0 -0
  763. /package/dist/chunks/{location-mutation-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-mutation-q74kybfr.js → app-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-mutation-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-mutation-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-mutation-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-mutation-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-mutation-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-mutation-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-mutation-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-mutation-twg0f83k.js → app-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-mutation-w803qqfp.js → app-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-mutation-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{location-mutation-wtztk69x.js → app-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{location-mutation-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x61499pn.js → app-x61499pn.js} +0 -0
  779. /package/dist/chunks/{location-mutation-y44na4kk.js → app-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{location-mutation-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{location-mutation-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{location-mutation-ym463w8f.js → app-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{location-mutation-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID18,
3
- Service78
4
- } from "./location-mutation-4wmmbnna.js";
2
+ ID15,
3
+ Service70
4
+ } from "./app-tjznhfde.js";
5
5
  import {
6
6
  latest2,
7
- Service54
8
- } from "./location-mutation-y3gn6rnp.js";
7
+ Service46
8
+ } from "./app-zcpy7hb5.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./location-mutation-6bsje7ws.js";
11
+ } from "./app-2f04pwep.js";
12
12
  import {
13
- Service39
14
- } from "./location-mutation-q52tmxvy.js";
13
+ Service35
14
+ } from "./app-gfsay0az.js";
15
15
  import {
16
16
  evaluate2,
17
17
  Service67
18
- } from "./location-mutation-mx1dcdcs.js";
18
+ } from "./app-q21acaj2.js";
19
19
  import {
20
- Service18
21
- } from "./location-mutation-2jgd78gq.js";
20
+ Service15
21
+ } from "./app-813w40n4.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./location-mutation-x1ezjp6w.js";
24
+ } from "./app-x1ezjp6w.js";
25
25
  import {
26
- make5
27
- } from "./location-mutation-ezq2qp9g.js";
26
+ make10
27
+ } from "./app-7500bbe6.js";
28
28
  import {
29
29
  __export
30
- } from "./location-mutation-9rqn6x4v.js";
30
+ } from "./app-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output4,
37
- Plugin: () => Plugin5,
35
+ Input: () => Input8,
36
+ Output: () => Output6,
37
+ Plugin: () => Plugin21,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description3,
40
- name: () => name5
39
+ description: () => description5,
40
+ name: () => name8
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name8 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input8 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output4 = Schema.Struct({
66
+ var Output6 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description3 = [
71
+ var description5 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description3 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin5 = {
80
+ var Plugin21 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service18;
84
- const jobs = yield* Service39;
85
- const agents = yield* Service78;
86
- const config = yield* Service54;
83
+ const sessions = yield* Service15;
84
+ const jobs = yield* Service35;
85
+ const agents = yield* Service70;
86
+ const config = yield* Service46;
87
87
  const permission = yield* Service67;
88
- const subagents = yield* make5;
88
+ const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name8,
91
91
  options: { codemode: false },
92
- description: description3,
93
- input: Input5,
94
- output: Output4,
92
+ description: description5,
93
+ input: Input8,
94
+ output: Output6,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin5 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name8,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin5 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID18.make(input.agent),
137
+ agent: ID15.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name8];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name5, Input5, Output4, description3, Plugin5, exports_subagent };
207
+ export { name8, Input8, Output6, description5, Plugin21, exports_subagent };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./location-mutation-88xbtdfr.js";
3
+ } from "./app-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./location-mutation-paphc93g.js";
6
+ } from "./app-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./location-mutation-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service55,
16
+ Options: () => Options7,
17
+ Service: () => Service47,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer20,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node59,
25
+ node: () => node50,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service55 extends Context.Service()("@opencode/Watcher") {
60
+ class Service47 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
65
+ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service55.of({ subscribe });
108
+ return Service47.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service55).subscribe,
134
+ subscribe: Context.get(context, Service47).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service55, layer: layer23(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
169
169
  }
170
- var node59 = configured8();
170
+ var node50 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options8, Service55, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured8, node59, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options7, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node50, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./location-mutation-y8cydn3q.js";
3
+ } from "./app-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node51
5
- } from "./location-mutation-jt7ywd0b.js";
4
+ node68
5
+ } from "./app-99m6at3m.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./location-mutation-rsdf2nvv.js";
9
+ } from "./app-paegk39x.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./location-mutation-js0rm7nb.js";
11
+ Service80,
12
+ node85
13
+ } from "./app-jdh6s7jq.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./location-mutation-mx1dcdcs.js";
16
+ } from "./app-q21acaj2.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./location-mutation-4w92ht60.js";
19
+ } from "./app-8nxecek8.js";
20
20
  import {
21
- Error3
22
- } from "./location-mutation-nws43tmt.js";
21
+ Error5
22
+ } from "./app-17nkb8jb.js";
23
23
  import {
24
- Service25,
25
- node30
26
- } from "./location-mutation-rnkhefmk.js";
24
+ Service27,
25
+ node31
26
+ } from "./app-6xkfsm7b.js";
27
27
  import {
28
- make14
29
- } from "./location-mutation-47gsdddb.js";
28
+ make15
29
+ } from "./app-hjt4xg1x.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./location-mutation-wx9wy1qm.js";
32
+ } from "./app-w79zsp0s.js";
33
33
  import {
34
34
  __export
35
- } from "./location-mutation-9rqn6x4v.js";
35
+ } from "./app-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service24,
40
+ Service: () => Service26,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer12,
45
- node: () => node29,
45
+ node: () => node30,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
62
62
  return {
63
63
  providerMetadataKey,
64
64
  system: [
65
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
65
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
66
66
  input.initial
67
67
  ].filter((part) => part.length > 0).map(SystemPart.make),
68
68
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
189
  return HttpClientResponse.fromWeb(sent, after.response);
190
190
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
191
 
192
- class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
192
+ class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
193
193
  }
194
- var layer12 = Layer.effect(Service24, Effect.gen(function* () {
195
- const hooks = yield* Service70;
196
- const transport = yield* Service25;
194
+ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
195
+ const hooks = yield* Service80;
196
+ const transport = yield* Service27;
197
197
  const app = yield* Metadata2;
198
198
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
199
  const session = input.scope.session;
@@ -201,7 +201,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
201
201
  const model = resolved.model;
202
202
  const tools = input.scope.tools ?? {
203
203
  definitions: [],
204
- execute: () => new Error3({ message: "Tools are not available for this request" })
204
+ execute: () => new Error5({ message: "Tools are not available for this request" })
205
205
  };
206
206
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
207
207
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -261,12 +261,12 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
261
261
  executeTool
262
262
  };
263
263
  });
264
- return Service24.of({ prepare });
264
+ return Service26.of({ prepare });
265
265
  }));
266
- var node29 = makeLocationNode({
267
- service: Service24,
266
+ var node30 = makeLocationNode({
267
+ service: Service26,
268
268
  layer: layer12,
269
- deps: [node74, node30, node51]
269
+ deps: [node85, node31, node68]
270
270
  });
271
271
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer12, node29, exports_model_request };
272
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer12, node30, exports_model_request };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service38
3
- } from "./location-mutation-ghk9cxjs.js";
2
+ Service33
3
+ } from "./app-b99w0g26.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-mutation-4v7qdvcn.js";
6
+ } from "./app-hgd4btym.js";
7
7
  import {
8
- Service52
9
- } from "./location-mutation-zw7fcf2s.js";
8
+ Service40
9
+ } from "./app-wpmwtbt6.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./location-mutation-fxbjtjnd.js";
12
+ } from "./app-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./location-mutation-9rqn6x4v.js";
15
+ } from "./app-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service38;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
25
+ const instances = yield* Service33;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service79
3
- } from "./location-mutation-9198tjt8.js";
2
+ Service76
3
+ } from "./app-d9xjrm20.js";
4
4
  import {
5
- Service65
6
- } from "./location-mutation-135pcv3x.js";
5
+ Service64
6
+ } from "./app-w5tc36wx.js";
7
7
  import {
8
- Error3
9
- } from "./location-mutation-nws43tmt.js";
8
+ Error5
9
+ } from "./app-17nkb8jb.js";
10
10
  import {
11
- Service57
12
- } from "./location-mutation-76h67nm5.js";
11
+ Service56
12
+ } from "./app-1rr79kmz.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./location-mutation-3dtz0ed4.js";
15
+ } from "./app-27rw9vzj.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./location-mutation-ec1grn59.js";
18
+ } from "./app-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./location-mutation-d9fmyqsb.js";
21
+ } from "./app-89ey782f.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./location-mutation-tdstcens.js";
24
+ } from "./app-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./location-mutation-h03wrkyp.js";
27
+ } from "./app-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./location-mutation-sdnaceaw.js";
30
+ } from "./app-kaxfk2j5.js";
31
31
  import {
32
32
  __export
33
- } from "./location-mutation-9rqn6x4v.js";
33
+ } from "./app-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service79;
55
+ const bus = yield* Service76;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service65;
58
- const toolOutput = yield* Service57;
57
+ const snapshots = yield* Service64;
58
+ const toolOutput = yield* Service56;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make21,
6
6
  diffByKey2
7
- } from "./location-mutation-rhjbct0v.js";
7
+ } from "./app-eaj1djv9.js";
8
8
  import {
9
- ID9,
9
+ ID4,
10
10
  Name2,
11
11
  available2,
12
- Service66,
13
- node70
14
- } from "./location-mutation-qpv0by5y.js";
12
+ Service45,
13
+ node48
14
+ } from "./app-vdshzfmb.js";
15
15
  import {
16
16
  __export
17
- } from "./location-mutation-9rqn6x4v.js";
17
+ } from "./app-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions4 = {};
21
- __export(exports_instructions4, {
22
- Service: () => Service27,
23
- SkillInstructions: () => exports_instructions4,
24
- node: () => node32
20
+ var exports_instructions5 = {};
21
+ __export(exports_instructions5, {
22
+ Service: () => Service24,
23
+ SkillInstructions: () => exports_instructions5,
24
+ node: () => node28
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID9,
29
+ id: ID4,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service27 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service24 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service27, Effect.gen(function* () {
66
- const skills = yield* Service66;
67
- return Service27.of({
65
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
66
+ const skills = yield* Service45;
67
+ return Service24.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make20({
74
- key: Key3.make("core/skill-guidance"),
73
+ return make21({
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node32 = makeLocationNode({ service: Service27, layer, deps: [node70] });
86
+ var node28 = makeLocationNode({ service: Service24, layer, deps: [node48] });
87
87
 
88
- export { Service27, node32, exports_instructions4 };
88
+ export { Service24, node28, exports_instructions5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./location-mutation-ym463w8f.js";
3
+ } from "./app-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-mutation-jt7ywd0b.js";
3
+ } from "./app-99m6at3m.js";
4
4
  import {
5
5
  call2
6
- } from "./location-mutation-56gdpj1q.js";
6
+ } from "./app-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./location-mutation-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin9,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin37 = define({
40
+ var Plugin9 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin37 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin37, exports_firecrawl };
80
+ export { endpoint5, Plugin9, exports_firecrawl };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};