@opencode/core 0.0.0-dev-1169 → 0.0.0-dev-1179

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 (916) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +257 -257
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{schema-aj7mw0zk.js → location-034tev2y.js} +2 -2
  9. package/dist/chunks/{schema-pmpqfy7z.js → location-07qnb2a9.js} +32 -32
  10. package/dist/chunks/{schema-mmk0jhxb.js → location-0aekehyv.js} +15 -15
  11. package/dist/chunks/{schema-65g7jm80.js → location-0ekwy2tv.js} +18 -18
  12. package/dist/chunks/{schema-0j7gp832.js → location-0j7gp832.js} +1 -1
  13. package/dist/chunks/{schema-7k5jmvhj.js → location-0m3187re.js} +21 -21
  14. package/dist/chunks/{schema-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
  15. package/dist/chunks/{schema-9rtfsky6.js → location-0nqcan8y.js} +29 -29
  16. package/dist/chunks/{schema-vgp39c3q.js → location-10f7w4cc.js} +19 -19
  17. package/dist/chunks/{schema-pjf82mvf.js → location-10t768hb.js} +33 -33
  18. package/dist/chunks/{schema-s02m1st8.js → location-18znffw0.js} +29 -29
  19. package/dist/chunks/{schema-1aqsckx4.js → location-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{schema-2hpjgcj7.js → location-1bx6cned.js} +15 -15
  21. package/dist/chunks/{schema-27w5k9zf.js → location-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{schema-9nh708zh.js → location-1m2wk9v5.js} +6 -6
  23. package/dist/chunks/{schema-6a3nme33.js → location-1vj6xvjw.js} +18 -18
  24. package/dist/chunks/{schema-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{schema-1yq9hg58.js → location-1yq9hg58.js} +1 -1
  26. package/dist/chunks/{schema-t9vhjqng.js → location-20h34wnp.js} +16 -16
  27. package/dist/chunks/{schema-etrnj9s7.js → location-233argac.js} +6 -6
  28. package/dist/chunks/{schema-xv3aaf54.js → location-2abzm25x.js} +13 -13
  29. package/dist/chunks/{schema-2fc7eemy.js → location-2fc7eemy.js} +1 -1
  30. package/dist/chunks/{schema-6y4qc4mp.js → location-2h9m3223.js} +14 -14
  31. package/dist/chunks/{schema-f6aj1kd5.js → location-2njzdmfy.js} +15 -15
  32. package/dist/chunks/{schema-2p60zmnr.js → location-2p60zmnr.js} +2 -2
  33. package/dist/chunks/{schema-s1xc4ekk.js → location-2rxv96ss.js} +8 -8
  34. package/dist/chunks/{schema-4zcepfyr.js → location-2y8q1569.js} +4 -4
  35. package/dist/chunks/{schema-a6kay9xz.js → location-2zey878g.js} +8 -8
  36. package/dist/chunks/{schema-1p6p0791.js → location-30m4s9qv.js} +7 -7
  37. package/dist/chunks/{schema-xznbj9qp.js → location-37xrhg99.js} +22 -22
  38. package/dist/chunks/{schema-fq23ffp0.js → location-3drk4kfk.js} +7 -7
  39. package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/location-3khabdj8.js +26 -0
  41. package/dist/chunks/{schema-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{schema-vz5bqa0f.js → location-3pfs30kn.js} +12 -12
  43. package/dist/chunks/{schema-r17fbvme.js → location-3qgwywyc.js} +4 -4
  44. package/dist/chunks/{schema-2m6srr37.js → location-3sp0ngqj.js} +13 -13
  45. package/dist/chunks/{schema-xneeh6s4.js → location-3vy7qf6d.js} +13 -13
  46. package/dist/chunks/{schema-nstbetgn.js → location-3w8a4vh4.js} +8 -8
  47. package/dist/chunks/{schema-40y6dtc2.js → location-40y6dtc2.js} +1 -1
  48. package/dist/chunks/{schema-44pmzq9c.js → location-44pmzq9c.js} +2 -2
  49. package/dist/chunks/{schema-vtkvgxem.js → location-453w9m5z.js} +14 -14
  50. package/dist/chunks/{schema-6c25bs39.js → location-487t1s35.js} +17 -17
  51. package/dist/chunks/{schema-dsgstd3d.js → location-4b0zbebg.js} +15 -15
  52. package/dist/chunks/{schema-4dx1dgte.js → location-4dx1dgte.js} +1 -1
  53. package/dist/chunks/{schema-4f25tdd0.js → location-4f25tdd0.js} +1 -1
  54. package/dist/chunks/{schema-7a9m1j2x.js → location-4p430f57.js} +8 -8
  55. package/dist/chunks/{schema-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{schema-4v008n1t.js → location-4v008n1t.js} +1 -1
  57. package/dist/chunks/{schema-nbbfmg35.js → location-4ydnaq49.js} +9 -9
  58. package/dist/chunks/{schema-pe69sqjx.js → location-51qrcxr9.js} +10 -9
  59. package/dist/chunks/{schema-f0wpasqh.js → location-520q9z14.js} +3 -3
  60. package/dist/chunks/{schema-9wxzp1qr.js → location-54jv2wzs.js} +26 -26
  61. package/dist/chunks/{schema-01h9qvbn.js → location-54mwx2mf.js} +30 -30
  62. package/dist/chunks/{schema-ksd47y91.js → location-5cfgnwdt.js} +30 -30
  63. package/dist/chunks/{schema-0jfy4hkm.js → location-5j27558h.js} +11 -11
  64. package/dist/chunks/{schema-g2183vvk.js → location-5jgktrgx.js} +3 -3
  65. package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  66. package/dist/chunks/{schema-95zwqs5c.js → location-5rd0v6y0.js} +140 -140
  67. package/dist/chunks/{schema-7tfjg757.js → location-5sfzg2cr.js} +12 -12
  68. package/dist/chunks/{schema-qmqqtqcn.js → location-5shjjg2v.js} +3 -3
  69. package/dist/chunks/{schema-626jn072.js → location-5wddjt8m.js} +21 -21
  70. package/dist/chunks/{schema-5whx36p1.js → location-5whx36p1.js} +1 -1
  71. package/dist/chunks/{schema-n5k4x34p.js → location-5yz9twxg.js} +51 -51
  72. package/dist/chunks/{schema-5zpqhmp2.js → location-5zpqhmp2.js} +3 -3
  73. package/dist/chunks/{schema-e2sh8fdv.js → location-627853rm.js} +9 -9
  74. package/dist/chunks/{schema-yts2a8qm.js → location-67wwskyb.js} +4 -4
  75. package/dist/chunks/{schema-963hk181.js → location-68cs06h1.js} +5 -5
  76. package/dist/chunks/{schema-9hjrmeye.js → location-6syc23cm.js} +8 -8
  77. package/dist/chunks/{schema-e5q9zwm8.js → location-6wbggnwm.js} +12 -12
  78. package/dist/chunks/{schema-6y2b864j.js → location-6y2b864j.js} +1 -1
  79. package/dist/chunks/{schema-yyb7x4q2.js → location-6zdnk2ay.js} +34 -34
  80. package/dist/chunks/{schema-054zc0xd.js → location-74pdjgc4.js} +3 -3
  81. package/dist/chunks/{schema-775hqbnd.js → location-775hqbnd.js} +3 -3
  82. package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{schema-cn0khwc2.js → location-7dffjqxb.js} +17 -17
  84. package/dist/chunks/{schema-ync0ket7.js → location-7fx8nsmy.js} +5 -5
  85. package/dist/chunks/{schema-1fqa7gdp.js → location-7n6fyy26.js} +3 -3
  86. package/dist/chunks/{schema-s5jhzpr9.js → location-7nfcbe58.js} +27 -27
  87. package/dist/chunks/{schema-nfdz4xt8.js → location-7nhv6fwk.js} +36 -36
  88. package/dist/chunks/{schema-v8vtkzra.js → location-7t1scbq3.js} +79 -79
  89. package/dist/chunks/{schema-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{schema-7weczvnd.js → location-7weczvnd.js} +1 -1
  91. package/dist/chunks/{schema-1awa9fg3.js → location-7xf9shm2.js} +9 -9
  92. package/dist/chunks/{schema-9zf7nxcy.js → location-7z3v8rbt.js} +10 -10
  93. package/dist/chunks/{schema-yj5p50qd.js → location-7zne7j5x.js} +5 -5
  94. package/dist/chunks/{schema-80pdk984.js → location-80pdk984.js} +1 -1
  95. package/dist/chunks/{schema-yhy601mr.js → location-832r0z2t.js} +9 -9
  96. package/dist/chunks/{schema-swtby07c.js → location-834sk437.js} +4 -4
  97. package/dist/chunks/{schema-85jq8dht.js → location-85jq8dht.js} +1 -1
  98. package/dist/chunks/{schema-zk8ezkjv.js → location-8a9mkwdh.js} +8 -8
  99. package/dist/chunks/{schema-8b3vzgkx.js → location-8b3vzgkx.js} +1 -1
  100. package/dist/chunks/{schema-essv7e64.js → location-8djrpyw1.js} +8 -8
  101. package/dist/chunks/{schema-m98552er.js → location-8dvxgptq.js} +2 -2
  102. package/dist/chunks/{schema-32zvh7m8.js → location-8fyfc21t.js} +29 -29
  103. package/dist/chunks/{schema-ca2kttj4.js → location-8hbdfrk8.js} +4 -4
  104. package/dist/chunks/{schema-8kjyvwy5.js → location-8kjyvwy5.js} +1 -1
  105. package/dist/chunks/{schema-37rq3n90.js → location-8nqeb6jh.js} +24 -24
  106. package/dist/chunks/{schema-2gpvmrfd.js → location-8r6kez7m.js} +40 -38
  107. package/dist/chunks/{schema-35jtqnzh.js → location-8s5nypsy.js} +15 -15
  108. package/dist/chunks/{schema-bb3mmwvh.js → location-8sxe6kv8.js} +2 -2
  109. package/dist/chunks/{schema-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  110. package/dist/chunks/{schema-s62h8xwa.js → location-8xxagg6y.js} +16 -16
  111. package/dist/chunks/{schema-8zv0xmg5.js → location-8zv0xmg5.js} +1 -1
  112. package/dist/chunks/{schema-sf9y72b7.js → location-90ct6wq4.js} +4 -4
  113. package/dist/chunks/{schema-txgthtwa.js → location-9dxxrkg1.js} +8 -8
  114. package/dist/chunks/{schema-x2199xg7.js → location-9f03aksa.js} +26 -26
  115. package/dist/chunks/{schema-nvrhh2jh.js → location-9fx97vxq.js} +28 -28
  116. package/dist/chunks/{schema-93f9eha0.js → location-9ge0any9.js} +20 -20
  117. package/dist/chunks/{schema-t5zz07dm.js → location-9ghhvxgs.js} +22 -22
  118. package/dist/chunks/{schema-p1tqk3wj.js → location-9n0cta27.js} +3 -3
  119. package/dist/chunks/{schema-3xnqrhgf.js → location-9vzqnq6b.js} +32 -32
  120. package/dist/chunks/{schema-hatv92we.js → location-a5e1wvpv.js} +9 -9
  121. package/dist/chunks/{schema-pet7zff3.js → location-a7gm47h5.js} +16 -16
  122. package/dist/chunks/{schema-894qcq1y.js → location-ang7raqx.js} +59 -59
  123. package/dist/chunks/{schema-00pd6sp3.js → location-avv30etj.js} +8 -8
  124. package/dist/chunks/{schema-3cbjf1nt.js → location-ayjs7tqn.js} +2 -2
  125. package/dist/chunks/{schema-b26ddj6h.js → location-b26ddj6h.js} +4 -4
  126. package/dist/chunks/{schema-b7nkz392.js → location-b7nkz392.js} +1 -1
  127. package/dist/chunks/{schema-bb65ze16.js → location-bb65ze16.js} +3 -3
  128. package/dist/chunks/{schema-3p57dcxh.js → location-bex4xsk5.js} +4 -4
  129. package/dist/chunks/{schema-5n0rnk8e.js → location-bhfd478d.js} +4 -4
  130. package/dist/chunks/{schema-wvp6s5r8.js → location-bq0q5ae9.js} +36 -36
  131. package/dist/chunks/{schema-ar7qhdy9.js → location-brdz3nbr.js} +14 -14
  132. package/dist/chunks/{schema-bstexjd6.js → location-bstexjd6.js} +1 -1
  133. package/dist/chunks/{schema-sswnp1hr.js → location-btyxa42k.js} +15 -15
  134. package/dist/chunks/{schema-by8ty0bx.js → location-by8ty0bx.js} +1 -1
  135. package/dist/chunks/location-c128d798.js +457 -0
  136. package/dist/chunks/{schema-82t6hvvc.js → location-c1k776k8.js} +4 -4
  137. package/dist/chunks/{schema-fc93665r.js → location-c1sfsxsr.js} +8 -8
  138. package/dist/chunks/{schema-0dpgc71n.js → location-ca4281kv.js} +19 -19
  139. package/dist/chunks/{schema-cd40mm2x.js → location-cedjfvec.js} +25 -25
  140. package/dist/chunks/{schema-dszy2cs3.js → location-cr6p4hnc.js} +4 -4
  141. package/dist/chunks/{schema-s5pjjcby.js → location-crf83wvf.js} +9 -9
  142. package/dist/chunks/{schema-6h8vcvjm.js → location-ctmpqb7w.js} +9 -9
  143. package/dist/chunks/{schema-cwrgdav8.js → location-cwrgdav8.js} +2 -2
  144. package/dist/chunks/{schema-djejg4dy.js → location-d0pmvwgf.js} +9 -9
  145. package/dist/chunks/{schema-pmpycxtw.js → location-d4dk6fd1.js} +14 -14
  146. package/dist/chunks/{schema-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  147. package/dist/chunks/{schema-8akjpyn6.js → location-dbatw319.js} +3 -3
  148. package/dist/chunks/{schema-160yv0cs.js → location-ddvn7d3w.js} +8 -8
  149. package/dist/chunks/{schema-7zqxd1dh.js → location-dn2hn5p2.js} +8 -8
  150. package/dist/chunks/{schema-cqmt8zzz.js → location-dsbqjjxc.js} +7 -7
  151. package/dist/chunks/{schema-dt77769w.js → location-dt77769w.js} +1 -1
  152. package/dist/chunks/{schema-hcnkffw2.js → location-e5pdsp4h.js} +11 -11
  153. package/dist/chunks/{schema-28yt5ya3.js → location-e7gstf88.js} +8 -8
  154. package/dist/chunks/{schema-pj4g6jw6.js → location-ekhvmsd2.js} +9 -9
  155. package/dist/chunks/{schema-m8071f4b.js → location-en70vxsw.js} +1 -1
  156. package/dist/chunks/{schema-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
  157. package/dist/chunks/{schema-12t8q5ww.js → location-eys28pne.js} +23 -23
  158. package/dist/chunks/{schema-p021jaq0.js → location-f4xv0kx9.js} +10 -10
  159. package/dist/chunks/{schema-jpg972ga.js → location-f649f4qw.js} +5 -5
  160. package/dist/chunks/{schema-5cxze2ek.js → location-fcv347h7.js} +20 -20
  161. package/dist/chunks/{schema-h5gm5jf1.js → location-ffvvmdd5.js} +7 -7
  162. package/dist/chunks/{schema-fg9p65nk.js → location-fg9p65nk.js} +2 -2
  163. package/dist/chunks/{schema-ymfq94hg.js → location-fje0em3a.js} +17 -17
  164. package/dist/chunks/{schema-e36kjsvh.js → location-fqf9k8bj.js} +6 -6
  165. package/dist/chunks/{schema-4vhxd4fz.js → location-fyvewnmw.js} +2 -2
  166. package/dist/chunks/{schema-hw67g06k.js → location-g0fycf8m.js} +34 -21
  167. package/dist/chunks/{schema-eestr1ap.js → location-g2mcafwx.js} +11 -11
  168. package/dist/chunks/{schema-k3ggfjkb.js → location-g3nkktaq.js} +2 -2
  169. package/dist/chunks/{schema-0vb5mjcv.js → location-g5s9nrqb.js} +19 -19
  170. package/dist/chunks/{schema-90kfgkgm.js → location-g6eh4kmy.js} +12 -12
  171. package/dist/chunks/{schema-fqpvdrje.js → location-g8317pvp.js} +6 -6
  172. package/dist/chunks/{schema-7357t78n.js → location-g96z14v2.js} +7 -7
  173. package/dist/chunks/{schema-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
  174. package/dist/chunks/{schema-yrzcpjjp.js → location-ggj4zh1g.js} +34 -34
  175. package/dist/chunks/{schema-ghrv1g9c.js → location-ghrv1g9c.js} +1 -1
  176. package/dist/chunks/{schema-ktck1cjp.js → location-gwyytpcj.js} +6 -6
  177. package/dist/chunks/{schema-87kxp3gn.js → location-gx76kxxn.js} +11 -11
  178. package/dist/chunks/{schema-jg2ygqjd.js → location-h0j0r0ej.js} +8 -8
  179. package/dist/chunks/{schema-7xwq3sd0.js → location-h7bze1ap.js} +6 -6
  180. package/dist/chunks/{schema-bq0ysetc.js → location-hazcdx0a.js} +14 -14
  181. package/dist/chunks/{schema-mkqrt9r1.js → location-hb8jp00h.js} +14 -14
  182. package/dist/chunks/{schema-5c0ay57s.js → location-hced1q2j.js} +4 -4
  183. package/dist/chunks/{schema-7afn9zz1.js → location-hcrwe74w.js} +21 -21
  184. package/dist/chunks/location-hdcjwryz.js +34 -0
  185. package/dist/chunks/{schema-7y3w56wa.js → location-hesc68bg.js} +3 -3
  186. package/dist/chunks/{schema-dnern54h.js → location-hqtkd67t.js} +11 -11
  187. package/dist/chunks/location-hw97mp2c.js +145 -0
  188. package/dist/chunks/{schema-g44npge0.js → location-hwvn16gh.js} +19 -19
  189. package/dist/chunks/{schema-8jv95stc.js → location-j217sy44.js} +6 -6
  190. package/dist/chunks/{schema-pve6n1f6.js → location-j2gp4875.js} +20 -20
  191. package/dist/chunks/{schema-k278m6zw.js → location-j9avjeqn.js} +37 -37
  192. package/dist/chunks/{schema-j9nxzz3g.js → location-j9nxzz3g.js} +3 -3
  193. package/dist/chunks/{schema-ayevjdp6.js → location-jdnvwwde.js} +4 -4
  194. package/dist/chunks/{schema-r6ar04y2.js → location-jh2tgb1s.js} +18 -18
  195. package/dist/chunks/{schema-ae2hmq0b.js → location-jj4ss8qz.js} +24 -24
  196. package/dist/chunks/{schema-jm70asfg.js → location-jm70asfg.js} +1 -1
  197. package/dist/chunks/{schema-4w9c1rv8.js → location-jqzg9pfr.js} +77 -77
  198. package/dist/chunks/{schema-gvah0j30.js → location-jrbvgdj6.js} +9 -9
  199. package/dist/chunks/{schema-1yzf0qyg.js → location-kcw9t9ea.js} +31 -31
  200. package/dist/chunks/{schema-dwwyec8z.js → location-kgmdm1mc.js} +6 -6
  201. package/dist/chunks/{schema-vmqe41cb.js → location-kj9n5bvh.js} +4 -4
  202. package/dist/chunks/{schema-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  203. package/dist/chunks/{schema-1zt50wep.js → location-kw6qjj90.js} +12 -12
  204. package/dist/chunks/{schema-kzczzf4v.js → location-kzczzf4v.js} +1 -1
  205. package/dist/chunks/{schema-m1714858.js → location-m1714858.js} +1 -1
  206. package/dist/chunks/{schema-xh9sbx5d.js → location-m8d5br9n.js} +29 -29
  207. package/dist/chunks/{schema-m90tx7mw.js → location-m90tx7mw.js} +1 -1
  208. package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  209. package/dist/chunks/{schema-8z6m94af.js → location-mb7mbhnz.js} +3 -3
  210. package/dist/chunks/{schema-bszd1e77.js → location-mbhm97dq.js} +5 -5
  211. package/dist/chunks/{schema-me0dhgxs.js → location-me0dhgxs.js} +1 -1
  212. package/dist/chunks/{schema-qjjf83ye.js → location-mpce7fj6.js} +6 -6
  213. package/dist/chunks/{schema-zxxfjzbm.js → location-ms8w9w9p.js} +7 -7
  214. package/dist/chunks/{schema-msd2a3qm.js → location-msd2a3qm.js} +4 -4
  215. package/dist/chunks/{schema-egv7nm33.js → location-mvzyv7p1.js} +20 -20
  216. package/dist/chunks/{schema-qqan37dg.js → location-mw69dbej.js} +66 -56
  217. package/dist/chunks/{schema-n320gsn2.js → location-n320gsn2.js} +1 -1
  218. package/dist/chunks/{schema-7w972mxx.js → location-nbpfc68v.js} +28 -28
  219. package/dist/chunks/{schema-q4bddqzm.js → location-ndrffskx.js} +12 -12
  220. package/dist/chunks/{schema-83r2q2tc.js → location-nkbgqbmq.js} +28 -28
  221. package/dist/chunks/{schema-ym2hf25x.js → location-nkyv4gy5.js} +9 -9
  222. package/dist/chunks/{schema-wjt8g24f.js → location-nrh4pmd8.js} +42 -42
  223. package/dist/chunks/{schema-kny7n17h.js → location-nszxejq2.js} +46 -46
  224. package/dist/chunks/{schema-34nzn3j8.js → location-nts6hgg5.js} +21 -21
  225. package/dist/chunks/{schema-3gt03n7r.js → location-nw6v9rk5.js} +20 -20
  226. package/dist/chunks/{schema-cb9p0hr3.js → location-nww9qz4b.js} +5 -5
  227. package/dist/chunks/{schema-tamm6359.js → location-nyajycgy.js} +34 -34
  228. package/dist/chunks/{schema-akbak9kn.js → location-p575bqkg.js} +10 -10
  229. package/dist/chunks/{schema-qfbkhxhn.js → location-p6sfwv0d.js} +4 -4
  230. package/dist/chunks/{schema-v1nrzbej.js → location-p9ym6sf6.js} +4 -4
  231. package/dist/chunks/{schema-7tf6362t.js → location-pazav6xj.js} +29 -29
  232. package/dist/chunks/{schema-b6cq1fvz.js → location-pb8daj1x.js} +4 -4
  233. package/dist/chunks/{schema-ns5s5x7n.js → location-pdp6kg1x.js} +10 -10
  234. package/dist/chunks/{schema-zz0y7mj6.js → location-pf5q8n97.js} +20 -20
  235. package/dist/chunks/{schema-z583g8kc.js → location-pjmvzs6b.js} +4 -4
  236. package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
  237. package/dist/chunks/{schema-y5ken5vs.js → location-ppztpcxx.js} +5 -5
  238. package/dist/chunks/{schema-5xymd101.js → location-pwpfzbzq.js} +12 -12
  239. package/dist/chunks/{schema-229tvxdn.js → location-px7qpgcn.js} +4 -4
  240. package/dist/chunks/{schema-ph6zr0my.js → location-q2nqhswr.js} +22 -22
  241. package/dist/chunks/{schema-pp2hmg1m.js → location-q3kx4bqk.js} +7 -7
  242. package/dist/chunks/{schema-wrfejyj7.js → location-qbkag7ec.js} +11 -11
  243. package/dist/chunks/{schema-ntn2vp5r.js → location-qcdb8wvz.js} +20 -20
  244. package/dist/chunks/{schema-3n8639p5.js → location-qd1ydz3q.js} +23 -23
  245. package/dist/chunks/{schema-j8exsrxy.js → location-qdahr5f4.js} +26 -26
  246. package/dist/chunks/{schema-cce0647p.js → location-qg5v6165.js} +39 -39
  247. package/dist/chunks/{schema-n9g0jqka.js → location-qh9pvwbk.js} +30 -30
  248. package/dist/chunks/{schema-1wdt4fx4.js → location-qjx3z6qm.js} +8 -8
  249. package/dist/chunks/{schema-ep6pe98a.js → location-qk5sk9d1.js} +5 -5
  250. package/dist/chunks/{schema-s85z3cra.js → location-qkc3z5ds.js} +4 -4
  251. package/dist/chunks/{schema-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
  252. package/dist/chunks/{schema-3ew67rpx.js → location-qtpykmg2.js} +19 -19
  253. package/dist/chunks/location-qwz12hkq.js +16 -0
  254. package/dist/chunks/{schema-djbn8b3v.js → location-r35hstgm.js} +23 -23
  255. package/dist/chunks/{schema-w2eysc6j.js → location-r41sfy63.js} +6 -6
  256. package/dist/chunks/{schema-9rwnj3cf.js → location-r4970t12.js} +21 -21
  257. package/dist/chunks/{schema-87g0g3vw.js → location-r6f883a9.js} +43 -43
  258. package/dist/chunks/{schema-2tkbb2hd.js → location-r972m2ky.js} +20 -20
  259. package/dist/chunks/{schema-7a2p64p0.js → location-r9denkp6.js} +20 -20
  260. package/dist/chunks/{schema-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{schema-2p7ww4m4.js → location-rc43dema.js} +35 -35
  262. package/dist/chunks/{schema-yve512cx.js → location-rck93akh.js} +9 -9
  263. package/dist/chunks/{schema-j9x1g365.js → location-re0c2r0c.js} +25 -25
  264. package/dist/chunks/{schema-rgc9cx3e.js → location-rgc9cx3e.js} +2 -2
  265. package/dist/chunks/{schema-94e33dpz.js → location-rj7jtxy8.js} +3 -3
  266. package/dist/chunks/{schema-7c8hwk2v.js → location-rraahxd6.js} +16 -16
  267. package/dist/chunks/{schema-jxw3nqfr.js → location-rva2sgyw.js} +8 -8
  268. package/dist/chunks/{schema-ngrhmx0y.js → location-ryjene5e.js} +34 -34
  269. package/dist/chunks/{schema-ns3f0y8s.js → location-s103wdxn.js} +12 -12
  270. package/dist/chunks/{schema-q0cx4jd1.js → location-s295w65z.js} +9 -9
  271. package/dist/chunks/{schema-jpaeaxj3.js → location-s3cahzjb.js} +10 -10
  272. package/dist/chunks/{schema-fb3jq07n.js → location-s8zafhs6.js} +4 -4
  273. package/dist/chunks/{schema-ynq5d5wj.js → location-sbssw13n.js} +13 -13
  274. package/dist/chunks/{schema-sbya78hr.js → location-sbya78hr.js} +1 -1
  275. package/dist/chunks/{schema-53m7ep8y.js → location-sf64733g.js} +44 -44
  276. package/dist/chunks/{schema-gsm10rjf.js → location-sgt8g3bn.js} +4 -4
  277. package/dist/chunks/{schema-hgzwgvze.js → location-sjjhs5t5.js} +2 -2
  278. package/dist/chunks/{schema-xfk334w4.js → location-sqp3n15g.js} +5 -5
  279. package/dist/chunks/{schema-svcy3p9a.js → location-svcy3p9a.js} +1 -1
  280. package/dist/chunks/{schema-p94p4v4n.js → location-t62dywgn.js} +4 -4
  281. package/dist/chunks/{schema-ba5f9dy2.js → location-tb2mrvc9.js} +4 -4
  282. package/dist/chunks/{schema-tbpn7jtk.js → location-tbpn7jtk.js} +1 -1
  283. package/dist/chunks/{schema-knq5zpdc.js → location-tc7r93jj.js} +8 -8
  284. package/dist/chunks/{schema-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{schema-wgtjsce3.js → location-tfrxry9m.js} +2 -2
  286. package/dist/chunks/{schema-tg7s7b5t.js → location-tg7s7b5t.js} +1 -1
  287. package/dist/chunks/{schema-tr8x705m.js → location-tr8x705m.js} +1 -1
  288. package/dist/chunks/{schema-tvtps2q9.js → location-tvtps2q9.js} +1 -1
  289. package/dist/chunks/{schema-twssxy5n.js → location-twssxy5n.js} +2 -2
  290. package/dist/chunks/{schema-qr8vfs2f.js → location-v0etzcgg.js} +53 -53
  291. package/dist/chunks/{schema-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  292. package/dist/chunks/{schema-sgmpg1at.js → location-v5xc4kg7.js} +15 -15
  293. package/dist/chunks/{schema-pkdvs1r0.js → location-v6h1p5ye.js} +5 -5
  294. package/dist/chunks/{schema-55a1w20j.js → location-v7mv4svd.js} +17 -17
  295. package/dist/chunks/{schema-73tv2q91.js → location-v9z6vtxw.js} +8 -8
  296. package/dist/chunks/{schema-y682mywm.js → location-vegs8bg1.js} +10 -10
  297. package/dist/chunks/{schema-zf02ae39.js → location-vgrxzska.js} +29 -29
  298. package/dist/chunks/{schema-vjf35v1f.js → location-vjf35v1f.js} +1 -1
  299. package/dist/chunks/{schema-41ta799d.js → location-vvvpnzd1.js} +4 -4
  300. package/dist/chunks/{schema-7mpsrzpa.js → location-vxjwgjgd.js} +5 -5
  301. package/dist/chunks/{schema-6a3yqv2r.js → location-w0194dze.js} +3 -3
  302. package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  303. package/dist/chunks/{schema-wr3re1en.js → location-w687dnns.js} +4 -4
  304. package/dist/chunks/{schema-tmgn3zs9.js → location-w6h8d6n2.js} +21 -21
  305. package/dist/chunks/{schema-w79nt68w.js → location-w79nt68w.js} +1 -1
  306. package/dist/chunks/{schema-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{schema-t2trxbvf.js → location-wasyvcmp.js} +26 -26
  308. package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
  309. package/dist/chunks/{schema-apvw9r81.js → location-weab279a.js} +11 -11
  310. package/dist/chunks/{schema-nx4vzyjd.js → location-wegkxhrn.js} +2 -2
  311. package/dist/chunks/{schema-2s709x84.js → location-wgvnftve.js} +8 -8
  312. package/dist/chunks/{schema-c7cw818c.js → location-wt99tj4q.js} +5 -5
  313. package/dist/chunks/{schema-nd6a1rw0.js → location-wtv6jfvz.js} +3 -3
  314. package/dist/chunks/{schema-980raww3.js → location-wvpj03x8.js} +12 -12
  315. package/dist/chunks/{schema-x150ncgg.js → location-x150ncgg.js} +2 -2
  316. package/dist/chunks/{schema-jvnqdmg7.js → location-x7ey9rzq.js} +370 -362
  317. package/dist/chunks/{schema-92mnqtsa.js → location-x809x4sb.js} +12 -12
  318. package/dist/chunks/{schema-h1wwt2d4.js → location-x9mgr81e.js} +29 -29
  319. package/dist/chunks/{schema-pfgfzn9w.js → location-xbyghwr8.js} +16 -16
  320. package/dist/chunks/{schema-jh3vmqnb.js → location-xd5x38mr.js} +91 -79
  321. package/dist/chunks/{schema-bfmj02kq.js → location-xd8a83k1.js} +16 -16
  322. package/dist/chunks/{schema-4m48desf.js → location-xdemnhpf.js} +11 -11
  323. package/dist/chunks/{schema-3adw4bt5.js → location-xjbsd7zy.js} +9 -9
  324. package/dist/chunks/{schema-xxschbft.js → location-xjr6c8m4.js} +4 -4
  325. package/dist/chunks/{schema-0ahs07zn.js → location-xmx7xj34.js} +4 -4
  326. package/dist/chunks/{schema-e4shjbcy.js → location-xrte0c5k.js} +19 -19
  327. package/dist/chunks/{schema-qrnbag0z.js → location-xt1t7w4z.js} +31 -31
  328. package/dist/chunks/{schema-hagqs1d2.js → location-xvgdw3tt.js} +21 -21
  329. package/dist/chunks/{schema-9sk33afj.js → location-xz07m27x.js} +6 -6
  330. package/dist/chunks/{schema-y3p3hzkr.js → location-y3p3hzkr.js} +2 -2
  331. package/dist/chunks/{schema-jyqxtn40.js → location-y3w468jq.js} +13 -13
  332. package/dist/chunks/{schema-fcha702q.js → location-y4vwvzm9.js} +15 -15
  333. package/dist/chunks/{schema-pstexa60.js → location-y9742c9s.js} +8 -8
  334. package/dist/chunks/{schema-tqwq9s5x.js → location-ya097w5s.js} +30 -30
  335. package/dist/chunks/{schema-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{schema-yepd7x5v.js → location-yepd7x5v.js} +2 -2
  337. package/dist/chunks/{schema-ed7x67as.js → location-ygjzxj3k.js} +3 -3
  338. package/dist/chunks/{schema-040bqqk0.js → location-yh8nrrbm.js} +1 -1
  339. package/dist/chunks/{schema-0khwxjqg.js → location-yh91mnek.js} +4 -4
  340. package/dist/chunks/{schema-gy85zcy8.js → location-ymsxw2w0.js} +28 -21
  341. package/dist/chunks/{schema-yr705xyq.js → location-yr705xyq.js} +1 -1
  342. package/dist/chunks/{schema-yvtc2x31.js → location-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{schema-bjnxymnv.js → location-yzakgra2.js} +18 -18
  344. package/dist/chunks/{schema-pwm9xzc0.js → location-z46n6vb7.js} +15 -15
  345. package/dist/chunks/location-z8jdt7n2.js +273 -0
  346. package/dist/chunks/{schema-zded71tf.js → location-zded71tf.js} +3 -3
  347. package/dist/chunks/{schema-kad56yks.js → location-zex02exw.js} +17 -17
  348. package/dist/chunks/{schema-q7n78wgf.js → location-zj395kaq.js} +10 -10
  349. package/dist/chunks/{schema-5sq7dtyr.js → location-zv3jqzhg.js} +3 -3
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +149 -149
  353. package/dist/codemode/instructions.js +9 -9
  354. package/dist/codemode/tool.js +156 -156
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +113 -113
  361. package/dist/config/plugin/agent.js +134 -134
  362. package/dist/config/plugin/command.js +245 -245
  363. package/dist/config/plugin/compaction.js +174 -174
  364. package/dist/config/plugin/compatibility.js +154 -154
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +132 -132
  367. package/dist/config/plugin/image.js +131 -131
  368. package/dist/config/plugin/instruction.js +131 -131
  369. package/dist/config/plugin/location-watcher.js +131 -131
  370. package/dist/config/plugin/mcp.js +148 -146
  371. package/dist/config/plugin/policy.js +131 -131
  372. package/dist/config/plugin/provider.js +131 -131
  373. package/dist/config/plugin/reference.js +133 -133
  374. package/dist/config/plugin/shell.js +133 -133
  375. package/dist/config/plugin/skill-file.js +150 -150
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +157 -157
  378. package/dist/config/plugin/snapshot.js +131 -131
  379. package/dist/config/plugin/source.js +135 -135
  380. package/dist/config/plugin/tool-output.js +132 -132
  381. package/dist/config/plugin/websearch.js +132 -132
  382. package/dist/config/plugin/worktree.js +133 -133
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +126 -126
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +90 -90
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  392. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +13 -13
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +14 -14
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +100 -100
  472. package/dist/effect/app-node-builder.js +443 -439
  473. package/dist/effect/app-node-platform.js +2 -2
  474. package/dist/effect/keyed-mutex.js +1 -1
  475. package/dist/effect/websocket-constructor.js +1 -1
  476. package/dist/environment/driver.js +1 -1
  477. package/dist/environment/environment.js +105 -105
  478. package/dist/environment/exec-defaults.js +2 -2
  479. package/dist/environment/files.js +1 -1
  480. package/dist/environment/index.js +108 -108
  481. package/dist/environment/local.js +2 -2
  482. package/dist/environment/memory.js +2 -2
  483. package/dist/environment/unavailable.js +3 -3
  484. package/dist/event/sql.js +1 -1
  485. package/dist/event-logger.js +81 -81
  486. package/dist/file-access.js +161 -161
  487. package/dist/file-mutation.js +108 -108
  488. package/dist/file-retention.js +1 -1
  489. package/dist/file-write.js +165 -165
  490. package/dist/filesystem/fff.bun.js +2 -2
  491. package/dist/filesystem/fff.js +1 -1
  492. package/dist/filesystem/fff.node.js +2 -2
  493. package/dist/filesystem/fff.workerd.js +2 -2
  494. package/dist/filesystem/file-watch.js +84 -84
  495. package/dist/filesystem/location-watcher-policy.js +6 -6
  496. package/dist/filesystem/location-watcher.js +253 -253
  497. package/dist/filesystem/protected.js +1 -1
  498. package/dist/filesystem/search.js +113 -113
  499. package/dist/filesystem/watcher-binding.js +1 -1
  500. package/dist/filesystem/watcher.js +3 -3
  501. package/dist/filesystem.js +118 -118
  502. package/dist/flag.js +132 -132
  503. package/dist/form.js +87 -87
  504. package/dist/formatter/builtins.js +4 -4
  505. package/dist/formatter.js +100 -100
  506. package/dist/generate.js +121 -121
  507. package/dist/git.js +11 -11
  508. package/dist/github-copilot/models.js +105 -105
  509. package/dist/image/notice.js +1 -1
  510. package/dist/image/photon-normalize.js +1 -1
  511. package/dist/image/photon-worker.js +1 -1
  512. package/dist/image/photon.js +4 -4
  513. package/dist/image.js +6 -6
  514. package/dist/instance/service.js +5 -5
  515. package/dist/instance.js +437 -433
  516. package/dist/instruction-discovery.js +93 -93
  517. package/dist/instructions/builtins.js +100 -100
  518. package/dist/instructions/index.js +3 -3
  519. package/dist/integration/connection.js +1 -1
  520. package/dist/integration.js +94 -94
  521. package/dist/job/list.js +5 -5
  522. package/dist/job/recovery.js +2 -2
  523. package/dist/job/sql.js +2 -2
  524. package/dist/job.js +90 -90
  525. package/dist/kv/sql.js +2 -2
  526. package/dist/kv.js +84 -84
  527. package/dist/location-activity.js +177 -177
  528. package/dist/location-lifecycle.js +154 -154
  529. package/dist/location-service-map.js +97 -97
  530. package/dist/location-services.js +434 -430
  531. package/dist/location.js +98 -98
  532. package/dist/managed-policy.js +3 -3
  533. package/dist/mcp/client.js +170 -502
  534. package/dist/mcp/connection.js +106 -106
  535. package/dist/mcp/index.js +149 -122
  536. package/dist/mcp/instructions.js +190 -190
  537. package/dist/mcp/oauth.js +89 -89
  538. package/dist/mcp/pool.js +112 -112
  539. package/dist/mcp/socket-client.js +1 -1
  540. package/dist/mcp/stdio.js +160 -160
  541. package/dist/mime.js +1 -1
  542. package/dist/modal/models.js +105 -105
  543. package/dist/model-resolver.js +111 -111
  544. package/dist/model-retry.js +1 -1
  545. package/dist/model.js +110 -110
  546. package/dist/models-dev/v1.js +1 -1
  547. package/dist/models-dev.js +118 -118
  548. package/dist/oauth/page.js +1 -1
  549. package/dist/permission/saved.js +83 -83
  550. package/dist/permission/sql.js +5 -5
  551. package/dist/permission.js +147 -147
  552. package/dist/persistent-pty/binary.bun.js +1 -1
  553. package/dist/persistent-pty/daemon.js +1 -1
  554. package/dist/persistent-pty/index.js +101 -101
  555. package/dist/persistent-pty/pty-binding.js +1 -1
  556. package/dist/persistent-pty.js +86 -86
  557. package/dist/plugin/agent.js +87 -87
  558. package/dist/plugin/command.js +146 -119
  559. package/dist/plugin/fork-notice.js +8 -0
  560. package/dist/plugin/goal.js +3 -3
  561. package/dist/plugin/hooks.js +5 -5
  562. package/dist/plugin/host.js +246 -246
  563. package/dist/plugin/identity.js +5 -5
  564. package/dist/plugin/instance.js +5 -5
  565. package/dist/plugin/internal.js +413 -409
  566. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  567. package/dist/plugin/models-dev.js +111 -111
  568. package/dist/plugin/module.js +130 -130
  569. package/dist/plugin/optimize.js +4 -4
  570. package/dist/plugin/plan.js +150 -150
  571. package/dist/plugin/promise.js +1 -1
  572. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  573. package/dist/plugin/provider/azure.js +134 -134
  574. package/dist/plugin/provider/cerebras.js +1 -1
  575. package/dist/plugin/provider/chatgpt.js +134 -134
  576. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  577. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  578. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  580. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  582. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  584. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  585. package/dist/plugin/provider/claude-agent/index.js +149 -149
  586. package/dist/plugin/provider/claude-agent/instructions.js +111 -111
  587. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  588. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  590. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  591. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  592. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  595. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  596. package/dist/plugin/provider/claude-agent/session.js +113 -113
  597. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  598. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  599. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  601. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  604. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  607. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  608. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  609. package/dist/plugin/provider/configured.js +127 -127
  610. package/dist/plugin/provider/credential-settings.js +88 -88
  611. package/dist/plugin/provider/databricks.js +1 -1
  612. package/dist/plugin/provider/digitalocean.js +110 -110
  613. package/dist/plugin/provider/dynamic.js +2 -2
  614. package/dist/plugin/provider/github-copilot.js +112 -112
  615. package/dist/plugin/provider/gitlab.js +110 -110
  616. package/dist/plugin/provider/google-vertex.js +128 -128
  617. package/dist/plugin/provider/kilo.js +1 -1
  618. package/dist/plugin/provider/llmgateway.js +89 -89
  619. package/dist/plugin/provider/lmstudio.js +144 -141
  620. package/dist/plugin/provider/local.js +141 -138
  621. package/dist/plugin/provider/modal.js +109 -109
  622. package/dist/plugin/provider/neon.js +1 -1
  623. package/dist/plugin/provider/nvidia.js +1 -1
  624. package/dist/plugin/provider/ollama.js +144 -141
  625. package/dist/plugin/provider/openai-context-caps.js +107 -107
  626. package/dist/plugin/provider/openai.js +136 -136
  627. package/dist/plugin/provider/opencode-watches.js +4 -4
  628. package/dist/plugin/provider/opencode.js +162 -162
  629. package/dist/plugin/provider/openrouter.js +105 -105
  630. package/dist/plugin/provider/poe.js +90 -90
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/refresh.js +87 -87
  633. package/dist/plugin/provider/sap-ai-core.js +105 -105
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +132 -132
  636. package/dist/plugin/provider/vllm.js +144 -141
  637. package/dist/plugin/provider/xai.js +105 -105
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +240 -240
  640. package/dist/plugin/sdk.js +87 -87
  641. package/dist/plugin/service.js +1 -1
  642. package/dist/plugin/skill.js +153 -153
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +421 -417
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +99 -99
  648. package/dist/plugin/vcs/hg.js +99 -99
  649. package/dist/plugin/verbosity.js +107 -107
  650. package/dist/plugin/warming.js +131 -131
  651. package/dist/plugin/websearch/exa.js +6 -6
  652. package/dist/plugin/websearch/firecrawl.js +9 -9
  653. package/dist/plugin/websearch/index.js +10 -10
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +9 -9
  656. package/dist/plugin/websearch/provider.js +3 -3
  657. package/dist/plugin/websearch/tavily.js +5 -5
  658. package/dist/plugin/websearch/tinyfish.js +9 -9
  659. package/dist/plugin.js +255 -255
  660. package/dist/project/icon.js +5 -5
  661. package/dist/project/schema.js +4 -4
  662. package/dist/project/sql.js +4 -4
  663. package/dist/project.js +97 -97
  664. package/dist/provider.js +109 -109
  665. package/dist/pty/protocol.js +1 -1
  666. package/dist/pty/ticket.js +1 -1
  667. package/dist/pty.js +113 -113
  668. package/dist/reference/instructions.js +99 -99
  669. package/dist/reference.js +97 -97
  670. package/dist/repository-cache.js +93 -93
  671. package/dist/repository.js +1 -1
  672. package/dist/ripgrep/binary.js +2 -2
  673. package/dist/ripgrep.js +111 -111
  674. package/dist/rpc.js +99 -99
  675. package/dist/schedule/check.js +251 -251
  676. package/dist/schedule/sql.js +6 -6
  677. package/dist/schedule.js +265 -265
  678. package/dist/schema.js +1 -1
  679. package/dist/session/affinity.js +1 -1
  680. package/dist/session/background.js +1 -1
  681. package/dist/session/blob.js +133 -133
  682. package/dist/session/command.js +85 -85
  683. package/dist/session/compaction.js +174 -174
  684. package/dist/session/context.js +206 -206
  685. package/dist/session/diff.js +101 -101
  686. package/dist/session/environment.js +5 -5
  687. package/dist/session/error.js +3 -3
  688. package/dist/session/event.js +1 -1
  689. package/dist/session/execution/restart.js +263 -263
  690. package/dist/session/execution.js +172 -172
  691. package/dist/session/generate.js +208 -208
  692. package/dist/session/history.js +140 -140
  693. package/dist/session/inbox.js +153 -153
  694. package/dist/session/info.js +3 -3
  695. package/dist/session/instruction-entry.js +90 -90
  696. package/dist/session/instruction-state.js +8 -8
  697. package/dist/session/instructions.js +145 -145
  698. package/dist/session/message-updater.js +4 -4
  699. package/dist/session/message.js +1 -1
  700. package/dist/session/model-request.js +172 -172
  701. package/dist/session/model-transport.js +9 -9
  702. package/dist/session/move.js +172 -172
  703. package/dist/session/projector.js +147 -147
  704. package/dist/session/prompt.js +152 -152
  705. package/dist/session/recent-text.js +1 -1
  706. package/dist/session/revert.js +143 -143
  707. package/dist/session/run-coordinator.js +3 -3
  708. package/dist/session/runner/index.js +3 -3
  709. package/dist/session/runner/llm.js +259 -259
  710. package/dist/session/runner/max-steps.js +1 -1
  711. package/dist/session/runner/model.js +113 -113
  712. package/dist/session/runner/publish-llm-event.js +154 -154
  713. package/dist/session/runner/retry.js +5 -5
  714. package/dist/session/runner/step.js +167 -167
  715. package/dist/session/runner/to-llm-message.js +141 -141
  716. package/dist/session/schema.js +1 -1
  717. package/dist/session/session.js +192 -192
  718. package/dist/session/shell.js +149 -149
  719. package/dist/session/skill.js +151 -151
  720. package/dist/session/sql.js +5 -5
  721. package/dist/session/stats.js +85 -85
  722. package/dist/session/store.js +142 -142
  723. package/dist/session/stored.js +2 -2
  724. package/dist/session/subagent-completion.js +1 -1
  725. package/dist/session/subagent-job.js +242 -242
  726. package/dist/session/system-prompt.js +1 -1
  727. package/dist/session/title.js +208 -208
  728. package/dist/session/to-session-error.js +153 -153
  729. package/dist/session/transfer.js +250 -250
  730. package/dist/session/usage.js +1 -1
  731. package/dist/session.js +242 -242
  732. package/dist/shared-cache.js +5 -5
  733. package/dist/shell/parse.js +6 -6
  734. package/dist/shell/result.js +1 -1
  735. package/dist/shell/scan.js +1 -1
  736. package/dist/shell/select.js +15 -15
  737. package/dist/shell.js +151 -151
  738. package/dist/skill/discovery.js +6 -6
  739. package/dist/skill/instructions.js +155 -155
  740. package/dist/skill.js +156 -156
  741. package/dist/snapshot.js +104 -104
  742. package/dist/state.js +1 -1
  743. package/dist/tool/html-markdown.js +1 -1
  744. package/dist/tool/http-body.js +1 -1
  745. package/dist/tool/mcp.js +187 -187
  746. package/dist/tool/plugin/artifact.js +241 -241
  747. package/dist/tool/plugin/edit.js +171 -171
  748. package/dist/tool/plugin/file-diff.js +1 -1
  749. package/dist/tool/plugin/glob.js +175 -175
  750. package/dist/tool/plugin/grep.js +172 -172
  751. package/dist/tool/plugin/image-generate.js +250 -250
  752. package/dist/tool/plugin/mcp-events.js +171 -0
  753. package/dist/tool/plugin/mcp-resource.js +170 -170
  754. package/dist/tool/plugin/opencode.js +167 -167
  755. package/dist/tool/plugin/patch.js +172 -172
  756. package/dist/tool/plugin/question.js +152 -152
  757. package/dist/tool/plugin/read.js +176 -176
  758. package/dist/tool/plugin/schedule.js +257 -257
  759. package/dist/tool/plugin/shell.js +248 -248
  760. package/dist/tool/plugin/skill.js +161 -161
  761. package/dist/tool/plugin/subagent.js +247 -247
  762. package/dist/tool/plugin/todo.js +157 -157
  763. package/dist/tool/plugin/webfetch.js +159 -159
  764. package/dist/tool/plugin/websearch.js +159 -159
  765. package/dist/tool/plugin/write.js +172 -172
  766. package/dist/tool/read-filesystem.js +116 -116
  767. package/dist/tool/runtime.js +1 -1
  768. package/dist/tool/search.js +109 -109
  769. package/dist/tool-output.js +7 -7
  770. package/dist/tool.js +166 -166
  771. package/dist/types/flag.d.ts +2 -2
  772. package/dist/types/instance.d.ts +1 -1
  773. package/dist/types/mcp/client.d.ts +78 -1
  774. package/dist/types/mcp/connection.d.ts +2 -0
  775. package/dist/types/mcp/index.d.ts +4 -1
  776. package/dist/types/mcp/pool.d.ts +1 -0
  777. package/dist/types/plugin/fork-notice.d.ts +2 -0
  778. package/dist/types/plugin/host.d.ts +2 -2
  779. package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
  780. package/dist/types/plugin/provider/local.d.ts +1 -1
  781. package/dist/types/plugin/provider/ollama.d.ts +2 -2
  782. package/dist/types/plugin/provider/vllm.d.ts +2 -2
  783. package/dist/types/schedule/check.d.ts +2 -2
  784. package/dist/types/session/prompt.d.ts +1 -1
  785. package/dist/types/tool/plugin/mcp-events.d.ts +10 -0
  786. package/dist/usage-limits.js +100 -100
  787. package/dist/util/error-summary.js +1 -1
  788. package/dist/util/git-executable.js +3 -3
  789. package/dist/util/lazy.js +1 -1
  790. package/dist/util/slug.js +1 -1
  791. package/dist/util/token.js +1 -1
  792. package/dist/util/which.js +1 -1
  793. package/dist/util/wildcard.js +1 -1
  794. package/dist/v1/config/agent.js +5 -5
  795. package/dist/v1/config/command.js +3 -3
  796. package/dist/v1/config/mcp.js +2 -2
  797. package/dist/v1/config/migrate.js +106 -106
  798. package/dist/v1/config/permission.js +1 -1
  799. package/dist/v1/config/plugin.js +1 -1
  800. package/dist/v1/config/provider-options.js +1 -1
  801. package/dist/v1/config/provider.js +2 -2
  802. package/dist/variant.js +107 -107
  803. package/dist/vcs/patch.js +1 -1
  804. package/dist/vcs.js +102 -102
  805. package/dist/voice.js +97 -97
  806. package/dist/websearch.js +103 -103
  807. package/dist/wellknown/plugin.js +87 -87
  808. package/dist/wellknown.js +90 -90
  809. package/dist/workspace/driver.js +7 -7
  810. package/dist/workspace/sql.js +1 -1
  811. package/dist/workspace.js +93 -93
  812. package/dist/worktree/directory.js +2 -2
  813. package/dist/worktree/git.js +11 -11
  814. package/dist/worktree/sql.js +5 -5
  815. package/dist/worktree/strategies.js +102 -102
  816. package/dist/worktree.js +113 -113
  817. package/package.json +8 -8
  818. package/dist/chunks/schema-n0yx1q4a.js +0 -26
  819. package/dist/chunks/schema-qp3r9mzz.js +0 -273
  820. package/dist/chunks/schema-y32xxt00.js +0 -16
  821. /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  822. /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  823. /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  824. /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  825. /package/dist/chunks/{schema-1kah00gy.js → location-1kah00gy.js} +0 -0
  826. /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
  827. /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
  828. /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  829. /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
  830. /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  831. /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  832. /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  833. /package/dist/chunks/{schema-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
  834. /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
  835. /package/dist/chunks/{schema-5w3e23ze.js → location-5w3e23ze.js} +0 -0
  836. /package/dist/chunks/{schema-6agm2x70.js → location-6agm2x70.js} +0 -0
  837. /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
  838. /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  839. /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  840. /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
  841. /package/dist/chunks/{schema-7rvsyqjv.js → location-7rvsyqjv.js} +0 -0
  842. /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
  843. /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
  844. /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  845. /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
  846. /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  847. /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  848. /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  849. /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{schema-beh6qq61.js → location-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  853. /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  854. /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  855. /package/dist/chunks/{schema-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  856. /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  857. /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
  858. /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  859. /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
  860. /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
  861. /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  862. /package/dist/chunks/{schema-ean2d8b5.js → location-ean2d8b5.js} +0 -0
  863. /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
  864. /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  865. /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  866. /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  867. /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
  868. /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
  869. /package/dist/chunks/{schema-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
  870. /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
  871. /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  872. /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
  873. /package/dist/chunks/{schema-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  874. /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
  875. /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  876. /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  877. /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  878. /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  879. /package/dist/chunks/{schema-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  880. /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  881. /package/dist/chunks/{schema-m18g726c.js → location-m18g726c.js} +0 -0
  882. /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
  883. /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  884. /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  885. /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  886. /package/dist/chunks/{schema-nh4v3znn.js → location-nh4v3znn.js} +0 -0
  887. /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
  888. /package/dist/chunks/{schema-p71gwv9c.js → location-p71gwv9c.js} +0 -0
  889. /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  890. /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
  891. /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  892. /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  893. /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  894. /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  895. /package/dist/chunks/{schema-qtf35215.js → location-qtf35215.js} +0 -0
  896. /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  897. /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  898. /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  899. /package/dist/chunks/{schema-syrav9an.js → location-syrav9an.js} +0 -0
  900. /package/dist/chunks/{schema-t03h4f5z.js → location-t03h4f5z.js} +0 -0
  901. /package/dist/chunks/{schema-ty7weeps.js → location-ty7weeps.js} +0 -0
  902. /package/dist/chunks/{schema-v2dnd5dt.js → location-v2dnd5dt.js} +0 -0
  903. /package/dist/chunks/{schema-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  904. /package/dist/chunks/{schema-vtarvj67.js → location-vtarvj67.js} +0 -0
  905. /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
  906. /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  907. /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  908. /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
  909. /package/dist/chunks/{schema-x4th4bpe.js → location-x4th4bpe.js} +0 -0
  910. /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
  911. /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
  912. /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  913. /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  914. /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
  915. /package/dist/chunks/{schema-zxpyjp51.js → location-zxpyjp51.js} +0 -0
  916. /package/dist/chunks/{schema-zz5vv3aq.js → location-zz5vv3aq.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./schema-4v008n1t.js";
3
+ } from "./location-4v008n1t.js";
4
4
  import {
5
5
  Service81
6
- } from "./schema-zded71tf.js";
6
+ } from "./location-zded71tf.js";
7
7
  import {
8
8
  statements2,
9
9
  decision2
10
- } from "./schema-94e33dpz.js";
10
+ } from "./location-rj7jtxy8.js";
11
11
  import {
12
12
  Service80
13
- } from "./schema-7tf6362t.js";
13
+ } from "./location-pazav6xj.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/module.ts
19
19
  var exports_module = {};
20
20
  __export(exports_module, {
21
21
  LoadError: () => LoadError2,
22
22
  PluginModule: () => exports_module,
23
- make: () => make4,
23
+ make: () => make3,
24
24
  source: () => source2
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
@@ -32,7 +32,7 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
32
32
  import path from "path";
33
33
  import { readFile, stat } from "node:fs/promises";
34
34
  import { fileURLToPath, pathToFileURL } from "url";
35
- var make4 = Effect.fn("PluginModule.make")(function* () {
35
+ var make3 = Effect.fn("PluginModule.make")(function* () {
36
36
  const config = yield* Service80;
37
37
  const watcher = yield* Service81;
38
38
  const scope = yield* Effect.scope;
@@ -138,4 +138,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
138
138
  return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
139
139
  });
140
140
 
141
- export { make4, source2, LoadError2, exports_module };
141
+ export { make3, source2, LoadError2, exports_module };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  real2
3
- } from "./schema-b26ddj6h.js";
3
+ } from "./location-b26ddj6h.js";
4
4
  import {
5
5
  registry2
6
- } from "./schema-dsgstd3d.js";
6
+ } from "./location-4b0zbebg.js";
7
7
  import {
8
- make8
9
- } from "./schema-9nh708zh.js";
8
+ make7
9
+ } from "./location-1m2wk9v5.js";
10
10
  import {
11
- Service90
12
- } from "./schema-mkqrt9r1.js";
11
+ Service88
12
+ } from "./location-hb8jp00h.js";
13
13
  import {
14
- register8,
14
+ register7,
15
15
  connection2
16
- } from "./schema-1wdt4fx4.js";
16
+ } from "./location-qjx3z6qm.js";
17
17
  import {
18
18
  register5
19
- } from "./schema-0khwxjqg.js";
19
+ } from "./location-yh91mnek.js";
20
20
  import {
21
21
  register4
22
- } from "./schema-p1tqk3wj.js";
22
+ } from "./location-9n0cta27.js";
23
23
  import {
24
- register6
25
- } from "./schema-pp2hmg1m.js";
24
+ register3
25
+ } from "./location-q3kx4bqk.js";
26
26
  import {
27
- register7
28
- } from "./schema-e36kjsvh.js";
27
+ register6
28
+ } from "./location-fqf9k8bj.js";
29
29
  import {
30
- Service53
31
- } from "./schema-7a2p64p0.js";
30
+ Service72
31
+ } from "./location-r9denkp6.js";
32
32
  import {
33
33
  spawner2
34
- } from "./schema-wr3re1en.js";
34
+ } from "./location-w687dnns.js";
35
35
 
36
36
  // src/plugin/provider/claude-agent/index.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
38
38
  import { Effect, Option, Stream } from "effect";
39
39
  var ID2 = "opencode.provider.claude-agent";
40
- var make7 = (io, registry = registry2()) => define({
40
+ var make4 = (io, registry = registry2()) => define({
41
41
  id: ID2,
42
42
  effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
43
- const environment = yield* Effect.serviceOption(Service53);
44
- const location = yield* Effect.serviceOption(Service90);
43
+ const environment = yield* Effect.serviceOption(Service72);
44
+ const location = yield* Effect.serviceOption(Service88);
45
45
  if (Option.isSome(location) && location.value.workspaceID !== undefined)
46
46
  return;
47
47
  if (Option.isSome(environment) && environment.value.spawner === spawner2)
48
48
  return;
49
- const status = yield* make8(io, () => connection2(ctx));
49
+ const status = yield* make7(io, () => connection2(ctx));
50
50
  const sessions = yield* registry.attach({ io, status, storage: ctx.storage, directory: ctx.location.directory });
51
51
  yield* ctx.event.subscribe({
52
52
  types: ["session.execution.succeeded", "session.execution.failed", "session.execution.interrupted"]
53
53
  }).pipe(Stream.runForEach((event) => sessions.idle(event.data.sessionID)), Effect.forkScoped({ startImmediately: true }));
54
- yield* register8(ctx, status, io);
55
- yield* register6(ctx, status);
54
+ yield* register7(ctx, status, io);
55
+ yield* register3(ctx, status);
56
56
  yield* register5(ctx, sessions);
57
- yield* register7(ctx);
57
+ yield* register6(ctx);
58
58
  yield* register4(ctx);
59
59
  })
60
60
  });
61
- var ClaudeAgentPlugin2 = make7(real2);
61
+ var ClaudeAgentPlugin2 = make4(real2);
62
62
 
63
- export { ID2, make7, ClaudeAgentPlugin2 };
63
+ export { ID2, make4, ClaudeAgentPlugin2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service94
3
- } from "./schema-z583g8kc.js";
3
+ } from "./location-pjmvzs6b.js";
4
4
  import {
5
5
  Service93
6
- } from "./schema-ayevjdp6.js";
6
+ } from "./location-jdnvwwde.js";
7
7
  import {
8
- Service36
9
- } from "./schema-dwwyec8z.js";
8
+ Service57
9
+ } from "./location-kgmdm1mc.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./schema-8kjyvwy5.js";
12
+ } from "./location-8kjyvwy5.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./schema-gftt206x.js";
15
+ } from "./location-gftt206x.js";
16
16
  import {
17
17
  NotFoundError11,
18
18
  PromptConflictError2,
@@ -20,54 +20,54 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./schema-5zpqhmp2.js";
23
+ } from "./location-5zpqhmp2.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./schema-ec1grn59.js";
26
+ } from "./location-ec1grn59.js";
27
27
  import {
28
28
  Service75
29
- } from "./schema-7mpsrzpa.js";
29
+ } from "./location-vxjwgjgd.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service35
33
- } from "./schema-t2trxbvf.js";
32
+ Service56
33
+ } from "./location-wasyvcmp.js";
34
34
  import {
35
- Service33
36
- } from "./schema-k278m6zw.js";
35
+ Service54
36
+ } from "./location-j9avjeqn.js";
37
37
  import {
38
38
  prepare2
39
- } from "./schema-t9vhjqng.js";
39
+ } from "./location-20h34wnp.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./schema-bfmj02kq.js";
44
+ } from "./location-xd8a83k1.js";
45
45
  import {
46
46
  start4
47
- } from "./schema-e2sh8fdv.js";
47
+ } from "./location-627853rm.js";
48
48
  import {
49
49
  get4
50
- } from "./schema-1awa9fg3.js";
50
+ } from "./location-7xf9shm2.js";
51
51
  import {
52
52
  __export
53
- } from "./schema-9rqn6x4v.js";
53
+ } from "./location-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session4 = {};
57
57
  __export(exports_session4, {
58
58
  Session: () => exports_session4,
59
- make: () => make23
59
+ make: () => make24
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make23 = Effect.fn("Session.make")(function* () {
64
+ var make24 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service93;
66
66
  const database = yield* Service94;
67
67
  const store = yield* Service75;
68
- const instances = yield* Service36;
69
- const execution = yield* Service33;
70
- const admission = yield* Service35;
68
+ const instances = yield* Service57;
69
+ const execution = yield* Service54;
70
+ const admission = yield* Service56;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service57, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service57, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service93, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service93, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ ${error.message}`,
348
348
  return { forSession };
349
349
  });
350
350
 
351
- export { make23, exports_session4 };
351
+ export { make24, exports_session4 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./schema-z583g8kc.js";
4
+ } from "./location-pjmvzs6b.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./schema-ayevjdp6.js";
8
+ } from "./location-jdnvwwde.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./schema-pknna89w.js";
11
+ } from "./location-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./schema-m1714858.js";
14
+ } from "./location-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./schema-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
25
  ID: () => ID19,
26
26
  Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service88,
29
+ Service: () => Service86,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node90
32
+ node: () => node88
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -43,7 +43,7 @@ var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
45
45
  var Value2 = Credential.Value;
46
- var Event19 = Credential.Event;
46
+ var Event18 = Credential.Event;
47
47
  var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
48
48
 
49
49
  class Info28 extends Schema.Class("Credential.Info")({
@@ -54,9 +54,9 @@ class Info28 extends Schema.Class("Credential.Info")({
54
54
  }) {
55
55
  }
56
56
 
57
- class Service88 extends Context.Service()("@opencode/Credential") {
57
+ class Service86 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service88, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service86, Effect.gen(function* () {
60
60
  const db = (yield* Service94).db;
61
61
  const bus = yield* Service93;
62
62
  const flock = yield* EffectFlock.Service;
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service88.of({
96
+ const service = Service86.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
154
154
  type: credential.value.type,
155
155
  active: activated
156
156
  });
157
- yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
157
+ yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
158
158
  if (activated)
159
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
159
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
160
160
  return credential;
161
161
  }),
162
162
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
172
172
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
173
173
  if (integrationID) {
174
174
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
175
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
175
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
176
176
  }
177
177
  }),
178
178
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
197
197
  labelChanged: updates.label !== undefined && updates.label !== credential.label
198
198
  });
199
199
  if (updates.label !== undefined && updates.label !== credential.label)
200
- yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
200
+ yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
201
201
  }),
202
202
  remove: Effect.fn("Credential.remove")(function* (id) {
203
203
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
226
226
  ...removed.switched ? { replacementID: removed.credentialID } : {}
227
227
  });
228
228
  if (removed.integrationID)
229
- yield* bus.publish(Event19.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
229
+ yield* bus.publish(Event18.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
230
230
  if (removed.switched)
231
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
231
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
232
232
  })
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node90 = makeGlobalNode({ service: Service88, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node88 = makeGlobalNode({ service: Service86, layer, deps: [node96, node95, EffectFlock.node] });
237
237
 
238
- export { ID19, OAuth3, Key4, External2, Value2, Event19, expiring2, Info28, Service88, node90, exports_credential };
238
+ export { ID19, OAuth3, Key4, External2, Value2, Event18, expiring2, Info28, Service86, node88, exports_credential };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service81,
3
3
  node83
4
- } from "./schema-zded71tf.js";
4
+ } from "./location-zded71tf.js";
5
5
  import {
6
- Service90,
7
- node92
8
- } from "./schema-mkqrt9r1.js";
6
+ Service88,
7
+ node90
8
+ } from "./location-hb8jp00h.js";
9
9
  import {
10
10
  Service80,
11
11
  node82
12
- } from "./schema-7tf6362t.js";
12
+ } from "./location-pazav6xj.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./schema-7weczvnd.js";
16
+ } from "./location-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./schema-tvtps2q9.js";
19
+ } from "./location-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./schema-9rqn6x4v.js";
22
+ } from "./location-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service4,
28
+ Service: () => Service12,
29
29
  empty: () => empty2,
30
- layer: () => layer5,
31
- node: () => node6
30
+ layer: () => layer8,
31
+ node: () => node14
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,13 +36,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
41
+ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
42
42
  const config = yield* Service80;
43
43
  const watcher = yield* Service81;
44
44
  const fs = yield* FSUtil.Service;
45
- const location = yield* Service90;
45
+ const location = yield* Service88;
46
46
  const configuredChanges = yield* PubSub.unbounded();
47
47
  const watched = new Set;
48
48
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -61,7 +61,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service4.of({
64
+ return Service12.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node6 = makeLocationNode({
77
- service: Service4,
78
- layer: layer5,
79
- deps: [node82, FSUtil.node, node83, node92]
76
+ var node14 = makeLocationNode({
77
+ service: Service12,
78
+ layer: layer8,
79
+ deps: [node82, FSUtil.node, node83, node90]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service4,
83
- layer: Layer.succeed(Service4, Service4.of({
82
+ service: Service12,
83
+ layer: Layer.succeed(Service12, Service12.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service4, layer5, node6, empty2, exports_source };
141
+ export { Service12, layer8, node14, empty2, exports_source };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AGENT_OPTION2,
3
3
  INSTRUCTIONS_OPTION2
4
- } from "./schema-vmqe41cb.js";
4
+ } from "./location-kj9n5bvh.js";
5
5
  import {
6
6
  ID3
7
- } from "./schema-1wdt4fx4.js";
7
+ } from "./location-qjx3z6qm.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/instructions.ts
13
13
  var exports_instructions2 = {};
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service90,
8
- node92
9
- } from "./schema-mkqrt9r1.js";
7
+ Service88,
8
+ node90
9
+ } from "./location-hb8jp00h.js";
10
10
  import {
11
- Service40,
12
- node42
13
- } from "./schema-cd40mm2x.js";
11
+ Service52,
12
+ node54
13
+ } from "./location-cedjfvec.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content4,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event10,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service39,
33
+ NotFoundError: () => NotFoundError9,
34
+ Service: () => Service51,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node41
37
+ node: () => node53
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content4 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event7 = FileSystem.Event;
95
+ var Event10 = FileSystem.Event;
96
96
 
97
- class Service39 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service51 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service90;
102
- const search = yield* Service40;
101
+ const location = yield* Service88;
102
+ const search = yield* Service52;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service39.of({
121
+ return Service51.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError9({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node41 = makeLocationNode({
163
- service: Service39,
162
+ var node53 = makeLocationNode({
163
+ service: Service51,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node92, node42]
165
+ deps: [FSUtil.node, node90, node54]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service39, node41, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content4, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service51, node53, exports_filesystem, Entry2, Match2, Submatch2 };