@opencode/core 0.0.0-dev-19769 → 0.0.0-dev-19771

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{repository-j7wq2tw5.js → location-lifecycle-08rawchj.js} +3 -3
  8. package/dist/chunks/{repository-1tmm29rr.js → location-lifecycle-0c8sczda.js} +6 -6
  9. package/dist/chunks/{repository-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{repository-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
  11. package/dist/chunks/location-lifecycle-0vmfebvz.js +478 -0
  12. package/dist/chunks/{repository-n6wrsq7f.js → location-lifecycle-1466r77q.js} +9 -9
  13. package/dist/chunks/{repository-fn8r46yt.js → location-lifecycle-174zhseq.js} +25 -25
  14. package/dist/chunks/{repository-73tb2d7t.js → location-lifecycle-1bbkgx8g.js} +3 -3
  15. package/dist/chunks/{repository-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{repository-v4hmrze8.js → location-lifecycle-1ehww2v2.js} +10 -10
  17. package/dist/chunks/{repository-cc3rhb19.js → location-lifecycle-1kq7x5qn.js} +62 -62
  18. package/dist/chunks/{repository-vqxaxcf1.js → location-lifecycle-1ktd7b6f.js} +13 -13
  19. package/dist/chunks/{repository-pyx37xrr.js → location-lifecycle-1w1k9xpb.js} +30 -30
  20. package/dist/chunks/{repository-kj2sv36s.js → location-lifecycle-20axtcfn.js} +5 -5
  21. package/dist/chunks/{repository-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  22. package/dist/chunks/{repository-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
  23. package/dist/chunks/{repository-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
  24. package/dist/chunks/{repository-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{repository-9b1atvvx.js → location-lifecycle-2aq52r8k.js} +20 -20
  26. package/dist/chunks/{repository-9ppytv0z.js → location-lifecycle-2bac5kce.js} +27 -27
  27. package/dist/chunks/{repository-pwb6zpac.js → location-lifecycle-2facesyc.js} +20 -20
  28. package/dist/chunks/{repository-tz3nmx0j.js → location-lifecycle-2m15pen8.js} +24 -24
  29. package/dist/chunks/{repository-m2542dxt.js → location-lifecycle-2mg1dsg3.js} +4 -4
  30. package/dist/chunks/{repository-e188km2a.js → location-lifecycle-328th6nm.js} +17 -17
  31. package/dist/chunks/{repository-m8akdy0v.js → location-lifecycle-3744gwmw.js} +31 -31
  32. package/dist/chunks/{repository-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{repository-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{repository-6y44j97d.js → location-lifecycle-3j6t0fah.js} +18 -18
  35. package/dist/chunks/{repository-1ax7tqy2.js → location-lifecycle-3mef1nc0.js} +13 -13
  36. package/dist/chunks/{repository-7c3st4jz.js → location-lifecycle-3mh8mcsd.js} +19 -19
  37. package/dist/chunks/{repository-qyzwb919.js → location-lifecycle-3mnwv5pc.js} +25 -25
  38. package/dist/chunks/{repository-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{repository-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{repository-e36qgvhn.js → location-lifecycle-3wbhmqdg.js} +11 -11
  41. package/dist/chunks/{repository-1z0t5xwh.js → location-lifecycle-4fezg0qr.js} +27 -27
  42. package/dist/chunks/{repository-3jmhxbye.js → location-lifecycle-4fkqdd82.js} +15 -15
  43. package/dist/chunks/{repository-5pdbn9ps.js → location-lifecycle-4j2m23fe.js} +19 -19
  44. package/dist/chunks/{repository-krbqxjpe.js → location-lifecycle-4mhj3wz7.js} +8 -8
  45. package/dist/chunks/{repository-56gdpj1q.js → location-lifecycle-56gdpj1q.js} +2 -2
  46. package/dist/chunks/{repository-81swgkk7.js → location-lifecycle-57ez7d0k.js} +7 -7
  47. package/dist/chunks/{repository-4gawe8x4.js → location-lifecycle-5bg73mre.js} +11 -11
  48. package/dist/chunks/{repository-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  49. package/dist/chunks/{repository-spdwqtpn.js → location-lifecycle-5gb661jz.js} +9 -9
  50. package/dist/chunks/{repository-j7j31x51.js → location-lifecycle-5jewystt.js} +6 -6
  51. package/dist/chunks/{repository-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{repository-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  53. package/dist/chunks/{repository-xetzeabr.js → location-lifecycle-67sa8864.js} +25 -25
  54. package/dist/chunks/{repository-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  55. package/dist/chunks/{repository-p6z56n1j.js → location-lifecycle-6rjxjn7m.js} +10 -10
  56. package/dist/chunks/{repository-851wtqqf.js → location-lifecycle-6tcgnf8s.js} +4 -4
  57. package/dist/chunks/{repository-4qkvfqqk.js → location-lifecycle-6yb5hqwk.js} +29 -29
  58. package/dist/chunks/{repository-v1nykaf9.js → location-lifecycle-701x6znf.js} +28 -28
  59. package/dist/chunks/{repository-yexpv489.js → location-lifecycle-74fsgkfp.js} +35 -35
  60. package/dist/chunks/{repository-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{repository-bbtvb4qv.js → location-lifecycle-7cra1dwx.js} +11 -11
  62. package/dist/chunks/{repository-2k8khapm.js → location-lifecycle-7dqw4kz8.js} +5 -5
  63. package/dist/chunks/{repository-w4arg62q.js → location-lifecycle-7ebn0nc0.js} +6 -6
  64. package/dist/chunks/{repository-qmyzm461.js → location-lifecycle-7n5krer2.js} +12 -12
  65. package/dist/chunks/{repository-tgyp3sag.js → location-lifecycle-7nyk300c.js} +30 -30
  66. package/dist/chunks/{repository-0f9afca0.js → location-lifecycle-809q4hne.js} +5 -5
  67. package/dist/chunks/{repository-02cs18yf.js → location-lifecycle-84regx6k.js} +38 -38
  68. package/dist/chunks/{repository-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  69. package/dist/chunks/{repository-6gcwrvb4.js → location-lifecycle-8h643jkf.js} +9 -9
  70. package/dist/chunks/{repository-dj2t23y0.js → location-lifecycle-8p4f9s12.js} +2 -2
  71. package/dist/chunks/{repository-tmrdwbct.js → location-lifecycle-8xjjc0pd.js} +19 -19
  72. package/dist/chunks/{repository-hmc4zdtv.js → location-lifecycle-94em26ae.js} +5 -5
  73. package/dist/chunks/{repository-122dvtp1.js → location-lifecycle-970bw64c.js} +17 -17
  74. package/dist/chunks/{repository-vd3gnyv8.js → location-lifecycle-99dmgpqm.js} +11 -11
  75. package/dist/chunks/{repository-xv0a7vy5.js → location-lifecycle-9jtxab4r.js} +32 -32
  76. package/dist/chunks/{repository-ce65tj11.js → location-lifecycle-9ktm0b6s.js} +51 -51
  77. package/dist/chunks/{repository-vm6v9059.js → location-lifecycle-9n1tg09n.js} +11 -11
  78. package/dist/chunks/{repository-fbw0vhp1.js → location-lifecycle-9sw9mzav.js} +11 -11
  79. package/dist/chunks/{repository-9b6r1n9h.js → location-lifecycle-9t3sp04t.js} +43 -43
  80. package/dist/chunks/{repository-k73yd5yd.js → location-lifecycle-9xjgq8a9.js} +3 -3
  81. package/dist/chunks/{repository-c9thm2jp.js → location-lifecycle-9yw32yaa.js} +14 -14
  82. package/dist/chunks/{repository-5c4hm403.js → location-lifecycle-a1bz86dw.js} +3 -3
  83. package/dist/chunks/{repository-wdw0r690.js → location-lifecycle-a81ktjvh.js} +11 -11
  84. package/dist/chunks/{repository-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  85. package/dist/chunks/location-lifecycle-aeqyc5xs.js +26 -0
  86. package/dist/chunks/{repository-7j2qha59.js → location-lifecycle-ahd542yp.js} +8 -8
  87. package/dist/chunks/{repository-s9kcfb9z.js → location-lifecycle-aqtafj8r.js} +1 -1
  88. package/dist/chunks/{repository-g190xswt.js → location-lifecycle-axmvebxj.js} +21 -21
  89. package/dist/chunks/{repository-s5erq2b1.js → location-lifecycle-ayxxfpy2.js} +15 -15
  90. package/dist/chunks/{repository-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  91. package/dist/chunks/{repository-9ws33mfb.js → location-lifecycle-bb86ahs1.js} +5 -5
  92. package/dist/chunks/{repository-a04068z3.js → location-lifecycle-bxarywtn.js} +23 -23
  93. package/dist/chunks/{repository-ejwr8mgp.js → location-lifecycle-c488s98d.js} +12 -12
  94. package/dist/chunks/{repository-m0jqrx5p.js → location-lifecycle-cfpkc3c9.js} +2 -2
  95. package/dist/chunks/{repository-5xtgfte3.js → location-lifecycle-cmwkp3r5.js} +8 -8
  96. package/dist/chunks/{repository-2tfmgkzg.js → location-lifecycle-cq37gk0t.js} +4 -4
  97. package/dist/chunks/{repository-2m6tdwb7.js → location-lifecycle-cry8xwhg.js} +3 -3
  98. package/dist/chunks/{repository-paegk39x.js → location-lifecycle-csf2jhsg.js} +4 -4
  99. package/dist/chunks/{repository-7bz5ees8.js → location-lifecycle-cwny1ppz.js} +30 -30
  100. package/dist/chunks/{repository-4jnysezt.js → location-lifecycle-dgwtn50y.js} +19 -19
  101. package/dist/chunks/{repository-t0fxg8b9.js → location-lifecycle-dqmwfghx.js} +5 -5
  102. package/dist/chunks/{repository-57b9ws8p.js → location-lifecycle-drwq78ky.js} +5 -5
  103. package/dist/chunks/{repository-scv7p57g.js → location-lifecycle-dvep9rg9.js} +9 -9
  104. package/dist/chunks/{repository-95nee50p.js → location-lifecycle-dvkjkx8e.js} +1 -1
  105. package/dist/chunks/location-lifecycle-dxj72tfx.js +18 -0
  106. package/dist/chunks/{repository-hrsq9gd1.js → location-lifecycle-dyh11xxw.js} +9 -9
  107. package/dist/chunks/{repository-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
  108. package/dist/chunks/{repository-kypwaetd.js → location-lifecycle-e936zhz9.js} +14 -14
  109. package/dist/chunks/{repository-nms28mnr.js → location-lifecycle-eek2a8x8.js} +14 -14
  110. package/dist/chunks/{repository-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  111. package/dist/chunks/{repository-wnbgtmcr.js → location-lifecycle-ef9ad86t.js} +24 -24
  112. package/dist/chunks/{repository-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  113. package/dist/chunks/{repository-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  114. package/dist/chunks/{repository-dkepx75h.js → location-lifecycle-ewj0d9fe.js} +11 -11
  115. package/dist/chunks/{repository-sfkj0ta1.js → location-lifecycle-ex0pka66.js} +5 -5
  116. package/dist/chunks/{repository-818pfwc9.js → location-lifecycle-f32czd11.js} +11 -11
  117. package/dist/chunks/{repository-1vr0zdnx.js → location-lifecycle-f38mbwqt.js} +9 -9
  118. package/dist/chunks/{repository-xg9t41r3.js → location-lifecycle-f38wsw69.js} +2 -2
  119. package/dist/chunks/{repository-hdnk95c8.js → location-lifecycle-f828m53h.js} +2 -2
  120. package/dist/chunks/{repository-yn2ye6x1.js → location-lifecycle-fb3ej5ej.js} +23 -23
  121. package/dist/chunks/{repository-yaamm28n.js → location-lifecycle-fjkp771g.js} +22 -22
  122. package/dist/chunks/{repository-ryr25ayn.js → location-lifecycle-fm2qvscf.js} +4 -4
  123. package/dist/chunks/{repository-80783bh5.js → location-lifecycle-fnafhjrm.js} +23 -23
  124. package/dist/chunks/{repository-3gq312nc.js → location-lifecycle-fpr4rjwc.js} +11 -11
  125. package/dist/chunks/{repository-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
  126. package/dist/chunks/{repository-k8374c5q.js → location-lifecycle-g5dbv4m6.js} +5 -5
  127. package/dist/chunks/{repository-ej74qwfk.js → location-lifecycle-g858ege8.js} +10 -10
  128. package/dist/chunks/{repository-s9a2knzy.js → location-lifecycle-g9bsnkw4.js} +8 -8
  129. package/dist/chunks/{repository-jywznmgw.js → location-lifecycle-gcejxdeh.js} +11 -11
  130. package/dist/chunks/{repository-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  131. package/dist/chunks/{repository-mmvpf3z9.js → location-lifecycle-gejspzzg.js} +23 -23
  132. package/dist/chunks/{repository-z73117hq.js → location-lifecycle-gtd25ap0.js} +6 -6
  133. package/dist/chunks/{repository-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  134. package/dist/chunks/{repository-zqkcer71.js → location-lifecycle-gwvc1hqs.js} +19 -19
  135. package/dist/chunks/{repository-xrpj31b0.js → location-lifecycle-gxkxv40a.js} +5 -5
  136. package/dist/chunks/{repository-11faaktz.js → location-lifecycle-gxtsbhwy.js} +15 -15
  137. package/dist/chunks/{repository-tqd2p7vb.js → location-lifecycle-h012fvt9.js} +15 -15
  138. package/dist/chunks/{repository-tf0sfjy1.js → location-lifecycle-h58s4a4v.js} +13 -13
  139. package/dist/chunks/{repository-rkhtkbzg.js → location-lifecycle-h5wtym79.js} +16 -16
  140. package/dist/chunks/{repository-qb3z2rd2.js → location-lifecycle-h611g1gx.js} +3 -3
  141. package/dist/chunks/{repository-nzyhnfxz.js → location-lifecycle-h6r3nrb9.js} +4 -4
  142. package/dist/chunks/{repository-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{repository-bydnjh3t.js → location-lifecycle-h71w788e.js} +2 -2
  144. package/dist/chunks/{repository-9gzsgfm4.js → location-lifecycle-h8edqr4y.js} +18 -18
  145. package/dist/chunks/{repository-xwfaabrj.js → location-lifecycle-ha607pgt.js} +6 -6
  146. package/dist/chunks/{repository-y4e3v118.js → location-lifecycle-hak61th1.js} +18 -18
  147. package/dist/chunks/{repository-e48wdnmq.js → location-lifecycle-hba11hfv.js} +28 -28
  148. package/dist/chunks/{repository-3pkejnne.js → location-lifecycle-heeyhcwp.js} +23 -23
  149. package/dist/chunks/{repository-qss189bp.js → location-lifecycle-hptzvfm2.js} +12 -12
  150. package/dist/chunks/{repository-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  151. package/dist/chunks/{repository-tbmac1c7.js → location-lifecycle-jewzahs7.js} +4 -4
  152. package/dist/chunks/location-lifecycle-jjx3pceh.js +252 -0
  153. package/dist/chunks/{repository-f0173z6s.js → location-lifecycle-jmf3pa4s.js} +4 -4
  154. package/dist/chunks/{repository-0r7yqxbf.js → location-lifecycle-jv01nqvq.js} +5 -5
  155. package/dist/chunks/{repository-nw2nz702.js → location-lifecycle-jva4mgym.js} +4 -4
  156. package/dist/chunks/{repository-6brvp8jk.js → location-lifecycle-jvht4t7z.js} +11 -11
  157. package/dist/chunks/{repository-ayec40qr.js → location-lifecycle-jy413cw9.js} +18 -18
  158. package/dist/chunks/{repository-7g7gx5pj.js → location-lifecycle-k1vtzvdf.js} +22 -22
  159. package/dist/chunks/{repository-nzks3jc8.js → location-lifecycle-k3c624dm.js} +3 -3
  160. package/dist/chunks/{repository-8gtmmj3e.js → location-lifecycle-k443rats.js} +31 -31
  161. package/dist/chunks/{repository-1z7773kr.js → location-lifecycle-kbv9vvfe.js} +12 -12
  162. package/dist/chunks/{repository-aqcfb23j.js → location-lifecycle-kddy6dsc.js} +11 -11
  163. package/dist/chunks/{repository-21yy59vd.js → location-lifecycle-km2jwbvk.js} +17 -17
  164. package/dist/chunks/{repository-3tq5qxbk.js → location-lifecycle-knb7evpn.js} +8 -8
  165. package/dist/chunks/{repository-8gxqpgph.js → location-lifecycle-kne8f3cn.js} +4 -4
  166. package/dist/chunks/{repository-6ymf14rh.js → location-lifecycle-kpmz6fzy.js} +10 -10
  167. package/dist/chunks/{repository-ne89hd12.js → location-lifecycle-kqm39a7s.js} +76 -76
  168. package/dist/chunks/{repository-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  169. package/dist/chunks/{repository-fxmgg4aj.js → location-lifecycle-m9g140gf.js} +4 -4
  170. package/dist/chunks/{repository-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{repository-wdy8ayv0.js → location-lifecycle-mcvt4s13.js} +33 -33
  172. package/dist/chunks/{repository-p1dtcdn6.js → location-lifecycle-mf60cw7q.js} +42 -42
  173. package/dist/chunks/{repository-3pvrcrbr.js → location-lifecycle-mmnww55k.js} +13 -13
  174. package/dist/chunks/{repository-kjczd05a.js → location-lifecycle-mmsq6tb2.js} +27 -27
  175. package/dist/chunks/{repository-aj9sfs2c.js → location-lifecycle-mp22a6z6.js} +13 -13
  176. package/dist/chunks/{repository-5w45afp5.js → location-lifecycle-mvdejg8s.js} +3 -3
  177. package/dist/chunks/{repository-dzrcb86n.js → location-lifecycle-myrwtzhc.js} +32 -32
  178. package/dist/chunks/{repository-xx5d256e.js → location-lifecycle-n1aycyk1.js} +25 -25
  179. package/dist/chunks/{repository-5zhg5203.js → location-lifecycle-n2d630th.js} +7 -7
  180. package/dist/chunks/{repository-7arn502q.js → location-lifecycle-n92mjzky.js} +22 -22
  181. package/dist/chunks/{repository-xv28g7bs.js → location-lifecycle-n9qjhx81.js} +4 -4
  182. package/dist/chunks/{repository-23sxaqwc.js → location-lifecycle-nca7p386.js} +6 -6
  183. package/dist/chunks/{repository-c2d5mwvj.js → location-lifecycle-nckwd48j.js} +47 -47
  184. package/dist/chunks/{repository-328cx775.js → location-lifecycle-nkcj1gcj.js} +51 -51
  185. package/dist/chunks/{repository-fhs97t90.js → location-lifecycle-nscznvay.js} +9 -9
  186. package/dist/chunks/{repository-38d1cmqw.js → location-lifecycle-ntqm1rav.js} +24 -24
  187. package/dist/chunks/{repository-3sz2bchy.js → location-lifecycle-p06r72s2.js} +19 -19
  188. package/dist/chunks/{repository-p28j5sbe.js → location-lifecycle-p28j5sbe.js} +2 -2
  189. package/dist/chunks/{repository-n8a799tr.js → location-lifecycle-p3xsxnnd.js} +24 -24
  190. package/dist/chunks/{repository-89avhe1g.js → location-lifecycle-p6wbyqfj.js} +17 -17
  191. package/dist/chunks/{repository-8sp84cjn.js → location-lifecycle-pdnh11fp.js} +35 -35
  192. package/dist/chunks/{repository-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{repository-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  194. package/dist/chunks/{repository-tehh278v.js → location-lifecycle-q7yh6m05.js} +10 -10
  195. package/dist/chunks/{repository-snkcc4fb.js → location-lifecycle-qk8tymmw.js} +4 -4
  196. package/dist/chunks/{repository-cwa6csj7.js → location-lifecycle-qmqgtz8f.js} +9 -9
  197. package/dist/chunks/{repository-gbgzsaak.js → location-lifecycle-qmw5tnb2.js} +37 -37
  198. package/dist/chunks/{repository-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  199. package/dist/chunks/{repository-7a8n5hjw.js → location-lifecycle-qsswvbq8.js} +8 -8
  200. package/dist/chunks/{repository-64ec3t10.js → location-lifecycle-qx1qj4mn.js} +15 -15
  201. package/dist/chunks/{repository-btjhzyrj.js → location-lifecycle-qyxe5d7d.js} +65 -65
  202. package/dist/chunks/{repository-xkz7c9k1.js → location-lifecycle-r0wf10m3.js} +24 -24
  203. package/dist/chunks/{repository-zd485wpt.js → location-lifecycle-r6rhd2xr.js} +7 -7
  204. package/dist/chunks/{repository-sx1n432n.js → location-lifecycle-r98e92ep.js} +4 -4
  205. package/dist/chunks/{repository-7k43vd6t.js → location-lifecycle-r9faq7b2.js} +46 -46
  206. package/dist/chunks/{repository-74zwf8gc.js → location-lifecycle-r9vtmsk6.js} +93 -93
  207. package/dist/chunks/{repository-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{repository-29eh7px0.js → location-lifecycle-reqevd7p.js} +17 -17
  209. package/dist/chunks/{repository-w6xp1hem.js → location-lifecycle-rf51g22b.js} +2 -2
  210. package/dist/chunks/{repository-eaj1djv9.js → location-lifecycle-rhjbct0v.js} +8 -8
  211. package/dist/chunks/{repository-jp1thbes.js → location-lifecycle-rmvt8bgk.js} +34 -34
  212. package/dist/chunks/{repository-7ns1f3fm.js → location-lifecycle-rshs96s6.js} +5 -5
  213. package/dist/chunks/{repository-j7d6k5qg.js → location-lifecycle-rsn291jg.js} +5 -5
  214. package/dist/chunks/{repository-2rt9jbq4.js → location-lifecycle-s1bfy7b2.js} +6 -6
  215. package/dist/chunks/{repository-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
  216. package/dist/chunks/{repository-se91gbej.js → location-lifecycle-s4fd02w1.js} +44 -44
  217. package/dist/chunks/{repository-h196rex3.js → location-lifecycle-s8pwec7v.js} +28 -28
  218. package/dist/chunks/{repository-rbsrykmc.js → location-lifecycle-seqv5kpb.js} +22 -22
  219. package/dist/chunks/{repository-qdakzt9p.js → location-lifecycle-sm1y1vrb.js} +9 -9
  220. package/dist/chunks/{repository-1c6rvf29.js → location-lifecycle-sr3h3j4j.js} +42 -42
  221. package/dist/chunks/{repository-1hgfyhjr.js → location-lifecycle-sx2f478y.js} +22 -22
  222. package/dist/chunks/{repository-3f29nsc9.js → location-lifecycle-sx44q36j.js} +10 -10
  223. package/dist/chunks/{repository-fhqgz6t0.js → location-lifecycle-ta1n0c1s.js} +31 -31
  224. package/dist/chunks/{repository-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{repository-1fg9yqa8.js → location-lifecycle-tbe2k93y.js} +4 -4
  226. package/dist/chunks/{repository-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{repository-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  228. package/dist/chunks/{repository-e248x3jn.js → location-lifecycle-tf68swts.js} +12 -12
  229. package/dist/chunks/{repository-an855pfc.js → location-lifecycle-tk12xd0z.js} +27 -27
  230. package/dist/chunks/{repository-85ph882g.js → location-lifecycle-tky30qnq.js} +5 -5
  231. package/dist/chunks/{repository-tcg29b4q.js → location-lifecycle-ts2x07a1.js} +1 -1
  232. package/dist/chunks/{repository-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  233. package/dist/chunks/{repository-2wk1s5ej.js → location-lifecycle-tvze1296.js} +9 -9
  234. package/dist/chunks/{repository-yqgrxd6e.js → location-lifecycle-v0fmmm42.js} +32 -32
  235. package/dist/chunks/{repository-rz6nd0at.js → location-lifecycle-v0hepqtm.js} +33 -33
  236. package/dist/chunks/{repository-96r3cgq7.js → location-lifecycle-v6s0pt21.js} +7 -7
  237. package/dist/chunks/{repository-8dbdhz5n.js → location-lifecycle-v6yffka4.js} +16 -16
  238. package/dist/chunks/{repository-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  239. package/dist/chunks/{repository-2z51qmx0.js → location-lifecycle-vp3k42e8.js} +35 -35
  240. package/dist/chunks/{repository-qdvbds2a.js → location-lifecycle-vsga7d5t.js} +21 -21
  241. package/dist/chunks/{repository-m4x4s9k7.js → location-lifecycle-vy067vm3.js} +11 -11
  242. package/dist/chunks/{repository-pjy5167v.js → location-lifecycle-vy44wwf3.js} +28 -28
  243. package/dist/chunks/{repository-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{repository-xcd0eash.js → location-lifecycle-w21bzq9q.js} +6 -6
  245. package/dist/chunks/{repository-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{repository-98bk4qe8.js → location-lifecycle-w59r0ea1.js} +10 -10
  247. package/dist/chunks/{repository-dv9a7byg.js → location-lifecycle-w83fpb0q.js} +3 -3
  248. package/dist/chunks/{repository-vd6cqa4j.js → location-lifecycle-w9564p80.js} +19 -19
  249. package/dist/chunks/{repository-qpbc7zwf.js → location-lifecycle-was7srj9.js} +8 -8
  250. package/dist/chunks/{repository-3srb4c33.js → location-lifecycle-wcc6r8bb.js} +36 -36
  251. package/dist/chunks/{repository-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  252. package/dist/chunks/{repository-gyk8a0b3.js → location-lifecycle-wkqs5zpc.js} +33 -33
  253. package/dist/chunks/location-lifecycle-ws55t3x7.js +65 -0
  254. package/dist/chunks/{repository-5v1trjgx.js → location-lifecycle-wvdt0mnj.js} +18 -18
  255. package/dist/chunks/{repository-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{repository-3j8q1kjc.js → location-lifecycle-x23498t7.js} +35 -35
  257. package/dist/chunks/{repository-21418s17.js → location-lifecycle-x75jn9zf.js} +24 -24
  258. package/dist/chunks/{repository-2wb81fjp.js → location-lifecycle-x75yvd88.js} +15 -15
  259. package/dist/chunks/{repository-aejz0fra.js → location-lifecycle-x7e0fk1c.js} +17 -17
  260. package/dist/chunks/{repository-rwtc3fw1.js → location-lifecycle-xc0bfz3r.js} +5 -5
  261. package/dist/chunks/{repository-cefpf2j3.js → location-lifecycle-xfpy4nt9.js} +20 -20
  262. package/dist/chunks/{repository-pnstgbf5.js → location-lifecycle-xp2mkh6z.js} +18 -18
  263. package/dist/chunks/{repository-99e2g3zc.js → location-lifecycle-xt03s1fm.js} +35 -35
  264. package/dist/chunks/{repository-jef2745y.js → location-lifecycle-xvq2g0b8.js} +15 -15
  265. package/dist/chunks/{repository-ppqt0576.js → location-lifecycle-xxkd99vv.js} +14 -14
  266. package/dist/chunks/{repository-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{repository-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
  268. package/dist/chunks/{repository-ccs15j7g.js → location-lifecycle-yh0fqsh6.js} +33 -33
  269. package/dist/chunks/{repository-k12tcn4w.js → location-lifecycle-yjgqe2re.js} +9 -9
  270. package/dist/chunks/{repository-fkd8950d.js → location-lifecycle-ym1gd12q.js} +25 -25
  271. package/dist/chunks/{repository-0294hark.js → location-lifecycle-yp116tgd.js} +97 -97
  272. package/dist/chunks/{repository-yp2x3t23.js → location-lifecycle-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{repository-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{repository-g8atgw3j.js → location-lifecycle-yxc59d7f.js} +8 -8
  275. package/dist/chunks/{repository-etckb5nd.js → location-lifecycle-z09pn87h.js} +25 -25
  276. package/dist/chunks/{repository-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{repository-mt8rgcqf.js → location-lifecycle-zdkghbrs.js} +5 -5
  278. package/dist/chunks/{repository-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{repository-vxd5ygdv.js → location-lifecycle-zfgrdwy1.js} +46 -46
  280. package/dist/chunks/{repository-z9jh4hq6.js → location-lifecycle-zjm4mwk2.js} +10 -10
  281. package/dist/chunks/{repository-vk6zr57k.js → location-lifecycle-zmbr0qn9.js} +13 -13
  282. package/dist/chunks/{repository-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{repository-at1kfnmk.js → location-lifecycle-zrq8kphx.js} +8 -8
  284. package/dist/chunks/{repository-5bgvk8my.js → location-lifecycle-ztxdexjh.js} +179 -179
  285. package/dist/chunks/{repository-k7smy2rd.js → location-lifecycle-zv32tym9.js} +6 -6
  286. package/dist/chunks/{repository-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{repository-zbx1chvt.js → location-lifecycle-zywrz00y.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +80 -80
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +96 -96
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +97 -97
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +104 -104
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +98 -98
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +118 -118
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +96 -96
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +89 -89
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +222 -222
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +105 -105
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +113 -113
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +119 -119
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +214 -214
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +90 -90
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/repository-by5v678g.js +0 -18
  692. package/dist/chunks/repository-e83h8wp6.js +0 -252
  693. package/dist/chunks/repository-p7df8h7a.js +0 -26
  694. package/dist/chunks/repository-rqx49y6e.js +0 -478
  695. package/dist/chunks/repository-sfq66c4x.js +0 -65
  696. /package/dist/chunks/{repository-0mesazry.js → location-lifecycle-0mesazry.js} +0 -0
  697. /package/dist/chunks/{repository-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{repository-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{repository-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{repository-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{repository-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{repository-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{repository-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{repository-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{repository-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{repository-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{repository-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  708. /package/dist/chunks/{repository-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{repository-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{repository-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{repository-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{repository-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{repository-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{repository-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{repository-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  716. /package/dist/chunks/{repository-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{repository-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  718. /package/dist/chunks/{repository-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{repository-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{repository-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  721. /package/dist/chunks/{repository-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{repository-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{repository-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  724. /package/dist/chunks/{repository-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{repository-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{repository-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{repository-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{repository-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{repository-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{repository-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{repository-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{repository-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{repository-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{repository-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{repository-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{repository-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{repository-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{repository-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{repository-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  740. /package/dist/chunks/{repository-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{repository-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{repository-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{repository-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{repository-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{repository-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{repository-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{repository-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{repository-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{repository-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{repository-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{repository-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{repository-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  753. /package/dist/chunks/{repository-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{repository-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  755. /package/dist/chunks/{repository-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{repository-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  757. /package/dist/chunks/{repository-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{repository-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{repository-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{repository-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{repository-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{repository-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{repository-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{repository-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{repository-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{repository-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{repository-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{repository-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{repository-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{repository-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{repository-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{repository-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{repository-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{repository-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{repository-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{repository-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{repository-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{repository-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{repository-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{repository-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{repository-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{repository-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{repository-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{repository-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{repository-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  786. /package/dist/chunks/{repository-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{repository-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{repository-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{repository-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{repository-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{repository-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -2,44 +2,44 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./repository-2a5m3afh.js";
5
+ } from "./location-lifecycle-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./repository-rkhtkbzg.js";
7
+ Service78
8
+ } from "./location-lifecycle-h5wtym79.js";
9
9
  import {
10
- Service63
11
- } from "./repository-38d1cmqw.js";
10
+ Service66
11
+ } from "./location-lifecycle-ntqm1rav.js";
12
12
  import {
13
- Service20
14
- } from "./repository-jef2745y.js";
13
+ Service15
14
+ } from "./location-lifecycle-xvq2g0b8.js";
15
15
  import {
16
- Service15,
16
+ Service18,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./repository-aj9sfs2c.js";
19
+ } from "./location-lifecycle-mp22a6z6.js";
20
20
  import {
21
- Service71
22
- } from "./repository-btjhzyrj.js";
21
+ Service60
22
+ } from "./location-lifecycle-qyxe5d7d.js";
23
23
  import {
24
- Service70,
24
+ Service48,
25
25
  resolvePath2
26
- } from "./repository-9gzsgfm4.js";
26
+ } from "./location-lifecycle-h8edqr4y.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./repository-6prwharc.js";
29
+ } from "./location-lifecycle-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./repository-9rqn6x4v.js";
32
+ } from "./location-lifecycle-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input12,
39
- Output: () => Output8,
38
+ Input: () => Input11,
39
+ Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin32,
42
- name: () => name12,
41
+ Plugin: () => Plugin13,
42
+ name: () => name11,
43
43
  toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name12 = "patch";
89
- var Input12 = Schema.Struct({
88
+ var name11 = "patch";
89
+ var Input11 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output8 = Schema.Struct({
99
+ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent6 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin32 = {
108
+ var Plugin13 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service63;
112
- const access = yield* Service70;
113
- const fileMutation = yield* Service15;
114
- const formatter = yield* Service20;
115
- const location = yield* Service76;
116
- const permission = yield* Service71;
111
+ const environment = yield* Service66;
112
+ const access = yield* Service48;
113
+ const fileMutation = yield* Service18;
114
+ const formatter = yield* Service15;
115
+ const location = yield* Service78;
116
+ const permission = yield* Service60;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name11,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input12,
122
- output: Output8,
121
+ input: Input11,
122
+ output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name12, Input12, Applied2, Output8, toModelContent6, Plugin32, exports_patch };
329
+ export { name11, Input11, Applied2, Output7, toModelContent6, Plugin13, exports_patch };
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service80,
3
+ node84
4
+ } from "./location-lifecycle-v6yffka4.js";
5
+ import {
6
+ Service77,
7
+ node81
8
+ } from "./location-lifecycle-s8pwec7v.js";
9
+ import {
10
+ Ref4,
11
+ Service78,
12
+ node82
13
+ } from "./location-lifecycle-h5wtym79.js";
14
+ import {
15
+ Service60,
16
+ node63
17
+ } from "./location-lifecycle-qyxe5d7d.js";
18
+ import {
19
+ Service59,
20
+ node62
21
+ } from "./location-lifecycle-xp2mkh6z.js";
22
+ import {
23
+ __export
24
+ } from "./location-lifecycle-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service58,
31
+ node: () => node61
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service58 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
39
+ const bus = yield* Service80;
40
+ const location = yield* Service78;
41
+ const permission = yield* Service60;
42
+ const forms = yield* Service77;
43
+ const rpc = yield* Service59;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service58.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node61 = makeLocationNode({
60
+ service: Service58,
61
+ layer,
62
+ deps: [node84, node82, node63, node81, node62]
63
+ });
64
+
65
+ export { Service58, node61, exports_location_lifecycle };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./repository-3gq312nc.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-fpr4rjwc.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./repository-hdnk95c8.js";
7
+ } from "./location-lifecycle-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-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
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info28,
16
+ ID: () => ID7,
17
+ Info: () => Info12,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service73,
21
- node: () => node77
20
+ Service: () => Service62,
21
+ node: () => node65
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info28 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info12 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service73 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service62 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
42
- const db = (yield* Service82).db;
41
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
42
+ const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID7.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service73.of({ list, add, remove });
69
+ return Service62.of({ list, add, remove });
70
70
  }));
71
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node86] });
71
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node87] });
72
72
 
73
- export { ID14, Info28, ListInput5, AddInput2, Service73, node77, exports_saved };
73
+ export { ID7, Info12, ListInput5, AddInput2, Service62, node65, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,54 +1,54 @@
1
+ import {
2
+ Service80,
3
+ node84
4
+ } from "./location-lifecycle-v6yffka4.js";
1
5
  import {
2
6
  Service81,
3
7
  node85
4
- } from "./repository-8dbdhz5n.js";
5
- import {
6
- Service83,
7
- node87
8
- } from "./repository-ejwr8mgp.js";
8
+ } from "./location-lifecycle-c488s98d.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./repository-rkhtkbzg.js";
10
+ Service78,
11
+ node82
12
+ } from "./location-lifecycle-h5wtym79.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./repository-by5v678g.js";
15
+ } from "./location-lifecycle-dxj72tfx.js";
16
16
  import {
17
- Service47,
18
- node50
19
- } from "./repository-xkz7c9k1.js";
17
+ Service71,
18
+ node75
19
+ } from "./location-lifecycle-r0wf10m3.js";
20
20
  import {
21
- node23
22
- } from "./repository-ayec40qr.js";
21
+ node21
22
+ } from "./location-lifecycle-jy413cw9.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./repository-cwa6csj7.js";
24
+ Service9,
25
+ node11
26
+ } from "./location-lifecycle-qmqgtz8f.js";
27
27
  import {
28
28
  __export
29
- } from "./repository-9rqn6x4v.js";
29
+ } from "./location-lifecycle-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service47;
48
- const bus = yield* Service81;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service71;
48
+ const bus = yield* Service80;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
51
- const policy = yield* Service12;
50
+ const git = yield* Service81;
51
+ const policy = yield* Service9;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node50, FSUtil.node, node80, node87, node85, node23, node14]
108
+ deps: [node75, FSUtil.node, node82, node85, node84, node21, node11]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./repository-8dbdhz5n.js";
2
+ Service80,
3
+ node84
4
+ } from "./location-lifecycle-v6yffka4.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./repository-rkhtkbzg.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-lifecycle-h5wtym79.js";
9
9
  import {
10
10
  ID2
11
- } from "./repository-0mesazry.js";
11
+ } from "./location-lifecycle-0mesazry.js";
12
12
  import {
13
- Service62,
13
+ Service36,
14
14
  login2,
15
- node65
16
- } from "./repository-1hgfyhjr.js";
15
+ node39
16
+ } from "./location-lifecycle-sx2f478y.js";
17
17
  import {
18
18
  lazy2
19
- } from "./repository-88xbtdfr.js";
19
+ } from "./location-lifecycle-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./repository-9rqn6x4v.js";
22
+ } from "./location-lifecycle-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
@@ -30,9 +30,9 @@ __export(exports_pty, {
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service14,
33
+ Service: () => Service13,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node15
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service14 extends Context.Service()("@opencode/Pty") {
58
+ class Service13 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service14, Effect.gen(function* () {
61
- const bus = yield* Service81;
62
- const location = yield* Service76;
63
- const shell = yield* Service62;
60
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
61
+ const bus = yield* Service80;
62
+ const location = yield* Service78;
63
+ const shell = yield* Service36;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service14.of({ list, get, create, update, remove, write, attach });
271
+ return Service13.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service14,
273
+ var node15 = makeLocationNode({
274
+ service: Service13,
275
275
  layer,
276
- deps: [node85, node80, node65]
276
+ deps: [node84, node82, node39]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-lifecycle-922hggd3.js";
4
4
  import {
5
- Info19,
6
- ID6,
5
+ Info10,
6
+ ID5,
7
7
  Name2
8
- } from "./repository-7c3st4jz.js";
8
+ } from "./location-lifecycle-3mh8mcsd.js";
9
9
  import {
10
- Service46
11
- } from "./repository-7k43vd6t.js";
10
+ Service70
11
+ } from "./location-lifecycle-r9faq7b2.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin45,
21
+ Plugin: () => Plugin44,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin45 = define({
428
+ var Plugin44 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info19.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info10.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info19.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info10.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service46;
469
+ const config = yield* Service70;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin44, exports_skill3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID16
3
- } from "./repository-kjczd05a.js";
2
+ ID8
3
+ } from "./location-lifecycle-mmsq6tb2.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./repository-922hggd3.js";
6
+ } from "./location-lifecycle-922hggd3.js";
7
7
  import {
8
- Info15
9
- } from "./repository-818pfwc9.js";
8
+ Info21
9
+ } from "./location-lifecycle-f32czd11.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./repository-snkcc4fb.js";
12
+ } from "./location-lifecycle-qk8tymmw.js";
13
13
  import {
14
14
  latest2,
15
- Service46
16
- } from "./repository-7k43vd6t.js";
15
+ Service70
16
+ } from "./location-lifecycle-r9faq7b2.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./repository-5daktx2q.js";
19
+ } from "./location-lifecycle-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./repository-9rqn6x4v.js";
22
+ } from "./location-lifecycle-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin13
28
+ Plugin: () => Plugin23
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin13 = define({
47
+ var Plugin23 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service46;
50
+ const config = yield* Service70;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin13 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID16.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID16.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin13, exports_agent };
164
+ export { Plugin23, exports_agent };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID9
3
- } from "./repository-8sp84cjn.js";
2
+ ID13
3
+ } from "./location-lifecycle-pdnh11fp.js";
4
4
  import {
5
5
  iife2
6
- } from "./repository-1kg9ymc8.js";
6
+ } from "./location-lifecycle-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./repository-j7j31x51.js";
9
+ } from "./location-lifecycle-5jewystt.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID9.make("cloudflare-ai-gateway");
15
+ var providerID = ID13.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {