@opencode/core 0.0.0-dev-21045 → 0.0.0-dev-21047

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{skill-m5hddd6q.js → reference-0170kczj.js} +11 -11
  8. package/dist/chunks/{skill-z0zyd0ef.js → reference-01es0w8g.js} +11 -11
  9. package/dist/chunks/{skill-bqxzme6r.js → reference-0sgp6vrq.js} +12 -12
  10. package/dist/chunks/{skill-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{skill-0wdx92we.js → reference-1311jqsc.js} +19 -19
  12. package/dist/chunks/{skill-ccwyv0pa.js → reference-132ycjkv.js} +21 -21
  13. package/dist/chunks/{skill-r8xr0va3.js → reference-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{skill-zrezqavy.js → reference-1fmrbde1.js} +8 -8
  15. package/dist/chunks/{skill-ajp68dxh.js → reference-1fq98kjr.js} +11 -11
  16. package/dist/chunks/{skill-9vddtzvp.js → reference-1kwkgjs8.js} +12 -12
  17. package/dist/chunks/{skill-hftwykng.js → reference-1n7cf0zt.js} +13 -13
  18. package/dist/chunks/{skill-212xmf9a.js → reference-1qqmef8y.js} +33 -33
  19. package/dist/chunks/{skill-atavbgkz.js → reference-1wws9p1z.js} +11 -11
  20. package/dist/chunks/{skill-5br7x87x.js → reference-256smw24.js} +8 -8
  21. package/dist/chunks/{skill-zmfzsbe1.js → reference-2e24zj1v.js} +3 -3
  22. package/dist/chunks/{skill-w3x5hx1j.js → reference-2k20t02z.js} +22 -22
  23. package/dist/chunks/{skill-a2qe2ev9.js → reference-2ktf0ed2.js} +8 -8
  24. package/dist/chunks/{skill-qecpam0w.js → reference-2sc3sc4p.js} +2 -2
  25. package/dist/chunks/{skill-5890hqpb.js → reference-2yn5t4yf.js} +34 -34
  26. package/dist/chunks/{skill-56bnbftg.js → reference-2zmfhp2c.js} +9 -9
  27. package/dist/chunks/{skill-jxbvv0aw.js → reference-36nn25hb.js} +45 -45
  28. package/dist/chunks/{skill-3wp61h0g.js → reference-3ec2hwya.js} +13 -13
  29. package/dist/chunks/{skill-8nca6jp1.js → reference-3emwttkv.js} +12 -12
  30. package/dist/chunks/{skill-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{skill-h2fjsrzd.js → reference-3fxqyn52.js} +8 -8
  32. package/dist/chunks/{skill-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{skill-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{skill-1ewrv06v.js → reference-3jxt0407.js} +4 -4
  35. package/dist/chunks/{skill-65yftmqw.js → reference-3njtpr6j.js} +14 -14
  36. package/dist/chunks/{skill-8vbzfnhm.js → reference-3q9g49xq.js} +16 -16
  37. package/dist/chunks/{skill-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{skill-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{skill-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{skill-jg8h6zt5.js → reference-48s9929f.js} +14 -14
  41. package/dist/chunks/{skill-vyr6rcyk.js → reference-4cqhq9mq.js} +19 -19
  42. package/dist/chunks/{skill-pxkeepf8.js → reference-4f65x4ny.js} +328 -328
  43. package/dist/chunks/{skill-zy0sdw1z.js → reference-4jfm27c9.js} +11 -11
  44. package/dist/chunks/{skill-ndzx33k1.js → reference-4t88j5bp.js} +22 -22
  45. package/dist/chunks/{skill-bw9zjykr.js → reference-51f5btjf.js} +6 -6
  46. package/dist/chunks/{skill-hqam0wy0.js → reference-51vcra35.js} +11 -11
  47. package/dist/chunks/{skill-54ma36ye.js → reference-54ma36ye.js} +1 -1
  48. package/dist/chunks/{skill-gfqyqxhr.js → reference-5527nycg.js} +22 -22
  49. package/dist/chunks/{skill-nhpkjp8j.js → reference-55t5gfwz.js} +11 -11
  50. package/dist/chunks/{skill-mrfc6abx.js → reference-5697ag0y.js} +20 -20
  51. package/dist/chunks/{skill-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{skill-bsg0fcvd.js → reference-5ttccjpc.js} +6 -6
  53. package/dist/chunks/{skill-y00zfz1c.js → reference-5vxqm9q6.js} +36 -36
  54. package/dist/chunks/{skill-220zx06x.js → reference-63db42yp.js} +2 -2
  55. package/dist/chunks/{skill-7rcj81xw.js → reference-63zg3mg5.js} +22 -22
  56. package/dist/chunks/{skill-81yd02vm.js → reference-65cg4f0c.js} +10 -10
  57. package/dist/chunks/{skill-cqvw37w8.js → reference-676ffxyw.js} +32 -32
  58. package/dist/chunks/{skill-bpva2wp7.js → reference-67prdeth.js} +3 -3
  59. package/dist/chunks/{skill-kthcw1cs.js → reference-6gjn20d2.js} +11 -11
  60. package/dist/chunks/{skill-ryr25ayn.js → reference-6hh8tjw2.js} +4 -4
  61. package/dist/chunks/{skill-9sdgvgwq.js → reference-6rbe1m5x.js} +29 -29
  62. package/dist/chunks/{skill-8bvf1xpb.js → reference-6vrtx8fp.js} +9 -9
  63. package/dist/chunks/{skill-zbs1jsd6.js → reference-6wg64ttk.js} +3 -3
  64. package/dist/chunks/{skill-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{skill-axpm0scr.js → reference-74gjv7rp.js} +45 -45
  66. package/dist/chunks/{skill-775gj3j1.js → reference-775gj3j1.js} +2 -2
  67. package/dist/chunks/{skill-r9x3d11p.js → reference-78824m1b.js} +12 -12
  68. package/dist/chunks/{skill-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{skill-0rphmjk3.js → reference-7der4bj9.js} +19 -19
  70. package/dist/chunks/{skill-0jwsre1p.js → reference-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{skill-5gfp0ma2.js → reference-7f4pctag.js} +27 -27
  72. package/dist/chunks/{skill-0g30ecvz.js → reference-7kcbr8xv.js} +33 -33
  73. package/dist/chunks/{skill-2ezxh99f.js → reference-7m8vhqjz.js} +3 -3
  74. package/dist/chunks/{skill-ze76j2m8.js → reference-7qen6kzn.js} +5 -5
  75. package/dist/chunks/{skill-5hx7d1d6.js → reference-7xyrrtj6.js} +5 -5
  76. package/dist/chunks/{skill-he27pt63.js → reference-7zt5x37y.js} +1 -1
  77. package/dist/chunks/{skill-yewrcksy.js → reference-80c1z9kc.js} +15 -15
  78. package/dist/chunks/{skill-fhy2x42b.js → reference-84d4sta2.js} +37 -37
  79. package/dist/chunks/{skill-84txncab.js → reference-84txncab.js} +1 -1
  80. package/dist/chunks/{skill-5zvv963w.js → reference-85nhzk7w.js} +4 -4
  81. package/dist/chunks/{skill-bgtr1mty.js → reference-88bhjm42.js} +10 -10
  82. package/dist/chunks/{skill-dakrqskp.js → reference-8d801c91.js} +11 -11
  83. package/dist/chunks/{skill-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{skill-td0n94qx.js → reference-8pedcj79.js} +11 -11
  85. package/dist/chunks/{skill-j09zfasm.js → reference-91qna3x0.js} +3 -3
  86. package/dist/chunks/{skill-s2z0d44b.js → reference-97aeaand.js} +4 -4
  87. package/dist/chunks/{skill-s0ghd5m4.js → reference-9cjp3vjk.js} +11 -11
  88. package/dist/chunks/{skill-ez6v8vv6.js → reference-9dtek7rd.js} +25 -25
  89. package/dist/chunks/{skill-j0yywz23.js → reference-9ja41e76.js} +7 -7
  90. package/dist/chunks/reference-9r6rs471.js +26 -0
  91. package/dist/chunks/{skill-rndw19bh.js → reference-9v5dq8n9.js} +25 -25
  92. package/dist/chunks/{skill-4qatf0tw.js → reference-aad9zq7v.js} +13 -13
  93. package/dist/chunks/{skill-4q7f7q3n.js → reference-agvdfdvn.js} +5 -5
  94. package/dist/chunks/{skill-fzq0yswt.js → reference-ahz9yk24.js} +14 -14
  95. package/dist/chunks/{skill-r155yqpy.js → reference-axfvp7va.js} +5 -5
  96. package/dist/chunks/{skill-djpc0zre.js → reference-axjfn32c.js} +27 -27
  97. package/dist/chunks/{skill-5kktt8m2.js → reference-azemn7z6.js} +9 -9
  98. package/dist/chunks/{skill-zag1eh5m.js → reference-azpyr670.js} +14 -14
  99. package/dist/chunks/{skill-gj71zhbs.js → reference-b674v2dg.js} +5 -5
  100. package/dist/chunks/{skill-6wes48ct.js → reference-bt0njgmc.js} +17 -17
  101. package/dist/chunks/reference-by5v678g.js +18 -0
  102. package/dist/chunks/{skill-rj3eygr5.js → reference-c41wscbt.js} +2 -2
  103. package/dist/chunks/{skill-bxbwa0gm.js → reference-c74bvw4q.js} +13 -13
  104. package/dist/chunks/{skill-sa8ekw3f.js → reference-c8ax2afj.js} +2 -2
  105. package/dist/chunks/{skill-8krm1k23.js → reference-cnzx7642.js} +13 -13
  106. package/dist/chunks/{skill-3a4mtn8q.js → reference-cqy527p5.js} +8 -8
  107. package/dist/chunks/{skill-0d0mdbr0.js → reference-crn6sf7s.js} +12 -12
  108. package/dist/chunks/{skill-h05kb0qd.js → reference-cxy0as94.js} +46 -46
  109. package/dist/chunks/{skill-snzp8s5d.js → reference-d1bka95m.js} +6 -6
  110. package/dist/chunks/{skill-g686f6pq.js → reference-d7x0sh0y.js} +9 -9
  111. package/dist/chunks/{skill-6rsv0a9z.js → reference-d9zmkgd4.js} +20 -20
  112. package/dist/chunks/{skill-vf7v20ej.js → reference-dfswxmta.js} +20 -20
  113. package/dist/chunks/{skill-h21k2909.js → reference-djvxnjg8.js} +34 -34
  114. package/dist/chunks/{skill-dpkg50ah.js → reference-dpkg50ah.js} +1 -1
  115. package/dist/chunks/{skill-6j7g70nq.js → reference-dq5fx745.js} +28 -28
  116. package/dist/chunks/{skill-p60bs9yg.js → reference-dqdg7a0v.js} +4 -4
  117. package/dist/chunks/{skill-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
  118. package/dist/chunks/{skill-ht13wr3j.js → reference-drqqcwyg.js} +55 -55
  119. package/dist/chunks/{skill-ft50qagy.js → reference-drqybash.js} +4 -4
  120. package/dist/chunks/{skill-qqeeq2t9.js → reference-drwq78ky.js} +7 -7
  121. package/dist/chunks/{skill-c1tsmb8r.js → reference-dxr3qdqn.js} +37 -37
  122. package/dist/chunks/{skill-72agbcmm.js → reference-dz85ej5f.js} +16 -16
  123. package/dist/chunks/{skill-86qxvgv6.js → reference-e8vwfchq.js} +6 -6
  124. package/dist/chunks/{skill-z4cnyhgg.js → reference-e9mw71vf.js} +11 -11
  125. package/dist/chunks/{skill-s8d7rejh.js → reference-eaj1djv9.js} +6 -6
  126. package/dist/chunks/{skill-ckp31v8k.js → reference-ec56ww6f.js} +24 -24
  127. package/dist/chunks/{skill-e80seqcp.js → reference-ed1g29hy.js} +3 -3
  128. package/dist/chunks/{skill-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{skill-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{skill-c1fqxshp.js → reference-es1vcfrp.js} +3 -3
  131. package/dist/chunks/{skill-yeq3t8xt.js → reference-ew5jdcsq.js} +87 -87
  132. package/dist/chunks/{skill-pmf8s9dx.js → reference-f66eae49.js} +19 -19
  133. package/dist/chunks/{skill-ys1eskbg.js → reference-f7b5ncsd.js} +23 -23
  134. package/dist/chunks/{skill-639h3xxe.js → reference-f8p265gv.js} +11 -11
  135. package/dist/chunks/{skill-6a3zrf3v.js → reference-fqmb1432.js} +8 -8
  136. package/dist/chunks/{skill-x580hmt1.js → reference-fvgfymht.js} +11 -11
  137. package/dist/chunks/{skill-k4ayx2j3.js → reference-g51r3c4s.js} +18 -18
  138. package/dist/chunks/{skill-cwa6csj7.js → reference-g6q9qykm.js} +9 -9
  139. package/dist/chunks/{skill-w39jehkq.js → reference-g6yfr6ja.js} +5 -5
  140. package/dist/chunks/{skill-3z212fca.js → reference-g7m13ce8.js} +30 -30
  141. package/dist/chunks/{skill-ty9fg3f8.js → reference-g7y6ccmm.js} +16 -16
  142. package/dist/chunks/{skill-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{skill-31zks5jy.js → reference-gm24xgn7.js} +28 -28
  144. package/dist/chunks/{skill-tp1cmem0.js → reference-gn31e51v.js} +11 -11
  145. package/dist/chunks/{skill-n0ytg6te.js → reference-gn5tm0bv.js} +7 -7
  146. package/dist/chunks/{skill-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
  147. package/dist/chunks/{skill-zsr4wwhv.js → reference-gw7cjrad.js} +4 -4
  148. package/dist/chunks/{skill-z3wrhw57.js → reference-gw8exty3.js} +13 -13
  149. package/dist/chunks/{skill-ms9hcft3.js → reference-gwf8vbvc.js} +20 -20
  150. package/dist/chunks/{skill-dt2484d6.js → reference-h45tnvxx.js} +75 -75
  151. package/dist/chunks/{skill-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{skill-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
  153. package/dist/chunks/{skill-bacyadyn.js → reference-h90v2x9d.js} +4 -4
  154. package/dist/chunks/{skill-wecqtg5s.js → reference-hdkng2sj.js} +5 -5
  155. package/dist/chunks/{skill-hfbyhya8.js → reference-hfbyhya8.js} +2 -2
  156. package/dist/chunks/{skill-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{skill-vya7jr0b.js → reference-htrk4y28.js} +9 -9
  158. package/dist/chunks/{skill-fz0546zy.js → reference-hvg0snfm.js} +18 -18
  159. package/dist/chunks/{skill-db6ka260.js → reference-hy1n1we9.js} +48 -48
  160. package/dist/chunks/{skill-j58c5xyq.js → reference-j58c5xyq.js} +2 -2
  161. package/dist/chunks/{skill-bya0fcmq.js → reference-je5d3c79.js} +12 -12
  162. package/dist/chunks/{skill-njd1jvr3.js → reference-jfzdx66h.js} +9 -9
  163. package/dist/chunks/{skill-d8tvwc74.js → reference-jhzvven8.js} +7 -7
  164. package/dist/chunks/{skill-jk540des.js → reference-jk540des.js} +2 -2
  165. package/dist/chunks/{skill-n4r3xatb.js → reference-jvf3yq6v.js} +4 -4
  166. package/dist/chunks/{skill-m6r6f8tv.js → reference-jwyrdafh.js} +16 -16
  167. package/dist/chunks/{skill-cm8m4w1m.js → reference-k4fxrsyq.js} +15 -15
  168. package/dist/chunks/{skill-7z8tx2pn.js → reference-kenxh6gd.js} +28 -28
  169. package/dist/chunks/{skill-khmqacep.js → reference-khmqacep.js} +1 -1
  170. package/dist/chunks/{skill-b8xqpn46.js → reference-kpdmttv2.js} +11 -11
  171. package/dist/chunks/{skill-nn6nxwtb.js → reference-kph0xsh6.js} +17 -17
  172. package/dist/chunks/{skill-hfze897x.js → reference-kprxdv5r.js} +2 -2
  173. package/dist/chunks/{skill-meq2bhha.js → reference-krdwghjp.js} +5 -5
  174. package/dist/chunks/{skill-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{skill-maspj1v3.js → reference-maspj1v3.js} +1 -1
  176. package/dist/chunks/{skill-yjakarkq.js → reference-mpssfq2q.js} +8 -8
  177. package/dist/chunks/{skill-j0c1115t.js → reference-n0ve5gdb.js} +5 -5
  178. package/dist/chunks/{skill-ah777z7t.js → reference-n1shqbp3.js} +20 -20
  179. package/dist/chunks/{skill-15ye86aw.js → reference-n3kdjaet.js} +11 -11
  180. package/dist/chunks/{skill-j0nbkzx8.js → reference-n5esxn5z.js} +27 -27
  181. package/dist/chunks/{skill-qt4zyp3s.js → reference-n5xpsxq8.js} +15 -15
  182. package/dist/chunks/{skill-3cqwnyj9.js → reference-n61013np.js} +8 -8
  183. package/dist/chunks/{skill-trr50004.js → reference-njp0gf2a.js} +15 -15
  184. package/dist/chunks/{skill-886rcvra.js → reference-nkqw9m3h.js} +30 -30
  185. package/dist/chunks/{skill-qa271a1s.js → reference-nm3w2d7y.js} +21 -21
  186. package/dist/chunks/{skill-wtn0n80d.js → reference-nsxf7brj.js} +40 -40
  187. package/dist/chunks/{skill-r62ys938.js → reference-nywhfaw1.js} +9 -9
  188. package/dist/chunks/{skill-52vk9yjk.js → reference-p37hdxy1.js} +35 -35
  189. package/dist/chunks/{skill-cmwkp3r5.js → reference-p42hj8p8.js} +8 -8
  190. package/dist/chunks/{skill-01f7406t.js → reference-p474d7yp.js} +19 -19
  191. package/dist/chunks/{skill-8xdk01f4.js → reference-p70m11t7.js} +11 -11
  192. package/dist/chunks/{skill-arxc0mkp.js → reference-pjm3t1ca.js} +15 -15
  193. package/dist/chunks/{skill-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{skill-pknna89w.js → reference-pknna89w.js} +1 -1
  195. package/dist/chunks/{skill-rys9py6g.js → reference-pr1m8j7y.js} +8 -8
  196. package/dist/chunks/{skill-hkffa77z.js → reference-pyg4v0b6.js} +4 -4
  197. package/dist/chunks/{skill-q0xm7vwc.js → reference-q0xm7vwc.js} +2 -2
  198. package/dist/chunks/{skill-z35pz71e.js → reference-q1m8dxm9.js} +30 -30
  199. package/dist/chunks/{skill-4fjmcad7.js → reference-q2kevabj.js} +4 -4
  200. package/dist/chunks/{skill-sncr1wb8.js → reference-q53541n0.js} +34 -34
  201. package/dist/chunks/{skill-55x9snav.js → reference-q5423ys8.js} +35 -35
  202. package/dist/chunks/{skill-32v291k9.js → reference-q5ewyrx0.js} +28 -28
  203. package/dist/chunks/{skill-pnh62jhm.js → reference-qdtbhe1n.js} +5 -5
  204. package/dist/chunks/{skill-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{skill-g23ky713.js → reference-qs0nx109.js} +21 -21
  206. package/dist/chunks/{skill-qsdy395h.js → reference-qsdy395h.js} +1 -1
  207. package/dist/chunks/{skill-03e1xmcc.js → reference-qtq7qc2w.js} +10 -10
  208. package/dist/chunks/{skill-079e5tqh.js → reference-qxzvmfjp.js} +4 -4
  209. package/dist/chunks/{skill-8gc0p4kx.js → reference-r83ag541.js} +16 -10
  210. package/dist/chunks/{skill-ah2wvv4g.js → reference-r8f59mgg.js} +29 -29
  211. package/dist/chunks/{skill-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{skill-jws6fkes.js → reference-rkprpv83.js} +8 -8
  213. package/dist/chunks/{skill-a0dr3wh4.js → reference-rpz1svrt.js} +1 -1
  214. package/dist/chunks/{skill-ns8rbw9m.js → reference-rqf4m8aw.js} +20 -20
  215. package/dist/chunks/{skill-mcby4hk6.js → reference-rqraeqvr.js} +4 -4
  216. package/dist/chunks/{skill-mdkgq9hs.js → reference-rsz0h36s.js} +33 -33
  217. package/dist/chunks/{skill-hh3t29v4.js → reference-rtdaykpn.js} +20 -20
  218. package/dist/chunks/{skill-x759227d.js → reference-rtg68wpk.js} +21 -21
  219. package/dist/chunks/{skill-resfzb18.js → reference-rx2dg2kh.js} +45 -45
  220. package/dist/chunks/{skill-mpfy6g4r.js → reference-rxbse8cr.js} +22 -22
  221. package/dist/chunks/{skill-266sb5q0.js → reference-rygkxn9n.js} +44 -44
  222. package/dist/chunks/{skill-sfcyz7s3.js → reference-s0kdr57z.js} +14 -14
  223. package/dist/chunks/{skill-xrvdqef0.js → reference-s5yya818.js} +30 -30
  224. package/dist/chunks/{skill-xwmjdzft.js → reference-s6vxrzhc.js} +5 -5
  225. package/dist/chunks/{skill-z1gwjxrn.js → reference-sa7t01dg.js} +92 -92
  226. package/dist/chunks/reference-sm5yn6ps.js +253 -0
  227. package/dist/chunks/{skill-ts7mkfs9.js → reference-ss358qx3.js} +3 -3
  228. package/dist/chunks/{skill-pfgazgn4.js → reference-sy99d12a.js} +18 -18
  229. package/dist/chunks/{skill-syv4x271.js → reference-syv4x271.js} +1 -1
  230. package/dist/chunks/{skill-wp8fkx26.js → reference-t4p70czd.js} +11 -11
  231. package/dist/chunks/{skill-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{skill-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{skill-tdstcens.js → reference-tdstcens.js} +1 -1
  234. package/dist/chunks/{skill-rert0e01.js → reference-tkb22qbm.js} +2 -2
  235. package/dist/chunks/{skill-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
  236. package/dist/chunks/{skill-tyytaxap.js → reference-tyytaxap.js} +1 -1
  237. package/dist/chunks/{skill-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
  238. package/dist/chunks/{skill-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{skill-fp40df3e.js → reference-vacxjxj3.js} +3 -3
  240. package/dist/chunks/{skill-vj4shjr4.js → reference-vbm38ps9.js} +5 -5
  241. package/dist/chunks/{skill-s5xzx6y2.js → reference-vcp5fwvv.js} +19 -19
  242. package/dist/chunks/{skill-r00gcrkz.js → reference-vd7cyv2z.js} +28 -28
  243. package/dist/chunks/{skill-7hb0ye5y.js → reference-ve45bn9x.js} +6 -6
  244. package/dist/chunks/{skill-veqvce7d.js → reference-veqvce7d.js} +1 -1
  245. package/dist/chunks/{skill-vxdn14wh.js → reference-vm7c5k2y.js} +1 -1
  246. package/dist/chunks/{skill-z91gs09r.js → reference-vt08q70p.js} +15 -15
  247. package/dist/chunks/{skill-17g0dp49.js → reference-vvtb55nw.js} +181 -181
  248. package/dist/chunks/{skill-bee4aq1j.js → reference-vz1ztd4p.js} +24 -24
  249. package/dist/chunks/{skill-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{skill-bckrrh3s.js → reference-w15h4m28.js} +15 -15
  251. package/dist/chunks/{skill-y2g3h41r.js → reference-w1s7mmem.js} +22 -22
  252. package/dist/chunks/{skill-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{skill-0b3sm4h0.js → reference-w4wr1etb.js} +7 -7
  254. package/dist/chunks/{skill-rk7s9xkn.js → reference-wa9g86nq.js} +4 -4
  255. package/dist/chunks/{skill-wd87259q.js → reference-wd87259q.js} +1 -1
  256. package/dist/chunks/{skill-6aa28tdc.js → reference-whrbz81v.js} +30 -30
  257. package/dist/chunks/{skill-ywt8jp22.js → reference-wjr9rjd7.js} +6 -6
  258. package/dist/chunks/{skill-6fszpdwd.js → reference-wkqr0wp4.js} +50 -50
  259. package/dist/chunks/{skill-1z6nfgf9.js → reference-wqvnp2kw.js} +4 -4
  260. package/dist/chunks/{skill-bqpab8f7.js → reference-wwh6ay7x.js} +21 -21
  261. package/dist/chunks/{skill-assg4cnx.js → reference-wx7k6370.js} +22 -22
  262. package/dist/chunks/{skill-0qtg9gyw.js → reference-x7qcbpvq.js} +22 -22
  263. package/dist/chunks/{skill-v419bmwe.js → reference-x8h454cx.js} +25 -25
  264. package/dist/chunks/{skill-v1y2r70j.js → reference-xwxft369.js} +1 -1
  265. package/dist/chunks/{skill-8jj608qq.js → reference-xx6qpep6.js} +33 -33
  266. package/dist/chunks/{skill-a0j2njhq.js → reference-y179arr5.js} +31 -31
  267. package/dist/chunks/{skill-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{skill-1mnsj1b7.js → reference-y41eqcyh.js} +32 -32
  269. package/dist/chunks/{skill-vt9q71gc.js → reference-y456k0gx.js} +21 -21
  270. package/dist/chunks/{skill-6setxp5w.js → reference-y4ny2pth.js} +19 -19
  271. package/dist/chunks/{skill-rzs3gq0x.js → reference-y72zmemf.js} +8 -8
  272. package/dist/chunks/{skill-k8cddrez.js → reference-yak3hf0z.js} +56 -56
  273. package/dist/chunks/{skill-nfhg0zh2.js → reference-ym1z1sce.js} +3 -3
  274. package/dist/chunks/{skill-srr95ctr.js → reference-ys0m66b2.js} +24 -24
  275. package/dist/chunks/{skill-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{skill-qpktp63h.js → reference-z4h9wx76.js} +41 -41
  277. package/dist/chunks/{skill-9bk4xf74.js → reference-zgkz7fqw.js} +33 -33
  278. package/dist/chunks/{skill-k0w1apbg.js → reference-zjtrsxny.js} +5 -5
  279. package/dist/chunks/{skill-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{skill-c2nmdtp2.js → reference-zt9b6e62.js} +15 -15
  281. package/dist/chunks/{skill-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{skill-m21mnn4s.js → reference-zy8qbqak.js} +11 -11
  283. package/dist/chunks/{skill-pjfhrx59.js → reference-zzdwtnvj.js} +19 -19
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  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 +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  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 +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +72 -72
  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/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +104 -104
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +2 -2
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +92 -92
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +103 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  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 +219 -219
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  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 +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  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 +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +157 -157
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  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 +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +93 -93
  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 +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +116 -116
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +112 -112
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +116 -116
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/skill-4v7qdvcn.js +0 -18
  685. package/dist/chunks/skill-90fncmj6.js +0 -26
  686. package/dist/chunks/skill-vwygf5dp.js +0 -253
  687. /package/dist/chunks/{skill-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{skill-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{skill-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{skill-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{skill-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{skill-24dcb14g.js → reference-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{skill-2710q6r3.js → reference-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{skill-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{skill-2bv980vf.js → reference-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{skill-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{skill-359p4xyc.js → reference-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{skill-3asan66x.js → reference-3asan66x.js} +0 -0
  699. /package/dist/chunks/{skill-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{skill-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{skill-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{skill-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{skill-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{skill-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{skill-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{skill-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{skill-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{skill-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{skill-6prwharc.js → reference-6prwharc.js} +0 -0
  710. /package/dist/chunks/{skill-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{skill-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{skill-7m9af43g.js → reference-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{skill-822emrt2.js → reference-822emrt2.js} +0 -0
  714. /package/dist/chunks/{skill-84wd9syh.js → reference-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{skill-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{skill-8n3pysct.js → reference-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{skill-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{skill-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{skill-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{skill-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{skill-af5trqkr.js → reference-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{skill-afrmfg78.js → reference-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{skill-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{skill-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{skill-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{skill-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{skill-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{skill-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{skill-d9fn303g.js → reference-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{skill-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{skill-dajrwvna.js → reference-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{skill-dap0rakb.js → reference-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{skill-df08tz66.js → reference-df08tz66.js} +0 -0
  734. /package/dist/chunks/{skill-dy18nga0.js → reference-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{skill-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{skill-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{skill-ec1grn59.js → reference-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{skill-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{skill-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{skill-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{skill-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{skill-faypxj3z.js → reference-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{skill-fd410y7t.js → reference-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{skill-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{skill-g86h250q.js → reference-g86h250q.js} +0 -0
  746. /package/dist/chunks/{skill-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{skill-gftt206x.js → reference-gftt206x.js} +0 -0
  748. /package/dist/chunks/{skill-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{skill-hk9envan.js → reference-hk9envan.js} +0 -0
  750. /package/dist/chunks/{skill-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{skill-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{skill-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{skill-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{skill-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{skill-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{skill-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{skill-m18g726c.js → reference-m18g726c.js} +0 -0
  758. /package/dist/chunks/{skill-mp448xyj.js → reference-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{skill-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{skill-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{skill-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{skill-njntx4h6.js → reference-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{skill-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{skill-pyv0edze.js → reference-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{skill-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{skill-q74kybfr.js → reference-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{skill-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{skill-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{skill-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{skill-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{skill-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{skill-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{skill-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{skill-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{skill-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{skill-w803qqfp.js → reference-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{skill-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{skill-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{skill-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{skill-wtztk69x.js → reference-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{skill-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{skill-x61499pn.js → reference-x61499pn.js} +0 -0
  783. /package/dist/chunks/{skill-y44na4kk.js → reference-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{skill-y8f7s663.js → reference-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{skill-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{skill-ym463w8f.js → reference-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{skill-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{skill-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,83 +1,83 @@
1
- import {
2
- Service85,
3
- node89
4
- } from "./skill-wp8fkx26.js";
5
1
  import {
6
2
  Service84,
7
3
  node88
8
- } from "./skill-8vbzfnhm.js";
4
+ } from "./reference-t4p70czd.js";
5
+ import {
6
+ Service83,
7
+ node87
8
+ } from "./reference-3q9g49xq.js";
9
9
  import {
10
10
  create3
11
- } from "./skill-rdw6cm16.js";
11
+ } from "./reference-rdw6cm16.js";
12
12
  import {
13
- ID10,
14
- Service72,
15
- node76
16
- } from "./skill-ckp31v8k.js";
13
+ ID15,
14
+ Service79,
15
+ node83
16
+ } from "./reference-ec56ww6f.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./skill-775gj3j1.js";
19
+ } from "./reference-775gj3j1.js";
20
20
  import {
21
- Service66,
22
- node70
23
- } from "./skill-7z8tx2pn.js";
21
+ Service70,
22
+ node74
23
+ } from "./reference-kenxh6gd.js";
24
24
  import {
25
25
  estimate2
26
- } from "./skill-h6vf3j39.js";
26
+ } from "./reference-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./skill-ec1grn59.js";
29
+ } from "./reference-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./skill-zsr4wwhv.js";
35
+ } from "./reference-gw7cjrad.js";
36
36
  import {
37
37
  load5
38
- } from "./skill-h2fjsrzd.js";
38
+ } from "./reference-3fxqyn52.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./skill-he27pt63.js";
41
+ } from "./reference-7zt5x37y.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service24,
48
- node28
49
- } from "./skill-0g30ecvz.js";
47
+ Service32,
48
+ node36
49
+ } from "./reference-7kcbr8xv.js";
50
50
  import {
51
- Service61,
52
- node65
53
- } from "./skill-hftwykng.js";
51
+ Service45,
52
+ node47
53
+ } from "./reference-1n7cf0zt.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./skill-wecqtg5s.js";
57
+ } from "./reference-hdkng2sj.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./skill-ze76j2m8.js";
61
+ } from "./reference-7qen6kzn.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./skill-tdstcens.js";
66
+ } from "./reference-tdstcens.js";
67
67
  import {
68
68
  __export
69
- } from "./skill-9rqn6x4v.js";
69
+ } from "./reference-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service9,
74
+ Service: () => Service8,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
79
  layer: () => layer7,
80
- node: () => node11,
80
+ node: () => node10,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Layer, Result, Stream } from "effect";
96
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
172
172
  };
173
173
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
174
174
  var LEGACY_HEADING = "## Additional Context";
175
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
176
- const agents = yield* Service72;
177
- const bus = yield* Service84;
175
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
176
+ const agents = yield* Service79;
177
+ const bus = yield* Service83;
178
178
  const llm = yield* LLMClient.Service;
179
- const catalog = yield* Service66;
180
- const models = yield* Service61;
181
- const db = (yield* Service85).db;
182
- const requests = yield* Service24;
179
+ const catalog = yield* Service70;
180
+ const models = yield* Service45;
181
+ const db = (yield* Service84).db;
182
+ const requests = yield* Service32;
183
183
  const state = create3({
184
184
  name: "session-compaction",
185
185
  initial: () => ({ auto: true, keep: 15000 }),
@@ -197,7 +197,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
197
197
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
198
198
  return { status: "skipped" };
199
199
  const native = context.model.compaction?.type === "native";
200
- const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
200
+ const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
201
201
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
202
202
  return;
203
203
  })))) ?? context.model;
@@ -473,16 +473,16 @@ ${text}`;
473
473
  }, { metadata: outcome.metadata });
474
474
  return { status: "completed" };
475
475
  });
476
- return Service9.of({
476
+ return Service8.of({
477
477
  transform: state.transform,
478
478
  reload: state.reload,
479
479
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
480
480
  });
481
481
  }));
482
- var node11 = makeLocationNode({
483
- service: Service9,
482
+ var node10 = makeLocationNode({
483
+ service: Service8,
484
484
  layer: layer7,
485
- deps: [node76, node88, node89, llmClient2, node70, node28, node65]
485
+ deps: [node83, node87, node88, llmClient2, node74, node36, node47]
486
486
  });
487
487
  var previousCompaction = (messages) => {
488
488
  const [first] = messages;
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
696
696
  return 0;
697
697
  };
698
698
 
699
- export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
699
+ export { Service8, buildPrompt2, layer7, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./skill-wp8fkx26.js";
5
- import {
6
- reserveSequence2,
7
2
  Service84,
8
3
  node88
9
- } from "./skill-8vbzfnhm.js";
4
+ } from "./reference-t4p70czd.js";
5
+ import {
6
+ reserveSequence2,
7
+ Service83,
8
+ node87
9
+ } from "./reference-3q9g49xq.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./skill-ec1grn59.js";
12
+ } from "./reference-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./skill-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./skill-h7s7r6s9.js";
18
+ } from "./reference-h7s7r6s9.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./skill-z5v4ffb3.js";
22
+ } from "./reference-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./skill-rj3eygr5.js";
25
+ } from "./reference-c41wscbt.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./skill-c1fqxshp.js";
30
+ } from "./reference-es1vcfrp.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./skill-886rcvra.js";
36
+ } from "./reference-nkqw9m3h.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./skill-hkffa77z.js";
42
+ } from "./reference-pyg4v0b6.js";
43
43
  import {
44
44
  initialize2
45
- } from "./skill-ty9fg3f8.js";
45
+ } from "./reference-g7y6ccmm.js";
46
46
  import {
47
47
  Slug2
48
- } from "./skill-gebd4c9n.js";
48
+ } from "./reference-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./skill-9rqn6x4v.js";
51
+ } from "./reference-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node25
58
+ node: () => node29
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
279
279
  });
280
280
  }
281
281
  var layer = Layer.effectDiscard(Effect.gen(function* () {
282
- const bus = yield* Service84;
283
- const db = (yield* Service85).db;
282
+ const bus = yield* Service83;
283
+ const db = (yield* Service84).db;
284
284
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
285
285
  const stored = yield* db.insert(SessionTable2).values({
286
286
  id: event.data.sessionID,
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
467
467
  return publishSessionUsage(db, bus, event.data.sessionID);
468
468
  }), Effect.forkScoped({ startImmediately: true }));
469
469
  }));
470
- var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
470
+ var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
471
471
 
472
- export { SessionAlreadyProjected2, node25, exports_projector };
472
+ export { SessionAlreadyProjected2, node29, exports_projector };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-8xdk01f4.js";
3
+ } from "./reference-p70m11t7.js";
4
4
  import {
5
- Service84
6
- } from "./skill-8vbzfnhm.js";
5
+ Service83
6
+ } from "./reference-3q9g49xq.js";
7
7
  import {
8
- ID15,
9
- Event20,
10
- Service76
11
- } from "./skill-55x9snav.js";
8
+ ID11,
9
+ Event17,
10
+ Service74
11
+ } from "./reference-q5423ys8.js";
12
12
  import {
13
13
  key2
14
- } from "./skill-addxnjmp.js";
14
+ } from "./reference-gqtdsdt7.js";
15
15
  import {
16
- ID13,
16
+ ID9,
17
17
  MethodID2
18
- } from "./skill-mdkgq9hs.js";
18
+ } from "./reference-rsz0h36s.js";
19
19
  import {
20
20
  which2
21
- } from "./skill-qaymkmh1.js";
21
+ } from "./reference-qaymkmh1.js";
22
22
  import {
23
- ID12,
24
- Service73
25
- } from "./skill-cqvw37w8.js";
23
+ ID8,
24
+ Service71
25
+ } from "./reference-676ffxyw.js";
26
26
  import {
27
27
  ID7
28
- } from "./skill-7z8tx2pn.js";
28
+ } from "./reference-kenxh6gd.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./skill-snzp8s5d.js";
31
+ } from "./reference-d1bka95m.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make6(endpoints = {
66
+ function make7(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID12.azure);
73
+ const configured = yield* configuredSettings2(ID8.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service84;
76
- const credentials = yield* Service76;
77
- const providers = yield* Service73;
75
+ const bus = yield* Service83;
76
+ const credentials = yield* Service74;
77
+ const providers = yield* Service71;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make6(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID12.azure,
103
+ integrationID: ID8.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID12.azure,
107
+ integrationID: ID8.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make6(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID12.azure,
125
+ integrationID: ID8.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make6(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID12.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make6(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID12.azure))?.settings;
185
+ const settings = (yield* providers.get(ID8.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make6(endpoints = {
204
204
  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))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make6(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make6(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID12.azure);
243
+ const item = evt.get(ID8.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make6(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make6(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID12.azure);
266
+ const catalog = models.list(ID8.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID12.azure, model.id);
270
+ models.remove(ID8.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID12.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make6(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID12.azure)
291
+ if (evt.model.providerID !== ID8.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make6(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID12.azure });
300
+ }), { providerID: ID8.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID12.azure)
302
+ if (evt.model.providerID !== ID8.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make6(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID12.azure });
311
+ }), { providerID: ID8.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make6();
315
+ var AzurePlugin2 = make7();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make6, AzurePlugin2 };
371
+ export { make7, AzurePlugin2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./skill-8vbzfnhm.js";
2
+ Service83,
3
+ node87
4
+ } from "./reference-3q9g49xq.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./skill-z5v4ffb3.js";
8
+ } from "./reference-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service81,
12
12
  node85
13
- } from "./skill-qecpam0w.js";
13
+ } from "./reference-2sc3sc4p.js";
14
14
  import {
15
15
  __export
16
- } from "./skill-9rqn6x4v.js";
16
+ } from "./reference-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service54,
22
+ Service: () => Service40,
23
23
  define: () => define2,
24
- node: () => node59
24
+ node: () => node43
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service54 extends Context.Service()("@opencode/Rpc") {
30
+ class Service40 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service54, Effect.gen(function* () {
43
- const bus = yield* Service84;
42
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
43
+ const bus = yield* Service83;
44
44
  const location = yield* Service81;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service54.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node59 = makeLocationNode({ service: Service54, layer, deps: [node88, node85] });
128
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [node87, node85] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service54, node59, exports_rpc, define2 };
213
+ export { Service40, node43, exports_rpc, define2 };