@opencode/core 0.0.0-dev-970 → 0.0.0-dev-973

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 (572) hide show
  1. package/dist/agent.js +75 -75
  2. package/dist/aisdk-native.js +83 -83
  3. package/dist/aisdk.js +88 -88
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +207 -207
  6. package/dist/bus.js +65 -65
  7. package/dist/chunks/{location-service-map-epyqs1ym.js → location-service-map-019vg0b3.js} +19 -19
  8. package/dist/chunks/{location-service-map-yf7q8mkf.js → location-service-map-096jk8dr.js} +11 -11
  9. package/dist/chunks/{location-service-map-s7xmscg6.js → location-service-map-0s129ff3.js} +22 -22
  10. package/dist/chunks/{location-service-map-0cvwd5qg.js → location-service-map-0ss97c1c.js} +4 -4
  11. package/dist/chunks/{location-service-map-twes2qfe.js → location-service-map-0wr9a8zx.js} +12 -12
  12. package/dist/chunks/{location-service-map-2stmvjwk.js → location-service-map-142nfb5s.js} +1 -1
  13. package/dist/chunks/{location-service-map-ns6tqd1v.js → location-service-map-188h5b8g.js} +5 -5
  14. package/dist/chunks/{location-service-map-pxv8jpx9.js → location-service-map-1993va64.js} +2 -2
  15. package/dist/chunks/{location-service-map-0ym9tmz0.js → location-service-map-1dmn0wdc.js} +1 -1
  16. package/dist/chunks/{location-service-map-kpkbxn13.js → location-service-map-1tc3mk2s.js} +37 -37
  17. package/dist/chunks/{location-service-map-n6w8gz4f.js → location-service-map-22cc810t.js} +29 -29
  18. package/dist/chunks/{location-service-map-8b3vzgkx.js → location-service-map-25h84942.js} +3 -3
  19. package/dist/chunks/{location-service-map-jjvvtnfs.js → location-service-map-26wfx3k0.js} +3 -3
  20. package/dist/chunks/{location-service-map-1ep2p91f.js → location-service-map-27w5k9zf.js} +1 -1
  21. package/dist/chunks/{location-service-map-g2y9msp5.js → location-service-map-2dgwkg1r.js} +17 -17
  22. package/dist/chunks/{location-service-map-n9ams6v2.js → location-service-map-2dqa8y27.js} +23 -23
  23. package/dist/chunks/{location-service-map-w1s38ew0.js → location-service-map-2ew6y5vn.js} +4 -4
  24. package/dist/chunks/{location-service-map-j59mwt3r.js → location-service-map-2g09jv71.js} +7 -7
  25. package/dist/chunks/{location-service-map-ey6c5g4a.js → location-service-map-2jjywjb3.js} +7 -7
  26. package/dist/chunks/{location-service-map-4nq240cq.js → location-service-map-2rnkgek5.js} +23 -23
  27. package/dist/chunks/{location-service-map-xcdf7s43.js → location-service-map-2wx5ykg8.js} +25 -25
  28. package/dist/chunks/{location-service-map-7ft4zevt.js → location-service-map-2yh63fjg.js} +12 -12
  29. package/dist/chunks/{location-service-map-bj12xcmr.js → location-service-map-39dc213b.js} +16 -16
  30. package/dist/chunks/{location-service-map-7re5q9q1.js → location-service-map-3bhsvex0.js} +22 -22
  31. package/dist/chunks/{location-service-map-ayjs7tqn.js → location-service-map-3cbjf1nt.js} +1 -1
  32. package/dist/chunks/{location-service-map-asqhzk9v.js → location-service-map-3ppfbg49.js} +7 -7
  33. package/dist/chunks/{location-service-map-zqs2n7ek.js → location-service-map-3qk6hnkm.js} +7 -7
  34. package/dist/chunks/{location-service-map-apheghgs.js → location-service-map-41qqvf5d.js} +4 -4
  35. package/dist/chunks/{location-service-map-qn5467sm.js → location-service-map-438k3ccg.js} +4 -4
  36. package/dist/chunks/{location-service-map-3vwa8psq.js → location-service-map-453vdcy0.js} +6 -6
  37. package/dist/chunks/{location-service-map-cx5d00cc.js → location-service-map-4b2hh714.js} +24 -24
  38. package/dist/chunks/{location-service-map-h53v6dca.js → location-service-map-4f89zp5m.js} +6 -6
  39. package/dist/chunks/{location-service-map-447vc9n5.js → location-service-map-4p4fp24p.js} +13 -13
  40. package/dist/chunks/{location-service-map-g79c5bhd.js → location-service-map-4ppgas72.js} +25 -25
  41. package/dist/chunks/{location-service-map-rhx7sxcq.js → location-service-map-50emzza2.js} +6 -6
  42. package/dist/chunks/{location-service-map-2whdzg5g.js → location-service-map-53jqawwm.js} +5 -5
  43. package/dist/chunks/{location-service-map-qqwt8q1p.js → location-service-map-57mbh4q4.js} +34 -34
  44. package/dist/chunks/{location-service-map-wybw4z9m.js → location-service-map-58b5dpsr.js} +14 -14
  45. package/dist/chunks/{location-service-map-jdpaw59m.js → location-service-map-5aqhr27k.js} +15 -15
  46. package/dist/chunks/{location-service-map-40za9wsf.js → location-service-map-5enarcya.js} +4 -4
  47. package/dist/chunks/{location-service-map-b73e3y9f.js → location-service-map-5hkz9yhf.js} +43 -43
  48. package/dist/chunks/{location-service-map-fqg2m573.js → location-service-map-5jm7ma5d.js} +5 -5
  49. package/dist/chunks/{location-service-map-qjdwt2a0.js → location-service-map-5m7tvbcm.js} +14 -14
  50. package/dist/chunks/{location-service-map-xksw6ev0.js → location-service-map-67wwskyb.js} +3 -3
  51. package/dist/chunks/{location-service-map-t6cd21z0.js → location-service-map-69bkh81c.js} +10 -10
  52. package/dist/chunks/{location-service-map-xf7ax5gh.js → location-service-map-6f063ac8.js} +8 -8
  53. package/dist/chunks/{location-service-map-cmfsh121.js → location-service-map-6rdjx3xj.js} +20 -20
  54. package/dist/chunks/{location-service-map-s9gzqkvf.js → location-service-map-6wen1dqm.js} +31 -31
  55. package/dist/chunks/{location-service-map-9mq8w79n.js → location-service-map-6yvk7h5s.js} +2 -2
  56. package/dist/chunks/{location-service-map-4pga3thr.js → location-service-map-6zepe8sp.js} +6 -6
  57. package/dist/chunks/location-service-map-70mpaaxe.js +26 -0
  58. package/dist/chunks/{location-service-map-eyw1sawb.js → location-service-map-71mxm98h.js} +10 -10
  59. package/dist/chunks/{location-service-map-2e30dxv1.js → location-service-map-739wjk09.js} +3 -3
  60. package/dist/chunks/{location-service-map-d0312xq3.js → location-service-map-757tt31e.js} +7 -7
  61. package/dist/chunks/{location-service-map-cnh7rm97.js → location-service-map-7h22etv1.js} +3 -3
  62. package/dist/chunks/{location-service-map-g7mwhv30.js → location-service-map-7jqsvgxx.js} +3 -3
  63. package/dist/chunks/{location-service-map-t33gpcy7.js → location-service-map-7nfeq8p6.js} +19 -19
  64. package/dist/chunks/{location-service-map-r2xmv5t4.js → location-service-map-7qc3ands.js} +15 -15
  65. package/dist/chunks/{location-service-map-8sxe6kv8.js → location-service-map-7qrph824.js} +1 -1
  66. package/dist/chunks/{location-service-map-5s1x6pd0.js → location-service-map-84p0683d.js} +7 -7
  67. package/dist/chunks/{location-service-map-etsp2y1s.js → location-service-map-88e7t75k.js} +55 -55
  68. package/dist/chunks/{location-service-map-nhhnb9vx.js → location-service-map-89evah1w.js} +7 -7
  69. package/dist/chunks/{location-service-map-t48jrnqq.js → location-service-map-8bcc8xgx.js} +2 -2
  70. package/dist/chunks/{location-service-map-sf8vjr0c.js → location-service-map-8d88p553.js} +8 -8
  71. package/dist/chunks/{location-service-map-snzmnvar.js → location-service-map-8ffp5f2g.js} +20 -20
  72. package/dist/chunks/{location-service-map-jg59462v.js → location-service-map-8gdtdwvz.js} +10 -10
  73. package/dist/chunks/{location-service-map-2t5tz7pp.js → location-service-map-8k9kc8fb.js} +7 -7
  74. package/dist/chunks/{location-service-map-5h00h7zt.js → location-service-map-8nc0weg1.js} +22 -22
  75. package/dist/chunks/{location-service-map-6hq7fm6h.js → location-service-map-8rq5g6rr.js} +33 -33
  76. package/dist/chunks/{location-service-map-y5qp99tm.js → location-service-map-8rxt3mnk.js} +22 -22
  77. package/dist/chunks/{location-service-map-ddwaa558.js → location-service-map-8xs8wyc8.js} +3 -3
  78. package/dist/chunks/{location-service-map-mb7mbhnz.js → location-service-map-8z6m94af.js} +1 -1
  79. package/dist/chunks/{location-service-map-a16ynwmv.js → location-service-map-8zfa2stf.js} +7 -7
  80. package/dist/chunks/{location-service-map-v4w7v700.js → location-service-map-94h03cj4.js} +19 -19
  81. package/dist/chunks/{location-service-map-kc7hjxms.js → location-service-map-9am7h7rn.js} +14 -14
  82. package/dist/chunks/{location-service-map-6h8vcvjm.js → location-service-map-9f3jsh1d.js} +7 -7
  83. package/dist/chunks/{location-service-map-75ht1bjk.js → location-service-map-9psgwyyq.js} +38 -38
  84. package/dist/chunks/{location-service-map-n249yph7.js → location-service-map-9qhy2hgv.js} +17 -17
  85. package/dist/chunks/{location-service-map-91tfjwsb.js → location-service-map-a3w98701.js} +12 -12
  86. package/dist/chunks/{location-service-map-58wf94jx.js → location-service-map-a4ww6fpm.js} +5 -5
  87. package/dist/chunks/{location-service-map-q4xbvmw6.js → location-service-map-ajs0x7d0.js} +23 -23
  88. package/dist/chunks/{location-service-map-2p4q64fe.js → location-service-map-an7pb355.js} +12 -12
  89. package/dist/chunks/{location-service-map-38aws4xb.js → location-service-map-anvcme1c.js} +3 -3
  90. package/dist/chunks/{location-service-map-r2kvpk3q.js → location-service-map-asksg6tb.js} +4 -4
  91. package/dist/chunks/{location-service-map-33w4pyer.js → location-service-map-axkqceaa.js} +3 -3
  92. package/dist/chunks/{location-service-map-jp0z9hc6.js → location-service-map-b6py4jyc.js} +13 -13
  93. package/dist/chunks/{location-service-map-7nbph4x3.js → location-service-map-b74w7m9s.js} +13 -13
  94. package/dist/chunks/{location-service-map-dce0gc84.js → location-service-map-b8w8dwcg.js} +4 -4
  95. package/dist/chunks/{location-service-map-rsmbj9xw.js → location-service-map-b9t5dvjs.js} +77 -77
  96. package/dist/chunks/{location-service-map-razwz46n.js → location-service-map-baj2beb3.js} +6 -6
  97. package/dist/chunks/{location-service-map-8ne359q4.js → location-service-map-bfgd6f8q.js} +9 -9
  98. package/dist/chunks/{location-service-map-chrje8zg.js → location-service-map-bhcam1t8.js} +27 -27
  99. package/dist/chunks/{location-service-map-035wadpx.js → location-service-map-bj78ahtb.js} +6 -6
  100. package/dist/chunks/{location-service-map-nvxpxehc.js → location-service-map-bje271cn.js} +22 -22
  101. package/dist/chunks/{location-service-map-np1dg1nt.js → location-service-map-brgze1p9.js} +18 -18
  102. package/dist/chunks/{location-service-map-xd9cc171.js → location-service-map-bstexjd6.js} +4 -4
  103. package/dist/chunks/{location-service-map-0mvqhycb.js → location-service-map-bsw7zeqr.js} +39 -39
  104. package/dist/chunks/{location-service-map-drp1dqs2.js → location-service-map-c3zd083b.js} +3 -3
  105. package/dist/chunks/{location-service-map-jskpwk88.js → location-service-map-c57pvgwh.js} +10 -10
  106. package/dist/chunks/{location-service-map-9x0d1vks.js → location-service-map-c74d0hp2.js} +13 -13
  107. package/dist/chunks/{location-service-map-fs6p6xtq.js → location-service-map-c84y5n18.js} +4 -4
  108. package/dist/chunks/{location-service-map-qpjbesae.js → location-service-map-ccarde52.js} +8 -8
  109. package/dist/chunks/{location-service-map-6a3k8ax5.js → location-service-map-cjc5310n.js} +24 -24
  110. package/dist/chunks/{location-service-map-91bxtgyw.js → location-service-map-ckrpn4va.js} +2 -2
  111. package/dist/chunks/{location-service-map-eewtf5ya.js → location-service-map-cxp7b2aq.js} +6 -6
  112. package/dist/chunks/{location-service-map-t97xk712.js → location-service-map-d37yyfby.js} +16 -16
  113. package/dist/chunks/{location-service-map-rst8f4ce.js → location-service-map-d4ea8b84.js} +28 -28
  114. package/dist/chunks/{location-service-map-xtes6nh4.js → location-service-map-d9272gev.js} +12 -12
  115. package/dist/chunks/{location-service-map-szjyr6ex.js → location-service-map-dadjk22h.js} +7 -7
  116. package/dist/chunks/{location-service-map-4yee01q8.js → location-service-map-dnern54h.js} +8 -8
  117. package/dist/chunks/{location-service-map-p51vmgn4.js → location-service-map-dnkw7vn1.js} +26 -26
  118. package/dist/chunks/{location-service-map-jq9tfxv6.js → location-service-map-dtemvce2.js} +9 -9
  119. package/dist/chunks/{location-service-map-zf8wb2cm.js → location-service-map-dyey5fsz.js} +1 -1
  120. package/dist/chunks/{location-service-map-trswbwzj.js → location-service-map-e4e1w5t0.js} +13 -13
  121. package/dist/chunks/{location-service-map-a71xh68f.js → location-service-map-e6x62v22.js} +6 -6
  122. package/dist/chunks/{location-service-map-9twaesrv.js → location-service-map-eb6wntew.js} +74 -74
  123. package/dist/chunks/{location-service-map-zmwgkerf.js → location-service-map-eep35epz.js} +34 -34
  124. package/dist/chunks/{location-service-map-s71h25gb.js → location-service-map-ef02y9qf.js} +29 -29
  125. package/dist/chunks/{location-service-map-x3g0080y.js → location-service-map-ehzedj4z.js} +68 -68
  126. package/dist/chunks/{location-service-map-39sgvy3e.js → location-service-map-f2s1j7gm.js} +2 -2
  127. package/dist/chunks/{location-service-map-vs5hwaeh.js → location-service-map-fa6qs40d.js} +14 -14
  128. package/dist/chunks/{location-service-map-d7gt9c98.js → location-service-map-faq01r7m.js} +47 -47
  129. package/dist/chunks/{location-service-map-4dyr9a9p.js → location-service-map-fdtptgdr.js} +27 -27
  130. package/dist/chunks/{location-service-map-h4fmry3z.js → location-service-map-fh8bgndd.js} +15 -15
  131. package/dist/chunks/{location-service-map-xfvhrpz8.js → location-service-map-fkpx9w36.js} +12 -12
  132. package/dist/chunks/{location-service-map-9n15rgsz.js → location-service-map-fpvqc1d7.js} +10 -10
  133. package/dist/chunks/{location-service-map-w9w8mt4n.js → location-service-map-fwp9mfc9.js} +3 -3
  134. package/dist/chunks/{location-service-map-mmrh0ajh.js → location-service-map-fy4bq8ag.js} +49 -49
  135. package/dist/chunks/{location-service-map-68pm7xyb.js → location-service-map-g0skyqr7.js} +10 -10
  136. package/dist/chunks/{location-service-map-07gv3cvb.js → location-service-map-gdsp8hm2.js} +20 -20
  137. package/dist/chunks/{location-service-map-wtvmvg7b.js → location-service-map-gf5reppa.js} +4 -4
  138. package/dist/chunks/{location-service-map-0ajf21q0.js → location-service-map-ghv294f1.js} +6 -6
  139. package/dist/chunks/{location-service-map-2d7ryfn4.js → location-service-map-gpx8v1ht.js} +36 -36
  140. package/dist/chunks/{location-service-map-ckn0kvtp.js → location-service-map-gwyytpcj.js} +3 -3
  141. package/dist/chunks/{location-service-map-pmymas23.js → location-service-map-gxbr0055.js} +16 -16
  142. package/dist/chunks/{location-service-map-vmx2vcpf.js → location-service-map-gym2axer.js} +2 -2
  143. package/dist/chunks/{location-service-map-kg3rhxqh.js → location-service-map-h809t5jh.js} +1 -1
  144. package/dist/chunks/{location-service-map-mnqfevbn.js → location-service-map-he7rx5jj.js} +18 -18
  145. package/dist/chunks/{location-service-map-h2hm2g8t.js → location-service-map-hh33xrdy.js} +45 -45
  146. package/dist/chunks/{location-service-map-jvf39xty.js → location-service-map-hkfwsxpr.js} +21 -21
  147. package/dist/chunks/{location-service-map-nx2y07xh.js → location-service-map-hs806j8f.js} +12 -12
  148. package/dist/chunks/{location-service-map-160yv0cs.js → location-service-map-hy8c1z76.js} +7 -7
  149. package/dist/chunks/{location-service-map-bg11bxw8.js → location-service-map-hyqydt8h.js} +31 -31
  150. package/dist/chunks/{location-service-map-3qgwywyc.js → location-service-map-j1zpf99x.js} +4 -4
  151. package/dist/chunks/{location-service-map-c6x7d2ts.js → location-service-map-j3f8hyeg.js} +3 -3
  152. package/dist/chunks/{location-service-map-hscqyzzr.js → location-service-map-jaw9dwdf.js} +14 -14
  153. package/dist/chunks/{location-service-map-zjhynz16.js → location-service-map-jb6d85pt.js} +7 -7
  154. package/dist/chunks/{location-service-map-973encw5.js → location-service-map-jghwjznt.js} +15 -15
  155. package/dist/chunks/{location-service-map-vmw8rtda.js → location-service-map-jner1s22.js} +18 -18
  156. package/dist/chunks/{location-service-map-ecr995fs.js → location-service-map-jp8xqdan.js} +27 -27
  157. package/dist/chunks/{location-service-map-vazw0bag.js → location-service-map-jtk8bhhb.js} +6 -6
  158. package/dist/chunks/{location-service-map-yvp60zk7.js → location-service-map-jvg53mgd.js} +25 -25
  159. package/dist/chunks/{location-service-map-3xnggsbt.js → location-service-map-k12jnnez.js} +16 -16
  160. package/dist/chunks/{location-service-map-yjeshp9y.js → location-service-map-k12qn4yz.js} +9 -9
  161. package/dist/chunks/{location-service-map-4ygb74tw.js → location-service-map-k4zmz5a6.js} +3 -3
  162. package/dist/chunks/{location-service-map-zzcj9e1j.js → location-service-map-k7vzwxnh.js} +15 -15
  163. package/dist/chunks/{location-service-map-5hcahzy3.js → location-service-map-kb1zqre7.js} +13 -13
  164. package/dist/chunks/{location-service-map-m06qa9cv.js → location-service-map-kc4ez2ea.js} +7 -7
  165. package/dist/chunks/{location-service-map-9qznnh3b.js → location-service-map-knzkarpp.js} +1 -1
  166. package/dist/chunks/{location-service-map-zyfhsknv.js → location-service-map-kp2338hr.js} +7 -7
  167. package/dist/chunks/{location-service-map-x5cd4jne.js → location-service-map-ky67gy21.js} +4 -4
  168. package/dist/chunks/{location-service-map-cxab28sr.js → location-service-map-kzdam8c6.js} +3 -3
  169. package/dist/chunks/{location-service-map-cr2qs22g.js → location-service-map-m0n8cq9w.js} +12 -12
  170. package/dist/chunks/{location-service-map-0pw59c02.js → location-service-map-m0nsf5y2.js} +15 -15
  171. package/dist/chunks/{location-service-map-y3jptkxg.js → location-service-map-m1j5sdmt.js} +9 -9
  172. package/dist/chunks/{location-service-map-d9nvm9ve.js → location-service-map-m2gpkvct.js} +3 -3
  173. package/dist/chunks/{location-service-map-3ctmdbrr.js → location-service-map-mj484a3p.js} +1 -1
  174. package/dist/chunks/{location-service-map-18s112xv.js → location-service-map-mv3as24f.js} +10 -10
  175. package/dist/chunks/{location-service-map-4jk7qg5v.js → location-service-map-mvdagmde.js} +37 -37
  176. package/dist/chunks/{location-service-map-r1tnxvjw.js → location-service-map-mvwtp5v0.js} +10 -10
  177. package/dist/chunks/{location-service-map-q4emj1v3.js → location-service-map-mxfjr4ca.js} +20 -20
  178. package/dist/chunks/{location-service-map-47hhybs3.js → location-service-map-myapgk7m.js} +3 -3
  179. package/dist/chunks/{location-service-map-azqdag7d.js → location-service-map-n320gsn2.js} +3 -3
  180. package/dist/chunks/{location-service-map-r7zrbnjn.js → location-service-map-n3j33rb6.js} +3 -3
  181. package/dist/chunks/{location-service-map-f8ma18fn.js → location-service-map-n3r3rt18.js} +4 -4
  182. package/dist/chunks/{location-service-map-4nzty7kx.js → location-service-map-n7ctqr31.js} +4 -4
  183. package/dist/chunks/{location-service-map-wtf7nhyw.js → location-service-map-n9atbz3d.js} +16 -16
  184. package/dist/chunks/{location-service-map-d9q583fv.js → location-service-map-n9wj57cs.js} +33 -33
  185. package/dist/chunks/{location-service-map-xjr6c8m4.js → location-service-map-nad3qcx8.js} +6 -6
  186. package/dist/chunks/{location-service-map-amg1aj03.js → location-service-map-nb4vvqsv.js} +2 -2
  187. package/dist/chunks/{location-service-map-74zb0y7m.js → location-service-map-nd9109gx.js} +12 -12
  188. package/dist/chunks/{location-service-map-2pn4vap1.js → location-service-map-ndz638ed.js} +5 -5
  189. package/dist/chunks/{location-service-map-hhffjnpv.js → location-service-map-npwasgte.js} +10 -10
  190. package/dist/chunks/{location-service-map-wegkxhrn.js → location-service-map-nx4vzyjd.js} +1 -1
  191. package/dist/chunks/{location-service-map-ac642rmg.js → location-service-map-p5tk1xdz.js} +9 -9
  192. package/dist/chunks/{location-service-map-dsjz1vv4.js → location-service-map-pqj5cbbn.js} +1 -1
  193. package/dist/chunks/{location-service-map-vt2d6wap.js → location-service-map-px7qpgcn.js} +3 -3
  194. package/dist/chunks/{location-service-map-tvfds4tp.js → location-service-map-q67pnmbz.js} +11 -11
  195. package/dist/chunks/{location-service-map-b5dpqy2c.js → location-service-map-q6p7wc6f.js} +15 -15
  196. package/dist/chunks/location-service-map-qfckw5e9.js +265 -0
  197. package/dist/chunks/{location-service-map-k46dd5bg.js → location-service-map-qfz6bxfd.js} +3 -3
  198. package/dist/chunks/{location-service-map-mrpnjyvf.js → location-service-map-qj27ec1j.js} +4 -4
  199. package/dist/chunks/{location-service-map-k3cx6fhe.js → location-service-map-qsdghx1p.js} +3 -3
  200. package/dist/chunks/{location-service-map-47f6b8tm.js → location-service-map-qzywas3w.js} +10 -10
  201. package/dist/chunks/{location-service-map-qp0m4yty.js → location-service-map-r0zxn6hq.js} +15 -15
  202. package/dist/chunks/{location-service-map-bq78n87k.js → location-service-map-r7qkr4sp.js} +1 -1
  203. package/dist/chunks/{location-service-map-2xaq7xy0.js → location-service-map-rcw86hwe.js} +14 -14
  204. package/dist/chunks/{location-service-map-d4f6e1qk.js → location-service-map-rcysm5e2.js} +7 -7
  205. package/dist/chunks/{location-service-map-xjbsd7zy.js → location-service-map-rmwt269d.js} +7 -7
  206. package/dist/chunks/{location-service-map-hg0zpqcr.js → location-service-map-rqymq7ws.js} +15 -15
  207. package/dist/chunks/{location-service-map-05dx4pdw.js → location-service-map-rxby8af3.js} +18 -18
  208. package/dist/chunks/{location-service-map-jb22m7ee.js → location-service-map-rzyhn1np.js} +17 -17
  209. package/dist/chunks/{location-service-map-c86rnejg.js → location-service-map-s2wymfp5.js} +13 -13
  210. package/dist/chunks/{location-service-map-fb2eem9j.js → location-service-map-s77zz24v.js} +13 -13
  211. package/dist/chunks/{location-service-map-p9x26950.js → location-service-map-sbzezcpx.js} +6 -6
  212. package/dist/chunks/location-service-map-sdv35jy7.js +571 -0
  213. package/dist/chunks/{location-service-map-ffh76het.js → location-service-map-sf65mwty.js} +6 -6
  214. package/dist/chunks/{location-service-map-cgdpqw4z.js → location-service-map-shdvtx4x.js} +18 -18
  215. package/dist/chunks/{location-service-map-1t6gfbsv.js → location-service-map-smp0jmk5.js} +46 -46
  216. package/dist/chunks/{location-service-map-0j7gp832.js → location-service-map-sqjzf8x2.js} +3 -3
  217. package/dist/chunks/{location-service-map-adrk7adg.js → location-service-map-ssfmzrvb.js} +21 -21
  218. package/dist/chunks/{location-service-map-rj7jtxy8.js → location-service-map-stbett4v.js} +1 -1
  219. package/dist/chunks/{location-service-map-ncfzdscw.js → location-service-map-t2n9nrk9.js} +5 -5
  220. package/dist/chunks/{location-service-map-ahp6kk67.js → location-service-map-tfv6wxag.js} +7 -7
  221. package/dist/chunks/{location-service-map-f2nzj6et.js → location-service-map-tj6g9xqy.js} +7 -7
  222. package/dist/chunks/{location-service-map-889wyzdh.js → location-service-map-tvzc46fq.js} +6 -6
  223. package/dist/chunks/{location-service-map-1vwnrgtd.js → location-service-map-v036n2mc.js} +7 -7
  224. package/dist/chunks/{location-service-map-q44bjpzt.js → location-service-map-v2wyv1hf.js} +2 -2
  225. package/dist/chunks/{location-service-map-yev6wfq3.js → location-service-map-v9dx8w0r.js} +2 -2
  226. package/dist/chunks/{location-service-map-jkdcm5hg.js → location-service-map-vmxsyvj6.js} +3 -3
  227. package/dist/chunks/{location-service-map-f0q2th5h.js → location-service-map-vp8qf7ye.js} +23 -23
  228. package/dist/chunks/{location-service-map-pz4gqzrx.js → location-service-map-vq9v4ct0.js} +18 -18
  229. package/dist/chunks/{location-service-map-ddsa3wvr.js → location-service-map-vqg7yj5n.js} +20 -20
  230. package/dist/chunks/{location-service-map-vheh6c3b.js → location-service-map-vtzpejz0.js} +4 -4
  231. package/dist/chunks/{location-service-map-49tm8jfk.js → location-service-map-vwhvwc3z.js} +33 -33
  232. package/dist/chunks/{location-service-map-967rr661.js → location-service-map-vxp8sdce.js} +34 -34
  233. package/dist/chunks/{location-service-map-9a95g445.js → location-service-map-vymjdf9c.js} +28 -28
  234. package/dist/chunks/{location-service-map-ya7f8hxf.js → location-service-map-vz4kbkt7.js} +17 -17
  235. package/dist/chunks/{location-service-map-96ywr6jb.js → location-service-map-w1n16jkh.js} +7 -7
  236. package/dist/chunks/{location-service-map-pfhc8mkz.js → location-service-map-w340e1qr.js} +16 -16
  237. package/dist/chunks/{location-service-map-w70dtd3h.js → location-service-map-w5r1v3vk.js} +10 -10
  238. package/dist/chunks/{location-service-map-wr0bhgv3.js → location-service-map-w7gd0jah.js} +25 -25
  239. package/dist/chunks/{location-service-map-kgz2ee7r.js → location-service-map-wa9arbgy.js} +8 -8
  240. package/dist/chunks/{location-service-map-dp3344js.js → location-service-map-wccsww3w.js} +19 -19
  241. package/dist/chunks/{location-service-map-035kzm9s.js → location-service-map-wct9v6zd.js} +7 -7
  242. package/dist/chunks/{location-service-map-vjbh35wz.js → location-service-map-we1d2qse.js} +1 -1
  243. package/dist/chunks/{location-service-map-k29prd47.js → location-service-map-wf5qab0t.js} +29 -29
  244. package/dist/chunks/{location-service-map-48d833pv.js → location-service-map-wn6ty5x1.js} +20 -20
  245. package/dist/chunks/{location-service-map-w687dnns.js → location-service-map-wr3re1en.js} +3 -3
  246. package/dist/chunks/{location-service-map-0at5mqc3.js → location-service-map-wx08h2ph.js} +24 -24
  247. package/dist/chunks/{location-service-map-rarw3p02.js → location-service-map-wyrkgr4m.js} +5 -5
  248. package/dist/chunks/{location-service-map-nnyrgr4w.js → location-service-map-wzbgwqy6.js} +2 -2
  249. package/dist/chunks/{location-service-map-k0zgry91.js → location-service-map-wzypnt86.js} +16 -16
  250. package/dist/chunks/{location-service-map-sqrgzp9r.js → location-service-map-x0025dxz.js} +15 -15
  251. package/dist/chunks/{location-service-map-7nb8tm12.js → location-service-map-x0vk0gwd.js} +3 -3
  252. package/dist/chunks/{location-service-map-0zvwjbfc.js → location-service-map-x3aand8e.js} +12 -12
  253. package/dist/chunks/{location-service-map-h0vy47s4.js → location-service-map-xdkyd5yq.js} +4 -4
  254. package/dist/chunks/{location-service-map-xgbchcps.js → location-service-map-xgbzz9bj.js} +32 -32
  255. package/dist/chunks/{location-service-map-jn04c0gd.js → location-service-map-xnzmbpaf.js} +7 -7
  256. package/dist/chunks/{location-service-map-gvtvrj6a.js → location-service-map-xq5v0hg3.js} +34 -34
  257. package/dist/chunks/{location-service-map-yckg307d.js → location-service-map-xvw47v91.js} +4 -4
  258. package/dist/chunks/{location-service-map-2haa3swk.js → location-service-map-xzm3sj27.js} +18 -18
  259. package/dist/chunks/{location-service-map-m6st8qpx.js → location-service-map-y0cbz4nx.js} +174 -174
  260. package/dist/chunks/{location-service-map-02h52xzt.js → location-service-map-y5e28xn1.js} +1 -1
  261. package/dist/chunks/{location-service-map-2wy1qaer.js → location-service-map-y5h9v3za.js} +9 -9
  262. package/dist/chunks/{location-service-map-9591qhgc.js → location-service-map-yb5mamag.js} +14 -14
  263. package/dist/chunks/{location-service-map-6fax7fbe.js → location-service-map-ybv2dt0g.js} +13 -13
  264. package/dist/chunks/location-service-map-yc9fq4e8.js +16 -0
  265. package/dist/chunks/{location-service-map-nyc4jwvb.js → location-service-map-yh1frphp.js} +3 -3
  266. package/dist/chunks/{location-service-map-mtbwfv8e.js → location-service-map-yqjhn64f.js} +9 -9
  267. package/dist/chunks/{location-service-map-3r9ww8nx.js → location-service-map-ywaqrdt0.js} +10 -10
  268. package/dist/chunks/{location-service-map-mjxkht31.js → location-service-map-yys43y5n.js} +33 -33
  269. package/dist/chunks/{location-service-map-w2jztwem.js → location-service-map-zfed2xdh.js} +30 -30
  270. package/dist/chunks/{location-service-map-8c5e66t8.js → location-service-map-zgsym63d.js} +12 -12
  271. package/dist/chunks/{location-service-map-9h81fvq8.js → location-service-map-zn99gyc6.js} +8 -8
  272. package/dist/chunks/{location-service-map-by8ty0bx.js → location-service-map-zpdbqgja.js} +3 -3
  273. package/dist/codemode/execution.js +5 -5
  274. package/dist/codemode/fetch.js +119 -119
  275. package/dist/codemode/instructions.js +4 -4
  276. package/dist/codemode/tool.js +124 -124
  277. package/dist/command.js +75 -75
  278. package/dist/config/discovery.js +76 -76
  279. package/dist/config/integration.js +3 -3
  280. package/dist/config/normalize.js +90 -90
  281. package/dist/config/plugin/agent.js +107 -107
  282. package/dist/config/plugin/command.js +197 -197
  283. package/dist/config/plugin/compaction.js +136 -136
  284. package/dist/config/plugin/compatibility.js +122 -122
  285. package/dist/config/plugin/formatter.js +106 -106
  286. package/dist/config/plugin/image.js +105 -105
  287. package/dist/config/plugin/instruction.js +106 -106
  288. package/dist/config/plugin/location-watcher.js +107 -107
  289. package/dist/config/plugin/mcp.js +116 -116
  290. package/dist/config/plugin/policy.js +105 -105
  291. package/dist/config/plugin/provider.js +107 -107
  292. package/dist/config/plugin/reference.js +107 -107
  293. package/dist/config/plugin/shell.js +105 -105
  294. package/dist/config/plugin/skill-file.js +119 -119
  295. package/dist/config/plugin/skill.js +125 -125
  296. package/dist/config/plugin/snapshot.js +105 -105
  297. package/dist/config/plugin/source.js +108 -108
  298. package/dist/config/plugin/tool-output.js +105 -105
  299. package/dist/config/plugin/websearch.js +104 -104
  300. package/dist/config/plugin/worktree.js +107 -107
  301. package/dist/config.js +107 -107
  302. package/dist/credential.js +77 -77
  303. package/dist/database/database.js +64 -64
  304. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  305. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  306. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  307. package/dist/database/drizzle/index.js +9 -9
  308. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  309. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  310. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  311. package/dist/database/drizzle.js +9 -9
  312. package/dist/database/migration.gen.js +47 -47
  313. package/dist/database/migration.js +63 -63
  314. package/dist/database/v1-migration.bun.js +23 -23
  315. package/dist/effect/app-node-builder.js +282 -282
  316. package/dist/environment/environment.js +82 -82
  317. package/dist/environment/index.js +83 -83
  318. package/dist/environment/unavailable.js +3 -3
  319. package/dist/event-logger.js +9 -9
  320. package/dist/file-access.js +130 -130
  321. package/dist/file-mutation.js +84 -84
  322. package/dist/file-write.js +133 -133
  323. package/dist/filesystem/file-watch.js +12 -12
  324. package/dist/filesystem/location-watcher-policy.js +5 -5
  325. package/dist/filesystem/location-watcher.js +210 -210
  326. package/dist/filesystem/search.js +87 -87
  327. package/dist/filesystem/watcher.js +7 -7
  328. package/dist/filesystem.js +90 -90
  329. package/dist/flag.js +103 -103
  330. package/dist/form.js +78 -78
  331. package/dist/formatter/builtins.js +3 -3
  332. package/dist/formatter.js +81 -81
  333. package/dist/generate.js +97 -97
  334. package/dist/git.js +7 -7
  335. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
  336. package/dist/github-copilot/copilot-provider.js +3 -3
  337. package/dist/github-copilot/models.js +85 -85
  338. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  339. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  340. package/dist/image/notice.js +3 -3
  341. package/dist/image/photon.js +1 -1
  342. package/dist/image.js +5 -5
  343. package/dist/instance/service.js +5 -5
  344. package/dist/instance.js +371 -371
  345. package/dist/instruction-discovery.js +74 -74
  346. package/dist/instructions/builtins.js +81 -81
  347. package/dist/instructions/index.js +3 -3
  348. package/dist/integration/connection.js +3 -3
  349. package/dist/integration.js +85 -85
  350. package/dist/job.js +71 -71
  351. package/dist/kv.js +67 -67
  352. package/dist/location-activity.js +78 -78
  353. package/dist/location-lifecycle.js +124 -124
  354. package/dist/location-service-map.js +80 -80
  355. package/dist/location-services.js +369 -369
  356. package/dist/location.js +83 -83
  357. package/dist/managed-policy.js +2 -2
  358. package/dist/mcp/client.js +54 -54
  359. package/dist/mcp/connection.js +80 -80
  360. package/dist/mcp/index.js +98 -98
  361. package/dist/mcp/instructions.js +155 -155
  362. package/dist/mcp/oauth.js +13 -13
  363. package/dist/mcp/pool.js +88 -88
  364. package/dist/mcp/stdio.js +127 -127
  365. package/dist/modal/models.js +85 -85
  366. package/dist/model-resolver.js +90 -90
  367. package/dist/model.js +90 -90
  368. package/dist/models-dev.js +92 -92
  369. package/dist/permission/saved.js +76 -76
  370. package/dist/permission/sql.js +3 -3
  371. package/dist/permission.js +123 -123
  372. package/dist/persistent-pty/index.js +78 -78
  373. package/dist/persistent-pty.js +68 -68
  374. package/dist/plugin/agent.js +72 -72
  375. package/dist/plugin/command.js +95 -95
  376. package/dist/plugin/goal.js +3 -3
  377. package/dist/plugin/hooks.js +3 -3
  378. package/dist/plugin/host.js +201 -201
  379. package/dist/plugin/identity.js +4 -4
  380. package/dist/plugin/instance.js +5 -5
  381. package/dist/plugin/internal.js +348 -348
  382. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  383. package/dist/plugin/models-dev.js +89 -89
  384. package/dist/plugin/module.js +104 -104
  385. package/dist/plugin/optimize.js +3 -3
  386. package/dist/plugin/plan.js +120 -120
  387. package/dist/plugin/provider/amazon-bedrock.js +87 -87
  388. package/dist/plugin/provider/azure.js +107 -107
  389. package/dist/plugin/provider/chatgpt.js +107 -107
  390. package/dist/plugin/provider/claude-agent/aisdk.js +96 -96
  391. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  392. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  393. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  394. package/dist/plugin/provider/claude-agent/index.js +118 -118
  395. package/dist/plugin/provider/claude-agent/instructions.js +92 -92
  396. package/dist/plugin/provider/claude-agent/integration.js +93 -93
  397. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  398. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  399. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  400. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  401. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  402. package/dist/plugin/provider/claude-agent/provider.js +90 -90
  403. package/dist/plugin/provider/claude-agent/session.js +91 -91
  404. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  405. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  406. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  407. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  408. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  409. package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
  410. package/dist/plugin/provider/cloudflare-ai-gateway.js +106 -106
  411. package/dist/plugin/provider/cloudflare-workers-ai.js +106 -106
  412. package/dist/plugin/provider/configured.js +102 -102
  413. package/dist/plugin/provider/credential-settings.js +71 -71
  414. package/dist/plugin/provider/digitalocean.js +89 -89
  415. package/dist/plugin/provider/github-copilot.js +91 -91
  416. package/dist/plugin/provider/gitlab.js +89 -89
  417. package/dist/plugin/provider/google-vertex.js +103 -103
  418. package/dist/plugin/provider/llmgateway.js +72 -72
  419. package/dist/plugin/provider/lmstudio.js +111 -111
  420. package/dist/plugin/provider/local.js +108 -108
  421. package/dist/plugin/provider/modal.js +89 -89
  422. package/dist/plugin/provider/ollama.js +111 -111
  423. package/dist/plugin/provider/openai-context-caps.js +87 -87
  424. package/dist/plugin/provider/openai.js +109 -109
  425. package/dist/plugin/provider/opencode.js +127 -127
  426. package/dist/plugin/provider/openrouter.js +85 -85
  427. package/dist/plugin/provider/poe.js +72 -72
  428. package/dist/plugin/provider/refresh.js +70 -70
  429. package/dist/plugin/provider/sap-ai-core.js +84 -84
  430. package/dist/plugin/provider/snowflake-cortex.js +106 -106
  431. package/dist/plugin/provider/vllm.js +111 -111
  432. package/dist/plugin/provider/xai.js +85 -85
  433. package/dist/plugin/provider.js +193 -193
  434. package/dist/plugin/sdk.js +70 -70
  435. package/dist/plugin/service.js +3 -3
  436. package/dist/plugin/skill.js +123 -123
  437. package/dist/plugin/supervisor.js +358 -358
  438. package/dist/plugin/tool-input-repair.js +3 -3
  439. package/dist/plugin/update.js +3 -3
  440. package/dist/plugin/vcs/git.js +80 -80
  441. package/dist/plugin/vcs/hg.js +80 -80
  442. package/dist/plugin/verbosity.js +87 -87
  443. package/dist/plugin/warming.js +105 -105
  444. package/dist/plugin/websearch/exa.js +5 -5
  445. package/dist/plugin/websearch/firecrawl.js +8 -8
  446. package/dist/plugin/websearch/index.js +9 -9
  447. package/dist/plugin/websearch/mcp.js +3 -3
  448. package/dist/plugin/websearch/parallel.js +6 -6
  449. package/dist/plugin/websearch/provider.js +5 -5
  450. package/dist/plugin/websearch/tavily.js +5 -5
  451. package/dist/plugin/websearch/tinyfish.js +8 -8
  452. package/dist/plugin.js +213 -213
  453. package/dist/project/icon.js +3 -3
  454. package/dist/project/schema.js +7 -7
  455. package/dist/project/sql.js +2 -2
  456. package/dist/project.js +84 -84
  457. package/dist/provider.js +87 -87
  458. package/dist/pty.js +94 -94
  459. package/dist/reference/instructions.js +82 -82
  460. package/dist/reference.js +82 -82
  461. package/dist/repository-cache.js +74 -74
  462. package/dist/repository.js +3 -3
  463. package/dist/ripgrep.js +86 -86
  464. package/dist/rpc.js +80 -80
  465. package/dist/schedule/check.js +205 -205
  466. package/dist/schedule/sql.js +4 -4
  467. package/dist/schedule.js +219 -219
  468. package/dist/session/background.js +3 -3
  469. package/dist/session/blob.js +106 -106
  470. package/dist/session/command.js +70 -70
  471. package/dist/session/compaction.js +135 -135
  472. package/dist/session/context.js +167 -167
  473. package/dist/session/diff.js +79 -79
  474. package/dist/session/environment.js +5 -5
  475. package/dist/session/execution/restart.js +130 -130
  476. package/dist/session/execution.js +137 -137
  477. package/dist/session/generate.js +168 -168
  478. package/dist/session/history.js +110 -110
  479. package/dist/session/inbox.js +119 -119
  480. package/dist/session/instruction-entry.js +75 -75
  481. package/dist/session/instruction-state.js +5 -5
  482. package/dist/session/instructions.js +115 -115
  483. package/dist/session/model-request.js +135 -135
  484. package/dist/session/model-transport.js +5 -5
  485. package/dist/session/move.js +136 -136
  486. package/dist/session/projector.js +115 -115
  487. package/dist/session/prompt.js +121 -121
  488. package/dist/session/revert.js +113 -113
  489. package/dist/session/run-coordinator.js +3 -3
  490. package/dist/session/runner/index.js +3 -3
  491. package/dist/session/runner/llm.js +212 -212
  492. package/dist/session/runner/model.js +92 -92
  493. package/dist/session/runner/publish-llm-event.js +122 -122
  494. package/dist/session/runner/retry.js +3 -3
  495. package/dist/session/runner/step.js +133 -133
  496. package/dist/session/runner/to-llm-message.js +111 -111
  497. package/dist/session/session.js +149 -149
  498. package/dist/session/shell.js +113 -113
  499. package/dist/session/skill.js +121 -121
  500. package/dist/session/sql.js +3 -3
  501. package/dist/session/stats.js +10 -10
  502. package/dist/session/store.js +116 -116
  503. package/dist/session/subagent-completion.js +3 -3
  504. package/dist/session/subagent-job.js +192 -192
  505. package/dist/session/title.js +170 -170
  506. package/dist/session/to-session-error.js +121 -121
  507. package/dist/session/transfer.js +122 -122
  508. package/dist/session.js +195 -195
  509. package/dist/shared-cache.js +5 -5
  510. package/dist/shell/parse.js +2 -2
  511. package/dist/shell/select.js +7 -7
  512. package/dist/shell.js +114 -114
  513. package/dist/skill/discovery.js +5 -5
  514. package/dist/skill/instructions.js +125 -125
  515. package/dist/skill.js +128 -128
  516. package/dist/snapshot.js +85 -85
  517. package/dist/tool/mcp.js +152 -152
  518. package/dist/tool/plugin/artifact.js +194 -194
  519. package/dist/tool/plugin/edit.js +138 -138
  520. package/dist/tool/plugin/glob.js +141 -141
  521. package/dist/tool/plugin/grep.js +141 -141
  522. package/dist/tool/plugin/image-generate.js +204 -204
  523. package/dist/tool/plugin/mcp-resource.js +137 -137
  524. package/dist/tool/plugin/opencode.js +134 -134
  525. package/dist/tool/plugin/patch.js +139 -139
  526. package/dist/tool/plugin/question.js +118 -118
  527. package/dist/tool/plugin/read.js +143 -143
  528. package/dist/tool/plugin/schedule.js +210 -210
  529. package/dist/tool/plugin/shell.js +199 -199
  530. package/dist/tool/plugin/skill.js +129 -129
  531. package/dist/tool/plugin/subagent.js +195 -195
  532. package/dist/tool/plugin/todo.js +126 -126
  533. package/dist/tool/plugin/webfetch.js +127 -127
  534. package/dist/tool/plugin/websearch.js +123 -123
  535. package/dist/tool/plugin/write.js +140 -140
  536. package/dist/tool/read-filesystem.js +88 -88
  537. package/dist/tool/search.js +83 -83
  538. package/dist/tool-output.js +5 -5
  539. package/dist/tool.js +132 -132
  540. package/dist/usage-limits.js +82 -82
  541. package/dist/v1/config/agent.js +3 -3
  542. package/dist/v1/config/command.js +3 -3
  543. package/dist/v1/config/mcp.js +1 -1
  544. package/dist/v1/config/migrate.js +85 -85
  545. package/dist/v1/config/provider.js +3 -3
  546. package/dist/variant.js +85 -85
  547. package/dist/vcs.js +83 -83
  548. package/dist/voice.js +76 -76
  549. package/dist/websearch.js +77 -77
  550. package/dist/wellknown/plugin.js +71 -71
  551. package/dist/wellknown.js +70 -70
  552. package/dist/workspace/driver.js +5 -5
  553. package/dist/workspace.js +76 -76
  554. package/dist/worktree/directory.js +1 -1
  555. package/dist/worktree/git.js +7 -7
  556. package/dist/worktree/sql.js +3 -3
  557. package/dist/worktree/strategies.js +83 -83
  558. package/dist/worktree.js +91 -91
  559. package/package.json +9 -9
  560. package/dist/chunks/location-service-map-208nbn7x.js +0 -16
  561. package/dist/chunks/location-service-map-c8tmbghs.js +0 -265
  562. package/dist/chunks/location-service-map-kmcjg8r6.js +0 -26
  563. package/dist/chunks/location-service-map-x00nbws1.js +0 -571
  564. /package/dist/chunks/{location-service-map-775hqbnd.js → location-service-map-80mg3ag8.js} +0 -0
  565. /package/dist/chunks/{location-service-map-jv5ccajn.js → location-service-map-9wk4aggv.js} +0 -0
  566. /package/dist/chunks/{location-service-map-034tev2y.js → location-service-map-aj7mw0zk.js} +0 -0
  567. /package/dist/chunks/{location-service-map-d4v9tmah.js → location-service-map-gn8tkhbf.js} +0 -0
  568. /package/dist/chunks/{location-service-map-y1q6s0as.js → location-service-map-qsem0vdh.js} +0 -0
  569. /package/dist/chunks/{location-service-map-r3t4c5mc.js → location-service-map-r54rewjw.js} +0 -0
  570. /package/dist/chunks/{location-service-map-2dkgmfy3.js → location-service-map-rn76exj4.js} +0 -0
  571. /package/dist/chunks/{location-service-map-me6dj8kt.js → location-service-map-xchg3q21.js} +0 -0
  572. /package/dist/chunks/{location-service-map-j9nxzz3g.js → location-service-map-ze75qvmd.js} +0 -0
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service86,
9
- node89
10
- } from "./location-service-map-j59mwt3r.js";
8
+ Service90,
9
+ node93
10
+ } from "./location-service-map-2g09jv71.js";
11
11
  import {
12
- Service84,
13
- node87
14
- } from "./location-service-map-wtf7nhyw.js";
12
+ Service88,
13
+ node91
14
+ } from "./location-service-map-n9atbz3d.js";
15
15
  import {
16
16
  create4
17
17
  } from "./location-service-map-40y6dtc2.js";
