@opencode/core 0.0.0-dev-1223 → 0.0.0-dev-1227

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 (905) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +258 -258
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{git-knrz8ycq.js → reference-00x9nxmm.js} +12 -12
  9. package/dist/chunks/{git-aj7mw0zk.js → reference-034tev2y.js} +2 -2
  10. package/dist/chunks/{git-t9k35srm.js → reference-09ngjya1.js} +31 -31
  11. package/dist/chunks/{git-3g5s031x.js → reference-0j3qq2xk.js} +20 -20
  12. package/dist/chunks/{git-0ma9gw4f.js → reference-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{git-963hk181.js → reference-0mtp185z.js} +9 -9
  14. package/dist/chunks/{git-vx3a5fa6.js → reference-0r738390.js} +14 -14
  15. package/dist/chunks/{git-e03kwr55.js → reference-0t8eajta.js} +5 -5
  16. package/dist/chunks/{git-7hwccpjh.js → reference-0vaeebmy.js} +11 -11
  17. package/dist/chunks/{git-4wv1s11g.js → reference-0wm0n0xa.js} +28 -28
  18. package/dist/chunks/{git-anbh857n.js → reference-16zjadfb.js} +24 -24
  19. package/dist/chunks/{git-bg52gzq1.js → reference-17d9a00f.js} +11 -11
  20. package/dist/chunks/{git-1aqsckx4.js → reference-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{git-1aryjtsy.js → reference-1aryjtsy.js} +1 -1
  22. package/dist/chunks/{git-2y2krfya.js → reference-1ccrn5h8.js} +15 -15
  23. package/dist/chunks/{git-27w5k9zf.js → reference-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{git-gkyscxyz.js → reference-1f01wfzy.js} +18 -18
  25. package/dist/chunks/{git-g0d7bqrr.js → reference-1gjdyty6.js} +44 -44
  26. package/dist/chunks/{git-6cp3kha5.js → reference-1hmw8kw3.js} +36 -36
  27. package/dist/chunks/{git-tdp52y1e.js → reference-1je8666a.js} +14 -14
  28. package/dist/chunks/{git-da2xa1q4.js → reference-1kvdd2n1.js} +15 -15
  29. package/dist/chunks/{git-z4swdns5.js → reference-1kxe4gbj.js} +23 -23
  30. package/dist/chunks/{git-y57pp9q1.js → reference-1nq01p01.js} +11 -11
  31. package/dist/chunks/{git-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{git-rxbzpr8y.js → reference-1xmrjm0c.js} +6 -6
  33. package/dist/chunks/{git-1yq9hg58.js → reference-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{git-wzfa06mn.js → reference-20pht57w.js} +4 -4
  35. package/dist/chunks/{git-etrnj9s7.js → reference-233argac.js} +6 -6
  36. package/dist/chunks/{git-cz2j28sw.js → reference-2704n80x.js} +31 -31
  37. package/dist/chunks/{git-fcrts5pp.js → reference-27nrmy7e.js} +5 -5
  38. package/dist/chunks/{git-nn2nd58t.js → reference-2bswbpgz.js} +7 -7
  39. package/dist/chunks/{git-g4txs7zc.js → reference-2bxvk2a8.js} +7 -7
  40. package/dist/chunks/{git-sd17xx9y.js → reference-2ee5hqyt.js} +5 -5
  41. package/dist/chunks/{git-2fc7eemy.js → reference-2fc7eemy.js} +1 -1
  42. package/dist/chunks/{git-e45fk36t.js → reference-2mbjfaxd.js} +4 -4
  43. package/dist/chunks/{git-2prt43t7.js → reference-2prt43t7.js} +1 -1
  44. package/dist/chunks/{git-jxd6f16v.js → reference-2r1es908.js} +4 -4
  45. package/dist/chunks/{git-w75qynz4.js → reference-2s9mae96.js} +3 -3
  46. package/dist/chunks/{git-n7wqeypp.js → reference-2zacwa4s.js} +8 -8
  47. package/dist/chunks/{git-am27nvrp.js → reference-3f4qe3yz.js} +11 -11
  48. package/dist/chunks/{git-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{git-btnkw9ag.js → reference-3jymkt4s.js} +4 -4
  50. package/dist/chunks/{git-c9r3tfb9.js → reference-3mcdachx.js} +12 -12
  51. package/dist/chunks/{git-aeevvyey.js → reference-3p6av0db.js} +8 -8
  52. package/dist/chunks/{git-tmh3qpwq.js → reference-3q1p764d.js} +36 -36
  53. package/dist/chunks/{git-ns24zjwb.js → reference-3qv222pb.js} +2 -2
  54. package/dist/chunks/{git-qjbww75s.js → reference-40kmrxas.js} +10 -10
  55. package/dist/chunks/{git-40y6dtc2.js → reference-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{git-jj2g5vfa.js → reference-41rah55s.js} +14 -14
  57. package/dist/chunks/{git-nav3xsn5.js → reference-431jqdx5.js} +33 -33
  58. package/dist/chunks/{git-2eepz9hk.js → reference-43cbgt7g.js} +4 -4
  59. package/dist/chunks/{git-w33a4qaj.js → reference-43yex2p1.js} +21 -21
  60. package/dist/chunks/reference-47mgcevd.js +18 -0
  61. package/dist/chunks/{git-n5v1c3p9.js → reference-49x8v4p2.js} +18 -18
  62. package/dist/chunks/{git-40h80fdn.js → reference-49xw20nn.js} +75 -75
  63. package/dist/chunks/{git-g8b6gw0d.js → reference-4c0ptt36.js} +3 -3
  64. package/dist/chunks/{git-4dx1dgte.js → reference-4dx1dgte.js} +1 -1
  65. package/dist/chunks/{git-4f25tdd0.js → reference-4f25tdd0.js} +1 -1
  66. package/dist/chunks/{git-az7rebdf.js → reference-4kad5sby.js} +7 -7
  67. package/dist/chunks/{git-y4n6pw34.js → reference-4pw98qd4.js} +4 -4
  68. package/dist/chunks/{git-4pyp9zr9.js → reference-4pyp9zr9.js} +1 -1
  69. package/dist/chunks/{git-wvx2stnh.js → reference-4qe4fvz4.js} +18 -18
  70. package/dist/chunks/{git-4v008n1t.js → reference-4v008n1t.js} +1 -1
  71. package/dist/chunks/{git-ebe0k50x.js → reference-4z4z3m1h.js} +15 -15
  72. package/dist/chunks/{git-5gxje712.js → reference-5263gw2c.js} +22 -22
  73. package/dist/chunks/{git-nhh1prff.js → reference-575acpkf.js} +28 -28
  74. package/dist/chunks/{git-0bmcfzcg.js → reference-59afrvqr.js} +17 -17
  75. package/dist/chunks/{git-5yydhn6j.js → reference-5ar0v554.js} +11 -11
  76. package/dist/chunks/{git-gexgj7qt.js → reference-5kkq4zfd.js} +26 -26
  77. package/dist/chunks/{git-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  78. package/dist/chunks/{git-zyq2pv4t.js → reference-5n0rnk8e.js} +4 -4
  79. package/dist/chunks/{git-qx5tvfrx.js → reference-5pvm3fck.js} +80 -80
  80. package/dist/chunks/{git-appmpegx.js → reference-5qkds9ec.js} +15 -15
  81. package/dist/chunks/{git-0v7knxa0.js → reference-5z7c8zeb.js} +37 -37
  82. package/dist/chunks/{git-07msmg94.js → reference-64hf0ahy.js} +16 -16
  83. package/dist/chunks/{git-cbx3ap9e.js → reference-6gqt88nq.js} +37 -37
  84. package/dist/chunks/{git-sj611wwz.js → reference-6t14jgap.js} +7 -7
  85. package/dist/chunks/{git-bj9fd1aa.js → reference-6xdfqkmm.js} +16 -16
  86. package/dist/chunks/{git-nstbetgn.js → reference-6yj5npp1.js} +8 -8
  87. package/dist/chunks/{git-861723xs.js → reference-6zps0eyt.js} +10 -10
  88. package/dist/chunks/{git-dnpsy4th.js → reference-72vz8z1n.js} +1 -1
  89. package/dist/chunks/{git-rvnsgwfh.js → reference-739mkdwg.js} +26 -26
  90. package/dist/chunks/{git-eb62zb4n.js → reference-7535mmt7.js} +86 -86
  91. package/dist/chunks/{git-ttf18rg8.js → reference-7bj45hq5.js} +20 -20
  92. package/dist/chunks/{git-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{git-4dncrvkb.js → reference-7fvbxgr7.js} +53 -53
  94. package/dist/chunks/{git-pgq4vvpa.js → reference-7k23w7ky.js} +33 -33
  95. package/dist/chunks/{git-v41hj1a3.js → reference-7m7f43r0.js} +19 -19
  96. package/dist/chunks/{git-h4ptbebw.js → reference-7m9ay9h9.js} +26 -26
  97. package/dist/chunks/{git-egpy7xm1.js → reference-7mf1bgwe.js} +36 -36
  98. package/dist/chunks/{git-q005gxe9.js → reference-7mq899wx.js} +12 -12
  99. package/dist/chunks/{git-cx7edq0q.js → reference-7n85wec2.js} +9 -9
  100. package/dist/chunks/reference-7nm6pbrn.js +273 -0
  101. package/dist/chunks/{git-sbptwb9s.js → reference-7vmgwh22.js} +12 -12
  102. package/dist/chunks/{git-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{git-7weczvnd.js → reference-7weczvnd.js} +1 -1
  104. package/dist/chunks/{git-tbbmhdw8.js → reference-7ycww88t.js} +31 -31
  105. package/dist/chunks/{git-7zs4mqwf.js → reference-7zs4mqwf.js} +1 -1
  106. package/dist/chunks/{git-775hqbnd.js → reference-80mg3ag8.js} +3 -3
  107. package/dist/chunks/{git-80pdk984.js → reference-80pdk984.js} +1 -1
  108. package/dist/chunks/{git-85jq8dht.js → reference-85jq8dht.js} +1 -1
  109. package/dist/chunks/{git-zd152ckc.js → reference-862xw3n7.js} +31 -31
  110. package/dist/chunks/{git-8b3vzgkx.js → reference-8b3vzgkx.js} +1 -1
  111. package/dist/chunks/{git-c5zvymhv.js → reference-8b68693q.js} +4 -4
  112. package/dist/chunks/{git-tre17bzt.js → reference-8f4s1s2m.js} +22 -22
  113. package/dist/chunks/{git-8kjyvwy5.js → reference-8kjyvwy5.js} +1 -1
  114. package/dist/chunks/{git-qb7f74k2.js → reference-8rapdqzr.js} +4 -4
  115. package/dist/chunks/{git-bb3mmwvh.js → reference-8sxe6kv8.js} +2 -2
  116. package/dist/chunks/{git-2cxpzphm.js → reference-8vtnq6ez.js} +29 -29
  117. package/dist/chunks/{git-pmyfn3tb.js → reference-8wa23hrf.js} +8 -8
  118. package/dist/chunks/{git-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  119. package/dist/chunks/{git-5xsx4kze.js → reference-8yv56ax1.js} +8 -8
  120. package/dist/chunks/{git-qqfyaxy9.js → reference-8yvb6qrs.js} +24 -24
  121. package/dist/chunks/{git-8zv0xmg5.js → reference-8zv0xmg5.js} +1 -1
  122. package/dist/chunks/{git-jx4xt277.js → reference-927qdjxb.js} +8 -8
  123. package/dist/chunks/{git-zm0jthe7.js → reference-98w1720y.js} +18 -18
  124. package/dist/chunks/{git-2cr9f59y.js → reference-9at5db4q.js} +5 -5
  125. package/dist/chunks/{git-g3nxj0qd.js → reference-9bgcdt6e.js} +8 -8
  126. package/dist/chunks/{git-4wxbgzz6.js → reference-9bm5fp1b.js} +9 -9
  127. package/dist/chunks/{git-kkq9v4gh.js → reference-9g3vqnsq.js} +10 -10
  128. package/dist/chunks/{git-32n4cy7a.js → reference-9jcrhkep.js} +5 -5
  129. package/dist/chunks/{git-by5bhjzr.js → reference-9jw0zbyx.js} +3 -3
  130. package/dist/chunks/{git-3ma84kqg.js → reference-9m8n9zbk.js} +11 -11
  131. package/dist/chunks/{git-4gjj76fq.js → reference-9nvad3j1.js} +7 -7
  132. package/dist/chunks/{git-c6k5n4j5.js → reference-9v84k2kg.js} +10 -10
  133. package/dist/chunks/{git-9zfcngb4.js → reference-9zfcngb4.js} +3 -3
  134. package/dist/chunks/{git-wxedqf16.js → reference-ag6d02bt.js} +14 -14
  135. package/dist/chunks/{git-87sv05fy.js → reference-aggab5dn.js} +14 -14
  136. package/dist/chunks/{git-agje4kmn.js → reference-agje4kmn.js} +1 -1
  137. package/dist/chunks/{git-5zxnv778.js → reference-agzxd0yp.js} +19 -19
  138. package/dist/chunks/{git-bxb44fsz.js → reference-aj5p3q94.js} +9 -9
  139. package/dist/chunks/{git-1b46a6yv.js → reference-an46g3zp.js} +28 -28
  140. package/dist/chunks/{git-dw3x5h9m.js → reference-aqb47jr5.js} +11 -11
  141. package/dist/chunks/{git-3cbjf1nt.js → reference-ayjs7tqn.js} +2 -2
  142. package/dist/chunks/{git-7kpv4f8m.js → reference-b1myw6a9.js} +36 -36
  143. package/dist/chunks/{git-b7nkz392.js → reference-b7nkz392.js} +1 -1
  144. package/dist/chunks/{git-ytm9sy14.js → reference-b9nc2zz0.js} +12 -12
  145. package/dist/chunks/{git-859w1rtj.js → reference-br85n61x.js} +9 -9
  146. package/dist/chunks/{git-bstexjd6.js → reference-bstexjd6.js} +1 -1
  147. package/dist/chunks/{git-tfe9qfp5.js → reference-bv1pmm9v.js} +13 -13
  148. package/dist/chunks/{git-zpgv8879.js → reference-bv8cexqp.js} +10 -10
  149. package/dist/chunks/{git-a4dxgbzc.js → reference-bx3kb6a3.js} +9 -9
  150. package/dist/chunks/{git-70e86x8p.js → reference-bysw97n2.js} +5 -5
  151. package/dist/chunks/{git-2xkj0mmw.js → reference-c6a3ew7b.js} +6 -6
  152. package/dist/chunks/{git-655h6vv4.js → reference-ccbwatt9.js} +6 -6
  153. package/dist/chunks/{git-0v292bqm.js → reference-ceek7szw.js} +15 -15
  154. package/dist/chunks/{git-sxk9ynhr.js → reference-chxbh3ax.js} +1 -1
  155. package/dist/chunks/{git-1cssggdg.js → reference-cmd5bybn.js} +13 -13
  156. package/dist/chunks/{git-tfcfpf42.js → reference-cq5jefwz.js} +26 -26
  157. package/dist/chunks/{git-3y7pxfxj.js → reference-cwekmztx.js} +7 -7
  158. package/dist/chunks/{git-cwrgdav8.js → reference-cwrgdav8.js} +2 -2
  159. package/dist/chunks/{git-g98e00y8.js → reference-d0h808eh.js} +17 -17
  160. package/dist/chunks/{git-g75v1bn7.js → reference-d0jnzfw4.js} +3 -3
  161. package/dist/chunks/{git-vy8m00c5.js → reference-d1v7ce6e.js} +9 -9
  162. package/dist/chunks/{git-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{git-3txvm3f4.js → reference-dc5ns5sn.js} +4 -4
  164. package/dist/chunks/{git-7kxe5wqn.js → reference-dd0pvf2z.js} +7 -7
  165. package/dist/chunks/{git-0t6d61qj.js → reference-dswvnf73.js} +20 -20
  166. package/dist/chunks/{git-dt77769w.js → reference-dt77769w.js} +1 -1
  167. package/dist/chunks/{git-hpr8jjym.js → reference-e5exmn2f.js} +16 -16
  168. package/dist/chunks/{git-edm37t96.js → reference-edm37t96.js} +3 -3
  169. package/dist/chunks/{git-51qsvhhj.js → reference-egwgys44.js} +4 -4
  170. package/dist/chunks/{git-qw1w4c69.js → reference-ek8dn5z5.js} +4 -4
  171. package/dist/chunks/{git-fafxjtnp.js → reference-eph60ty8.js} +4 -4
  172. package/dist/chunks/{git-eqw4pqj1.js → reference-eqw4pqj1.js} +2 -2
  173. package/dist/chunks/{git-w4edwzs6.js → reference-eyfjfzn3.js} +5 -5
  174. package/dist/chunks/{git-v4wxqypv.js → reference-f1ttqtp9.js} +20 -20
  175. package/dist/chunks/{git-js0pxjrh.js → reference-f2r6g4vn.js} +8 -8
  176. package/dist/chunks/{git-9gjrs4z9.js → reference-f530d63s.js} +4 -4
  177. package/dist/chunks/{git-y2rvyvtk.js → reference-f53yjwh1.js} +7 -7
  178. package/dist/chunks/{git-54a5f9h8.js → reference-fabceh31.js} +14 -14
  179. package/dist/chunks/{git-end87qvh.js → reference-fd97bfyb.js} +11 -11
  180. package/dist/chunks/{git-dawdqhyx.js → reference-febaz1db.js} +13 -13
  181. package/dist/chunks/{git-fg9p65nk.js → reference-fg9p65nk.js} +2 -2
  182. package/dist/chunks/{git-2h3sah2y.js → reference-fh3aa08y.js} +3 -3
  183. package/dist/chunks/{git-w9b4gqmv.js → reference-fhq9rvx2.js} +25 -25
  184. package/dist/chunks/{git-xegw71fv.js → reference-fr3fbs85.js} +29 -29
  185. package/dist/chunks/{git-68zsampf.js → reference-fr7m1ttx.js} +10 -10
  186. package/dist/chunks/{git-9fwmpfm0.js → reference-ft5sf8be.js} +11 -11
  187. package/dist/chunks/{git-jsr81cg8.js → reference-fvyngk2n.js} +12 -12
  188. package/dist/chunks/{git-w687dnns.js → reference-fznmdakp.js} +4 -4
  189. package/dist/chunks/{git-tjjahx9e.js → reference-g0fde04m.js} +4 -4
  190. package/dist/chunks/{git-gbjdnr5j.js → reference-gbjdnr5j.js} +2 -2
  191. package/dist/chunks/{git-3nf2d1x3.js → reference-gg6bwa40.js} +22 -22
  192. package/dist/chunks/{git-a9fthgb6.js → reference-ggndnxb4.js} +4 -4
  193. package/dist/chunks/{git-ghrv1g9c.js → reference-ghrv1g9c.js} +1 -1
  194. package/dist/chunks/{git-97857vx2.js → reference-gkhbdq39.js} +7 -7
  195. package/dist/chunks/{git-fp84nt4x.js → reference-gm1jnmb3.js} +13 -13
  196. package/dist/chunks/{git-9e0s1p19.js → reference-hbjn8g43.js} +2 -2
  197. package/dist/chunks/{git-vyqqdxam.js → reference-hf3qqrbq.js} +29 -29
  198. package/dist/chunks/{git-hgzwgvze.js → reference-hgzwgvze.js} +2 -2
  199. package/dist/chunks/{git-wffjegd8.js → reference-hq0945cf.js} +19 -19
  200. package/dist/chunks/{git-rwds2dbq.js → reference-hvh5rgvm.js} +13 -13
  201. package/dist/chunks/{git-cpytccmq.js → reference-jggffg54.js} +16 -16
  202. package/dist/chunks/{git-jm70asfg.js → reference-jm70asfg.js} +1 -1
  203. package/dist/chunks/{git-dk6jvmrv.js → reference-jtx35thj.js} +12 -12
  204. package/dist/chunks/{git-54197g8a.js → reference-jwb3hmmy.js} +20 -20
  205. package/dist/chunks/{git-q7phtp9w.js → reference-k5wgseh5.js} +51 -51
  206. package/dist/chunks/{git-yybgvvmq.js → reference-kbgs7tyr.js} +4 -4
  207. package/dist/chunks/{git-shvbpkp0.js → reference-kfgdh0fw.js} +41 -41
  208. package/dist/chunks/{git-sb8k4ghs.js → reference-kgd577v1.js} +5 -5
  209. package/dist/chunks/{git-mva665wn.js → reference-kj3enk7g.js} +18 -18
  210. package/dist/chunks/{git-dctzm1dj.js → reference-kmva8a3a.js} +2 -2
  211. package/dist/chunks/{git-yncycnf2.js → reference-knngpxw6.js} +26 -26
  212. package/dist/chunks/{git-j376ae4e.js → reference-knpbkrg7.js} +4 -4
  213. package/dist/chunks/{git-cbw96f79.js → reference-kr6yew48.js} +53 -53
  214. package/dist/chunks/{git-kt3bjfbg.js → reference-kt3bjfbg.js} +1 -1
  215. package/dist/chunks/{git-cn4dzkb5.js → reference-kyewy1qy.js} +13 -13
  216. package/dist/chunks/{git-gemyjqmt.js → reference-kzabqhs3.js} +13 -13
  217. package/dist/chunks/{git-51yzrdks.js → reference-kzavn3n8.js} +28 -28
  218. package/dist/chunks/{git-kzczzf4v.js → reference-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{git-m1714858.js → reference-m1714858.js} +1 -1
  220. package/dist/chunks/{git-m4p4r8nc.js → reference-m4p4r8nc.js} +1 -1
  221. package/dist/chunks/{git-m90tx7mw.js → reference-m90tx7mw.js} +1 -1
  222. package/dist/chunks/{git-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{git-8z6m94af.js → reference-mb7mbhnz.js} +3 -3
  224. package/dist/chunks/{git-cgcfd8yr.js → reference-mdwr0wyr.js} +7 -7
  225. package/dist/chunks/{git-75hxyt67.js → reference-mhwr1jt7.js} +5 -5
  226. package/dist/chunks/{git-4kts72mc.js → reference-mtjx880k.js} +18 -18
  227. package/dist/chunks/{git-xbybdbj1.js → reference-my0x6vax.js} +8 -8
  228. package/dist/chunks/{git-n320gsn2.js → reference-n320gsn2.js} +1 -1
  229. package/dist/chunks/{git-1y3jq1ba.js → reference-n503jqgj.js} +12 -12
  230. package/dist/chunks/{git-s4q5v2j0.js → reference-ndp5gf92.js} +5 -5
  231. package/dist/chunks/{git-3f6404ym.js → reference-nf4fn5vh.js} +21 -21
  232. package/dist/chunks/{git-7843nswb.js → reference-nj08j6tz.js} +9 -9
  233. package/dist/chunks/{git-gbphwg3r.js → reference-nkaf1g71.js} +9 -9
  234. package/dist/chunks/{git-k0ygy828.js → reference-nn189s5v.js} +35 -35
  235. package/dist/chunks/{git-znpd9s2c.js → reference-nng86tvp.js} +26 -26
  236. package/dist/chunks/{git-9a9zccz7.js → reference-nxjbgrtb.js} +5 -5
  237. package/dist/chunks/{git-mnbjcy4k.js → reference-p3tnt6dq.js} +25 -25
  238. package/dist/chunks/{git-9nzr4cy3.js → reference-p6enq2t6.js} +25 -25
  239. package/dist/chunks/{git-arj0jjvx.js → reference-p6x7mcpx.js} +30 -30
  240. package/dist/chunks/{git-45nqx4xx.js → reference-p94p4v4n.js} +4 -4
  241. package/dist/chunks/{git-qekcmjpf.js → reference-p976vpdt.js} +28 -28
  242. package/dist/chunks/{git-s1ba0vj0.js → reference-pah254n3.js} +4 -4
  243. package/dist/chunks/{git-ptfzv4f6.js → reference-pf4j6yes.js} +13 -13
  244. package/dist/chunks/{git-pknna89w.js → reference-pknna89w.js} +1 -1
  245. package/dist/chunks/{git-x4rw50ya.js → reference-pp44shwj.js} +6 -6
  246. package/dist/chunks/{git-x3cw6ez5.js → reference-pqr52v8t.js} +359 -359
  247. package/dist/chunks/{git-8hp52pd0.js → reference-pstr4srq.js} +14 -14
  248. package/dist/chunks/{git-qm9ccx2k.js → reference-pv186ydt.js} +54 -54
  249. package/dist/chunks/{git-x8qsnj0x.js → reference-pvcq0543.js} +15 -15
  250. package/dist/chunks/{git-ybkdq0rt.js → reference-q030tjbd.js} +9 -9
  251. package/dist/chunks/{git-mzbb1x9j.js → reference-q2mz41mg.js} +35 -35
  252. package/dist/chunks/{git-q69fea8d.js → reference-q69fea8d.js} +3 -3
  253. package/dist/chunks/{git-6wjbren0.js → reference-q8xjmpdr.js} +9 -9
  254. package/dist/chunks/{git-3bh7p494.js → reference-qbn0p7mz.js} +38 -38
  255. package/dist/chunks/reference-qdy9aj30.js +26 -0
  256. package/dist/chunks/{git-b6gqesrk.js → reference-qe36rwr9.js} +11 -11
  257. package/dist/chunks/{git-f96asrye.js → reference-qgtt320c.js} +46 -46
  258. package/dist/chunks/{git-0xb1v29n.js → reference-qny07asp.js} +6 -6
  259. package/dist/chunks/{git-qp7r0hxv.js → reference-qp7r0hxv.js} +1 -1
  260. package/dist/chunks/{git-qsm8g7ca.js → reference-qteqgfc1.js} +4 -4
  261. package/dist/chunks/{git-kzvgkc0j.js → reference-qw9j09rp.js} +7 -7
  262. package/dist/chunks/{git-v8cfy1ek.js → reference-qxywh10x.js} +16 -16
  263. package/dist/chunks/{git-dam2s56p.js → reference-r0mfs67f.js} +18 -18
  264. package/dist/chunks/{git-x34pfznb.js → reference-r329jvkg.js} +20 -20
  265. package/dist/chunks/{git-nfnbs3xs.js → reference-r4zsmg1p.js} +17 -17
  266. package/dist/chunks/{git-g193jfc5.js → reference-r9d0wh9d.js} +16 -16
  267. package/dist/chunks/{git-sq4s6wq1.js → reference-ra34yqmw.js} +6 -6
  268. package/dist/chunks/{git-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  269. package/dist/chunks/{git-rgc9cx3e.js → reference-rgc9cx3e.js} +2 -2
  270. package/dist/chunks/{git-gfcx3g72.js → reference-rgs8p9wd.js} +9 -9
  271. package/dist/chunks/{git-xxxp95km.js → reference-rjt1vwfw.js} +39 -39
  272. package/dist/chunks/{git-twx7nxk6.js → reference-rngy16kf.js} +23 -23
  273. package/dist/chunks/{git-ek76msce.js → reference-rnntkx0z.js} +2 -2
  274. package/dist/chunks/{git-b81p24w9.js → reference-rpanzb0g.js} +17 -17
  275. package/dist/chunks/{git-ywyawvs8.js → reference-rwwsbdae.js} +25 -25
  276. package/dist/chunks/{git-sb1v9hpd.js → reference-ryvn9wfg.js} +17 -17
  277. package/dist/chunks/{git-cjg23q7r.js → reference-s06309hq.js} +27 -27
  278. package/dist/chunks/{git-2ytp0tvq.js → reference-s47rahr7.js} +4 -4
  279. package/dist/chunks/{git-5n7sqrjb.js → reference-s6nhdfzt.js} +32 -32
  280. package/dist/chunks/{git-apjj153f.js → reference-saca11td.js} +15 -15
  281. package/dist/chunks/{git-30y6j96b.js → reference-sbgvfbs1.js} +32 -32
  282. package/dist/chunks/{git-svzs1fkj.js → reference-sbvetgdd.js} +18 -18
  283. package/dist/chunks/{git-sbya78hr.js → reference-sbya78hr.js} +1 -1
  284. package/dist/chunks/{git-sbzezcpx.js → reference-sbzezcpx.js} +1 -1
  285. package/dist/chunks/{git-q6efmhte.js → reference-snbqyz5m.js} +19 -19
  286. package/dist/chunks/{git-svcy3p9a.js → reference-svcy3p9a.js} +1 -1
  287. package/dist/chunks/{git-rd7c8gzg.js → reference-t458mwry.js} +13 -13
  288. package/dist/chunks/{git-p4hx603q.js → reference-t51escx7.js} +15 -15
  289. package/dist/chunks/{git-gmemj5zs.js → reference-tb2mrvc9.js} +4 -4
  290. package/dist/chunks/{git-tbpn7jtk.js → reference-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{git-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  292. package/dist/chunks/{git-sp95z34s.js → reference-td5zt956.js} +49 -49
  293. package/dist/chunks/{git-wwqpegrr.js → reference-tee9nshh.js} +6 -6
  294. package/dist/chunks/{git-4a8yt8tg.js → reference-temmhxa1.js} +12 -12
  295. package/dist/chunks/{git-hy8c1z76.js → reference-tg1vr1qt.js} +8 -8
  296. package/dist/chunks/{git-gxs71cxp.js → reference-tg7s7b5t.js} +4 -4
  297. package/dist/chunks/{git-3nnrz6f6.js → reference-tmc7xdjs.js} +4 -4
  298. package/dist/chunks/{git-gh7g01t0.js → reference-tn33damj.js} +49 -49
  299. package/dist/chunks/{git-ttz31trp.js → reference-ttz31trp.js} +2 -2
  300. package/dist/chunks/{git-tvtps2q9.js → reference-tvtps2q9.js} +1 -1
  301. package/dist/chunks/{git-twssxy5n.js → reference-twssxy5n.js} +2 -2
  302. package/dist/chunks/{git-889em8e0.js → reference-v0p5n7ta.js} +28 -28
  303. package/dist/chunks/{git-tqts7v32.js → reference-v10h1m03.js} +16 -16
  304. package/dist/chunks/{git-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
  305. package/dist/chunks/{git-vjf35v1f.js → reference-vjf35v1f.js} +1 -1
  306. package/dist/chunks/{git-dcd786fm.js → reference-vq46njmt.js} +10 -10
  307. package/dist/chunks/{git-9dtwxfrf.js → reference-vxt5hrdb.js} +139 -139
  308. package/dist/chunks/{git-40za9wsf.js → reference-w2eysc6j.js} +9 -9
  309. package/dist/chunks/{git-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{git-w4xw9ac5.js → reference-w4xw9ac5.js} +2 -2
  311. package/dist/chunks/{git-w79nt68w.js → reference-w79nt68w.js} +1 -1
  312. package/dist/chunks/{git-e71bb87j.js → reference-w7j3r3wx.js} +8 -8
  313. package/dist/chunks/{git-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{git-wd87259q.js → reference-wd87259q.js} +1 -1
  315. package/dist/chunks/{git-nx4vzyjd.js → reference-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{git-vjwpc24h.js → reference-wkbranrv.js} +16 -16
  317. package/dist/chunks/{git-9m92w6p3.js → reference-wvjx415r.js} +8 -8
  318. package/dist/chunks/{git-rc9j8yty.js → reference-wx9tqspf.js} +5 -5
  319. package/dist/chunks/{git-x150ncgg.js → reference-x150ncgg.js} +2 -2
  320. package/dist/chunks/{git-xbs5698n.js → reference-x2y03ead.js} +17 -17
  321. package/dist/chunks/{git-k6f0b3xm.js → reference-x44eb7dr.js} +3 -3
  322. package/dist/chunks/{git-x7de2wha.js → reference-x7de2wha.js} +2 -2
  323. package/dist/chunks/{git-q4aetha3.js → reference-xee2wrqk.js} +10 -10
  324. package/dist/chunks/{git-0ahs07zn.js → reference-xmx7xj34.js} +4 -4
  325. package/dist/chunks/{git-aqczazaa.js → reference-xtyr0vxr.js} +4 -4
  326. package/dist/chunks/{git-xjr6c8m4.js → reference-xxschbft.js} +4 -4
  327. package/dist/chunks/{git-v4z9cb6e.js → reference-xyp0v1jm.js} +7 -7
  328. package/dist/chunks/{git-gvwzcsw9.js → reference-xzj7cjwj.js} +20 -20
  329. package/dist/chunks/{git-yccgpt09.js → reference-y0bce1k0.js} +59 -59
  330. package/dist/chunks/{git-kn7p4ge8.js → reference-y0gzch2q.js} +21 -21
  331. package/dist/chunks/{git-dbatw319.js → reference-y1n277rb.js} +3 -3
  332. package/dist/chunks/{git-t8erkws8.js → reference-y3p3hzkr.js} +5 -5
  333. package/dist/chunks/{git-cqps7k2p.js → reference-y81ke3f6.js} +3 -3
  334. package/dist/chunks/{git-t0s7k2sh.js → reference-y90esxgd.js} +8 -8
  335. package/dist/chunks/{git-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{git-ynzdgah7.js → reference-yepd7x5v.js} +5 -5
  337. package/dist/chunks/{git-zreyz4tv.js → reference-ymmkfntj.js} +4 -4
  338. package/dist/chunks/{git-yr705xyq.js → reference-yr705xyq.js} +1 -1
  339. package/dist/chunks/{git-yvtc2x31.js → reference-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{git-shm6ahh6.js → reference-yx6srf48.js} +11 -11
  341. package/dist/chunks/{git-fqmf2938.js → reference-yxksbwb8.js} +14 -14
  342. package/dist/chunks/{git-za5nd581.js → reference-yz4ny9xs.js} +34 -34
  343. package/dist/chunks/{git-g5ajqn12.js → reference-z080rjh6.js} +4 -4
  344. package/dist/chunks/{git-z0wbgq7s.js → reference-z0wbgq7s.js} +1 -1
  345. package/dist/chunks/{git-g7yvgvgp.js → reference-z4rwvadd.js} +25 -25
  346. package/dist/chunks/{git-3pk775mm.js → reference-z9eeta16.js} +6 -6
  347. package/dist/chunks/{git-ywk46eq7.js → reference-ze6t155e.js} +16 -16
  348. package/dist/chunks/{git-j9nxzz3g.js → reference-ze75qvmd.js} +3 -3
  349. package/dist/chunks/{git-ms3q0y47.js → reference-zscf5gnz.js} +23 -23
  350. package/dist/chunks/{git-8bzbvxx5.js → reference-zwng3zs2.js} +8 -8
  351. package/dist/chunks/{git-s5cne99v.js → reference-zz4cnq1f.js} +22 -22
  352. package/dist/codemode/catalog.js +1 -1
  353. package/dist/codemode/execution.js +3 -3
  354. package/dist/codemode/fetch.js +149 -149
  355. package/dist/codemode/instructions.js +5 -5
  356. package/dist/codemode/tool.js +156 -156
  357. package/dist/command.js +94 -94
  358. package/dist/config/discovery.js +95 -95
  359. package/dist/config/integration.js +1 -1
  360. package/dist/config/managed.js +1 -1
  361. package/dist/config/markdown.js +1 -1
  362. package/dist/config/normalize.js +113 -113
  363. package/dist/config/plugin/agent.js +134 -134
  364. package/dist/config/plugin/command.js +247 -247
  365. package/dist/config/plugin/compaction.js +174 -174
  366. package/dist/config/plugin/compatibility.js +154 -154
  367. package/dist/config/plugin/entry-observer.js +1 -1
  368. package/dist/config/plugin/formatter.js +132 -132
  369. package/dist/config/plugin/image.js +131 -131
  370. package/dist/config/plugin/instruction.js +131 -131
  371. package/dist/config/plugin/location-watcher.js +131 -131
  372. package/dist/config/plugin/mcp.js +148 -148
  373. package/dist/config/plugin/policy.js +131 -131
  374. package/dist/config/plugin/provider.js +131 -131
  375. package/dist/config/plugin/reference.js +133 -133
  376. package/dist/config/plugin/shell.js +131 -131
  377. package/dist/config/plugin/skill-file.js +150 -150
  378. package/dist/config/plugin/skill-scan.js +1 -1
  379. package/dist/config/plugin/skill.js +157 -157
  380. package/dist/config/plugin/snapshot.js +131 -131
  381. package/dist/config/plugin/source.js +135 -135
  382. package/dist/config/plugin/tool-output.js +132 -132
  383. package/dist/config/plugin/websearch.js +132 -132
  384. package/dist/config/plugin/worktree.js +133 -133
  385. package/dist/config/variable.js +1 -1
  386. package/dist/config/watch.js +1 -1
  387. package/dist/config.js +130 -130
  388. package/dist/console-access.js +1 -1
  389. package/dist/credential/sql.js +2 -2
  390. package/dist/credential.js +88 -88
  391. package/dist/database/batch.js +1 -1
  392. package/dist/database/database.js +81 -81
  393. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  394. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  395. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  396. package/dist/database/drizzle/index.js +15 -15
  397. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  400. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  406. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  407. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  408. package/dist/database/drizzle.js +16 -16
  409. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  410. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  411. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  412. package/dist/database/migration/20260225215848_workspace.js +1 -1
  413. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  414. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  415. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  416. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  417. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  418. package/dist/database/migration/20260323234822_events.js +1 -1
  419. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  420. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  421. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  422. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  423. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  424. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  425. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  426. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  427. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  428. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  429. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  430. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  431. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  432. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  433. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  434. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  435. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  436. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  437. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  438. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  439. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  440. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  441. package/dist/database/migration/20260611035744_credential.js +1 -1
  442. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  443. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  444. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  445. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  446. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  447. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  448. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  449. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  450. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  451. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  452. package/dist/database/migration/20260812213948_worktree.js +1 -1
  453. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  454. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  455. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  456. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  457. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  458. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  459. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  460. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  461. package/dist/database/migration/20261025123711_blob.js +1 -1
  462. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  463. package/dist/database/migration/20261026223005_schedule.js +1 -1
  464. package/dist/database/migration/20261029002625_session_part.js +1 -1
  465. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  466. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  467. package/dist/database/migration/20261030054400_job.js +1 -1
  468. package/dist/database/migration.gen.js +60 -60
  469. package/dist/database/migration.js +76 -76
  470. package/dist/database/path.js +2 -2
  471. package/dist/database/schema.gen.js +1 -1
  472. package/dist/database/schema.sql.js +1 -1
  473. package/dist/database/v1-migration.bun.js +108 -108
  474. package/dist/effect/app-node-builder.js +448 -448
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +3 -3
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +107 -107
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +161 -161
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +165 -165
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +2 -2
  498. package/dist/filesystem/location-watcher.js +256 -256
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +7 -7
  503. package/dist/filesystem.js +118 -118
  504. package/dist/flag.js +132 -132
  505. package/dist/form.js +93 -93
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +117 -117
  509. package/dist/git.js +11 -11
  510. package/dist/github-copilot/models.js +113 -113
  511. package/dist/image/notice.js +1 -1
  512. package/dist/image/photon-normalize.js +1 -1
  513. package/dist/image/photon-worker.js +1 -1
  514. package/dist/image/photon.js +4 -4
  515. package/dist/image.js +6 -6
  516. package/dist/instance/service.js +5 -5
  517. package/dist/instance.js +439 -439
  518. package/dist/instruction-discovery.js +89 -89
  519. package/dist/instructions/builtins.js +100 -100
  520. package/dist/instructions/index.js +3 -3
  521. package/dist/integration/connection.js +1 -1
  522. package/dist/integration.js +92 -92
  523. package/dist/job/list.js +5 -5
  524. package/dist/job/recovery.js +2 -2
  525. package/dist/job/sql.js +2 -2
  526. package/dist/job.js +88 -88
  527. package/dist/kv/sql.js +2 -2
  528. package/dist/kv.js +84 -84
  529. package/dist/location-activity.js +186 -186
  530. package/dist/location-lifecycle.js +154 -154
  531. package/dist/location-service-map.js +99 -99
  532. package/dist/location-services.js +436 -436
  533. package/dist/location.js +100 -100
  534. package/dist/managed-policy.js +3 -3
  535. package/dist/mcp/client.js +159 -159
  536. package/dist/mcp/connection.js +104 -104
  537. package/dist/mcp/index.js +143 -143
  538. package/dist/mcp/instructions.js +186 -186
  539. package/dist/mcp/oauth.js +90 -90
  540. package/dist/mcp/pool.js +108 -108
  541. package/dist/mcp/socket-client.js +1 -1
  542. package/dist/mcp/stdio.js +160 -160
  543. package/dist/mime.js +1 -1
  544. package/dist/modal/models.js +113 -113
  545. package/dist/model-resolver.js +113 -113
  546. package/dist/model-retry.js +1 -1
  547. package/dist/model.js +108 -108
  548. package/dist/models-dev/v1.js +1 -1
  549. package/dist/models-dev.js +118 -118
  550. package/dist/oauth/page.js +1 -1
  551. package/dist/oauth/redirect.js +1 -1
  552. package/dist/permission/saved.js +87 -87
  553. package/dist/permission/sql.js +5 -5
  554. package/dist/permission.js +151 -151
  555. package/dist/persistent-pty/binary.bun.js +1 -1
  556. package/dist/persistent-pty/daemon.js +1 -1
  557. package/dist/persistent-pty/index.js +99 -99
  558. package/dist/persistent-pty/pty-binding.js +1 -1
  559. package/dist/persistent-pty.js +86 -86
  560. package/dist/plugin/agent.js +87 -87
  561. package/dist/plugin/command.js +146 -146
  562. package/dist/plugin/fork-notice.js +3 -3
  563. package/dist/plugin/goal.js +3 -3
  564. package/dist/plugin/hooks.js +1 -1
  565. package/dist/plugin/host.js +249 -249
  566. package/dist/plugin/identity.js +5 -5
  567. package/dist/plugin/instance.js +5 -5
  568. package/dist/plugin/internal.js +416 -416
  569. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  570. package/dist/plugin/models-dev.js +111 -111
  571. package/dist/plugin/module.js +130 -130
  572. package/dist/plugin/optimize.js +2 -2
  573. package/dist/plugin/plan.js +150 -150
  574. package/dist/plugin/promise.js +1 -1
  575. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  576. package/dist/plugin/provider/azure.js +132 -132
  577. package/dist/plugin/provider/cerebras.js +1 -1
  578. package/dist/plugin/provider/chatgpt.js +135 -135
  579. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  580. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  585. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  586. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  587. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  588. package/dist/plugin/provider/claude-agent/index.js +149 -149
  589. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  590. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  591. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  593. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  594. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  595. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  598. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  599. package/dist/plugin/provider/claude-agent/session.js +113 -113
  600. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  601. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  602. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  604. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  605. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  610. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  611. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  612. package/dist/plugin/provider/configured.js +127 -127
  613. package/dist/plugin/provider/credential-settings.js +88 -88
  614. package/dist/plugin/provider/databricks.js +1 -1
  615. package/dist/plugin/provider/digitalocean.js +110 -110
  616. package/dist/plugin/provider/dynamic.js +2 -2
  617. package/dist/plugin/provider/github-copilot.js +112 -112
  618. package/dist/plugin/provider/gitlab.js +111 -111
  619. package/dist/plugin/provider/google-vertex.js +128 -128
  620. package/dist/plugin/provider/kilo.js +1 -1
  621. package/dist/plugin/provider/llmgateway.js +89 -89
  622. package/dist/plugin/provider/lmstudio.js +144 -144
  623. package/dist/plugin/provider/local.js +141 -141
  624. package/dist/plugin/provider/modal.js +109 -109
  625. package/dist/plugin/provider/neon.js +1 -1
  626. package/dist/plugin/provider/nvidia.js +1 -1
  627. package/dist/plugin/provider/ollama.js +144 -144
  628. package/dist/plugin/provider/openai-context-caps.js +107 -107
  629. package/dist/plugin/provider/openai.js +135 -135
  630. package/dist/plugin/provider/opencode-watches.js +4 -4
  631. package/dist/plugin/provider/opencode.js +162 -162
  632. package/dist/plugin/provider/openrouter.js +105 -105
  633. package/dist/plugin/provider/poe.js +91 -91
  634. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  635. package/dist/plugin/provider/refresh.js +87 -87
  636. package/dist/plugin/provider/sap-ai-core.js +105 -105
  637. package/dist/plugin/provider/sdk-factory.js +1 -1
  638. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  639. package/dist/plugin/provider/vllm.js +144 -144
  640. package/dist/plugin/provider/xai.js +105 -105
  641. package/dist/plugin/provider/zenmux.js +1 -1
  642. package/dist/plugin/provider.js +241 -241
  643. package/dist/plugin/sdk.js +87 -87
  644. package/dist/plugin/service.js +3 -3
  645. package/dist/plugin/skill.js +153 -153
  646. package/dist/plugin/source-directory.js +1 -1
  647. package/dist/plugin/supervisor.js +426 -426
  648. package/dist/plugin/tool-input-repair.js +4 -4
  649. package/dist/plugin/update.js +6 -6
  650. package/dist/plugin/vcs/git.js +99 -99
  651. package/dist/plugin/vcs/hg.js +99 -99
  652. package/dist/plugin/verbosity.js +107 -107
  653. package/dist/plugin/warming.js +131 -131
  654. package/dist/plugin/websearch/exa.js +8 -8
  655. package/dist/plugin/websearch/firecrawl.js +9 -9
  656. package/dist/plugin/websearch/index.js +10 -10
  657. package/dist/plugin/websearch/mcp.js +6 -6
  658. package/dist/plugin/websearch/parallel.js +7 -7
  659. package/dist/plugin/websearch/provider.js +3 -3
  660. package/dist/plugin/websearch/tavily.js +5 -5
  661. package/dist/plugin/websearch/tinyfish.js +9 -9
  662. package/dist/plugin.js +256 -256
  663. package/dist/project/icon.js +5 -5
  664. package/dist/project/schema.js +8 -8
  665. package/dist/project/sql.js +4 -4
  666. package/dist/project.js +103 -103
  667. package/dist/provider.js +107 -107
  668. package/dist/pty/protocol.js +1 -1
  669. package/dist/pty/ticket.js +1 -1
  670. package/dist/pty.js +111 -111
  671. package/dist/reference/instructions.js +101 -101
  672. package/dist/reference.js +103 -103
  673. package/dist/repository-cache.js +93 -93
  674. package/dist/repository.js +1 -1
  675. package/dist/ripgrep/binary.js +2 -2
  676. package/dist/ripgrep.js +111 -111
  677. package/dist/rpc.js +95 -95
  678. package/dist/schedule/check.js +254 -254
  679. package/dist/schedule/sql.js +6 -6
  680. package/dist/schedule.js +268 -268
  681. package/dist/schema.js +1 -1
  682. package/dist/session/affinity.js +3 -3
  683. package/dist/session/background.js +1 -1
  684. package/dist/session/blob.js +133 -133
  685. package/dist/session/command.js +85 -85
  686. package/dist/session/compaction.js +176 -176
  687. package/dist/session/context.js +204 -204
  688. package/dist/session/diff.js +101 -101
  689. package/dist/session/environment.js +5 -5
  690. package/dist/session/error.js +3 -3
  691. package/dist/session/event.js +1 -1
  692. package/dist/session/execution/restart.js +272 -272
  693. package/dist/session/execution/subagent-report.js +144 -144
  694. package/dist/session/execution.js +169 -169
  695. package/dist/session/generate.js +206 -206
  696. package/dist/session/history.js +140 -140
  697. package/dist/session/inbox.js +147 -147
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +88 -88
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +145 -145
  702. package/dist/session/message-updater.js +2 -2
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +170 -170
  705. package/dist/session/model-transport.js +5 -5
  706. package/dist/session/move.js +175 -175
  707. package/dist/session/projector.js +147 -147
  708. package/dist/session/prompt.js +152 -152
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +143 -143
  711. package/dist/session/run-coordinator.js +1 -1
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +259 -259
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +115 -115
  716. package/dist/session/runner/publish-llm-event.js +154 -154
  717. package/dist/session/runner/retry.js +3 -3
  718. package/dist/session/runner/step.js +165 -165
  719. package/dist/session/runner/to-llm-message.js +141 -141
  720. package/dist/session/schema.js +1 -1
  721. package/dist/session/session.js +193 -193
  722. package/dist/session/shell.js +149 -149
  723. package/dist/session/skill.js +153 -153
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +87 -87
  726. package/dist/session/store.js +146 -146
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +1 -1
  729. package/dist/session/subagent-job.js +168 -168
  730. package/dist/session/system-prompt.js +1 -1
  731. package/dist/session/title.js +208 -208
  732. package/dist/session/to-session-error.js +153 -153
  733. package/dist/session/transfer.js +256 -256
  734. package/dist/session/usage.js +1 -1
  735. package/dist/session.js +243 -243
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +9 -9
  741. package/dist/shell.js +151 -151
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +155 -155
  744. package/dist/skill.js +162 -162
  745. package/dist/snapshot.js +104 -104
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +183 -183
  750. package/dist/tool/plugin/artifact.js +244 -244
  751. package/dist/tool/plugin/edit.js +171 -171
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +175 -175
  754. package/dist/tool/plugin/grep.js +174 -174
  755. package/dist/tool/plugin/image-generate.js +255 -255
  756. package/dist/tool/plugin/mcp-events.js +164 -164
  757. package/dist/tool/plugin/mcp-resource.js +168 -168
  758. package/dist/tool/plugin/opencode.js +167 -167
  759. package/dist/tool/plugin/patch.js +172 -172
  760. package/dist/tool/plugin/question.js +150 -150
  761. package/dist/tool/plugin/read.js +176 -176
  762. package/dist/tool/plugin/schedule.js +260 -260
  763. package/dist/tool/plugin/shell.js +245 -245
  764. package/dist/tool/plugin/skill.js +159 -159
  765. package/dist/tool/plugin/subagent.js +249 -249
  766. package/dist/tool/plugin/todo.js +157 -157
  767. package/dist/tool/plugin/webfetch.js +159 -159
  768. package/dist/tool/plugin/websearch.js +159 -159
  769. package/dist/tool/plugin/write.js +172 -172
  770. package/dist/tool/read-filesystem.js +112 -112
  771. package/dist/tool/runtime.js +1 -1
  772. package/dist/tool/search.js +109 -109
  773. package/dist/tool-output.js +7 -7
  774. package/dist/tool.js +166 -166
  775. package/dist/usage-limits.js +96 -96
  776. package/dist/util/error-summary.js +1 -1
  777. package/dist/util/git-executable.js +3 -3
  778. package/dist/util/lazy.js +1 -1
  779. package/dist/util/slug.js +1 -1
  780. package/dist/util/token.js +1 -1
  781. package/dist/util/which.js +1 -1
  782. package/dist/util/wildcard.js +1 -1
  783. package/dist/v1/config/agent.js +5 -5
  784. package/dist/v1/config/command.js +3 -3
  785. package/dist/v1/config/mcp.js +4 -4
  786. package/dist/v1/config/migrate.js +106 -106
  787. package/dist/v1/config/permission.js +1 -1
  788. package/dist/v1/config/plugin.js +1 -1
  789. package/dist/v1/config/provider-options.js +1 -1
  790. package/dist/v1/config/provider.js +4 -4
  791. package/dist/variant.js +105 -105
  792. package/dist/vcs/patch.js +1 -1
  793. package/dist/vcs.js +102 -102
  794. package/dist/voice.js +99 -99
  795. package/dist/websearch.js +103 -103
  796. package/dist/wellknown/plugin.js +87 -87
  797. package/dist/wellknown.js +88 -88
  798. package/dist/workspace/driver.js +5 -5
  799. package/dist/workspace/sql.js +1 -1
  800. package/dist/workspace.js +91 -91
  801. package/dist/worktree/directory.js +2 -2
  802. package/dist/worktree/git.js +9 -9
  803. package/dist/worktree/sql.js +5 -5
  804. package/dist/worktree/strategies.js +102 -102
  805. package/dist/worktree.js +107 -107
  806. package/package.json +9 -9
  807. package/dist/chunks/git-2dkjcnxp.js +0 -18
  808. package/dist/chunks/git-r8dwvwz6.js +0 -273
  809. package/dist/chunks/git-yengr0n7.js +0 -26
  810. /package/dist/chunks/{git-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  811. /package/dist/chunks/{git-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  812. /package/dist/chunks/{git-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  813. /package/dist/chunks/{git-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  814. /package/dist/chunks/{git-1kah00gy.js → reference-1kah00gy.js} +0 -0
  815. /package/dist/chunks/{git-24dcb14g.js → reference-24dcb14g.js} +0 -0
  816. /package/dist/chunks/{git-2710q6r3.js → reference-2710q6r3.js} +0 -0
  817. /package/dist/chunks/{git-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  818. /package/dist/chunks/{git-359p4xyc.js → reference-359p4xyc.js} +0 -0
  819. /package/dist/chunks/{git-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  820. /package/dist/chunks/{git-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  821. /package/dist/chunks/{git-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  822. /package/dist/chunks/{git-4qk9sjk2.js → reference-4qk9sjk2.js} +0 -0
  823. /package/dist/chunks/{git-53557ph1.js → reference-53557ph1.js} +0 -0
  824. /package/dist/chunks/{git-5w3e23ze.js → reference-5w3e23ze.js} +0 -0
  825. /package/dist/chunks/{git-6agm2x70.js → reference-6agm2x70.js} +0 -0
  826. /package/dist/chunks/{git-6prwharc.js → reference-6prwharc.js} +0 -0
  827. /package/dist/chunks/{git-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  828. /package/dist/chunks/{git-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  829. /package/dist/chunks/{git-7m9af43g.js → reference-7m9af43g.js} +0 -0
  830. /package/dist/chunks/{git-7rvsyqjv.js → reference-7rvsyqjv.js} +0 -0
  831. /package/dist/chunks/{git-822emrt2.js → reference-822emrt2.js} +0 -0
  832. /package/dist/chunks/{git-84wd9syh.js → reference-84wd9syh.js} +0 -0
  833. /package/dist/chunks/{git-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  834. /package/dist/chunks/{git-8n3pysct.js → reference-8n3pysct.js} +0 -0
  835. /package/dist/chunks/{git-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  836. /package/dist/chunks/{git-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  837. /package/dist/chunks/{git-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  838. /package/dist/chunks/{git-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  839. /package/dist/chunks/{git-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  840. /package/dist/chunks/{git-beh6qq61.js → reference-beh6qq61.js} +0 -0
  841. /package/dist/chunks/{git-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  842. /package/dist/chunks/{git-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  843. /package/dist/chunks/{git-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  844. /package/dist/chunks/{git-cqv5kn06.js → reference-cqv5kn06.js} +0 -0
  845. /package/dist/chunks/{git-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  846. /package/dist/chunks/{git-d9fn303g.js → reference-d9fn303g.js} +0 -0
  847. /package/dist/chunks/{git-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  848. /package/dist/chunks/{git-df08tz66.js → reference-df08tz66.js} +0 -0
  849. /package/dist/chunks/{git-dy18nga0.js → reference-dy18nga0.js} +0 -0
  850. /package/dist/chunks/{git-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  851. /package/dist/chunks/{git-ean2d8b5.js → reference-ean2d8b5.js} +0 -0
  852. /package/dist/chunks/{git-ec1grn59.js → reference-ec1grn59.js} +0 -0
  853. /package/dist/chunks/{git-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  854. /package/dist/chunks/{git-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  855. /package/dist/chunks/{git-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  856. /package/dist/chunks/{git-faypxj3z.js → reference-faypxj3z.js} +0 -0
  857. /package/dist/chunks/{git-fd410y7t.js → reference-fd410y7t.js} +0 -0
  858. /package/dist/chunks/{git-fkpq3x5p.js → reference-fkpq3x5p.js} +0 -0
  859. /package/dist/chunks/{git-g86h250q.js → reference-g86h250q.js} +0 -0
  860. /package/dist/chunks/{git-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  861. /package/dist/chunks/{git-gftt206x.js → reference-gftt206x.js} +0 -0
  862. /package/dist/chunks/{git-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  863. /package/dist/chunks/{git-hk9envan.js → reference-hk9envan.js} +0 -0
  864. /package/dist/chunks/{git-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  865. /package/dist/chunks/{git-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  866. /package/dist/chunks/{git-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  867. /package/dist/chunks/{git-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  868. /package/dist/chunks/{git-jwr30sdr.js → reference-jwr30sdr.js} +0 -0
  869. /package/dist/chunks/{git-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  870. /package/dist/chunks/{git-m18g726c.js → reference-m18g726c.js} +0 -0
  871. /package/dist/chunks/{git-mp448xyj.js → reference-mp448xyj.js} +0 -0
  872. /package/dist/chunks/{git-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  873. /package/dist/chunks/{git-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  874. /package/dist/chunks/{git-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  875. /package/dist/chunks/{git-nh4v3znn.js → reference-nh4v3znn.js} +0 -0
  876. /package/dist/chunks/{git-njntx4h6.js → reference-njntx4h6.js} +0 -0
  877. /package/dist/chunks/{git-p71gwv9c.js → reference-p71gwv9c.js} +0 -0
  878. /package/dist/chunks/{git-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  879. /package/dist/chunks/{git-q74kybfr.js → reference-q74kybfr.js} +0 -0
  880. /package/dist/chunks/{git-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  881. /package/dist/chunks/{git-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  882. /package/dist/chunks/{git-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  883. /package/dist/chunks/{git-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  884. /package/dist/chunks/{git-qtf35215.js → reference-qtf35215.js} +0 -0
  885. /package/dist/chunks/{git-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  886. /package/dist/chunks/{git-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  887. /package/dist/chunks/{git-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  888. /package/dist/chunks/{git-syrav9an.js → reference-syrav9an.js} +0 -0
  889. /package/dist/chunks/{git-t03h4f5z.js → reference-t03h4f5z.js} +0 -0
  890. /package/dist/chunks/{git-ty7weeps.js → reference-ty7weeps.js} +0 -0
  891. /package/dist/chunks/{git-v2dnd5dt.js → reference-v2dnd5dt.js} +0 -0
  892. /package/dist/chunks/{git-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  893. /package/dist/chunks/{git-vtarvj67.js → reference-vtarvj67.js} +0 -0
  894. /package/dist/chunks/{git-w803qqfp.js → reference-w803qqfp.js} +0 -0
  895. /package/dist/chunks/{git-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  896. /package/dist/chunks/{git-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  897. /package/dist/chunks/{git-wtztk69x.js → reference-wtztk69x.js} +0 -0
  898. /package/dist/chunks/{git-x4th4bpe.js → reference-x4th4bpe.js} +0 -0
  899. /package/dist/chunks/{git-y44na4kk.js → reference-y44na4kk.js} +0 -0
  900. /package/dist/chunks/{git-y8f7s663.js → reference-y8f7s663.js} +0 -0
  901. /package/dist/chunks/{git-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  902. /package/dist/chunks/{git-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  903. /package/dist/chunks/{git-z9919s4g.js → reference-z9919s4g.js} +0 -0
  904. /package/dist/chunks/{git-zxpyjp51.js → reference-zxpyjp51.js} +0 -0
  905. /package/dist/chunks/{git-zz5vv3aq.js → reference-zz5vv3aq.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./git-m90tx7mw.js";
4
+ } from "./reference-m90tx7mw.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./git-5zxnv778.js";
7
+ } from "./reference-agzxd0yp.js";
8
8
  import {
9
9
  Document3
10
- } from "./git-7zs4mqwf.js";
10
+ } from "./reference-7zs4mqwf.js";
11
11
  import {
12
12
  latest2,
13
- Service80
14
- } from "./git-3bh7p494.js";
13
+ Service81
14
+ } from "./reference-qbn0p7mz.js";
15
15
  import {
16
16
  supports2,
17
17
  resolve2
18
- } from "./git-by5bhjzr.js";
18
+ } from "./reference-9jw0zbyx.js";
19
19
  import {
20
20
  observe2
21
- } from "./git-tvtps2q9.js";
21
+ } from "./reference-tvtps2q9.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./reference-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
27
  var exports_provider3 = {};
28
28
  __export(exports_provider3, {
29
29
  ConfigProviderPlugin: () => exports_provider3,
30
- Plugin: () => Plugin41,
30
+ Plugin: () => Plugin44,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin41 = define({
36
+ var Plugin44 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service80;
39
+ const config = yield* Service81;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
251
251
  });
252
252
  }
253
253
 
254
- export { Plugin41, integrate2, exports_provider3 };
254
+ export { Plugin44, integrate2, exports_provider3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80
3
- } from "./git-3bh7p494.js";
2
+ Service81
3
+ } from "./reference-qbn0p7mz.js";
4
4
  import {
5
5
  observe2
6
- } from "./git-tvtps2q9.js";
6
+ } from "./reference-tvtps2q9.js";
7
7
  import {
8
- Service76
9
- } from "./git-v4wxqypv.js";
8
+ Service79
9
+ } from "./reference-f1ttqtp9.js";
10
10
  import {
11
11
  Condition2,
12
- ID4,
12
+ ID5,
13
13
  Outcome3,
14
14
  Request2,
15
15
  Status2,
16
16
  toCreateInput2,
17
17
  When2,
18
- NotFoundError2,
18
+ NotFoundError3,
19
19
  DisabledError2,
20
- Service14
21
- } from "./git-sp95z34s.js";
20
+ Service16
21
+ } from "./reference-td5zt956.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./reference-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/schedule.ts
27
27
  var exports_schedule = {};
28
28
  __export(exports_schedule, {
29
29
  IDInput: () => IDInput2,
30
- Plugin: () => Plugin22,
30
+ Plugin: () => Plugin33,
31
31
  ScheduleTools: () => exports_schedule,
32
32
  View: () => View2
33
33
  });
@@ -40,7 +40,7 @@ var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $
40
40
 
41
41
  // src/tool/plugin/schedule.ts
42
42
  var View2 = Schema.Struct({
43
- id: ID4,
43
+ id: ID5,
44
44
  name: Schema.String.pipe(optional),
45
45
  when: When2,
46
46
  tz: Schema.String,
@@ -61,19 +61,19 @@ var ListOutput = Schema.Struct({
61
61
  schedules: Schema.Array(View2)
62
62
  });
63
63
  var IDInput2 = Schema.Struct({
64
- id: ID4.annotate({ description: "Schedule id from schedule_list." })
64
+ id: ID5.annotate({ description: "Schedule id from schedule_list." })
65
65
  });
66
- var RemoveOutput = Schema.Struct({ id: ID4, removed: Schema.Boolean });
67
- var Plugin22 = {
66
+ var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
67
+ var Plugin33 = {
68
68
  id: "opencode.tool.schedule",
69
69
  effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
70
- const config = yield* Service80;
71
- const schedules = yield* Service14;
70
+ const config = yield* Service81;
71
+ const schedules = yield* Service16;
72
72
  const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
73
- const flags = yield* Service76;
73
+ const flags = yield* Service79;
74
74
  const enabled = () => flags.resolve(loaded.entries).schedules.enabled;
75
75
  const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
76
- const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError2({ scheduleID: id })));
76
+ const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError3({ scheduleID: id })));
77
77
  const failure = (error) => new ToolFailure({ message: error.message, error });
78
78
  yield* ctx.tool.transform((editor) => {
79
79
  if (!enabled())
@@ -201,4 +201,4 @@ function toView(info) {
201
201
  };
202
202
  }
203
203
 
204
- export { View2, IDInput2, Plugin22, exports_schedule };
204
+ export { View2, IDInput2, Plugin33, exports_schedule };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service93,
6
- node95
7
- } from "./git-knrz8ycq.js";
5
+ Service94,
6
+ node96
7
+ } from "./reference-00x9nxmm.js";
8
8
  import {
9
9
  Service92,
10
10
  node94
11
- } from "./git-aeevvyey.js";
11
+ } from "./reference-3p6av0db.js";
12
12
  import {
13
- Service94,
14
- node96
15
- } from "./git-1y3jq1ba.js";
13
+ Service90,
14
+ node92
15
+ } from "./reference-n503jqgj.js";
16
16
  import {
17
- ID22,
17
+ ID21,
18
18
  Current3,
19
- Info32,
19
+ Info31,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./git-963hk181.js";
23
+ } from "./reference-0mtp185z.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./git-aj7mw0zk.js";
27
+ } from "./reference-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./git-bb3mmwvh.js";
30
+ } from "./reference-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./git-3cbjf1nt.js";
33
+ } from "./reference-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./git-9rqn6x4v.js";
36
+ } from "./reference-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID21,
44
- Info: () => Info31,
45
- NotFoundError: () => NotFoundError14,
43
+ ID: () => ID20,
44
+ Info: () => Info30,
45
+ NotFoundError: () => NotFoundError13,
46
46
  Project: () => exports_project,
47
- Service: () => Service91,
47
+ Service: () => Service89,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
50
  configured: () => configured12,
51
- node: () => node93,
51
+ node: () => node91,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID21 = ID22;
64
+ var ID20 = ID21;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info31 = Info32;
67
+ var Info30 = Info31;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID21
70
+ class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID20
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service91 extends Context.Service()("@opencode/Project") {
90
+ class Service89 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,13 +111,13 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service91, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service89, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service94;
117
+ const git = yield* Service90;
118
118
  const proc = yield* AppProcess.Service;
119
119
  const bus = yield* Service92;
120
- const db = (yield* Service93).db;
120
+ const db = (yield* Service94).db;
121
121
  const scope = yield* Scope.Scope;
122
122
  const announcing = new Set;
123
123
  const persist = Effect.fnUntraced(function* (project) {
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event20.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID21.global,
167
+ previous: project.previous ?? ID20.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError14({ projectID: input.projectID });
190
+ return yield* new NotFoundError13({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event20.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event20.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID20.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID21.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID20.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID21.make(root) : undefined;
247
+ return root ? ID20.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID21.global,
263
+ id: id ?? ID20.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID21.make(node) : undefined;
288
+ return node ? ID20.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID21.global,
296
+ id: id ?? ID20.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID21.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID20.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID20.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event20.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service91.of({ list, update, activate, resolve, sweep });
348
+ return Service89.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
350
  function configured12(options) {
351
351
  return makeGlobalNode({
352
- service: Service91,
352
+ service: Service89,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node94, node95, FSUtil.node, node96, AppProcess.node]
354
+ deps: [node94, node96, FSUtil.node, node92, AppProcess.node]
355
355
  });
356
356
  }
357
- var node93 = configured12();
357
+ var node91 = configured12();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service91;
361
+ const project = yield* Service89;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node93]
364
+ deps: [node91]
365
365
  });
366
366
 
367
- export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
367
+ export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service89, configured12, node91, sweepNode2, exports_project };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/sync/record.ts
6
6
  var exports_record = {};
7
7
  __export(exports_record, {
8
8
  SessionRecord: () => exports_record,
9
- make: () => make4
9
+ make: () => make8
10
10
  });
11
11
  import { Effect, Option, Schema } from "effect";
12
12
  var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
15
15
  history: Schema.optional(Schema.Array(Checkpoint)),
16
16
  interrupted: Schema.optional(Schema.Boolean)
17
17
  });
18
- function make4(storage) {
18
+ function make8(storage) {
19
19
  return {
20
20
  get: Effect.fn("SessionRecord.get")(function* (sessionID) {
21
21
  const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
@@ -25,4 +25,4 @@ function make4(storage) {
25
25
  };
26
26
  }
27
27
 
28
- export { make4, exports_record };
28
+ export { make8, exports_record };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service90
6
- } from "./git-ywk46eq7.js";
5
+ Service88
6
+ } from "./reference-ze6t155e.js";
7
7
  import {
8
8
  NotFound3,
9
9
  exists2
10
- } from "./git-svcy3p9a.js";
10
+ } from "./reference-svcy3p9a.js";
11
11
  import {
12
12
  makeFiles2
13
- } from "./git-rgc9cx3e.js";
13
+ } from "./reference-rgc9cx3e.js";
14
14
  import {
15
15
  makeMemoryDriver2
16
- } from "./git-twssxy5n.js";
16
+ } from "./reference-twssxy5n.js";
17
17
  import {
18
- Service62
19
- } from "./git-0t6d61qj.js";
18
+ Service72
19
+ } from "./reference-dswvnf73.js";
20
20
  import {
21
21
  invocation2,
22
- Service73
23
- } from "./git-vyqqdxam.js";
22
+ Service74
23
+ } from "./reference-hf3qqrbq.js";
24
24
  import {
25
- Service20
26
- } from "./git-g7yvgvgp.js";
25
+ Service71
26
+ } from "./reference-z4rwvadd.js";
27
27
  import {
28
- Service9
29
- } from "./git-ttf18rg8.js";
28
+ Service12
29
+ } from "./reference-7bj45hq5.js";
30
30
  import {
31
- ID8,
31
+ ID10,
32
32
  uri2,
33
33
  isUri2,
34
- Service42
35
- } from "./git-w9b4gqmv.js";
34
+ Service70
35
+ } from "./reference-fhq9rvx2.js";
36
36
  import {
37
37
  isSafeSegment2
38
- } from "./git-859w1rtj.js";
38
+ } from "./reference-br85n61x.js";
39
39
  import {
40
40
  BinaryFileError2,
41
41
  MediaIngestLimitError2,
@@ -45,27 +45,27 @@ import {
45
45
  FileContent2,
46
46
  TextPage2,
47
47
  ListPage2,
48
- Service36,
48
+ Service35,
49
49
  read2
50
- } from "./git-v8cfy1ek.js";
50
+ } from "./reference-qxywh10x.js";
51
51
  import {
52
52
  __export
53
- } from "./git-9rqn6x4v.js";
53
+ } from "./reference-9rqn6x4v.js";
54
54
 
55
55
  // src/tool/plugin/read.ts
56
56
  var exports_read = {};
57
57
  __export(exports_read, {
58
- Input: () => Input13,
59
- Plugin: () => Plugin36,
58
+ Input: () => Input4,
59
+ Plugin: () => Plugin23,
60
60
  ReadTool: () => exports_read,
61
- name: () => name13,
62
- toModelContent: () => toModelContent6
61
+ name: () => name4,
62
+ toModelContent: () => toModelContent4
63
63
  });
64
64
  import { basename, dirname, extname, isAbsolute, join, relative } from "path";
65
65
  import { ToolFailure } from "@opencode/ai/effect";
66
66
  import { Effect, Schema } from "effect";
67
67
  import { FSUtil } from "@opencode/util/fs-util";
68
- var name13 = "read";
68
+ var name4 = "read";
69
69
  var FILENAME = "AGENTS.md";
70
70
  var LocationInput = Schema.Struct({
71
71
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -76,24 +76,24 @@ var LocationInput = Schema.Struct({
76
76
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
77
77
  })
78
78
  });
79
- var Input13 = LocationInput;
79
+ var Input4 = LocationInput;
80
80
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
81
- var Plugin36 = {
81
+ var Plugin23 = {
82
82
  id: "opencode.tool.read",
83
83
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
84
- const reader = yield* Service36;
85
- const access = yield* Service20;
86
- const permission = yield* Service73;
87
- const skills = yield* Service42;
88
- const sessionInstructions = yield* Service9;
84
+ const reader = yield* Service35;
85
+ const access = yield* Service71;
86
+ const permission = yield* Service74;
87
+ const skills = yield* Service70;
88
+ const sessionInstructions = yield* Service12;
89
89
  const fs = yield* FSUtil.Service;
90
- const location = yield* Service90;
91
- const environment = yield* Service62;
90
+ const location = yield* Service88;
91
+ const environment = yield* Service72;
92
92
  yield* ctx.tool.transform((editor) => editor.add({
93
- name: name13,
93
+ name: name4,
94
94
  options: { codemode: false },
95
95
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
96
- input: Input13,
96
+ input: Input4,
97
97
  output: Output,
98
98
  execute: (input, context) => {
99
99
  return Effect.gen(function* () {
@@ -101,7 +101,7 @@ var Plugin36 = {
101
101
  const parsed = parseSkillUri(input.path);
102
102
  if (!parsed)
103
103
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
104
- const id = ID8.make(parsed.id);
104
+ const id = ID10.make(parsed.id);
105
105
  const skill = yield* skills.get(id);
106
106
  if (!skill || !isUri2(skill.path))
107
107
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -168,7 +168,7 @@ var Plugin36 = {
168
168
  return { output: result.content, path: result.path };
169
169
  }).pipe(Effect.map((result) => ({
170
170
  output: result.output,
171
- content: toModelContent6(result.path, input.offset, result.output),
171
+ content: toModelContent4(result.path, input.offset, result.output),
172
172
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
173
173
  })), Effect.mapError((error) => {
174
174
  if (error instanceof ToolFailure)
@@ -294,7 +294,7 @@ function parseSkillUri(value) {
294
294
  return;
295
295
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
296
296
  }
297
- var toModelContent6 = (path, offset, output) => {
297
+ var toModelContent4 = (path, offset, output) => {
298
298
  if (output.type === "file" && output.encoding === "base64")
299
299
  return [
300
300
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -332,4 +332,4 @@ var toModelContent6 = (path, offset, output) => {
332
332
  `);
333
333
  };
334
334
 
335
- export { name13, Input13, Plugin36, toModelContent6, exports_read };
335
+ export { name4, Input4, Plugin23, toModelContent4, exports_read };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  outstanding2
3
- } from "./git-m4p4r8nc.js";
3
+ } from "./reference-m4p4r8nc.js";
4
4
  import {
5
5
  SessionMessage2
6
- } from "./git-gftt206x.js";
6
+ } from "./reference-gftt206x.js";
7
7
  import {
8
8
  SyntheticPayload2
9
- } from "./git-s5cne99v.js";
9
+ } from "./reference-zz4cnq1f.js";
10
10
  import {
11
11
  NO_TEXT2,
12
12
  text3,
13
13
  formatBody2,
14
14
  deliver2
15
- } from "./git-1aryjtsy.js";
15
+ } from "./reference-1aryjtsy.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/session/execution/subagent-report.ts
21
21
  var exports_subagent_report = {};