@opencode/core 0.0.0-dev-21908 → 0.0.0-dev-21915

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 (824) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{location-lifecycle-qyq8h28g.js → event-logger-033a0jkt.js} +3 -3
  8. package/dist/chunks/{location-lifecycle-034tev2y.js → event-logger-034tev2y.js} +2 -2
  9. package/dist/chunks/{location-lifecycle-6zq7s0af.js → event-logger-061dfjk9.js} +11 -11
  10. package/dist/chunks/{location-lifecycle-3nmzsehc.js → event-logger-0eyqpy28.js} +29 -29
  11. package/dist/chunks/{location-lifecycle-j2rmyh1n.js → event-logger-0mg8kcn3.js} +43 -14
  12. package/dist/chunks/{location-lifecycle-d6j7cmfe.js → event-logger-0svvf4a3.js} +36 -36
  13. package/dist/chunks/{location-lifecycle-xf2yn8qh.js → event-logger-0xy3w4m6.js} +8 -8
  14. package/dist/chunks/{location-lifecycle-dc494qzb.js → event-logger-179sgv51.js} +27 -27
  15. package/dist/chunks/{location-lifecycle-k7mszyx5.js → event-logger-1db62psx.js} +36 -36
  16. package/dist/chunks/{location-lifecycle-1ep2p91f.js → event-logger-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{location-lifecycle-3qnkc5ty.js → event-logger-1fnhqpt4.js} +16 -16
  18. package/dist/chunks/{location-lifecycle-8d5qxm04.js → event-logger-1nsj622r.js} +14 -14
  19. package/dist/chunks/{location-lifecycle-ydpy656n.js → event-logger-1qjnrqep.js} +11 -11
  20. package/dist/chunks/{location-lifecycle-b1p62gvs.js → event-logger-1rjegszx.js} +4 -4
  21. package/dist/chunks/{location-lifecycle-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{location-lifecycle-ra34yqmw.js → event-logger-1z6t7raf.js} +6 -6
  23. package/dist/chunks/{location-lifecycle-204s3925.js → event-logger-204s3925.js} +1 -1
  24. package/dist/chunks/{location-lifecycle-gnk6vb74.js → event-logger-213mv4pq.js} +21 -21
  25. package/dist/chunks/{location-lifecycle-43c62mg5.js → event-logger-2dbq5t1r.js} +15 -15
  26. package/dist/chunks/{location-lifecycle-cdznd2n8.js → event-logger-2kc953ej.js} +21 -21
  27. package/dist/chunks/{location-lifecycle-eh5ddjcb.js → event-logger-2nf2vr7j.js} +18 -18
  28. package/dist/chunks/{location-lifecycle-21pdxbx2.js → event-logger-2yvtks3w.js} +3 -3
  29. package/dist/chunks/{location-lifecycle-2z1j29yd.js → event-logger-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{location-lifecycle-djjzzs3c.js → event-logger-30147ds3.js} +6 -6
  31. package/dist/chunks/{location-lifecycle-f1kgynkh.js → event-logger-331zmft7.js} +15 -15
  32. package/dist/chunks/{location-lifecycle-xp053dmv.js → event-logger-33j2zr63.js} +89 -89
  33. package/dist/chunks/{location-lifecycle-yj99x9f8.js → event-logger-3h86dkjt.js} +13 -13
  34. package/dist/chunks/{location-lifecycle-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{location-lifecycle-mydme2jh.js → event-logger-3jazymwx.js} +17 -17
  36. package/dist/chunks/{location-lifecycle-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
  37. package/dist/chunks/{location-lifecycle-9058a6p8.js → event-logger-408nx0y9.js} +40 -40
  38. package/dist/chunks/{location-lifecycle-r41sfy63.js → event-logger-40za9wsf.js} +6 -6
  39. package/dist/chunks/{location-lifecycle-vvy4n04y.js → event-logger-410zp742.js} +21 -21
  40. package/dist/chunks/{location-lifecycle-v66dz0c2.js → event-logger-43c01wrt.js} +19 -19
  41. package/dist/chunks/{location-lifecycle-crj7314x.js → event-logger-44552vd9.js} +12 -12
  42. package/dist/chunks/{location-lifecycle-efv53qt9.js → event-logger-4538h11c.js} +7 -7
  43. package/dist/chunks/{location-lifecycle-45056y1z.js → event-logger-4dtq8qg7.js} +58 -58
  44. package/dist/chunks/{location-lifecycle-xdh4e2a1.js → event-logger-4m87gk4h.js} +2 -2
  45. package/dist/chunks/event-logger-4my81qaj.js +18 -0
  46. package/dist/chunks/{location-lifecycle-1r9pq8px.js → event-logger-4pkf34m0.js} +77 -77
  47. package/dist/chunks/{location-lifecycle-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
  48. package/dist/chunks/{location-lifecycle-24j7j0yw.js → event-logger-4xa9359s.js} +9 -9
  49. package/dist/chunks/{location-lifecycle-4xvmh7wp.js → event-logger-4xvmh7wp.js} +3 -3
  50. package/dist/chunks/{location-lifecycle-8fmmq68j.js → event-logger-4zf9yj1j.js} +115 -35
  51. package/dist/chunks/{location-lifecycle-c0c5nhmx.js → event-logger-530cxj2z.js} +35 -35
  52. package/dist/chunks/{location-lifecycle-v52ev8jp.js → event-logger-57p1m9rz.js} +32 -32
  53. package/dist/chunks/{location-lifecycle-7xyg0zkz.js → event-logger-58fpqt79.js} +9 -9
  54. package/dist/chunks/{location-lifecycle-7m0xfmn5.js → event-logger-5cppamkc.js} +23 -23
  55. package/dist/chunks/{location-lifecycle-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{location-lifecycle-cqxf2v2j.js → event-logger-5r72z9dp.js} +8 -8
  57. package/dist/chunks/{location-lifecycle-6n5e5r47.js → event-logger-5rn25pwd.js} +18 -18
  58. package/dist/chunks/{location-lifecycle-g6x6yjtr.js → event-logger-5rt97jkw.js} +12 -12
  59. package/dist/chunks/{location-lifecycle-1yq9hg58.js → event-logger-5zrxpy3q.js} +5 -5
  60. package/dist/chunks/{location-lifecycle-2asws2s2.js → event-logger-618s5217.js} +14 -14
  61. package/dist/chunks/{location-lifecycle-hk18cedt.js → event-logger-68ms0fh2.js} +21 -21
  62. package/dist/chunks/{location-lifecycle-6esdw8yj.js → event-logger-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{location-lifecycle-da2kvbdp.js → event-logger-6nye8dts.js} +9 -9
  64. package/dist/chunks/{location-lifecycle-6pjqjmy2.js → event-logger-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{location-lifecycle-21np7pz1.js → event-logger-6szn2v48.js} +37 -37
  66. package/dist/chunks/{location-lifecycle-8wc2fpae.js → event-logger-6y263vp8.js} +5 -5
  67. package/dist/chunks/{location-lifecycle-xh54azxv.js → event-logger-6yv8zpps.js} +21 -13
  68. package/dist/chunks/{location-lifecycle-76cb1hcw.js → event-logger-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{location-lifecycle-cnezdtt3.js → event-logger-76szp9yy.js} +46 -46
  70. package/dist/chunks/{location-lifecycle-15phv1ny.js → event-logger-77s6zpp3.js} +29 -29
  71. package/dist/chunks/{location-lifecycle-tghw5mys.js → event-logger-78n4qc0z.js} +4 -4
  72. package/dist/chunks/{location-lifecycle-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{location-lifecycle-xxtgb6sa.js → event-logger-7che9vcx.js} +19 -19
  74. package/dist/chunks/event-logger-7q08zbzq.js +26 -0
  75. package/dist/chunks/{location-lifecycle-swp53ejc.js → event-logger-7vz8pb8x.js} +45 -45
  76. package/dist/chunks/{location-lifecycle-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{location-lifecycle-wsxpqbdm.js → event-logger-7ytgdqqc.js} +25 -25
  78. package/dist/chunks/{location-lifecycle-6kqqag5p.js → event-logger-83fr3fym.js} +16 -16
  79. package/dist/chunks/{location-lifecycle-44jn6qr4.js → event-logger-86g6sxng.js} +12 -12
  80. package/dist/chunks/{location-lifecycle-ndmv9r8h.js → event-logger-886bz3e9.js} +56 -30
  81. package/dist/chunks/{location-lifecycle-1e6ty7xe.js → event-logger-88a5ws0g.js} +22 -22
  82. package/dist/chunks/{location-lifecycle-583pkegd.js → event-logger-8aemar9r.js} +45 -45
  83. package/dist/chunks/{location-lifecycle-aqcs9gph.js → event-logger-8h2npe5w.js} +6 -6
  84. package/dist/chunks/{location-lifecycle-11hfp36g.js → event-logger-8jztxfpf.js} +4 -4
  85. package/dist/chunks/{location-lifecycle-z226nxt7.js → event-logger-8k8s1td8.js} +5 -5
  86. package/dist/chunks/{location-lifecycle-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
  87. package/dist/chunks/{location-lifecycle-91rj84md.js → event-logger-91rj84md.js} +1 -1
  88. package/dist/chunks/event-logger-99bhpp1n.js +517 -0
  89. package/dist/chunks/{location-lifecycle-qm8ewe7w.js → event-logger-9crppwnt.js} +13 -13
  90. package/dist/chunks/{location-lifecycle-9cx9sm2q.js → event-logger-9cx9sm2q.js} +1 -1
  91. package/dist/chunks/{location-lifecycle-s0588k8a.js → event-logger-9f7hjvpa.js} +18 -18
  92. package/dist/chunks/{location-lifecycle-jn88007r.js → event-logger-9r0x1bva.js} +9 -9
  93. package/dist/chunks/{location-lifecycle-bqrrerqn.js → event-logger-9rr00cqq.js} +32 -32
  94. package/dist/chunks/{location-lifecycle-2dx8ra8x.js → event-logger-9s0e97ng.js} +36 -36
  95. package/dist/chunks/{location-lifecycle-zgd8t41s.js → event-logger-9z9tayqc.js} +9 -9
  96. package/dist/chunks/{location-lifecycle-0d9p3c2x.js → event-logger-a32zpqad.js} +9 -9
  97. package/dist/chunks/{location-lifecycle-bdmysry5.js → event-logger-a52e4zaq.js} +5 -5
  98. package/dist/chunks/{location-lifecycle-3paewqb6.js → event-logger-a8sm5zt7.js} +11 -11
  99. package/dist/chunks/{location-lifecycle-53sxntf7.js → event-logger-akgtqb0c.js} +11 -11
  100. package/dist/chunks/{location-lifecycle-ayjs7tqn.js → event-logger-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{location-lifecycle-b0mv4wxm.js → event-logger-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{location-lifecycle-jvhc8y22.js → event-logger-b42k84jp.js} +22 -22
  103. package/dist/chunks/{location-lifecycle-5nnwax6m.js → event-logger-b6vsg801.js} +5 -5
  104. package/dist/chunks/{location-lifecycle-sg3bf8v2.js → event-logger-b8teqy6w.js} +5 -5
  105. package/dist/chunks/{location-lifecycle-t7myweak.js → event-logger-basczpv8.js} +14 -14
  106. package/dist/chunks/{location-lifecycle-h6vtwdne.js → event-logger-bf5n42xj.js} +11 -11
  107. package/dist/chunks/{location-lifecycle-xp2yp5n3.js → event-logger-bfbc4kpy.js} +7 -7
  108. package/dist/chunks/{location-lifecycle-028e5jg0.js → event-logger-bn6jkna4.js} +18 -18
  109. package/dist/chunks/{location-lifecycle-5snkchxy.js → event-logger-bqe25t1z.js} +5 -5
  110. package/dist/chunks/{location-lifecycle-jneg3k74.js → event-logger-brd5eeq0.js} +8 -8
  111. package/dist/chunks/{location-lifecycle-bm4gstpq.js → event-logger-bvn4drfw.js} +8 -8
  112. package/dist/chunks/{location-lifecycle-kshh01vy.js → event-logger-bw78fe9b.js} +10 -10
  113. package/dist/chunks/{location-lifecycle-y6dv563x.js → event-logger-bwsx8aca.js} +13 -13
  114. package/dist/chunks/{location-lifecycle-kydg8q3s.js → event-logger-c1df77m2.js} +18 -18
  115. package/dist/chunks/{location-lifecycle-2f4mgkkf.js → event-logger-c1gsg3g8.js} +5 -5
  116. package/dist/chunks/{location-lifecycle-6wbd4xnq.js → event-logger-c36nnf6h.js} +6 -6
  117. package/dist/chunks/{location-lifecycle-x5338emj.js → event-logger-c9pz1jz6.js} +5 -5
  118. package/dist/chunks/{location-lifecycle-mprgj00x.js → event-logger-cdgpjepk.js} +34 -34
  119. package/dist/chunks/event-logger-cfbx046s.js +257 -0
  120. package/dist/chunks/{location-lifecycle-dvke8c51.js → event-logger-ch94d7vp.js} +5 -5
  121. package/dist/chunks/{location-lifecycle-j03kz36w.js → event-logger-ck0tns3b.js} +38 -38
  122. package/dist/chunks/{location-lifecycle-c6x7d2ts.js → event-logger-cpvd08na.js} +4 -4
  123. package/dist/chunks/{location-lifecycle-s9gx43g4.js → event-logger-cqgy4j9b.js} +33 -33
  124. package/dist/chunks/{location-lifecycle-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{location-lifecycle-9b138bm1.js → event-logger-dj4zrkts.js} +4 -4
  126. package/dist/chunks/{location-lifecycle-dfwbs5ec.js → event-logger-dwcq4ckc.js} +12 -12
  127. package/dist/chunks/{location-lifecycle-7zab0ebj.js → event-logger-dynzjwsk.js} +1 -1
  128. package/dist/chunks/{location-lifecycle-4nc9a7xj.js → event-logger-dzd14etx.js} +21 -21
  129. package/dist/chunks/{location-lifecycle-gk8pf4x2.js → event-logger-e066yxsa.js} +32 -32
  130. package/dist/chunks/{location-lifecycle-kccrvse4.js → event-logger-e19z48h8.js} +11 -11
  131. package/dist/chunks/{location-lifecycle-w04hajkc.js → event-logger-e6bk7rc7.js} +8 -8
  132. package/dist/chunks/{location-lifecycle-e834z07m.js → event-logger-e834z07m.js} +1 -1
  133. package/dist/chunks/{location-lifecycle-ejnm2tv5.js → event-logger-ejnhfpwt.js} +35 -35
  134. package/dist/chunks/{location-lifecycle-e07q2w5p.js → event-logger-eky6j0x6.js} +9 -9
  135. package/dist/chunks/{location-lifecycle-qyaey30s.js → event-logger-ez16syfw.js} +9 -9
  136. package/dist/chunks/{location-lifecycle-kpexrj34.js → event-logger-f1bpp1ef.js} +25 -25
  137. package/dist/chunks/{location-lifecycle-54q26zph.js → event-logger-f1gxq19d.js} +1 -1
  138. package/dist/chunks/{location-lifecycle-wpqwsn6a.js → event-logger-f7aqmhgm.js} +11 -11
  139. package/dist/chunks/{location-lifecycle-dhepf5k1.js → event-logger-f9c14s45.js} +3 -3
  140. package/dist/chunks/{location-lifecycle-ty4d2nkd.js → event-logger-fa5mv2e8.js} +33 -33
  141. package/dist/chunks/{location-lifecycle-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{location-lifecycle-tj0d3mv0.js → event-logger-fh08m5h2.js} +4 -4
  143. package/dist/chunks/{location-lifecycle-gnxm9zvh.js → event-logger-fjg1f0qa.js} +28 -28
  144. package/dist/chunks/{location-lifecycle-n85rjewb.js → event-logger-frm2a0t2.js} +9 -9
  145. package/dist/chunks/{location-lifecycle-fznmdakp.js → event-logger-fznmdakp.js} +1 -1
  146. package/dist/chunks/{location-lifecycle-92twe937.js → event-logger-g179cxj4.js} +34 -34
  147. package/dist/chunks/{location-lifecycle-2f4dsyv8.js → event-logger-g1ac2pg3.js} +7 -7
  148. package/dist/chunks/{location-lifecycle-g5h9c0rr.js → event-logger-g5h9c0rr.js} +2 -2
  149. package/dist/chunks/{location-lifecycle-zgt5j0h2.js → event-logger-g6dfma3d.js} +2 -2
  150. package/dist/chunks/{location-lifecycle-p6y8kjpr.js → event-logger-ga597wxg.js} +22 -22
  151. package/dist/chunks/{location-lifecycle-gg8p9cgs.js → event-logger-gg8p9cgs.js} +3 -3
  152. package/dist/chunks/{location-lifecycle-wad6xj88.js → event-logger-gy4a15hj.js} +41 -41
  153. package/dist/chunks/{location-lifecycle-0m9q59s6.js → event-logger-h3b857xk.js} +4 -4
  154. package/dist/chunks/{location-lifecycle-t92s7142.js → event-logger-h9sxfnc4.js} +31 -31
  155. package/dist/chunks/{location-lifecycle-a0qbyar6.js → event-logger-hdfrs5mg.js} +5 -5
  156. package/dist/chunks/{location-lifecycle-4z1m5q35.js → event-logger-herh7hrd.js} +8 -8
  157. package/dist/chunks/{location-lifecycle-c4a8kt2y.js → event-logger-hgbyz31g.js} +24 -24
  158. package/dist/chunks/{location-lifecycle-56t9khd1.js → event-logger-hh6grysg.js} +4 -4
  159. package/dist/chunks/{location-lifecycle-y8hpptjh.js → event-logger-ht33fk1k.js} +12 -12
  160. package/dist/chunks/{location-lifecycle-p42wc6w5.js → event-logger-hwadrnp3.js} +11 -11
  161. package/dist/chunks/{location-lifecycle-2txhztxc.js → event-logger-hzqt23km.js} +41 -26
  162. package/dist/chunks/{location-lifecycle-j113cymg.js → event-logger-j113cymg.js} +1 -1
  163. package/dist/chunks/{location-lifecycle-ak3w6k6z.js → event-logger-j4danyaa.js} +4 -4
  164. package/dist/chunks/{location-lifecycle-d9z8hdxr.js → event-logger-j7e2k5v8.js} +41 -41
  165. package/dist/chunks/{location-lifecycle-ydkf0bj3.js → event-logger-jtk69epa.js} +31 -31
  166. package/dist/chunks/{location-lifecycle-hy6qt35j.js → event-logger-jv1fc1mx.js} +14 -14
  167. package/dist/chunks/{location-lifecycle-0ft0yr9w.js → event-logger-jxr5ks98.js} +6 -6
  168. package/dist/chunks/{location-lifecycle-1x0kbyy9.js → event-logger-jz593hnq.js} +14 -14
  169. package/dist/chunks/{location-lifecycle-k814nvkf.js → event-logger-k814nvkf.js} +1 -1
  170. package/dist/chunks/{location-lifecycle-8vbpf0m9.js → event-logger-k8ya5e1r.js} +25 -25
  171. package/dist/chunks/{location-lifecycle-g2bzhkzw.js → event-logger-kfvrqrnd.js} +21 -21
  172. package/dist/chunks/{location-lifecycle-ktnx6nfw.js → event-logger-khycn197.js} +9 -9
  173. package/dist/chunks/{location-lifecycle-7mfv9kz5.js → event-logger-kqdytwcc.js} +18 -18
  174. package/dist/chunks/{location-lifecycle-kt3bjfbg.js → event-logger-kt3bjfbg.js} +1 -1
  175. package/dist/chunks/{location-lifecycle-18fg54k7.js → event-logger-kv7q9t9v.js} +55 -55
  176. package/dist/chunks/{location-lifecycle-k90hg5nq.js → event-logger-m0b3df16.js} +18 -18
  177. package/dist/chunks/{location-lifecycle-m1714858.js → event-logger-m1714858.js} +1 -1
  178. package/dist/chunks/{location-lifecycle-djtsprq9.js → event-logger-m239h48j.js} +10 -10
  179. package/dist/chunks/{location-lifecycle-8y4jps98.js → event-logger-m37sd98t.js} +4 -4
  180. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{location-lifecycle-maspj1v3.js → event-logger-maspj1v3.js} +1 -1
  182. package/dist/chunks/{location-lifecycle-cynzgytk.js → event-logger-mby4m2vn.js} +11 -11
  183. package/dist/chunks/{location-lifecycle-7xx7sts6.js → event-logger-md82vg28.js} +25 -25
  184. package/dist/chunks/{location-lifecycle-krj48ye9.js → event-logger-mfp9msn1.js} +47 -47
  185. package/dist/chunks/{location-lifecycle-symkg8d2.js → event-logger-mptppmq7.js} +5 -5
  186. package/dist/chunks/{location-lifecycle-6cqcnmzq.js → event-logger-mq16y592.js} +3 -3
  187. package/dist/chunks/{location-lifecycle-70y17xeh.js → event-logger-mtrbqqrq.js} +5 -5
  188. package/dist/chunks/{location-lifecycle-39fa55hs.js → event-logger-mzrr2ceq.js} +27 -27
  189. package/dist/chunks/{location-lifecycle-vrcsa8qx.js → event-logger-n7bnkb3p.js} +9 -9
  190. package/dist/chunks/{location-lifecycle-nah043kf.js → event-logger-nah043kf.js} +1 -1
  191. package/dist/chunks/{location-lifecycle-4tk2v8fm.js → event-logger-nfht88f8.js} +40 -40
  192. package/dist/chunks/{location-lifecycle-sp01zcey.js → event-logger-nn2wptpk.js} +5 -5
  193. package/dist/chunks/{location-lifecycle-zb5gs1ba.js → event-logger-nvxqht09.js} +3 -3
  194. package/dist/chunks/{location-lifecycle-2rn5yfm1.js → event-logger-nz5t40nw.js} +13 -13
  195. package/dist/chunks/{location-lifecycle-p015t6z3.js → event-logger-p015t6z3.js} +2 -2
  196. package/dist/chunks/{location-lifecycle-bhdbhctw.js → event-logger-p2nmcv9d.js} +13 -13
  197. package/dist/chunks/{location-lifecycle-8e7tv7eg.js → event-logger-p3kn9h9d.js} +29 -29
  198. package/dist/chunks/{location-lifecycle-ztf6n3de.js → event-logger-p76me67c.js} +4 -4
  199. package/dist/chunks/{location-lifecycle-qamzk6x1.js → event-logger-pacbbjc0.js} +7 -7
  200. package/dist/chunks/{location-lifecycle-ze1jx3cz.js → event-logger-pap6y6k1.js} +193 -193
  201. package/dist/chunks/{location-lifecycle-k4px567t.js → event-logger-peyy5ms6.js} +24 -24
  202. package/dist/chunks/{location-lifecycle-bgetk685.js → event-logger-phatgdjg.js} +14 -14
  203. package/dist/chunks/{location-lifecycle-pknna89w.js → event-logger-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-lifecycle-fmwh225f.js → event-logger-pmbbezah.js} +22 -22
  205. package/dist/chunks/{location-lifecycle-1qqyp8g5.js → event-logger-pqzzv18e.js} +17 -17
  206. package/dist/chunks/{location-lifecycle-mm7a63e9.js → event-logger-prq7xxp2.js} +8 -8
  207. package/dist/chunks/{location-lifecycle-vx6ny987.js → event-logger-psvq06ac.js} +4 -4
  208. package/dist/chunks/{location-lifecycle-6c56xz8q.js → event-logger-pymyzg4j.js} +11 -11
  209. package/dist/chunks/{location-lifecycle-ad26sn84.js → event-logger-q05tgvb2.js} +1 -1
  210. package/dist/chunks/{location-lifecycle-d4safsx6.js → event-logger-q2vz9kat.js} +20 -20
  211. package/dist/chunks/{location-lifecycle-0kb0esn6.js → event-logger-q61wn67c.js} +12 -12
  212. package/dist/chunks/{location-lifecycle-98ps9a1j.js → event-logger-qa95shqj.js} +23 -23
  213. package/dist/chunks/{location-lifecycle-n4w1y350.js → event-logger-qa9tft3h.js} +120 -94
  214. package/dist/chunks/{location-lifecycle-ankhr68s.js → event-logger-qd1s09xq.js} +28 -28
  215. package/dist/chunks/{location-lifecycle-neny76qq.js → event-logger-qfjvy58c.js} +6 -6
  216. package/dist/chunks/{location-lifecycle-fmnt9ehj.js → event-logger-qg7vbzw0.js} +27 -27
  217. package/dist/chunks/{location-lifecycle-hrsrp69b.js → event-logger-qgehj1ry.js} +23 -23
  218. package/dist/chunks/{location-lifecycle-dt88w47r.js → event-logger-qnxr7c2a.js} +6 -6
  219. package/dist/chunks/{location-lifecycle-72j05hbq.js → event-logger-qwcg15xq.js} +2 -2
  220. package/dist/chunks/{location-lifecycle-r0yr0wbs.js → event-logger-r0yr0wbs.js} +1 -1
  221. package/dist/chunks/{location-lifecycle-r542h3bh.js → event-logger-r542h3bh.js} +1 -1
  222. package/dist/chunks/{location-lifecycle-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{location-lifecycle-5wj3x46p.js → event-logger-re1qaq4d.js} +15 -15
  224. package/dist/chunks/{location-lifecycle-9060xwwx.js → event-logger-rrd1tyyg.js} +5 -5
  225. package/dist/chunks/{location-lifecycle-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
  226. package/dist/chunks/{location-lifecycle-9x3s0wgq.js → event-logger-ryaxndx4.js} +37 -37
  227. package/dist/chunks/{location-lifecycle-61ennm6n.js → event-logger-s626qfae.js} +4 -4
  228. package/dist/chunks/{location-lifecycle-7x0pcwj8.js → event-logger-sa2m7fmb.js} +21 -21
  229. package/dist/chunks/{location-lifecycle-sa3fpqfw.js → event-logger-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{location-lifecycle-6fxgcwam.js → event-logger-sc7s3392.js} +15 -15
  231. package/dist/chunks/{location-lifecycle-x196pd4c.js → event-logger-sfe1x69m.js} +42 -42
  232. package/dist/chunks/{location-lifecycle-qc0wsmwq.js → event-logger-shd4apfp.js} +5 -5
  233. package/dist/chunks/{location-lifecycle-zw3278ky.js → event-logger-shdc20fs.js} +14 -14
  234. package/dist/chunks/{location-lifecycle-3mmzrpsj.js → event-logger-sjt0aqsb.js} +24 -24
  235. package/dist/chunks/{location-lifecycle-p6pw9whk.js → event-logger-sk0dcrgn.js} +1 -1
  236. package/dist/chunks/{location-lifecycle-35t0dhq3.js → event-logger-skpj3wch.js} +13 -13
  237. package/dist/chunks/{location-lifecycle-sqjzf8x2.js → event-logger-sqjzf8x2.js} +1 -1
  238. package/dist/chunks/{location-lifecycle-b1pn0vxn.js → event-logger-ssfehs1z.js} +4 -4
  239. package/dist/chunks/{location-lifecycle-041k09c0.js → event-logger-ssv8d6ry.js} +3 -3
  240. package/dist/chunks/{location-lifecycle-tegm2x1x.js → event-logger-st4dmjma.js} +50 -50
  241. package/dist/chunks/{location-lifecycle-0w2jttgf.js → event-logger-st7p3hwb.js} +2 -2
  242. package/dist/chunks/{location-lifecycle-5791fv37.js → event-logger-sy707q11.js} +11 -11
  243. package/dist/chunks/{location-lifecycle-vmwpcxrh.js → event-logger-syrbqdmj.js} +19 -19
  244. package/dist/chunks/{location-lifecycle-04pje3kj.js → event-logger-t5zwprfx.js} +32 -32
  245. package/dist/chunks/{location-lifecycle-13eaqaby.js → event-logger-t7z44kv1.js} +33 -33
  246. package/dist/chunks/{location-lifecycle-2gc4yf1d.js → event-logger-tbx1dsy3.js} +23 -23
  247. package/dist/chunks/{location-lifecycle-qzzfvzvj.js → event-logger-tcjkzhbf.js} +19 -19
  248. package/dist/chunks/{location-lifecycle-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{location-lifecycle-xmkr896k.js → event-logger-td0tf8cx.js} +11 -11
  250. package/dist/chunks/{location-lifecycle-t1g8akh6.js → event-logger-tdjd85a2.js} +34 -34
  251. package/dist/chunks/{location-lifecycle-ydsespw1.js → event-logger-tg1vr1qt.js} +8 -8
  252. package/dist/chunks/{location-lifecycle-c7c2803h.js → event-logger-ts1a0z93.js} +21 -21
  253. package/dist/chunks/{location-lifecycle-twv2r8f4.js → event-logger-twv2r8f4.js} +2 -2
  254. package/dist/chunks/{location-lifecycle-mre43e2x.js → event-logger-tyred3qc.js} +18 -18
  255. package/dist/chunks/{location-lifecycle-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{location-lifecycle-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  257. package/dist/chunks/{location-lifecycle-a1rqxjpc.js → event-logger-vhwcqbf2.js} +19 -19
  258. package/dist/chunks/{location-lifecycle-4f3z0smc.js → event-logger-vkhmt3za.js} +32 -32
  259. package/dist/chunks/{location-lifecycle-j40t6js0.js → event-logger-vpbqyf0k.js} +22 -22
  260. package/dist/chunks/{location-lifecycle-qssmn7t2.js → event-logger-vqrx5bk3.js} +8 -8
  261. package/dist/chunks/{location-lifecycle-bdqn9720.js → event-logger-vx7ymf2n.js} +30 -30
  262. package/dist/chunks/{location-lifecycle-hjnjc3ts.js → event-logger-vxxaf4jx.js} +8 -8
  263. package/dist/chunks/{location-lifecycle-b60yey21.js → event-logger-vz52s56h.js} +54 -54
  264. package/dist/chunks/{location-lifecycle-fr8djkxe.js → event-logger-w0cs00f7.js} +18 -18
  265. package/dist/chunks/{location-lifecycle-bj67wmp5.js → event-logger-w2b5jz6s.js} +3 -3
  266. package/dist/chunks/{location-lifecycle-2kg89srt.js → event-logger-w35wzz9x.js} +4 -4
  267. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{location-lifecycle-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
  269. package/dist/chunks/{location-lifecycle-wd87259q.js → event-logger-wd87259q.js} +1 -1
  270. package/dist/chunks/{location-lifecycle-39xamrjb.js → event-logger-wvngvz36.js} +17 -17
  271. package/dist/chunks/{location-lifecycle-n510q2e5.js → event-logger-wyqjen5s.js} +11 -11
  272. package/dist/chunks/{location-lifecycle-jz86pzzm.js → event-logger-wzp5edw8.js} +8 -8
  273. package/dist/chunks/{location-lifecycle-tffwexhc.js → event-logger-x0hhhwgh.js} +35 -35
  274. package/dist/chunks/{location-lifecycle-a4tsa7r1.js → event-logger-x0z7d0h1.js} +23 -23
  275. package/dist/chunks/{location-lifecycle-vnkxp1ve.js → event-logger-x57zhnt4.js} +50 -50
  276. package/dist/chunks/{location-lifecycle-anfccx7e.js → event-logger-x98cm754.js} +18 -18
  277. package/dist/chunks/{location-lifecycle-vkj83s5t.js → event-logger-xczbbc2n.js} +13 -13
  278. package/dist/chunks/{location-lifecycle-bstexjd6.js → event-logger-xd9cc171.js} +5 -5
  279. package/dist/chunks/{location-lifecycle-6dxg04eh.js → event-logger-xm0409en.js} +6 -6
  280. package/dist/chunks/{location-lifecycle-943sj690.js → event-logger-xxadresr.js} +22 -22
  281. package/dist/chunks/{location-lifecycle-wns4vpfp.js → event-logger-xzk44jme.js} +27 -27
  282. package/dist/chunks/{location-lifecycle-yara3q77.js → event-logger-yara3q77.js} +2 -2
  283. package/dist/chunks/{location-lifecycle-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
  284. package/dist/chunks/{location-lifecycle-rdr92g8z.js → event-logger-ygbhaca5.js} +14 -14
  285. package/dist/chunks/{location-lifecycle-q3j43vdg.js → event-logger-yyt2djfr.js} +12 -12
  286. package/dist/chunks/{location-lifecycle-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{location-lifecycle-z38nccrw.js → event-logger-z38nccrw.js} +1 -1
  288. package/dist/chunks/{location-lifecycle-7fktg098.js → event-logger-z8rfms9g.js} +12 -12
  289. package/dist/chunks/{location-lifecycle-zkg84ctx.js → event-logger-zkg84ctx.js} +1 -1
  290. package/dist/chunks/{location-lifecycle-qedxx4df.js → event-logger-zmwdvt2x.js} +11 -11
  291. package/dist/chunks/{location-lifecycle-3svk3m7v.js → event-logger-zq9gq21d.js} +11 -11
  292. package/dist/chunks/{location-lifecycle-2bb3sknj.js → event-logger-zt0grhjq.js} +36 -36
  293. package/dist/chunks/{location-lifecycle-1hh3w1a4.js → event-logger-zt1y2eyh.js} +15 -15
  294. package/dist/chunks/{location-lifecycle-kkms64sw.js → event-logger-zxhnf3hq.js} +6 -6
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +89 -89
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +7 -7
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +121 -121
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +123 -123
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +126 -126
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +91 -91
  332. package/dist/database/database.js +78 -78
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +98 -98
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +3 -3
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +1 -1
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +140 -140
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +234 -234
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +110 -110
  443. package/dist/form.js +90 -90
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +113 -113
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -99
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon.js +2 -2
  468. package/dist/image.js +6 -6
  469. package/dist/instance/service.js +5 -5
  470. package/dist/instance.js +372 -372
  471. package/dist/instruction-discovery.js +92 -92
  472. package/dist/instructions/builtins.js +95 -95
  473. package/dist/instructions/index.js +5 -5
  474. package/dist/integration/connection.js +3 -3
  475. package/dist/integration.js +95 -95
  476. package/dist/job.js +82 -82
  477. package/dist/kv/sql.js +2 -2
  478. package/dist/kv.js +79 -79
  479. package/dist/location-activity.js +166 -166
  480. package/dist/location-lifecycle.js +142 -142
  481. package/dist/location-service-map.js +94 -94
  482. package/dist/location-services.js +369 -369
  483. package/dist/location.js +93 -93
  484. package/dist/managed-policy.js +9 -9
  485. package/dist/mcp/client.js +99 -99
  486. package/dist/mcp/index.js +117 -117
  487. package/dist/mcp/instructions.js +168 -168
  488. package/dist/mcp/oauth.js +84 -84
  489. package/dist/mcp/socket-client.js +1 -1
  490. package/dist/mcp/stdio.js +98 -98
  491. package/dist/mime.js +1 -1
  492. package/dist/modal/models.js +99 -99
  493. package/dist/model-resolver.js +107 -107
  494. package/dist/model-retry.js +1 -1
  495. package/dist/model.js +110 -110
  496. package/dist/models-dev.js +111 -111
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +84 -84
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +141 -141
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +94 -94
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +342 -342
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +104 -104
  515. package/dist/plugin/module.js +121 -121
  516. package/dist/plugin/optimize.js +2 -2
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/cohere.js +2 -2
  526. package/dist/plugin/provider/configured.js +117 -117
  527. package/dist/plugin/provider/databricks.js +1 -1
  528. package/dist/plugin/provider/digitalocean.js +101 -101
  529. package/dist/plugin/provider/dynamic.js +2 -2
  530. package/dist/plugin/provider/factory.js +1 -1
  531. package/dist/plugin/provider/github-copilot.js +103 -103
  532. package/dist/plugin/provider/gitlab.js +101 -101
  533. package/dist/plugin/provider/google-vertex.js +118 -118
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +84 -84
  536. package/dist/plugin/provider/lmstudio.js +130 -130
  537. package/dist/plugin/provider/local.js +127 -127
  538. package/dist/plugin/provider/modal.js +100 -100
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +128 -128
  542. package/dist/plugin/provider/openai-context-caps.js +98 -98
  543. package/dist/plugin/provider/openai.js +121 -121
  544. package/dist/plugin/provider/opencode-legacy.js +106 -106
  545. package/dist/plugin/provider/opencode.js +127 -127
  546. package/dist/plugin/provider/openrouter.js +99 -99
  547. package/dist/plugin/provider/perplexity.js +2 -2
  548. package/dist/plugin/provider/poe.js +85 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +99 -99
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  553. package/dist/plugin/provider/vercel.js +98 -98
  554. package/dist/plugin/provider/vllm.js +128 -128
  555. package/dist/plugin/provider/xai.js +99 -99
  556. package/dist/plugin/provider/zenmux.js +1 -1
  557. package/dist/plugin/provider.js +178 -178
  558. package/dist/plugin/sdk.js +80 -80
  559. package/dist/plugin/service.js +3 -3
  560. package/dist/plugin/skill.js +141 -141
  561. package/dist/plugin/source-directory.js +1 -1
  562. package/dist/plugin/supervisor.js +359 -359
  563. package/dist/plugin/tool-input-repair.js +4 -4
  564. package/dist/plugin/update.js +6 -6
  565. package/dist/plugin/vcs/git.js +94 -94
  566. package/dist/plugin/vcs/hg.js +94 -94
  567. package/dist/plugin/verbosity.js +101 -101
  568. package/dist/plugin/warming.js +119 -119
  569. package/dist/plugin/websearch/exa.js +7 -7
  570. package/dist/plugin/websearch/firecrawl.js +8 -8
  571. package/dist/plugin/websearch/index.js +9 -9
  572. package/dist/plugin/websearch/mcp.js +4 -4
  573. package/dist/plugin/websearch/parallel.js +6 -6
  574. package/dist/plugin/websearch/tavily.js +6 -6
  575. package/dist/plugin/websearch/tinyfish.js +8 -8
  576. package/dist/plugin.js +232 -232
  577. package/dist/project/icon.js +5 -5
  578. package/dist/project/schema.js +4 -4
  579. package/dist/project/sql.js +4 -4
  580. package/dist/project.js +92 -92
  581. package/dist/provider.js +107 -107
  582. package/dist/pty/protocol.js +1 -1
  583. package/dist/pty/ticket.js +1 -1
  584. package/dist/pty.js +106 -106
  585. package/dist/reference/instructions.js +96 -96
  586. package/dist/reference.js +96 -96
  587. package/dist/repository-cache.js +88 -88
  588. package/dist/repository.js +3 -3
  589. package/dist/ripgrep/binary.js +2 -2
  590. package/dist/ripgrep.js +105 -105
  591. package/dist/rpc.js +94 -94
  592. package/dist/schema.js +1 -1
  593. package/dist/session/affinity.js +1 -1
  594. package/dist/session/blob.js +132 -120
  595. package/dist/session/command.js +80 -80
  596. package/dist/session/compaction.js +164 -164
  597. package/dist/session/context.js +188 -188
  598. package/dist/session/diff.js +96 -96
  599. package/dist/session/environment.js +5 -5
  600. package/dist/session/error.js +3 -3
  601. package/dist/session/event.js +1 -1
  602. package/dist/session/execution/restart.js +231 -231
  603. package/dist/session/execution.js +154 -154
  604. package/dist/session/generate.js +190 -190
  605. package/dist/session/history.js +129 -127
  606. package/dist/session/inbox.js +146 -138
  607. package/dist/session/info.js +3 -3
  608. package/dist/session/instruction-entry.js +85 -85
  609. package/dist/session/instruction-state.js +8 -8
  610. package/dist/session/instructions.js +134 -134
  611. package/dist/session/message-updater.js +4 -4
  612. package/dist/session/message.js +1 -1
  613. package/dist/session/model-request.js +155 -155
  614. package/dist/session/model-transport.js +9 -9
  615. package/dist/session/move.js +156 -156
  616. package/dist/session/projector.js +134 -134
  617. package/dist/session/prompt.js +140 -140
  618. package/dist/session/recent-text.js +1 -1
  619. package/dist/session/revert.js +130 -130
  620. package/dist/session/run-coordinator.js +3 -3
  621. package/dist/session/runner/index.js +3 -3
  622. package/dist/session/runner/llm.js +238 -238
  623. package/dist/session/runner/max-steps.js +1 -1
  624. package/dist/session/runner/model.js +108 -108
  625. package/dist/session/runner/publish-llm-event.js +141 -141
  626. package/dist/session/runner/retry.js +5 -5
  627. package/dist/session/runner/step.js +154 -154
  628. package/dist/session/runner/to-llm-message.js +128 -128
  629. package/dist/session/schema.js +5 -5
  630. package/dist/session/session.js +172 -172
  631. package/dist/session/shell.js +135 -135
  632. package/dist/session/skill.js +139 -139
  633. package/dist/session/sql.js +5 -5
  634. package/dist/session/stats.js +81 -81
  635. package/dist/session/store.js +133 -133
  636. package/dist/session/stored.js +4 -4
  637. package/dist/session/subagent-completion.js +1 -1
  638. package/dist/session/subagent-job.js +219 -219
  639. package/dist/session/system-prompt.js +3 -3
  640. package/dist/session/title.js +192 -192
  641. package/dist/session/to-session-error.js +140 -140
  642. package/dist/session/transfer.js +230 -230
  643. package/dist/session/usage.js +1 -1
  644. package/dist/session.js +221 -221
  645. package/dist/shell/parse.js +6 -6
  646. package/dist/shell/result.js +1 -1
  647. package/dist/shell/scan.js +1 -1
  648. package/dist/shell/select.js +13 -13
  649. package/dist/shell.js +137 -137
  650. package/dist/skill/discovery.js +6 -6
  651. package/dist/skill/instructions.js +143 -143
  652. package/dist/skill.js +146 -146
  653. package/dist/snapshot.js +101 -101
  654. package/dist/state.js +1 -1
  655. package/dist/tool/html-markdown.js +1 -1
  656. package/dist/tool/http-body.js +1 -1
  657. package/dist/tool/mcp.js +165 -165
  658. package/dist/tool/plugin/edit.js +156 -156
  659. package/dist/tool/plugin/file-diff.js +1 -1
  660. package/dist/tool/plugin/glob.js +158 -158
  661. package/dist/tool/plugin/grep.js +160 -160
  662. package/dist/tool/plugin/mcp-resource.js +154 -154
  663. package/dist/tool/plugin/opencode.js +145 -145
  664. package/dist/tool/plugin/patch.js +158 -158
  665. package/dist/tool/plugin/question.js +136 -136
  666. package/dist/tool/plugin/read.js +161 -161
  667. package/dist/tool/plugin/shell.js +224 -224
  668. package/dist/tool/plugin/skill.js +149 -149
  669. package/dist/tool/plugin/subagent.js +224 -224
  670. package/dist/tool/plugin/todo.js +145 -145
  671. package/dist/tool/plugin/webfetch.js +147 -147
  672. package/dist/tool/plugin/websearch.js +147 -147
  673. package/dist/tool/plugin/write.js +156 -156
  674. package/dist/tool/read-filesystem.js +110 -110
  675. package/dist/tool/runtime.js +1 -1
  676. package/dist/tool-output.js +7 -7
  677. package/dist/tool.js +14 -14
  678. package/dist/types/session/blob.d.ts +929 -0
  679. package/dist/types/session/history.d.ts +853 -0
  680. package/dist/types/session/inbox.d.ts +114 -2
  681. package/dist/types/session/prompt.d.ts +2 -1
  682. package/dist/types/session/store.d.ts +7 -0
  683. package/dist/types/session/stored.d.ts +2 -2
  684. package/dist/types/session.d.ts +9 -0
  685. package/dist/usage-limits.js +93 -93
  686. package/dist/util/error-summary.js +1 -1
  687. package/dist/util/git-executable.js +3 -3
  688. package/dist/util/lazy.js +1 -1
  689. package/dist/util/slug.js +1 -1
  690. package/dist/util/token.js +1 -1
  691. package/dist/util/which.js +1 -1
  692. package/dist/util/wildcard.js +1 -1
  693. package/dist/v1/config/agent.js +5 -5
  694. package/dist/v1/config/command.js +3 -3
  695. package/dist/v1/config/mcp.js +6 -6
  696. package/dist/v1/config/migrate.js +100 -100
  697. package/dist/v1/config/permission.js +3 -3
  698. package/dist/v1/config/plugin.js +3 -3
  699. package/dist/v1/config/provider-options.js +1 -1
  700. package/dist/v1/config/provider.js +4 -4
  701. package/dist/variant.js +99 -99
  702. package/dist/vcs/patch.js +1 -1
  703. package/dist/vcs.js +97 -97
  704. package/dist/voice.js +92 -92
  705. package/dist/websearch.js +88 -88
  706. package/dist/wellknown/plugin.js +82 -82
  707. package/dist/wellknown.js +87 -87
  708. package/dist/workspace/driver.js +5 -5
  709. package/dist/workspace/sql.js +1 -1
  710. package/dist/workspace.js +88 -88
  711. package/dist/worktree/directory.js +2 -2
  712. package/dist/worktree/git.js +11 -11
  713. package/dist/worktree/sql.js +5 -5
  714. package/dist/worktree/strategies.js +97 -97
  715. package/dist/worktree.js +108 -108
  716. package/package.json +9 -9
  717. package/dist/chunks/location-lifecycle-5g0d07fr.js +0 -26
  718. package/dist/chunks/location-lifecycle-73fwqkva.js +0 -517
  719. package/dist/chunks/location-lifecycle-7yv5xa0k.js +0 -18
  720. package/dist/chunks/location-lifecycle-bv8yd5sr.js +0 -257
  721. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{location-lifecycle-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  726. /package/dist/chunks/{location-lifecycle-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  727. /package/dist/chunks/{location-lifecycle-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
  728. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  729. /package/dist/chunks/{location-lifecycle-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  730. /package/dist/chunks/{location-lifecycle-3asan66x.js → event-logger-3asan66x.js} +0 -0
  731. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  732. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  733. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  734. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  735. /package/dist/chunks/{location-lifecycle-4m86bj6y.js → event-logger-4m86bj6y.js} +0 -0
  736. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  737. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  738. /package/dist/chunks/{location-lifecycle-53557ph1.js → event-logger-53557ph1.js} +0 -0
  739. /package/dist/chunks/{location-lifecycle-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  740. /package/dist/chunks/{location-lifecycle-5fjb7ams.js → event-logger-5fjb7ams.js} +0 -0
  741. /package/dist/chunks/{location-lifecycle-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
  742. /package/dist/chunks/{location-lifecycle-6prwharc.js → event-logger-6prwharc.js} +0 -0
  743. /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{location-lifecycle-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{location-lifecycle-822emrt2.js → event-logger-822emrt2.js} +0 -0
  747. /package/dist/chunks/{location-lifecycle-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{location-lifecycle-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{location-lifecycle-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{location-lifecycle-a058387c.js → event-logger-a058387c.js} +0 -0
  754. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{location-lifecycle-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{location-lifecycle-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  760. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  761. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  762. /package/dist/chunks/{location-lifecycle-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
  763. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  764. /package/dist/chunks/{location-lifecycle-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  765. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  766. /package/dist/chunks/{location-lifecycle-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  767. /package/dist/chunks/{location-lifecycle-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  768. /package/dist/chunks/{location-lifecycle-df08tz66.js → event-logger-df08tz66.js} +0 -0
  769. /package/dist/chunks/{location-lifecycle-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  770. /package/dist/chunks/{location-lifecycle-e3qxr5gk.js → event-logger-e3qxr5gk.js} +0 -0
  771. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{location-lifecycle-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{location-lifecycle-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{location-lifecycle-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{location-lifecycle-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
  781. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  782. /package/dist/chunks/{location-lifecycle-g86h250q.js → event-logger-g86h250q.js} +0 -0
  783. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  784. /package/dist/chunks/{location-lifecycle-gftt206x.js → event-logger-gftt206x.js} +0 -0
  785. /package/dist/chunks/{location-lifecycle-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
  786. /package/dist/chunks/{location-lifecycle-hk9envan.js → event-logger-hk9envan.js} +0 -0
  787. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  788. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  789. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  790. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  791. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  792. /package/dist/chunks/{location-lifecycle-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
  793. /package/dist/chunks/{location-lifecycle-jze0r7bz.js → event-logger-jze0r7bz.js} +0 -0
  794. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  795. /package/dist/chunks/{location-lifecycle-m18g726c.js → event-logger-m18g726c.js} +0 -0
  796. /package/dist/chunks/{location-lifecycle-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  797. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  798. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  799. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  800. /package/dist/chunks/{location-lifecycle-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  801. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  802. /package/dist/chunks/{location-lifecycle-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  803. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  804. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  805. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  806. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  807. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  808. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  809. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  810. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  811. /package/dist/chunks/{location-lifecycle-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
  812. /package/dist/chunks/{location-lifecycle-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  813. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  814. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  815. /package/dist/chunks/{location-lifecycle-wjj7prxr.js → event-logger-wjj7prxr.js} +0 -0
  816. /package/dist/chunks/{location-lifecycle-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  817. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  818. /package/dist/chunks/{location-lifecycle-x61499pn.js → event-logger-x61499pn.js} +0 -0
  819. /package/dist/chunks/{location-lifecycle-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  820. /package/dist/chunks/{location-lifecycle-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  821. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  822. /package/dist/chunks/{location-lifecycle-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  823. /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  824. /package/dist/chunks/{location-lifecycle-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
- import {
2
- Service87,
3
- node91
4
- } from "./location-lifecycle-y6dv563x.js";
5
1
  import {
6
2
  Service86,
7
3
  node90
8
- } from "./location-lifecycle-6kqqag5p.js";
4
+ } from "./event-logger-bwsx8aca.js";
5
+ import {
6
+ Service85,
7
+ node89
8
+ } from "./event-logger-83fr3fym.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-lifecycle-pknna89w.js";
11
+ } from "./event-logger-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-lifecycle-m1714858.js";
14
+ } from "./event-logger-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./location-lifecycle-9rqn6x4v.js";
17
+ } from "./event-logger-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: () => Event17,
23
+ Event: () => Event15,
24
24
  External: () => External2,
25
- ID: () => ID15,
26
- Info: () => Info26,
27
- Key: () => Key4,
25
+ ID: () => ID13,
26
+ Info: () => Info23,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service76,
29
+ Service: () => Service67,
30
30
  Value: () => Value2,
31
- node: () => node80
31
+ node: () => node70
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID15 = Credential.ID;
39
+ var ID13 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
- var Key4 = Credential.Key;
41
+ var Key3 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event17 = Credential.Event;
44
+ var Event15 = Credential.Event;
45
45
 
46
- class Info26 extends Schema.Class("Credential.Info")({
47
- id: ID15,
46
+ class Info23 extends Schema.Class("Credential.Info")({
47
+ id: ID13,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service76 extends Context.Service()("@opencode/Credential") {
54
+ class Service67 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service76, Effect.gen(function* () {
57
- const db = (yield* Service87).db;
58
- const bus = yield* Service86;
56
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
57
+ const db = (yield* Service86).db;
58
+ const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info26({
63
+ return new Info23({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service76.of({
74
+ return Service67.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info26({
83
- id: input.id ?? ID15.create(),
82
+ const credential = new Info23({
83
+ id: input.id ?? ID13.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event17.Updated, {}, { global: true });
114
+ yield* bus.publish(Event15.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event17.Updated, {}, { global: true });
168
+ yield* bus.publish(Event15.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event17.Updated, {}, { global: true });
201
+ yield* bus.publish(Event15.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node91, node90] });
207
+ var node70 = makeGlobalNode({ service: Service67, layer, deps: [node90, node89] });
208
208
 
209
- export { ID15, OAuth3, Key4, External2, Value2, Event17, Info26, Service76, node80, exports_credential };
209
+ export { ID13, OAuth3, Key3, External2, Value2, Event15, Info23, Service67, node70, exports_credential };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service81
3
- } from "./location-lifecycle-1x0kbyy9.js";
2
+ Service82
3
+ } from "./event-logger-jz593hnq.js";
4
4
  import {
5
- Service69
6
- } from "./location-lifecycle-c4a8kt2y.js";
5
+ Service79
6
+ } from "./event-logger-hgbyz31g.js";
7
7
  import {
8
- Service23,
8
+ Service78,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-lifecycle-35t0dhq3.js";
11
+ } from "./event-logger-skpj3wch.js";
12
12
  import {
13
- Service22
14
- } from "./location-lifecycle-5wj3x46p.js";
13
+ Service13
14
+ } from "./event-logger-re1qaq4d.js";
15
15
  import {
16
- Service59
17
- } from "./location-lifecycle-j03kz36w.js";
16
+ Service55
17
+ } from "./event-logger-ck0tns3b.js";
18
18
  import {
19
- Service17,
19
+ Service42,
20
20
  resolvePath2
21
- } from "./location-lifecycle-fr8djkxe.js";
21
+ } from "./event-logger-w0cs00f7.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-lifecycle-6prwharc.js";
24
+ } from "./event-logger-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-lifecycle-9rqn6x4v.js";
27
+ } from "./event-logger-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input13,
34
- Output: () => Output9,
35
- Plugin: () => Plugin16,
36
- name: () => name13
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin36,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name13 = "edit";
43
- var Input13 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input13 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output9 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin16 = {
193
+ var Plugin36 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service17;
197
- const fileMutation = yield* Service23;
198
- const environment = yield* Service69;
199
- const formatter = yield* Service22;
200
- const location = yield* Service81;
201
- const permission = yield* Service59;
196
+ const access = yield* Service42;
197
+ const fileMutation = yield* Service78;
198
+ const environment = yield* Service79;
199
+ const formatter = yield* Service13;
200
+ const location = yield* Service82;
201
+ const permission = yield* Service55;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name13,
203
+ name: name2,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input13,
207
- output: Output9,
206
+ input: Input2,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin16 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name13, Input13, Output9, Plugin16, exports_edit };
279
+ export { name2, Input2, Output2, Plugin36, exports_edit };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service46
3
- } from "./location-lifecycle-ra34yqmw.js";
2
+ Service51
3
+ } from "./event-logger-1z6t7raf.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-lifecycle-7yv5xa0k.js";
6
+ } from "./event-logger-4my81qaj.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./location-lifecycle-21pdxbx2.js";
9
+ } from "./event-logger-2yvtks3w.js";
10
10
  import {
11
- Service40
12
- } from "./location-lifecycle-7xx7sts6.js";
11
+ Service35
12
+ } from "./event-logger-md82vg28.js";
13
13
  import {
14
14
  __export
15
- } from "./location-lifecycle-9rqn6x4v.js";
15
+ } from "./event-logger-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service46;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
25
+ const instances = yield* Service51;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-lifecycle-z5v4ffb3.js";
3
+ } from "./event-logger-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./location-lifecycle-44jn6qr4.js";
5
+ Service84,
6
+ node88
7
+ } from "./event-logger-86g6sxng.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./location-lifecycle-bstexjd6.js";
13
+ } from "./event-logger-xd9cc171.js";
14
14
  import {
15
- Service85,
16
- node89
17
- } from "./location-lifecycle-qm8ewe7w.js";
15
+ Service71,
16
+ node74
17
+ } from "./event-logger-9crppwnt.js";
18
18
  import {
19
19
  __export
20
- } from "./location-lifecycle-9rqn6x4v.js";
20
+ } from "./event-logger-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service65,
33
+ Service: () => Service39,
34
34
  isError: () => isError2,
35
- node: () => node68,
35
+ node: () => node43,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service65 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service39 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,27 +101,27 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service65, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service83;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service85;
110
- return Service65.of({
109
+ const kv = yield* Service71;
110
+ return Service39.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
124
- const originReference = origin ? parse4(origin) : undefined;
124
+ const originReference = origin ? parse5(origin) : undefined;
125
125
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
126
126
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
127
127
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
169
169
  })
170
170
  });
171
171
  }));
172
- var node68 = makeGlobalNode({
173
- service: Service65,
172
+ var node43 = makeGlobalNode({
173
+ service: Service39,
174
174
  layer,
175
- deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node89]
175
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node74]
176
176
  });
177
177
  function errorMessage(error) {
178
178
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
181
181
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
182
182
  }
183
183
 
184
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service65, isError2, validateBranch2, node68, exports_repository_cache };
184
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service39, isError2, validateBranch2, node43, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./location-lifecycle-6q2bdcd1.js";
3
+ } from "./event-logger-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./location-lifecycle-r41sfy63.js";
3
+ } from "./event-logger-40za9wsf.js";
4
4
  import {
5
5
  __export
6
- } from "./location-lifecycle-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin22,
11
+ Plugin: () => Plugin7,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin22 = define({
30
+ var Plugin7 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin22 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin22, exports_exa };
83
+ export { endpoint5, Plugin7, exports_exa };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./location-lifecycle-6kqqag5p.js";
2
+ Service85,
3
+ node89
4
+ } from "./event-logger-83fr3fym.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-lifecycle-z5v4ffb3.js";
8
+ } from "./event-logger-z5v4ffb3.js";
9
9
  import {
10
10
  Ref5,
11
- Service81,
12
- node85
13
- } from "./location-lifecycle-1x0kbyy9.js";
11
+ Service82,
12
+ node86
13
+ } from "./event-logger-jz593hnq.js";
14
14
  import {
15
15
  __export
16
- } from "./location-lifecycle-9rqn6x4v.js";
16
+ } from "./event-logger-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service80,
22
+ Service: () => Service81,
23
23
  define: () => define2,
24
- node: () => node84
24
+ node: () => node85
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service80 extends Context.Service()("@opencode/Rpc") {
30
+ class Service81 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service80, Effect.gen(function* () {
43
- const bus = yield* Service86;
44
- const location = yield* Service81;
42
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
43
+ const bus = yield* Service85;
44
+ const location = yield* Service82;
45
45
  const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service81, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service80.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service81.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node84 = makeLocationNode({ service: Service80, layer, deps: [node90, node85] });
128
+ var node85 = makeLocationNode({ service: Service81, layer, deps: [node89, node86] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service80, node84, exports_rpc, define2 };
213
+ export { Service81, node85, exports_rpc, define2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID11,
3
3
  mergeOverlay2
4
- } from "./location-lifecycle-13eaqaby.js";
4
+ } from "./event-logger-t7z44kv1.js";
5
5
  import {
6
- ID12,
6
+ ID10,
7
7
  VariantID2,
8
- Info22,
8
+ Info19,
9
9
  compatibility2
10
- } from "./location-lifecycle-9x3s0wgq.js";
10
+ } from "./event-logger-ryaxndx4.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./event-logger-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -22,7 +22,7 @@ __export(exports_models, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info22.make({
98
- ...Info22.default(providerID, id),
97
+ return Info19.make({
98
+ ...Info19.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options6,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options6, Spec2, exports_plugin3 };