@opencode/core 0.0.0-dev-19715 → 0.0.0-dev-19716

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{model-resolver-j3bqg59g.js → location-03vb6nv0.js} +14 -14
  8. package/dist/chunks/{model-resolver-s4se5etm.js → location-04rxcna7.js} +13 -13
  9. package/dist/chunks/{model-resolver-2wnfz5wx.js → location-07agr24d.js} +4 -4
  10. package/dist/chunks/{model-resolver-qgekj8ca.js → location-0e2d0my9.js} +41 -41
  11. package/dist/chunks/{model-resolver-hkfg6fzm.js → location-0f9afca0.js} +5 -5
  12. package/dist/chunks/{model-resolver-z9g8xfyx.js → location-0hts9xpv.js} +49 -49
  13. package/dist/chunks/location-0mesazry.js +4 -0
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{model-resolver-fpbvkm1j.js → location-0v5xzxqh.js} +11 -11
  17. package/dist/chunks/{model-resolver-5e78k31r.js → location-10aqkgyz.js} +40 -40
  18. package/dist/chunks/{model-resolver-tvf48a4m.js → location-15krg189.js} +7 -7
  19. package/dist/chunks/{model-resolver-v2cxq5df.js → location-16515e26.js} +4 -4
  20. package/dist/chunks/{model-resolver-cmq7pf5c.js → location-16w9ders.js} +18 -18
  21. package/dist/chunks/{model-resolver-d109n3v6.js → location-17mnmpxr.js} +31 -31
  22. package/dist/chunks/{model-resolver-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{model-resolver-5zj12wam.js → location-1g4swf33.js} +8 -8
  24. package/dist/chunks/{model-resolver-ryr25ayn.js → location-1g7epwpd.js} +7 -7
  25. package/dist/chunks/{model-resolver-4x4qpr1k.js → location-1p5sngkf.js} +22 -22
  26. package/dist/chunks/{model-resolver-65rp8168.js → location-1zmmndd6.js} +10 -10
  27. package/dist/chunks/{model-resolver-21r38tys.js → location-21r38tys.js} +1 -1
  28. package/dist/chunks/{model-resolver-rhpdx0qt.js → location-29069r0y.js} +8 -8
  29. package/dist/chunks/{model-resolver-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{model-resolver-x2zthxjy.js → location-2av5k0ex.js} +13 -13
  31. package/dist/chunks/{model-resolver-3h3ebsbh.js → location-2f31fhhr.js} +3 -3
  32. package/dist/chunks/{model-resolver-600jpw1a.js → location-2jyc838z.js} +42 -42
  33. package/dist/chunks/{model-resolver-0jwsre1p.js → location-2k8khapm.js} +5 -5
  34. package/dist/chunks/{model-resolver-ma7aqx0g.js → location-2rjsj06d.js} +32 -32
  35. package/dist/chunks/{model-resolver-t2az9yje.js → location-2vs2nh1n.js} +4 -4
  36. package/dist/chunks/{model-resolver-v5922aq3.js → location-2zpv682r.js} +9 -9
  37. package/dist/chunks/{model-resolver-h47manga.js → location-341nwn3y.js} +11 -11
  38. package/dist/chunks/{model-resolver-jrqpj1rz.js → location-36nh78em.js} +9 -9
  39. package/dist/chunks/{model-resolver-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{model-resolver-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{model-resolver-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{model-resolver-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{model-resolver-6yr1acw8.js → location-3tx7s8ws.js} +18 -18
  44. package/dist/chunks/{model-resolver-ak0zzeb3.js → location-40h225zc.js} +8 -8
  45. package/dist/chunks/{model-resolver-y7n7x5e2.js → location-446f22m8.js} +25 -25
  46. package/dist/chunks/{model-resolver-p4y0yfrh.js → location-47dwvvdh.js} +4 -4
  47. package/dist/chunks/{model-resolver-kv88q56w.js → location-49yfp6qw.js} +6 -6
  48. package/dist/chunks/{model-resolver-xxn18gh4.js → location-4cme8wqz.js} +11 -11
  49. package/dist/chunks/{model-resolver-renjvscw.js → location-4mxy4x30.js} +29 -29
  50. package/dist/chunks/{model-resolver-4j06sfkj.js → location-4tcynec1.js} +15 -15
  51. package/dist/chunks/{model-resolver-a3t5n920.js → location-4y6aj75k.js} +5 -5
  52. package/dist/chunks/{model-resolver-510m7gjw.js → location-510m7gjw.js} +2 -2
  53. package/dist/chunks/{model-resolver-56gdpj1q.js → location-56gdpj1q.js} +2 -2
  54. package/dist/chunks/{model-resolver-57ez7d0k.js → location-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{model-resolver-mfhfdr54.js → location-5c0f1prt.js} +4 -4
  56. package/dist/chunks/{model-resolver-a1bz86dw.js → location-5c4hm403.js} +3 -3
  57. package/dist/chunks/{model-resolver-2e7snx76.js → location-5d3r82j4.js} +13 -13
  58. package/dist/chunks/{model-resolver-5daktx2q.js → location-5daktx2q.js} +1 -1
  59. package/dist/chunks/{model-resolver-vq049g7e.js → location-5sdpey35.js} +6 -6
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-669tq793.js → location-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-6vb019bv.js → location-66hnwthb.js} +18 -18
  63. package/dist/chunks/{model-resolver-ch5kqfnt.js → location-66xnrqgf.js} +15 -15
  64. package/dist/chunks/{model-resolver-qcn7s4dm.js → location-67yf8xyg.js} +13 -13
  65. package/dist/chunks/{model-resolver-xfa6k0ew.js → location-6bjvpy3z.js} +32 -32
  66. package/dist/chunks/{model-resolver-4g9kkqcn.js → location-6c52q5tt.js} +30 -30
  67. package/dist/chunks/{model-resolver-0msmke65.js → location-6dcjsk18.js} +10 -10
  68. package/dist/chunks/{model-resolver-80yczg4x.js → location-6gqfwrv9.js} +23 -23
  69. package/dist/chunks/{model-resolver-2402vzrj.js → location-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{model-resolver-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{model-resolver-zrwc20gf.js → location-6my6xgtn.js} +21 -21
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-vf5b43e0.js → location-7jje38px.js} +86 -86
  74. package/dist/chunks/{model-resolver-9y0wa7jp.js → location-7md7yvmw.js} +25 -25
  75. package/dist/chunks/{model-resolver-9c540yp5.js → location-7njqjn6e.js} +37 -37
  76. package/dist/chunks/{model-resolver-ggn5tyje.js → location-7np6y5v9.js} +12 -12
  77. package/dist/chunks/{model-resolver-thjxzeng.js → location-7s451enq.js} +8 -8
  78. package/dist/chunks/{model-resolver-qr39vjzw.js → location-7tzqssjy.js} +7 -7
  79. package/dist/chunks/{model-resolver-0z8vjex2.js → location-7w3s9kd0.js} +7 -7
  80. package/dist/chunks/{model-resolver-7xrtp4yq.js → location-7w60vn1f.js} +46 -46
  81. package/dist/chunks/{model-resolver-fy3y9pe0.js → location-80rhzvyv.js} +32 -32
  82. package/dist/chunks/{model-resolver-tvtfxz4g.js → location-8753ede7.js} +8 -8
  83. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{model-resolver-pqx0ybs2.js → location-8ggx16vj.js} +3 -3
  85. package/dist/chunks/{model-resolver-3dwbpzm6.js → location-8gmdrp80.js} +2 -2
  86. package/dist/chunks/{model-resolver-14e3p8es.js → location-8h1wbkf2.js} +9 -9
  87. package/dist/chunks/{model-resolver-jcbyds1h.js → location-8qaxm4pj.js} +9 -9
  88. package/dist/chunks/{model-resolver-as67bepm.js → location-8r7r9fdq.js} +4 -4
  89. package/dist/chunks/{model-resolver-3n5a2veh.js → location-8rp7g9cy.js} +41 -41
  90. package/dist/chunks/{model-resolver-j3ev6qnf.js → location-8sgh5qkz.js} +1 -1
  91. package/dist/chunks/{model-resolver-6cehp1nk.js → location-945gedbd.js} +22 -22
  92. package/dist/chunks/{model-resolver-96ngbw1f.js → location-96vnqt3j.js} +8 -8
  93. package/dist/chunks/{model-resolver-03ya27h5.js → location-99jmq6zc.js} +24 -24
  94. package/dist/chunks/{model-resolver-yxc7efnj.js → location-9da2ad09.js} +23 -23
  95. package/dist/chunks/{model-resolver-encgc94b.js → location-9f4em37r.js} +11 -11
  96. package/dist/chunks/{model-resolver-19sa2dm4.js → location-9fmj559e.js} +18 -18
  97. package/dist/chunks/{model-resolver-q7p04bx4.js → location-9rrewzca.js} +9 -9
  98. package/dist/chunks/{model-resolver-x8xgg3h0.js → location-9ttjsn7w.js} +34 -34
  99. package/dist/chunks/{model-resolver-h9h1j1mz.js → location-9w8twnxw.js} +12 -12
  100. package/dist/chunks/{model-resolver-j699j8bt.js → location-a3r4dcrj.js} +2 -2
  101. package/dist/chunks/{model-resolver-kz3etvb1.js → location-a4fef9kt.js} +15 -15
  102. package/dist/chunks/{model-resolver-g190xswt.js → location-a8bn8zg0.js} +4 -4
  103. package/dist/chunks/{model-resolver-aaet6srn.js → location-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-resolver-k9axbpjs.js → location-acetg5m5.js} +30 -30
  105. package/dist/chunks/{model-resolver-n9e4wkb0.js → location-aeghxbft.js} +9 -9
  106. package/dist/chunks/{model-resolver-edw5f9yb.js → location-af5hkrde.js} +4 -4
  107. package/dist/chunks/{model-resolver-2jkesbth.js → location-agz7cdrt.js} +5 -5
  108. package/dist/chunks/{model-resolver-fqhbsnr5.js → location-ahd542yp.js} +8 -8
  109. package/dist/chunks/{model-resolver-163dsem0.js → location-ak8tfqh0.js} +23 -23
  110. package/dist/chunks/{model-resolver-5mrjc4yb.js → location-aqb83mxp.js} +28 -28
  111. package/dist/chunks/{model-resolver-37nypx1t.js → location-aqjkr82e.js} +9 -9
  112. package/dist/chunks/{model-resolver-95py5vr5.js → location-ar8f19jx.js} +4 -4
  113. package/dist/chunks/{model-resolver-5h812224.js → location-ar97txna.js} +26 -26
  114. package/dist/chunks/{model-resolver-d5czr6p1.js → location-ayc4235b.js} +4 -4
  115. package/dist/chunks/{model-resolver-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{model-resolver-g5r1tnmz.js → location-bq5cns8k.js} +26 -26
  117. package/dist/chunks/{model-resolver-ceetf7sw.js → location-bqszwq89.js} +6 -6
  118. package/dist/chunks/{model-resolver-vzxxg8zg.js → location-c35r68nx.js} +23 -23
  119. package/dist/chunks/{model-resolver-st5e36a0.js → location-c6mftpmm.js} +12 -12
  120. package/dist/chunks/{model-resolver-8rtyjtxr.js → location-c7cfwd58.js} +21 -21
  121. package/dist/chunks/{model-resolver-mjnf20yt.js → location-cachp1nz.js} +37 -37
  122. package/dist/chunks/{model-resolver-xrsny83m.js → location-ceayma22.js} +8 -8
  123. package/dist/chunks/{model-resolver-fmf6pfgv.js → location-cg60qzy9.js} +6 -6
  124. package/dist/chunks/{model-resolver-tew83jr1.js → location-cj7xm2yn.js} +47 -47
  125. package/dist/chunks/{model-resolver-r53vwz5c.js → location-ckzk2jkt.js} +14 -14
  126. package/dist/chunks/{model-resolver-rn0a0t8a.js → location-cxrs0jvz.js} +17 -17
  127. package/dist/chunks/{model-resolver-phstrbs2.js → location-czfptnv9.js} +8 -8
  128. package/dist/chunks/{model-resolver-mkssaqtm.js → location-d5hmfdq1.js} +29 -29
  129. package/dist/chunks/{model-resolver-k4kd387c.js → location-dbhy9y10.js} +11 -11
  130. package/dist/chunks/{model-resolver-30n129z3.js → location-dbk0wazz.js} +17 -17
  131. package/dist/chunks/{model-resolver-dwq6ryhm.js → location-dh75pk8w.js} +5 -5
  132. package/dist/chunks/{model-resolver-8p4f9s12.js → location-dj2t23y0.js} +2 -2
  133. package/dist/chunks/{model-resolver-y71avatq.js → location-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{model-resolver-aaxq2vfe.js → location-e6t6afcf.js} +21 -21
  135. package/dist/chunks/{model-resolver-bjn91642.js → location-ec8389mk.js} +4 -4
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-q936sf20.js → location-etrrypk7.js} +29 -29
  139. package/dist/chunks/{model-resolver-yp2x3t23.js → location-f2n192rq.js} +4 -4
  140. package/dist/chunks/{model-resolver-cq37gk0t.js → location-fab8hzt3.js} +4 -4
  141. package/dist/chunks/{model-resolver-r0cdk6bg.js → location-fppj5by2.js} +22 -22
  142. package/dist/chunks/{model-resolver-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{model-resolver-55xz6a4b.js → location-g43kd5zb.js} +9 -9
  144. package/dist/chunks/{model-resolver-j95y1bft.js → location-g8kqh204.js} +15 -15
  145. package/dist/chunks/{model-resolver-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{model-resolver-5vb0pc45.js → location-gfxbkdwe.js} +31 -31
  147. package/dist/chunks/{model-resolver-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{model-resolver-03ej3xf2.js → location-gw1r2wcq.js} +7 -7
  149. package/dist/chunks/{model-resolver-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{model-resolver-4dgbcxzg.js → location-h6r3nrb9.js} +4 -4
  151. package/dist/chunks/{model-resolver-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{model-resolver-f828m53h.js → location-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{model-resolver-ry53p5f5.js → location-hedyh7s6.js} +36 -36
  154. package/dist/chunks/{model-resolver-b9zfys3q.js → location-hhanhgqp.js} +47 -47
  155. package/dist/chunks/{model-resolver-vxjtd25a.js → location-hjrr39kg.js} +21 -21
  156. package/dist/chunks/{model-resolver-ncfs2mqg.js → location-j0d9e70d.js} +12 -12
  157. package/dist/chunks/{model-resolver-3b1q5j1v.js → location-j15mfg1p.js} +6 -6
  158. package/dist/chunks/{model-resolver-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{model-resolver-pk2244jm.js → location-jexxy024.js} +3 -3
  160. package/dist/chunks/{model-resolver-jppvw2tx.js → location-jppvw2tx.js} +2 -2
  161. package/dist/chunks/{model-resolver-0vva8vqn.js → location-jr53dr5m.js} +29 -29
  162. package/dist/chunks/location-jt1k8a7s.js +478 -0
  163. package/dist/chunks/{model-resolver-8z4mzydb.js → location-jtq6z7z2.js} +5 -5
  164. package/dist/chunks/{model-resolver-pnja8679.js → location-jz02bzhy.js} +32 -32
  165. package/dist/chunks/{model-resolver-4sqf757v.js → location-k05f6hb9.js} +8 -8
  166. package/dist/chunks/{model-resolver-sttvgref.js → location-kkdjd7sx.js} +32 -32
  167. package/dist/chunks/{model-resolver-6d7rtenb.js → location-kqgc0d2k.js} +14 -14
  168. package/dist/chunks/{model-resolver-j46cxss4.js → location-kszj9asf.js} +1 -1
  169. package/dist/chunks/{model-resolver-49ngy6nw.js → location-kyxg2szg.js} +13 -13
  170. package/dist/chunks/{model-resolver-cfpkc3c9.js → location-m0jqrx5p.js} +2 -2
  171. package/dist/chunks/{model-resolver-jp55f8a2.js → location-m14n58wx.js} +3 -3
  172. package/dist/chunks/{model-resolver-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{model-resolver-y396q54h.js → location-mhafq4c6.js} +22 -22
  175. package/dist/chunks/{model-resolver-yt385gn2.js → location-mp468g0n.js} +24 -24
  176. package/dist/chunks/{model-resolver-gr1f03ws.js → location-mqw5201m.js} +9 -9
  177. package/dist/chunks/{model-resolver-fn6s2bpw.js → location-msvegwct.js} +11 -11
  178. package/dist/chunks/{model-resolver-1bbkgx8g.js → location-mvfsc1pv.js} +3 -3
  179. package/dist/chunks/{model-resolver-s4tv09cy.js → location-mxwfqr9b.js} +78 -78
  180. package/dist/chunks/{model-resolver-vb4gjqtk.js → location-ndde06na.js} +13 -13
  181. package/dist/chunks/{model-resolver-brp8zeym.js → location-nge3vtdb.js} +6 -6
  182. package/dist/chunks/{model-resolver-fx9zhezm.js → location-nkrk1h0r.js} +9 -9
  183. package/dist/chunks/{model-resolver-mgwx0cg1.js → location-nneghs7t.js} +18 -18
  184. package/dist/chunks/{model-resolver-yjtbktzn.js → location-nyj9qeg3.js} +27 -27
  185. package/dist/chunks/{model-resolver-nzks3jc8.js → location-nzks3jc8.js} +3 -3
  186. package/dist/chunks/{model-resolver-7m2r0vgy.js → location-p17j87wz.js} +29 -29
  187. package/dist/chunks/location-phz3h32g.js +18 -0
  188. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{model-resolver-pknna89w.js → location-pknna89w.js} +1 -1
  190. package/dist/chunks/{model-resolver-mksbb8nz.js → location-pktg7h7y.js} +18 -18
  191. package/dist/chunks/{model-resolver-4x0p6wc7.js → location-py190zb7.js} +16 -16
  192. package/dist/chunks/{model-resolver-vgd6my2m.js → location-py6bk7z7.js} +24 -24
  193. package/dist/chunks/{model-resolver-bqapkkwx.js → location-q8ba8d8n.js} +36 -36
  194. package/dist/chunks/{model-resolver-4k5cy1h1.js → location-qab2nw4t.js} +12 -12
  195. package/dist/chunks/{model-resolver-53b56yzz.js → location-qffcmhtj.js} +6 -6
  196. package/dist/chunks/{model-resolver-efc3y9qy.js → location-qfjfqh5t.js} +28 -28
  197. package/dist/chunks/{model-resolver-qqeeq2t9.js → location-qqeeq2t9.js} +1 -1
  198. package/dist/chunks/{model-resolver-qsdy395h.js → location-qsdy395h.js} +1 -1
  199. package/dist/chunks/{model-resolver-c765mh8b.js → location-r2m716tb.js} +5 -5
  200. package/dist/chunks/{model-resolver-1627k7qg.js → location-r4m2h3v6.js} +29 -29
  201. package/dist/chunks/{model-resolver-jnjv4swr.js → location-r92fhvpg.js} +157 -157
  202. package/dist/chunks/{model-resolver-a3ftg8j6.js → location-r9w3djhf.js} +9 -9
  203. package/dist/chunks/{model-resolver-pjjzqhjh.js → location-r9yepgex.js} +27 -27
  204. package/dist/chunks/{model-resolver-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{model-resolver-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  206. package/dist/chunks/{model-resolver-7h4d0hsa.js → location-rmm87f9n.js} +7 -7
  207. package/dist/chunks/{model-resolver-13q063b0.js → location-rn79xn25.js} +7 -7
  208. package/dist/chunks/location-rnc8y5xx.js +252 -0
  209. package/dist/chunks/{model-resolver-m717gk7q.js → location-s245t2v6.js} +5 -5
  210. package/dist/chunks/{model-resolver-g757ar9v.js → location-s2vmkekr.js} +5 -5
  211. package/dist/chunks/{model-resolver-2hdn0xd5.js → location-sb9bn2e6.js} +18 -18
  212. package/dist/chunks/{model-resolver-shhj53tb.js → location-sdehcrsb.js} +9 -9
  213. package/dist/chunks/{model-resolver-jbryrjhm.js → location-smdb1w7c.js} +8 -8
  214. package/dist/chunks/{model-resolver-e5k77c54.js → location-smdjk38f.js} +14 -14
  215. package/dist/chunks/{model-resolver-r345bmqf.js → location-ssvs6b7e.js} +11 -11
  216. package/dist/chunks/{model-resolver-tjnzpwm8.js → location-szmqx304.js} +15 -15
  217. package/dist/chunks/{model-resolver-0zcechvz.js → location-t81q7vse.js} +23 -23
  218. package/dist/chunks/{model-resolver-sx1n432n.js → location-t9zs3egg.js} +4 -4
  219. package/dist/chunks/{model-resolver-ndccpjjz.js → location-taadejx1.js} +17 -17
  220. package/dist/chunks/{model-resolver-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{model-resolver-pa484fme.js → location-tbfk151j.js} +7 -7
  222. package/dist/chunks/{model-resolver-tbmac1c7.js → location-tbmac1c7.js} +1 -1
  223. package/dist/chunks/{model-resolver-89znhe33.js → location-tcezcvh9.js} +4 -4
  224. package/dist/chunks/{model-resolver-r5pvgzgj.js → location-tcjrbdf6.js} +24 -24
  225. package/dist/chunks/{model-resolver-vacv9019.js → location-td4xbn75.js} +6 -6
  226. package/dist/chunks/{model-resolver-tdstcens.js → location-tdstcens.js} +1 -1
  227. package/dist/chunks/{model-resolver-j2w7j3x5.js → location-tgcb6fx0.js} +13 -13
  228. package/dist/chunks/{model-resolver-wfcjyhbd.js → location-tnrwzpwm.js} +44 -44
  229. package/dist/chunks/{model-resolver-3hcrnb3w.js → location-tnztkhzv.js} +5 -5
  230. package/dist/chunks/{model-resolver-98mrngdw.js → location-tq8nnr3c.js} +34 -34
  231. package/dist/chunks/{model-resolver-tvtrv512.js → location-tvtrv512.js} +1 -1
  232. package/dist/chunks/{model-resolver-evbgk2k8.js → location-tz2bjj40.js} +5 -5
  233. package/dist/chunks/{model-resolver-paj7g8d0.js → location-v1ddstbj.js} +7 -7
  234. package/dist/chunks/{model-resolver-fz4jpxex.js → location-v5wmmv50.js} +16 -16
  235. package/dist/chunks/{model-resolver-jharhjnw.js → location-v787tjtf.js} +28 -28
  236. package/dist/chunks/{model-resolver-tzfanr63.js → location-vdjm6brp.js} +22 -22
  237. package/dist/chunks/{model-resolver-sh9h5wwb.js → location-vedx8cwj.js} +20 -20
  238. package/dist/chunks/{model-resolver-veqvce7d.js → location-veqvce7d.js} +1 -1
  239. package/dist/chunks/{model-resolver-cdm0dq9n.js → location-vqfzq50h.js} +6 -6
  240. package/dist/chunks/location-vtb1hg3s.js +26 -0
  241. package/dist/chunks/{model-resolver-pq7ecckh.js → location-vv5a2hcq.js} +36 -36
  242. package/dist/chunks/{model-resolver-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{model-resolver-t8f302nt.js → location-w3424jcz.js} +4 -4
  244. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{model-resolver-8trbt2et.js → location-w4cxarg0.js} +23 -23
  246. package/dist/chunks/{model-resolver-6r4v01x8.js → location-w4d6fy0p.js} +45 -45
  247. package/dist/chunks/{model-resolver-z8nvkxrw.js → location-w7r1czy6.js} +3 -3
  248. package/dist/chunks/{model-resolver-018rch66.js → location-w9daxb4n.js} +61 -61
  249. package/dist/chunks/{model-resolver-ncrmpxjj.js → location-wasd3021.js} +9 -9
  250. package/dist/chunks/{model-resolver-wd87259q.js → location-wd87259q.js} +1 -1
  251. package/dist/chunks/{model-resolver-2g4qtz8w.js → location-wjtkehg3.js} +96 -96
  252. package/dist/chunks/{model-resolver-jk24q48k.js → location-wk6w68nx.js} +9 -9
  253. package/dist/chunks/{model-resolver-7y8bq3bf.js → location-wn5vrjrm.js} +3 -3
  254. package/dist/chunks/{model-resolver-6c46qrvz.js → location-wxfpnx53.js} +18 -18
  255. package/dist/chunks/{model-resolver-hjp5nr78.js → location-x0qhwc4r.js} +30 -30
  256. package/dist/chunks/{model-resolver-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{model-resolver-bcft8wmc.js → location-x1frxw2k.js} +9 -9
  258. package/dist/chunks/{model-resolver-82cncyfr.js → location-x7rm4bm5.js} +36 -36
  259. package/dist/chunks/{model-resolver-d2yvgesw.js → location-xbhkafsn.js} +8 -8
  260. package/dist/chunks/{model-resolver-m485abxa.js → location-xgaytrrd.js} +21 -21
  261. package/dist/chunks/{model-resolver-fhs97t90.js → location-xk747vep.js} +8 -8
  262. package/dist/chunks/{model-resolver-ttypvbs3.js → location-xtc376qs.js} +5 -5
  263. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{model-resolver-9d58krhf.js → location-y5hz63qk.js} +18 -18
  265. package/dist/chunks/{model-resolver-p4pkk9xt.js → location-y6r52svf.js} +13 -13
  266. package/dist/chunks/{model-resolver-8n65eehz.js → location-y7mhrj1b.js} +12 -12
  267. package/dist/chunks/{model-resolver-818pfwc9.js → location-y7x142mt.js} +8 -8
  268. package/dist/chunks/{model-resolver-r629fsmj.js → location-y9q9tkrd.js} +52 -52
  269. package/dist/chunks/{model-resolver-3f15rfkp.js → location-ybhbtxjg.js} +6 -6
  270. package/dist/chunks/{model-resolver-fwrss4ad.js → location-ykv3t8te.js} +4 -4
  271. package/dist/chunks/{model-resolver-bynfxm7n.js → location-yng26616.js} +5 -5
  272. package/dist/chunks/{model-resolver-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{model-resolver-yrznvahk.js → location-yrznvahk.js} +2 -2
  274. package/dist/chunks/{model-resolver-7m2q8372.js → location-yrzwczvk.js} +13 -13
  275. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-resolver-rve0xcj6.js → location-z1mphqcv.js} +4 -4
  277. package/dist/chunks/{model-resolver-1krsbgzh.js → location-z5tqk6g1.js} +10 -10
  278. package/dist/chunks/{model-resolver-z63w68vq.js → location-z63w68vq.js} +2 -2
  279. package/dist/chunks/{model-resolver-gypa8pv9.js → location-z7h5xcrq.js} +3 -3
  280. package/dist/chunks/{model-resolver-dx0v4jym.js → location-z82a5ak4.js} +11 -11
  281. package/dist/chunks/{model-resolver-c808kqea.js → location-zbf3s7c4.js} +35 -35
  282. package/dist/chunks/{model-resolver-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{model-resolver-fch79rh9.js → location-zhq6vg7a.js} +1 -1
  284. package/dist/chunks/{model-resolver-ghrzdqqx.js → location-zk8c4w5t.js} +5 -5
  285. package/dist/chunks/{model-resolver-zqx8wcya.js → location-zqx8wcya.js} +2 -2
  286. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{model-resolver-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +83 -83
  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 +120 -120
  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 +125 -125
  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 +123 -123
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  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 +92 -92
  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 +4 -4
  421. package/dist/filesystem/location-watcher.js +220 -220
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +9 -9
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  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 +98 -98
  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 +84 -84
  457. package/dist/instructions/builtins.js +84 -84
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +79 -79
  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 +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +125 -125
  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 +98 -98
  477. package/dist/model-resolver.js +93 -93
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +102 -102
  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 +108 -108
  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 +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +1 -1
  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 +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  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 +91 -91
  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 +347 -347
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  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 +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +98 -98
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +88 -88
  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 +131 -131
  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 +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  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 +116 -116
  589. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +125 -125
  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 +169 -169
  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 +86 -86
  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 +1 -1
  614. package/dist/session/title.js +155 -155
  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 +219 -219
  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 +9 -9
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +4 -4
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +103 -103
  627. package/dist/snapshot.js +90 -90
  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 +122 -122
  632. package/dist/tool/plugin/edit.js +119 -119
  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 +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  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 +218 -218
  643. package/dist/tool/plugin/webfetch.js +107 -107
  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 +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  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 +3 -3
  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 +2 -2
  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 +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  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 +97 -97
  690. package/package.json +8 -8
  691. package/dist/chunks/model-resolver-12rmxn42.js +0 -26
  692. package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
  693. package/dist/chunks/model-resolver-fq8e80gj.js +0 -478
  694. package/dist/chunks/model-resolver-kpe9p76v.js +0 -252
  695. package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
  696. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{model-resolver-24dcb14g.js → location-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2710q6r3.js → location-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{model-resolver-359p4xyc.js → location-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3asan66x.js → location-3asan66x.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{model-resolver-53557ph1.js → location-53557ph1.js} +0 -0
  715. /package/dist/chunks/{model-resolver-550bvhaj.js → location-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{model-resolver-6prwharc.js → location-6prwharc.js} +0 -0
  718. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{model-resolver-7m9af43g.js → location-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{model-resolver-822emrt2.js → location-822emrt2.js} +0 -0
  721. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{model-resolver-8n3pysct.js → location-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{model-resolver-922hggd3.js → location-922hggd3.js} +0 -0
  724. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{model-resolver-af5trqkr.js → location-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{model-resolver-afrmfg78.js → location-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{model-resolver-d9fn303g.js → location-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{model-resolver-dajrwvna.js → location-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dap0rakb.js → location-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{model-resolver-df08tz66.js → location-df08tz66.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dy18nga0.js → location-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{model-resolver-ec1grn59.js → location-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{model-resolver-faypxj3z.js → location-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{model-resolver-fd410y7t.js → location-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{model-resolver-g86h250q.js → location-g86h250q.js} +0 -0
  753. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{model-resolver-gftt206x.js → location-gftt206x.js} +0 -0
  755. /package/dist/chunks/{model-resolver-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{model-resolver-hk9envan.js → location-hk9envan.js} +0 -0
  757. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{model-resolver-mp448xyj.js → location-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{model-resolver-njntx4h6.js → location-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{model-resolver-q74kybfr.js → location-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{model-resolver-twg0f83k.js → location-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{model-resolver-w803qqfp.js → location-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{model-resolver-wtztk69x.js → location-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{model-resolver-x61499pn.js → location-x61499pn.js} +0 -0
  786. /package/dist/chunks/{model-resolver-y44na4kk.js → location-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{model-resolver-y8f7s663.js → location-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{model-resolver-ym463w8f.js → location-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{model-resolver-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./model-resolver-fz4jpxex.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-v5wmmv50.js";
5
5
  import {
6
6
  environment2
7
- } from "./model-resolver-p4pkk9xt.js";
7
+ } from "./location-y6r52svf.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-resolver-sk3qaz4a.js";
10
+ } from "./location-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError11,
20
- Options: () => Options9,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service77,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured10,
25
- layer: () => layer25,
26
- node: () => node81
22
+ Service: () => Service46,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured5,
25
+ layer: () => layer17,
26
+ node: () => node48
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError11 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service77 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service46 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* () {
53
- const bus = yield* Service79;
52
+ var makeLayer = (options = {}) => Layer.effect(Service46, Effect.gen(function* () {
53
+ const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError11({ ptyID: id });
75
+ return yield* new NotFoundError6({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service77.of({
242
+ return Service46.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer25 = makeLayer();
259
- var configured10 = (options) => makeGlobalNode({
260
- service: Service77,
261
- layer: options === undefined ? layer25 : makeLayer(options),
262
- deps: [node83, Global.node]
258
+ var layer17 = makeLayer();
259
+ var configured5 = (options) => makeGlobalNode({
260
+ service: Service46,
261
+ layer: options === undefined ? layer17 : makeLayer(options),
262
+ deps: [node85, Global.node]
263
263
  });
264
- var node81 = configured10();
264
+ var node48 = configured5();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError11, Service77, layer25, configured10, node81, exports_persistent_pty, Handoff2 };
304
+ export { Options5, UnavailableError2, NotFoundError6, Service46, layer17, configured5, node48, exports_persistent_pty, Handoff2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service47
3
- } from "./model-resolver-5e78k31r.js";
3
+ } from "./location-10aqkgyz.js";
4
4
  import {
5
5
  match2
6
- } from "./model-resolver-y1fvbwt7.js";
6
+ } from "./location-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./model-resolver-qsdy395h.js";
9
+ } from "./location-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin8
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin8 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  const config = yield* Service47;
@@ -35,4 +35,4 @@ var Plugin19 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin19, exports_policy };
38
+ export { Plugin8, exports_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./location-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./model-resolver-tdstcens.js";
6
+ } from "./location-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info27 = Connection.Info;
17
+ var Info28 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./location-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-resolver-8p4f9s12.js";
6
+ } from "./location-dj2t23y0.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  ID14,
3
- Service70,
4
- node74
5
- } from "./model-resolver-sh9h5wwb.js";
3
+ Service76,
4
+ node80
5
+ } from "./location-vedx8cwj.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
11
11
  nativeSettings2,
12
12
  mergeOverlay2,
13
13
  mergeHeaders2,
14
- Service63,
15
- node66
16
- } from "./model-resolver-mkssaqtm.js";
14
+ Service75,
15
+ node79
16
+ } from "./location-d5hmfdq1.js";
17
17
  import {
18
- Service61,
19
- node64
20
- } from "./model-resolver-fpbvkm1j.js";
18
+ Service67,
19
+ node70
20
+ } from "./location-0v5xzxqh.js";
21
21
  import {
22
- ID11,
22
+ ID7,
23
23
  VariantID2,
24
24
  Ref2,
25
- Service62,
26
- node65
27
- } from "./model-resolver-c808kqea.js";
25
+ Service61,
26
+ node64
27
+ } from "./location-zbf3s7c4.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./location-9rqn6x4v.js";
31
31
 
32
32
  // src/model-resolver.ts
33
33
  var exports_model_resolver = {};
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
43
43
  VariantUnavailableError: () => VariantUnavailableError3,
44
44
  fromCatalogModel: () => fromCatalogModel2,
45
45
  hasPackage: () => hasPackage2,
46
- layer: () => layer22,
46
+ layer: () => layer24,
47
47
  node: () => node63,
48
48
  resolveModel: () => resolveModel2,
49
49
  withVariant: () => withVariant2
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
54
54
  import { Context, Effect, Layer, Schema, Struct } from "effect";
55
55
  import { Npm } from "@opencode/util/npm";
56
56
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
57
- providerID: ID12,
58
- modelID: ID11,
57
+ providerID: ID13,
58
+ modelID: ID7,
59
59
  variant: VariantID2
60
60
  }) {
61
61
  get message() {
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
64
64
  }
65
65
 
66
66
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
67
- providerID: ID12,
68
- modelID: ID11,
67
+ providerID: ID13,
68
+ modelID: ID7,
69
69
  package: Schema.String
70
70
  }) {
71
71
  get message() {
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
75
75
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
76
76
 
77
77
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
78
- providerID: ID12,
79
- modelID: ID11,
78
+ providerID: ID13,
79
+ modelID: ID7,
80
80
  package: Schema.String,
81
81
  detail: Schema.String
82
82
  }) {
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
86
86
  }
87
87
 
88
88
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
89
- providerID: ID12,
90
- modelID: ID11,
89
+ providerID: ID13,
90
+ modelID: ID7,
91
91
  package: Schema.String,
92
92
  phase: InitializationPhase2,
93
93
  detail: Schema.String
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
98
98
  }
99
99
 
100
100
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
101
- providerID: ID12,
102
- modelID: ID11,
101
+ providerID: ID13,
102
+ modelID: ID7,
103
103
  variables: Schema.Array(Schema.String)
104
104
  }) {
105
105
  get message() {
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
108
108
  }
109
109
 
110
110
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
111
- providerID: ID12,
112
- modelID: ID11,
111
+ providerID: ID13,
112
+ modelID: ID7,
113
113
  route: Schema.String
114
114
  }) {
115
115
  get message() {
@@ -257,12 +257,12 @@ var causeMessage = (cause) => {
257
257
  };
258
258
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
259
259
  var hasPackage2 = (model) => Boolean(model.package);
260
- var layer22 = Layer.effect(Service60, Effect.gen(function* () {
261
- const providers = yield* Service63;
262
- const models = yield* Service62;
263
- const integrations = yield* Service70;
260
+ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
261
+ const providers = yield* Service75;
262
+ const models = yield* Service61;
263
+ const integrations = yield* Service76;
264
264
  const npm = yield* Npm.Service;
265
- const aisdk = yield* Service61;
265
+ const aisdk = yield* Service67;
266
266
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
267
267
  const provider = yield* providers.get(selected.providerID);
268
268
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -306,8 +306,8 @@ function usesAPIKeyAuth(packageName) {
306
306
  }
307
307
  var node63 = makeLocationNode({
308
308
  service: Service60,
309
- layer: layer22,
310
- deps: [node66, node65, node74, Npm.node, node64]
309
+ layer: layer24,
310
+ deps: [node79, node64, node80, Npm.node, node70]
311
311
  });
312
312
 
313
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node63, exports_model_resolver };
313
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node63, exports_model_resolver };
@@ -1,57 +1,57 @@
1
+ import {
2
+ Service81,
3
+ node85
4
+ } from "./location-v5wmmv50.js";
1
5
  import {
2
6
  Service79,
3
7
  node83
4
- } from "./model-resolver-fz4jpxex.js";
5
- import {
6
- Service74,
7
- node78
8
- } from "./model-resolver-r53vwz5c.js";
8
+ } from "./location-ckzk2jkt.js";
9
9
  import {
10
- Service68,
11
- node71
12
- } from "./model-resolver-yt385gn2.js";
10
+ Service73,
11
+ node76
12
+ } from "./location-mp468g0n.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./model-resolver-gd4qta3r.js";
15
+ } from "./location-gd4qta3r.js";
16
16
  import {
17
- Service78,
17
+ Service56,
18
18
  args2,
19
- node82
20
- } from "./model-resolver-p4pkk9xt.js";
19
+ node59
20
+ } from "./location-y6r52svf.js";
21
21
  import {
22
- Service83,
23
- node87
24
- } from "./model-resolver-thjxzeng.js";
22
+ Service71,
23
+ node74
24
+ } from "./location-7s451enq.js";
25
25
  import {
26
- Service42,
27
- node44
28
- } from "./model-resolver-fqhbsnr5.js";
26
+ Service35,
27
+ node38
28
+ } from "./location-ahd542yp.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./model-resolver-pk2244jm.js";
31
+ } from "./location-jexxy024.js";
32
32
  import {
33
33
  latest2,
34
34
  Service47,
35
- node50
36
- } from "./model-resolver-5e78k31r.js";
35
+ node49
36
+ } from "./location-10aqkgyz.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./model-resolver-ncfs2mqg.js";
40
+ } from "./location-j0d9e70d.js";
41
41
  import {
42
42
  __export
43
- } from "./model-resolver-9rqn6x4v.js";
43
+ } from "./location-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service41,
51
+ Service: () => Service34,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node37
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service41 extends Context.Service()("@opencode/Shell") {
73
+ class Service34 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,14 +86,14 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service41, Effect.gen(function* () {
90
- const bus = yield* Service79;
91
- const location = yield* Service74;
89
+ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
90
+ const bus = yield* Service81;
91
+ const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service78;
94
- const environment = yield* Service68;
95
- const hooks = yield* Service83;
96
- const environments = yield* Service42;
93
+ const shell = yield* Service56;
94
+ const environment = yield* Service73;
95
+ const hooks = yield* Service71;
96
+ const environments = yield* Service35;
97
97
  const config = yield* Service47;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service41.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service34.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node43 = makeLocationNode({
320
- service: Service41,
319
+ var node37 = makeLocationNode({
320
+ service: Service34,
321
321
  layer: layer(),
322
322
  deps: [
323
+ node85,
323
324
  node83,
324
- node78,
325
325
  Global.node,
326
- node82,
327
- node71,
328
- node87,
329
- node44,
330
- node50,
326
+ node59,
327
+ node76,
328
+ node74,
329
+ node38,
330
+ node49,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service41, cleanup2, node43, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service34, cleanup2, node37, exports_shell4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./model-resolver-fz4jpxex.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-v5wmmv50.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./model-resolver-ggn5tyje.js";
6
+ Service83,
7
+ node87
8
+ } from "./location-7np6y5v9.js";
9
9
  import {
10
- Service74,
11
- node78
12
- } from "./model-resolver-r53vwz5c.js";
10
+ Service79,
11
+ node83
12
+ } from "./location-ckzk2jkt.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./model-resolver-4v7qdvcn.js";
15
+ } from "./location-phz3h32g.js";
16
16
  import {
17
17
  Service48,
18
- node51
19
- } from "./model-resolver-4k5cy1h1.js";
18
+ node50
19
+ } from "./location-qab2nw4t.js";
20
20
  import {
21
- node15
22
- } from "./model-resolver-4x4qpr1k.js";
21
+ node23
22
+ } from "./location-1p5sngkf.js";
23
23
  import {
24
24
  Service7,
25
- node9
26
- } from "./model-resolver-c765mh8b.js";
25
+ node8
26
+ } from "./location-r2m716tb.js";
27
27
  import {
28
28
  __export
29
- } from "./model-resolver-9rqn6x4v.js";
29
+ } from "./location-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
@@ -43,11 +43,11 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service74;
46
+ const location = yield* Service79;
47
47
  const watcher = yield* Service48;
48
- const bus = yield* Service79;
48
+ const bus = yield* Service81;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service76;
50
+ const git = yield* Service83;
51
51
  const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
105
105
  var node2 = makeLocationNode({
106
106
  service: Service2,
107
107
  layer,
108
- deps: [node51, FSUtil.node, node78, node80, node83, node15, node9]
108
+ deps: [node50, FSUtil.node, node83, node87, node85, node23, node8]
109
109
  });
110
110
 
111
111
  export { Service2, node2, exports_location_watcher };