@@ -22,12 +22,12 @@ import {
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
25
+ Error: () => Error2,
26
26
  ID: () => ID9,
27
- Service: () => Service59,
27
+ Service: () => Service36,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node60,
30
- noopLayer: () => noopLayer3
29
+ node: () => node39,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service59 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service36 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service59, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service86;
50
+ const git = yield* Service90;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service84;
52
+ const location = yield* Service88;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node60 = makeLocationNode({
159
- service: Service59,
158
+ var node39 = makeLocationNode({
159
+ service: Service36,
160
160
  layer,
161
- deps: [FSUtil.node, node89, Global.node, node87]
161
+ deps: [FSUtil.node, node93, Global.node, node91]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
163
+ var noopLayer2 = Layer.succeed(Service36, Service36.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error4 && cause.operation === operation)
172
+ if (cause instanceof Error2 && cause.operation === operation)
173
173
  return cause;
174
- return new Error4({
174
+ return new Error2({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID9, Error4, Service59, node60, noopLayer3, exports_snapshot2 };
181
+ export { ID9, Error2, Service36, node39, noopLayer2, exports_snapshot2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service83
4
- } from "./location-service-map-adrk7adg.js";
3
+ Service84
4
+ } from "./location-service-map-ssfmzrvb.js";
5
5
  import {
6
- Service78
7
- } from "./location-service-map-kpkbxn13.js";
6
+ Service79
7
+ } from "./location-service-map-1tc3mk2s.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service83;
12
+ const providers = yield* Service84;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service78);
14
+ const service = yield* Effect.serviceOption(Service79);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service92,
3
3
  node95
4
- } from "./location-service-map-2e30dxv1.js";
4
+ } from "./location-service-map-739wjk09.js";
5
5
  import {
6
6
  Service91,
7
7
  node94
8
- } from "./location-service-map-02h52xzt.js";
8
+ } from "./location-service-map-y5e28xn1.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./location-service-map-pknna89w.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID21,
26
- Info: () => Info31,
25
+ ID: () => ID19,
26
+ Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service89,
29
+ Service: () => Service86,
30
30
  Value: () => Value2,
31
- node: () => node92
31
+ node: () => node89
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,24 +37,24 @@ 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
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID21 = Credential.ID;
40
+ var ID19 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
42
  var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event20 = Credential.Event;
45
+ var Event19 = Credential.Event;
46
46
 
47
- class Info31 extends Schema.Class("Credential.Info")({
48
- id: ID21,
47
+ class Info28 extends Schema.Class("Credential.Info")({
48
+ id: ID19,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service89 extends Context.Service()("@opencode/Credential") {
55
+ class Service86 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service89, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service86, Effect.gen(function* () {
58
58
  const db = (yield* Service92).db;
59
59
  const bus = yield* Service91;
60
60
  const flock = yield* EffectFlock.Service;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info31({
67
+ return new Info28({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
83
83
  yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
84
84
  });
85
85
  const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
86
- return Service89.of({
86
+ return Service86.of({
87
87
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
88
88
  const current = pending.get(id);
89
89
  if (current)
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
99
99
  return row ? stored(row) : undefined;
100
100
  }),
101
101
  create: Effect.fn("Credential.create")(function* (input) {
102
- const credential = new Info31({
103
- id: input.id ?? ID21.create(),
102
+ const credential = new Info28({
103
+ id: input.id ?? ID19.create(),
104
104
  integrationID: input.integrationID,
105
105
  label: input.label ?? "default",
106
106
  value: input.value
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
130
130
  type: credential.value.type,
131
131
  active: activated
132
132
  });
133
- yield* bus.publish(Event20.Updated, {}, { global: true });
133
+ yield* bus.publish(Event19.Updated, {}, { global: true });
134
134
  if (activated)
135
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
135
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
136
136
  return credential;
137
137
  }),
138
138
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
148
148
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
149
149
  if (integrationID) {
150
150
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
151
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
151
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
152
152
  }
153
153
  }),
154
154
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
173
173
  labelChanged: updates.label !== undefined && updates.label !== credential.label
174
174
  });
175
175
  if (updates.label !== undefined && updates.label !== credential.label)
176
- yield* bus.publish(Event20.Updated, {}, { global: true });
176
+ yield* bus.publish(Event19.Updated, {}, { global: true });
177
177
  }),
178
178
  remove: Effect.fn("Credential.remove")(function* (id) {
179
179
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
201
201
  active: removed.switched,
202
202
  ...removed.switched ? { replacementID: removed.credentialID } : {}
203
203
  });
204
- yield* bus.publish(Event20.Updated, {}, { global: true });
204
+ yield* bus.publish(Event19.Updated, {}, { global: true });
205
205
  if (removed.switched)
206
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
206
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
207
207
  })
208
208
  });
209
209
  }));
210
- var node92 = makeGlobalNode({ service: Service89, layer, deps: [node95, node94, EffectFlock.node] });
210
+ var node89 = makeGlobalNode({ service: Service86, layer, deps: [node95, node94, EffectFlock.node] });
211
211
 
212
- export { ID21, OAuth3, Key4, External2, Value2, Event20, Info31, Service89, node92, exports_credential };
212
+ export { ID19, OAuth3, Key4, External2, Value2, Event19, Info28, Service86, node89, exports_credential };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service92,
3
3
  node95
4
- } from "./location-service-map-2e30dxv1.js";
4
+ } from "./location-service-map-739wjk09.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-service-map-1ep2p91f.js";
7
+ } from "./location-service-map-27w5k9zf.js";
8
8
  import {
9
9
  __export
10
10
  } from "./location-service-map-9rqn6x4v.js";
