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

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 (768) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{schema-ghs32kwn.js → rpc-05x7kg3x.js} +10 -10
  9. package/dist/chunks/{schema-x4r7m2ed.js → rpc-08aze5ws.js} +31 -31
  10. package/dist/chunks/{schema-zr385g01.js → rpc-0c2bm2k8.js} +46 -46
  11. package/dist/chunks/{schema-0e0xafbb.js → rpc-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{schema-5d7pjmem.js → rpc-0gxwyxn9.js} +11 -11
  13. package/dist/chunks/{schema-gb2d2dnx.js → rpc-0n8tzkkd.js} +9 -9
  14. package/dist/chunks/{schema-ptrvg6rv.js → rpc-0nsz8vzd.js} +9 -9
  15. package/dist/chunks/{schema-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{schema-k8feg6vv.js → rpc-0rag4e4f.js} +4 -4
  17. package/dist/chunks/{schema-0s9ayhjt.js → rpc-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{schema-x9k9x3cg.js → rpc-0vzfvg04.js} +8 -8
  19. package/dist/chunks/{schema-jzwyrcyp.js → rpc-11zyvh05.js} +37 -37
  20. package/dist/chunks/{schema-465hbgy4.js → rpc-13a4dv0y.js} +23 -23
  21. package/dist/chunks/{schema-m9gnqnf3.js → rpc-13wt57az.js} +165 -165
  22. package/dist/chunks/{schema-1ct4r87x.js → rpc-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{schema-a5nkh94p.js → rpc-1f1wzhgc.js} +4 -4
  24. package/dist/chunks/{schema-mcxg6pmm.js → rpc-1hyh32dx.js} +1 -1
  25. package/dist/chunks/{schema-z2hjzsqf.js → rpc-1mkf2rwt.js} +10 -10
  26. package/dist/chunks/{schema-21r38tys.js → rpc-21r38tys.js} +1 -1
  27. package/dist/chunks/{schema-2402vzrj.js → rpc-2402vzrj.js} +1 -1
  28. package/dist/chunks/{schema-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{schema-bh9tqa98.js → rpc-2bmk1p60.js} +26 -26
  30. package/dist/chunks/{schema-2ht70gj7.js → rpc-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{schema-2jqmte8w.js → rpc-2jqmte8w.js} +2 -2
  32. package/dist/chunks/{schema-e5b0qn1c.js → rpc-2kf7re16.js} +1 -1
  33. package/dist/chunks/{schema-9n0vkmbk.js → rpc-2ksdcbcj.js} +4 -4
  34. package/dist/chunks/{schema-03bnknpm.js → rpc-2pka3nkn.js} +33 -33
  35. package/dist/chunks/{schema-qteavpav.js → rpc-2ptt8nrr.js} +20 -20
  36. package/dist/chunks/{schema-49vqye4b.js → rpc-362kye7e.js} +25 -25
  37. package/dist/chunks/{schema-xewvqdfm.js → rpc-3bm3cy1r.js} +22 -22
  38. package/dist/chunks/{schema-41mncz27.js → rpc-3cm4x8pz.js} +5 -5
  39. package/dist/chunks/{schema-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
  40. package/dist/chunks/{schema-6h414ywr.js → rpc-3g2y1byn.js} +5 -5
  41. package/dist/chunks/{schema-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{schema-3qzbfqsy.js → rpc-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{schema-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{schema-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{schema-c8adm2ya.js → rpc-3wv0wb6p.js} +11 -11
  46. package/dist/chunks/{schema-hf39trxb.js → rpc-3x4vyhkr.js} +6 -6
  47. package/dist/chunks/{schema-454k5vzh.js → rpc-454k5vzh.js} +1 -1
  48. package/dist/chunks/{schema-pm8h9tzz.js → rpc-4cpnf65c.js} +31 -31
  49. package/dist/chunks/{schema-8jb23qqb.js → rpc-4f62s5at.js} +32 -32
  50. package/dist/chunks/{schema-4r2nyarf.js → rpc-4r2nyarf.js} +1 -1
  51. package/dist/chunks/{schema-mxrkvygc.js → rpc-4rkx0bt1.js} +7 -7
  52. package/dist/chunks/rpc-4v7qdvcn.js +18 -0
  53. package/dist/chunks/{schema-13henw9b.js → rpc-53rarqxp.js} +7 -7
  54. package/dist/chunks/{schema-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  55. package/dist/chunks/{schema-5fmxt4p5.js → rpc-5fmxt4p5.js} +1 -1
  56. package/dist/chunks/{schema-5jvc5tg2.js → rpc-5jvc5tg2.js} +1 -1
  57. package/dist/chunks/{schema-6e9zjh3b.js → rpc-5qvt5yk2.js} +39 -39
  58. package/dist/chunks/{schema-yzqwwj2t.js → rpc-5t5ksy9c.js} +54 -54
  59. package/dist/chunks/{schema-hz4jmg6a.js → rpc-5z2s6r3m.js} +18 -18
  60. package/dist/chunks/{schema-hmwt0jyx.js → rpc-6426t8cq.js} +26 -26
  61. package/dist/chunks/{schema-8dbsynwt.js → rpc-681pyqye.js} +4 -4
  62. package/dist/chunks/{schema-232z5d71.js → rpc-68w074am.js} +11 -11
  63. package/dist/chunks/{schema-003fsg5n.js → rpc-6es5bxv4.js} +18 -18
  64. package/dist/chunks/{schema-cwy94s7d.js → rpc-6gbhcw7b.js} +20 -20
  65. package/dist/chunks/{schema-6tf8tr4v.js → rpc-6tf8tr4v.js} +2 -2
  66. package/dist/chunks/{schema-j2823k0a.js → rpc-6yk53f3y.js} +2 -2
  67. package/dist/chunks/{schema-6z5bwd8g.js → rpc-6z5bwd8g.js} +2 -2
  68. package/dist/chunks/{schema-86gvg13r.js → rpc-6zynhbga.js} +28 -28
  69. package/dist/chunks/{schema-711hfp6y.js → rpc-711hfp6y.js} +2 -2
  70. package/dist/chunks/{schema-s3eqpch7.js → rpc-72scwqkv.js} +1 -1
  71. package/dist/chunks/{schema-rmkjmdgc.js → rpc-759pz1a2.js} +8 -8
  72. package/dist/chunks/{schema-pv4m0g3w.js → rpc-79e6z3n4.js} +10 -10
  73. package/dist/chunks/{schema-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{schema-drrwt7ne.js → rpc-7frpa3vk.js} +17 -17
  75. package/dist/chunks/{schema-by3wynxz.js → rpc-7g2wyn62.js} +26 -26
  76. package/dist/chunks/{schema-ddhdzq1z.js → rpc-7jdqkrnt.js} +22 -22
  77. package/dist/chunks/{schema-hge35dz1.js → rpc-7jykqdz2.js} +11 -11
  78. package/dist/chunks/{schema-rmy3e5eg.js → rpc-7n09dgdk.js} +3 -3
  79. package/dist/chunks/{schema-aw2k3wz6.js → rpc-7p4c7sjp.js} +68 -68
  80. package/dist/chunks/rpc-835wsdkr.js +243 -0
  81. package/dist/chunks/{schema-qp9er4j6.js → rpc-88fx4v6q.js} +19 -19
  82. package/dist/chunks/{schema-0b2z71cm.js → rpc-8a1wqn9j.js} +6 -6
  83. package/dist/chunks/{schema-f2c1rw5q.js → rpc-8enbe2zj.js} +8 -8
  84. package/dist/chunks/{schema-gra7g7yn.js → rpc-8ftyy1y4.js} +4 -4
  85. package/dist/chunks/{schema-8vvsq35t.js → rpc-8tb94gac.js} +28 -28
  86. package/dist/chunks/{schema-1bfx2f8w.js → rpc-8wp61sve.js} +15 -15
  87. package/dist/chunks/{schema-p2wtsv0s.js → rpc-8yb6ktry.js} +11 -11
  88. package/dist/chunks/{schema-xbk3bkv8.js → rpc-8zj8e59x.js} +4 -4
  89. package/dist/chunks/{schema-93a8yfjt.js → rpc-93a8yfjt.js} +2 -2
  90. package/dist/chunks/{schema-c0faa19c.js → rpc-97f5v037.js} +8 -8
  91. package/dist/chunks/{schema-604brgxe.js → rpc-9aknjvfg.js} +13 -13
  92. package/dist/chunks/{schema-885z9zv8.js → rpc-9b0zy0qp.js} +35 -35
  93. package/dist/chunks/{schema-sxx6cwa9.js → rpc-9e0xajhk.js} +13 -13
  94. package/dist/chunks/{schema-9qm9egsn.js → rpc-9qm9egsn.js} +2 -2
  95. package/dist/chunks/{schema-m68bnfyk.js → rpc-9ta1ym7w.js} +37 -37
  96. package/dist/chunks/{schema-1pcpac3c.js → rpc-9zrnh5xs.js} +45 -45
  97. package/dist/chunks/{schema-3m6r3y2t.js → rpc-a82phm85.js} +6 -6
  98. package/dist/chunks/{schema-h722e297.js → rpc-a9zfrvqc.js} +5 -5
  99. package/dist/chunks/{schema-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  100. package/dist/chunks/{schema-1b1362z0.js → rpc-aaqvfjmc.js} +289 -289
  101. package/dist/chunks/{schema-5t62h84z.js → rpc-abz7a5b3.js} +9 -9
  102. package/dist/chunks/{schema-dq1m6vbr.js → rpc-agbwq1v1.js} +12 -12
  103. package/dist/chunks/{schema-mrndz1s0.js → rpc-agypkckn.js} +23 -23
  104. package/dist/chunks/{schema-ajtjthsy.js → rpc-ajtjthsy.js} +2 -2
  105. package/dist/chunks/{schema-wxxmn71z.js → rpc-akr89kgy.js} +12 -12
  106. package/dist/chunks/{schema-g7dk7q7q.js → rpc-awvzwpe5.js} +6 -6
  107. package/dist/chunks/{schema-vfnppjq7.js → rpc-b53s1hq4.js} +11 -11
  108. package/dist/chunks/rpc-b5q5y4vk.js +4 -0
  109. package/dist/chunks/{schema-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{schema-mg9kt97e.js → rpc-b9t840km.js} +46 -46
  111. package/dist/chunks/{schema-b9wsbatv.js → rpc-b9wsbatv.js} +1 -1
  112. package/dist/chunks/{schema-thfv75je.js → rpc-bcezcar3.js} +5 -5
  113. package/dist/chunks/{schema-q2b1ymqp.js → rpc-bct739vz.js} +4 -4
  114. package/dist/chunks/{schema-jdcgdbf4.js → rpc-bpj5emke.js} +15 -15
  115. package/dist/chunks/{schema-0ez61b8c.js → rpc-bzxkbfsh.js} +2 -2
  116. package/dist/chunks/{schema-4t3td2wa.js → rpc-c45qpk7m.js} +5 -5
  117. package/dist/chunks/{schema-xqsy6kp0.js → rpc-c6p2r8tp.js} +1 -1
  118. package/dist/chunks/{schema-cr2cj2wh.js → rpc-cn4y6mk1.js} +12 -12
  119. package/dist/chunks/{schema-rgkrj14r.js → rpc-cv5vc9nm.js} +20 -20
  120. package/dist/chunks/{schema-x25z0w3c.js → rpc-cvhw1js2.js} +7 -7
  121. package/dist/chunks/{schema-mzr3jh1b.js → rpc-d2pvyrbx.js} +4 -4
  122. package/dist/chunks/{schema-j9p9k0ns.js → rpc-d54cj6d5.js} +20 -20
  123. package/dist/chunks/{schema-d72308c8.js → rpc-d72308c8.js} +2 -2
  124. package/dist/chunks/{schema-xzwtfmxp.js → rpc-d8k9asg8.js} +7 -7
  125. package/dist/chunks/{schema-89b63vz0.js → rpc-d910tjb6.js} +9 -9
  126. package/dist/chunks/{schema-v1tf4pqw.js → rpc-dkxcwvcg.js} +9 -9
  127. package/dist/chunks/{schema-7b58fdzm.js → rpc-dkzv161j.js} +39 -39
  128. package/dist/chunks/{schema-k6j9nnzb.js → rpc-dnn1mfa9.js} +10 -10
  129. package/dist/chunks/{schema-14hmenm3.js → rpc-dw3xrg89.js} +3 -3
  130. package/dist/chunks/{schema-aqe02c8d.js → rpc-dw7nx357.js} +28 -28
  131. package/dist/chunks/{schema-gpf623h2.js → rpc-dyjhg8hd.js} +26 -26
  132. package/dist/chunks/{schema-0wexhrg6.js → rpc-e0c61twq.js} +22 -22
  133. package/dist/chunks/{schema-7cxbprz9.js → rpc-e11tpvzs.js} +9 -9
  134. package/dist/chunks/{schema-wq3pj38h.js → rpc-e3gwwck0.js} +11 -11
  135. package/dist/chunks/{schema-6gdw6h0x.js → rpc-e5e2w1y3.js} +17 -17
  136. package/dist/chunks/{schema-71gdr5b1.js → rpc-ecj1d35v.js} +8 -8
  137. package/dist/chunks/{schema-8gwm888c.js → rpc-edyt7veh.js} +14 -14
  138. package/dist/chunks/{schema-jnkr0b22.js → rpc-eq7n8p4e.js} +10 -10
  139. package/dist/chunks/{schema-d33d0znm.js → rpc-esmjj44a.js} +9 -9
  140. package/dist/chunks/{schema-n7cf8wem.js → rpc-ex26y97c.js} +31 -31
  141. package/dist/chunks/{schema-5sg4xzjf.js → rpc-ez5b8bq3.js} +7 -7
  142. package/dist/chunks/{schema-m8y7v2t2.js → rpc-f8qtv88y.js} +10 -10
  143. package/dist/chunks/{schema-1twm75cg.js → rpc-f9kjby5r.js} +7 -7
  144. package/dist/chunks/{schema-ptakx6pw.js → rpc-fcbhp7q1.js} +18 -18
  145. package/dist/chunks/{schema-607tc6va.js → rpc-fcrkznn8.js} +5 -5
  146. package/dist/chunks/{schema-xb7ts4ht.js → rpc-fdybstan.js} +17 -17
  147. package/dist/chunks/{schema-1c9254mw.js → rpc-fjhz18m3.js} +22 -22
  148. package/dist/chunks/{schema-npjjgcke.js → rpc-fmxyf492.js} +27 -27
  149. package/dist/chunks/{schema-y5e1a3sd.js → rpc-fqae1sy2.js} +4 -4
  150. package/dist/chunks/{schema-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{schema-fxypknc8.js → rpc-fxypknc8.js} +1 -1
  152. package/dist/chunks/{schema-e8zea55p.js → rpc-g0z069dn.js} +5 -5
  153. package/dist/chunks/{schema-na32d9q8.js → rpc-g9hcz8g4.js} +3 -3
  154. package/dist/chunks/{schema-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{schema-dn5rar9h.js → rpc-gm9r9zqf.js} +18 -18
  156. package/dist/chunks/{schema-31jaghp0.js → rpc-gn28t5xn.js} +14 -14
  157. package/dist/chunks/{schema-wgxn7ww3.js → rpc-gqzvtz8d.js} +4 -4
  158. package/dist/chunks/{schema-6t6jdtfj.js → rpc-gvj0n0b8.js} +43 -43
  159. package/dist/chunks/{schema-j5208yae.js → rpc-gzbkpp9m.js} +4 -4
  160. package/dist/chunks/{schema-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{schema-tdz2d0bf.js → rpc-havr56k6.js} +11 -11
  162. package/dist/chunks/{schema-heyhwy2w.js → rpc-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{schema-ek47zmt8.js → rpc-hkfdkmkj.js} +16 -16
  164. package/dist/chunks/{schema-3bxg9k4v.js → rpc-hky6zsj8.js} +4 -4
  165. package/dist/chunks/{schema-1a62n4b4.js → rpc-hm8am6ct.js} +8 -8
  166. package/dist/chunks/{schema-hrvm11jt.js → rpc-hrvm11jt.js} +3 -3
  167. package/dist/chunks/{schema-0czjyq8r.js → rpc-hskdg1tj.js} +20 -20
  168. package/dist/chunks/{schema-hw4pv20g.js → rpc-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{schema-84615681.js → rpc-j1g84fdq.js} +28 -28
  170. package/dist/chunks/{schema-0vj1jrz2.js → rpc-j4wxjfwy.js} +28 -28
  171. package/dist/chunks/{schema-gyt4m0mz.js → rpc-jg1vwa91.js} +13 -13
  172. package/dist/chunks/{schema-n3jkd22a.js → rpc-jj3qxa52.js} +4 -4
  173. package/dist/chunks/{schema-ddqrdvz9.js → rpc-jj9xsyb9.js} +13 -13
  174. package/dist/chunks/{schema-pq59jms5.js → rpc-jjtztttc.js} +14 -14
  175. package/dist/chunks/{schema-tzfkbvz2.js → rpc-jpnc116f.js} +3 -3
  176. package/dist/chunks/{schema-f0nz223j.js → rpc-jwcy2c2z.js} +4 -4
  177. package/dist/chunks/{schema-a2qpghxp.js → rpc-k1a72sje.js} +24 -24
  178. package/dist/chunks/{schema-0wmajvd3.js → rpc-k3fb46c0.js} +17 -17
  179. package/dist/chunks/{schema-k4bwy1x5.js → rpc-k4bwy1x5.js} +1 -1
  180. package/dist/chunks/{schema-bhpqzk3s.js → rpc-k6sj68zp.js} +7 -7
  181. package/dist/chunks/{schema-arkd3wpw.js → rpc-kejw0t4e.js} +5 -5
  182. package/dist/chunks/{schema-embxdc05.js → rpc-kexr6zkj.js} +17 -17
  183. package/dist/chunks/{schema-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  184. package/dist/chunks/{schema-47hx03vq.js → rpc-kpzf6j9d.js} +10 -10
  185. package/dist/chunks/{schema-fcxqfnez.js → rpc-krmx2xyr.js} +41 -41
  186. package/dist/chunks/{schema-93zj7k35.js → rpc-kyb8p98y.js} +31 -31
  187. package/dist/chunks/{schema-n9mbvtnm.js → rpc-m4673ea2.js} +31 -31
  188. package/dist/chunks/{schema-r80rqf00.js → rpc-m51pq2yd.js} +6 -6
  189. package/dist/chunks/{schema-f1kgb3zy.js → rpc-m6v4gpqz.js} +11 -11
  190. package/dist/chunks/{schema-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{schema-19e0cjgc.js → rpc-mafy3fh7.js} +18 -18
  192. package/dist/chunks/{schema-mhkvc446.js → rpc-mhkvc446.js} +1 -1
  193. package/dist/chunks/{schema-25x8afv5.js → rpc-mke2843p.js} +22 -22
  194. package/dist/chunks/{schema-ykcesz1b.js → rpc-mpbw7sv7.js} +4 -4
  195. package/dist/chunks/{schema-8z1zv58q.js → rpc-mq8dv1hp.js} +23 -23
  196. package/dist/chunks/{schema-gxf68msc.js → rpc-mzsb370n.js} +7 -7
  197. package/dist/chunks/{schema-hr5qjpq8.js → rpc-nrz5c8c1.js} +9 -9
  198. package/dist/chunks/{schema-cqg8v4c7.js → rpc-p0b4ytnr.js} +6 -6
  199. package/dist/chunks/{schema-51607pcx.js → rpc-pb1tcd0x.js} +34 -34
  200. package/dist/chunks/{schema-vsr56sgz.js → rpc-pbv7m5sr.js} +3 -3
  201. package/dist/chunks/{schema-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{schema-a38ny1e6.js → rpc-pkkvpc61.js} +16 -16
  203. package/dist/chunks/{schema-pknna89w.js → rpc-pknna89w.js} +1 -1
  204. package/dist/chunks/{schema-dwag0pt8.js → rpc-q3hv2sj9.js} +53 -53
  205. package/dist/chunks/{schema-wnae6eaa.js → rpc-q485ymv2.js} +86 -86
  206. package/dist/chunks/{schema-kqh4e8mv.js → rpc-q55daa19.js} +11 -11
  207. package/dist/chunks/{schema-ky34zdc2.js → rpc-q58618g1.js} +81 -81
  208. package/dist/chunks/{schema-d216944b.js → rpc-qa3qhgw8.js} +7 -7
  209. package/dist/chunks/{schema-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  210. package/dist/chunks/{schema-5ymv3zps.js → rpc-qw4tavyr.js} +10 -10
  211. package/dist/chunks/{schema-6z0cx0hp.js → rpc-r05hg6dq.js} +5 -5
  212. package/dist/chunks/{schema-ty1azyrs.js → rpc-r6p8n554.js} +14 -14
  213. package/dist/chunks/{schema-r8dhm0tv.js → rpc-r8dhm0tv.js} +1 -1
  214. package/dist/chunks/{schema-k4wm54be.js → rpc-rde9wvyt.js} +11 -11
  215. package/dist/chunks/{schema-g41n1fn3.js → rpc-re7ze2ma.js} +5 -5
  216. package/dist/chunks/{schema-zv0fedm2.js → rpc-rp7g6xwr.js} +11 -11
  217. package/dist/chunks/{schema-z0vc91aj.js → rpc-rrq6kz97.js} +36 -36
  218. package/dist/chunks/{schema-p325kmej.js → rpc-rvn46zq7.js} +9 -9
  219. package/dist/chunks/{schema-sba4qhjf.js → rpc-sba4qhjf.js} +1 -1
  220. package/dist/chunks/{schema-zpensxqb.js → rpc-sj09nt66.js} +17 -17
  221. package/dist/chunks/{schema-g77vssk4.js → rpc-sp67jf0a.js} +3 -3
  222. package/dist/chunks/{schema-bz9tscha.js → rpc-sqqtc4xq.js} +11 -11
  223. package/dist/chunks/{schema-5xry5f48.js → rpc-sygak18j.js} +13 -13
  224. package/dist/chunks/{schema-9ynjk36a.js → rpc-t28cy6st.js} +16 -16
  225. package/dist/chunks/{schema-4z6b0fg6.js → rpc-t53mj6v6.js} +6 -6
  226. package/dist/chunks/{schema-cmzeyqty.js → rpc-t6f6dd4d.js} +13 -13
  227. package/dist/chunks/{schema-b44wx9et.js → rpc-t789mvnh.js} +36 -36
  228. package/dist/chunks/{schema-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{schema-89znhe33.js → rpc-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{schema-erdqw2zp.js → rpc-tcqnna6w.js} +15 -15
  231. package/dist/chunks/{schema-tjykrgmx.js → rpc-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{schema-bxb1xesv.js → rpc-trt6hbzz.js} +4 -4
  233. package/dist/chunks/{schema-1rs9f67k.js → rpc-tv79vecj.js} +13 -13
  234. package/dist/chunks/{schema-wbypftda.js → rpc-txppa427.js} +16 -16
  235. package/dist/chunks/{schema-b8z4k5ce.js → rpc-v0sae4m8.js} +25 -25
  236. package/dist/chunks/{schema-fqsas06y.js → rpc-v550zfzq.js} +26 -26
  237. package/dist/chunks/{schema-x4q3fes7.js → rpc-v6ym2mbm.js} +29 -29
  238. package/dist/chunks/{schema-1qm36p24.js → rpc-vg1f7981.js} +6 -6
  239. package/dist/chunks/{schema-04y4kq5h.js → rpc-vg7vz8a0.js} +18 -18
  240. package/dist/chunks/{schema-zk8c4w5t.js → rpc-vrpz8t5t.js} +5 -5
  241. package/dist/chunks/{schema-hzecryb5.js → rpc-vv86pfn4.js} +12 -12
  242. package/dist/chunks/{schema-03r09nmf.js → rpc-vvn5h3hg.js} +11 -11
  243. package/dist/chunks/{schema-cv9nfd2x.js → rpc-vz05mr0w.js} +9 -9
  244. package/dist/chunks/{schema-g3drbzg8.js → rpc-w09bvaae.js} +47 -47
  245. package/dist/chunks/{schema-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{schema-dmeb760c.js → rpc-w55q2m1g.js} +11 -11
  247. package/dist/chunks/{schema-yg7c986n.js → rpc-w6k1qeax.js} +24 -24
  248. package/dist/chunks/{schema-fqjmww7h.js → rpc-w8h6fvwh.js} +2 -2
  249. package/dist/chunks/{schema-wd87259q.js → rpc-wd87259q.js} +1 -1
  250. package/dist/chunks/{schema-tmxfds8c.js → rpc-wjdvdpz4.js} +9 -9
  251. package/dist/chunks/{schema-etv9h02v.js → rpc-wnwn53rt.js} +8 -8
  252. package/dist/chunks/{schema-86s3977f.js → rpc-wta8nv8e.js} +1 -1
  253. package/dist/chunks/{schema-gsh994c1.js → rpc-wtm3m4mv.js} +4 -4
  254. package/dist/chunks/{schema-kxmdptat.js → rpc-wy3a9ktx.js} +6 -6
  255. package/dist/chunks/{schema-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{schema-dx71f7x8.js → rpc-x64q5xrw.js} +1 -1
  257. package/dist/chunks/{schema-fgsnpp9b.js → rpc-xdqwr4d8.js} +6 -6
  258. package/dist/chunks/{schema-h0171c2t.js → rpc-xgjn1vmq.js} +25 -25
  259. package/dist/chunks/{schema-xh4mehyn.js → rpc-xw7hdwrj.js} +27 -27
  260. package/dist/chunks/{schema-ar126axr.js → rpc-y092mk2a.js} +6 -6
  261. package/dist/chunks/{schema-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{schema-nz06j3y4.js → rpc-y1wkrapf.js} +32 -32
  263. package/dist/chunks/{schema-3b8x608h.js → rpc-y3xxj3sg.js} +11 -11
  264. package/dist/chunks/{schema-q8pp2sp9.js → rpc-ydwy5z2b.js} +46 -46
  265. package/dist/chunks/{schema-yfbd16n1.js → rpc-yfbd16n1.js} +2 -2
  266. package/dist/chunks/{schema-gcs6fwp7.js → rpc-ygw4aaat.js} +26 -26
  267. package/dist/chunks/{schema-cvtn0ena.js → rpc-yq5tbn9k.js} +17 -17
  268. package/dist/chunks/{schema-ksgctcgv.js → rpc-yrydy187.js} +14 -14
  269. package/dist/chunks/{schema-ghvd297g.js → rpc-yvsdtapc.js} +17 -17
  270. package/dist/chunks/{schema-3wfq9j39.js → rpc-ywpw23hy.js} +12 -12
  271. package/dist/chunks/{schema-wb48nz2p.js → rpc-ywszqpxp.js} +9 -9
  272. package/dist/chunks/{schema-z1k01bn4.js → rpc-z1k01bn4.js} +2 -2
  273. package/dist/chunks/{schema-zn2pq4p8.js → rpc-z2zzq6cg.js} +5 -5
  274. package/dist/chunks/{schema-vep9yay1.js → rpc-z3xgatyd.js} +4 -4
  275. package/dist/chunks/{schema-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  276. package/dist/chunks/{schema-sr8h0x87.js → rpc-zjhjw14a.js} +28 -28
  277. package/dist/chunks/{schema-vns5fd4r.js → rpc-zq9fnn7x.js} +11 -11
  278. package/dist/chunks/{schema-qvvp9gqp.js → rpc-zt79yd0y.js} +8 -8
  279. package/dist/chunks/{schema-6wvc17bv.js → rpc-ztb7vdkc.js} +20 -20
  280. package/dist/chunks/{schema-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  281. package/dist/chunks/{schema-bd8qc9hq.js → rpc-zy59706a.js} +8 -8
  282. package/dist/codemode/catalog.js +3 -3
  283. package/dist/codemode/instructions.js +7 -7
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +81 -81
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +114 -114
  290. package/dist/config/plugin/command.js +205 -205
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +123 -123
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +82 -82
  313. package/dist/database/database.js +70 -70
  314. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  315. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +15 -15
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +16 -16
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +3 -3
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +88 -88
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +70 -70
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +2 -2
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +88 -88
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +5 -5
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +5 -5
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +75 -75
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +69 -69
  453. package/dist/location-activity.js +84 -84
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +82 -82
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +104 -104
  460. package/dist/mcp/instructions.js +120 -120
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +8 -8
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +80 -80
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +80 -80
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +96 -96
  478. package/dist/plugin/command.js +93 -93
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +208 -208
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +114 -114
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +72 -72
  525. package/dist/plugin/service.js +3 -3
  526. package/dist/plugin/skill.js +129 -129
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +80 -80
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +2 -2
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +217 -217
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +83 -83
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +94 -94
  550. package/dist/reference/instructions.js +82 -82
  551. package/dist/reference.js +86 -86
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +91 -91
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +3 -3
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +215 -215
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +82 -82
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +2 -2
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +165 -165
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +211 -211
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +209 -209
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +9 -9
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +99 -99
  612. package/dist/skill.js +102 -102
  613. package/dist/snapshot.js +84 -84
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +110 -110
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +95 -95
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +206 -206
  629. package/dist/tool/plugin/webfetch.js +104 -104
  630. package/dist/tool/plugin/websearch.js +102 -102
  631. package/dist/tool/plugin/write.js +116 -116
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +5 -5
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +3 -3
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +80 -80
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +77 -77
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +5 -5
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +86 -86
  672. package/package.json +7 -7
  673. package/dist/chunks/schema-7zk4hah4.js +0 -4
  674. package/dist/chunks/schema-q509s3k3.js +0 -18
  675. package/dist/chunks/schema-tcjeexqf.js +0 -243
  676. /package/dist/chunks/{schema-0fabt78z.js → rpc-0fabt78z.js} +0 -0
  677. /package/dist/chunks/{schema-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  678. /package/dist/chunks/{schema-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  679. /package/dist/chunks/{schema-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  680. /package/dist/chunks/{schema-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  681. /package/dist/chunks/{schema-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  682. /package/dist/chunks/{schema-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  683. /package/dist/chunks/{schema-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  684. /package/dist/chunks/{schema-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  685. /package/dist/chunks/{schema-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  686. /package/dist/chunks/{schema-3asan66x.js → rpc-3asan66x.js} +0 -0
  687. /package/dist/chunks/{schema-3t738kvx.js → rpc-3t738kvx.js} +0 -0
  688. /package/dist/chunks/{schema-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  689. /package/dist/chunks/{schema-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  690. /package/dist/chunks/{schema-41nvscxy.js → rpc-41nvscxy.js} +0 -0
  691. /package/dist/chunks/{schema-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  692. /package/dist/chunks/{schema-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  693. /package/dist/chunks/{schema-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  694. /package/dist/chunks/{schema-53557ph1.js → rpc-53557ph1.js} +0 -0
  695. /package/dist/chunks/{schema-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  696. /package/dist/chunks/{schema-6prwharc.js → rpc-6prwharc.js} +0 -0
  697. /package/dist/chunks/{schema-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  698. /package/dist/chunks/{schema-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  699. /package/dist/chunks/{schema-822emrt2.js → rpc-822emrt2.js} +0 -0
  700. /package/dist/chunks/{schema-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  701. /package/dist/chunks/{schema-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  702. /package/dist/chunks/{schema-982e01ww.js → rpc-982e01ww.js} +0 -0
  703. /package/dist/chunks/{schema-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  704. /package/dist/chunks/{schema-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  705. /package/dist/chunks/{schema-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
  706. /package/dist/chunks/{schema-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  707. /package/dist/chunks/{schema-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  708. /package/dist/chunks/{schema-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  709. /package/dist/chunks/{schema-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  710. /package/dist/chunks/{schema-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  711. /package/dist/chunks/{schema-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  712. /package/dist/chunks/{schema-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  713. /package/dist/chunks/{schema-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  714. /package/dist/chunks/{schema-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  715. /package/dist/chunks/{schema-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  716. /package/dist/chunks/{schema-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  717. /package/dist/chunks/{schema-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  718. /package/dist/chunks/{schema-df08tz66.js → rpc-df08tz66.js} +0 -0
  719. /package/dist/chunks/{schema-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  720. /package/dist/chunks/{schema-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  721. /package/dist/chunks/{schema-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  722. /package/dist/chunks/{schema-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  723. /package/dist/chunks/{schema-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  724. /package/dist/chunks/{schema-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  725. /package/dist/chunks/{schema-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  726. /package/dist/chunks/{schema-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  727. /package/dist/chunks/{schema-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  728. /package/dist/chunks/{schema-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  729. /package/dist/chunks/{schema-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  730. /package/dist/chunks/{schema-g86h250q.js → rpc-g86h250q.js} +0 -0
  731. /package/dist/chunks/{schema-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  732. /package/dist/chunks/{schema-hk9envan.js → rpc-hk9envan.js} +0 -0
  733. /package/dist/chunks/{schema-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  734. /package/dist/chunks/{schema-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  735. /package/dist/chunks/{schema-j935v87r.js → rpc-j935v87r.js} +0 -0
  736. /package/dist/chunks/{schema-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  737. /package/dist/chunks/{schema-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  738. /package/dist/chunks/{schema-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  739. /package/dist/chunks/{schema-mntxs535.js → rpc-mntxs535.js} +0 -0
  740. /package/dist/chunks/{schema-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  741. /package/dist/chunks/{schema-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  742. /package/dist/chunks/{schema-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  743. /package/dist/chunks/{schema-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  744. /package/dist/chunks/{schema-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  745. /package/dist/chunks/{schema-p8qxwesx.js → rpc-p8qxwesx.js} +0 -0
  746. /package/dist/chunks/{schema-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  747. /package/dist/chunks/{schema-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  748. /package/dist/chunks/{schema-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  749. /package/dist/chunks/{schema-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  750. /package/dist/chunks/{schema-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  751. /package/dist/chunks/{schema-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  752. /package/dist/chunks/{schema-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  753. /package/dist/chunks/{schema-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  754. /package/dist/chunks/{schema-se0s1eqw.js → rpc-se0s1eqw.js} +0 -0
  755. /package/dist/chunks/{schema-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  756. /package/dist/chunks/{schema-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  757. /package/dist/chunks/{schema-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  758. /package/dist/chunks/{schema-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  759. /package/dist/chunks/{schema-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  760. /package/dist/chunks/{schema-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  761. /package/dist/chunks/{schema-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  762. /package/dist/chunks/{schema-x1b8g1yb.js → rpc-x1b8g1yb.js} +0 -0
  763. /package/dist/chunks/{schema-x61499pn.js → rpc-x61499pn.js} +0 -0
  764. /package/dist/chunks/{schema-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  765. /package/dist/chunks/{schema-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  766. /package/dist/chunks/{schema-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  767. /package/dist/chunks/{schema-z9919s4g.js → rpc-z9919s4g.js} +0 -0
  768. /package/dist/chunks/{schema-zbjnn3ac.js → rpc-zbjnn3ac.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID18,
2
+ ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./schema-4z6b0fg6.js";
5
+ } from "./rpc-t53mj6v6.js";
6
6
  import {
7
- ID17,
7
+ ID13,
8
8
  VariantID2,
9
9
  Family2,
10
- Info31
11
- } from "./schema-3wfq9j39.js";
10
+ Info28
11
+ } from "./rpc-ywpw23hy.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./rpc-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID17.make(id);
90
+ const key = ID13.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info31.make({
115
- ...Info31.default(ID18.githubCopilot, id),
114
+ return Info28.make({
115
+ ...Info28.default(ID14.githubCopilot, id),
116
116
  id,
117
- modelID: ID17.make(remote.id),
118
- providerID: ID18.githubCopilot,
117
+ modelID: ID13.make(remote.id),
118
+ providerID: ID14.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./schema-emrn6kk6.js";
7
+ } from "./rpc-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
- node83
4
- } from "./schema-c8adm2ya.js";
3
+ node84
4
+ } from "./rpc-3wv0wb6p.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make19,
8
+ make20,
9
9
  combine2
10
- } from "./schema-c0faa19c.js";
10
+ } from "./rpc-97f5v037.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./schema-hrvm11jt.js";
13
+ } from "./rpc-hrvm11jt.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info7,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service21,
25
+ Service: () => Service28,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node25,
29
+ node: () => node31,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info7 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service21 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service28 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
65
- key: Key4.make(`api/${entry.key}`),
64
+ var source = (entry) => make20({
65
+ key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service21, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service21.of({ list, put, remove, load });
111
+ return Service28.of({ list, put, remove, load });
112
112
  }));
113
- var node25 = makeLocationNode({ service: Service21, layer, deps: [node83] });
113
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node84] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
115
+ export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node31, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./schema-qaymkmh1.js";
3
+ } from "./rpc-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./schema-88xbtdfr.js";
3
+ } from "./rpc-88xbtdfr.js";
4
4
  import {
5
5
  load3
6
- } from "./schema-j935v87r.js";
6
+ } from "./rpc-j935v87r.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./rpc-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event5,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options6,
17
- Service: () => Service42,
16
+ Options: () => Options9,
17
+ Service: () => Service55,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node44,
25
+ node: () => node58,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event5 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load3());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options6 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service42 extends Context.Service()("@opencode/Watcher") {
60
+ class Service55 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service42.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service42.of({ subscribe });
108
+ return Service55.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service42).subscribe,
134
+ subscribe: Context.get(context, Service55).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service42, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured5(options) {
168
- return makeGlobalNode({ service: Service42, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service55, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node44 = configured5();
170
+ var node58 = configured10();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event5, hasNativeBinding2, Native3, Options6, Service42, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured5, node44, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options9, Service55, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured10, node58, exports_watcher };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./schema-0paq2nw3.js";
4
+ } from "./rpc-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./schema-4z6b0fg6.js";
7
+ } from "./rpc-t53mj6v6.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./schema-3wfq9j39.js";
11
+ } from "./rpc-ywpw23hy.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./rpc-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./schema-2a5m3afh.js";
6
+ } from "./rpc-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./schema-z1k01bn4.js";
9
+ } from "./rpc-z1k01bn4.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./schema-b6gygkdw.js";
12
+ } from "./rpc-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./schema-aaet6srn.js";
15
+ } from "./rpc-aaet6srn.js";
16
16
  import {
17
- Service70,
17
+ Service69,
18
18
  node73
19
- } from "./schema-pq59jms5.js";
19
+ } from "./rpc-jjtztttc.js";
20
20
  import {
21
- Service69,
22
- node71
23
- } from "./schema-xh4mehyn.js";
21
+ Service62,
22
+ node65
23
+ } from "./rpc-xw7hdwrj.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./rpc-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service68,
33
- node: () => node70
32
+ Service: () => Service61,
33
+ node: () => node64
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service68,
46
+ Service: () => Service61,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node70,
52
+ node: () => node64,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service68 extends Context.Service()("@opencode/Environment") {
61
+ class Service61 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service68, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service70;
66
- const workspace = yield* Service69;
65
+ const location = yield* Service69;
66
+ const workspace = yield* Service62;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service61.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node70 = makeLocationNode({
71
- service: Service68,
70
+ var node64 = makeLocationNode({
71
+ service: Service61,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node73, node71]
73
+ deps: [CrossSpawnSpawner.node, node73, node65]
74
74
  });
75
75
 
76
- export { Service68, node70, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service61, node64, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80,
3
- node83
4
- } from "./schema-c8adm2ya.js";
3
+ node84
4
+ } from "./rpc-3wv0wb6p.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./schema-3hepkmqq.js";
7
+ } from "./rpc-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
16
  Service: () => Service78,
17
- node: () => node81
17
+ node: () => node82
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node81 = makeGlobalNode({ service: Service78, layer, deps: [node83] });
54
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node84] });
55
55
 
56
- export { Service78, node81, exports_kv };
56
+ export { Service78, node82, exports_kv };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-p8qxwesx.js";
3
+ } from "./rpc-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service5,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node6
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service5, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service5.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service5, node6, exports_discovery };
155
+ export { Service10, node12, exports_discovery };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry2,
11
- Info: () => Info12,
10
+ Entry: () => Entry4,
11
+ Info: () => Info19,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry2 = Schema.Union([
19
+ var Entry4 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
82
+ var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info12, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service79,
3
- node82
4
- } from "./schema-dmeb760c.js";
3
+ node83
4
+ } from "./rpc-w55q2m1g.js";
5
5
  import {
6
- Service70,
6
+ Service69,
7
7
  node73
8
- } from "./schema-pq59jms5.js";
8
+ } from "./rpc-jjtztttc.js";
9
9
  import {
10
- ID2
11
- } from "./schema-7zk4hah4.js";
10
+ ID3
11
+ } from "./rpc-b5q5y4vk.js";
12
12
  import {
13
- Service43,
13
+ Service51,
14
14
  login2,
15
- node45
16
- } from "./schema-5xry5f48.js";
15
+ node53
16
+ } from "./rpc-sygak18j.js";
17
17
  import {
18
18
  lazy2
19
- } from "./schema-88xbtdfr.js";
19
+ } from "./rpc-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./schema-9rqn6x4v.js";
22
+ } from "./rpc-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event2,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event5,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info2,
31
- NotFoundError: () => NotFoundError2,
30
+ Info: () => Info5,
31
+ NotFoundError: () => NotFoundError3,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service13,
33
+ Service: () => Service19,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node15
35
+ node: () => node22
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event2 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event5 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info2 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info5 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
48
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID3
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID3
55
55
  }) {
56
56
  }
57
57
 
58
- class Service13 extends Context.Service()("@opencode/Pty") {
58
+ class Service19 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service13, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service70;
63
- const shell = yield* Service43;
62
+ const location = yield* Service69;
63
+ const shell = yield* Service51;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError2({ ptyID: id });
100
+ return yield* new NotFoundError3({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID3.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service13.of({ list, get, create, update, remove, write, attach });
271
+ return Service19.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node15 = makeLocationNode({
274
- service: Service13,
273
+ var node22 = makeLocationNode({
274
+ service: Service19,
275
275
  layer,
276
- deps: [node82, node73, node45]
276
+ deps: [node83, node73, node53]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event5 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./schema-4z6b0fg6.js";
4
+ } from "./rpc-t53mj6v6.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
8
8
  import { define } from "@opencode-ai/plugin/effect/plugin";
9
- var AnthropicPlugin3 = define({
9
+ var AnthropicPlugin2 = define({
10
10
  id: "opencode.provider.anthropic",
11
11
  effect: Effect.fn(function* (ctx) {
12
12
  yield* ctx.catalog.transform((evt) => {
@@ -32,4 +32,4 @@ var AnthropicPlugin3 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { AnthropicPlugin3 };
35
+ export { AnthropicPlugin2 };