@opencode-ai/core 0.0.0-dev-19109 → 0.0.0-dev-19113

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 (769) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{git-sf60rpxa.js → schema-003fsg5n.js} +24 -24
  9. package/dist/chunks/{git-67583cjw.js → schema-03bnknpm.js} +32 -32
  10. package/dist/chunks/{git-6tjj8n2y.js → schema-03r09nmf.js} +11 -11
  11. package/dist/chunks/{git-a9yhhx2n.js → schema-04y4kq5h.js} +18 -18
  12. package/dist/chunks/{git-e9zkahnk.js → schema-0b2z71cm.js} +8 -8
  13. package/dist/chunks/{git-24kkj0mr.js → schema-0czjyq8r.js} +20 -20
  14. package/dist/chunks/{git-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
  15. package/dist/chunks/{git-90eb95eh.js → schema-0ez61b8c.js} +2 -2
  16. package/dist/chunks/{git-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{git-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{git-6ex02c0j.js → schema-0vj1jrz2.js} +30 -30
  19. package/dist/chunks/{git-43kgstp5.js → schema-0wexhrg6.js} +24 -24
  20. package/dist/chunks/{git-3e31qste.js → schema-0wmajvd3.js} +21 -21
  21. package/dist/chunks/{git-tdtn9dc8.js → schema-13henw9b.js} +10 -10
  22. package/dist/chunks/{git-jdnwrjf1.js → schema-14hmenm3.js} +3 -3
  23. package/dist/chunks/{git-pxpsfjdb.js → schema-19e0cjgc.js} +16 -16
  24. package/dist/chunks/{git-ysdbg6vk.js → schema-1a62n4b4.js} +8 -8
  25. package/dist/chunks/{git-f2wqyxa1.js → schema-1b1362z0.js} +279 -279
  26. package/dist/chunks/{git-qhyptzpa.js → schema-1bfx2f8w.js} +17 -17
  27. package/dist/chunks/{git-t29n1950.js → schema-1c9254mw.js} +19 -19
  28. package/dist/chunks/{git-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
  29. package/dist/chunks/{git-5aq57b09.js → schema-1pcpac3c.js} +45 -45
  30. package/dist/chunks/{git-e5h75gt4.js → schema-1qm36p24.js} +6 -6
  31. package/dist/chunks/{git-qwdgxhzc.js → schema-1rs9f67k.js} +13 -13
  32. package/dist/chunks/{git-3wbeqzmg.js → schema-1twm75cg.js} +7 -7
  33. package/dist/chunks/{git-21r38tys.js → schema-21r38tys.js} +1 -1
  34. package/dist/chunks/{git-1xhwd09p.js → schema-232z5d71.js} +11 -11
  35. package/dist/chunks/{git-2402vzrj.js → schema-2402vzrj.js} +1 -1
  36. package/dist/chunks/{git-efxjj9hq.js → schema-25x8afv5.js} +24 -24
  37. package/dist/chunks/{git-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{git-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
  39. package/dist/chunks/{git-2jqmte8w.js → schema-2jqmte8w.js} +2 -2
  40. package/dist/chunks/{git-dvzrr6hd.js → schema-31jaghp0.js} +8 -8
  41. package/dist/chunks/{git-0yjzv1xx.js → schema-3b8x608h.js} +11 -11
  42. package/dist/chunks/{git-czy35k71.js → schema-3bxg9k4v.js} +4 -4
  43. package/dist/chunks/{git-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{git-98e54nj4.js → schema-3m6r3y2t.js} +3 -3
  45. package/dist/chunks/{git-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{git-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{git-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{git-sxaj9jh7.js → schema-3wfq9j39.js} +12 -12
  49. package/dist/chunks/{git-hjrjbgez.js → schema-41mncz27.js} +5 -5
  50. package/dist/chunks/{git-454k5vzh.js → schema-454k5vzh.js} +1 -1
  51. package/dist/chunks/{git-ajq4mc28.js → schema-465hbgy4.js} +23 -23
  52. package/dist/chunks/{git-g0awv9rp.js → schema-47hx03vq.js} +6 -6
  53. package/dist/chunks/{git-mc1a8gkf.js → schema-49vqye4b.js} +23 -23
  54. package/dist/chunks/{git-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{git-gaa7qhhm.js → schema-4t3td2wa.js} +3 -3
  56. package/dist/chunks/{git-hc4b3kyg.js → schema-4z6b0fg6.js} +6 -6
  57. package/dist/chunks/{git-b4fncx34.js → schema-51607pcx.js} +35 -35
  58. package/dist/chunks/{git-s5qzv7b1.js → schema-5d7pjmem.js} +8 -8
  59. package/dist/chunks/{git-5daktx2q.js → schema-5daktx2q.js} +1 -1
  60. package/dist/chunks/{git-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{git-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{git-ez5b8bq3.js → schema-5sg4xzjf.js} +7 -7
  63. package/dist/chunks/{git-a3aqw4jk.js → schema-5t62h84z.js} +9 -9
  64. package/dist/chunks/{git-2q21hkva.js → schema-5xry5f48.js} +19 -19
  65. package/dist/chunks/{git-hjv5med1.js → schema-5ymv3zps.js} +10 -10
  66. package/dist/chunks/{git-q1cagyca.js → schema-604brgxe.js} +15 -15
  67. package/dist/chunks/{git-7dqw4kz8.js → schema-607tc6va.js} +5 -5
  68. package/dist/chunks/{git-t7xwk1e5.js → schema-6e9zjh3b.js} +39 -39
  69. package/dist/chunks/{git-46rehjdx.js → schema-6gdw6h0x.js} +20 -20
  70. package/dist/chunks/{git-na3y75gh.js → schema-6h414ywr.js} +5 -5
  71. package/dist/chunks/{git-wcn3expk.js → schema-6t6jdtfj.js} +43 -43
  72. package/dist/chunks/{git-6tf8tr4v.js → schema-6tf8tr4v.js} +2 -2
  73. package/dist/chunks/{git-m2a0x0j7.js → schema-6wvc17bv.js} +21 -21
  74. package/dist/chunks/{git-jw51n901.js → schema-6z0cx0hp.js} +5 -5
  75. package/dist/chunks/{git-6z5bwd8g.js → schema-6z5bwd8g.js} +2 -2
  76. package/dist/chunks/{git-711hfp6y.js → schema-711hfp6y.js} +2 -2
  77. package/dist/chunks/{git-1bdhjw18.js → schema-71gdr5b1.js} +8 -8
  78. package/dist/chunks/{git-fg46k2f2.js → schema-7b58fdzm.js} +39 -39
  79. package/dist/chunks/{git-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{git-thrargpz.js → schema-7cxbprz9.js} +9 -9
  81. package/dist/chunks/schema-7zk4hah4.js +4 -0
  82. package/dist/chunks/{git-25v3hshg.js → schema-84615681.js} +30 -30
  83. package/dist/chunks/{git-4wmw0yz2.js → schema-86gvg13r.js} +26 -26
  84. package/dist/chunks/{git-4c5k13je.js → schema-86s3977f.js} +1 -1
  85. package/dist/chunks/{git-4gzm36d2.js → schema-885z9zv8.js} +38 -38
  86. package/dist/chunks/{git-dns6mj49.js → schema-89b63vz0.js} +9 -9
  87. package/dist/chunks/{git-tcezcvh9.js → schema-89znhe33.js} +4 -4
  88. package/dist/chunks/{git-12gh2r0n.js → schema-8dbsynwt.js} +4 -4
  89. package/dist/chunks/{git-gadrrcfg.js → schema-8gwm888c.js} +16 -16
  90. package/dist/chunks/{git-jt4qmvd6.js → schema-8jb23qqb.js} +34 -34
  91. package/dist/chunks/{git-48wd3yf5.js → schema-8vvsq35t.js} +28 -28
  92. package/dist/chunks/{git-2nfezth6.js → schema-8z1zv58q.js} +24 -24
  93. package/dist/chunks/{git-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
  94. package/dist/chunks/{git-bfsqkmyv.js → schema-93zj7k35.js} +31 -31
  95. package/dist/chunks/{git-157wf8eb.js → schema-9n0vkmbk.js} +4 -4
  96. package/dist/chunks/{git-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
  97. package/dist/chunks/{git-6grqxh82.js → schema-9ynjk36a.js} +16 -16
  98. package/dist/chunks/{git-59fb75f8.js → schema-a2qpghxp.js} +26 -26
  99. package/dist/chunks/{git-y8xfsac8.js → schema-a38ny1e6.js} +18 -18
  100. package/dist/chunks/{git-kx2gvdct.js → schema-a5nkh94p.js} +4 -4
  101. package/dist/chunks/{git-aaet6srn.js → schema-aaet6srn.js} +2 -2
  102. package/dist/chunks/{git-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
  103. package/dist/chunks/{git-b4nfgv2f.js → schema-aqe02c8d.js} +36 -36
  104. package/dist/chunks/schema-ar126axr.js +20 -0
  105. package/dist/chunks/{git-pp549hae.js → schema-arkd3wpw.js} +5 -5
  106. package/dist/chunks/{git-19kh8pdt.js → schema-aw2k3wz6.js} +65 -65
  107. package/dist/chunks/{git-wrz65vt8.js → schema-b44wx9et.js} +36 -36
  108. package/dist/chunks/{git-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{git-qxs44qv5.js → schema-b8z4k5ce.js} +25 -25
  110. package/dist/chunks/{git-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
  111. package/dist/chunks/{git-txyczmks.js → schema-bd8qc9hq.js} +11 -11
  112. package/dist/chunks/{git-qezf6xep.js → schema-bh9tqa98.js} +32 -32
  113. package/dist/chunks/{git-ehncf743.js → schema-bhpqzk3s.js} +7 -7
  114. package/dist/chunks/{git-zqg3qsz2.js → schema-bxb1xesv.js} +4 -4
  115. package/dist/chunks/{git-97sjq870.js → schema-by3wynxz.js} +27 -27
  116. package/dist/chunks/{git-35vc2dck.js → schema-bz9tscha.js} +11 -11
  117. package/dist/chunks/{git-6e958v7x.js → schema-c0faa19c.js} +6 -6
  118. package/dist/chunks/{git-e8920g29.js → schema-c8adm2ya.js} +11 -11
  119. package/dist/chunks/{git-5dz1cjsc.js → schema-cmzeyqty.js} +15 -15
  120. package/dist/chunks/{git-ss0awb04.js → schema-cqg8v4c7.js} +6 -6
  121. package/dist/chunks/{git-rzwk2s92.js → schema-cr2cj2wh.js} +15 -15
  122. package/dist/chunks/{git-f6nrgepv.js → schema-cv9nfd2x.js} +9 -9
  123. package/dist/chunks/{git-6191z5s4.js → schema-cvtn0ena.js} +18 -18
  124. package/dist/chunks/{git-db9r0kw7.js → schema-cwy94s7d.js} +28 -28
  125. package/dist/chunks/{git-ratrq7cm.js → schema-d216944b.js} +7 -7
  126. package/dist/chunks/{git-t6jxcej1.js → schema-d33d0znm.js} +6 -6
  127. package/dist/chunks/{git-d72308c8.js → schema-d72308c8.js} +2 -2
  128. package/dist/chunks/{git-3vkr20g6.js → schema-ddhdzq1z.js} +22 -22
  129. package/dist/chunks/{git-wtxfc7wq.js → schema-ddqrdvz9.js} +11 -11
  130. package/dist/chunks/{git-7dwfb2vf.js → schema-dmeb760c.js} +11 -11
  131. package/dist/chunks/{git-8737zb6q.js → schema-dn5rar9h.js} +18 -18
  132. package/dist/chunks/{git-jpx0fz2c.js → schema-dq1m6vbr.js} +12 -12
  133. package/dist/chunks/{git-dj6ed4p5.js → schema-drrwt7ne.js} +13 -13
  134. package/dist/chunks/{git-pt2y64as.js → schema-dwag0pt8.js} +51 -51
  135. package/dist/chunks/{git-gj0v7ayb.js → schema-dx71f7x8.js} +1 -1
  136. package/dist/chunks/{git-14s8ve6g.js → schema-e5b0qn1c.js} +1 -1
  137. package/dist/chunks/{git-gjqgpz3y.js → schema-e8zea55p.js} +3 -3
  138. package/dist/chunks/{git-zb3c6va5.js → schema-ek47zmt8.js} +20 -20
  139. package/dist/chunks/{git-94nnnvbh.js → schema-embxdc05.js} +20 -20
  140. package/dist/chunks/{git-na3rzezk.js → schema-erdqw2zp.js} +15 -15
  141. package/dist/chunks/{git-s1zas8dv.js → schema-etv9h02v.js} +11 -11
  142. package/dist/chunks/{git-y71avatq.js → schema-f0nz223j.js} +4 -4
  143. package/dist/chunks/{git-g4j5mcjp.js → schema-f1kgb3zy.js} +17 -17
  144. package/dist/chunks/{git-ba723ajb.js → schema-f2c1rw5q.js} +8 -8
  145. package/dist/chunks/{git-dnmyvy59.js → schema-fcxqfnez.js} +41 -41
  146. package/dist/chunks/{git-rqpsfqy9.js → schema-fgsnpp9b.js} +6 -6
  147. package/dist/chunks/{git-daxtdgx4.js → schema-fqjmww7h.js} +2 -2
  148. package/dist/chunks/{git-4sqztht9.js → schema-fqsas06y.js} +25 -25
  149. package/dist/chunks/{git-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{git-fxypknc8.js → schema-fxypknc8.js} +1 -1
  151. package/dist/chunks/{git-pyfcms0g.js → schema-g3drbzg8.js} +49 -49
  152. package/dist/chunks/{git-1sfe7ky6.js → schema-g41n1fn3.js} +5 -5
  153. package/dist/chunks/{git-5gx2hdkx.js → schema-g77vssk4.js} +3 -3
  154. package/dist/chunks/{git-4p9rm7az.js → schema-g7dk7q7q.js} +6 -6
  155. package/dist/chunks/{git-nt48h9be.js → schema-gb2d2dnx.js} +6 -6
  156. package/dist/chunks/{git-nb73njp3.js → schema-gcs6fwp7.js} +26 -26
  157. package/dist/chunks/{git-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{git-3fc6dm20.js → schema-gdvy8fx6.js} +4 -4
  159. package/dist/chunks/{git-0dxc7qjc.js → schema-ghs32kwn.js} +10 -10
  160. package/dist/chunks/{git-4w13mmvc.js → schema-ghvd297g.js} +20 -20
  161. package/dist/chunks/{git-v0vsseqe.js → schema-gpf623h2.js} +26 -26
  162. package/dist/chunks/{git-dhct43ra.js → schema-gra7g7yn.js} +6 -6
  163. package/dist/chunks/{git-h2st8tcp.js → schema-gsh994c1.js} +20 -20
  164. package/dist/chunks/{git-9nv74sc2.js → schema-gxf68msc.js} +11 -11
  165. package/dist/chunks/{git-j76h0y45.js → schema-gyt4m0mz.js} +13 -13
  166. package/dist/chunks/{git-8kemf7hy.js → schema-h0171c2t.js} +25 -25
  167. package/dist/chunks/{git-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{git-rzejcw32.js → schema-h722e297.js} +5 -5
  169. package/dist/chunks/{git-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
  170. package/dist/chunks/{git-fb63p1mh.js → schema-hf39trxb.js} +6 -6
  171. package/dist/chunks/{git-rnzzvk35.js → schema-hge35dz1.js} +11 -11
  172. package/dist/chunks/{git-ktk9jmx4.js → schema-hmwt0jyx.js} +27 -27
  173. package/dist/chunks/{git-d7zznenn.js → schema-hr5qjpq8.js} +9 -9
  174. package/dist/chunks/{git-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
  175. package/dist/chunks/{git-kvsjn1dr.js → schema-hw4pv20g.js} +2 -2
  176. package/dist/chunks/{git-sxx28m10.js → schema-hz4jmg6a.js} +16 -16
  177. package/dist/chunks/{git-2tdj64pz.js → schema-hzecryb5.js} +18 -18
  178. package/dist/chunks/{git-43mprarq.js → schema-j2823k0a.js} +2 -2
  179. package/dist/chunks/{git-pjedbq3k.js → schema-j5208yae.js} +4 -4
  180. package/dist/chunks/{git-5qd3pb7m.js → schema-j935v87r.js} +2 -2
  181. package/dist/chunks/{git-fxx3ng1x.js → schema-j9p9k0ns.js} +20 -20
  182. package/dist/chunks/{git-btsk8b9y.js → schema-jdcgdbf4.js} +15 -15
  183. package/dist/chunks/{git-kzmwhpqp.js → schema-jnkr0b22.js} +7 -7
  184. package/dist/chunks/{git-gw3wk82x.js → schema-jzwyrcyp.js} +37 -37
  185. package/dist/chunks/{git-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
  186. package/dist/chunks/{git-r6spzpk4.js → schema-k4wm54be.js} +11 -11
  187. package/dist/chunks/{git-nh5wbzxs.js → schema-k6j9nnzb.js} +10 -10
  188. package/dist/chunks/{git-0rag4e4f.js → schema-k8feg6vv.js} +4 -4
  189. package/dist/chunks/{git-kg06axw8.js → schema-kg06axw8.js} +1 -1
  190. package/dist/chunks/{git-d283m366.js → schema-kqh4e8mv.js} +11 -11
  191. package/dist/chunks/{git-me5tkfc4.js → schema-ksgctcgv.js} +14 -14
  192. package/dist/chunks/{git-62fymqzv.js → schema-kxmdptat.js} +6 -6
  193. package/dist/chunks/{git-e4xqgmkc.js → schema-ky34zdc2.js} +86 -86
  194. package/dist/chunks/{git-f90y20kg.js → schema-m68bnfyk.js} +37 -37
  195. package/dist/chunks/{git-0ywdd1cz.js → schema-m8y7v2t2.js} +10 -10
  196. package/dist/chunks/{git-hjwyx7yr.js → schema-m9gnqnf3.js} +164 -164
  197. package/dist/chunks/{git-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{git-p3e4re21.js → schema-mcxg6pmm.js} +1 -1
  199. package/dist/chunks/{git-zr9q2xht.js → schema-mg9kt97e.js} +55 -55
  200. package/dist/chunks/{git-mhkvc446.js → schema-mhkvc446.js} +1 -1
  201. package/dist/chunks/{git-yn7pyct1.js → schema-mrndz1s0.js} +17 -17
  202. package/dist/chunks/{git-br76cj0n.js → schema-mxrkvygc.js} +7 -7
  203. package/dist/chunks/{git-3bp7f1wy.js → schema-mzr3jh1b.js} +4 -4
  204. package/dist/chunks/{git-ch60wd2z.js → schema-n3jkd22a.js} +4 -4
  205. package/dist/chunks/{git-2jk00ej8.js → schema-n7cf8wem.js} +31 -31
  206. package/dist/chunks/{git-bafjfafm.js → schema-n9mbvtnm.js} +31 -31
  207. package/dist/chunks/{git-a65jk3dg.js → schema-na32d9q8.js} +3 -3
  208. package/dist/chunks/{git-kfd3jmfd.js → schema-npjjgcke.js} +25 -25
  209. package/dist/chunks/{git-0q5bpm08.js → schema-nz06j3y4.js} +32 -32
  210. package/dist/chunks/{git-gnaht1j5.js → schema-p2wtsv0s.js} +11 -11
  211. package/dist/chunks/{git-rvn46zq7.js → schema-p325kmej.js} +9 -9
  212. package/dist/chunks/{git-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{git-pknna89w.js → schema-pknna89w.js} +1 -1
  214. package/dist/chunks/{git-tr0r9c4y.js → schema-pm8h9tzz.js} +32 -32
  215. package/dist/chunks/{git-s1pbqs1h.js → schema-pq59jms5.js} +17 -17
  216. package/dist/chunks/{git-shr0f69z.js → schema-ptakx6pw.js} +18 -18
  217. package/dist/chunks/{git-1ptjnbjx.js → schema-ptrvg6rv.js} +9 -9
  218. package/dist/chunks/{git-xqxbvg49.js → schema-pv4m0g3w.js} +10 -10
  219. package/dist/chunks/{git-3j8sdtpz.js → schema-q2b1ymqp.js} +4 -4
  220. package/dist/chunks/schema-q509s3k3.js +18 -0
  221. package/dist/chunks/{git-m25pdrkb.js → schema-q8pp2sp9.js} +46 -46
  222. package/dist/chunks/{git-mzxw2z9s.js → schema-qp9er4j6.js} +20 -20
  223. package/dist/chunks/{git-qsdy395h.js → schema-qsdy395h.js} +1 -1
  224. package/dist/chunks/{git-3z8xdy4t.js → schema-qteavpav.js} +21 -21
  225. package/dist/chunks/{git-eqkknbny.js → schema-qvvp9gqp.js} +8 -8
  226. package/dist/chunks/{git-4hz2mmtn.js → schema-r80rqf00.js} +6 -6
  227. package/dist/chunks/{git-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
  228. package/dist/chunks/{git-btx2ztyd.js → schema-rgkrj14r.js} +24 -24
  229. package/dist/chunks/{git-759pz1a2.js → schema-rmkjmdgc.js} +8 -8
  230. package/dist/chunks/{git-abvdbqvv.js → schema-rmy3e5eg.js} +3 -3
  231. package/dist/chunks/{git-zfnpc7fv.js → schema-s3eqpch7.js} +1 -1
  232. package/dist/chunks/{git-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
  233. package/dist/chunks/{git-2vjvjjyp.js → schema-sr8h0x87.js} +30 -30
  234. package/dist/chunks/{git-4ss9n79c.js → schema-sxx6cwa9.js} +13 -13
  235. package/dist/chunks/{git-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  236. package/dist/chunks/schema-tcjeexqf.js +243 -0
  237. package/dist/chunks/{git-tpk8ft80.js → schema-tdz2d0bf.js} +11 -11
  238. package/dist/chunks/{git-thfv75je.js → schema-thfv75je.js} +2 -2
  239. package/dist/chunks/{git-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{git-t4es3k9e.js → schema-tmxfds8c.js} +9 -9
  241. package/dist/chunks/{git-qdaqxxg9.js → schema-ty1azyrs.js} +18 -18
  242. package/dist/chunks/{git-yz728bf4.js → schema-tzfkbvz2.js} +9 -9
  243. package/dist/chunks/{git-rved4v7n.js → schema-v1tf4pqw.js} +9 -9
  244. package/dist/chunks/{git-z3xgatyd.js → schema-vep9yay1.js} +4 -4
  245. package/dist/chunks/{git-qy2nesre.js → schema-vfnppjq7.js} +11 -11
  246. package/dist/chunks/{git-hbs35kex.js → schema-vns5fd4r.js} +8 -8
  247. package/dist/chunks/{git-9y1phk8d.js → schema-vsr56sgz.js} +3 -3
  248. package/dist/chunks/{git-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{git-1tfrzsx7.js → schema-wb48nz2p.js} +9 -9
  250. package/dist/chunks/{git-yvhsxjzj.js → schema-wbypftda.js} +16 -16
  251. package/dist/chunks/{git-wd87259q.js → schema-wd87259q.js} +1 -1
  252. package/dist/chunks/{git-kyd4za44.js → schema-wgxn7ww3.js} +4 -4
  253. package/dist/chunks/{git-2hymcpzh.js → schema-wnae6eaa.js} +87 -87
  254. package/dist/chunks/{git-naywqbg0.js → schema-wq3pj38h.js} +11 -11
  255. package/dist/chunks/{git-ypa7521y.js → schema-wxxmn71z.js} +12 -12
  256. package/dist/chunks/{git-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{git-0qwbfr5b.js → schema-x25z0w3c.js} +10 -10
  258. package/dist/chunks/{git-hvxfxr0a.js → schema-x4q3fes7.js} +37 -37
  259. package/dist/chunks/{git-jf453wex.js → schema-x4r7m2ed.js} +31 -31
  260. package/dist/chunks/{git-szasc975.js → schema-x9k9x3cg.js} +8 -8
  261. package/dist/chunks/{git-mqmk3ma0.js → schema-xb7ts4ht.js} +17 -17
  262. package/dist/chunks/{git-q32xhvm0.js → schema-xbk3bkv8.js} +4 -4
  263. package/dist/chunks/{git-n3sy9ccz.js → schema-xewvqdfm.js} +25 -25
  264. package/dist/chunks/{git-54q64t4d.js → schema-xh4mehyn.js} +25 -25
  265. package/dist/chunks/{git-k2qp0rt7.js → schema-xqsy6kp0.js} +1 -1
  266. package/dist/chunks/{git-tjmzx5hc.js → schema-xzwtfmxp.js} +7 -7
  267. package/dist/chunks/{git-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-3kbb63t8.js → schema-y5e1a3sd.js} +4 -4
  269. package/dist/chunks/{git-yfbd16n1.js → schema-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{git-7ah5wmet.js → schema-yg7c986n.js} +24 -24
  271. package/dist/chunks/{git-vtq1wfzg.js → schema-ykcesz1b.js} +4 -4
  272. package/dist/chunks/{git-2ba8yhta.js → schema-yzqwwj2t.js} +58 -58
  273. package/dist/chunks/{git-54k2rsgg.js → schema-z0vc91aj.js} +28 -28
  274. package/dist/chunks/{git-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{git-qp4k32t2.js → schema-z2hjzsqf.js} +10 -10
  276. package/dist/chunks/{git-29x78va6.js → schema-z63w68vq.js} +6 -6
  277. package/dist/chunks/{git-7r0r50e5.js → schema-zk8c4w5t.js} +5 -5
  278. package/dist/chunks/{git-6ym5me7r.js → schema-zn2pq4p8.js} +5 -5
  279. package/dist/chunks/{git-qr5nkndc.js → schema-zpensxqb.js} +17 -17
  280. package/dist/chunks/{git-0mm37wse.js → schema-zr385g01.js} +41 -41
  281. package/dist/chunks/{git-cw8gg7dp.js → schema-zv0fedm2.js} +9 -9
  282. package/dist/chunks/{git-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +3 -3
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +83 -83
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +205 -205
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +113 -113
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +112 -112
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +118 -118
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +82 -82
  314. package/dist/database/database.js +70 -70
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +3 -3
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +70 -70
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +15 -15
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +82 -82
  418. package/dist/formatter/builtins.js +2 -2
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +86 -86
  421. package/dist/git.js +5 -5
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +7 -7
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +75 -75
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +84 -84
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +84 -84
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +102 -102
  461. package/dist/mcp/instructions.js +116 -116
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +8 -8
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +107 -107
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +96 -96
  479. package/dist/plugin/command.js +93 -93
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +208 -208
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +4 -4
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +79 -79
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +114 -114
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +5 -5
  527. package/dist/plugin/skill.js +129 -129
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +5 -5
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +80 -80
  534. package/dist/plugin/vcs/hg.js +80 -80
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +6 -6
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +2 -2
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +219 -219
  543. package/dist/project/schema.js +8 -8
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +85 -85
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +94 -94
  551. package/dist/reference/instructions.js +84 -84
  552. package/dist/reference.js +84 -84
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +93 -93
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +127 -127
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +215 -215
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +84 -84
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +165 -165
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +201 -201
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +212 -212
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +211 -211
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +13 -13
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +117 -117
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +110 -110
  625. package/dist/tool/plugin/question.js +95 -95
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +206 -206
  628. package/dist/tool/plugin/skill.js +105 -105
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +104 -104
  631. package/dist/tool/plugin/websearch.js +106 -106
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +15 -15
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +3 -3
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +80 -80
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +79 -79
  666. package/dist/workspace/driver.js +7 -7
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +76 -76
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +5 -5
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +88 -88
  673. package/package.json +7 -7
  674. package/dist/chunks/git-bsaaxbhg.js +0 -20
  675. package/dist/chunks/git-bwt7bpgq.js +0 -18
  676. package/dist/chunks/git-f4j0pa50.js +0 -4
  677. package/dist/chunks/git-m3crx9ys.js +0 -243
  678. /package/dist/chunks/{git-0fabt78z.js → schema-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{git-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{git-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{git-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{git-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{git-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{git-2710q6r3.js → schema-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{git-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{git-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{git-359p4xyc.js → schema-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{git-3asan66x.js → schema-3asan66x.js} +0 -0
  689. /package/dist/chunks/{git-3t738kvx.js → schema-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{git-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{git-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{git-41nvscxy.js → schema-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{git-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{git-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{git-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{git-53557ph1.js → schema-53557ph1.js} +0 -0
  697. /package/dist/chunks/{git-550bvhaj.js → schema-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{git-6prwharc.js → schema-6prwharc.js} +0 -0
  699. /package/dist/chunks/{git-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{git-7m9af43g.js → schema-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{git-822emrt2.js → schema-822emrt2.js} +0 -0
  702. /package/dist/chunks/{git-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{git-8n3pysct.js → schema-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{git-982e01ww.js → schema-982e01ww.js} +0 -0
  705. /package/dist/chunks/{git-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{git-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{git-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{git-af5trqkr.js → schema-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{git-afrmfg78.js → schema-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{git-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{git-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{git-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{git-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{git-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{git-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{git-d9fn303g.js → schema-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{git-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{git-dajrwvna.js → schema-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{git-dap0rakb.js → schema-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{git-df08tz66.js → schema-df08tz66.js} +0 -0
  721. /package/dist/chunks/{git-dy18nga0.js → schema-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{git-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{git-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{git-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{git-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{git-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{git-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{git-faypxj3z.js → schema-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{git-fd410y7t.js → schema-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{git-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{git-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{git-g86h250q.js → schema-g86h250q.js} +0 -0
  733. /package/dist/chunks/{git-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{git-hk9envan.js → schema-hk9envan.js} +0 -0
  735. /package/dist/chunks/{git-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{git-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{git-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  738. /package/dist/chunks/{git-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  739. /package/dist/chunks/{git-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  740. /package/dist/chunks/{git-mntxs535.js → schema-mntxs535.js} +0 -0
  741. /package/dist/chunks/{git-mp448xyj.js → schema-mp448xyj.js} +0 -0
  742. /package/dist/chunks/{git-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  743. /package/dist/chunks/{git-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  744. /package/dist/chunks/{git-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  745. /package/dist/chunks/{git-njntx4h6.js → schema-njntx4h6.js} +0 -0
  746. /package/dist/chunks/{git-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
  747. /package/dist/chunks/{git-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  748. /package/dist/chunks/{git-q74kybfr.js → schema-q74kybfr.js} +0 -0
  749. /package/dist/chunks/{git-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  750. /package/dist/chunks/{git-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  751. /package/dist/chunks/{git-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  752. /package/dist/chunks/{git-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  753. /package/dist/chunks/{git-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  754. /package/dist/chunks/{git-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  755. /package/dist/chunks/{git-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
  756. /package/dist/chunks/{git-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  757. /package/dist/chunks/{git-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  758. /package/dist/chunks/{git-twg0f83k.js → schema-twg0f83k.js} +0 -0
  759. /package/dist/chunks/{git-w803qqfp.js → schema-w803qqfp.js} +0 -0
  760. /package/dist/chunks/{git-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  761. /package/dist/chunks/{git-wtztk69x.js → schema-wtztk69x.js} +0 -0
  762. /package/dist/chunks/{git-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  763. /package/dist/chunks/{git-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
  764. /package/dist/chunks/{git-x61499pn.js → schema-x61499pn.js} +0 -0
  765. /package/dist/chunks/{git-y44na4kk.js → schema-y44na4kk.js} +0 -0
  766. /package/dist/chunks/{git-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  767. /package/dist/chunks/{git-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  768. /package/dist/chunks/{git-z9919s4g.js → schema-z9919s4g.js} +0 -0
  769. /package/dist/chunks/{git-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./git-7dwfb2vf.js";
3
+ node82
4
+ } from "./schema-dmeb760c.js";
5
5
  import {
6
- Service73,
7
- node77
8
- } from "./git-s1pbqs1h.js";
6
+ Service70,
7
+ node73
8
+ } from "./schema-pq59jms5.js";
9
9
  import {
10
- ID7,
11
- Service50,
12
- node53
13
- } from "./git-n3sy9ccz.js";
10
+ ID8,
11
+ Service55,
12
+ node57
13
+ } from "./schema-xewvqdfm.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./git-yz728bf4.js";
15
+ NotFoundError8
16
+ } from "./schema-tzfkbvz2.js";
17
17
  import {
18
- Service48,
19
- node51
20
- } from "./git-qhyptzpa.js";
18
+ Service52,
19
+ node54
20
+ } from "./schema-1bfx2f8w.js";
21
21
  import {
22
22
  match2
23
- } from "./git-y1fvbwt7.js";
23
+ } from "./schema-y1fvbwt7.js";
24
24
  import {
25
- Service49,
26
- node52
27
- } from "./git-a9yhhx2n.js";
25
+ Service53,
26
+ node55
27
+ } from "./schema-04y4kq5h.js";
28
28
  import {
29
- Service60,
30
- node64
31
- } from "./git-szasc975.js";
29
+ Service54,
30
+ node56
31
+ } from "./schema-x9k9x3cg.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event8,
46
- ID: () => ID4,
47
- NotFoundError: () => NotFoundError5,
48
- Permission: () => exports_permission,
45
+ Event: () => Event9,
46
+ ID: () => ID6,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service47,
54
+ Service: () => Service51,
55
55
  Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node50
58
+ node: () => node53
59
59
  });
60
60
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode-ai/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
64
- import { Event as Event8 } from "@opencode-ai/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
64
+ import { Event as Event9 } from "@opencode-ai/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID4 = Permission.ID;
67
+ var ID6 = Permission.ID;
68
68
  var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID4.pipe(Schema.optional),
80
+ id: ID6.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID7.pipe(Schema.optional)
82
+ agent: ID8.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID4,
85
+ requestID: ID6,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID4,
90
+ id: ID6,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID4
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID6
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service47 extends Context.Service()("@opencode/Permission") {
128
+ class Service51 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service47, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service73;
133
- const agents = yield* Service50;
134
- const sessions = yield* Service48;
135
- const saved = yield* Service49;
136
- const hooks = yield* Service60;
132
+ const location = yield* Service70;
133
+ const agents = yield* Service55;
134
+ const sessions = yield* Service52;
135
+ const saved = yield* Service53;
136
+ const hooks = yield* Service54;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError6({ sessionID });
153
+ return yield* new NotFoundError8({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID4.create(),
183
+ id: input.id ?? ID6.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError5({ requestID: input.requestID });
231
+ return yield* new NotFoundError7({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service47.of({ ask, assert, reply, get, forSession, list });
286
+ return Service51.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node50 = makeLocationNode({
289
- service: Service47,
288
+ var node53 = makeLocationNode({
289
+ service: Service51,
290
290
  layer,
291
- deps: [node83, node77, node53, node51, node52, node64]
291
+ deps: [node82, node73, node57, node54, node55, node56]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID4, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service47, node50, exports_permission, Rule2, Ruleset2, Event8 };
294
+ export { PermissionEffect, ID6, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service51, node53, exports_permission2, Rule3, Ruleset2, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./git-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
5
  make19,
6
6
  diffByKey2
7
- } from "./git-6e958v7x.js";
7
+ } from "./schema-c0faa19c.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./git-zr9q2xht.js";
10
+ } from "./schema-mg9kt97e.js";
11
11
  import {
12
- Service39,
13
- node41
14
- } from "./git-pt2y64as.js";
12
+ Service34,
13
+ node36
14
+ } from "./schema-dwag0pt8.js";
15
15
  import {
16
16
  namespace2,
17
17
  name14
18
- } from "./git-v0vsseqe.js";
18
+ } from "./schema-gpf623h2.js";
19
19
  import {
20
20
  __export
21
- } from "./git-9rqn6x4v.js";
21
+ } from "./schema-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
24
  var exports_instructions3 = {};
25
25
  __export(exports_instructions3, {
26
26
  McpInstructions: () => exports_instructions3,
27
- Service: () => Service29,
27
+ Service: () => Service30,
28
28
  layer: () => layer12,
29
- node: () => node31
29
+ node: () => node32
30
30
  });
31
31
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service30 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer12 = Layer.effect(Service29, Effect.gen(function* () {
68
- const mcp = yield* Service39;
69
- return Service29.of({
67
+ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
68
+ const mcp = yield* Service34;
69
+ return Service30.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
74
  const source = (value) => make19({
75
- key: Key3.make("core/mcp-guidance"),
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node31 = makeLocationNode({ service: Service29, layer: layer12, deps: [node41] });
103
+ var node32 = makeLocationNode({ service: Service30, layer: layer12, deps: [node36] });
104
104
 
105
- export { Service29, layer12, node31, exports_instructions3 };
105
+ export { Service30, layer12, node32, exports_instructions3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./git-5aq57b09.js";
3
+ Service41
4
+ } from "./schema-1pcpac3c.js";
5
5
  import {
6
6
  __export
7
- } from "./git-9rqn6x4v.js";
7
+ } from "./schema-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin9,
12
+ Plugin: () => Plugin14,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin9 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
25
+ const config = yield* Service41;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -90,4 +90,4 @@ var Plugin9 = define({
90
90
  })
91
91
  });
92
92
 
93
- export { Plugin9, exports_warming };
93
+ export { Plugin14, exports_warming };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-tpk8ft80.js";
3
+ } from "./schema-tdz2d0bf.js";
4
4
  import {
5
- ID15
6
- } from "./git-hc4b3kyg.js";
5
+ ID18
6
+ } from "./schema-4z6b0fg6.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID15.gitlab)
36
+ if (evt.model.providerID !== ID18.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service26,
9
+ Service: () => Service27,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service26 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service27 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service26, exports_runner };
18
+ export { DrainResult2, Service27, exports_runner };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./git-e8920g29.js";
3
+ node83
4
+ } from "./schema-c8adm2ya.js";
5
5
  import {
6
6
  Service79,
7
- node83
8
- } from "./git-7dwfb2vf.js";
7
+ node82
8
+ } from "./schema-dmeb760c.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./git-pknna89w.js";
11
+ } from "./schema-pknna89w.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/credential.ts
17
17
  var exports_credential = {};
18
18
  __export(exports_credential, {
19
19
  Credential: () => exports_credential,
20
- Event: () => Event20,
21
- ID: () => ID18,
22
- Info: () => Info32,
23
- Key: () => Key4,
20
+ Event: () => Event14,
21
+ ID: () => ID11,
22
+ Info: () => Info24,
23
+ Key: () => Key3,
24
24
  OAuth: () => OAuth3,
25
- Service: () => Service78,
25
+ Service: () => Service63,
26
26
  Value: () => Value2,
27
- node: () => node82
27
+ node: () => node65
28
28
  });
29
29
  import { asc, desc, eq } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
31
31
  import { Credential } from "@opencode-ai/schema/credential";
32
32
  import { Integration } from "@opencode-ai/schema/integration";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
34
- var ID18 = Credential.ID;
34
+ var ID11 = Credential.ID;
35
35
  var OAuth3 = Credential.OAuth;
36
- var Key4 = Credential.Key;
36
+ var Key3 = Credential.Key;
37
37
  var Value2 = Credential.Value;
38
- var Event20 = Credential.Event;
38
+ var Event14 = Credential.Event;
39
39
 
40
- class Info32 extends Schema.Class("Credential.Info")({
41
- id: ID18,
40
+ class Info24 extends Schema.Class("Credential.Info")({
41
+ id: ID11,
42
42
  integrationID: Integration.ID,
43
43
  label: Schema.String,
44
44
  value: Value2
45
45
  }) {
46
46
  }
47
47
 
48
- class Service78 extends Context.Service()("@opencode/Credential") {
48
+ class Service63 extends Context.Service()("@opencode/Credential") {
49
49
  }
50
- var layer = Layer.effect(Service78, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
51
51
  const db = (yield* Service80).db;
52
52
  const bus = yield* Service79;
53
53
  const decode = Schema.decodeUnknownSync(Value2);
54
54
  const stored = (row) => {
55
55
  if (!row.integration_id)
56
56
  return;
57
- return new Info32({
57
+ return new Info24({
58
58
  id: row.id,
59
59
  integrationID: row.integration_id,
60
60
  label: row.label,
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
65
65
  const credential = stored(row);
66
66
  return credential ? [credential] : [];
67
67
  });
68
- return Service78.of({
68
+ return Service63.of({
69
69
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
70
70
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
71
71
  get: Effect.fn("Credential.get")(function* (id) {
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
73
73
  return row ? stored(row) : undefined;
74
74
  }),
75
75
  create: Effect.fn("Credential.create")(function* (input) {
76
- const credential = new Info32({
77
- id: ID18.create(),
76
+ const credential = new Info24({
77
+ id: ID11.create(),
78
78
  integrationID: input.integrationID,
79
79
  label: input.label ?? "default",
80
80
  value: input.value
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
89
89
  active: true
90
90
  }).run();
91
91
  })).pipe(Effect.orDie);
92
- yield* bus.publish(Event20.Updated, {}, { global: true });
93
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
92
+ yield* bus.publish(Event14.Updated, {}, { global: true });
93
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
94
94
  return credential;
95
95
  }),
96
96
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
106
106
  return credential.integration_id;
107
107
  })).pipe(Effect.orDie);
108
108
  if (integrationID)
109
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
109
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
110
110
  }),
111
111
  update: Effect.fn("Credential.update")(function* (id, updates) {
112
112
  if (updates.label === undefined && updates.value === undefined)
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
118
118
  return;
119
119
  yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
120
120
  if (updates.label !== undefined && updates.label !== credential.label)
121
- yield* bus.publish(Event20.Updated, {}, { global: true });
121
+ yield* bus.publish(Event14.Updated, {}, { global: true });
122
122
  }),
123
123
  remove: Effect.fn("Credential.remove")(function* (id) {
124
124
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
142
142
  })).pipe(Effect.orDie);
143
143
  if (!removed)
144
144
  return;
145
- yield* bus.publish(Event20.Updated, {}, { global: true });
145
+ yield* bus.publish(Event14.Updated, {}, { global: true });
146
146
  if (removed.switched)
147
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
147
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
148
148
  })
149
149
  });
150
150
  }));
151
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [node84, node83] });
151
+ var node65 = makeGlobalNode({ service: Service63, layer, deps: [node83, node82] });
152
152
 
153
- export { ID18, OAuth3, Key4, Value2, Event20, Info32, Service78, node82, exports_credential };
153
+ export { ID11, OAuth3, Key3, Value2, Event14, Info24, Service63, node65, exports_credential };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./git-7dwfb2vf.js";
5
- import {
6
- Key4,
7
- Service78,
8
3
  node82
9
- } from "./git-2jk00ej8.js";
4
+ } from "./schema-dmeb760c.js";
5
+ import {
6
+ Key3,
7
+ Service63,
8
+ node65
9
+ } from "./schema-n7cf8wem.js";
10
10
  import {
11
11
  create3
12
- } from "./git-kg06axw8.js";
12
+ } from "./schema-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./git-qxs44qv5.js";
16
+ } from "./schema-b8z4k5ce.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event18,
34
- ID: () => ID16,
35
- Info: () => Info30,
33
+ Event: () => Event12,
34
+ ID: () => ID9,
35
+ Info: () => Info22,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref4,
42
- Service: () => Service76,
43
- node: () => node80
41
+ Ref: () => Ref2,
42
+ Service: () => Service60,
43
+ node: () => node62
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event18 } from "@opencode-ai/schema/integration";
65
- var ID16 = Integration.ID;
64
+ import { Event as Event12 } from "@opencode-ai/schema/integration";
65
+ var ID9 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info30 = Integration.Info;
73
+ var Info22 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref4 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service76 extends Context.Service()("@opencode/Integration") {
90
+ class Service60 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service76, Effect.gen(function* () {
96
- const credentials = yield* Service78;
95
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
96
+ const credentials = yield* Service63;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info30.make({
190
+ const project = (entry, connections) => Info22.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key4.make({ type: "key", key: exit.value })
274
+ value: Key3.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service76.of({
420
+ return Service60.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key4.make({ type: "key", key }) : undefined;
441
+ return key ? Key3.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key4.make({
474
+ value: Key3.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node80 = makeLocationNode({
569
- service: Service76,
568
+ var node62 = makeLocationNode({
569
+ service: Service60,
570
570
  layer,
571
- deps: [node82, node83, AppProcess.node]
571
+ deps: [node65, node82, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info30, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref4, Service76, node80, exports_integration, Event18 };
574
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service60, node62, exports_integration, Event12 };