@opencode/core 0.0.0-dev-20581 → 0.0.0-dev-20586

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{managed-policy-cc75tkym.js → schema-0brrbz7a.js} +16 -16
  8. package/dist/chunks/{managed-policy-nepz78e5.js → schema-0jm58kyp.js} +9 -9
  9. package/dist/chunks/{managed-policy-57kx76x8.js → schema-0knh1j5d.js} +18 -18
  10. package/dist/chunks/{managed-policy-h4v137tq.js → schema-0nrdtycv.js} +47 -47
  11. package/dist/chunks/{managed-policy-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{managed-policy-j74g7mqr.js → schema-0tjvnj70.js} +9 -9
  13. package/dist/chunks/{managed-policy-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{managed-policy-d6bttsxy.js → schema-1279vwrw.js} +5 -5
  15. package/dist/chunks/{managed-policy-nrrmpm3c.js → schema-15h6fegf.js} +13 -13
  16. package/dist/chunks/{managed-policy-jr3bj4y0.js → schema-15s9b7tq.js} +13 -13
  17. package/dist/chunks/{managed-policy-q6w467xr.js → schema-18a3shtt.js} +16 -16
  18. package/dist/chunks/{managed-policy-rhraev7y.js → schema-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{managed-policy-5q13c62c.js → schema-1dangqhw.js} +7 -7
  20. package/dist/chunks/{managed-policy-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{managed-policy-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{managed-policy-x2ntk5yv.js → schema-1j43e8h9.js} +20 -20
  23. package/dist/chunks/{managed-policy-bqb67z36.js → schema-1x37w07y.js} +17 -17
  24. package/dist/chunks/{managed-policy-33w4ejhs.js → schema-1ygqh575.js} +6 -6
  25. package/dist/chunks/{managed-policy-jqjzdtvy.js → schema-1z8bakdw.js} +11 -11
  26. package/dist/chunks/{managed-policy-df8jaf6d.js → schema-1zf23djs.js} +4 -4
  27. package/dist/chunks/{managed-policy-k08ezkqp.js → schema-21z0btgx.js} +8 -8
  28. package/dist/chunks/{managed-policy-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{managed-policy-e4vaeb0t.js → schema-2aajs87z.js} +26 -26
  30. package/dist/chunks/{managed-policy-t9zqd86n.js → schema-2s93m5wx.js} +24 -24
  31. package/dist/chunks/{managed-policy-c10q7bwq.js → schema-2ty9snxt.js} +23 -23
  32. package/dist/chunks/{managed-policy-wq3m38jw.js → schema-34tsw91e.js} +15 -15
  33. package/dist/chunks/schema-35668my4.js +26 -0
  34. package/dist/chunks/{managed-policy-tekbgh3x.js → schema-3757zhg2.js} +10 -10
  35. package/dist/chunks/{managed-policy-p1yfc9a8.js → schema-398sja33.js} +22 -22
  36. package/dist/chunks/{managed-policy-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{managed-policy-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{managed-policy-wxj2pshp.js → schema-3jqk5x8p.js} +69 -69
  39. package/dist/chunks/{managed-policy-pt0zkbkz.js → schema-3k1ktder.js} +4 -4
  40. package/dist/chunks/{managed-policy-nf65gqd5.js → schema-3rjzkyns.js} +16 -16
  41. package/dist/chunks/{managed-policy-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{managed-policy-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{managed-policy-3zbwexce.js → schema-3zbwexce.js} +3 -3
  44. package/dist/chunks/{managed-policy-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{managed-policy-dm99yka6.js → schema-461mwfvs.js} +32 -32
  46. package/dist/chunks/{managed-policy-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{managed-policy-n9axn9y3.js → schema-4xxxtaen.js} +8 -8
  48. package/dist/chunks/{managed-policy-4hh2xy14.js → schema-4ytb3748.js} +3 -3
  49. package/dist/chunks/{managed-policy-r94pvvab.js → schema-54ma36ye.js} +4 -4
  50. package/dist/chunks/{managed-policy-j7v3c1ew.js → schema-55m450pe.js} +11 -11
  51. package/dist/chunks/{managed-policy-5md23d48.js → schema-5ccwcxf7.js} +14 -14
  52. package/dist/chunks/{managed-policy-5daktx2q.js → schema-5daktx2q.js} +1 -1
  53. package/dist/chunks/{managed-policy-enpcsfks.js → schema-5f5fdjjg.js} +33 -33
  54. package/dist/chunks/{managed-policy-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{managed-policy-89c57hn9.js → schema-5xbqt2y0.js} +22 -22
  56. package/dist/chunks/{managed-policy-ncj4p4na.js → schema-5zeh3nq2.js} +45 -45
  57. package/dist/chunks/{managed-policy-9jrdkbpa.js → schema-609c7rjf.js} +8 -8
  58. package/dist/chunks/{managed-policy-669tq793.js → schema-669tq793.js} +1 -1
  59. package/dist/chunks/{managed-policy-4q8xb7vk.js → schema-66f72jf0.js} +24 -24
  60. package/dist/chunks/{managed-policy-py9kw9tn.js → schema-6je3rcen.js} +16 -16
  61. package/dist/chunks/{managed-policy-k8k12ca3.js → schema-6p0hs1pc.js} +13 -13
  62. package/dist/chunks/{managed-policy-vsbamy9h.js → schema-6v4rkqn9.js} +20 -20
  63. package/dist/chunks/{managed-policy-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{managed-policy-dryhn22b.js → schema-6xg4x7p4.js} +27 -27
  65. package/dist/chunks/{managed-policy-71az546q.js → schema-71az546q.js} +2 -2
  66. package/dist/chunks/{managed-policy-nhnhrcwq.js → schema-71v7metp.js} +27 -27
  67. package/dist/chunks/{managed-policy-03qxw8pz.js → schema-785emzww.js} +20 -20
  68. package/dist/chunks/{managed-policy-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{managed-policy-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{managed-policy-8s59b704.js → schema-7gewva0j.js} +3 -3
  71. package/dist/chunks/{managed-policy-zgww0ypy.js → schema-7k951zm2.js} +11 -11
  72. package/dist/chunks/{managed-policy-txzjavxp.js → schema-7nfz7vry.js} +6 -6
  73. package/dist/chunks/{managed-policy-xs81jx4r.js → schema-7vv0vsc5.js} +10 -10
  74. package/dist/chunks/{managed-policy-psy48106.js → schema-84c5kt73.js} +4 -4
  75. package/dist/chunks/{managed-policy-955wy3qr.js → schema-892k6z1j.js} +11 -11
  76. package/dist/chunks/{managed-policy-4c2df9zx.js → schema-89bb6baa.js} +8 -8
  77. package/dist/chunks/{managed-policy-m64xvjj1.js → schema-89vjf07m.js} +5 -5
  78. package/dist/chunks/{managed-policy-6m3tp8mj.js → schema-8c6aeth0.js} +29 -29
  79. package/dist/chunks/{managed-policy-9dgpp9cn.js → schema-8d5nx7er.js} +183 -183
  80. package/dist/chunks/{managed-policy-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{managed-policy-y2x5y4w5.js → schema-8gn32dwp.js} +87 -87
  82. package/dist/chunks/{managed-policy-zggnq27k.js → schema-8j43q005.js} +7 -7
  83. package/dist/chunks/{managed-policy-d8ck81wr.js → schema-8xgppe8x.js} +8 -8
  84. package/dist/chunks/{managed-policy-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
  85. package/dist/chunks/{managed-policy-hspec0h6.js → schema-9gjfbdts.js} +26 -26
  86. package/dist/chunks/{managed-policy-thxbv41p.js → schema-9kwc633n.js} +21 -21
  87. package/dist/chunks/{managed-policy-1epzdntc.js → schema-9swdtjav.js} +11 -11
  88. package/dist/chunks/{managed-policy-fqtvmpfq.js → schema-9y0w708y.js} +8 -8
  89. package/dist/chunks/{managed-policy-zy43x3f1.js → schema-a3c7ahw6.js} +4 -4
  90. package/dist/chunks/{managed-policy-02wmet1s.js → schema-a8rjsjfn.js} +25 -25
  91. package/dist/chunks/{managed-policy-aaet6srn.js → schema-aaet6srn.js} +2 -2
  92. package/dist/chunks/{managed-policy-2b2w1tdt.js → schema-aczmxqpc.js} +8 -8
  93. package/dist/chunks/{managed-policy-d8mxbdrt.js → schema-aff3a7hd.js} +19 -19
  94. package/dist/chunks/{managed-policy-acnatzrp.js → schema-an2v7pwn.js} +4 -4
  95. package/dist/chunks/{managed-policy-pkqb68ka.js → schema-as7cf5zz.js} +4 -4
  96. package/dist/chunks/{managed-policy-x49sb692.js → schema-ate656c3.js} +11 -11
  97. package/dist/chunks/{managed-policy-0eb613mk.js → schema-ayqs46pg.js} +20 -20
  98. package/dist/chunks/schema-ayx7vafe.js +507 -0
  99. package/dist/chunks/{managed-policy-qygbw77c.js → schema-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{managed-policy-h07qkwg0.js → schema-b5pm0qd4.js} +8 -8
  101. package/dist/chunks/{managed-policy-wxyynt4w.js → schema-b69jv39p.js} +1 -1
  102. package/dist/chunks/{managed-policy-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{managed-policy-yp4vs6at.js → schema-b7a8j68b.js} +8 -8
  104. package/dist/chunks/{managed-policy-g8ytx0e6.js → schema-bdpzzc2x.js} +11 -11
  105. package/dist/chunks/{managed-policy-kf13yp2f.js → schema-bv266yyp.js} +7 -7
  106. package/dist/chunks/{managed-policy-xsjbfs7s.js → schema-bvbtfhva.js} +12 -12
  107. package/dist/chunks/{managed-policy-1rjc8rx3.js → schema-bw8pdnvy.js} +23 -23
  108. package/dist/chunks/{managed-policy-pyfrz2yp.js → schema-c81ezzqg.js} +11 -11
  109. package/dist/chunks/{managed-policy-kqjv8prj.js → schema-c8k34h4t.js} +19 -19
  110. package/dist/chunks/{managed-policy-cavr175a.js → schema-cavr175a.js} +1 -1
  111. package/dist/chunks/{managed-policy-rkprpv83.js → schema-cfsekr6v.js} +2 -2
  112. package/dist/chunks/{managed-policy-4awagc8g.js → schema-cjw2sxyz.js} +54 -54
  113. package/dist/chunks/{managed-policy-zam9eh49.js → schema-cnnankxx.js} +10 -10
  114. package/dist/chunks/{managed-policy-dbc1qc54.js → schema-czxrm6cp.js} +15 -15
  115. package/dist/chunks/{managed-policy-e8vwfchq.js → schema-d8mep6qx.js} +6 -6
  116. package/dist/chunks/{managed-policy-5qwkxp89.js → schema-de52ckkz.js} +4 -4
  117. package/dist/chunks/{managed-policy-zs5zztja.js → schema-df0ykk77.js} +9 -9
  118. package/dist/chunks/{managed-policy-weagkh0e.js → schema-dnxygc0x.js} +9 -9
  119. package/dist/chunks/{managed-policy-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  120. package/dist/chunks/{managed-policy-721zw7bm.js → schema-dr6jkw1e.js} +33 -33
  121. package/dist/chunks/{managed-policy-xmvy0rzp.js → schema-drda7tq8.js} +33 -33
  122. package/dist/chunks/{managed-policy-459mc33k.js → schema-dtmn9m2k.js} +22 -22
  123. package/dist/chunks/schema-dxj72tfx.js +18 -0
  124. package/dist/chunks/{managed-policy-ct2a7kbt.js → schema-e3gj9zxp.js} +45 -45
  125. package/dist/chunks/{managed-policy-dnge0aqq.js → schema-e7kdnfv2.js} +35 -35
  126. package/dist/chunks/{managed-policy-dzh8x6fa.js → schema-e8v72fmy.js} +17 -17
  127. package/dist/chunks/{managed-policy-93hnm8e8.js → schema-e98kd4sq.js} +30 -30
  128. package/dist/chunks/{managed-policy-qqcbs79k.js → schema-ecpsh8rg.js} +3 -3
  129. package/dist/chunks/{managed-policy-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{managed-policy-eq1pz5kg.js → schema-eq1pz5kg.js} +1 -1
  131. package/dist/chunks/{managed-policy-c9863qqk.js → schema-espr1ah5.js} +5 -5
  132. package/dist/chunks/{managed-policy-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{managed-policy-2ysad2y1.js → schema-f2030xt1.js} +36 -32
  134. package/dist/chunks/{managed-policy-ms8a7pq0.js → schema-f5gz5swa.js} +14 -14
  135. package/dist/chunks/{managed-policy-abx012e0.js → schema-f6zdzjx0.js} +51 -51
  136. package/dist/chunks/{managed-policy-csdd969s.js → schema-f7m4gqsr.js} +31 -31
  137. package/dist/chunks/{managed-policy-1rw4rg9z.js → schema-fbhsdg98.js} +40 -40
  138. package/dist/chunks/{managed-policy-jmhp3g8p.js → schema-fe7qsfpk.js} +15 -15
  139. package/dist/chunks/{managed-policy-vsywyjzm.js → schema-fhh3yeyh.js} +24 -24
  140. package/dist/chunks/{managed-policy-qvreyy9g.js → schema-fhz5gfgy.js} +5 -5
  141. package/dist/chunks/{managed-policy-a2zd3k2n.js → schema-fjb35128.js} +46 -46
  142. package/dist/chunks/{managed-policy-d9gc1nmt.js → schema-fk3men0g.js} +35 -35
  143. package/dist/chunks/{managed-policy-vvmfhg21.js → schema-fkhfs56y.js} +28 -28
  144. package/dist/chunks/{managed-policy-sz0fczdy.js → schema-fq9618wy.js} +6 -6
  145. package/dist/chunks/{managed-policy-azks30c4.js → schema-g4ec7k1p.js} +21 -21
  146. package/dist/chunks/{managed-policy-drwq78ky.js → schema-g5w8qwbj.js} +4 -4
  147. package/dist/chunks/{managed-policy-x9xhcyxb.js → schema-g8j2n5ph.js} +9 -9
  148. package/dist/chunks/{managed-policy-kmgavk04.js → schema-ga0tfepk.js} +3 -3
  149. package/dist/chunks/{managed-policy-kc20gndt.js → schema-ga67qtkk.js} +16 -16
  150. package/dist/chunks/{managed-policy-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{managed-policy-eq6gwms1.js → schema-ggdj6b59.js} +20 -20
  152. package/dist/chunks/{managed-policy-5snyeemy.js → schema-ghpd4fr7.js} +34 -34
  153. package/dist/chunks/{managed-policy-9hwaqfsw.js → schema-gj71zhbs.js} +5 -5
  154. package/dist/chunks/{managed-policy-9x8tc8sp.js → schema-gtmvshrw.js} +11 -11
  155. package/dist/chunks/{managed-policy-e315ch6h.js → schema-gwm757wf.js} +17 -17
  156. package/dist/chunks/{managed-policy-fzrjnfb3.js → schema-gzh3bm7x.js} +5 -5
  157. package/dist/chunks/{managed-policy-h2b79v29.js → schema-h2b79v29.js} +2 -2
  158. package/dist/chunks/{managed-policy-chss3y4s.js → schema-h52xp8p4.js} +10 -7
  159. package/dist/chunks/{managed-policy-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{managed-policy-p4qmxczc.js → schema-he39p88c.js} +12 -12
  161. package/dist/chunks/{managed-policy-v0es1rhs.js → schema-hg3614cy.js} +9 -9
  162. package/dist/chunks/{managed-policy-9web0d32.js → schema-hj5fbf02.js} +9 -9
  163. package/dist/chunks/{managed-policy-78ymhwc6.js → schema-hmv4j20b.js} +11 -11
  164. package/dist/chunks/{managed-policy-w7066q4p.js → schema-hvywv52v.js} +5 -5
  165. package/dist/chunks/{managed-policy-ckgc4dc5.js → schema-j129swd2.js} +15 -15
  166. package/dist/chunks/{managed-policy-j56e64zr.js → schema-j56e64zr.js} +1 -1
  167. package/dist/chunks/{managed-policy-91wpvk88.js → schema-j75c4hzg.js} +25 -25
  168. package/dist/chunks/{managed-policy-0ge1h6kx.js → schema-jba7mbpp.js} +5 -5
  169. package/dist/chunks/{managed-policy-2qx31yc6.js → schema-jyxk3ed8.js} +18 -18
  170. package/dist/chunks/{managed-policy-5tcm9639.js → schema-k70p9jzb.js} +9 -9
  171. package/dist/chunks/{managed-policy-w973dr2w.js → schema-kbm049ab.js} +13 -13
  172. package/dist/chunks/{managed-policy-a3fmd72w.js → schema-kcn8d4wf.js} +10 -10
  173. package/dist/chunks/{managed-policy-xkhn0stb.js → schema-kg6ewcnz.js} +5 -5
  174. package/dist/chunks/{managed-policy-d8kjn5t6.js → schema-kjhtpa86.js} +3 -3
  175. package/dist/chunks/{managed-policy-18ztmhep.js → schema-kp7w4w0c.js} +18 -18
  176. package/dist/chunks/{managed-policy-sxjxh3g8.js → schema-kzsy6v0s.js} +11 -11
  177. package/dist/chunks/{managed-policy-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{managed-policy-nedqmk46.js → schema-m761qzqs.js} +12 -12
  179. package/dist/chunks/{managed-policy-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{managed-policy-db0nhp4v.js → schema-mpyv0gjv.js} +15 -15
  181. package/dist/chunks/{managed-policy-t6ck8tem.js → schema-msjz9fyp.js} +35 -35
  182. package/dist/chunks/{managed-policy-9qhqs605.js → schema-mt9f3aka.js} +26 -26
  183. package/dist/chunks/{managed-policy-4qqmwkqx.js → schema-mxfx3p70.js} +23 -23
  184. package/dist/chunks/{managed-policy-gqtdsdt7.js → schema-mxvxcxwy.js} +4 -4
  185. package/dist/chunks/{managed-policy-zt43srwq.js → schema-mygtg7h0.js} +22 -22
  186. package/dist/chunks/{managed-policy-2qqgyr6a.js → schema-n3q2c8vm.js} +22 -22
  187. package/dist/chunks/{managed-policy-2kea3y2w.js → schema-nhzfetse.js} +13 -13
  188. package/dist/chunks/{managed-policy-g4my6z3y.js → schema-nqee14cx.js} +15 -15
  189. package/dist/chunks/{managed-policy-bkwdfw9d.js → schema-nsjtt5er.js} +23 -23
  190. package/dist/chunks/{managed-policy-g0445xdp.js → schema-p37cw4rj.js} +8 -8
  191. package/dist/chunks/{managed-policy-dnt2jfde.js → schema-p7f50jp2.js} +10 -10
  192. package/dist/chunks/{managed-policy-d3y08a9a.js → schema-pgb4114y.js} +6 -6
  193. package/dist/chunks/{managed-policy-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{managed-policy-xvdg8f15.js → schema-pkdmza6n.js} +5 -5
  195. package/dist/chunks/{managed-policy-hmgnztse.js → schema-pkn3rqad.js} +18 -18
  196. package/dist/chunks/{managed-policy-pknna89w.js → schema-pknna89w.js} +1 -1
  197. package/dist/chunks/{managed-policy-gws45dxs.js → schema-pkqfn6w5.js} +10 -10
  198. package/dist/chunks/{managed-policy-y0mc46pw.js → schema-pnkbpv6t.js} +9 -9
  199. package/dist/chunks/{managed-policy-r9w3djhf.js → schema-prq7hedt.js} +9 -9
  200. package/dist/chunks/{managed-policy-jw2zym28.js → schema-pt6d7ckw.js} +14 -14
  201. package/dist/chunks/{managed-policy-06yeazan.js → schema-pvxscb8w.js} +1 -1
  202. package/dist/chunks/{managed-policy-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{managed-policy-q335xte2.js → schema-q7cgqs0q.js} +26 -26
  204. package/dist/chunks/{managed-policy-nkcpd5b2.js → schema-qdgd7pts.js} +34 -34
  205. package/dist/chunks/{managed-policy-zxyy8bfe.js → schema-qj8bvm0v.js} +57 -57
  206. package/dist/chunks/{managed-policy-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{managed-policy-145xw1zc.js → schema-qnpbp7f6.js} +3 -3
  208. package/dist/chunks/{managed-policy-qsdy395h.js → schema-qsdy395h.js} +1 -1
  209. package/dist/chunks/{managed-policy-zjxbxdfv.js → schema-qsmpxerm.js} +12 -12
  210. package/dist/chunks/{managed-policy-xyafkbt0.js → schema-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{managed-policy-qmqgtz8f.js → schema-r2m716tb.js} +9 -9
  212. package/dist/chunks/{managed-policy-g17w5wg1.js → schema-r3q6pmcz.js} +6 -6
  213. package/dist/chunks/{managed-policy-6gvgb8cz.js → schema-r51ygcfp.js} +46 -45
  214. package/dist/chunks/{managed-policy-e2p1qpzc.js → schema-rb8mch2y.js} +31 -31
  215. package/dist/chunks/{managed-policy-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{managed-policy-wv396vej.js → schema-rhjbct0v.js} +8 -8
  217. package/dist/chunks/{managed-policy-w677k9fj.js → schema-rhms3hdd.js} +16 -16
  218. package/dist/chunks/{managed-policy-r9d9xsbb.js → schema-rhxwzm2w.js} +32 -32
  219. package/dist/chunks/{managed-policy-j1rkkxtq.js → schema-rjt6kdv6.js} +11 -11
  220. package/dist/chunks/{managed-policy-qqrjxc2w.js → schema-rttzrg3r.js} +12 -12
  221. package/dist/chunks/{managed-policy-65jde4my.js → schema-rxsn8x9d.js} +21 -21
  222. package/dist/chunks/{managed-policy-k7y67xhs.js → schema-ry4cmxgm.js} +10 -10
  223. package/dist/chunks/{managed-policy-6xn9vhwr.js → schema-rypd5ndp.js} +2 -2
  224. package/dist/chunks/{managed-policy-t2fc4mz5.js → schema-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{managed-policy-ykty1417.js → schema-s0yv6qk4.js} +11 -11
  226. package/dist/chunks/{managed-policy-qwz8cpda.js → schema-sbdntvmw.js} +25 -25
  227. package/dist/chunks/{managed-policy-ss358qx3.js → schema-sd9a6snf.js} +3 -3
  228. package/dist/chunks/{managed-policy-63db42yp.js → schema-sdsbj08z.js} +2 -2
  229. package/dist/chunks/{managed-policy-wy8gm8jj.js → schema-shny27f7.js} +38 -38
  230. package/dist/chunks/{managed-policy-phtj4jat.js → schema-skzfdnfe.js} +5 -5
  231. package/dist/chunks/{managed-policy-zjb991y7.js → schema-srdpzyxc.js} +10 -10
  232. package/dist/chunks/{managed-policy-t1ettrb7.js → schema-sy8hwy21.js} +15 -15
  233. package/dist/chunks/{managed-policy-ckf8nxjz.js → schema-t7n9q6bq.js} +4 -4
  234. package/dist/chunks/{managed-policy-4j20dbk1.js → schema-taw4b7j9.js} +17 -17
  235. package/dist/chunks/{managed-policy-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{managed-policy-eqkxs06z.js → schema-tcay1cqt.js} +6 -6
  237. package/dist/chunks/{managed-policy-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{managed-policy-tdstcens.js → schema-tdstcens.js} +1 -1
  239. package/dist/chunks/{managed-policy-gear7qnb.js → schema-tg9q7e94.js} +48 -48
  240. package/dist/chunks/{managed-policy-7a12vqq0.js → schema-th268h5n.js} +21 -21
  241. package/dist/chunks/{managed-policy-j5rxtxht.js → schema-tjedn1bk.js} +4 -4
  242. package/dist/chunks/{managed-policy-975ebawg.js → schema-tqk33c0s.js} +3 -3
  243. package/dist/chunks/{managed-policy-dw835dm2.js → schema-tra9m5aj.js} +39 -39
  244. package/dist/chunks/{managed-policy-k34ckbn9.js → schema-tz8q98pd.js} +3 -3
  245. package/dist/chunks/{managed-policy-8xkqg01v.js → schema-v3cgeczt.js} +3 -3
  246. package/dist/chunks/{managed-policy-x8v70qwz.js → schema-vejndnrc.js} +19 -19
  247. package/dist/chunks/{managed-policy-veqvce7d.js → schema-veqvce7d.js} +1 -1
  248. package/dist/chunks/{managed-policy-k15k6vrr.js → schema-vjmmbq9h.js} +88 -88
  249. package/dist/chunks/{managed-policy-k0w7mqt4.js → schema-vmx43xs3.js} +15 -15
  250. package/dist/chunks/{managed-policy-exstxen9.js → schema-vtt0yr3x.js} +13 -13
  251. package/dist/chunks/{managed-policy-29garr4v.js → schema-vwk1vad2.js} +1 -1
  252. package/dist/chunks/{managed-policy-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{managed-policy-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{managed-policy-w1eejvng.js → schema-w1eejvng.js} +1 -1
  255. package/dist/chunks/{managed-policy-w39jehkq.js → schema-w39jehkq.js} +2 -2
  256. package/dist/chunks/{managed-policy-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{managed-policy-3mentpw2.js → schema-w65mgvd1.js} +26 -26
  258. package/dist/chunks/{managed-policy-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{managed-policy-yj382vm2.js → schema-wdhp2wqx.js} +18 -18
  260. package/dist/chunks/{managed-policy-6ba3xpax.js → schema-wrqwmc22.js} +36 -36
  261. package/dist/chunks/{managed-policy-ty7z4jb0.js → schema-x0m3x8cn.js} +43 -43
  262. package/dist/chunks/{managed-policy-89nr6wfj.js → schema-x68tzkrm.js} +11 -11
  263. package/dist/chunks/{managed-policy-d6qjz85w.js → schema-x9300pb6.js} +15 -15
  264. package/dist/chunks/{managed-policy-r3d0j56v.js → schema-xb9ezq08.js} +26 -26
  265. package/dist/chunks/{managed-policy-vzfpntg8.js → schema-xgam4qj3.js} +29 -29
  266. package/dist/chunks/{managed-policy-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{managed-policy-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{managed-policy-5dpktnqk.js → schema-y3739sk3.js} +4 -4
  269. package/dist/chunks/{managed-policy-b15vkqsx.js → schema-y5k41zqf.js} +10 -10
  270. package/dist/chunks/{managed-policy-5j1v3jqf.js → schema-y5t28hz6.js} +30 -30
  271. package/dist/chunks/{managed-policy-fw3mavjd.js → schema-y730841x.js} +24 -24
  272. package/dist/chunks/{managed-policy-46v0s1hp.js → schema-yk45h2rs.js} +15 -15
  273. package/dist/chunks/{managed-policy-119h30qy.js → schema-yk5nserk.js} +4 -4
  274. package/dist/chunks/{managed-policy-dq17f564.js → schema-ykjpaak5.js} +15 -15
  275. package/dist/chunks/{managed-policy-gw7cjrad.js → schema-yrcj3v3g.js} +4 -4
  276. package/dist/chunks/schema-ywtmtjc3.js +253 -0
  277. package/dist/chunks/{managed-policy-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{managed-policy-7avdme9t.js → schema-z2nx0y2v.js} +10 -10
  279. package/dist/chunks/{managed-policy-npkdjxyy.js → schema-z71avzk1.js} +27 -27
  280. package/dist/chunks/{managed-policy-t1xnf4e5.js → schema-z8x71xh1.js} +5 -5
  281. package/dist/chunks/{managed-policy-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{managed-policy-xe69web5.js → schema-zw122828.js} +34 -34
  283. package/dist/chunks/{managed-policy-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +86 -86
  423. package/dist/formatter/builtins.js +2 -2
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +3 -3
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +103 -101
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +115 -115
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +3 -3
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +105 -105
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/types/model.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +3 -3
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +2 -2
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +1 -1
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/managed-policy-619r8v3y.js +0 -18
  682. package/dist/chunks/managed-policy-ewksh3kr.js +0 -26
  683. package/dist/chunks/managed-policy-shrpyp41.js +0 -253
  684. package/dist/chunks/managed-policy-y5760nfk.js +0 -507
  685. /package/dist/chunks/{managed-policy-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{managed-policy-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{managed-policy-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{managed-policy-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{managed-policy-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{managed-policy-24dcb14g.js → schema-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{managed-policy-2710q6r3.js → schema-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{managed-policy-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{managed-policy-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{managed-policy-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{managed-policy-359p4xyc.js → schema-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{managed-policy-3asan66x.js → schema-3asan66x.js} +0 -0
  697. /package/dist/chunks/{managed-policy-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{managed-policy-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{managed-policy-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{managed-policy-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{managed-policy-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{managed-policy-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{managed-policy-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{managed-policy-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{managed-policy-53557ph1.js → schema-53557ph1.js} +0 -0
  706. /package/dist/chunks/{managed-policy-550bvhaj.js → schema-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{managed-policy-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{managed-policy-6prwharc.js → schema-6prwharc.js} +0 -0
  709. /package/dist/chunks/{managed-policy-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{managed-policy-7m9af43g.js → schema-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{managed-policy-822emrt2.js → schema-822emrt2.js} +0 -0
  712. /package/dist/chunks/{managed-policy-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{managed-policy-8n3pysct.js → schema-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{managed-policy-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{managed-policy-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{managed-policy-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{managed-policy-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{managed-policy-af5trqkr.js → schema-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{managed-policy-afrmfg78.js → schema-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{managed-policy-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{managed-policy-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{managed-policy-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{managed-policy-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{managed-policy-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{managed-policy-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{managed-policy-d9fn303g.js → schema-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{managed-policy-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{managed-policy-dajrwvna.js → schema-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{managed-policy-dap0rakb.js → schema-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{managed-policy-df08tz66.js → schema-df08tz66.js} +0 -0
  731. /package/dist/chunks/{managed-policy-dy18nga0.js → schema-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{managed-policy-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{managed-policy-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{managed-policy-ec1grn59.js → schema-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{managed-policy-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{managed-policy-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{managed-policy-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{managed-policy-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{managed-policy-faypxj3z.js → schema-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{managed-policy-fd410y7t.js → schema-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{managed-policy-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{managed-policy-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{managed-policy-g86h250q.js → schema-g86h250q.js} +0 -0
  744. /package/dist/chunks/{managed-policy-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{managed-policy-gftt206x.js → schema-gftt206x.js} +0 -0
  746. /package/dist/chunks/{managed-policy-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{managed-policy-hk9envan.js → schema-hk9envan.js} +0 -0
  748. /package/dist/chunks/{managed-policy-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{managed-policy-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{managed-policy-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{managed-policy-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{managed-policy-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{managed-policy-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{managed-policy-mp448xyj.js → schema-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{managed-policy-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{managed-policy-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{managed-policy-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{managed-policy-njntx4h6.js → schema-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{managed-policy-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{managed-policy-q74kybfr.js → schema-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{managed-policy-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{managed-policy-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{managed-policy-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{managed-policy-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{managed-policy-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{managed-policy-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{managed-policy-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{managed-policy-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{managed-policy-w803qqfp.js → schema-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{managed-policy-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{managed-policy-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{managed-policy-wtztk69x.js → schema-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{managed-policy-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{managed-policy-x61499pn.js → schema-x61499pn.js} +0 -0
  775. /package/dist/chunks/{managed-policy-y44na4kk.js → schema-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{managed-policy-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{managed-policy-y8f7s663.js → schema-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{managed-policy-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{managed-policy-ym463w8f.js → schema-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{managed-policy-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{managed-policy-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./managed-policy-z5v4ffb3.js";
5
+ } from "./schema-z5v4ffb3.js";
6
6
  import {
7
- Service51,
8
- node54
9
- } from "./managed-policy-fw3mavjd.js";
7
+ Service58,
8
+ node60
9
+ } from "./schema-y730841x.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./managed-policy-8d7r5vzw.js";
12
+ } from "./schema-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./managed-policy-9rqn6x4v.js";
15
+ } from "./schema-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service17,
24
- node: () => node19
23
+ Service: () => Service25,
24
+ node: () => node28
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service17 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service25 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service17, Effect.gen(function* () {
67
- const environment = yield* Service51;
66
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
67
+ const environment = yield* Service58;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service17.of({
95
+ return Service25.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node54, RipgrepBinary2.node] });
178
+ var node28 = makeLocationNode({ service: Service25, layer, deps: [node60, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service17, node19, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service25, node28, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./managed-policy-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node73
5
- } from "./managed-policy-dnt2jfde.js";
4
+ node72
5
+ } from "./schema-p7f50jp2.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./managed-policy-gw7cjrad.js";
9
+ } from "./schema-yrcj3v3g.js";
10
10
  import {
11
- Service76,
12
- node80
13
- } from "./managed-policy-fqtvmpfq.js";
11
+ Service65,
12
+ node68
13
+ } from "./schema-9y0w708y.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./managed-policy-zxyy8bfe.js";
16
+ } from "./schema-qj8bvm0v.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./managed-policy-9x8tc8sp.js";
19
+ } from "./schema-gtmvshrw.js";
20
20
  import {
21
21
  Error4
22
- } from "./managed-policy-459mc33k.js";
22
+ } from "./schema-dtmn9m2k.js";
23
23
  import {
24
- get4
25
- } from "./managed-policy-r94pvvab.js";
24
+ get5
25
+ } from "./schema-54ma36ye.js";
26
26
  import {
27
- Service36,
28
- node39
29
- } from "./managed-policy-1epzdntc.js";
27
+ Service34,
28
+ node37
29
+ } from "./schema-9swdtjav.js";
30
30
  import {
31
- make14
32
- } from "./managed-policy-drwq78ky.js";
31
+ make16
32
+ } from "./schema-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./managed-policy-wxyynt4w.js";
35
+ } from "./schema-b69jv39p.js";
36
36
  import {
37
37
  __export
38
- } from "./managed-policy-9rqn6x4v.js";
38
+ } from "./schema-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service34,
43
+ Service: () => Service33,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer13,
48
- node: () => node38,
47
+ layer: () => layer12,
48
+ node: () => node36,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
82
82
  return {
83
83
  providerMetadataKey,
84
84
  system: [
85
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
85
+ input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
86
86
  input.initial
87
87
  ].filter((part) => part.length > 0).map(SystemPart.make),
88
88
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
151
151
  });
152
152
  };
153
153
 
154
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
154
+ class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
155
155
  }
156
- var layer13 = Layer.effect(Service34, Effect.gen(function* () {
157
- const hooks = yield* Service76;
158
- const transport = yield* Service36;
156
+ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
157
+ const hooks = yield* Service65;
158
+ const transport = yield* Service34;
159
159
  const app = yield* Metadata2;
160
160
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
161
  const session = input.session;
@@ -181,7 +181,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
181
181
  const entries = Object.entries(shaped.options);
182
182
  const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
183
183
  const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
184
- const affinity = get4(session);
184
+ const affinity = get5(session);
185
185
  const base = LLM.request({
186
186
  model: model.model,
187
187
  http: {
@@ -260,17 +260,17 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
260
260
  };
261
261
  });
262
262
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service34.of({
263
+ return Service33.of({
264
264
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
265
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
266
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
267
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
268
  });
269
269
  }));
270
- var node38 = makeLocationNode({
271
- service: Service34,
272
- layer: layer13,
273
- deps: [node80, node39, node73]
270
+ var node36 = makeLocationNode({
271
+ service: Service33,
272
+ layer: layer12,
273
+ deps: [node68, node37, node72]
274
274
  });
275
275
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer13, node38, exports_model_request };
276
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer12, node36, exports_model_request };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./managed-policy-y8cydn3q.js";
3
+ } from "./schema-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./managed-policy-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./managed-policy-5dpktnqk.js";
4
+ } from "./schema-y3739sk3.js";
5
5
  import {
6
6
  environment2
7
- } from "./managed-policy-dzh8x6fa.js";
7
+ } from "./schema-e8v72fmy.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./managed-policy-3t0ybcrp.js";
10
+ } from "./schema-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./managed-policy-9rqn6x4v.js";
13
+ } from "./schema-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: () => NotFoundError8,
20
- Options: () => Options9,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service67,
22
+ Service: () => Service20,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured9,
26
- layer: () => layer24,
27
- node: () => node70
25
+ configured: () => configured2,
26
+ layer: () => layer9,
27
+ node: () => node23
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,7 +36,7 @@ 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
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options9 = Schema.Struct({
39
+ var Options2 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
@@ -46,14 +46,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service67 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service20 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
57
57
  const bus = yield* Service82;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError8({ ptyID: id });
79
+ return yield* new NotFoundError3({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service67.of({
246
+ return Service20.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer24 = makeLayer();
263
- var configured9 = (options) => makeGlobalNode({
264
- service: Service67,
265
- layer: options === undefined ? layer24 : makeLayer(options),
262
+ var layer9 = makeLayer();
263
+ var configured2 = (options) => makeGlobalNode({
264
+ service: Service20,
265
+ layer: options === undefined ? layer9 : makeLayer(options),
266
266
  deps: [node86, Global.node]
267
267
  });
268
- var node70 = configured9();
268
+ var node23 = configured2();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError8, Service67, layer24, configured9, node70, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options2, UnavailableError3, NotFoundError3, Service20, layer9, configured2, node23, exports_persistent_pty, Handoff2, available2 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./managed-policy-dnt2jfde.js";
3
+ } from "./schema-p7f50jp2.js";
4
4
  import {
5
5
  Service82
6
- } from "./managed-policy-5dpktnqk.js";
6
+ } from "./schema-y3739sk3.js";
7
7
  import {
8
- ID11,
8
+ ID14,
9
9
  OAuth3,
10
- Event17,
11
- Service69
12
- } from "./managed-policy-5j1v3jqf.js";
10
+ Event18,
11
+ Service73
12
+ } from "./schema-y5t28hz6.js";
13
13
  import {
14
14
  key2
15
- } from "./managed-policy-gqtdsdt7.js";
15
+ } from "./schema-mxvxcxwy.js";
16
16
  import {
17
- ID9,
17
+ ID12,
18
18
  MethodID2
19
- } from "./managed-policy-93hnm8e8.js";
19
+ } from "./schema-e98kd4sq.js";
20
20
  import {
21
21
  which2
22
- } from "./managed-policy-qaymkmh1.js";
22
+ } from "./schema-qaymkmh1.js";
23
23
  import {
24
- ID8,
25
- Service64
26
- } from "./managed-policy-dm99yka6.js";
24
+ ID11,
25
+ Service70
26
+ } from "./schema-461mwfvs.js";
27
27
  import {
28
- ID7
29
- } from "./managed-policy-2ysad2y1.js";
28
+ ID10
29
+ } from "./schema-f2030xt1.js";
30
30
  import {
31
31
  iife2
32
- } from "./managed-policy-1kg9ymc8.js";
32
+ } from "./schema-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./managed-policy-txzjavxp.js";
35
+ } from "./schema-7nfz7vry.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make7(endpoints = {
70
+ function make4(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID8.azure);
77
+ const configured = yield* configuredSettings2(ID11.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service82;
80
- const credentials = yield* Service69;
81
- const providers = yield* Service64;
80
+ const credentials = yield* Service73;
81
+ const providers = yield* Service70;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make7(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID8.azure,
119
+ integrationID: ID11.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID8.azure,
125
+ integrationID: ID11.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make7(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID8.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make7(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID8.azure))?.settings;
195
+ const settings = (yield* providers.get(ID11.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make7(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make7(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make7(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID8.azure);
253
+ const item = evt.get(ID11.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make7(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make7(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID8.azure);
276
+ const catalog = models.list(ID11.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID8.azure, model.id);
280
+ models.remove(ID11.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID8.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make7(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID8.azure)
301
+ if (evt.model.providerID !== ID11.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make7(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID8.azure });
310
+ }), { providerID: ID11.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID8.azure)
312
+ if (evt.model.providerID !== ID11.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make7(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID8.azure });
321
+ }), { providerID: ID11.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make7();
325
+ var AzurePlugin2 = make4();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID7.make(deployment.name.toLowerCase());
355
+ const id = ID10.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID7.make(deployment.name),
359
+ modelID: ID10.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make7, AzurePlugin2 };
381
+ export { make4, AzurePlugin2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83
3
- } from "./managed-policy-qqrjxc2w.js";
2
+ Service79
3
+ } from "./schema-rttzrg3r.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./managed-policy-0vbcp93d.js";
7
+ } from "./schema-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./managed-policy-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make16
16
+ make: () => make13
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make16 = Effect.gen(function* () {
21
+ var make13 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service83;
23
+ const git = yield* Service79;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make16 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make16, exports_git2 };
49
+ export { make13, exports_git2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./managed-policy-ym463w8f.js";
3
+ } from "./schema-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({