@opencode/core 0.0.0-dev-21823 → 0.0.0-dev-21827

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{filesystem-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
  8. package/dist/chunks/{filesystem-neftya4w.js → location-lifecycle-06ezgrzy.js} +6 -6
  9. package/dist/chunks/{filesystem-5ae85xy6.js → location-lifecycle-09r18skv.js} +28 -28
  10. package/dist/chunks/{filesystem-y5smbybx.js → location-lifecycle-0gqpdc35.js} +24 -24
  11. package/dist/chunks/{filesystem-kncd35yj.js → location-lifecycle-0mj3m2qe.js} +26 -26
  12. package/dist/chunks/{filesystem-h7hbrg9k.js → location-lifecycle-0vyc9x74.js} +52 -52
  13. package/dist/chunks/{filesystem-90x1sh4x.js → location-lifecycle-157ttsdx.js} +48 -48
  14. package/dist/chunks/{filesystem-jd6wp082.js → location-lifecycle-1bmms672.js} +34 -34
  15. package/dist/chunks/{filesystem-kzdpc3xr.js → location-lifecycle-1de3rwvd.js} +15 -15
  16. package/dist/chunks/{filesystem-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{filesystem-jnmjcr89.js → location-lifecycle-1fgt88qx.js} +24 -24
  18. package/dist/chunks/{filesystem-fxjf9rj9.js → location-lifecycle-1kpwb10n.js} +33 -33
  19. package/dist/chunks/{filesystem-kw6b49qt.js → location-lifecycle-1p9b9gvf.js} +38 -38
  20. package/dist/chunks/{filesystem-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{filesystem-7yp67vww.js → location-lifecycle-1zvetpda.js} +18 -18
  22. package/dist/chunks/{filesystem-8x51n0mm.js → location-lifecycle-2qxc72s4.js} +25 -25
  23. package/dist/chunks/{filesystem-2z1j29yd.js → location-lifecycle-2z1j29yd.js} +1 -1
  24. package/dist/chunks/{filesystem-dx106jag.js → location-lifecycle-2zjh3nq3.js} +5 -5
  25. package/dist/chunks/{filesystem-d71bfcjn.js → location-lifecycle-2zp2gb6m.js} +31 -31
  26. package/dist/chunks/{filesystem-eqh43b5v.js → location-lifecycle-32s59e8p.js} +9 -9
  27. package/dist/chunks/{filesystem-xkat47kc.js → location-lifecycle-32xj0qwx.js} +11 -11
  28. package/dist/chunks/{filesystem-pgrw573c.js → location-lifecycle-35yjq3b2.js} +12 -12
  29. package/dist/chunks/{filesystem-fakbbexg.js → location-lifecycle-36s4rh9q.js} +11 -11
  30. package/dist/chunks/{filesystem-3rr06q29.js → location-lifecycle-3c1pnkk3.js} +5 -5
  31. package/dist/chunks/{filesystem-03efvwc7.js → location-lifecycle-3d32z0b5.js} +5 -5
  32. package/dist/chunks/{filesystem-cwb88cey.js → location-lifecycle-3edhnm16.js} +18 -18
  33. package/dist/chunks/{filesystem-msrvq25q.js → location-lifecycle-3eeark8j.js} +33 -33
  34. package/dist/chunks/{filesystem-k7takf4z.js → location-lifecycle-3f1c5rw9.js} +14 -14
  35. package/dist/chunks/{filesystem-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{filesystem-cwm52xht.js → location-lifecycle-3njh67zs.js} +21 -21
  37. package/dist/chunks/{filesystem-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{filesystem-w2eysc6j.js → location-lifecycle-40za9wsf.js} +9 -9
  39. package/dist/chunks/{filesystem-p07d65z0.js → location-lifecycle-413e5bjn.js} +30 -30
  40. package/dist/chunks/{filesystem-2552f9gw.js → location-lifecycle-435ejdhj.js} +23 -23
  41. package/dist/chunks/{filesystem-hndjxhwx.js → location-lifecycle-46p95yhx.js} +8 -8
  42. package/dist/chunks/{filesystem-vxjvm93v.js → location-lifecycle-4agfam69.js} +21 -21
  43. package/dist/chunks/{filesystem-1gvqg047.js → location-lifecycle-4ek3z2qp.js} +14 -14
  44. package/dist/chunks/{filesystem-gek54jmm.js → location-lifecycle-4hm1p6t4.js} +26 -26
  45. package/dist/chunks/{filesystem-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
  46. package/dist/chunks/{filesystem-4xvmh7wp.js → location-lifecycle-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{filesystem-y2rgpw35.js → location-lifecycle-50ecpaw5.js} +11 -11
  48. package/dist/chunks/{filesystem-yjvjgdfq.js → location-lifecycle-51f8x9pa.js} +16 -16
  49. package/dist/chunks/{filesystem-4npqj7c8.js → location-lifecycle-5568dj31.js} +11 -11
  50. package/dist/chunks/{filesystem-sb8x2mjg.js → location-lifecycle-57t85xsq.js} +18 -18
  51. package/dist/chunks/{filesystem-jpkt0sc6.js → location-lifecycle-5d7xngw8.js} +13 -13
  52. package/dist/chunks/{filesystem-5w9558x0.js → location-lifecycle-5ecqqef8.js} +42 -42
  53. package/dist/chunks/{filesystem-8shc1k29.js → location-lifecycle-5kbev7nh.js} +3 -3
  54. package/dist/chunks/{filesystem-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{filesystem-b6vsg801.js → location-lifecycle-5nnwax6m.js} +5 -5
  56. package/dist/chunks/{filesystem-ds6cc6fh.js → location-lifecycle-67q39sdk.js} +23 -23
  57. package/dist/chunks/{filesystem-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
  58. package/dist/chunks/{filesystem-rh0vm7a3.js → location-lifecycle-6p5kxrcn.js} +11 -11
  59. package/dist/chunks/{filesystem-6pjqjmy2.js → location-lifecycle-6pjqjmy2.js} +1 -1
  60. package/dist/chunks/{filesystem-q1bdnzan.js → location-lifecycle-6qg9c6q0.js} +1 -1
  61. package/dist/chunks/{filesystem-qkrpwkqk.js → location-lifecycle-6t633b8k.js} +8 -8
  62. package/dist/chunks/{filesystem-bm3x8n5f.js → location-lifecycle-6yf8mef0.js} +19 -19
  63. package/dist/chunks/{filesystem-n11a5kh1.js → location-lifecycle-742ze767.js} +23 -23
  64. package/dist/chunks/{filesystem-1kqxs66r.js → location-lifecycle-75bc8n2n.js} +10 -10
  65. package/dist/chunks/{filesystem-76cb1hcw.js → location-lifecycle-76cb1hcw.js} +1 -1
  66. package/dist/chunks/{filesystem-nah043kf.js → location-lifecycle-770pw0s1.js} +4 -4
  67. package/dist/chunks/{filesystem-5rqb1j6q.js → location-lifecycle-7a8d5kd0.js} +5 -5
  68. package/dist/chunks/{filesystem-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{filesystem-kvtqra18.js → location-lifecycle-7shxwfzw.js} +31 -31
  70. package/dist/chunks/{filesystem-1jewsfbp.js → location-lifecycle-7vchxsnv.js} +7 -7
  71. package/dist/chunks/{filesystem-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
  72. package/dist/chunks/{filesystem-n6v2b7cw.js → location-lifecycle-7xg2jm5b.js} +5 -5
  73. package/dist/chunks/{filesystem-3t73xeyv.js → location-lifecycle-7yect7x1.js} +2 -2
  74. package/dist/chunks/location-lifecycle-8414x7my.js +261 -0
  75. package/dist/chunks/{filesystem-egnaf4wc.js → location-lifecycle-86nga2pg.js} +11 -11
  76. package/dist/chunks/{filesystem-rrv8kjjp.js → location-lifecycle-88j2ywh2.js} +20 -20
  77. package/dist/chunks/{filesystem-e5reh5tz.js → location-lifecycle-8j8x0ypw.js} +12 -12
  78. package/dist/chunks/{filesystem-4yc3bycz.js → location-lifecycle-8pn39epj.js} +26 -26
  79. package/dist/chunks/{filesystem-w84f94qk.js → location-lifecycle-8psf50w9.js} +11 -11
  80. package/dist/chunks/{filesystem-rrbn0j5d.js → location-lifecycle-8q3v088a.js} +21 -21
  81. package/dist/chunks/{filesystem-qkpn6d5r.js → location-lifecycle-8r31w3mw.js} +82 -82
  82. package/dist/chunks/{filesystem-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{filesystem-91rj84md.js → location-lifecycle-91rj84md.js} +1 -1
  84. package/dist/chunks/{filesystem-4mnradvb.js → location-lifecycle-951gfphn.js} +16 -16
  85. package/dist/chunks/{filesystem-zdt59aw1.js → location-lifecycle-9805fe88.js} +6 -6
  86. package/dist/chunks/{filesystem-tz3v2dvp.js → location-lifecycle-992x37hq.js} +2 -2
  87. package/dist/chunks/{filesystem-998yhzzq.js → location-lifecycle-998yhzzq.js} +3 -3
  88. package/dist/chunks/{filesystem-jyenpfw3.js → location-lifecycle-9cfxjga2.js} +4 -4
  89. package/dist/chunks/{filesystem-9cx9sm2q.js → location-lifecycle-9cx9sm2q.js} +1 -1
  90. package/dist/chunks/{filesystem-6jp186ct.js → location-lifecycle-9ebynfn0.js} +16 -16
  91. package/dist/chunks/{filesystem-3wddgepz.js → location-lifecycle-9nj2740a.js} +10 -10
  92. package/dist/chunks/{filesystem-32rqdfc7.js → location-lifecycle-9nkjg9qd.js} +6 -6
  93. package/dist/chunks/{filesystem-azx0qc1w.js → location-lifecycle-9scg20h1.js} +13 -13
  94. package/dist/chunks/{filesystem-6rh867e6.js → location-lifecycle-9yc96src.js} +30 -30
  95. package/dist/chunks/{filesystem-x0vqv7fn.js → location-lifecycle-9ytkwk8q.js} +9 -9
  96. package/dist/chunks/{filesystem-9d5cfh3a.js → location-lifecycle-a08db8pb.js} +18 -18
  97. package/dist/chunks/{filesystem-t6gd5zzm.js → location-lifecycle-a0et8sps.js} +26 -26
  98. package/dist/chunks/{filesystem-37f9eqtg.js → location-lifecycle-a1ref3hp.js} +13 -13
  99. package/dist/chunks/{filesystem-vh4zhzaj.js → location-lifecycle-a3h99bw5.js} +9 -9
  100. package/dist/chunks/{filesystem-4x0avmzf.js → location-lifecycle-a41ejy6z.js} +4 -4
  101. package/dist/chunks/{filesystem-zz0567cx.js → location-lifecycle-a68j5p6f.js} +9 -9
  102. package/dist/chunks/{filesystem-k7hxwx4t.js → location-lifecycle-aa6rhnpe.js} +21 -21
  103. package/dist/chunks/{filesystem-sbanjb5j.js → location-lifecycle-afbxbw72.js} +11 -11
  104. package/dist/chunks/{filesystem-3dffs2xc.js → location-lifecycle-anfwg7gt.js} +11 -11
  105. package/dist/chunks/{filesystem-gajzcr6m.js → location-lifecycle-anzexaze.js} +16 -16
  106. package/dist/chunks/{filesystem-2ggcr862.js → location-lifecycle-apcraaat.js} +18 -18
  107. package/dist/chunks/{filesystem-14r675e2.js → location-lifecycle-avysa06y.js} +20 -20
  108. package/dist/chunks/{filesystem-q13f8gqt.js → location-lifecycle-aw0rdgjt.js} +11 -11
  109. package/dist/chunks/{filesystem-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{filesystem-fdhm0b4k.js → location-lifecycle-b00nmbcn.js} +6 -6
  111. package/dist/chunks/{filesystem-b0mv4wxm.js → location-lifecycle-b0mv4wxm.js} +2 -2
  112. package/dist/chunks/{filesystem-5zvran9a.js → location-lifecycle-b6n7nw5p.js} +18 -18
  113. package/dist/chunks/{filesystem-bbzawyb8.js → location-lifecycle-b7w6s8p5.js} +16 -16
  114. package/dist/chunks/{filesystem-gs4x0wfm.js → location-lifecycle-bbbezdga.js} +20 -20
  115. package/dist/chunks/{filesystem-xy470p1n.js → location-lifecycle-bhjvzhfy.js} +12 -12
  116. package/dist/chunks/{filesystem-61ennm6n.js → location-lifecycle-bjhzkqyk.js} +4 -4
  117. package/dist/chunks/{filesystem-nsq4yd7p.js → location-lifecycle-bsr5npnb.js} +3 -3
  118. package/dist/chunks/{filesystem-r8f6rk3c.js → location-lifecycle-c2gy53he.js} +8 -8
  119. package/dist/chunks/{filesystem-074yh523.js → location-lifecycle-c3qftb49.js} +15 -15
  120. package/dist/chunks/{filesystem-dhs71wnc.js → location-lifecycle-c78bsrpc.js} +8 -8
  121. package/dist/chunks/{filesystem-jfh72r8h.js → location-lifecycle-c7p956y6.js} +24 -24
  122. package/dist/chunks/{filesystem-j77g158z.js → location-lifecycle-cs87y13h.js} +8 -8
  123. package/dist/chunks/{filesystem-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{filesystem-cgnt16pw.js → location-lifecycle-d963e9nv.js} +4 -4
  125. package/dist/chunks/{filesystem-b6qckq3s.js → location-lifecycle-da7xvg6p.js} +29 -29
  126. package/dist/chunks/{filesystem-nwvcypp6.js → location-lifecycle-dccfjtkm.js} +10 -10
  127. package/dist/chunks/{filesystem-ftjyxsq7.js → location-lifecycle-df96cq4z.js} +9 -9
  128. package/dist/chunks/{filesystem-2fawgvav.js → location-lifecycle-djjzzs3c.js} +6 -6
  129. package/dist/chunks/{filesystem-dbgk2cxj.js → location-lifecycle-dnw0rj89.js} +9 -9
  130. package/dist/chunks/location-lifecycle-dr1hh12s.js +517 -0
  131. package/dist/chunks/{filesystem-mj0wev1x.js → location-lifecycle-drvbhkez.js} +4 -4
  132. package/dist/chunks/{filesystem-5byqedsg.js → location-lifecycle-dws4rekc.js} +7 -7
  133. package/dist/chunks/{filesystem-286bwkth.js → location-lifecycle-dxykbx1a.js} +15 -15
  134. package/dist/chunks/{filesystem-e07q2w5p.js → location-lifecycle-e07q2w5p.js} +1 -1
  135. package/dist/chunks/{filesystem-9w35abq4.js → location-lifecycle-e12w6dtp.js} +15 -15
  136. package/dist/chunks/{filesystem-bnjexpda.js → location-lifecycle-e1ranap3.js} +4 -4
  137. package/dist/chunks/{filesystem-w5d18jnt.js → location-lifecycle-e2tba9md.js} +15 -15
  138. package/dist/chunks/{filesystem-srha6svp.js → location-lifecycle-e4s86g6j.js} +7 -7
  139. package/dist/chunks/{filesystem-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
  140. package/dist/chunks/{filesystem-f4c57skx.js → location-lifecycle-e870b599.js} +3 -3
  141. package/dist/chunks/{filesystem-zfk4rxgj.js → location-lifecycle-ec9v8bzb.js} +16 -16
  142. package/dist/chunks/{filesystem-zj038rf2.js → location-lifecycle-ectz1n32.js} +6 -6
  143. package/dist/chunks/{filesystem-96te9d4b.js → location-lifecycle-engkm2d6.js} +5 -5
  144. package/dist/chunks/{filesystem-3p35tcse.js → location-lifecycle-eq1akb9r.js} +21 -21
  145. package/dist/chunks/{filesystem-048zrydy.js → location-lifecycle-eyvjr0jg.js} +16 -16
  146. package/dist/chunks/{filesystem-vmw5emv6.js → location-lifecycle-f4vgery6.js} +27 -27
  147. package/dist/chunks/{filesystem-82raarjb.js → location-lifecycle-fbyakzmk.js} +183 -183
  148. package/dist/chunks/{filesystem-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
  149. package/dist/chunks/{filesystem-hk4y1qbf.js → location-lifecycle-fmg054cs.js} +3 -3
  150. package/dist/chunks/{filesystem-hj2cbhc2.js → location-lifecycle-fnygd1nj.js} +16 -16
  151. package/dist/chunks/{filesystem-mxem74k4.js → location-lifecycle-frdmxv06.js} +13 -13
  152. package/dist/chunks/{filesystem-6gfsr0bt.js → location-lifecycle-frjevq5v.js} +26 -26
  153. package/dist/chunks/{filesystem-0s7h5zzx.js → location-lifecycle-ftt01jz2.js} +17 -17
  154. package/dist/chunks/{filesystem-3gv0spa2.js → location-lifecycle-fwp9mfc9.js} +4 -4
  155. package/dist/chunks/{filesystem-ngzdt2ve.js → location-lifecycle-fx5kqmvd.js} +7 -7
  156. package/dist/chunks/{filesystem-0h8y3ex8.js → location-lifecycle-fznmdakp.js} +4 -4
  157. package/dist/chunks/{filesystem-r5y2frqw.js → location-lifecycle-g13qewtb.js} +6 -6
  158. package/dist/chunks/{filesystem-g5h9c0rr.js → location-lifecycle-g5h9c0rr.js} +2 -2
  159. package/dist/chunks/{filesystem-qxe3n5xa.js → location-lifecycle-g5s4yfa7.js} +11 -11
  160. package/dist/chunks/{filesystem-wachhca3.js → location-lifecycle-gbed8n64.js} +4 -4
  161. package/dist/chunks/{filesystem-g0rar7vt.js → location-lifecycle-gcs60vk9.js} +20 -20
  162. package/dist/chunks/{filesystem-4etepjnw.js → location-lifecycle-gj025hnp.js} +9 -9
  163. package/dist/chunks/{filesystem-65d25esd.js → location-lifecycle-gq43p9bv.js} +11 -11
  164. package/dist/chunks/location-lifecycle-gqxtb57b.js +26 -0
  165. package/dist/chunks/{filesystem-zqmnxa57.js → location-lifecycle-gvn0qkq4.js} +15 -15
  166. package/dist/chunks/{filesystem-e90h7m11.js → location-lifecycle-h5qan5zz.js} +8 -8
  167. package/dist/chunks/{filesystem-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
  168. package/dist/chunks/{filesystem-06w9ffrv.js → location-lifecycle-hfgk9wzg.js} +5 -5
  169. package/dist/chunks/{filesystem-4wqc8mqe.js → location-lifecycle-hfzr0j9k.js} +5 -5
  170. package/dist/chunks/{filesystem-1e41c092.js → location-lifecycle-hgdppmnw.js} +12 -12
  171. package/dist/chunks/{filesystem-59ebw7nb.js → location-lifecycle-hyetydc1.js} +7 -7
  172. package/dist/chunks/{filesystem-j113cymg.js → location-lifecycle-j113cymg.js} +1 -1
  173. package/dist/chunks/{filesystem-jfakxrjq.js → location-lifecycle-je5hz476.js} +25 -25
  174. package/dist/chunks/{filesystem-rk1c2d86.js → location-lifecycle-jehnak5d.js} +28 -28
  175. package/dist/chunks/{filesystem-pk31y8jx.js → location-lifecycle-jg3yeysd.js} +12 -12
  176. package/dist/chunks/{filesystem-rz958wdz.js → location-lifecycle-jktd17zr.js} +19 -19
  177. package/dist/chunks/{filesystem-wt7ydzte.js → location-lifecycle-jqrrajmw.js} +14 -14
  178. package/dist/chunks/{filesystem-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
  179. package/dist/chunks/{filesystem-cy5ef8hm.js → location-lifecycle-kac0vvew.js} +11 -11
  180. package/dist/chunks/{filesystem-2a5amaht.js → location-lifecycle-kec0ksjq.js} +24 -24
  181. package/dist/chunks/{filesystem-4fvyz6gm.js → location-lifecycle-kprb24q4.js} +37 -37
  182. package/dist/chunks/{filesystem-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
  183. package/dist/chunks/{filesystem-m1714858.js → location-lifecycle-m1714858.js} +1 -1
  184. package/dist/chunks/{filesystem-38my8t2w.js → location-lifecycle-m48kphhn.js} +4 -4
  185. package/dist/chunks/{filesystem-jnbf1chn.js → location-lifecycle-m5apnkkj.js} +9 -9
  186. package/dist/chunks/{filesystem-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{filesystem-maspj1v3.js → location-lifecycle-maspj1v3.js} +1 -1
  188. package/dist/chunks/{filesystem-egmw08v6.js → location-lifecycle-mbwgdc5a.js} +5 -5
  189. package/dist/chunks/location-lifecycle-me0dhgxs.js +18 -0
  190. package/dist/chunks/{filesystem-48wh137g.js → location-lifecycle-mjhp71bb.js} +45 -45
  191. package/dist/chunks/{filesystem-z3ayhk2f.js → location-lifecycle-ms60x9fc.js} +40 -40
  192. package/dist/chunks/{filesystem-5bcft13g.js → location-lifecycle-mvsbfcth.js} +3 -3
  193. package/dist/chunks/{filesystem-pp4x3x88.js → location-lifecycle-mzr8qcts.js} +8 -8
  194. package/dist/chunks/{filesystem-600wwvjd.js → location-lifecycle-nfepp5zp.js} +15 -15
  195. package/dist/chunks/{filesystem-8a1tt6eq.js → location-lifecycle-ng4qg3fx.js} +44 -44
  196. package/dist/chunks/{filesystem-q4syar25.js → location-lifecycle-njtsvrb4.js} +9 -9
  197. package/dist/chunks/{filesystem-z4ndfdcq.js → location-lifecycle-nkpwy2rp.js} +11 -11
  198. package/dist/chunks/{filesystem-7gagvex5.js → location-lifecycle-nz3pz1tw.js} +84 -84
  199. package/dist/chunks/{filesystem-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
  200. package/dist/chunks/{filesystem-pfy2m4ca.js → location-lifecycle-p0d4rfr5.js} +5 -5
  201. package/dist/chunks/{filesystem-1yq9hg58.js → location-lifecycle-p7vhpwh8.js} +5 -5
  202. package/dist/chunks/{filesystem-58g0x2b7.js → location-lifecycle-phdfpjbh.js} +7 -7
  203. package/dist/chunks/{filesystem-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  204. package/dist/chunks/{filesystem-vmpcefzm.js → location-lifecycle-ps1n2edm.js} +36 -36
  205. package/dist/chunks/{filesystem-xpyh10vg.js → location-lifecycle-ptb0zbfq.js} +16 -16
  206. package/dist/chunks/{filesystem-5pjpz24y.js → location-lifecycle-pxdkqw7r.js} +29 -29
  207. package/dist/chunks/{filesystem-vvmd7csk.js → location-lifecycle-pzwcb5qk.js} +16 -16
  208. package/dist/chunks/{filesystem-aa6rfe83.js → location-lifecycle-q8h1f998.js} +24 -24
  209. package/dist/chunks/{filesystem-t4zj4gks.js → location-lifecycle-qj1q6p4a.js} +24 -24
  210. package/dist/chunks/{filesystem-fngyzhnx.js → location-lifecycle-qns03ea0.js} +31 -31
  211. package/dist/chunks/{filesystem-0kzfsnkr.js → location-lifecycle-qqp4xta8.js} +20 -20
  212. package/dist/chunks/{filesystem-4q1b57yv.js → location-lifecycle-qt6xa0r4.js} +4 -4
  213. package/dist/chunks/{filesystem-87s5319w.js → location-lifecycle-qv7y9773.js} +4 -4
  214. package/dist/chunks/{filesystem-c5tnkfyv.js → location-lifecycle-qvr2rrtk.js} +25 -25
  215. package/dist/chunks/{filesystem-jx89vj1k.js → location-lifecycle-qyq8h28g.js} +3 -3
  216. package/dist/chunks/{filesystem-kvgq4cgd.js → location-lifecycle-qzzf3e3r.js} +24 -24
  217. package/dist/chunks/{filesystem-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{filesystem-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
  219. package/dist/chunks/{filesystem-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{filesystem-scbc8y9k.js → location-lifecycle-rcb6y6qt.js} +2 -2
  221. package/dist/chunks/{filesystem-smfcvx02.js → location-lifecycle-rjnacbrz.js} +9 -9
  222. package/dist/chunks/{filesystem-8t7k9j69.js → location-lifecycle-rmt5ct6z.js} +19 -19
  223. package/dist/chunks/{filesystem-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{filesystem-aekqvw83.js → location-lifecycle-rvkz6b3j.js} +5 -5
  225. package/dist/chunks/{filesystem-86m0qwc3.js → location-lifecycle-rvqj7kwa.js} +13 -13
  226. package/dist/chunks/{filesystem-qswdam80.js → location-lifecycle-rz88mfas.js} +45 -45
  227. package/dist/chunks/{filesystem-9w5zpkrk.js → location-lifecycle-s4bgcgc7.js} +35 -35
  228. package/dist/chunks/{filesystem-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{filesystem-xxteqpwx.js → location-lifecycle-sdngsbgs.js} +3 -3
  230. package/dist/chunks/{filesystem-3y5jkgnv.js → location-lifecycle-snahbe28.js} +11 -11
  231. package/dist/chunks/{filesystem-r9zbyr4a.js → location-lifecycle-snx5yfz7.js} +14 -14
  232. package/dist/chunks/{filesystem-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{filesystem-kkqethq7.js → location-lifecycle-ssfehs1z.js} +4 -4
  234. package/dist/chunks/{filesystem-4angxd36.js → location-lifecycle-sxxsahz6.js} +7 -7
  235. package/dist/chunks/{filesystem-2zz4pbej.js → location-lifecycle-t046hrcv.js} +11 -11
  236. package/dist/chunks/{filesystem-0v2akbxk.js → location-lifecycle-t0vb5p66.js} +15 -15
  237. package/dist/chunks/{filesystem-2xs0rryy.js → location-lifecycle-t2w38zde.js} +19 -19
  238. package/dist/chunks/{filesystem-zr78jqjw.js → location-lifecycle-t3fc188m.js} +17 -17
  239. package/dist/chunks/{filesystem-9ab6dc0a.js → location-lifecycle-t4wqpqs4.js} +30 -30
  240. package/dist/chunks/{filesystem-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
  241. package/dist/chunks/{filesystem-e889e6n9.js → location-lifecycle-te1haqs4.js} +12 -12
  242. package/dist/chunks/{filesystem-934a61m2.js → location-lifecycle-te2z8gzs.js} +62 -62
  243. package/dist/chunks/{filesystem-9kg5w032.js → location-lifecycle-tg1vr1qt.js} +8 -8
  244. package/dist/chunks/{filesystem-yzs5y582.js → location-lifecycle-tmjxyh9r.js} +6 -6
  245. package/dist/chunks/{filesystem-a54cs83f.js → location-lifecycle-tq8vqm91.js} +12 -12
  246. package/dist/chunks/{filesystem-twv2r8f4.js → location-lifecycle-twv2r8f4.js} +2 -2
  247. package/dist/chunks/{filesystem-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
  248. package/dist/chunks/{filesystem-q6kf4edm.js → location-lifecycle-v53et2yk.js} +5 -5
  249. package/dist/chunks/{filesystem-vd3b3yk9.js → location-lifecycle-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{filesystem-abjs6xs3.js → location-lifecycle-veb1b92r.js} +18 -18
  251. package/dist/chunks/{filesystem-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  252. package/dist/chunks/{filesystem-vgqmettk.js → location-lifecycle-vg8z76t4.js} +47 -47
  253. package/dist/chunks/{filesystem-tvw5eq5w.js → location-lifecycle-vpgtgc27.js} +4 -4
  254. package/dist/chunks/{filesystem-ts7mkfs9.js → location-lifecycle-vpm8vpz0.js} +3 -3
  255. package/dist/chunks/{filesystem-hx3mz2q2.js → location-lifecycle-vycsk1c7.js} +8 -8
  256. package/dist/chunks/{filesystem-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{filesystem-7hpze2gp.js → location-lifecycle-w54mkzpv.js} +33 -33
  258. package/dist/chunks/{filesystem-mwp0yv48.js → location-lifecycle-w8ytyev4.js} +1 -1
  259. package/dist/chunks/{filesystem-40g71j7h.js → location-lifecycle-wa9en833.js} +28 -28
  260. package/dist/chunks/{filesystem-m4zwndh2.js → location-lifecycle-wag9xyar.js} +5 -5
  261. package/dist/chunks/{filesystem-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{filesystem-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  263. package/dist/chunks/{filesystem-4fhqgc15.js → location-lifecycle-wnz1azms.js} +4 -4
  264. package/dist/chunks/{filesystem-wmjzvx4b.js → location-lifecycle-wtgq8nqm.js} +5 -5
  265. package/dist/chunks/{filesystem-rk5tncjm.js → location-lifecycle-wwfabvmy.js} +10 -10
  266. package/dist/chunks/{filesystem-wybcmnnj.js → location-lifecycle-x17ah571.js} +21 -21
  267. package/dist/chunks/{filesystem-n3hzq8hq.js → location-lifecycle-x87bzsmd.js} +17 -17
  268. package/dist/chunks/{filesystem-11hfp36g.js → location-lifecycle-x8nvjgx0.js} +4 -4
  269. package/dist/chunks/{filesystem-efjhr83e.js → location-lifecycle-xb278pxb.js} +34 -34
  270. package/dist/chunks/{filesystem-j5n4xn75.js → location-lifecycle-xd6kzcb0.js} +15 -15
  271. package/dist/chunks/{filesystem-bstexjd6.js → location-lifecycle-xd9cc171.js} +5 -5
  272. package/dist/chunks/{filesystem-9g74tn6t.js → location-lifecycle-xdcxsav6.js} +28 -28
  273. package/dist/chunks/{filesystem-dm791vdb.js → location-lifecycle-y01veweq.js} +8 -8
  274. package/dist/chunks/{filesystem-gkn4n67r.js → location-lifecycle-y5q36pfq.js} +4 -4
  275. package/dist/chunks/{filesystem-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{filesystem-8m0g8d5b.js → location-lifecycle-ybqjtrnz.js} +8 -8
  277. package/dist/chunks/{filesystem-j0sqg4d1.js → location-lifecycle-ygjypke9.js} +18 -18
  278. package/dist/chunks/{filesystem-jefw9j3y.js → location-lifecycle-ynrq1a8k.js} +4 -4
  279. package/dist/chunks/{filesystem-8vdykv35.js → location-lifecycle-ypzswc5a.js} +18 -18
  280. package/dist/chunks/{filesystem-yh9xwh37.js → location-lifecycle-yx7j83gx.js} +6 -6
  281. package/dist/chunks/{filesystem-3bdnrd1q.js → location-lifecycle-yy11h7xe.js} +5 -5
  282. package/dist/chunks/{filesystem-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{filesystem-0r6ymdag.js → location-lifecycle-z2kpe0d7.js} +2 -2
  284. package/dist/chunks/{filesystem-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
  285. package/dist/chunks/{filesystem-4tqs0jzk.js → location-lifecycle-zfyb5tr4.js} +4 -4
  286. package/dist/chunks/{filesystem-5j8szzxn.js → location-lifecycle-zj2xjtpe.js} +33 -33
  287. package/dist/chunks/{filesystem-zkg84ctx.js → location-lifecycle-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{filesystem-4t70q674.js → location-lifecycle-zr0c5wvp.js} +5 -5
  289. package/dist/chunks/{filesystem-1zp85v90.js → location-lifecycle-zta2ja2d.js} +22 -22
  290. package/dist/chunks/{filesystem-vcpv0cg0.js → location-lifecycle-zvg5ahhp.js} +8 -8
  291. package/dist/chunks/{filesystem-40h6q7je.js → location-lifecycle-zzaqn35t.js} +42 -42
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +87 -87
  297. package/dist/config/discovery.js +87 -87
  298. package/dist/config/integration.js +1 -1
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -104
  301. package/dist/config/plugin/agent.js +120 -120
  302. package/dist/config/plugin/command.js +216 -216
  303. package/dist/config/plugin/compaction.js +157 -157
  304. package/dist/config/plugin/compatibility.js +137 -137
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -119
  307. package/dist/config/plugin/image.js +118 -118
  308. package/dist/config/plugin/instruction.js +118 -118
  309. package/dist/config/plugin/location-watcher.js +118 -118
  310. package/dist/config/plugin/mcp.js +129 -129
  311. package/dist/config/plugin/policy.js +120 -120
  312. package/dist/config/plugin/provider.js +119 -119
  313. package/dist/config/plugin/reference.js +120 -120
  314. package/dist/config/plugin/shell.js +118 -118
  315. package/dist/config/plugin/skill-file.js +107 -107
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +140 -140
  318. package/dist/config/plugin/snapshot.js +118 -118
  319. package/dist/config/plugin/source.js +121 -121
  320. package/dist/config/plugin/tool-output.js +119 -119
  321. package/dist/config/plugin/websearch.js +117 -117
  322. package/dist/config/plugin/worktree.js +120 -120
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +123 -123
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +85 -85
  329. package/dist/database/database.js +70 -70
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration.gen.js +53 -53
  399. package/dist/database/migration.js +55 -55
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +90 -90
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +376 -376
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +3 -3
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -98
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +98 -98
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +3 -3
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +74 -74
  423. package/dist/file-access.js +109 -109
  424. package/dist/file-mutation.js +99 -99
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +227 -227
  432. package/dist/filesystem/protected.js +1 -1
  433. package/dist/filesystem/search.js +104 -104
  434. package/dist/filesystem/watcher-binding.js +1 -1
  435. package/dist/filesystem/watcher.js +11 -11
  436. package/dist/filesystem.js +109 -109
  437. package/dist/form.js +82 -82
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +92 -92
  440. package/dist/generate.js +106 -106
  441. package/dist/git.js +7 -7
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +96 -96
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +367 -367
  465. package/dist/instruction-discovery.js +88 -88
  466. package/dist/instructions/builtins.js +92 -92
  467. package/dist/instructions/index.js +3 -3
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +89 -89
  470. package/dist/job.js +82 -82
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -77
  473. package/dist/location-activity.js +158 -158
  474. package/dist/location-lifecycle.js +108 -108
  475. package/dist/location-service-map.js +91 -91
  476. package/dist/location-services.js +364 -364
  477. package/dist/location.js +86 -86
  478. package/dist/managed-policy.js +9 -9
  479. package/dist/mcp/client.js +96 -96
  480. package/dist/mcp/index.js +114 -114
  481. package/dist/mcp/instructions.js +143 -143
  482. package/dist/mcp/oauth.js +82 -82
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -95
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +96 -96
  487. package/dist/model-resolver.js +104 -104
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +107 -107
  490. package/dist/models-dev.js +108 -108
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +80 -80
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +108 -108
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +92 -92
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -79
  500. package/dist/plugin/agent.js +80 -80
  501. package/dist/plugin/command.js +107 -107
  502. package/dist/plugin/hooks.js +5 -5
  503. package/dist/plugin/host.js +220 -220
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +337 -337
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -101
  509. package/dist/plugin/module.js +120 -120
  510. package/dist/plugin/optimize.js +2 -2
  511. package/dist/plugin/plan.js +107 -107
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  514. package/dist/plugin/provider/azure.js +118 -118
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -118
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -114
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -98
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -100
  526. package/dist/plugin/provider/gitlab.js +98 -98
  527. package/dist/plugin/provider/google-vertex.js +115 -115
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -82
  530. package/dist/plugin/provider/lmstudio.js +127 -127
  531. package/dist/plugin/provider/local.js +124 -124
  532. package/dist/plugin/provider/modal.js +97 -97
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +127 -127
  536. package/dist/plugin/provider/openai-context-caps.js +95 -95
  537. package/dist/plugin/provider/openai.js +118 -118
  538. package/dist/plugin/provider/opencode-legacy.js +105 -105
  539. package/dist/plugin/provider/opencode.js +124 -124
  540. package/dist/plugin/provider/openrouter.js +96 -96
  541. package/dist/plugin/provider/perplexity.js +2 -2
  542. package/dist/plugin/provider/poe.js +83 -83
  543. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  544. package/dist/plugin/provider/sap-ai-core.js +96 -96
  545. package/dist/plugin/provider/sdk-factory.js +1 -1
  546. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  547. package/dist/plugin/provider/vercel.js +95 -95
  548. package/dist/plugin/provider/vllm.js +127 -127
  549. package/dist/plugin/provider/xai.js +96 -96
  550. package/dist/plugin/provider/zenmux.js +1 -1
  551. package/dist/plugin/provider.js +175 -175
  552. package/dist/plugin/sdk.js +80 -80
  553. package/dist/plugin/service.js +3 -3
  554. package/dist/plugin/skill.js +136 -136
  555. package/dist/plugin/source-directory.js +1 -1
  556. package/dist/plugin/supervisor.js +356 -356
  557. package/dist/plugin/tool-input-repair.js +4 -4
  558. package/dist/plugin/update.js +6 -6
  559. package/dist/plugin/vcs/git.js +91 -91
  560. package/dist/plugin/vcs/hg.js +91 -91
  561. package/dist/plugin/verbosity.js +98 -98
  562. package/dist/plugin/warming.js +116 -116
  563. package/dist/plugin/websearch/exa.js +7 -7
  564. package/dist/plugin/websearch/firecrawl.js +8 -8
  565. package/dist/plugin/websearch/index.js +9 -9
  566. package/dist/plugin/websearch/mcp.js +6 -6
  567. package/dist/plugin/websearch/parallel.js +8 -8
  568. package/dist/plugin/websearch/tavily.js +4 -4
  569. package/dist/plugin/websearch/tinyfish.js +8 -8
  570. package/dist/plugin.js +225 -225
  571. package/dist/project/schema.js +2 -2
  572. package/dist/project/sql.js +4 -4
  573. package/dist/project.js +85 -85
  574. package/dist/provider.js +102 -102
  575. package/dist/pty/protocol.js +1 -1
  576. package/dist/pty/ticket.js +1 -1
  577. package/dist/pty.js +97 -97
  578. package/dist/reference/instructions.js +94 -94
  579. package/dist/reference.js +96 -96
  580. package/dist/repository-cache.js +86 -86
  581. package/dist/repository.js +3 -3
  582. package/dist/ripgrep/binary.js +2 -2
  583. package/dist/ripgrep.js +102 -102
  584. package/dist/rpc.js +91 -91
  585. package/dist/schema.js +1 -1
  586. package/dist/session/affinity.js +1 -1
  587. package/dist/session/command.js +78 -78
  588. package/dist/session/compaction.js +137 -137
  589. package/dist/session/context.js +167 -167
  590. package/dist/session/diff.js +93 -93
  591. package/dist/session/environment.js +5 -5
  592. package/dist/session/error.js +3 -3
  593. package/dist/session/event.js +1 -1
  594. package/dist/session/execution/restart.js +223 -223
  595. package/dist/session/execution.js +133 -133
  596. package/dist/session/generate.js +167 -167
  597. package/dist/session/history.js +13 -13
  598. package/dist/session/inbox.js +99 -99
  599. package/dist/session/info.js +3 -3
  600. package/dist/session/instruction-entry.js +83 -83
  601. package/dist/session/instruction-state.js +8 -8
  602. package/dist/session/instructions.js +102 -102
  603. package/dist/session/message-updater.js +4 -4
  604. package/dist/session/message.js +1 -1
  605. package/dist/session/model-request.js +125 -125
  606. package/dist/session/model-transport.js +9 -9
  607. package/dist/session/move.js +135 -135
  608. package/dist/session/projector.js +93 -93
  609. package/dist/session/prompt.js +110 -110
  610. package/dist/session/recent-text.js +1 -1
  611. package/dist/session/revert.js +99 -99
  612. package/dist/session/run-coordinator.js +3 -3
  613. package/dist/session/runner/index.js +3 -3
  614. package/dist/session/runner/llm.js +233 -233
  615. package/dist/session/runner/max-steps.js +1 -1
  616. package/dist/session/runner/model.js +105 -105
  617. package/dist/session/runner/publish-llm-event.js +118 -118
  618. package/dist/session/runner/retry.js +5 -5
  619. package/dist/session/runner/step.js +131 -131
  620. package/dist/session/runner/to-llm-message.js +14 -14
  621. package/dist/session/schema.js +5 -5
  622. package/dist/session/session.js +167 -167
  623. package/dist/session/shell.js +132 -132
  624. package/dist/session/skill.js +108 -108
  625. package/dist/session/sql.js +5 -5
  626. package/dist/session/stats.js +77 -77
  627. package/dist/session/store.js +89 -89
  628. package/dist/session/subagent-completion.js +1 -1
  629. package/dist/session/subagent-job.js +214 -214
  630. package/dist/session/system-prompt.js +3 -3
  631. package/dist/session/title.js +171 -171
  632. package/dist/session/to-session-error.js +117 -117
  633. package/dist/session/transfer.js +216 -216
  634. package/dist/session/usage.js +1 -1
  635. package/dist/session.js +216 -216
  636. package/dist/shell/parse.js +8 -8
  637. package/dist/shell/result.js +1 -1
  638. package/dist/shell/scan.js +1 -1
  639. package/dist/shell/select.js +13 -13
  640. package/dist/shell.js +134 -134
  641. package/dist/skill/discovery.js +6 -6
  642. package/dist/skill/instructions.js +112 -112
  643. package/dist/skill.js +119 -119
  644. package/dist/snapshot.js +98 -98
  645. package/dist/state.js +1 -1
  646. package/dist/tool/html-markdown.js +1 -1
  647. package/dist/tool/http-body.js +1 -1
  648. package/dist/tool/mcp.js +140 -140
  649. package/dist/tool/plugin/edit.js +125 -125
  650. package/dist/tool/plugin/file-diff.js +1 -1
  651. package/dist/tool/plugin/glob.js +129 -129
  652. package/dist/tool/plugin/grep.js +129 -129
  653. package/dist/tool/plugin/mcp-resource.js +129 -129
  654. package/dist/tool/plugin/opencode.js +114 -114
  655. package/dist/tool/plugin/patch.js +127 -127
  656. package/dist/tool/plugin/question.js +106 -106
  657. package/dist/tool/plugin/read.js +130 -130
  658. package/dist/tool/plugin/shell.js +217 -217
  659. package/dist/tool/plugin/skill.js +118 -118
  660. package/dist/tool/plugin/subagent.js +219 -219
  661. package/dist/tool/plugin/todo.js +138 -138
  662. package/dist/tool/plugin/webfetch.js +118 -118
  663. package/dist/tool/plugin/websearch.js +117 -117
  664. package/dist/tool/plugin/write.js +123 -123
  665. package/dist/tool/read-filesystem.js +107 -107
  666. package/dist/tool/runtime.js +1 -1
  667. package/dist/tool-output.js +7 -7
  668. package/dist/tool.js +16 -16
  669. package/dist/usage-limits.js +93 -93
  670. package/dist/util/error-summary.js +1 -1
  671. package/dist/util/git-executable.js +3 -3
  672. package/dist/util/lazy.js +1 -1
  673. package/dist/util/slug.js +1 -1
  674. package/dist/util/token.js +1 -1
  675. package/dist/util/which.js +1 -1
  676. package/dist/util/wildcard.js +1 -1
  677. package/dist/v1/config/agent.js +5 -5
  678. package/dist/v1/config/command.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +97 -97
  681. package/dist/v1/config/permission.js +3 -3
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/variant.js +98 -98
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +94 -94
  688. package/dist/voice.js +92 -92
  689. package/dist/websearch.js +86 -86
  690. package/dist/wellknown/plugin.js +80 -80
  691. package/dist/wellknown.js +83 -83
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +86 -86
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +11 -11
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +94 -94
  699. package/dist/worktree.js +103 -103
  700. package/package.json +8 -8
  701. package/dist/chunks/filesystem-0983wq4j.js +0 -26
  702. package/dist/chunks/filesystem-6cw60t4e.js +0 -261
  703. package/dist/chunks/filesystem-sx82062d.js +0 -517
  704. package/dist/chunks/filesystem-z355x5yr.js +0 -18
  705. /package/dist/chunks/{filesystem-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{filesystem-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{filesystem-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{filesystem-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{filesystem-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{filesystem-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{filesystem-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
  712. /package/dist/chunks/{filesystem-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{filesystem-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{filesystem-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  715. /package/dist/chunks/{filesystem-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{filesystem-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{filesystem-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{filesystem-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{filesystem-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{filesystem-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{filesystem-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  722. /package/dist/chunks/{filesystem-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{filesystem-5fjb7ams.js → location-lifecycle-5fjb7ams.js} +0 -0
  724. /package/dist/chunks/{filesystem-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{filesystem-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{filesystem-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{filesystem-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  730. /package/dist/chunks/{filesystem-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{filesystem-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{filesystem-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{filesystem-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{filesystem-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{filesystem-a058387c.js → location-lifecycle-a058387c.js} +0 -0
  737. /package/dist/chunks/{filesystem-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{filesystem-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{filesystem-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{filesystem-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{filesystem-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{filesystem-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{filesystem-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{filesystem-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{filesystem-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{filesystem-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{filesystem-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{filesystem-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{filesystem-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{filesystem-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{filesystem-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  752. /package/dist/chunks/{filesystem-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{filesystem-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{filesystem-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{filesystem-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{filesystem-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{filesystem-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{filesystem-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{filesystem-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{filesystem-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{filesystem-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{filesystem-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{filesystem-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  764. /package/dist/chunks/{filesystem-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{filesystem-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  766. /package/dist/chunks/{filesystem-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{filesystem-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  768. /package/dist/chunks/{filesystem-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{filesystem-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{filesystem-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{filesystem-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{filesystem-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{filesystem-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{filesystem-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{filesystem-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{filesystem-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
  777. /package/dist/chunks/{filesystem-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{filesystem-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{filesystem-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{filesystem-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{filesystem-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{filesystem-pkyv6v7h.js → location-lifecycle-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{filesystem-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{filesystem-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{filesystem-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{filesystem-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{filesystem-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{filesystem-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{filesystem-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{filesystem-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{filesystem-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{filesystem-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{filesystem-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{filesystem-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{filesystem-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{filesystem-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{filesystem-wjj7prxr.js → location-lifecycle-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{filesystem-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{filesystem-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{filesystem-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  801. /package/dist/chunks/{filesystem-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{filesystem-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{filesystem-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{filesystem-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{filesystem-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{filesystem-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service71,
3
- node75
4
- } from "./filesystem-3wddgepz.js";
2
+ Service65,
3
+ node68
4
+ } from "./location-lifecycle-9nj2740a.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./filesystem-gftt206x.js";
7
+ } from "./location-lifecycle-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./filesystem-ts7mkfs9.js";
10
+ } from "./location-lifecycle-vpm8vpz0.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./location-lifecycle-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service64,
20
- make: () => make22,
21
- node: () => node68
19
+ Service: () => Service47,
20
+ make: () => make20,
21
+ node: () => node49
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service64 extends Context.Service()("@opencode/Job") {
51
+ class Service47 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make22 = Effect.gen(function* () {
87
- const kv = yield* Service71;
86
+ var make20 = Effect.gen(function* () {
87
+ const kv = yield* Service65;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make22 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service64.of({
346
+ return Service47.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make22 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service64, make22);
360
- var node68 = makeGlobalNode({ service: Service64, layer, deps: [node75] });
359
+ var layer = Layer.effect(Service47, make20);
360
+ var node49 = makeGlobalNode({ service: Service47, layer, deps: [node68] });
361
361
 
362
- export { Service64, make22, node68, exports_job };
362
+ export { Service47, make20, node49, exports_job };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-11hfp36g.js";
3
+ } from "./location-lifecycle-x8nvjgx0.js";
4
4
  import {
5
- Service55,
6
- node58
7
- } from "./filesystem-rrbn0j5d.js";
5
+ Service81,
6
+ node84
7
+ } from "./location-lifecycle-8q3v088a.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./location-lifecycle-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service14,
17
- node: () => node16,
16
+ Service: () => Service80,
17
+ node: () => node83,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service14 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service80 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service14, Effect.gen(function* () {
38
- const environment = yield* Service55;
37
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
38
+ const environment = yield* Service81;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service14.of({ withLock, write, writeTextPreservingBom });
59
+ return Service80.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node16 = makeLocationNode({ service: Service14, layer, deps: [node58] });
61
+ var node83 = makeLocationNode({ service: Service80, layer, deps: [node84] });
62
62
 
63
- export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
63
+ export { Service80, readText2, syncTextBom2, node83, exports_file_mutation };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./filesystem-f4c57skx.js";
4
+ } from "./location-lifecycle-e870b599.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service86,
8
8
  node90
9
- } from "./filesystem-4fhqgc15.js";
9
+ } from "./location-lifecycle-wnz1azms.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./filesystem-p015t6z3.js";
12
+ } from "./location-lifecycle-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./filesystem-ec1grn59.js";
15
+ } from "./location-lifecycle-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./filesystem-srha6svp.js";
18
+ } from "./location-lifecycle-e4s86g6j.js";
19
19
  import {
20
- Service75,
21
- node79
22
- } from "./filesystem-a54cs83f.js";
20
+ Service70,
21
+ node73
22
+ } from "./location-lifecycle-tq8vqm91.js";
23
23
  import {
24
- Service30,
25
- node34
26
- } from "./filesystem-7gagvex5.js";
24
+ Service24,
25
+ node27
26
+ } from "./location-lifecycle-nz3pz1tw.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./filesystem-r542h3bh.js";
30
+ } from "./location-lifecycle-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./location-lifecycle-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service6,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer6,
42
+ node: () => node8
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service6 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
75
+ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
76
76
  const bus = yield* Service86;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service30;
79
- const store = yield* Service75;
78
+ const context = yield* Service24;
79
+ const store = yield* Service70;
80
80
  const db = (yield* Service87).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service3.of({ generate });
163
+ return Service6.of({ generate });
164
164
  }));
165
- var node4 = makeLocationNode({
166
- service: Service3,
167
- layer: layer3,
168
- deps: [node90, llmClient2, node34, node79, node91]
165
+ var node8 = makeLocationNode({
166
+ service: Service6,
167
+ layer: layer6,
168
+ deps: [node90, llmClient2, node27, node73, node91]
169
169
  });
170
170
 
171
- export { Service3, isUntitled2, layer3, node4, exports_title };
171
+ export { Service6, isUntitled2, layer6, node8, exports_title };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./filesystem-zr78jqjw.js";
2
+ Service72,
3
+ node75
4
+ } from "./location-lifecycle-t3fc188m.js";
5
5
  import {
6
- Service66,
7
- node70
8
- } from "./filesystem-48wh137g.js";
6
+ Service46,
7
+ node48
8
+ } from "./location-lifecycle-mjhp71bb.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./filesystem-ts7mkfs9.js";
11
+ } from "./location-lifecycle-vpm8vpz0.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service61,
21
+ Service: () => Service44,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node65,
23
+ node: () => node46,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service61 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service61, Effect.gen(function* () {
62
- const resolver = yield* Service66;
63
- const agents = yield* Service76;
64
- return Service61.of({
61
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
62
+ const resolver = yield* Service46;
63
+ const agents = yield* Service72;
64
+ return Service44.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node65 = makeLocationNode({ service: Service61, layer, deps: [node70, node80] });
84
+ var node46 = makeLocationNode({ service: Service44, layer, deps: [node48, node75] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service61, resolved2, node65, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service60,
9
+ Service: () => Service42,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service60 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service42 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service60, exports_runner };
18
+ export { DrainResult2, Service42, exports_runner };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service86
3
- } from "./filesystem-4fhqgc15.js";
3
+ } from "./location-lifecycle-wnz1azms.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./filesystem-5pjpz24y.js";
6
+ } from "./location-lifecycle-pxdkqw7r.js";
7
7
  import {
8
- Service18,
9
- Event2
10
- } from "./filesystem-5j8szzxn.js";
8
+ Service15,
9
+ Event3
10
+ } from "./location-lifecycle-zj2xjtpe.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -39,7 +39,7 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
39
39
  var ModelsDevPlugin2 = define({
40
40
  id: "opencode.models.dev",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const modelsDev = yield* Service18;
42
+ const modelsDev = yield* Service15;
43
43
  const bus = yield* Service86;
44
44
  const loaded = { data: snapshots(yield* modelsDev.get()) };
45
45
  yield* ctx.integration.transform((integrations) => {
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
73
73
  loaded.data = snapshots(data);
74
74
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
75
75
  };
76
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
77
77
  const latest = yield* modelsDev.get();
78
78
  if (snapshots(latest) !== loaded.data)
79
79
  yield* apply(latest);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer7,
9
+ layer: () => layer5,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer7, exports_unavailable };
22
+ export { spawner2, layer5, exports_unavailable };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./filesystem-2bv980vf.js";
3
+ } from "./location-lifecycle-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./filesystem-g4wezp1m.js";
6
+ } from "./location-lifecycle-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./filesystem-x61499pn.js";
9
+ } from "./location-lifecycle-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./filesystem-af5trqkr.js";
12
+ } from "./location-lifecycle-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./filesystem-afrmfg78.js";
15
+ } from "./location-lifecycle-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./filesystem-x0ckcb58.js";
18
+ } from "./location-lifecycle-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-zkg84ctx.js";
5
+ } from "./location-lifecycle-zkg84ctx.js";
6
6
  import {
7
7
  __export
8
- } from "./filesystem-9rqn6x4v.js";
8
+ } from "./location-lifecycle-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-nwvcypp6.js";
3
+ } from "./location-lifecycle-dccfjtkm.js";
4
4
  import {
5
5
  OAuth3,
6
- Service81
7
- } from "./filesystem-g0rar7vt.js";
6
+ Service78
7
+ } from "./location-lifecycle-gcs60vk9.js";
8
8
  import {
9
- ID14,
9
+ ID13,
10
10
  MethodID2
11
- } from "./filesystem-y5smbybx.js";
11
+ } from "./location-lifecycle-0gqpdc35.js";
12
12
  import {
13
- ID13,
13
+ ID12,
14
14
  mergeOverlay2
15
- } from "./filesystem-ds6cc6fh.js";
15
+ } from "./location-lifecycle-67q39sdk.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID13.make("xai");
27
+ var providerID = ID12.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID14.make("xai"),
47
+ integrationID: ID13.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service81;
73
- yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
72
+ const credentials = yield* Service78;
73
+ yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service55
3
- } from "./filesystem-rrbn0j5d.js";
2
+ Service81
3
+ } from "./location-lifecycle-8q3v088a.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service55;
24
+ const environment = yield* Service81;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./filesystem-f4c57skx.js";
4
+ } from "./location-lifecycle-e870b599.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./filesystem-4fhqgc15.js";
8
+ } from "./location-lifecycle-wnz1azms.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./filesystem-pknna89w.js";
11
+ } from "./location-lifecycle-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./filesystem-m1714858.js";
14
+ } from "./location-lifecycle-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./location-lifecycle-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -22,13 +22,13 @@ __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event18,
24
24
  External: () => External2,
25
- ID: () => ID15,
26
- Info: () => Info26,
25
+ ID: () => ID14,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service81,
29
+ Service: () => Service78,
30
30
  Value: () => Value2,
31
- node: () => node85
31
+ node: () => node81
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 ID14 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
44
  var Event18 = Credential.Event;
45
45
 
46
- class Info26 extends Schema.Class("Credential.Info")({
47
- id: ID15,
46
+ class Info25 extends Schema.Class("Credential.Info")({
47
+ id: ID14,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service81 extends Context.Service()("@opencode/Credential") {
54
+ class Service78 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service81, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
57
57
  const db = (yield* Service87).db;
58
58
  const bus = yield* Service86;
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 Info25({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service81.of({
74
+ return Service78.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(Service81, 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 Info25({
83
+ id: input.id ?? ID14.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -204,6 +204,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  }));
207
- var node85 = makeGlobalNode({ service: Service81, layer, deps: [node91, node90] });
207
+ var node81 = makeGlobalNode({ service: Service78, layer, deps: [node91, node90] });
208
208
 
209
- export { ID15, OAuth3, Key4, External2, Value2, Event18, Info26, Service81, node85, exports_credential };
209
+ export { ID14, OAuth3, Key4, External2, Value2, Event18, Info25, Service78, node81, exports_credential };