@@ -13,36 +13,36 @@ import {
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID12,
17
- Info: () => Info15,
16
+ ID: () => ID13,
17
+ Info: () => Info16,
18
18
  NotFoundError: () => NotFoundError12,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service73,
21
- node: () => node74
20
+ Service: () => Service76,
21
+ node: () => node78
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 ID12 = PermissionSaved.ID;
29
- var Info15 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info16 = PermissionSaved.Info;
30
30
 
31
31
  class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID12
32
+ id: ID13
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID12,
37
+ id: ID13,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service73 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service76 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service73, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
46
46
  const db = (yield* Service92).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);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service73, 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: ID12.create(),
55
+ id: ID13.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
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 Service73.of({ list, add, update, remove });
75
+ return Service76.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 node74 = makeGlobalNode({ service: Service73, layer, deps: [node95] });
93
+ var node78 = makeGlobalNode({ service: Service76, layer, deps: [node95] });
94
94
 
95
- export { ID12, Info15, NotFoundError12, ConflictError2, Service73, node74, exports_saved };
95
+ export { ID13, Info16, NotFoundError12, ConflictError2, Service76, node78, exports_saved };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-t6cd21z0.js";
3
+ } from "./location-service-map-69bkh81c.js";
4
4
  import {
5
5
  OAuth3,
6
- Service89
7
- } from "./location-service-map-yvp60zk7.js";
6
+ Service86
7
+ } from "./location-service-map-jvg53mgd.js";
8
8
  import {
9
- ID20,
9
+ ID18,
10
10
  MethodID2
11
- } from "./location-service-map-s71h25gb.js";
11
+ } from "./location-service-map-ef02y9qf.js";
12
12
  import {
13
13
  ID17,
14
14
  mergeOverlay2
15
- } from "./location-service-map-adrk7adg.js";
15
+ } from "./location-service-map-ssfmzrvb.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -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: ID20.make("xai"),
47
+ integrationID: ID18.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* Service89;
73
- yield* Effect.forEach(yield* credentials.list(ID20.make("xai")), (credential) => {
72
+ const credentials = yield* Service86;
73
+ yield* Effect.forEach(yield* credentials.list(ID18.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, {
@@ -13,7 +13,7 @@ import {
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info22
16
+ Info: () => Info21
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info22 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info21 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info22, exports_agent4 };
72
+ export { Info21, exports_agent4 };
@@ -4,9 +4,9 @@ import {
4
4
  RelativePath2
5
5
  } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service75,
8
- node77
9
- } from "./location-service-map-g2y9msp5.js";
7
+ Service67,
8
+ node68
9
+ } from "./location-service-map-2dgwkg1r.js";
10
10
  import {
11
11
  RipgrepBinary2
12
12
  } from "./location-service-map-tbpn7jtk.js";
@@ -17,11 +17,11 @@ import {
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service46,
24
- node: () => node48
23
+ Service: () => Service58,
24
+ node: () => node59
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
47
47
  });
48
48
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
49
49
 
50
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
51
51
  message: Schema.String,
52
52
  cause: Schema.optional(Schema.Defect())
53
53
  }) {
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
59
59
  }) {
60
60
  }
