@opencode/core 0.0.0-dev-20782 → 0.0.0-dev-20784

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 (836) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{instruction-discovery-360mpsp8.js → file-retention-01m0edtj.js} +11 -11
  8. package/dist/chunks/file-retention-02wkw50e.js +513 -0
  9. package/dist/chunks/{instruction-discovery-3zb3e7qp.js → file-retention-0crjjxxx.js} +18 -18
  10. package/dist/chunks/{instruction-discovery-44cwas1f.js → file-retention-0e3qe3yy.js} +14 -14
  11. package/dist/chunks/{instruction-discovery-q0xm7vwc.js → file-retention-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{instruction-discovery-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{instruction-discovery-rzzn19w1.js → file-retention-0rfmeyxn.js} +11 -11
  14. package/dist/chunks/{instruction-discovery-e9z206xw.js → file-retention-0sdx5hkx.js} +16 -16
  15. package/dist/chunks/{instruction-discovery-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{instruction-discovery-n61x7dr3.js → file-retention-0y4k1x12.js} +10 -10
  17. package/dist/chunks/{instruction-discovery-kkna0xt5.js → file-retention-15vdfc9c.js} +3 -3
  18. package/dist/chunks/{instruction-discovery-1dvck2a7.js → file-retention-1dvck2a7.js} +2 -2
  19. package/dist/chunks/{instruction-discovery-t2jc4d6d.js → file-retention-1f2vccss.js} +36 -36
  20. package/dist/chunks/{instruction-discovery-q0fzxeza.js → file-retention-1k45a421.js} +11 -11
  21. package/dist/chunks/{instruction-discovery-8sze2n9a.js → file-retention-1p07q0wb.js} +8 -8
  22. package/dist/chunks/{instruction-discovery-963fmf73.js → file-retention-226karrg.js} +15 -15
  23. package/dist/chunks/{instruction-discovery-1r358xma.js → file-retention-2908y79c.js} +14 -14
  24. package/dist/chunks/{instruction-discovery-axjmkx9q.js → file-retention-291fq28g.js} +49 -49
  25. package/dist/chunks/{instruction-discovery-4ts7tf6z.js → file-retention-2ccvkpx1.js} +2 -2
  26. package/dist/chunks/{instruction-discovery-smdct0jd.js → file-retention-2ekw743c.js} +1 -1
  27. package/dist/chunks/{instruction-discovery-9b00c1fb.js → file-retention-2hg7qvzt.js} +5 -5
  28. package/dist/chunks/{instruction-discovery-zyc9an2m.js → file-retention-2j3kqcde.js} +22 -22
  29. package/dist/chunks/{instruction-discovery-gj71zhbs.js → file-retention-2k9fjx65.js} +5 -5
  30. package/dist/chunks/{instruction-discovery-c2kcpa0d.js → file-retention-2mqvqnd5.js} +13 -13
  31. package/dist/chunks/{instruction-discovery-np756ma8.js → file-retention-2n9hdwqs.js} +28 -28
  32. package/dist/chunks/{instruction-discovery-5t3nmthw.js → file-retention-2vvh33eb.js} +3 -3
  33. package/dist/chunks/{instruction-discovery-ta6js1ab.js → file-retention-2w2dfs1b.js} +13 -13
  34. package/dist/chunks/{instruction-discovery-rwp39ykb.js → file-retention-32y4ehgv.js} +11 -11
  35. package/dist/chunks/{instruction-discovery-z6qhsg7w.js → file-retention-35p49r4v.js} +29 -29
  36. package/dist/chunks/{instruction-discovery-0xezjjjn.js → file-retention-37ea9c2d.js} +8 -8
  37. package/dist/chunks/{instruction-discovery-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{instruction-discovery-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{instruction-discovery-b6gygkdw.js → file-retention-3hwn7j4h.js} +5 -5
  40. package/dist/chunks/{instruction-discovery-k5ycpxe4.js → file-retention-3pa89wpn.js} +4 -4
  41. package/dist/chunks/{instruction-discovery-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{instruction-discovery-3y377wv9.js → file-retention-3y377wv9.js} +1 -1
  44. package/dist/chunks/{instruction-discovery-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-4434d9q2.js → file-retention-4434d9q2.js} +2 -2
  46. package/dist/chunks/{instruction-discovery-pb4fdh5c.js → file-retention-4bzbvhwk.js} +15 -15
  47. package/dist/chunks/{instruction-discovery-rv5n7j43.js → file-retention-4re51v5c.js} +79 -79
  48. package/dist/chunks/{instruction-discovery-9wfzrxmy.js → file-retention-4wnyxfvg.js} +4 -4
  49. package/dist/chunks/{instruction-discovery-bcmjx010.js → file-retention-4x8je4cs.js} +25 -25
  50. package/dist/chunks/{instruction-discovery-bxvqbgr6.js → file-retention-4zeyygbb.js} +11 -11
  51. package/dist/chunks/{instruction-discovery-r94pvvab.js → file-retention-54ma36ye.js} +4 -4
  52. package/dist/chunks/{instruction-discovery-79vj9ttj.js → file-retention-54vb1344.js} +33 -33
  53. package/dist/chunks/{instruction-discovery-wxbrt247.js → file-retention-5526gnt0.js} +5 -5
  54. package/dist/chunks/{instruction-discovery-xfkkasph.js → file-retention-57b9ws8p.js} +7 -7
  55. package/dist/chunks/{instruction-discovery-zsr4wwhv.js → file-retention-5dkn69vz.js} +4 -4
  56. package/dist/chunks/file-retention-5fec3t3w.js +31 -0
  57. package/dist/chunks/{instruction-discovery-7rna5akc.js → file-retention-5g380qbr.js} +12 -12
  58. package/dist/chunks/{instruction-discovery-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{instruction-discovery-j9ckj638.js → file-retention-5shkaybx.js} +15 -15
  60. package/dist/chunks/{instruction-discovery-pgnspfd3.js → file-retention-5sn004hq.js} +19 -19
  61. package/dist/chunks/{instruction-discovery-79edx0mb.js → file-retention-5w8jzqx5.js} +3 -3
  62. package/dist/chunks/{instruction-discovery-5yzzbxa7.js → file-retention-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{instruction-discovery-x4fwsepj.js → file-retention-5z9rmvjz.js} +63 -63
  64. package/dist/chunks/{instruction-discovery-kfab6w5x.js → file-retention-641gya88.js} +1 -1
  65. package/dist/chunks/{instruction-discovery-0we0h601.js → file-retention-6gaajhts.js} +11 -11
  66. package/dist/chunks/{instruction-discovery-z2k32cdp.js → file-retention-6mbzp12p.js} +30 -30
  67. package/dist/chunks/{instruction-discovery-cqmz66tp.js → file-retention-6wh776qa.js} +3 -3
  68. package/dist/chunks/{instruction-discovery-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{instruction-discovery-2geymwnw.js → file-retention-700ev8gh.js} +35 -35
  70. package/dist/chunks/{instruction-discovery-71az546q.js → file-retention-71az546q.js} +2 -2
  71. package/dist/chunks/{instruction-discovery-qxjc9qry.js → file-retention-72sxpf59.js} +3 -3
  72. package/dist/chunks/{instruction-discovery-y7bnjqap.js → file-retention-75w0f5x3.js} +6 -6
  73. package/dist/chunks/{instruction-discovery-wcham18f.js → file-retention-76g80x4f.js} +3 -3
  74. package/dist/chunks/{instruction-discovery-f62qkzqr.js → file-retention-76rvckpe.js} +5 -5
  75. package/dist/chunks/{instruction-discovery-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{instruction-discovery-8xfrtn2e.js → file-retention-7cxxxtha.js} +47 -47
  77. package/dist/chunks/{instruction-discovery-0jwsre1p.js → file-retention-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{instruction-discovery-fcr3mt8k.js → file-retention-7fdjvgwr.js} +4 -4
  79. package/dist/chunks/{instruction-discovery-n7akkzww.js → file-retention-7j5w12p9.js} +33 -33
  80. package/dist/chunks/{instruction-discovery-8n1xcq6q.js → file-retention-7kk9evys.js} +4 -4
  81. package/dist/chunks/{instruction-discovery-xg6qg3nm.js → file-retention-7me7tz75.js} +4 -4
  82. package/dist/chunks/{instruction-discovery-tf0c2awf.js → file-retention-7pj8drkf.js} +11 -11
  83. package/dist/chunks/{instruction-discovery-yfhn5nrx.js → file-retention-81fjg4yx.js} +6 -6
  84. package/dist/chunks/{instruction-discovery-gdgw3x5a.js → file-retention-84wx499v.js} +28 -28
  85. package/dist/chunks/{instruction-discovery-q83947zm.js → file-retention-85snt3vs.js} +125 -125
  86. package/dist/chunks/{instruction-discovery-5pyjqqve.js → file-retention-85xxa1xb.js} +2 -2
  87. package/dist/chunks/{instruction-discovery-sezbf1v0.js → file-retention-87bzfwd4.js} +9 -9
  88. package/dist/chunks/{instruction-discovery-6k2hc147.js → file-retention-88pgeajf.js} +6 -6
  89. package/dist/chunks/{instruction-discovery-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
  90. package/dist/chunks/{instruction-discovery-af40zjcf.js → file-retention-8sd5y0hb.js} +24 -24
  91. package/dist/chunks/{instruction-discovery-tcay1cqt.js → file-retention-909p1r3q.js} +6 -6
  92. package/dist/chunks/{instruction-discovery-x0jg5t32.js → file-retention-90ncnea0.js} +15 -15
  93. package/dist/chunks/{instruction-discovery-sw89crrp.js → file-retention-998r05vw.js} +14 -14
  94. package/dist/chunks/{instruction-discovery-9e5bzkjp.js → file-retention-9e5bzkjp.js} +3 -3
  95. package/dist/chunks/{instruction-discovery-8swzzhdb.js → file-retention-9hy1eatw.js} +7 -7
  96. package/dist/chunks/{instruction-discovery-c7w2daa3.js → file-retention-9j1mbtc1.js} +15 -15
  97. package/dist/chunks/{instruction-discovery-49eq2tc2.js → file-retention-9r9w78qs.js} +9 -9
  98. package/dist/chunks/{instruction-discovery-60p1zxrk.js → file-retention-a0pnfrft.js} +34 -34
  99. package/dist/chunks/{instruction-discovery-chrxq3ex.js → file-retention-a310axxt.js} +16 -16
  100. package/dist/chunks/{instruction-discovery-nh9cv99v.js → file-retention-a9kdv268.js} +13 -13
  101. package/dist/chunks/{instruction-discovery-63fhbdq2.js → file-retention-ab8h52gf.js} +26 -26
  102. package/dist/chunks/{instruction-discovery-27zpda9y.js → file-retention-ac7rwfbv.js} +12 -12
  103. package/dist/chunks/{instruction-discovery-5fnjcay5.js → file-retention-adm4qcea.js} +32 -32
  104. package/dist/chunks/{instruction-discovery-cdpzxgfg.js → file-retention-ath3g41k.js} +38 -38
  105. package/dist/chunks/{instruction-discovery-rxkxex79.js → file-retention-azanj09g.js} +10 -10
  106. package/dist/chunks/{instruction-discovery-8vsr9pta.js → file-retention-azy71b5p.js} +10 -10
  107. package/dist/chunks/{instruction-discovery-f4284ta9.js → file-retention-b2tc811h.js} +7 -7
  108. package/dist/chunks/{instruction-discovery-scgrse2b.js → file-retention-b3f8fkhc.js} +5 -5
  109. package/dist/chunks/{instruction-discovery-vx3jgdek.js → file-retention-ba07h9gm.js} +3 -3
  110. package/dist/chunks/{instruction-discovery-vd95wqeb.js → file-retention-banfh6zd.js} +18 -18
  111. package/dist/chunks/{instruction-discovery-57dh3qy1.js → file-retention-bbcm0tyt.js} +73 -73
  112. package/dist/chunks/{instruction-discovery-1ygqh575.js → file-retention-bjx1sjef.js} +3 -3
  113. package/dist/chunks/{instruction-discovery-kvjzkr2v.js → file-retention-bkxyw0dr.js} +9 -9
  114. package/dist/chunks/{instruction-discovery-b08h51y8.js → file-retention-btmq9cxd.js} +11 -11
  115. package/dist/chunks/{instruction-discovery-e9ga1v8m.js → file-retention-btwe4kze.js} +2 -2
  116. package/dist/chunks/{instruction-discovery-602dh00x.js → file-retention-bzn6nda8.js} +11 -11
  117. package/dist/chunks/{instruction-discovery-50q9psn3.js → file-retention-cd70q2ry.js} +24 -24
  118. package/dist/chunks/{instruction-discovery-ckj0avjx.js → file-retention-ck45pw9k.js} +4 -4
  119. package/dist/chunks/{instruction-discovery-v23r60sg.js → file-retention-d580n77m.js} +11 -11
  120. package/dist/chunks/{instruction-discovery-hv4axfbz.js → file-retention-d6w343vm.js} +17 -17
  121. package/dist/chunks/{instruction-discovery-8a6ws7jr.js → file-retention-d7x0sh0y.js} +10 -10
  122. package/dist/chunks/{instruction-discovery-q5mm4580.js → file-retention-d7zv88p4.js} +14 -14
  123. package/dist/chunks/{instruction-discovery-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
  124. package/dist/chunks/{instruction-discovery-a75c3n10.js → file-retention-dwaxmk1s.js} +11 -11
  125. package/dist/chunks/{instruction-discovery-pwtcwx0t.js → file-retention-dwe8s81y.js} +8 -8
  126. package/dist/chunks/file-retention-dxj72tfx.js +18 -0
  127. package/dist/chunks/{instruction-discovery-5qd3pb7m.js → file-retention-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{instruction-discovery-egtbwj3m.js → file-retention-e4ma86vn.js} +10 -10
  129. package/dist/chunks/{instruction-discovery-3hmxmgkr.js → file-retention-e4nca66s.js} +5 -5
  130. package/dist/chunks/{instruction-discovery-9tw9cr0p.js → file-retention-e80jqawr.js} +16 -16
  131. package/dist/chunks/{instruction-discovery-fqyzxfb3.js → file-retention-ea9a622x.js} +8 -8
  132. package/dist/chunks/{instruction-discovery-gn494k17.js → file-retention-ecv6s6zk.js} +24 -24
  133. package/dist/chunks/{instruction-discovery-1dazxqgg.js → file-retention-eej6y6fw.js} +6 -6
  134. package/dist/chunks/{instruction-discovery-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{instruction-discovery-0stc2z4v.js → file-retention-ek3n6pab.js} +10 -10
  136. package/dist/chunks/{instruction-discovery-c8dqtw9g.js → file-retention-enqcm95t.js} +36 -36
  137. package/dist/chunks/{instruction-discovery-10r2mgvp.js → file-retention-eyhnzkb4.js} +3 -3
  138. package/dist/chunks/{instruction-discovery-5dnsm7b1.js → file-retention-eynxa54k.js} +44 -44
  139. package/dist/chunks/file-retention-f2fj5fz0.js +253 -0
  140. package/dist/chunks/{instruction-discovery-0vbd7zxx.js → file-retention-f8d5qev0.js} +10 -10
  141. package/dist/chunks/{instruction-discovery-f51fnx13.js → file-retention-fgjzfnyp.js} +5 -5
  142. package/dist/chunks/{instruction-discovery-a11hgr5e.js → file-retention-fhx5vk7x.js} +26 -26
  143. package/dist/chunks/{instruction-discovery-4cdv1at0.js → file-retention-fjh3s92b.js} +24 -24
  144. package/dist/chunks/{instruction-discovery-1kemzmpx.js → file-retention-fkrcgtjd.js} +8 -8
  145. package/dist/chunks/{instruction-discovery-v5dkyp31.js → file-retention-fm2qvscf.js} +4 -4
  146. package/dist/chunks/{instruction-discovery-8tj7q0dk.js → file-retention-frf5w0nt.js} +15 -15
  147. package/dist/chunks/{instruction-discovery-mreyc66c.js → file-retention-fshxsajn.js} +27 -27
  148. package/dist/chunks/{instruction-discovery-gf7945dc.js → file-retention-g7kzsnmy.js} +14 -14
  149. package/dist/chunks/{instruction-discovery-y6wkewnn.js → file-retention-g95216pe.js} +45 -45
  150. package/dist/chunks/{instruction-discovery-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{instruction-discovery-qkf3nnpx.js → file-retention-gfe3ax2q.js} +3 -3
  152. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → file-retention-gk8qb678.js} +4 -4
  153. package/dist/chunks/{instruction-discovery-at8ypwft.js → file-retention-gw2k9m0t.js} +14 -14
  154. package/dist/chunks/{instruction-discovery-r96p2y56.js → file-retention-gz086qgb.js} +10 -10
  155. package/dist/chunks/{instruction-discovery-h2b79v29.js → file-retention-h2b79v29.js} +2 -2
  156. package/dist/chunks/{instruction-discovery-z4p89hhw.js → file-retention-h5qdgnb5.js} +22 -22
  157. package/dist/chunks/{instruction-discovery-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{instruction-discovery-31xfzrxg.js → file-retention-h7s7r6s9.js} +5 -5
  159. package/dist/chunks/{instruction-discovery-44ak30pa.js → file-retention-h9pnpq88.js} +4 -4
  160. package/dist/chunks/{instruction-discovery-2a5m3afh.js → file-retention-hgz4x7wa.js} +4 -4
  161. package/dist/chunks/{instruction-discovery-pb85jpk7.js → file-retention-hn2ax6sd.js} +21 -21
  162. package/dist/chunks/{instruction-discovery-btgar8yp.js → file-retention-hnra3d6s.js} +5 -5
  163. package/dist/chunks/{instruction-discovery-mjxe5z4k.js → file-retention-hp90m9cj.js} +30 -30
  164. package/dist/chunks/{instruction-discovery-y1tpmgde.js → file-retention-hq6c81g9.js} +11 -11
  165. package/dist/chunks/{instruction-discovery-bpf208j3.js → file-retention-hrh521yf.js} +11 -11
  166. package/dist/chunks/{instruction-discovery-ystf5kkg.js → file-retention-hs4w86ex.js} +7 -7
  167. package/dist/chunks/{instruction-discovery-qqynch2e.js → file-retention-hs6v00ac.js} +11 -11
  168. package/dist/chunks/{instruction-discovery-gge0vm43.js → file-retention-hymc8p36.js} +8 -8
  169. package/dist/chunks/{instruction-discovery-1tjztkak.js → file-retention-j4hxg427.js} +4 -4
  170. package/dist/chunks/{instruction-discovery-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  171. package/dist/chunks/{instruction-discovery-he27pt63.js → file-retention-jhdf29st.js} +1 -1
  172. package/dist/chunks/{instruction-discovery-synadcw7.js → file-retention-jjenqzg1.js} +40 -40
  173. package/dist/chunks/{instruction-discovery-hq1vq67z.js → file-retention-jtmhc97q.js} +49 -49
  174. package/dist/chunks/{instruction-discovery-y8cydn3q.js → file-retention-jze0r7bz.js} +3 -8
  175. package/dist/chunks/{instruction-discovery-3ax2ysvz.js → file-retention-k3wcbxqn.js} +4 -4
  176. package/dist/chunks/{instruction-discovery-sv19v7sb.js → file-retention-k430jzx8.js} +12 -12
  177. package/dist/chunks/{instruction-discovery-r9w3djhf.js → file-retention-k79tzb9n.js} +8 -8
  178. package/dist/chunks/{instruction-discovery-s5zmf07f.js → file-retention-ka5c30pq.js} +20 -20
  179. package/dist/chunks/{instruction-discovery-cqs6vem1.js → file-retention-kksd5aqz.js} +28 -28
  180. package/dist/chunks/{instruction-discovery-k3wb8j43.js → file-retention-kkymj4jt.js} +16 -16
  181. package/dist/chunks/{instruction-discovery-t7n9q6bq.js → file-retention-kne8f3cn.js} +4 -4
  182. package/dist/chunks/{instruction-discovery-bm9y40sw.js → file-retention-ks6sgrkr.js} +2 -2
  183. package/dist/chunks/{instruction-discovery-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{instruction-discovery-17mpb7fd.js → file-retention-m6y8pydv.js} +4 -4
  185. package/dist/chunks/{instruction-discovery-syz74wzn.js → file-retention-m8q1dgfp.js} +3 -3
  186. package/dist/chunks/{instruction-discovery-r3q6pmcz.js → file-retention-m91gvp7t.js} +6 -6
  187. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{instruction-discovery-xmqf1fmd.js → file-retention-mcp2qyd7.js} +17 -17
  189. package/dist/chunks/{instruction-discovery-y8vrn31s.js → file-retention-md08r0z8.js} +24 -24
  190. package/dist/chunks/{instruction-discovery-cqchcp8x.js → file-retention-mm2pt0qe.js} +11 -11
  191. package/dist/chunks/{instruction-discovery-8b5rhhee.js → file-retention-mmsbfapg.js} +1 -1
  192. package/dist/chunks/{instruction-discovery-4j5x2wz8.js → file-retention-msa89gt8.js} +14 -14
  193. package/dist/chunks/{instruction-discovery-nj2dn555.js → file-retention-mvsrg00e.js} +19 -19
  194. package/dist/chunks/{instruction-discovery-e8529jhe.js → file-retention-mx7expm3.js} +14 -14
  195. package/dist/chunks/{instruction-discovery-6nsn052z.js → file-retention-my8b67cc.js} +11 -11
  196. package/dist/chunks/{instruction-discovery-xrx0vcgk.js → file-retention-n7chjqa1.js} +15 -15
  197. package/dist/chunks/{instruction-discovery-8stx3s0r.js → file-retention-nb1wrey8.js} +7 -7
  198. package/dist/chunks/{instruction-discovery-9w7chaj1.js → file-retention-nge58cm1.js} +13 -13
  199. package/dist/chunks/{instruction-discovery-akv18b54.js → file-retention-nqj1gben.js} +20 -20
  200. package/dist/chunks/file-retention-nxaxcbj9.js +26 -0
  201. package/dist/chunks/{instruction-discovery-9av7h1n2.js → file-retention-pdetw647.js} +11 -11
  202. package/dist/chunks/{instruction-discovery-gh15yn4h.js → file-retention-pgdn5y71.js} +16 -16
  203. package/dist/chunks/{instruction-discovery-t2vr066h.js → file-retention-phxa5z0e.js} +7 -7
  204. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{instruction-discovery-pknna89w.js → file-retention-pknna89w.js} +1 -1
  206. package/dist/chunks/{instruction-discovery-d858xzj7.js → file-retention-pmwpe40e.js} +4 -4
  207. package/dist/chunks/{instruction-discovery-xvg5nvxt.js → file-retention-pq6k9xjj.js} +4 -4
  208. package/dist/chunks/{instruction-discovery-0ged7w62.js → file-retention-pr54a62y.js} +24 -24
  209. package/dist/chunks/{instruction-discovery-3w5fmr99.js → file-retention-pyv0edze.js} +8 -5
  210. package/dist/chunks/{instruction-discovery-2wdw534y.js → file-retention-q3qqjc4j.js} +8 -8
  211. package/dist/chunks/{instruction-discovery-686tktas.js → file-retention-q4dve0yc.js} +9 -9
  212. package/dist/chunks/{instruction-discovery-9bvphjpv.js → file-retention-qf6etae5.js} +8 -8
  213. package/dist/chunks/{instruction-discovery-m8w6th39.js → file-retention-qmqgtz8f.js} +9 -9
  214. package/dist/chunks/{instruction-discovery-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{instruction-discovery-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  216. package/dist/chunks/{instruction-discovery-65b4pyhp.js → file-retention-qsxkee9e.js} +14 -14
  217. package/dist/chunks/{instruction-discovery-qkmtz0t6.js → file-retention-qthw6f29.js} +11 -11
  218. package/dist/chunks/{instruction-discovery-n2rqx0tz.js → file-retention-r2ktrraj.js} +19 -19
  219. package/dist/chunks/{instruction-discovery-73tb2d7t.js → file-retention-r2z489rp.js} +4 -4
  220. package/dist/chunks/{instruction-discovery-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{instruction-discovery-qq85v7zp.js → file-retention-rr9cc36v.js} +9 -9
  222. package/dist/chunks/{instruction-discovery-xk4rh883.js → file-retention-rtg4wmet.js} +2 -2
  223. package/dist/chunks/{instruction-discovery-t5yd8hbr.js → file-retention-ryndta0d.js} +9 -9
  224. package/dist/chunks/{instruction-discovery-1k2smawz.js → file-retention-s4wwhvjv.js} +13 -13
  225. package/dist/chunks/{instruction-discovery-s8d7rejh.js → file-retention-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{instruction-discovery-6qskr82s.js → file-retention-sd2fp9ec.js} +13 -13
  227. package/dist/chunks/{instruction-discovery-w7vtn5sw.js → file-retention-sf9ed94r.js} +2 -2
  228. package/dist/chunks/{instruction-discovery-4rkyb0s7.js → file-retention-sfczn6wa.js} +8 -8
  229. package/dist/chunks/{instruction-discovery-kyktj0vd.js → file-retention-spqcpneg.js} +6 -6
  230. package/dist/chunks/{instruction-discovery-p2783dtm.js → file-retention-sww10ew7.js} +13 -13
  231. package/dist/chunks/{instruction-discovery-34qpsr95.js → file-retention-t171g2rj.js} +8 -8
  232. package/dist/chunks/{instruction-discovery-t323t0gb.js → file-retention-t3kgvaqg.js} +2 -2
  233. package/dist/chunks/{instruction-discovery-zpj5ct35.js → file-retention-t5ae1t4b.js} +25 -25
  234. package/dist/chunks/{instruction-discovery-yhq47pcp.js → file-retention-t8g2rvm9.js} +7 -7
  235. package/dist/chunks/{instruction-discovery-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{instruction-discovery-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{instruction-discovery-tdstcens.js → file-retention-tdstcens.js} +1 -1
  238. package/dist/chunks/{instruction-discovery-feetnjr6.js → file-retention-thygzj8s.js} +27 -27
  239. package/dist/chunks/{instruction-discovery-4xpgt2w9.js → file-retention-tk14y25j.js} +5 -5
  240. package/dist/chunks/{instruction-discovery-etq0c3wd.js → file-retention-tyytaxap.js} +2 -2
  241. package/dist/chunks/{instruction-discovery-aaet6srn.js → file-retention-v7p4zvkq.js} +9 -9
  242. package/dist/chunks/{instruction-discovery-7ryxxm4b.js → file-retention-v7rdbjkx.js} +25 -25
  243. package/dist/chunks/{instruction-discovery-2as4tx64.js → file-retention-v97fnpgb.js} +1 -1
  244. package/dist/chunks/{instruction-discovery-ze5v0a14.js → file-retention-vbrars45.js} +9 -9
  245. package/dist/chunks/{instruction-discovery-s69ykywc.js → file-retention-vcn79w6t.js} +3 -3
  246. package/dist/chunks/{instruction-discovery-x4mjcayf.js → file-retention-vczmck8z.js} +13 -13
  247. package/dist/chunks/{instruction-discovery-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  248. package/dist/chunks/{instruction-discovery-89bb6baa.js → file-retention-vwpcpzep.js} +8 -8
  249. package/dist/chunks/{instruction-discovery-x34zhfjm.js → file-retention-vytaj533.js} +26 -26
  250. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-w1eejvng.js → file-retention-w1eejvng.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{instruction-discovery-68vyckmv.js → file-retention-waztmdc6.js} +20 -20
  254. package/dist/chunks/{instruction-discovery-6ws5tars.js → file-retention-wcdwbs26.js} +18 -18
  255. package/dist/chunks/{instruction-discovery-wd87259q.js → file-retention-wd87259q.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-z8bhx33c.js → file-retention-wsq1jxfe.js} +34 -34
  257. package/dist/chunks/{instruction-discovery-6caak1jq.js → file-retention-wx15gkxh.js} +16 -16
  258. package/dist/chunks/{instruction-discovery-cfxa9as9.js → file-retention-wy0w7taj.js} +9 -9
  259. package/dist/chunks/{instruction-discovery-rp2ppsw4.js → file-retention-x0q3bb0r.js} +26 -26
  260. package/dist/chunks/{instruction-discovery-0m8hv4nh.js → file-retention-x47gwdav.js} +11 -11
  261. package/dist/chunks/{instruction-discovery-ycjk77ae.js → file-retention-x799tqys.js} +15 -15
  262. package/dist/chunks/{instruction-discovery-eb5z6jr7.js → file-retention-xc914k0j.js} +24 -24
  263. package/dist/chunks/{instruction-discovery-a1ct5nee.js → file-retention-xdqkszf6.js} +16 -16
  264. package/dist/chunks/{instruction-discovery-d2q60j7m.js → file-retention-xhr4eg5m.js} +12 -12
  265. package/dist/chunks/{instruction-discovery-tm3atzj4.js → file-retention-xhvwjgs8.js} +42 -42
  266. package/dist/chunks/{instruction-discovery-wjz06c0c.js → file-retention-xnyn0jx3.js} +14 -14
  267. package/dist/chunks/{instruction-discovery-857eprax.js → file-retention-xrmap3r6.js} +7 -9
  268. package/dist/chunks/{instruction-discovery-m59p890d.js → file-retention-xwfqprxb.js} +7 -7
  269. package/dist/chunks/{instruction-discovery-avcq3x7p.js → file-retention-xxy9zgkz.js} +20 -20
  270. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{instruction-discovery-g4f17vch.js → file-retention-y497myth.js} +1 -1
  272. package/dist/chunks/{instruction-discovery-5th9bftb.js → file-retention-y5y4kes7.js} +58 -37
  273. package/dist/chunks/{instruction-discovery-ykqrqqm6.js → file-retention-y6nv3cb4.js} +24 -24
  274. package/dist/chunks/{instruction-discovery-ncjwbx8b.js → file-retention-ycd7fagt.js} +24 -24
  275. package/dist/chunks/{instruction-discovery-aecw5y3e.js → file-retention-ymh22vxa.js} +9 -9
  276. package/dist/chunks/{instruction-discovery-1tbv6vyw.js → file-retention-ynmknp8q.js} +19 -21
  277. package/dist/chunks/{instruction-discovery-1acjjqhc.js → file-retention-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{instruction-discovery-h4wwbfpj.js → file-retention-ytt0bby0.js} +10 -10
  279. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{instruction-discovery-zhz6d7qj.js → file-retention-z3db4tjk.js} +21 -21
  281. package/dist/chunks/{instruction-discovery-1swkvkvd.js → file-retention-z71twgyp.js} +1 -1
  282. package/dist/chunks/{instruction-discovery-fd3yny95.js → file-retention-z7qtbqvc.js} +19 -19
  283. package/dist/chunks/{instruction-discovery-rz911c4y.js → file-retention-zfs8ae4p.js} +4 -4
  284. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{instruction-discovery-h0xvqqwh.js → file-retention-zrnmd36g.js} +6 -6
  286. package/dist/chunks/{instruction-discovery-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +11 -11
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +78 -78
  292. package/dist/config/discovery.js +83 -83
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +100 -100
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +118 -118
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +91 -91
  303. package/dist/config/plugin/location-watcher.js +119 -119
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +118 -118
  306. package/dist/config/plugin/provider.js +117 -117
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +119 -119
  309. package/dist/config/plugin/skill-file.js +103 -103
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +120 -120
  313. package/dist/config/plugin/tool-output.js +118 -118
  314. package/dist/config/plugin/websearch.js +118 -118
  315. package/dist/config/plugin/worktree.js +119 -119
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +122 -122
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +74 -74
  321. package/dist/database/database.js +67 -67
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration.gen.js +50 -50
  388. package/dist/database/migration.js +52 -52
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +4 -4
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +4 -4
  395. package/dist/database/sqlite.workerd.js +4 -4
  396. package/dist/database/v1-migration.bun.js +77 -77
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +94 -94
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +3 -3
  406. package/dist/environment/index.js +98 -98
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +2 -2
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +71 -71
  412. package/dist/file-access.js +105 -105
  413. package/dist/file-mutation.js +95 -95
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +221 -221
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +104 -104
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +103 -103
  426. package/dist/form.js +71 -71
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +88 -88
  429. package/dist/generate.js +104 -104
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +100 -100
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +357 -357
  454. package/dist/instruction-discovery.js +86 -86
  455. package/dist/instructions/builtins.js +88 -88
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +78 -78
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +74 -74
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-lifecycle.js +104 -104
  464. package/dist/location-service-map.js +87 -87
  465. package/dist/location-services.js +354 -354
  466. package/dist/location.js +82 -82
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +92 -92
  469. package/dist/mcp/index.js +98 -98
  470. package/dist/mcp/instructions.js +124 -124
  471. package/dist/mcp/oauth.js +76 -76
  472. package/dist/mcp/stdio.js +91 -91
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +100 -100
  475. package/dist/model-resolver.js +99 -99
  476. package/dist/model.js +97 -97
  477. package/dist/models-dev.js +106 -106
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +81 -81
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +114 -114
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +87 -87
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +76 -76
  487. package/dist/plugin/agent.js +73 -73
  488. package/dist/plugin/command.js +101 -101
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +212 -212
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +329 -329
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +97 -97
  496. package/dist/plugin/module.js +118 -118
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +103 -103
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  501. package/dist/plugin/provider/azure.js +116 -116
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +95 -95
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +113 -113
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +94 -94
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +96 -96
  513. package/dist/plugin/provider/gitlab.js +94 -94
  514. package/dist/plugin/provider/google-vertex.js +114 -114
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +79 -79
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/local.js +114 -114
  519. package/dist/plugin/provider/modal.js +93 -93
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +117 -117
  523. package/dist/plugin/provider/openai.js +96 -96
  524. package/dist/plugin/provider/opencode.js +98 -98
  525. package/dist/plugin/provider/openrouter.js +92 -92
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +80 -80
  528. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  529. package/dist/plugin/provider/sap-ai-core.js +92 -92
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  532. package/dist/plugin/provider/vercel.js +91 -91
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +92 -92
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +77 -77
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +348 -348
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +4 -4
  544. package/dist/plugin/vcs/git.js +87 -87
  545. package/dist/plugin/vcs/hg.js +87 -87
  546. package/dist/plugin/verbosity.js +94 -94
  547. package/dist/plugin/warming.js +115 -115
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +215 -215
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +81 -81
  559. package/dist/provider.js +96 -96
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +92 -92
  563. package/dist/reference/instructions.js +90 -90
  564. package/dist/reference.js +92 -92
  565. package/dist/repository-cache.js +82 -82
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +87 -87
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +75 -75
  573. package/dist/session/compaction.js +134 -134
  574. package/dist/session/context.js +152 -152
  575. package/dist/session/diff.js +89 -89
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +215 -215
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +153 -153
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +85 -85
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +80 -80
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +98 -98
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +119 -119
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +87 -87
  594. package/dist/session/prompt.js +106 -106
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +91 -91
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +225 -225
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +99 -99
  602. package/dist/session/runner/publish-llm-event.js +114 -114
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +126 -126
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +163 -163
  608. package/dist/session/shell.js +131 -131
  609. package/dist/session/skill.js +106 -106
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +74 -74
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +206 -206
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +158 -158
  617. package/dist/session/to-session-error.js +112 -112
  618. package/dist/session/transfer.js +208 -208
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +210 -210
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +131 -131
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +108 -108
  628. package/dist/skill.js +113 -113
  629. package/dist/snapshot.js +94 -94
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +121 -121
  634. package/dist/tool/plugin/edit.js +121 -121
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +125 -125
  637. package/dist/tool/plugin/grep.js +125 -125
  638. package/dist/tool/plugin/mcp-resource.js +118 -118
  639. package/dist/tool/plugin/opencode.js +110 -110
  640. package/dist/tool/plugin/patch.js +123 -123
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +126 -126
  643. package/dist/tool/plugin/shell.js +211 -211
  644. package/dist/tool/plugin/skill.js +114 -114
  645. package/dist/tool/plugin/subagent.js +213 -213
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +115 -115
  648. package/dist/tool/plugin/write.js +123 -123
  649. package/dist/tool/read-filesystem.js +101 -101
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/types/bus.d.ts +2 -2
  654. package/dist/types/database/database.d.ts +1 -1
  655. package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
  656. package/dist/types/database/drizzle/effect-sqlite/session.d.ts +2 -2
  657. package/dist/types/database/drizzle/sqlite-core/effect/db.d.ts +1 -1
  658. package/dist/types/database/drizzle/sqlite-core/effect/session.d.ts +1 -1
  659. package/dist/types/database/sqlite.bun.d.ts +1 -1
  660. package/dist/types/database/sqlite.d.ts +4 -4
  661. package/dist/types/database/sqlite.node.d.ts +1 -1
  662. package/dist/types/database/sqlite.workerd.d.ts +1 -1
  663. package/dist/types/effect/app-node-platform.d.ts +1 -1
  664. package/dist/types/effect/websocket-constructor.d.ts +1 -1
  665. package/dist/types/environment/driver.d.ts +1 -1
  666. package/dist/types/environment/environment.d.ts +1 -1
  667. package/dist/types/environment/exec-defaults.d.ts +1 -1
  668. package/dist/types/environment/local.d.ts +1 -1
  669. package/dist/types/environment/unavailable.d.ts +7 -7
  670. package/dist/types/models-dev.d.ts +1 -1
  671. package/dist/types/plugin/internal.d.ts +1 -1
  672. package/dist/types/plugin/provider/azure.d.ts +1 -1
  673. package/dist/types/plugin/provider/chatgpt.d.ts +2 -2
  674. package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
  675. package/dist/types/plugin/provider/gitlab.d.ts +1 -1
  676. package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
  677. package/dist/types/plugin/provider/local.d.ts +4 -4
  678. package/dist/types/plugin/provider/ollama.d.ts +2 -2
  679. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  680. package/dist/types/plugin/provider/poe.d.ts +1 -1
  681. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
  682. package/dist/types/plugin/provider/vllm.d.ts +2 -2
  683. package/dist/types/plugin/websearch/exa.d.ts +1 -1
  684. package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
  685. package/dist/types/plugin/websearch/index.d.ts +1 -1
  686. package/dist/types/plugin/websearch/mcp.d.ts +2 -2
  687. package/dist/types/plugin/websearch/parallel.d.ts +1 -1
  688. package/dist/types/plugin/websearch/tavily.d.ts +1 -1
  689. package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
  690. package/dist/types/session/diff.d.ts +1 -1
  691. package/dist/types/session/history.d.ts +5 -5
  692. package/dist/types/session/inbox.d.ts +10 -10
  693. package/dist/types/session/instruction-entry.d.ts +2 -2
  694. package/dist/types/session/instruction-state.d.ts +10 -10
  695. package/dist/types/session/model-transport.d.ts +1 -1
  696. package/dist/types/tool/http-body.d.ts +2 -2
  697. package/dist/types/tool/plugin/webfetch.d.ts +1 -1
  698. package/dist/types/v1/config/agent.d.ts +6 -66
  699. package/dist/types/v1/config/migrate.d.ts +1 -1
  700. package/dist/types/v1/config/permission.d.ts +5 -53
  701. package/dist/types/wellknown.d.ts +1 -1
  702. package/dist/util/error-summary.js +1 -1
  703. package/dist/util/error.js +1 -1
  704. package/dist/util/git-executable.js +2 -2
  705. package/dist/util/iife.js +1 -1
  706. package/dist/util/lazy.js +1 -1
  707. package/dist/util/slug.js +1 -1
  708. package/dist/util/token.js +1 -1
  709. package/dist/util/which.js +1 -1
  710. package/dist/util/wildcard.js +1 -1
  711. package/dist/v1/config/agent.js +7 -7
  712. package/dist/v1/config/command.js +3 -3
  713. package/dist/v1/config/error.js +4 -4
  714. package/dist/v1/config/mcp.js +4 -4
  715. package/dist/v1/config/migrate.js +93 -93
  716. package/dist/v1/config/permission.js +9 -7
  717. package/dist/v1/config/plugin.js +3 -3
  718. package/dist/v1/config/provider-options.js +1 -1
  719. package/dist/v1/config/provider.js +4 -4
  720. package/dist/variant.js +92 -92
  721. package/dist/vcs/patch.js +1 -1
  722. package/dist/vcs.js +90 -90
  723. package/dist/websearch.js +85 -85
  724. package/dist/wellknown/plugin.js +77 -77
  725. package/dist/wellknown.js +82 -82
  726. package/dist/workspace/driver.js +5 -5
  727. package/dist/workspace/sql.js +1 -1
  728. package/dist/workspace.js +85 -83
  729. package/dist/worktree/directory.js +2 -2
  730. package/dist/worktree/git.js +8 -8
  731. package/dist/worktree/sql.js +5 -5
  732. package/dist/worktree/strategies.js +90 -90
  733. package/dist/worktree.js +95 -95
  734. package/package.json +13 -12
  735. package/dist/chunks/instruction-discovery-4n467418.js +0 -26
  736. package/dist/chunks/instruction-discovery-50mzsvk4.js +0 -41
  737. package/dist/chunks/instruction-discovery-gvycgm0h.js +0 -253
  738. package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
  739. package/dist/chunks/instruction-discovery-nhyhg56g.js +0 -513
  740. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-3asan66x.js → file-retention-3asan66x.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-53557ph1.js → file-retention-53557ph1.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-6prwharc.js → file-retention-6prwharc.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-822emrt2.js → file-retention-822emrt2.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-bw78ga2c.js → file-retention-bw78ga2c.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-df08tz66.js → file-retention-df08tz66.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-g86h250q.js → file-retention-g86h250q.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-gftt206x.js → file-retention-gftt206x.js} +0 -0
  802. /package/dist/chunks/{instruction-discovery-hk9envan.js → file-retention-hk9envan.js} +0 -0
  803. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  804. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  805. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  806. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  807. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  808. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  809. /package/dist/chunks/{instruction-discovery-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  810. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  811. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  812. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  813. /package/dist/chunks/{instruction-discovery-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  814. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  815. /package/dist/chunks/{instruction-discovery-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  816. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  817. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  818. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  819. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  820. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  821. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  822. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  823. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  824. /package/dist/chunks/{instruction-discovery-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  825. /package/dist/chunks/{instruction-discovery-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  826. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  827. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  828. /package/dist/chunks/{instruction-discovery-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  829. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  830. /package/dist/chunks/{instruction-discovery-x61499pn.js → file-retention-x61499pn.js} +0 -0
  831. /package/dist/chunks/{instruction-discovery-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  832. /package/dist/chunks/{instruction-discovery-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  833. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  834. /package/dist/chunks/{instruction-discovery-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  835. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  836. /package/dist/chunks/{instruction-discovery-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./instruction-discovery-yfhn5nrx.js";
3
+ } from "./file-retention-81fjg4yx.js";
4
4
  import {
5
- Service65
6
- } from "./instruction-discovery-hq1vq67z.js";
5
+ Service54
6
+ } from "./file-retention-jtmhc97q.js";
7
7
  import {
8
- Service12
9
- } from "./instruction-discovery-xrx0vcgk.js";
8
+ Service18
9
+ } from "./file-retention-n7chjqa1.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./instruction-discovery-0vbcp93d.js";
12
+ } from "./file-retention-0vbcp93d.js";
13
13
  import {
14
- Info5,
14
+ Info4,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./instruction-discovery-z2k32cdp.js";
19
+ } from "./file-retention-6mbzp12p.js";
20
20
  import {
21
21
  __export
22
- } from "./instruction-discovery-9rqn6x4v.js";
22
+ } from "./file-retention-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin18,
30
+ Plugin: () => Plugin40,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin18 = {
100
+ var Plugin40 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service12;
104
- const permission = yield* Service65;
103
+ const access = yield* Service18;
104
+ const permission = yield* Service54;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin18 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info5,
156
+ output: Info4,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin18, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin40, exports_opencode };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./instruction-discovery-z5v4ffb3.js";
5
+ } from "./file-retention-z5v4ffb3.js";
6
6
  import {
7
7
  Service78,
8
8
  node82
9
- } from "./instruction-discovery-w7vtn5sw.js";
9
+ } from "./file-retention-sf9ed94r.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./instruction-discovery-bcmjx010.js";
11
+ Service22,
12
+ node24
13
+ } from "./file-retention-4x8je4cs.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event2,
27
+ Event: () => Event4,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError2,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service15,
36
+ Service: () => Service21,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node17
40
+ node: () => node23
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event2 = FileSystem.Event;
108
+ var Event4 = FileSystem.Event;
109
109
 
110
- class Service15 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service21 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service78;
115
- const search = yield* Service16;
115
+ const search = yield* Service22;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError2({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError2({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError2({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service15.of({
134
+ return Service21.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError2({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node17 = makeLocationNode({
175
- service: Service15,
174
+ var node23 = makeLocationNode({
175
+ service: Service21,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node82, node18]
177
+ deps: [FSUtil.node, node82, node24]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service21, node23, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./instruction-discovery-963fmf73.js";
4
+ } from "./file-retention-226karrg.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info21,
9
9
  compatibility2
10
- } from "./instruction-discovery-nj2dn555.js";
10
+ } from "./file-retention-mvsrg00e.js";
11
11
  import {
12
12
  __export
13
- } from "./instruction-discovery-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service68
4
- } from "./instruction-discovery-50q9psn3.js";
2
+ ID8,
3
+ Service57
4
+ } from "./file-retention-cd70q2ry.js";
5
5
  import {
6
6
  Ref2,
7
- Service71
8
- } from "./instruction-discovery-nj2dn555.js";
7
+ Service76
8
+ } from "./file-retention-mvsrg00e.js";
9
9
  import {
10
10
  latest2,
11
- Service55
12
- } from "./instruction-discovery-t2jc4d6d.js";
11
+ Service66
12
+ } from "./file-retention-1f2vccss.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./instruction-discovery-vx3jgdek.js";
15
+ } from "./file-retention-ba07h9gm.js";
16
16
  import {
17
- Service49
18
- } from "./instruction-discovery-wjz06c0c.js";
17
+ Service47
18
+ } from "./file-retention-xnyn0jx3.js";
19
19
  import {
20
20
  evaluate2,
21
- Service65
22
- } from "./instruction-discovery-hq1vq67z.js";
21
+ Service54
22
+ } from "./file-retention-jtmhc97q.js";
23
23
  import {
24
- Service28
25
- } from "./instruction-discovery-rv5n7j43.js";
24
+ Service27
25
+ } from "./file-retention-4re51v5c.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./instruction-discovery-6xb47vfp.js";
28
+ } from "./file-retention-6xb47vfp.js";
29
29
  import {
30
- Service10
31
- } from "./instruction-discovery-pgnspfd3.js";
30
+ Service11
31
+ } from "./file-retention-5sn004hq.js";
32
32
  import {
33
33
  __export
34
- } from "./instruction-discovery-9rqn6x4v.js";
34
+ } from "./file-retention-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input2,
40
- Output: () => Output2,
41
- Plugin: () => Plugin17,
39
+ Input: () => Input6,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin43,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description3,
44
+ name: () => name6
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name6 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input2 = Schema.Struct({
59
+ var Input6 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output2 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin17 = {
89
+ var Plugin43 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service28;
93
- const jobs = yield* Service49;
94
- const agents = yield* Service68;
95
- const config = yield* Service55;
96
- const permission = yield* Service65;
97
- const models = yield* Service71;
98
- const subagents = yield* Service10;
92
+ const sessions = yield* Service27;
93
+ const jobs = yield* Service47;
94
+ const agents = yield* Service57;
95
+ const config = yield* Service66;
96
+ const permission = yield* Service54;
97
+ const models = yield* Service76;
98
+ const subagents = yield* Service11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin17 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name6,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description3,
121
+ input: Input6,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin17 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name2,
142
+ action: name6,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin17 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID8.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name2 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name6 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name2];
233
+ const tool = event.tools[name6];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name2, Input2, Output2, description2, Plugin17, exports_subagent };
256
+ export { name6, Input6, Output5, description3, Plugin43, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./instruction-discovery-xg6qg3nm.js";
3
+ } from "./file-retention-7me7tz75.js";
4
4
  import {
5
5
  apply3
6
- } from "./instruction-discovery-s69ykywc.js";
6
+ } from "./file-retention-vcn79w6t.js";
7
7
  import {
8
8
  __export
9
- } from "./instruction-discovery-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  which2
3
- } from "./instruction-discovery-qaymkmh1.js";
3
+ } from "./file-retention-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
7
7
  import { Context, Effect, Layer, Stream } from "effect";
8
- import { HttpClient, HttpClientRequest } from "effect/unstable/http";
9
- import { ChildProcess } from "effect/unstable/process";
10
- import { ChildProcessSpawner } from "effect/unstable/process/ChildProcessSpawner";
8
+ import { HttpClient, HttpClientRequest } from "effect/http";
9
+ import { ChildProcess } from "effect/process";
10
+ import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
11
11
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
12
12
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
13
13
  import { httpClient } from "@opencode/util/effect/app-node-platform";
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./instruction-discovery-dpkg50ah.js";
3
+ } from "./file-retention-dpkg50ah.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./instruction-discovery-17mpb7fd.js";
7
+ } from "./file-retention-m6y8pydv.js";
8
8
  import {
9
9
  Event20,
10
10
  Service82,
11
11
  node86
12
- } from "./instruction-discovery-wxbrt247.js";
12
+ } from "./file-retention-5526gnt0.js";
13
13
  import {
14
14
  Service78,
15
15
  node82
16
- } from "./instruction-discovery-w7vtn5sw.js";
16
+ } from "./file-retention-sf9ed94r.js";
17
17
  import {
18
- Service57,
19
- node59
20
- } from "./instruction-discovery-ncjwbx8b.js";
18
+ Service64,
19
+ node67
20
+ } from "./file-retention-ycd7fagt.js";
21
21
  import {
22
22
  ID18,
23
23
  Service83,
24
24
  node87
25
- } from "./instruction-discovery-t323t0gb.js";
25
+ } from "./file-retention-t3kgvaqg.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./instruction-discovery-rdw6cm16.js";
29
+ } from "./file-retention-rdw6cm16.js";
30
30
  import {
31
31
  ID16,
32
32
  MethodID2,
33
33
  Service81,
34
34
  node85
35
- } from "./instruction-discovery-8stx3s0r.js";
35
+ } from "./file-retention-nb1wrey8.js";
36
36
  import {
37
37
  __export
38
- } from "./instruction-discovery-9rqn6x4v.js";
38
+ } from "./file-retention-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -113,7 +113,7 @@ var Options4 = Schema.Struct({
113
113
  });
114
114
  var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
115
  const location = yield* Service78;
116
- const environment = yield* Service57;
116
+ const environment = yield* Service64;
117
117
  const bus = yield* Service84;
118
118
  const forms = yield* Service83;
119
119
  const integration = yield* Service81;
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -534,7 +534,7 @@ function configured4(options) {
534
534
  return makeLocationNode({
535
535
  service: Service39,
536
536
  layer: layer15(options),
537
- deps: [node82, node59, node88, node87, node85, node86]
537
+ deps: [node82, node67, node88, node87, node85, node86]
538
538
  });
539
539
  }
540
540
  var node42 = configured4();
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./instruction-discovery-bpf208j3.js";
3
+ } from "./file-retention-hrh521yf.js";
4
4
  import {
5
5
  call2
6
- } from "./instruction-discovery-1ygqh575.js";
6
+ } from "./file-retention-bjx1sjef.js";
7
7
  import {
8
8
  __export
9
- } from "./instruction-discovery-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin6,
14
+ Plugin: () => Plugin10,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
- import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
20
+ import { HttpClient } from "effect/http";
21
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin6 = define({
36
+ var Plugin10 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin6 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin6 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint4, Plugin6, exports_tinyfish };
76
+ export { endpoint5, Plugin10, exports_tinyfish };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./instruction-discovery-qnc92qwc.js";
4
+ } from "./file-retention-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./instruction-discovery-qfa1cgps.js";
7
+ } from "./file-retention-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";