@opencode/core 0.0.0-dev-21824 → 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 +81 -81
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{model-resolver-aj7mw0zk.js → location-lifecycle-034tev2y.js} +2 -2
  8. package/dist/chunks/{model-resolver-rqs3weq5.js → location-lifecycle-06ezgrzy.js} +8 -8
  9. package/dist/chunks/{model-resolver-f7g3fwn3.js → location-lifecycle-09r18skv.js} +20 -20
  10. package/dist/chunks/{model-resolver-nwf2p7qx.js → location-lifecycle-0gqpdc35.js} +27 -27
  11. package/dist/chunks/{model-resolver-803gsyg1.js → location-lifecycle-0mj3m2qe.js} +23 -23
  12. package/dist/chunks/{model-resolver-9bp57grk.js → location-lifecycle-0vyc9x74.js} +52 -52
  13. package/dist/chunks/{model-resolver-418q3ycz.js → location-lifecycle-157ttsdx.js} +54 -54
  14. package/dist/chunks/{model-resolver-z8gatmq1.js → location-lifecycle-1bmms672.js} +37 -37
  15. package/dist/chunks/{model-resolver-5nb7nmf0.js → location-lifecycle-1de3rwvd.js} +13 -13
  16. package/dist/chunks/{model-resolver-27w5k9zf.js → location-lifecycle-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{model-resolver-c4ryf7as.js → location-lifecycle-1fgt88qx.js} +31 -31
  18. package/dist/chunks/{model-resolver-mb2fjdtf.js → location-lifecycle-1kpwb10n.js} +33 -33
  19. package/dist/chunks/{model-resolver-7qnz14k0.js → location-lifecycle-1p9b9gvf.js} +44 -44
  20. package/dist/chunks/{model-resolver-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{model-resolver-61fq8ets.js → location-lifecycle-1zvetpda.js} +20 -20
  22. package/dist/chunks/{model-resolver-tb5m0pzj.js → location-lifecycle-2qxc72s4.js} +20 -20
  23. package/dist/chunks/{model-resolver-2z1j29yd.js → location-lifecycle-2z1j29yd.js} +1 -1
  24. package/dist/chunks/{model-resolver-d599j5f6.js → location-lifecycle-2zjh3nq3.js} +5 -5
  25. package/dist/chunks/{model-resolver-f2sxmxc4.js → location-lifecycle-2zp2gb6m.js} +37 -37
  26. package/dist/chunks/{model-resolver-vgk61ywp.js → location-lifecycle-32s59e8p.js} +9 -9
  27. package/dist/chunks/{model-resolver-hwcbxmjp.js → location-lifecycle-32xj0qwx.js} +13 -13
  28. package/dist/chunks/{model-resolver-0ak2zsy7.js → location-lifecycle-35yjq3b2.js} +12 -12
  29. package/dist/chunks/{model-resolver-q5bt1w9a.js → location-lifecycle-36s4rh9q.js} +11 -11
  30. package/dist/chunks/{model-resolver-8h7ezeqv.js → location-lifecycle-3c1pnkk3.js} +8 -8
  31. package/dist/chunks/{model-resolver-zskq6z57.js → location-lifecycle-3d32z0b5.js} +12 -12
  32. package/dist/chunks/{model-resolver-mqawjeef.js → location-lifecycle-3edhnm16.js} +21 -21
  33. package/dist/chunks/{model-resolver-xhrj57em.js → location-lifecycle-3eeark8j.js} +33 -33
  34. package/dist/chunks/{model-resolver-1t4kmtd0.js → location-lifecycle-3f1c5rw9.js} +11 -11
  35. package/dist/chunks/{model-resolver-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-resolver-wp39e252.js → location-lifecycle-3njh67zs.js} +15 -15
  37. package/dist/chunks/{model-resolver-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{model-resolver-40za9wsf.js → location-lifecycle-40za9wsf.js} +2 -2
  39. package/dist/chunks/{model-resolver-c9k0snj5.js → location-lifecycle-413e5bjn.js} +30 -30
  40. package/dist/chunks/{model-resolver-vcx0q4qn.js → location-lifecycle-435ejdhj.js} +27 -27
  41. package/dist/chunks/{model-resolver-82ja67e9.js → location-lifecycle-46p95yhx.js} +8 -8
  42. package/dist/chunks/{model-resolver-hdjrjngx.js → location-lifecycle-4agfam69.js} +32 -32
  43. package/dist/chunks/{model-resolver-f6tpkka6.js → location-lifecycle-4ek3z2qp.js} +14 -14
  44. package/dist/chunks/{model-resolver-fkj6e9em.js → location-lifecycle-4hm1p6t4.js} +26 -26
  45. package/dist/chunks/{model-resolver-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
  46. package/dist/chunks/{model-resolver-4xvmh7wp.js → location-lifecycle-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{model-resolver-69z9tmq3.js → location-lifecycle-50ecpaw5.js} +11 -11
  48. package/dist/chunks/{model-resolver-s6ttgfdk.js → location-lifecycle-51f8x9pa.js} +21 -21
  49. package/dist/chunks/{model-resolver-pzp2gaxy.js → location-lifecycle-5568dj31.js} +11 -11
  50. package/dist/chunks/{model-resolver-mpz4w9bp.js → location-lifecycle-57t85xsq.js} +18 -18
  51. package/dist/chunks/{model-resolver-8m56m6bs.js → location-lifecycle-5d7xngw8.js} +13 -13
  52. package/dist/chunks/{model-resolver-we45g5b8.js → location-lifecycle-5ecqqef8.js} +47 -47
  53. package/dist/chunks/{model-resolver-jctb9d8a.js → location-lifecycle-5kbev7nh.js} +6 -6
  54. package/dist/chunks/{model-resolver-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{model-resolver-b6vsg801.js → location-lifecycle-5nnwax6m.js} +5 -5
  56. package/dist/chunks/{model-resolver-e3qxr5gk.js → location-lifecycle-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{model-resolver-5cy8hwkn.js → location-lifecycle-67q39sdk.js} +26 -26
  58. package/dist/chunks/{model-resolver-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{model-resolver-0z2x41ky.js → location-lifecycle-6p5kxrcn.js} +11 -11
  60. package/dist/chunks/{model-resolver-6pjqjmy2.js → location-lifecycle-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{model-resolver-33fvch51.js → location-lifecycle-6qg9c6q0.js} +1 -1
  62. package/dist/chunks/{model-resolver-1bcx7d2f.js → location-lifecycle-6t633b8k.js} +8 -8
  63. package/dist/chunks/{model-resolver-qvakvk9r.js → location-lifecycle-6yf8mef0.js} +19 -19
  64. package/dist/chunks/{model-resolver-1y1rj8zc.js → location-lifecycle-742ze767.js} +28 -28
  65. package/dist/chunks/{model-resolver-kf9wr7tw.js → location-lifecycle-75bc8n2n.js} +24 -24
  66. package/dist/chunks/{model-resolver-76cb1hcw.js → location-lifecycle-76cb1hcw.js} +1 -1
  67. package/dist/chunks/{model-resolver-nah043kf.js → location-lifecycle-770pw0s1.js} +4 -4
  68. package/dist/chunks/{model-resolver-mzkm9t0w.js → location-lifecycle-7a8d5kd0.js} +3 -3
  69. package/dist/chunks/{model-resolver-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{model-resolver-tsp66mz8.js → location-lifecycle-7shxwfzw.js} +34 -34
  71. package/dist/chunks/{model-resolver-nphq4awb.js → location-lifecycle-7vchxsnv.js} +7 -7
  72. package/dist/chunks/{model-resolver-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{model-resolver-afmnpta1.js → location-lifecycle-7xg2jm5b.js} +5 -5
  74. package/dist/chunks/{model-resolver-rxrz6b15.js → location-lifecycle-7yect7x1.js} +2 -2
  75. package/dist/chunks/location-lifecycle-8414x7my.js +261 -0
  76. package/dist/chunks/{model-resolver-j2sak5a4.js → location-lifecycle-86nga2pg.js} +11 -11
  77. package/dist/chunks/{model-resolver-af84d9dx.js → location-lifecycle-88j2ywh2.js} +19 -19
  78. package/dist/chunks/{model-resolver-ywa96x82.js → location-lifecycle-8j8x0ypw.js} +11 -11
  79. package/dist/chunks/{model-resolver-atw6zx0t.js → location-lifecycle-8pn39epj.js} +29 -29
  80. package/dist/chunks/{model-resolver-0mpqe4g5.js → location-lifecycle-8psf50w9.js} +14 -14
  81. package/dist/chunks/{model-resolver-gr17tpj8.js → location-lifecycle-8q3v088a.js} +21 -21
  82. package/dist/chunks/{model-resolver-xy47wren.js → location-lifecycle-8r31w3mw.js} +91 -91
  83. package/dist/chunks/{model-resolver-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{model-resolver-91rj84md.js → location-lifecycle-91rj84md.js} +1 -1
  85. package/dist/chunks/{model-resolver-ey1k9yry.js → location-lifecycle-951gfphn.js} +18 -18
  86. package/dist/chunks/{model-resolver-hz3jmkcm.js → location-lifecycle-9805fe88.js} +3 -3
  87. package/dist/chunks/{model-resolver-65q1a8c2.js → location-lifecycle-992x37hq.js} +2 -2
  88. package/dist/chunks/{model-resolver-dvj9ct8m.js → location-lifecycle-998yhzzq.js} +3 -3
  89. package/dist/chunks/{model-resolver-esjvkzj3.js → location-lifecycle-9cfxjga2.js} +4 -4
  90. package/dist/chunks/{model-resolver-9cx9sm2q.js → location-lifecycle-9cx9sm2q.js} +1 -1
  91. package/dist/chunks/{model-resolver-rejxp4z0.js → location-lifecycle-9ebynfn0.js} +24 -24
  92. package/dist/chunks/{model-resolver-s8m3mb5a.js → location-lifecycle-9nj2740a.js} +13 -13
  93. package/dist/chunks/{model-resolver-hvvf9qw8.js → location-lifecycle-9nkjg9qd.js} +6 -6
  94. package/dist/chunks/{model-resolver-j2fby693.js → location-lifecycle-9scg20h1.js} +13 -13
  95. package/dist/chunks/{model-resolver-m3xvpryp.js → location-lifecycle-9yc96src.js} +52 -52
  96. package/dist/chunks/{model-resolver-ffcdgexk.js → location-lifecycle-9ytkwk8q.js} +5 -5
  97. package/dist/chunks/{model-resolver-d3774dqa.js → location-lifecycle-a08db8pb.js} +14 -14
  98. package/dist/chunks/{model-resolver-xaj9bxpr.js → location-lifecycle-a0et8sps.js} +32 -32
  99. package/dist/chunks/{model-resolver-scz2dc1h.js → location-lifecycle-a1ref3hp.js} +13 -13
  100. package/dist/chunks/{model-resolver-h2dp6rby.js → location-lifecycle-a3h99bw5.js} +9 -9
  101. package/dist/chunks/{model-resolver-q8rfhkjm.js → location-lifecycle-a41ejy6z.js} +4 -4
  102. package/dist/chunks/{model-resolver-6jm5dfm3.js → location-lifecycle-a68j5p6f.js} +9 -9
  103. package/dist/chunks/{model-resolver-hvan4r9d.js → location-lifecycle-aa6rhnpe.js} +21 -21
  104. package/dist/chunks/{model-resolver-ym4mb7j3.js → location-lifecycle-afbxbw72.js} +11 -11
  105. package/dist/chunks/{model-resolver-5wcnt0wa.js → location-lifecycle-anfwg7gt.js} +11 -11
  106. package/dist/chunks/{model-resolver-3d1a3cpa.js → location-lifecycle-anzexaze.js} +19 -19
  107. package/dist/chunks/{model-resolver-msntj4bj.js → location-lifecycle-apcraaat.js} +14 -14
  108. package/dist/chunks/{model-resolver-w362tghn.js → location-lifecycle-avysa06y.js} +20 -20
  109. package/dist/chunks/{model-resolver-b45qxgvc.js → location-lifecycle-aw0rdgjt.js} +11 -11
  110. package/dist/chunks/{model-resolver-3cbjf1nt.js → location-lifecycle-ayjs7tqn.js} +2 -2
  111. package/dist/chunks/{model-resolver-g1bhyb56.js → location-lifecycle-b00nmbcn.js} +8 -8
  112. package/dist/chunks/{model-resolver-b0mv4wxm.js → location-lifecycle-b0mv4wxm.js} +2 -2
  113. package/dist/chunks/{model-resolver-gzqxm82s.js → location-lifecycle-b6n7nw5p.js} +20 -20
  114. package/dist/chunks/{model-resolver-63ye1ehg.js → location-lifecycle-b7w6s8p5.js} +10 -10
  115. package/dist/chunks/{model-resolver-11y6r1g0.js → location-lifecycle-bbbezdga.js} +23 -23
  116. package/dist/chunks/{model-resolver-hjg8p6dt.js → location-lifecycle-bhjvzhfy.js} +18 -18
  117. package/dist/chunks/{model-resolver-61ennm6n.js → location-lifecycle-bjhzkqyk.js} +4 -4
  118. package/dist/chunks/{model-resolver-qckrz8jc.js → location-lifecycle-bsr5npnb.js} +3 -3
  119. package/dist/chunks/{model-resolver-5r72z9dp.js → location-lifecycle-c2gy53he.js} +8 -8
  120. package/dist/chunks/{model-resolver-kxkntq3g.js → location-lifecycle-c3qftb49.js} +16 -16
  121. package/dist/chunks/{model-resolver-fe77ttzw.js → location-lifecycle-c78bsrpc.js} +8 -8
  122. package/dist/chunks/{model-resolver-z799v63j.js → location-lifecycle-c7p956y6.js} +29 -29
  123. package/dist/chunks/{model-resolver-me7kxg3j.js → location-lifecycle-cs87y13h.js} +8 -8
  124. package/dist/chunks/{model-resolver-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{model-resolver-w72ah3vp.js → location-lifecycle-d963e9nv.js} +4 -4
  126. package/dist/chunks/{model-resolver-4wb8q865.js → location-lifecycle-da7xvg6p.js} +27 -27
  127. package/dist/chunks/{model-resolver-7nbsn3c1.js → location-lifecycle-dccfjtkm.js} +11 -11
  128. package/dist/chunks/{model-resolver-vcx56sb0.js → location-lifecycle-df96cq4z.js} +9 -9
  129. package/dist/chunks/{model-resolver-mn53dk4j.js → location-lifecycle-djjzzs3c.js} +3 -3
  130. package/dist/chunks/{model-resolver-dczsttdk.js → location-lifecycle-dnw0rj89.js} +9 -9
  131. package/dist/chunks/location-lifecycle-dr1hh12s.js +517 -0
  132. package/dist/chunks/{model-resolver-e2ne77ac.js → location-lifecycle-drvbhkez.js} +4 -4
  133. package/dist/chunks/{model-resolver-vkkqkfme.js → location-lifecycle-dws4rekc.js} +11 -11
  134. package/dist/chunks/{model-resolver-0b24q0cx.js → location-lifecycle-dxykbx1a.js} +23 -23
  135. package/dist/chunks/{model-resolver-k17y3afg.js → location-lifecycle-e07q2w5p.js} +6 -6
  136. package/dist/chunks/{model-resolver-akea24pr.js → location-lifecycle-e12w6dtp.js} +18 -18
  137. package/dist/chunks/{model-resolver-daht94gm.js → location-lifecycle-e1ranap3.js} +1 -1
  138. package/dist/chunks/{model-resolver-10efznhb.js → location-lifecycle-e2tba9md.js} +17 -17
  139. package/dist/chunks/{model-resolver-7eq1vvbj.js → location-lifecycle-e4s86g6j.js} +10 -10
  140. package/dist/chunks/{model-resolver-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
  141. package/dist/chunks/{model-resolver-smcjsr17.js → location-lifecycle-e870b599.js} +11 -11
  142. package/dist/chunks/{model-resolver-ec0dmxm2.js → location-lifecycle-ec9v8bzb.js} +18 -18
  143. package/dist/chunks/{model-resolver-q25re44e.js → location-lifecycle-ectz1n32.js} +3 -3
  144. package/dist/chunks/{model-resolver-3tt1qkhr.js → location-lifecycle-engkm2d6.js} +5 -5
  145. package/dist/chunks/{model-resolver-fxkq0y0b.js → location-lifecycle-eq1akb9r.js} +25 -25
  146. package/dist/chunks/{model-resolver-fvqqv4et.js → location-lifecycle-eyvjr0jg.js} +26 -26
  147. package/dist/chunks/{model-resolver-29twwrpw.js → location-lifecycle-f4vgery6.js} +21 -21
  148. package/dist/chunks/{model-resolver-frqrgtcd.js → location-lifecycle-fbyakzmk.js} +182 -182
  149. package/dist/chunks/{model-resolver-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
  150. package/dist/chunks/{model-resolver-qdr526kf.js → location-lifecycle-fmg054cs.js} +3 -3
  151. package/dist/chunks/{model-resolver-qk22s80r.js → location-lifecycle-fnygd1nj.js} +14 -14
  152. package/dist/chunks/{model-resolver-10pb4aek.js → location-lifecycle-frdmxv06.js} +13 -13
  153. package/dist/chunks/{model-resolver-g6jpb364.js → location-lifecycle-frjevq5v.js} +32 -32
  154. package/dist/chunks/{model-resolver-xgzatw4h.js → location-lifecycle-ftt01jz2.js} +17 -17
  155. package/dist/chunks/{model-resolver-emq6awqh.js → location-lifecycle-fwp9mfc9.js} +4 -4
  156. package/dist/chunks/{model-resolver-0jc0zze9.js → location-lifecycle-fx5kqmvd.js} +9 -9
  157. package/dist/chunks/{model-resolver-wr3re1en.js → location-lifecycle-fznmdakp.js} +4 -4
  158. package/dist/chunks/{model-resolver-mna4ccr2.js → location-lifecycle-g13qewtb.js} +6 -6
  159. package/dist/chunks/{model-resolver-g5h9c0rr.js → location-lifecycle-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{model-resolver-bqqm0g8t.js → location-lifecycle-g5s4yfa7.js} +11 -11
  161. package/dist/chunks/{model-resolver-x5xqqq2t.js → location-lifecycle-gbed8n64.js} +4 -4
  162. package/dist/chunks/{model-resolver-xk05dnhf.js → location-lifecycle-gcs60vk9.js} +25 -25
  163. package/dist/chunks/{model-resolver-8t76f5pn.js → location-lifecycle-gj025hnp.js} +9 -9
  164. package/dist/chunks/{model-resolver-rzgd3z9h.js → location-lifecycle-gq43p9bv.js} +11 -11
  165. package/dist/chunks/location-lifecycle-gqxtb57b.js +26 -0
  166. package/dist/chunks/{model-resolver-pp4ewjef.js → location-lifecycle-gvn0qkq4.js} +15 -15
  167. package/dist/chunks/{model-resolver-2t8c4xp2.js → location-lifecycle-h5qan5zz.js} +8 -8
  168. package/dist/chunks/{model-resolver-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
  169. package/dist/chunks/{model-resolver-g7esga4v.js → location-lifecycle-hfgk9wzg.js} +7 -7
  170. package/dist/chunks/{model-resolver-x3t9xer4.js → location-lifecycle-hfzr0j9k.js} +7 -7
  171. package/dist/chunks/{model-resolver-86cab14v.js → location-lifecycle-hgdppmnw.js} +12 -12
  172. package/dist/chunks/{model-resolver-pch3hz0d.js → location-lifecycle-hyetydc1.js} +7 -7
  173. package/dist/chunks/{model-resolver-j113cymg.js → location-lifecycle-j113cymg.js} +1 -1
  174. package/dist/chunks/{model-resolver-f6fgqg68.js → location-lifecycle-je5hz476.js} +22 -22
  175. package/dist/chunks/{model-resolver-r31y8xxz.js → location-lifecycle-jehnak5d.js} +23 -23
  176. package/dist/chunks/{model-resolver-8kqcsjtz.js → location-lifecycle-jg3yeysd.js} +14 -14
  177. package/dist/chunks/{model-resolver-nkhqptws.js → location-lifecycle-jktd17zr.js} +25 -25
  178. package/dist/chunks/{model-resolver-rypfym0z.js → location-lifecycle-jqrrajmw.js} +14 -14
  179. package/dist/chunks/{model-resolver-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
  180. package/dist/chunks/{model-resolver-8y5hzfxe.js → location-lifecycle-kac0vvew.js} +11 -11
  181. package/dist/chunks/{model-resolver-x1fxt013.js → location-lifecycle-kec0ksjq.js} +19 -19
  182. package/dist/chunks/{model-resolver-y2rsaeas.js → location-lifecycle-kprb24q4.js} +41 -41
  183. package/dist/chunks/{model-resolver-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{model-resolver-m1714858.js → location-lifecycle-m1714858.js} +1 -1
  185. package/dist/chunks/{model-resolver-v842z5bm.js → location-lifecycle-m48kphhn.js} +4 -4
  186. package/dist/chunks/{model-resolver-hy3y5vxb.js → location-lifecycle-m5apnkkj.js} +11 -11
  187. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{model-resolver-maspj1v3.js → location-lifecycle-maspj1v3.js} +1 -1
  189. package/dist/chunks/{model-resolver-qvw98tg0.js → location-lifecycle-mbwgdc5a.js} +5 -5
  190. package/dist/chunks/location-lifecycle-me0dhgxs.js +18 -0
  191. package/dist/chunks/{model-resolver-2nasskxr.js → location-lifecycle-mjhp71bb.js} +45 -45
  192. package/dist/chunks/{model-resolver-630f2syh.js → location-lifecycle-ms60x9fc.js} +30 -30
  193. package/dist/chunks/{model-resolver-m5regarp.js → location-lifecycle-mvsbfcth.js} +3 -3
  194. package/dist/chunks/{model-resolver-xge113x8.js → location-lifecycle-mzr8qcts.js} +8 -8
  195. package/dist/chunks/{model-resolver-7jehd3qf.js → location-lifecycle-nfepp5zp.js} +15 -15
  196. package/dist/chunks/{model-resolver-12vp2fj6.js → location-lifecycle-ng4qg3fx.js} +46 -46
  197. package/dist/chunks/{model-resolver-ms888k1z.js → location-lifecycle-njtsvrb4.js} +9 -9
  198. package/dist/chunks/{model-resolver-c7sh4d0v.js → location-lifecycle-nkpwy2rp.js} +11 -11
  199. package/dist/chunks/{model-resolver-vjqpxba6.js → location-lifecycle-nz3pz1tw.js} +83 -83
  200. package/dist/chunks/{model-resolver-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
  201. package/dist/chunks/{model-resolver-bt2mfhwt.js → location-lifecycle-p0d4rfr5.js} +5 -5
  202. package/dist/chunks/{model-resolver-5zrxpy3q.js → location-lifecycle-p7vhpwh8.js} +5 -5
  203. package/dist/chunks/{model-resolver-s7hdmqvc.js → location-lifecycle-phdfpjbh.js} +4 -4
  204. package/dist/chunks/{model-resolver-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  205. package/dist/chunks/{model-resolver-8eyz045r.js → location-lifecycle-ps1n2edm.js} +47 -47
  206. package/dist/chunks/{model-resolver-j7ztxdyv.js → location-lifecycle-ptb0zbfq.js} +16 -16
  207. package/dist/chunks/{model-resolver-nxh2s6jf.js → location-lifecycle-pxdkqw7r.js} +32 -32
  208. package/dist/chunks/{model-resolver-6k9kp4xt.js → location-lifecycle-pzwcb5qk.js} +16 -16
  209. package/dist/chunks/{model-resolver-vdasrjze.js → location-lifecycle-q8h1f998.js} +26 -26
  210. package/dist/chunks/{model-resolver-ksez1xmc.js → location-lifecycle-qj1q6p4a.js} +21 -21
  211. package/dist/chunks/{model-resolver-6ejkr8wa.js → location-lifecycle-qns03ea0.js} +33 -33
  212. package/dist/chunks/{model-resolver-1s53h09z.js → location-lifecycle-qqp4xta8.js} +17 -17
  213. package/dist/chunks/{model-resolver-bf131yvm.js → location-lifecycle-qt6xa0r4.js} +4 -4
  214. package/dist/chunks/{model-resolver-pqwj4rse.js → location-lifecycle-qv7y9773.js} +9 -9
  215. package/dist/chunks/{model-resolver-dat5z7dd.js → location-lifecycle-qvr2rrtk.js} +16 -16
  216. package/dist/chunks/{model-resolver-qyq8h28g.js → location-lifecycle-qyq8h28g.js} +1 -1
  217. package/dist/chunks/{model-resolver-ccftg0qn.js → location-lifecycle-qzzf3e3r.js} +24 -24
  218. package/dist/chunks/{model-resolver-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{model-resolver-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
  220. package/dist/chunks/{model-resolver-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{model-resolver-7whwbhx2.js → location-lifecycle-rcb6y6qt.js} +2 -2
  222. package/dist/chunks/{model-resolver-vrcsa8qx.js → location-lifecycle-rjnacbrz.js} +9 -9
  223. package/dist/chunks/{model-resolver-8qhr1qgv.js → location-lifecycle-rmt5ct6z.js} +21 -21
  224. package/dist/chunks/{model-resolver-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{model-resolver-nr4h8hhe.js → location-lifecycle-rvkz6b3j.js} +5 -5
  226. package/dist/chunks/{model-resolver-xp82r058.js → location-lifecycle-rvqj7kwa.js} +15 -15
  227. package/dist/chunks/{model-resolver-7m6e6bj4.js → location-lifecycle-rz88mfas.js} +45 -45
  228. package/dist/chunks/{model-resolver-ah5t8643.js → location-lifecycle-s4bgcgc7.js} +41 -41
  229. package/dist/chunks/{model-resolver-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{model-resolver-5znn373e.js → location-lifecycle-sdngsbgs.js} +3 -3
  231. package/dist/chunks/{model-resolver-c8j7dx8q.js → location-lifecycle-snahbe28.js} +11 -11
  232. package/dist/chunks/{model-resolver-gds3y6dw.js → location-lifecycle-snx5yfz7.js} +7 -7
  233. package/dist/chunks/{model-resolver-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{model-resolver-c9t2ty9q.js → location-lifecycle-ssfehs1z.js} +4 -4
  235. package/dist/chunks/{model-resolver-pg8q45fa.js → location-lifecycle-sxxsahz6.js} +7 -7
  236. package/dist/chunks/{model-resolver-wz387nhs.js → location-lifecycle-t046hrcv.js} +8 -8
  237. package/dist/chunks/{model-resolver-kmam2x31.js → location-lifecycle-t0vb5p66.js} +12 -12
  238. package/dist/chunks/{model-resolver-83w2q382.js → location-lifecycle-t2w38zde.js} +30 -30
  239. package/dist/chunks/{model-resolver-b53a2435.js → location-lifecycle-t3fc188m.js} +17 -17
  240. package/dist/chunks/{model-resolver-78dab631.js → location-lifecycle-t4wqpqs4.js} +30 -30
  241. package/dist/chunks/{model-resolver-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
  242. package/dist/chunks/{model-resolver-8j00d0n5.js → location-lifecycle-te1haqs4.js} +12 -12
  243. package/dist/chunks/{model-resolver-zbs8468w.js → location-lifecycle-te2z8gzs.js} +74 -74
  244. package/dist/chunks/{model-resolver-160yv0cs.js → location-lifecycle-tg1vr1qt.js} +8 -8
  245. package/dist/chunks/{model-resolver-t2tc5r6d.js → location-lifecycle-tmjxyh9r.js} +6 -6
  246. package/dist/chunks/{model-resolver-chmj2sz0.js → location-lifecycle-tq8vqm91.js} +17 -17
  247. package/dist/chunks/{model-resolver-twv2r8f4.js → location-lifecycle-twv2r8f4.js} +2 -2
  248. package/dist/chunks/{model-resolver-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{model-resolver-deqbajdy.js → location-lifecycle-v53et2yk.js} +5 -5
  250. package/dist/chunks/{model-resolver-vd3b3yk9.js → location-lifecycle-vd3b3yk9.js} +1 -1
  251. package/dist/chunks/{model-resolver-1sbnnat1.js → location-lifecycle-veb1b92r.js} +12 -12
  252. package/dist/chunks/{model-resolver-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-resolver-db579ykn.js → location-lifecycle-vg8z76t4.js} +50 -50
  254. package/dist/chunks/{model-resolver-8sktcs9h.js → location-lifecycle-vpgtgc27.js} +4 -4
  255. package/dist/chunks/{model-resolver-hzrfc1p4.js → location-lifecycle-vpm8vpz0.js} +3 -3
  256. package/dist/chunks/{model-resolver-3wyhrqfb.js → location-lifecycle-vycsk1c7.js} +8 -8
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-p5hnaym9.js → location-lifecycle-w54mkzpv.js} +33 -33
  259. package/dist/chunks/{model-resolver-hm3czf85.js → location-lifecycle-w8ytyev4.js} +1 -1
  260. package/dist/chunks/{model-resolver-xrqjfmtn.js → location-lifecycle-wa9en833.js} +31 -31
  261. package/dist/chunks/{model-resolver-xw34nzzk.js → location-lifecycle-wag9xyar.js} +5 -5
  262. package/dist/chunks/{model-resolver-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{model-resolver-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  264. package/dist/chunks/{model-resolver-z9cvf2rv.js → location-lifecycle-wnz1azms.js} +16 -16
  265. package/dist/chunks/{model-resolver-wtgq8nqm.js → location-lifecycle-wtgq8nqm.js} +1 -1
  266. package/dist/chunks/{model-resolver-5zwkbtbg.js → location-lifecycle-wwfabvmy.js} +13 -13
  267. package/dist/chunks/{model-resolver-bx5t9whz.js → location-lifecycle-x17ah571.js} +21 -21
  268. package/dist/chunks/{model-resolver-fcj36fpe.js → location-lifecycle-x87bzsmd.js} +21 -21
  269. package/dist/chunks/{model-resolver-x8nvjgx0.js → location-lifecycle-x8nvjgx0.js} +1 -1
  270. package/dist/chunks/{model-resolver-39teg3wn.js → location-lifecycle-xb278pxb.js} +31 -31
  271. package/dist/chunks/{model-resolver-9hpb6mzf.js → location-lifecycle-xd6kzcb0.js} +15 -15
  272. package/dist/chunks/{model-resolver-bstexjd6.js → location-lifecycle-xd9cc171.js} +5 -5
  273. package/dist/chunks/{model-resolver-fa91c1bh.js → location-lifecycle-xdcxsav6.js} +31 -31
  274. package/dist/chunks/{model-resolver-5nbxbk6s.js → location-lifecycle-y01veweq.js} +12 -12
  275. package/dist/chunks/{model-resolver-7jtzgymz.js → location-lifecycle-y5q36pfq.js} +4 -4
  276. package/dist/chunks/{model-resolver-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
  277. package/dist/chunks/{model-resolver-afwwx8by.js → location-lifecycle-ybqjtrnz.js} +15 -15
  278. package/dist/chunks/{model-resolver-asn1derg.js → location-lifecycle-ygjypke9.js} +20 -20
  279. package/dist/chunks/{model-resolver-masd7ga8.js → location-lifecycle-ynrq1a8k.js} +4 -4
  280. package/dist/chunks/{model-resolver-w7c0w3yt.js → location-lifecycle-ypzswc5a.js} +14 -14
  281. package/dist/chunks/{model-resolver-7j9fhv60.js → location-lifecycle-yx7j83gx.js} +4 -4
  282. package/dist/chunks/{model-resolver-rcpyc0ca.js → location-lifecycle-yy11h7xe.js} +5 -5
  283. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{model-resolver-228bjbav.js → location-lifecycle-z2kpe0d7.js} +2 -2
  285. package/dist/chunks/{model-resolver-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
  286. package/dist/chunks/{model-resolver-y00x4xpa.js → location-lifecycle-zfyb5tr4.js} +4 -4
  287. package/dist/chunks/{model-resolver-j6c6q1qg.js → location-lifecycle-zj2xjtpe.js} +38 -38
  288. package/dist/chunks/{model-resolver-zkg84ctx.js → location-lifecycle-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{model-resolver-tbtqmx60.js → location-lifecycle-zr0c5wvp.js} +5 -5
  290. package/dist/chunks/{model-resolver-rckcvcrm.js → location-lifecycle-zta2ja2d.js} +18 -18
  291. package/dist/chunks/{model-resolver-3x2erv17.js → location-lifecycle-zvg5ahhp.js} +10 -10
  292. package/dist/chunks/{model-resolver-rgj5zy3t.js → location-lifecycle-zzaqn35t.js} +46 -46
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +87 -87
  298. package/dist/config/discovery.js +87 -87
  299. package/dist/config/integration.js +5 -5
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +104 -104
  302. package/dist/config/plugin/agent.js +118 -118
  303. package/dist/config/plugin/command.js +214 -214
  304. package/dist/config/plugin/compaction.js +157 -157
  305. package/dist/config/plugin/compatibility.js +137 -137
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +119 -119
  308. package/dist/config/plugin/image.js +118 -118
  309. package/dist/config/plugin/instruction.js +118 -118
  310. package/dist/config/plugin/location-watcher.js +118 -118
  311. package/dist/config/plugin/mcp.js +125 -125
  312. package/dist/config/plugin/policy.js +120 -120
  313. package/dist/config/plugin/provider.js +119 -119
  314. package/dist/config/plugin/reference.js +120 -120
  315. package/dist/config/plugin/shell.js +116 -116
  316. package/dist/config/plugin/skill-file.js +107 -107
  317. package/dist/config/plugin/skill-scan.js +3 -3
  318. package/dist/config/plugin/skill.js +138 -138
  319. package/dist/config/plugin/snapshot.js +118 -118
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +119 -119
  322. package/dist/config/plugin/websearch.js +117 -117
  323. package/dist/config/plugin/worktree.js +120 -120
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +123 -123
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +85 -85
  330. package/dist/database/database.js +74 -74
  331. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +13 -13
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +14 -14
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration.gen.js +53 -53
  400. package/dist/database/migration.js +55 -55
  401. package/dist/database/path.js +2 -2
  402. package/dist/database/schema.gen.js +1 -1
  403. package/dist/database/schema.sql.js +1 -1
  404. package/dist/database/sqlite.bun.js +1 -1
  405. package/dist/database/sqlite.js +1 -1
  406. package/dist/database/sqlite.node.js +1 -1
  407. package/dist/database/sqlite.workerd.js +1 -1
  408. package/dist/database/v1-migration.bun.js +93 -93
  409. package/dist/database/v1-migration.js +1 -1
  410. package/dist/effect/app-node-builder.js +376 -376
  411. package/dist/effect/app-node-platform.js +2 -2
  412. package/dist/effect/keyed-mutex.js +1 -1
  413. package/dist/effect/websocket-constructor.js +1 -1
  414. package/dist/environment/driver.js +1 -1
  415. package/dist/environment/environment.js +98 -98
  416. package/dist/environment/exec-defaults.js +2 -2
  417. package/dist/environment/files.js +1 -1
  418. package/dist/environment/index.js +98 -98
  419. package/dist/environment/local.js +2 -2
  420. package/dist/environment/memory.js +2 -2
  421. package/dist/environment/unavailable.js +3 -3
  422. package/dist/event/sql.js +1 -1
  423. package/dist/event-logger.js +78 -78
  424. package/dist/file-access.js +109 -109
  425. package/dist/file-mutation.js +99 -99
  426. package/dist/file-retention.js +1 -1
  427. package/dist/filesystem/fff.bun.js +2 -2
  428. package/dist/filesystem/fff.js +1 -1
  429. package/dist/filesystem/fff.node.js +2 -2
  430. package/dist/filesystem/fff.workerd.js +2 -2
  431. package/dist/filesystem/location-watcher-policy.js +6 -6
  432. package/dist/filesystem/location-watcher.js +227 -227
  433. package/dist/filesystem/protected.js +1 -1
  434. package/dist/filesystem/search.js +104 -104
  435. package/dist/filesystem/watcher-binding.js +3 -3
  436. package/dist/filesystem/watcher.js +11 -11
  437. package/dist/filesystem.js +107 -107
  438. package/dist/form.js +82 -82
  439. package/dist/formatter/builtins.js +2 -2
  440. package/dist/formatter.js +92 -92
  441. package/dist/generate.js +112 -112
  442. package/dist/git.js +11 -11
  443. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  444. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  445. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  447. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  449. package/dist/github-copilot/copilot-provider.js +17 -17
  450. package/dist/github-copilot/models.js +96 -96
  451. package/dist/github-copilot/openai-compatible-error.js +1 -1
  452. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  453. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  454. package/dist/github-copilot/responses/openai-error.js +1 -1
  455. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  456. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  457. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  458. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  459. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  461. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  462. package/dist/image/photon.js +2 -2
  463. package/dist/image.js +6 -6
  464. package/dist/instance/service.js +5 -5
  465. package/dist/instance.js +367 -367
  466. package/dist/instruction-discovery.js +88 -88
  467. package/dist/instructions/builtins.js +92 -92
  468. package/dist/instructions/index.js +3 -3
  469. package/dist/integration/connection.js +3 -3
  470. package/dist/integration.js +89 -89
  471. package/dist/job.js +80 -80
  472. package/dist/kv/sql.js +2 -2
  473. package/dist/kv.js +77 -77
  474. package/dist/location-activity.js +161 -161
  475. package/dist/location-lifecycle.js +112 -112
  476. package/dist/location-service-map.js +91 -91
  477. package/dist/location-services.js +364 -364
  478. package/dist/location.js +86 -86
  479. package/dist/managed-policy.js +9 -9
  480. package/dist/mcp/client.js +96 -96
  481. package/dist/mcp/index.js +114 -114
  482. package/dist/mcp/instructions.js +143 -143
  483. package/dist/mcp/oauth.js +82 -82
  484. package/dist/mcp/socket-client.js +1 -1
  485. package/dist/mcp/stdio.js +95 -95
  486. package/dist/mime.js +1 -1
  487. package/dist/modal/models.js +96 -96
  488. package/dist/model-resolver.js +104 -104
  489. package/dist/model-retry.js +1 -1
  490. package/dist/model.js +107 -107
  491. package/dist/models-dev.js +112 -112
  492. package/dist/oauth/page.js +1 -1
  493. package/dist/permission/saved.js +86 -86
  494. package/dist/permission/sql.js +5 -5
  495. package/dist/permission.js +120 -120
  496. package/dist/persistent-pty/binary.bun.js +1 -1
  497. package/dist/persistent-pty/daemon.js +1 -1
  498. package/dist/persistent-pty/index.js +92 -92
  499. package/dist/persistent-pty/pty-binding.js +1 -1
  500. package/dist/persistent-pty.js +79 -79
  501. package/dist/plugin/agent.js +78 -78
  502. package/dist/plugin/command.js +105 -105
  503. package/dist/plugin/hooks.js +5 -5
  504. package/dist/plugin/host.js +222 -222
  505. package/dist/plugin/identity.js +5 -5
  506. package/dist/plugin/instance.js +5 -5
  507. package/dist/plugin/internal.js +337 -337
  508. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  509. package/dist/plugin/models-dev.js +101 -101
  510. package/dist/plugin/module.js +120 -120
  511. package/dist/plugin/optimize.js +2 -2
  512. package/dist/plugin/plan.js +107 -107
  513. package/dist/plugin/promise.js +1 -1
  514. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  515. package/dist/plugin/provider/azure.js +118 -118
  516. package/dist/plugin/provider/cerebras.js +1 -1
  517. package/dist/plugin/provider/chatgpt.js +118 -118
  518. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  519. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  520. package/dist/plugin/provider/cohere.js +2 -2
  521. package/dist/plugin/provider/configured.js +114 -114
  522. package/dist/plugin/provider/databricks.js +1 -1
  523. package/dist/plugin/provider/digitalocean.js +98 -98
  524. package/dist/plugin/provider/dynamic.js +2 -2
  525. package/dist/plugin/provider/factory.js +1 -1
  526. package/dist/plugin/provider/github-copilot.js +100 -100
  527. package/dist/plugin/provider/gitlab.js +98 -98
  528. package/dist/plugin/provider/google-vertex.js +115 -115
  529. package/dist/plugin/provider/kilo.js +1 -1
  530. package/dist/plugin/provider/llmgateway.js +82 -82
  531. package/dist/plugin/provider/lmstudio.js +127 -127
  532. package/dist/plugin/provider/local.js +124 -124
  533. package/dist/plugin/provider/modal.js +97 -97
  534. package/dist/plugin/provider/neon.js +1 -1
  535. package/dist/plugin/provider/nvidia.js +1 -1
  536. package/dist/plugin/provider/ollama.js +127 -127
  537. package/dist/plugin/provider/openai-context-caps.js +95 -95
  538. package/dist/plugin/provider/openai.js +118 -118
  539. package/dist/plugin/provider/opencode-legacy.js +103 -103
  540. package/dist/plugin/provider/opencode.js +124 -124
  541. package/dist/plugin/provider/openrouter.js +96 -96
  542. package/dist/plugin/provider/perplexity.js +2 -2
  543. package/dist/plugin/provider/poe.js +83 -83
  544. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  545. package/dist/plugin/provider/sap-ai-core.js +96 -96
  546. package/dist/plugin/provider/sdk-factory.js +1 -1
  547. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  548. package/dist/plugin/provider/vercel.js +95 -95
  549. package/dist/plugin/provider/vllm.js +125 -125
  550. package/dist/plugin/provider/xai.js +96 -96
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +175 -175
  553. package/dist/plugin/sdk.js +80 -80
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +134 -134
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +356 -356
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +4 -4
  560. package/dist/plugin/vcs/git.js +91 -91
  561. package/dist/plugin/vcs/hg.js +91 -91
  562. package/dist/plugin/verbosity.js +98 -98
  563. package/dist/plugin/warming.js +114 -114
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +2 -2
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +6 -6
  571. package/dist/plugin.js +231 -231
  572. package/dist/project/schema.js +2 -2
  573. package/dist/project/sql.js +4 -4
  574. package/dist/project.js +85 -85
  575. package/dist/provider.js +102 -102
  576. package/dist/pty/protocol.js +1 -1
  577. package/dist/pty/ticket.js +1 -1
  578. package/dist/pty.js +101 -101
  579. package/dist/reference/instructions.js +94 -94
  580. package/dist/reference.js +96 -96
  581. package/dist/repository-cache.js +86 -86
  582. package/dist/repository.js +3 -3
  583. package/dist/ripgrep/binary.js +2 -2
  584. package/dist/ripgrep.js +100 -100
  585. package/dist/rpc.js +91 -91
  586. package/dist/schema.js +1 -1
  587. package/dist/session/affinity.js +1 -1
  588. package/dist/session/command.js +78 -78
  589. package/dist/session/compaction.js +139 -139
  590. package/dist/session/context.js +167 -167
  591. package/dist/session/diff.js +93 -93
  592. package/dist/session/environment.js +5 -5
  593. package/dist/session/error.js +5 -5
  594. package/dist/session/event.js +1 -1
  595. package/dist/session/execution/restart.js +226 -226
  596. package/dist/session/execution.js +131 -131
  597. package/dist/session/generate.js +169 -169
  598. package/dist/session/history.js +15 -15
  599. package/dist/session/inbox.js +97 -97
  600. package/dist/session/info.js +3 -3
  601. package/dist/session/instruction-entry.js +83 -83
  602. package/dist/session/instruction-state.js +8 -8
  603. package/dist/session/instructions.js +102 -102
  604. package/dist/session/message-updater.js +4 -4
  605. package/dist/session/message.js +1 -1
  606. package/dist/session/model-request.js +125 -125
  607. package/dist/session/model-transport.js +9 -9
  608. package/dist/session/move.js +135 -135
  609. package/dist/session/projector.js +93 -93
  610. package/dist/session/prompt.js +110 -110
  611. package/dist/session/recent-text.js +1 -1
  612. package/dist/session/revert.js +99 -99
  613. package/dist/session/run-coordinator.js +3 -3
  614. package/dist/session/runner/index.js +3 -3
  615. package/dist/session/runner/llm.js +233 -233
  616. package/dist/session/runner/max-steps.js +1 -1
  617. package/dist/session/runner/model.js +105 -105
  618. package/dist/session/runner/publish-llm-event.js +118 -118
  619. package/dist/session/runner/retry.js +3 -3
  620. package/dist/session/runner/step.js +131 -131
  621. package/dist/session/runner/to-llm-message.js +14 -14
  622. package/dist/session/schema.js +5 -5
  623. package/dist/session/session.js +167 -167
  624. package/dist/session/shell.js +132 -132
  625. package/dist/session/skill.js +108 -108
  626. package/dist/session/sql.js +5 -5
  627. package/dist/session/stats.js +79 -79
  628. package/dist/session/store.js +89 -89
  629. package/dist/session/subagent-completion.js +1 -1
  630. package/dist/session/subagent-job.js +214 -214
  631. package/dist/session/system-prompt.js +5 -5
  632. package/dist/session/title.js +171 -171
  633. package/dist/session/to-session-error.js +117 -117
  634. package/dist/session/transfer.js +222 -222
  635. package/dist/session/usage.js +1 -1
  636. package/dist/session.js +220 -220
  637. package/dist/shell/parse.js +8 -8
  638. package/dist/shell/result.js +1 -1
  639. package/dist/shell/scan.js +1 -1
  640. package/dist/shell/select.js +13 -13
  641. package/dist/shell.js +134 -134
  642. package/dist/skill/discovery.js +6 -6
  643. package/dist/skill/instructions.js +112 -112
  644. package/dist/skill.js +113 -113
  645. package/dist/snapshot.js +96 -96
  646. package/dist/state.js +1 -1
  647. package/dist/tool/html-markdown.js +1 -1
  648. package/dist/tool/http-body.js +1 -1
  649. package/dist/tool/mcp.js +140 -140
  650. package/dist/tool/plugin/edit.js +125 -125
  651. package/dist/tool/plugin/file-diff.js +1 -1
  652. package/dist/tool/plugin/glob.js +129 -129
  653. package/dist/tool/plugin/grep.js +129 -129
  654. package/dist/tool/plugin/mcp-resource.js +129 -129
  655. package/dist/tool/plugin/opencode.js +114 -114
  656. package/dist/tool/plugin/patch.js +125 -125
  657. package/dist/tool/plugin/question.js +108 -108
  658. package/dist/tool/plugin/read.js +124 -124
  659. package/dist/tool/plugin/shell.js +217 -217
  660. package/dist/tool/plugin/skill.js +116 -116
  661. package/dist/tool/plugin/subagent.js +215 -215
  662. package/dist/tool/plugin/todo.js +136 -136
  663. package/dist/tool/plugin/webfetch.js +116 -116
  664. package/dist/tool/plugin/websearch.js +117 -117
  665. package/dist/tool/plugin/write.js +127 -127
  666. package/dist/tool/read-filesystem.js +105 -105
  667. package/dist/tool/runtime.js +1 -1
  668. package/dist/tool-output.js +7 -7
  669. package/dist/tool.js +12 -12
  670. package/dist/usage-limits.js +91 -91
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/git-executable.js +3 -3
  673. package/dist/util/lazy.js +1 -1
  674. package/dist/util/slug.js +1 -1
  675. package/dist/util/token.js +1 -1
  676. package/dist/util/which.js +1 -1
  677. package/dist/util/wildcard.js +1 -1
  678. package/dist/v1/config/agent.js +5 -5
  679. package/dist/v1/config/command.js +1 -1
  680. package/dist/v1/config/mcp.js +6 -6
  681. package/dist/v1/config/migrate.js +97 -97
  682. package/dist/v1/config/permission.js +7 -7
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/variant.js +96 -96
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +94 -94
  689. package/dist/voice.js +90 -90
  690. package/dist/websearch.js +88 -88
  691. package/dist/wellknown/plugin.js +80 -80
  692. package/dist/wellknown.js +85 -85
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +86 -86
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +11 -11
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +94 -94
  700. package/dist/worktree.js +101 -101
  701. package/package.json +8 -8
  702. package/dist/chunks/model-resolver-7ydrh6n0.js +0 -517
  703. package/dist/chunks/model-resolver-bnarqm09.js +0 -261
  704. package/dist/chunks/model-resolver-bzdg4g04.js +0 -26
  705. package/dist/chunks/model-resolver-jztn5z23.js +0 -18
  706. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{model-resolver-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
  713. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{model-resolver-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{model-resolver-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  723. /package/dist/chunks/{model-resolver-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{model-resolver-5fjb7ams.js → location-lifecycle-5fjb7ams.js} +0 -0
  725. /package/dist/chunks/{model-resolver-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  726. /package/dist/chunks/{model-resolver-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  730. /package/dist/chunks/{model-resolver-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{model-resolver-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{model-resolver-a058387c.js → location-lifecycle-a058387c.js} +0 -0
  737. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{model-resolver-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{model-resolver-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{model-resolver-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{model-resolver-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{model-resolver-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{model-resolver-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  752. /package/dist/chunks/{model-resolver-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{model-resolver-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{model-resolver-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{model-resolver-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{model-resolver-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{model-resolver-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{model-resolver-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{model-resolver-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{model-resolver-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
  777. /package/dist/chunks/{model-resolver-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{model-resolver-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-pkyv6v7h.js → location-lifecycle-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{model-resolver-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{model-resolver-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{model-resolver-wjj7prxr.js → location-lifecycle-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{model-resolver-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{model-resolver-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  801. /package/dist/chunks/{model-resolver-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{model-resolver-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{model-resolver-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{model-resolver-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service67,
3
- node70
4
- } from "./model-resolver-s8m3mb5a.js";
2
+ Service65,
3
+ node68
4
+ } from "./location-lifecycle-9nj2740a.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./model-resolver-gftt206x.js";
7
+ } from "./location-lifecycle-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./model-resolver-hzrfc1p4.js";
10
+ } from "./location-lifecycle-vpm8vpz0.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-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: () => Service62,
19
+ Service: () => Service47,
20
20
  make: () => make20,
21
- node: () => node65
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 Service62 extends Context.Service()("@opencode/Job") {
51
+ class Service47 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
84
84
  return next;
85
85
  }
86
86
  var make20 = Effect.gen(function* () {
87
- const kv = yield* Service67;
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 make20 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service62.of({
346
+ return Service47.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make20 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service62, make20);
360
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node70] });
359
+ var layer = Layer.effect(Service47, make20);
360
+ var node49 = makeGlobalNode({ service: Service47, layer, deps: [node68] });
361
361
 
362
- export { Service62, make20, node65, exports_job };
362
+ export { Service47, make20, node49, exports_job };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-x8nvjgx0.js";
3
+ } from "./location-lifecycle-x8nvjgx0.js";
4
4
  import {
5
- Service54,
6
- node56
7
- } from "./model-resolver-gr17tpj8.js";
5
+ Service81,
6
+ node84
7
+ } from "./location-lifecycle-8q3v088a.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-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: () => Service46,
17
- node: () => node48,
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 Service46 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(Service46, Effect.gen(function* () {
38
- const environment = yield* Service54;
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(Service46, 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 Service46.of({ withLock, write, writeTextPreservingBom });
59
+ return Service80.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node56] });
61
+ var node83 = makeLocationNode({ service: Service80, layer, deps: [node84] });
62
62
 
63
- export { Service46, readText2, syncTextBom2, node48, exports_file_mutation };
63
+ export { Service80, readText2, syncTextBom2, node83, exports_file_mutation };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./model-resolver-smcjsr17.js";
2
+ Service87,
3
+ node91
4
+ } from "./location-lifecycle-e870b599.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service85,
8
- node89
9
- } from "./model-resolver-z9cvf2rv.js";
7
+ Service86,
8
+ node90
9
+ } from "./location-lifecycle-wnz1azms.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./model-resolver-p015t6z3.js";
12
+ } from "./location-lifecycle-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./model-resolver-ec1grn59.js";
15
+ } from "./location-lifecycle-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./model-resolver-7eq1vvbj.js";
18
+ } from "./location-lifecycle-e4s86g6j.js";
19
19
  import {
20
- Service43,
21
- node45
22
- } from "./model-resolver-chmj2sz0.js";
20
+ Service70,
21
+ node73
22
+ } from "./location-lifecycle-tq8vqm91.js";
23
23
  import {
24
- Service19,
25
- node23
26
- } from "./model-resolver-vjqpxba6.js";
24
+ Service24,
25
+ node27
26
+ } from "./location-lifecycle-nz3pz1tw.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./model-resolver-r542h3bh.js";
30
+ } from "./location-lifecycle-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-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: () => Service2,
38
+ Service: () => Service6,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
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 Service2 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,12 +72,12 @@ 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(Service2, Effect.gen(function* () {
76
- const bus = yield* Service85;
75
+ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
76
+ const bus = yield* Service86;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service19;
79
- const store = yield* Service43;
80
- const db = (yield* Service86).db;
78
+ const context = yield* Service24;
79
+ const store = yield* Service70;
80
+ const db = (yield* Service87).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
83
83
  let failed = false;
@@ -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 Service2.of({ generate });
163
+ return Service6.of({ generate });
164
164
  }));
165
- var node3 = makeLocationNode({
166
- service: Service2,
167
- layer: layer3,
168
- deps: [node89, llmClient2, node23, node45, node90]
165
+ var node8 = makeLocationNode({
166
+ service: Service6,
167
+ layer: layer6,
168
+ deps: [node90, llmClient2, node27, node73, node91]
169
169
  });
170
170
 
171
- export { Service2, isUntitled2, layer3, node3, exports_title };
171
+ export { Service6, isUntitled2, layer6, node8, exports_title };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service71,
3
- node74
4
- } from "./model-resolver-b53a2435.js";
2
+ Service72,
3
+ node75
4
+ } from "./location-lifecycle-t3fc188m.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./model-resolver-2nasskxr.js";
6
+ Service46,
7
+ node48
8
+ } from "./location-lifecycle-mjhp71bb.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./model-resolver-hzrfc1p4.js";
11
+ } from "./location-lifecycle-vpm8vpz0.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-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: () => Service39,
21
+ Service: () => Service44,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node41,
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 Service39 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(Service39, Effect.gen(function* () {
62
- const resolver = yield* Service75;
63
- const agents = yield* Service71;
64
- return Service39.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(Service39, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node41 = makeLocationNode({ service: Service39, layer, deps: [node79, node74] });
84
+ var node46 = makeLocationNode({ service: Service44, layer, deps: [node48, node75] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service39, resolved2, node41, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-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: () => Service37,
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 Service37 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service42 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service37, exports_runner };
18
+ export { DrainResult2, Service42, exports_runner };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service85
3
- } from "./model-resolver-z9cvf2rv.js";
2
+ Service86
3
+ } from "./location-lifecycle-wnz1azms.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./model-resolver-nxh2s6jf.js";
6
+ } from "./location-lifecycle-pxdkqw7r.js";
7
7
  import {
8
- Service47,
9
- Event9
10
- } from "./model-resolver-j6c6q1qg.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,8 +39,8 @@ 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* Service47;
43
- const bus = yield* Service85;
42
+ const modelsDev = yield* Service15;
43
+ const bus = yield* Service86;
44
44
  const loaded = { data: snapshots(yield* modelsDev.get()) };
45
45
  yield* ctx.integration.transform((integrations) => {
46
46
  for (const provider of loaded.data) {
@@ -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(Event9.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 "./model-resolver-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: () => layer8,
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 layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer8, exports_unavailable };
22
+ export { spawner2, layer5, exports_unavailable };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./model-resolver-2bv980vf.js";
3
+ } from "./location-lifecycle-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./model-resolver-g4wezp1m.js";
6
+ } from "./location-lifecycle-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./model-resolver-x61499pn.js";
9
+ } from "./location-lifecycle-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./model-resolver-af5trqkr.js";
12
+ } from "./location-lifecycle-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./model-resolver-afrmfg78.js";
15
+ } from "./location-lifecycle-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./model-resolver-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 "./model-resolver-zkg84ctx.js";
5
+ } from "./location-lifecycle-zkg84ctx.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-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 "./model-resolver-7nbsn3c1.js";
3
+ } from "./location-lifecycle-dccfjtkm.js";
4
4
  import {
5
5
  OAuth3,
6
- Service80
7
- } from "./model-resolver-xk05dnhf.js";
6
+ Service78
7
+ } from "./location-lifecycle-gcs60vk9.js";
8
8
  import {
9
- ID14,
9
+ ID13,
10
10
  MethodID2
11
- } from "./model-resolver-nwf2p7qx.js";
11
+ } from "./location-lifecycle-0gqpdc35.js";
12
12
  import {
13
- ID13,
13
+ ID12,
14
14
  mergeOverlay2
15
- } from "./model-resolver-5cy8hwkn.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* Service80;
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
- Service54
3
- } from "./model-resolver-gr17tpj8.js";
2
+ Service81
3
+ } from "./location-lifecycle-8q3v088a.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-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* Service54;
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
+ import {
2
+ Service87,
3
+ node91
4
+ } from "./location-lifecycle-e870b599.js";
1
5
  import {
2
6
  Service86,
3
7
  node90
4
- } from "./model-resolver-smcjsr17.js";
5
- import {
6
- Service85,
7
- node89
8
- } from "./model-resolver-z9cvf2rv.js";
8
+ } from "./location-lifecycle-wnz1azms.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./model-resolver-pknna89w.js";
11
+ } from "./location-lifecycle-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./model-resolver-m1714858.js";
14
+ } from "./location-lifecycle-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-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: () => Service80,
29
+ Service: () => Service78,
30
30
  Value: () => Value2,
31
- node: () => node84
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 Service80 extends Context.Service()("@opencode/Credential") {
54
+ class Service78 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service80, Effect.gen(function* () {
57
- const db = (yield* Service86).db;
58
- const bus = yield* Service85;
56
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
57
+ const db = (yield* Service87).db;
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(Service80, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service80.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(Service80, 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(Service80, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  }));
207
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [node90, node89] });
207
+ var node81 = makeGlobalNode({ service: Service78, layer, deps: [node91, node90] });
208
208
 
209
- export { ID15, OAuth3, Key4, External2, Value2, Event18, Info26, Service80, node84, exports_credential };
209
+ export { ID14, OAuth3, Key4, External2, Value2, Event18, Info25, Service78, node81, exports_credential };