@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,27 +1,27 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-resolver-z9cvf2rv.js";
2
+ Service86,
3
+ node90
4
+ } from "./location-lifecycle-wnz1azms.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-vd3b3yk9.js";
8
+ } from "./location-lifecycle-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./model-resolver-61ennm6n.js";
11
+ } from "./location-lifecycle-bjhzkqyk.js";
12
12
  import {
13
- ID14,
14
- Service79,
15
- node83,
13
+ ID13,
14
+ Service77,
15
+ node80,
16
16
  Event17
17
- } from "./model-resolver-nwf2p7qx.js";
17
+ } from "./location-lifecycle-0gqpdc35.js";
18
18
  import {
19
19
  Service83,
20
20
  node87
21
- } from "./model-resolver-228bjbav.js";
21
+ } from "./location-lifecycle-z2kpe0d7.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./location-lifecycle-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -31,12 +31,12 @@ __export(exports_provider3, {
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
33
  Event: () => Event16,
34
- ID: () => ID13,
35
- Info: () => Info23,
34
+ ID: () => ID12,
35
+ Info: () => Info22,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
38
  Request: () => Request3,
39
- Service: () => Service78,
39
+ Service: () => Service76,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node82,
51
+ node: () => node79,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -324,7 +324,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
326
  import { Event as Event16 } from "@opencode/schema/provider";
327
- var ID13 = Provider.ID;
327
+ var ID12 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info23 = Provider.Info;
541
+ var Info22 = Provider.Info;
542
542
 