61
61
 
62
- class Service46 extends Context.Service()("@opencode/Ripgrep") {
62
+ class Service58 extends Context.Service()("@opencode/Ripgrep") {
63
63
  }
64
- var failure = (message, cause) => new Error3({ message, cause });
64
+ var failure = (message, cause) => new Error4({ message, cause });
65
65
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
66
66
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
67
- var layer = Layer.effect(Service46, Effect.gen(function* () {
68
- const environment = yield* Service75;
67
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
68
+ const environment = yield* Service67;
69
69
  const binary = yield* RipgrepBinary2.Service;
70
70
  const run = (input) => {
71
71
  const program = Effect.scoped(Effect.gen(function* () {
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
91
91
  return code === 1 ? [] : rows;
92
92
  }));
93
93
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
94
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
95
95
  };
96
- return Service46.of({
96
+ return Service58.of({
97
97
  glob: (input) => run({
98
98
  cwd: input.cwd,
99
99
  limit: input.limit,
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
179
179
  }))))
180
180
  });
181
181
  }));
182
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node77, RipgrepBinary2.node] });
182
+ var node59 = makeLocationNode({ service: Service58, layer, deps: [node68, RipgrepBinary2.node] });
183
183
 
184
- export { Error3, InvalidPatternError2, Service46, node48, exports_ripgrep };
184
+ export { Error4, InvalidPatternError2, Service58, node59, exports_ripgrep };
@@ -5,14 +5,14 @@ import {
5
5
  makeLocalDriver2
6
6
  } from "./location-service-map-cwrgdav8.js";