543
- class Service78 extends Context.Service()("@opencode/Provider") {
543
+ class Service76 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,9 +553,9 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service78, Effect2.gen(function* () {
557
- const bus = yield* Service85;
558
- const integrations = yield* Service79;
556
+ var layer = Layer.effect(Service76, Effect2.gen(function* () {
557
+ const bus = yield* Service86;
558
+ const integrations = yield* Service77;
559
559
  const location = yield* Service83;
560
560
  const state = create3({
561
561
  name: "provider",
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info23.empty(id), models: new Map };
570
+ const added = { provider: Info22.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -675,7 +675,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
675
675
  });
676
676
  });
677
677
  yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service78.of({
678
+ return Service76.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node87] });
687
+ var node79 = makeLocationNode({ service: Service76, layer, deps: [node90, node80, node87] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info23, Service78, node82, exports_provider3, Event16 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node79, exports_provider3, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./model-resolver-5cy8hwkn.js";
5
+ } from "./location-lifecycle-67q39sdk.js";
6
6
  import {
7
- ID12,
7
+ ID6,
8
8
  VariantID2,
9
9
  Family2,
10
- Info22
11
- } from "./model-resolver-nxh2s6jf.js";
10
+ Info16
11
+ } from "./location-lifecycle-pxdkqw7r.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID6.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info22.make({
122
- ...Info22.default(ID13.githubCopilot, id),
121
+ return Info16.make({
122
+ ...Info16.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID6.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-5cy8hwkn.js";
4
+ } from "./location-lifecycle-67q39sdk.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service57
3
- } from "./model-resolver-fxkq0y0b.js";
2
+ Service61
3
+ } from "./location-lifecycle-eq1akb9r.js";
4
4
  import {
5
- Service40
6
- } from "./model-resolver-hvvf9qw8.js";
5
+ Service45
6
+ } from "./location-lifecycle-9nkjg9qd.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-jztn5z23.js";
9
+ } from "./location-lifecycle-me0dhgxs.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./location-lifecycle-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service40;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service62,
3
- node65
4
- } from "./model-resolver-qk22s80r.js";
2
+ Service47,
3
+ node49
4
+ } from "./location-lifecycle-fnygd1nj.js";
5
5
  import {
6
- Service17,
7
- node20
8
- } from "./model-resolver-xy47wren.js";
6
+ Service22,
7
+ node25
8
+ } from "./location-lifecycle-8r31w3mw.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./model-resolver-sqjzf8x2.js";
12
+ } from "./location-lifecycle-sqjzf8x2.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./location-lifecycle-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service8,
20
+ Service: () => Service11,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node10
22
+ node: () => node13
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service8 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service11 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service17;
30
- const jobs = yield* Service62;
29
+ const sessions = yield* Service22;
30
+ const jobs = yield* Service47;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service8.of({
45
+ return Service11.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node10 = Node.makeGlobalNode({
68
- service: Service8,
69
- layer: Layer.effect(Service8, make),
70
- deps: [node20, node65]
67
+ var node13 = Node.makeGlobalNode({
68
+ service: Service11,
69
+ layer: Layer.effect(Service11, make),
70
+ deps: [node25, node49]
71
71
  });
72
72
 
73
- export { Service8, node10, exports_subagent_job };
73
+ export { Service11, node13, exports_subagent_job };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-resolver-z9cvf2rv.js";
2
+ Service86,
3
+ node90
4
+ } from "./location-lifecycle-wnz1azms.js";
5
5
  import {
6
- Service67,
7
- node70
8
- } from "./model-resolver-s8m3mb5a.js";
6
+ Service65,
7
+ node68
8
+ } from "./location-lifecycle-9nj2740a.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-vd3b3yk9.js";
11
+ } from "./location-lifecycle-vd3b3yk9.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event3,
21
- ID: () => ID3,
22
- Input: () => Input14,
20
+ Event: () => Event12,
21
+ ID: () => ID7,
22
+ Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response3,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service15,
31
+ Service: () => Service64,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node18
33
+ node: () => node67
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event3 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event12 } from "@opencode/schema/websearch";
41
+ var ID7 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response3 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID7
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID7,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service15 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service64 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service15, Effect.gen(function* () {
69
- const bus = yield* Service85;
70
- const kv = yield* Service67;
68
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
69
+ const bus = yield* Service86;
70
+ const kv = yield* Service65;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service15.of({
127
+ return Service64.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node18 = makeLocationNode({
188
- service: Service15,
187
+ var node67 = makeLocationNode({
188
+ service: Service64,
189
189
  layer,
190
- deps: [node89, node70]
190
+ deps: [node90, node68]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input14, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event3 };
193
+ export { ID7, Provider2, Input15, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service64, node67, exports_websearch3, Event12 };
@@ -1,49 +1,49 @@
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
  PermissionTable2
7
- } from "./model-resolver-27w5k9zf.js";
7
+ } from "./location-lifecycle-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./location-lifecycle-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID6,
17
- Info: () => Info7,
18
- NotFoundError: () => NotFoundError6,
16
+ ID: () => ID9,
17
+ Info: () => Info19,
18
+ NotFoundError: () => NotFoundError9,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service44,
21
- node: () => node46
20
+ Service: () => Service71,
21
+ node: () => node74
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID6 = PermissionSaved.ID;
29
- var Info7 = PermissionSaved.Info;
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info19 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError6 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID6
31
+ class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID9
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID6,
37
+ id: ID9,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service44 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service71 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service44, Effect.gen(function* () {
46
- const db = (yield* Service86).db;
45
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
46
+ const db = (yield* Service87).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
49
49
  return rows.map(info);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID6.create(),
55
+ id: ID9.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError6({ id: input.id });
64
+ return yield* new NotFoundError9({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError6({ id: input.id });
69
+ return yield* new NotFoundError9({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service44.of({ list, add, update, remove });
75
+ return Service71.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node46 = makeGlobalNode({ service: Service44, layer, deps: [node90] });
93
+ var node74 = makeGlobalNode({ service: Service71, layer, deps: [node91] });
94
94
 
95
- export { ID6, Info7, NotFoundError6, ConflictError2, Service44, node46, exports_saved };
95
+ export { ID9, Info19, NotFoundError9, ConflictError2, Service71, node74, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
7
7
  __export(exports_skill_scan, {
8
8
  SkillScan: () => exports_skill_scan,
9
9
  ignore: () => ignore2,
10
- scan: () => scan2
10
+ scan: () => scan3
11
11
  });
12
12
  import { FSUtil } from "@opencode/util/fs-util";
13
13
  import path from "path";
14
14
  import { Effect } from "effect";
15
15
  var MAX_DEPTH = 6;
16
16
  var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
17
- var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
17
+ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
18
18
  const fs = yield* FSUtil.Service;
19
19
  const files = [];
20
20
  const queue = [{ directory: root, depth: 0 }];
@@ -39,4 +39,4 @@ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
39
39
  return files.toSorted();
40
40
  });
41
41
 
42
- export { ignore2, scan2, exports_skill_scan };
42
+ export { ignore2, scan3, exports_skill_scan };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./model-resolver-hm3czf85.js";
5
+ } from "./location-lifecycle-w8ytyev4.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./model-resolver-q25re44e.js";
11
+ } from "./location-lifecycle-ectz1n32.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./model-resolver-emrn6kk6.js";
5
+ } from "./location-lifecycle-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";