7
7
  import {
8
- Service75
9
- } from "./location-service-map-g2y9msp5.js";
8
+ Service67
9
+ } from "./location-service-map-2dgwkg1r.js";
10
10
  import {
11
11
  fingerprint2
12
- } from "./location-service-map-zqs2n7ek.js";
12
+ } from "./location-service-map-3qk6hnkm.js";
13
13
  import {
14
14
  make25
15
- } from "./location-service-map-d9nvm9ve.js";
15
+ } from "./location-service-map-m2gpkvct.js";
16
16
  import {
17
17
  __export
18
18
  } from "./location-service-map-9rqn6x4v.js";
@@ -21,10 +21,10 @@ import {
21
21
  var exports_pool = {};
22
22
  __export(exports_pool, {
23
23
  McpPool: () => exports_pool,
24
- Service: () => Service35,
24
+ Service: () => Service34,
25
25
  key: () => key2,
26
- layer: () => layer19,
27
- node: () => node38
26
+ layer: () => layer18,
27
+ node: () => node37
28
28
  });
29
29
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
32
32
  import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
33
33
  import { FetchHttpClient } from "effect/http";
34
34
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
35
- class Service35 extends Context.Service()("@opencode/McpPool") {
35
+ class Service34 extends Context.Service()("@opencode/McpPool") {
36
36
  }
37
37
  var key2 = (input) => {
38
38
  const config = input.config;
@@ -61,11 +61,11 @@ function fingerprint(secret) {
61
61
  return null;
62
62
  return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
63
63
  }
64
- var layer19 = Layer.effect(Service35, Effect.gen(function* () {
64
+ var layer18 = Layer.effect(Service34, Effect.gen(function* () {
65
65
  const scope = yield* Effect.scope;
66
66
  const run = yield* FiberSet.makeRuntime();
67
67
  const driver = makeLocalDriver2(yield* ChildProcessSpawner);
68
- const host = Service75.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ const host = Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  const fetch = yield* FetchHttpClient.Fetch;
70
70
  const slots = new Map;
71
71
  const unpoolable = new Set;
@@ -263,8 +263,8 @@ var layer19 = Layer.effect(Service35, Effect.gen(function* () {
263
263
  catalog: (client) => live().catalog(client)
264
264
  };
265
265
  };
266
- return Service35.of({ connection });
266
+ return Service34.of({ connection });
267
267
  }));
268
- var node38 = makeGlobalNode({ service: Service35, layer: layer19, deps: [CrossSpawnSpawner.node, httpFetch] });
268
+ var node37 = makeGlobalNode({ service: Service34, layer: layer18, deps: [CrossSpawnSpawner.node, httpFetch] });
269
269
 
270
- export { Service35, key2, layer19, node38, exports_pool };
270
+ export { Service34, key2, layer18, node37, exports_pool };
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service57,
8
+ Service: () => Service46,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node58
10
+ node: () => node48
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service57, () => {
17
+ var layer = Layer.sync(Service46, () => {
18
18
  const environments = new Map;
19
- return Service57.of({
19
+ return Service46.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service57, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node58 = makeGlobalNode({ service: Service57, layer, deps: [] });
29
+ var node48 = makeGlobalNode({ service: Service46, layer, deps: [] });
30
30
 
31
- export { Service57, node58, exports_environment };
31
+ export { Service46, node48, exports_environment };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./location-service-map-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./location-service-map-y1q6s0as.js";
7
+ } from "./location-service-map-qsem0vdh.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";