@opencode-ai/core 0.0.0-dev-19148 → 0.0.0-dev-19150

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 (776) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{location-service-map-e2meq0rc.js → file-00hg641b.js} +26 -26
  9. package/dist/chunks/{location-service-map-3s21hx6e.js → file-039at7ym.js} +54 -54
  10. package/dist/chunks/{location-service-map-qe2f72y1.js → file-07zcvmjy.js} +17 -17
  11. package/dist/chunks/{location-service-map-h722e297.js → file-0b89de78.js} +5 -5
  12. package/dist/chunks/{location-service-map-0e0xafbb.js → file-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{location-service-map-p1agt55m.js → file-0e8zkcgz.js} +17 -17
  14. package/dist/chunks/{location-service-map-zbnhqhy2.js → file-0f1c069v.js} +11 -11
  15. package/dist/chunks/{location-service-map-m3550wrf.js → file-0nwt5npc.js} +2 -2
  16. package/dist/chunks/{location-service-map-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{location-service-map-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{location-service-map-g1efgppa.js → file-0stjwqe4.js} +18 -18
  19. package/dist/chunks/{location-service-map-k4cqv5tf.js → file-0xjbaykp.js} +34 -34
  20. package/dist/chunks/{location-service-map-j83byb14.js → file-1a6p2twq.js} +4 -4
  21. package/dist/chunks/{location-service-map-re9ss62v.js → file-1bwaarmf.js} +2 -2
  22. package/dist/chunks/{location-service-map-1ct4r87x.js → file-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{location-service-map-h9gn2f9p.js → file-1hy241bm.js} +1 -1
  24. package/dist/chunks/{location-service-map-famd3pv6.js → file-1mrma768.js} +5 -5
  25. package/dist/chunks/{location-service-map-637qq8n2.js → file-1n116cmy.js} +9 -9
  26. package/dist/chunks/{location-service-map-4hk62fah.js → file-1sqh6t30.js} +3 -3
  27. package/dist/chunks/{location-service-map-3gz3fae6.js → file-1z4eqvhn.js} +4 -4
  28. package/dist/chunks/{location-service-map-21r38tys.js → file-21r38tys.js} +1 -1
  29. package/dist/chunks/{location-service-map-mkhaqzvs.js → file-23k12ske.js} +29 -29
  30. package/dist/chunks/{location-service-map-2402vzrj.js → file-2402vzrj.js} +1 -1
  31. package/dist/chunks/{location-service-map-w8c40dj8.js → file-299sgebr.js} +6 -6
  32. package/dist/chunks/{location-service-map-z63w68vq.js → file-29x78va6.js} +6 -6
  33. package/dist/chunks/{location-service-map-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{location-service-map-v8jtv36f.js → file-2cefwke5.js} +30 -30
  35. package/dist/chunks/{location-service-map-5gdkses6.js → file-2cpc15r0.js} +10 -10
  36. package/dist/chunks/{location-service-map-zj32m2et.js → file-2epja08c.js} +16 -16
  37. package/dist/chunks/{location-service-map-2ht70gj7.js → file-2ht70gj7.js} +1 -1
  38. package/dist/chunks/{location-service-map-2jqmte8w.js → file-2jqmte8w.js} +2 -2
  39. package/dist/chunks/{location-service-map-h7av1qnn.js → file-2teepasw.js} +14 -14
  40. package/dist/chunks/{location-service-map-xchzmsnd.js → file-2tms25w5.js} +19 -19
  41. package/dist/chunks/{location-service-map-30tfae0y.js → file-2vr6qw2t.js} +2 -2
  42. package/dist/chunks/{location-service-map-bwt96rmt.js → file-2w6bfmvf.js} +1 -1
  43. package/dist/chunks/{location-service-map-x4mvr2jw.js → file-2xhecwrj.js} +7 -7
  44. package/dist/chunks/{location-service-map-tb55j0q1.js → file-354vgqe0.js} +7 -7
  45. package/dist/chunks/{location-service-map-vqrbp603.js → file-36dr8np1.js} +26 -26
  46. package/dist/chunks/{location-service-map-yh9kry66.js → file-3bnr94xj.js} +22 -22
  47. package/dist/chunks/{location-service-map-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{location-service-map-f9anq697.js → file-3mrm2hwf.js} +7 -7
  49. package/dist/chunks/{location-service-map-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{location-service-map-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{location-service-map-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{location-service-map-wa5x9jhc.js → file-3wdqrm6x.js} +13 -13
  53. package/dist/chunks/{location-service-map-jcs5m68w.js → file-44mbs944.js} +19 -19
  54. package/dist/chunks/{location-service-map-454k5vzh.js → file-454k5vzh.js} +1 -1
  55. package/dist/chunks/{location-service-map-rjkxpsgg.js → file-4bzmj8m7.js} +11 -11
  56. package/dist/chunks/{location-service-map-wzv8aag1.js → file-4kkev07m.js} +6 -6
  57. package/dist/chunks/{location-service-map-6rs7g6rh.js → file-4m3ct7yw.js} +8 -8
  58. package/dist/chunks/{location-service-map-rmdavfxa.js → file-4pm2v5we.js} +20 -20
  59. package/dist/chunks/{location-service-map-4r2nyarf.js → file-4r2nyarf.js} +1 -1
  60. package/dist/chunks/{location-service-map-y1jf9cpr.js → file-4th2vxgq.js} +32 -32
  61. package/dist/chunks/{location-service-map-8n4wb1gp.js → file-505p5ry7.js} +6 -6
  62. package/dist/chunks/{location-service-map-qvy9613d.js → file-53hzkef1.js} +14 -14
  63. package/dist/chunks/{location-service-map-qyqf3spn.js → file-5cv0gs8q.js} +33 -33
  64. package/dist/chunks/{location-service-map-5daktx2q.js → file-5daktx2q.js} +1 -1
  65. package/dist/chunks/{location-service-map-g3abhybn.js → file-5edep437.js} +15 -15
  66. package/dist/chunks/{location-service-map-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
  67. package/dist/chunks/{location-service-map-tmxxvs2x.js → file-5h36fhh1.js} +16 -16
  68. package/dist/chunks/{location-service-map-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{location-service-map-26bgett0.js → file-5k2506g0.js} +9 -9
  70. package/dist/chunks/{location-service-map-2d84wbrn.js → file-5k43vb7t.js} +20 -20
  71. package/dist/chunks/{location-service-map-ccj0fzck.js → file-5mm5wtvx.js} +8 -8
  72. package/dist/chunks/{location-service-map-j935v87r.js → file-5qd3pb7m.js} +2 -2
  73. package/dist/chunks/{location-service-map-3kx0c57q.js → file-5x78j129.js} +8 -8
  74. package/dist/chunks/{location-service-map-4he2j10r.js → file-5xfzsdsy.js} +3 -3
  75. package/dist/chunks/{location-service-map-fq756qpp.js → file-65dkj3za.js} +25 -25
  76. package/dist/chunks/{location-service-map-xprfjhwy.js → file-65fmcg1n.js} +15 -15
  77. package/dist/chunks/{location-service-map-42yj134d.js → file-68t1dsv1.js} +31 -31
  78. package/dist/chunks/{location-service-map-6e958v7x.js → file-6e958v7x.js} +1 -1
  79. package/dist/chunks/{location-service-map-553dkgs2.js → file-6h024qyg.js} +18 -18
  80. package/dist/chunks/{location-service-map-rh8zvq4z.js → file-6kawr24h.js} +83 -83
  81. package/dist/chunks/{location-service-map-nmyxnhrv.js → file-6t53vznt.js} +3 -3
  82. package/dist/chunks/{location-service-map-wybz6hrf.js → file-6wj0fw5p.js} +9 -9
  83. package/dist/chunks/{location-service-map-w3jym6ha.js → file-6z5bwd8g.js} +6 -6
  84. package/dist/chunks/{location-service-map-711hfp6y.js → file-711hfp6y.js} +2 -2
  85. package/dist/chunks/file-71dvh6yx.js +247 -0
  86. package/dist/chunks/{location-service-map-72nftnjy.js → file-72nftnjy.js} +2 -2
  87. package/dist/chunks/{location-service-map-y6apgg1j.js → file-768z0hjh.js} +1 -1
  88. package/dist/chunks/{location-service-map-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{location-service-map-0w5rjm18.js → file-7brcmqak.js} +40 -40
  90. package/dist/chunks/{location-service-map-0p7avtcr.js → file-7c5v0j0c.js} +42 -42
  91. package/dist/chunks/{location-service-map-w4600456.js → file-7cnzp9pw.js} +9 -5
  92. package/dist/chunks/{location-service-map-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
  93. package/dist/chunks/{location-service-map-t07aqm32.js → file-7ppgh33j.js} +24 -24
  94. package/dist/chunks/{location-service-map-t6xnk39e.js → file-83ahk2p0.js} +7 -7
  95. package/dist/chunks/{location-service-map-emcanb2k.js → file-83y4b8f3.js} +29 -29
  96. package/dist/chunks/{location-service-map-wx7kwpmt.js → file-846hz14q.js} +41 -41
  97. package/dist/chunks/{location-service-map-33vth67a.js → file-8gqmesmq.js} +16 -16
  98. package/dist/chunks/{location-service-map-ssvfzqqs.js → file-8y62cfgq.js} +6 -6
  99. package/dist/chunks/{location-service-map-zn99fp6v.js → file-9c3zep2z.js} +13 -13
  100. package/dist/chunks/{location-service-map-1r54br2e.js → file-9fkqqknn.js} +9 -9
  101. package/dist/chunks/{location-service-map-ytf4r5bp.js → file-9kedy7gd.js} +11 -11
  102. package/dist/chunks/{location-service-map-t00n1yfv.js → file-9q0nykm9.js} +8 -8
  103. package/dist/chunks/{location-service-map-mwb1rh8h.js → file-9vfxb4kb.js} +4 -4
  104. package/dist/chunks/{location-service-map-kxpygcw9.js → file-9z2n9fsv.js} +6 -6
  105. package/dist/chunks/{location-service-map-z3xgatyd.js → file-a3x9xvd8.js} +4 -4
  106. package/dist/chunks/{location-service-map-742et1pq.js → file-a4qa8wqs.js} +7 -7
  107. package/dist/chunks/{location-service-map-aaet6srn.js → file-aaet6srn.js} +2 -2
  108. package/dist/chunks/{location-service-map-g1aevtqk.js → file-aj7d9r5a.js} +1 -1
  109. package/dist/chunks/{location-service-map-yckmqyn2.js → file-at276hj9.js} +15 -15
  110. package/dist/chunks/{location-service-map-fm2qvscf.js → file-at5d07az.js} +4 -4
  111. package/dist/chunks/{location-service-map-49r71nez.js → file-awwf2q6q.js} +31 -31
  112. package/dist/chunks/{location-service-map-9bextr3s.js → file-b3pptd8j.js} +18 -18
  113. package/dist/chunks/{location-service-map-dc7c5a2v.js → file-b6c82h3f.js} +8 -8
  114. package/dist/chunks/{location-service-map-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-service-map-b9wsbatv.js → file-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{location-service-map-3nyamjvt.js → file-bbe0cwvp.js} +11 -11
  117. package/dist/chunks/{location-service-map-5pgcnsdx.js → file-bbmnv4wm.js} +29 -29
  118. package/dist/chunks/{location-service-map-t45hhd0m.js → file-bf0m6253.js} +26 -26
  119. package/dist/chunks/{location-service-map-jssmxfgq.js → file-c9ahrne1.js} +27 -27
  120. package/dist/chunks/{location-service-map-88xjs5sb.js → file-cmwz8vwc.js} +21 -21
  121. package/dist/chunks/{location-service-map-pbx4fq0c.js → file-cphm8864.js} +16 -16
  122. package/dist/chunks/{location-service-map-wztj94nr.js → file-cqeq6z68.js} +3 -3
  123. package/dist/chunks/{location-service-map-n3jkd22a.js → file-cxmh4q5b.js} +4 -4
  124. package/dist/chunks/{location-service-map-j7a4wd22.js → file-d1a1bt21.js} +1 -1
  125. package/dist/chunks/{location-service-map-hv939mdw.js → file-d24m0n3t.js} +8 -8
  126. package/dist/chunks/{location-service-map-1xdzyqy5.js → file-df22f43k.js} +13 -13
  127. package/dist/chunks/{location-service-map-dhtfc8dh.js → file-dg42sq5p.js} +13 -13
  128. package/dist/chunks/{location-service-map-8gyx1w2m.js → file-dmbj5zzd.js} +11 -11
  129. package/dist/chunks/{location-service-map-sd2gs3s8.js → file-dn45ghjm.js} +37 -37
  130. package/dist/chunks/{location-service-map-hefhysf4.js → file-dnej8pr8.js} +57 -57
  131. package/dist/chunks/{location-service-map-r9n9aa8b.js → file-e1hrx4vk.js} +2 -2
  132. package/dist/chunks/{location-service-map-8rxwk6s8.js → file-eg4pr325.js} +10 -10
  133. package/dist/chunks/{location-service-map-mpy0vy60.js → file-ejddpzjn.js} +22 -22
  134. package/dist/chunks/{location-service-map-h6b1rn69.js → file-emse1svw.js} +154 -154
  135. package/dist/chunks/{location-service-map-bggmj1hg.js → file-evdm5w0f.js} +15 -15
  136. package/dist/chunks/{location-service-map-ymvww241.js → file-ezk10e5s.js} +24 -24
  137. package/dist/chunks/file-f4j0pa50.js +4 -0
  138. package/dist/chunks/{location-service-map-ghrf58bv.js → file-f7m31s7f.js} +3 -3
  139. package/dist/chunks/{location-service-map-7qyqz0tn.js → file-f9tf4xby.js} +29 -29
  140. package/dist/chunks/{location-service-map-ke05zhk0.js → file-fbgy7r5d.js} +2 -2
  141. package/dist/chunks/{location-service-map-4s85dwcq.js → file-fhy6bqdy.js} +19 -19
  142. package/dist/chunks/{location-service-map-wnp6vcex.js → file-ftz7gb7p.js} +4 -4
  143. package/dist/chunks/{location-service-map-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{location-service-map-fxypknc8.js → file-fxypknc8.js} +1 -1
  145. package/dist/chunks/{location-service-map-thcxaxg6.js → file-fy6n5twb.js} +4 -4
  146. package/dist/chunks/{location-service-map-g2dy4bvs.js → file-g2dy4bvs.js} +3 -3
  147. package/dist/chunks/{location-service-map-g2gt0w0k.js → file-g2gt0w0k.js} +2 -2
  148. package/dist/chunks/{location-service-map-t1pem4kq.js → file-g6mdv268.js} +16 -16
  149. package/dist/chunks/{location-service-map-gc2czm5n.js → file-gc9s900x.js} +31 -31
  150. package/dist/chunks/{location-service-map-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-service-map-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  152. package/dist/chunks/{location-service-map-x4bfd8a5.js → file-gjgqh1yg.js} +9 -9
  153. package/dist/chunks/{location-service-map-zt5m6zxd.js → file-gt0hfmdb.js} +5 -5
  154. package/dist/chunks/{location-service-map-jyxp5v4e.js → file-gv0d5gvs.js} +11 -11
  155. package/dist/chunks/{location-service-map-5sg4xzjf.js → file-gvha7d93.js} +84 -70
  156. package/dist/chunks/{location-service-map-2rgv953f.js → file-gwhj86fb.js} +13 -13
  157. package/dist/chunks/{location-service-map-bz49fxc8.js → file-gzx8e7f9.js} +6 -6
  158. package/dist/chunks/{location-service-map-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-service-map-s0qrzs9n.js → file-h87ag7w5.js} +22 -22
  160. package/dist/chunks/{location-service-map-x4wv9fw4.js → file-hd1k875y.js} +13 -13
  161. package/dist/chunks/{location-service-map-v7nee8yx.js → file-hdw5v3sp.js} +46 -46
  162. package/dist/chunks/{location-service-map-wswvwwqg.js → file-hejh15x3.js} +34 -34
  163. package/dist/chunks/{location-service-map-heyhwy2w.js → file-heyhwy2w.js} +1 -1
  164. package/dist/chunks/{location-service-map-we0g4f80.js → file-jb94zsvm.js} +11 -11
  165. package/dist/chunks/{location-service-map-s8jnn1en.js → file-jfa9xx2h.js} +11 -11
  166. package/dist/chunks/{location-service-map-sms1b131.js → file-jnmmvqjs.js} +1 -1
  167. package/dist/chunks/{location-service-map-ntdby5a8.js → file-k0gwvm9f.js} +11 -11
  168. package/dist/chunks/{location-service-map-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{location-service-map-bg6s5wh8.js → file-kdbt5zd5.js} +21 -21
  170. package/dist/chunks/{location-service-map-kg06axw8.js → file-kg06axw8.js} +1 -1
  171. package/dist/chunks/{location-service-map-jejm9xps.js → file-kj9yw8wr.js} +24 -24
  172. package/dist/chunks/{location-service-map-6t4qscpp.js → file-kvbwxexe.js} +18 -18
  173. package/dist/chunks/{location-service-map-hw4pv20g.js → file-kvsjn1dr.js} +2 -2
  174. package/dist/chunks/{location-service-map-t6pqvm63.js → file-kwd9jgre.js} +7 -7
  175. package/dist/chunks/{location-service-map-n8perk2c.js → file-m08qhmwa.js} +12 -12
  176. package/dist/chunks/{location-service-map-4v5fevzd.js → file-m7swqrpa.js} +4 -4
  177. package/dist/chunks/{location-service-map-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{location-service-map-eq1pz5kg.js → file-mhkvc446.js} +3 -3
  179. package/dist/chunks/{location-service-map-6dbgywry.js → file-mk2da0tx.js} +11 -11
  180. package/dist/chunks/{location-service-map-b3wd6krr.js → file-mzj39jhy.js} +13 -13
  181. package/dist/chunks/{location-service-map-xr5vwsd4.js → file-n38qs1ar.js} +9 -9
  182. package/dist/chunks/{location-service-map-4fqze2qj.js → file-n3rkh788.js} +9 -9
  183. package/dist/chunks/{location-service-map-2ymxpdsa.js → file-n5pq9vwt.js} +14 -14
  184. package/dist/chunks/{location-service-map-c5nvwva5.js → file-n74wxmgj.js} +22 -22
  185. package/dist/chunks/{location-service-map-646rggwr.js → file-n7x59t33.js} +7 -7
  186. package/dist/chunks/{location-service-map-0g6sf9st.js → file-n8b48r5j.js} +28 -28
  187. package/dist/chunks/{location-service-map-1cn285vq.js → file-n8naaz60.js} +18 -18
  188. package/dist/chunks/{location-service-map-06qbn9zd.js → file-n8qe30xq.js} +9 -9
  189. package/dist/chunks/{location-service-map-w0k1he6w.js → file-na3y75gh.js} +5 -5
  190. package/dist/chunks/{location-service-map-8rq2gk94.js → file-ndn2xkss.js} +70 -70
  191. package/dist/chunks/{location-service-map-2a1acymz.js → file-pae9v2p1.js} +8 -8
  192. package/dist/chunks/{location-service-map-j6cmfp9d.js → file-pcbfkwsm.js} +13 -13
  193. package/dist/chunks/{location-service-map-2d7153kf.js → file-pdgkag5b.js} +20 -20
  194. package/dist/chunks/{location-service-map-rcgkk9bt.js → file-ph669gs4.js} +9 -9
  195. package/dist/chunks/{location-service-map-af95cbph.js → file-pjv4tydt.js} +43 -43
  196. package/dist/chunks/{location-service-map-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-service-map-ych9xzme.js → file-pkb840qh.js} +14 -14
  198. package/dist/chunks/{location-service-map-pknna89w.js → file-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-service-map-4ex15pvw.js → file-pt7wq7x0.js} +1 -1
  200. package/dist/chunks/{location-service-map-34xzfs1b.js → file-pyyqvd0z.js} +11 -11
  201. package/dist/chunks/{location-service-map-b1whx416.js → file-pzzt1nm5.js} +28 -28
  202. package/dist/chunks/{location-service-map-qq8x5mwt.js → file-q6k87v8z.js} +6 -6
  203. package/dist/chunks/{location-service-map-aqpaxnrv.js → file-q9vpza17.js} +13 -13
  204. package/dist/chunks/{location-service-map-2sqcrgzp.js → file-qk64c6n5.js} +11 -11
  205. package/dist/chunks/{location-service-map-r0msr716.js → file-qkzfms5c.js} +4 -4
  206. package/dist/chunks/{location-service-map-pzhbq0pe.js → file-qr8ddv5p.js} +39 -39
  207. package/dist/chunks/{location-service-map-305k387t.js → file-qs4avvkb.js} +1 -1
  208. package/dist/chunks/{location-service-map-qsdy395h.js → file-qsdy395h.js} +1 -1
  209. package/dist/chunks/{location-service-map-xbph54b9.js → file-qtdtxcz9.js} +4 -4
  210. package/dist/chunks/file-qtk180zb.js +22 -0
  211. package/dist/chunks/{location-service-map-qvbcabdc.js → file-qvbcabdc.js} +2 -2
  212. package/dist/chunks/{location-service-map-2wyksmet.js → file-qzds7pp6.js} +25 -25
  213. package/dist/chunks/{location-service-map-3ktfk1t2.js → file-qzq296vy.js} +4 -4
  214. package/dist/chunks/{location-service-map-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{location-service-map-nk2q8z3f.js → file-r8h0cx8x.js} +27 -27
  216. package/dist/chunks/file-rap9a73h.js +18 -0
  217. package/dist/chunks/{location-service-map-rktzyqm1.js → file-rc7d13hc.js} +17 -17
  218. package/dist/chunks/{location-service-map-padredns.js → file-rff1kz51.js} +23 -23
  219. package/dist/chunks/{location-service-map-c3739vpd.js → file-rr09hbad.js} +20 -20
  220. package/dist/chunks/{location-service-map-1xk0mwxe.js → file-rrh5j47r.js} +28 -28
  221. package/dist/chunks/{location-service-map-bve5bdy4.js → file-rvb2zp0m.js} +4 -4
  222. package/dist/chunks/{location-service-map-k66gpt8e.js → file-rwffmz6f.js} +9 -9
  223. package/dist/chunks/{location-service-map-b6f3m773.js → file-rykxkv61.js} +10 -10
  224. package/dist/chunks/{location-service-map-cwpgvrxg.js → file-s1zptveq.js} +20 -20
  225. package/dist/chunks/{location-service-map-drxrg1v0.js → file-s5h19yqx.js} +10 -10
  226. package/dist/chunks/{location-service-map-03ptcy8q.js → file-sasz0x9t.js} +14 -14
  227. package/dist/chunks/{location-service-map-1cngsnb6.js → file-sb910js5.js} +20 -20
  228. package/dist/chunks/{location-service-map-sba4qhjf.js → file-sba4qhjf.js} +1 -1
  229. package/dist/chunks/{location-service-map-9qfxk1ve.js → file-sdmzrqw0.js} +11 -11
  230. package/dist/chunks/{location-service-map-774scpz9.js → file-ss1z5pd1.js} +43 -43
  231. package/dist/chunks/{location-service-map-wbwz2vz2.js → file-sx5e7ymn.js} +8 -8
  232. package/dist/chunks/{location-service-map-4nxabq38.js → file-t0r5ggak.js} +6 -6
  233. package/dist/chunks/{location-service-map-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-service-map-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-service-map-je9hks3h.js → file-thfv75je.js} +5 -5
  236. package/dist/chunks/{location-service-map-tjykrgmx.js → file-tjykrgmx.js} +1 -1
  237. package/dist/chunks/{location-service-map-tppvcy65.js → file-tppvcy65.js} +2 -2
  238. package/dist/chunks/{location-service-map-npnkh76t.js → file-ttbkqz8v.js} +6 -6
  239. package/dist/chunks/{location-service-map-v01argkf.js → file-ttmyjys5.js} +23 -23
  240. package/dist/chunks/{location-service-map-zjf1vt57.js → file-v0pnbedw.js} +9 -9
  241. package/dist/chunks/{location-service-map-5njwjxt6.js → file-v1zbgaxm.js} +8 -8
  242. package/dist/chunks/{location-service-map-hbdj4dt2.js → file-vakn6wwq.js} +13 -13
  243. package/dist/chunks/{location-service-map-rpjwm3hx.js → file-vkvd3v5t.js} +25 -25
  244. package/dist/chunks/{location-service-map-85d6r8k5.js → file-vvzp1af4.js} +13 -13
  245. package/dist/chunks/{location-service-map-kss3zgg4.js → file-w2svwm21.js} +4 -4
  246. package/dist/chunks/{location-service-map-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{location-service-map-mb2xgx49.js → file-w7w8snw9.js} +19 -19
  248. package/dist/chunks/{location-service-map-wd87259q.js → file-wd87259q.js} +1 -1
  249. package/dist/chunks/{location-service-map-r71sk144.js → file-wfpv7nq4.js} +5 -5
  250. package/dist/chunks/{location-service-map-mtb0v59f.js → file-wp44g4g0.js} +35 -35
  251. package/dist/chunks/{location-service-map-yhe2m301.js → file-wq13ba9c.js} +33 -33
  252. package/dist/chunks/{location-service-map-kbj2dgab.js → file-wr7ps67x.js} +5 -5
  253. package/dist/chunks/{location-service-map-9s7vkc9y.js → file-wvjdj7gf.js} +27 -27
  254. package/dist/chunks/{location-service-map-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-service-map-x5hde6ee.js → file-x5hde6ee.js} +4 -4
  256. package/dist/chunks/{location-service-map-hdeag583.js → file-x9aee12a.js} +22 -22
  257. package/dist/chunks/{location-service-map-vpy2en2a.js → file-xb66abhh.js} +32 -32
  258. package/dist/chunks/{location-service-map-yswn773t.js → file-xh8y0k6f.js} +46 -46
  259. package/dist/chunks/{location-service-map-nztqyx29.js → file-xx7w2pvd.js} +12 -12
  260. package/dist/chunks/{location-service-map-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{location-service-map-93a8yfjt.js → file-y2cqme3r.js} +5 -5
  262. package/dist/chunks/{location-service-map-6mbcg25b.js → file-y46gx2s1.js} +34 -34
  263. package/dist/chunks/{location-service-map-y71avatq.js → file-y71avatq.js} +1 -1
  264. package/dist/chunks/{location-service-map-1j3hrkr2.js → file-y995w6vw.js} +9 -9
  265. package/dist/chunks/{location-service-map-5jv3vqzx.js → file-ybkqd1n3.js} +29 -29
  266. package/dist/chunks/{location-service-map-khbq8y0e.js → file-yf1j450z.js} +8 -8
  267. package/dist/chunks/{location-service-map-yfbd16n1.js → file-yfbd16n1.js} +2 -2
  268. package/dist/chunks/{location-service-map-yg7sb877.js → file-yg7sb877.js} +2 -2
  269. package/dist/chunks/{location-service-map-jfw3kf1b.js → file-yj3e99fm.js} +3 -3
  270. package/dist/chunks/{location-service-map-kd8v050h.js → file-yjw1hky4.js} +12 -12
  271. package/dist/chunks/{location-service-map-139hay1k.js → file-ys11an52.js} +32 -32
  272. package/dist/chunks/{location-service-map-a4zgtt71.js → file-yt9k9kep.js} +15 -15
  273. package/dist/chunks/{location-service-map-vz6qr5p1.js → file-ywabkmpb.js} +6 -6
  274. package/dist/chunks/{location-service-map-r89567m1.js → file-ywtkarac.js} +12 -12
  275. package/dist/chunks/{location-service-map-w50kyf6f.js → file-yz6aw3g1.js} +53 -53
  276. package/dist/chunks/{location-service-map-z1k01bn4.js → file-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{location-service-map-58ny9r5s.js → file-z24np7d0.js} +86 -86
  278. package/dist/chunks/{location-service-map-m9wp1512.js → file-z4g5hq89.js} +6 -6
  279. package/dist/chunks/{location-service-map-z3jc06sm.js → file-zajwd6at.js} +2 -2
  280. package/dist/chunks/file-zayyh8v9.js +460 -0
  281. package/dist/chunks/{location-service-map-8n1tzgm3.js → file-zm9gec2w.js} +1 -1
  282. package/dist/chunks/{location-service-map-bbmnfd9a.js → file-zn31ggdh.js} +14 -14
  283. package/dist/chunks/{location-service-map-sx71jems.js → file-zsqrvtys.js} +11 -11
  284. package/dist/chunks/{location-service-map-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +116 -116
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +218 -218
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +93 -93
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +88 -88
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +79 -79
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +1 -1
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +86 -86
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +104 -104
  464. package/dist/mcp/instructions.js +118 -118
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +6 -6
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +109 -109
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +4 -4
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +2 -3
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +75 -75
  549. package/dist/provider.js +3 -3
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +217 -217
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +82 -82
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +4 -2
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +212 -212
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +119 -119
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +99 -99
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +206 -206
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +100 -100
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/types/plugin/system-prompt.d.ts +1 -2
  641. package/dist/types/session/system-prompt.d.ts +1 -0
  642. package/dist/util/error.js +1 -1
  643. package/dist/util/iife.js +1 -1
  644. package/dist/util/lazy.js +1 -1
  645. package/dist/util/slug.js +1 -1
  646. package/dist/util/token.js +1 -1
  647. package/dist/util/which.js +1 -1
  648. package/dist/util/wildcard.js +1 -1
  649. package/dist/v1/config/agent.js +7 -7
  650. package/dist/v1/config/attachment.js +4 -4
  651. package/dist/v1/config/command.js +3 -3
  652. package/dist/v1/config/config.js +16 -16
  653. package/dist/v1/config/error.js +4 -4
  654. package/dist/v1/config/formatter.js +5 -5
  655. package/dist/v1/config/layout.js +1 -1
  656. package/dist/v1/config/lsp.js +5 -5
  657. package/dist/v1/config/mcp.js +4 -4
  658. package/dist/v1/config/migrate.js +4 -4
  659. package/dist/v1/config/permission.js +7 -7
  660. package/dist/v1/config/plugin.js +1 -1
  661. package/dist/v1/config/provider-options.js +1 -1
  662. package/dist/v1/config/provider.js +4 -4
  663. package/dist/v1/config/server.js +2 -2
  664. package/dist/v1/config/skills.js +3 -3
  665. package/dist/v1/permission.js +1 -1
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +85 -85
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +77 -77
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +4 -4
  675. package/dist/worktree/git.js +7 -7
  676. package/dist/worktree/refresh.js +336 -336
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree.js +91 -91
  679. package/package.json +7 -7
  680. package/dist/chunks/location-service-map-54837pgm.js +0 -247
  681. package/dist/chunks/location-service-map-7zk4hah4.js +0 -4
  682. package/dist/chunks/location-service-map-by5v678g.js +0 -18
  683. package/dist/chunks/location-service-map-e9xse5em.js +0 -22
  684. package/dist/chunks/location-service-map-fqk2gtzq.js +0 -460
  685. /package/dist/chunks/{location-service-map-0fabt78z.js → file-0fabt78z.js} +0 -0
  686. /package/dist/chunks/{location-service-map-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{location-service-map-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{location-service-map-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{location-service-map-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{location-service-map-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{location-service-map-2710q6r3.js → file-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{location-service-map-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{location-service-map-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{location-service-map-359p4xyc.js → file-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{location-service-map-3asan66x.js → file-3asan66x.js} +0 -0
  696. /package/dist/chunks/{location-service-map-3t738kvx.js → file-3t738kvx.js} +0 -0
  697. /package/dist/chunks/{location-service-map-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{location-service-map-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{location-service-map-41nvscxy.js → file-41nvscxy.js} +0 -0
  700. /package/dist/chunks/{location-service-map-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{location-service-map-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{location-service-map-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{location-service-map-53557ph1.js → file-53557ph1.js} +0 -0
  704. /package/dist/chunks/{location-service-map-550bvhaj.js → file-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{location-service-map-6prwharc.js → file-6prwharc.js} +0 -0
  706. /package/dist/chunks/{location-service-map-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{location-service-map-7m9af43g.js → file-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{location-service-map-822emrt2.js → file-822emrt2.js} +0 -0
  709. /package/dist/chunks/{location-service-map-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{location-service-map-8n3pysct.js → file-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{location-service-map-982e01ww.js → file-982e01ww.js} +0 -0
  712. /package/dist/chunks/{location-service-map-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{location-service-map-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{location-service-map-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{location-service-map-af5trqkr.js → file-af5trqkr.js} +0 -0
  716. /package/dist/chunks/{location-service-map-afrmfg78.js → file-afrmfg78.js} +0 -0
  717. /package/dist/chunks/{location-service-map-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  718. /package/dist/chunks/{location-service-map-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  719. /package/dist/chunks/{location-service-map-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  720. /package/dist/chunks/{location-service-map-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  721. /package/dist/chunks/{location-service-map-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{location-service-map-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{location-service-map-d9fn303g.js → file-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{location-service-map-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{location-service-map-dajrwvna.js → file-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{location-service-map-dap0rakb.js → file-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{location-service-map-df08tz66.js → file-df08tz66.js} +0 -0
  728. /package/dist/chunks/{location-service-map-dy18nga0.js → file-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{location-service-map-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{location-service-map-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{location-service-map-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  732. /package/dist/chunks/{location-service-map-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  733. /package/dist/chunks/{location-service-map-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  734. /package/dist/chunks/{location-service-map-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  735. /package/dist/chunks/{location-service-map-faypxj3z.js → file-faypxj3z.js} +0 -0
  736. /package/dist/chunks/{location-service-map-fd410y7t.js → file-fd410y7t.js} +0 -0
  737. /package/dist/chunks/{location-service-map-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  738. /package/dist/chunks/{location-service-map-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  739. /package/dist/chunks/{location-service-map-g86h250q.js → file-g86h250q.js} +0 -0
  740. /package/dist/chunks/{location-service-map-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  741. /package/dist/chunks/{location-service-map-hk9envan.js → file-hk9envan.js} +0 -0
  742. /package/dist/chunks/{location-service-map-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  743. /package/dist/chunks/{location-service-map-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  744. /package/dist/chunks/{location-service-map-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{location-service-map-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{location-service-map-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{location-service-map-mntxs535.js → file-mntxs535.js} +0 -0
  748. /package/dist/chunks/{location-service-map-mp448xyj.js → file-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{location-service-map-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{location-service-map-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{location-service-map-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{location-service-map-njntx4h6.js → file-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{location-service-map-p8qxwesx.js → file-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{location-service-map-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{location-service-map-q74kybfr.js → file-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{location-service-map-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{location-service-map-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{location-service-map-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{location-service-map-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{location-service-map-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{location-service-map-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{location-service-map-se0s1eqw.js → file-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{location-service-map-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{location-service-map-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{location-service-map-twg0f83k.js → file-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{location-service-map-w803qqfp.js → file-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{location-service-map-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{location-service-map-wtztk69x.js → file-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{location-service-map-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{location-service-map-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{location-service-map-x61499pn.js → file-x61499pn.js} +0 -0
  772. /package/dist/chunks/{location-service-map-y44na4kk.js → file-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{location-service-map-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{location-service-map-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{location-service-map-z9919s4g.js → file-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{location-service-map-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
@@ -1,11 +1,13 @@
1
+ import {
2
+ render2
3
+ } from "./file-7cnzp9pw.js";
1
4
  import {
2
5
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
4
7
 
5
8
  // src/plugin/system-prompt.ts
6
9
  var exports_system_prompt = {};
7
10
  __export(exports_system_prompt, {
8
- AnthropicPlugin: () => AnthropicPlugin2,
9
11
  ArceePlugin: () => ArceePlugin2,
10
12
  KimiPlugin: () => KimiPlugin2,
11
13
  MetaPlugin: () => MetaPlugin2,
@@ -15,84 +17,97 @@ __export(exports_system_prompt, {
15
17
  });
16
18
  import { SystemPart } from "@opencode-ai/ai";
17
19
  import { define } from "@opencode-ai/plugin/effect/plugin";
20
+ import { Model } from "@opencode-ai/schema/model";
18
21
  import { Effect } from "effect";
19
22
 
20
- // src/plugin/system-prompt/anthropic.txt
21
- var anthropic_default = `You are OpenCode, the best coding agent on the planet.
23
+ // src/plugin/system-prompt/gpt.txt
24
+ var gpt_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
22
25
 
23
- You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
26
+ # Harness
27
+ - Responses are rendered as GitHub-flavored Markdown.
28
+ - \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
29
+ - Prefer parallelizing independent tool calls.
30
+ \${OPENCODE_TOOL_GUIDANCE}
24
31
 
25
- IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.
32
+ # Communication
26
33
 
27
- If the user asks for help or wants to give feedback inform them of the following:
28
- - ctrl+p to list available actions
29
- - To give feedback, users should report the issue at
30
- https://github.com/anomalyco/opencode
34
+ Use clear file paths when referring to files. Keep responses clear and concise, and avoid unnecessary technical jargon.
31
35
 
32
- When the user directly asks about OpenCode (eg. "can OpenCode do...", "does OpenCode have..."), or asks in second person (eg. "are you able...", "can you do..."), or asks how to use a specific OpenCode feature (eg. implement a hook, write a slash command, or install an MCP server), use the webfetch tool to gather information to answer the question from OpenCode docs. The list of available docs is available at https://opencode.ai/v2/docs/
36
+ ## Intermediate Commentary
33
37
 
34
- # Tone and style
35
- - Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.
36
- - Your output will be displayed on a command line interface. Your responses should be short and concise. You can use GitHub-flavored markdown for formatting, and will be rendered in a monospace font using the CommonMark specification.
37
- - Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools like the shell tool or code comments as means to communicate with the user during the session.
38
- - NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. This includes markdown files.
38
+ As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
39
39
 
40
- # Professional objectivity
41
- Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. It is best for the user if OpenCode honestly applies the same rigorous standards to all ideas and disagrees when necessary, even if it may not be what the user wants to hear. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, it's best to investigate to find the truth first rather than instinctively confirming the user's beliefs.
40
+ By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
42
41
 
43
- # Doing tasks
44
- The user will primarily request you perform software engineering tasks. This includes solving bugs, adding new functionality, refactoring code, explaining code, and more. For these tasks the following steps are recommended:
45
- - Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are automatically added by the system, and bear no direct relation to the specific tool results or user messages in which they appear.
42
+ Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
46
43
 
44
+ ## Final Answer
47
45
 
48
- # Tool usage policy
49
- - When doing file search, prefer to use the subagent tool in order to reduce context usage.
50
- - You should proactively use the subagent tool with specialized agents when the task at hand matches the agent's description.
46
+ In the final answer, lead with the outcome, not the steps you took to reach it. Cover the most important information, use only as much structure as the answer needs, and avoid long-winded explanations unless necessary. Include technical detail only where it helps.
51
47
 
52
- - When webfetch returns a message about a redirect to a different host, you should immediately make a new webfetch request with the redirect URL provided in the response.
53
- - You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead. Never use placeholders or guess missing parameters in tool calls.
54
- - If the user specifies that they want you to run tools "in parallel", you MUST send a single message with multiple tool use content blocks. For example, if you need to launch multiple agents in parallel, send a single message with multiple subagent tool calls.
55
- - Use specialized tools instead of shell commands when possible, as this provides a better user experience. For file operations, use dedicated tools: read for reading files instead of cat/head/tail, edit for editing instead of sed/awk, and write for creating files instead of cat with heredoc or echo redirection. Reserve the shell tool exclusively for actual system commands and terminal operations that require shell execution. NEVER use shell echo or other command-line tools to communicate thoughts, explanations, or instructions to the user. Output all communication directly in your response text instead.
56
- - VERY IMPORTANT: When exploring the codebase to gather context or to answer a question that is not a needle query for a specific file/class/function, it is CRITICAL that you use the subagent tool instead of running search commands directly.
57
- <example>
58
- user: Where are errors from the client handled?
59
- assistant: [Uses the subagent tool to find the files that handle client errors instead of using glob or grep directly]
60
- </example>
61
- <example>
62
- user: What is the codebase structure?
63
- assistant: [Uses the subagent tool]
64
- </example>
48
+ # Working in codebases
49
+ - Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
50
+ - Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
65
51
 
66
- # Code References
52
+ # Delegation
67
53
 
68
- When referencing specific functions or pieces of code include the pattern \`file_path:line_number\` to allow the user to easily navigate to the source code location.
54
+ Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
69
55
 
70
- <example>
71
- user: Where are errors from the client handled?
72
- assistant: Clients are marked as failed in the \`connectToServer\` function in src/services/process.ts:712.
73
- </example>
56
+ # Destructive actions
57
+
58
+ Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
59
+
60
+ # Autonomy
61
+
62
+ Do not infer authorization for work beyond the user's request. Assumptions that help you make progress are fine as long as they stay within the user's intent and the scope of the task.
74
63
  `;
75
64
 
76
- // src/plugin/system-prompt/gpt-extension.txt
77
- var gpt_extension_default = `# Response channels
65
+ // src/plugin/system-prompt/gpt-astra.txt
66
+ var gpt_astra_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
67
+
68
+ # Harness
69
+ - Responses are rendered as GitHub-flavored Markdown.
70
+ - \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
71
+ - Prefer parallelizing independent tool calls.
72
+ - Do not use a skill based solely on keywords, superficial relevance, or its availability. Avoid re-reading skills already available in the conversation unless needed.
73
+ \${OPENCODE_TOOL_GUIDANCE}
74
+
75
+ # Communication
76
+
77
+ State the main point clearly and early. Keep responses clear and concise, and avoid unnecessary technical jargon. Use only as much structure as needed, and include technical detail only when it helps the conversation. Use clear file paths when referring to files.
78
+
79
+ When describing your work, avoid adding what you won't do, what will remain unchanged, or how you'll separate or categorize results. Do not introduce unprompted alternatives through framing such as "X, not Y" or "This isn't about X. It's about Y."
80
+
81
+ ## Autonomy
82
+
83
+ Infer the user's intent and your task scope from their instructions and the prior conversation context. You should bias towards action and carry out the user's intended task until it is completed. If the intent is unclear, progress towards the goal using the available information and ask for clarification while continuing independent work when possible.
84
+
85
+ When the user's prompt indicates a request for action, such as "can you...", "I want to...", "help me..." and similar expressions, treat these as instructions to take action. Do not stop at acknowledging capability (e.g. "Yes…"), proposing a plan, or offering to continue. Do not settle for a partial or "helpful enough" solution to save time, effort, or tokens. Continue until the user's intended goal is fulfilled, even when it requires sustained work.
86
+
87
+ ## Intermediate Commentary
78
88
 
79
89
  As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
80
90
 
91
+ By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
92
+
81
93
  Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
82
94
 
83
- In the final answer, lead with the outcome, not the steps you took to reach it. Cover the most important information, use only as much structure as the answer needs, and skip explanation the user did not ask for. Include technical detail only where it helps.
95
+ ## Final Answer
84
96
 
85
- # Delegation
97
+ In your final answer back to the user, focus on the most important information.
86
98
 
87
- Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
99
+ # Working in codebases
88
100
 
89
- # Destructive actions
101
+ - Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
102
+ - Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
103
+ - Do not introduce unsolicited warnings, disclaimers, approval flows, or safety/compliance checklists due to hypothetical risk.
104
+ - Do not write tests for reversible, low-impact changes or that mirror the implementation. If you do choose to verify your work with tests, make sure that the tests are meaningful and necessary to verify implementation.
105
+ - Run tests appropriate to the change and complete required checks. Once those pass, broaden or repeat testing only when new changes, failures, or unresolved concerns justify it; otherwise, continue toward completing the task.
90
106
 
91
- Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
92
107
 
93
- # Autonomy
108
+ # Delegation
94
109
 
95
- Do not infer authorization for work beyond the user's request. Assumptions that help you make progress are fine as long as they stay within the user's intent and the scope of the task.
110
+ Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
96
111
  `;
97
112
 
98
113
  // src/plugin/system-prompt/kimi.txt
@@ -356,25 +371,23 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
356
371
  `;
357
372
 
358
373
  // src/plugin/system-prompt.ts
359
- var OpenAIPlugin2 = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
360
- operation: "append"
361
- });
362
- var AnthropicPlugin2 = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
363
- operation: "replace"
364
- });
365
- var KimiPlugin2 = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined, {
366
- operation: "replace"
367
- });
368
- var ArceePlugin2 = make("arcee", (id) => id.includes("trinity") ? trinity_default : undefined, {
374
+ var OpenAIPlugin2 = make("openai", (model) => {
375
+ if (!model.id.toLowerCase().includes("gpt"))
376
+ return;
377
+ if (model.id.toLowerCase().includes("gpt-6"))
378
+ return gpt_astra_default;
379
+ return gpt_default;
380
+ }, { operation: "replace" });
381
+ var KimiPlugin2 = make("kimi", (model) => model.id.toLowerCase().includes("kimi") ? kimi_default : undefined, {
369
382
  operation: "replace"
370
383
  });
371
- var MetaPlugin2 = make("meta", (id) => {
372
- if (!id.includes("muse"))
384
+ var ArceePlugin2 = make("arcee", (model) => model.id.toLowerCase().includes("trinity") ? trinity_default : undefined, { operation: "replace" });
385
+ var MetaPlugin2 = make("meta", (model) => {
386
+ if (!model.id.toLowerCase().includes("muse"))
373
387
  return;
374
- const name = id.includes("muse-glimmer") ? "Muse Glimmer" : "Muse Spark";
375
- return meta_default.replaceAll("{{MODEL_NAME}}", name);
388
+ return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
376
389
  }, { operation: "replace" });
377
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
390
+ var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
378
391
  function make(id, getPrompt, options) {
379
392
  return define({
380
393
  id: `opencode.prompt.${id}`,
@@ -386,9 +399,10 @@ function make(id, getPrompt, options) {
386
399
  if (!system)
387
400
  return;
388
401
  const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id);
389
- const prompt = getPrompt(`${model?.modelID ?? event.model.id} ${model?.family ?? ""}`.toLowerCase());
390
- if (!prompt)
402
+ const template = getPrompt(model ?? Model.Info.default(event.model.providerID, event.model.id));
403
+ if (!template)
391
404
  return;
405
+ const prompt = render2(template, Object.keys(event.tools));
392
406
  if (options.operation === "append") {
393
407
  event.system.splice(1, 0, SystemPart.make(prompt));
394
408
  return;
@@ -399,4 +413,4 @@ function make(id, getPrompt, options) {
399
413
  });
400
414
  }
401
415
 
402
- export { OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
416
+ export { OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-t6xnk39e.js";
3
+ } from "./file-83ahk2p0.js";
4
4
  import {
5
- Service78
6
- } from "./location-service-map-zj32m2et.js";
5
+ Service79
6
+ } from "./file-2epja08c.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./location-service-map-vpy2en2a.js";
9
+ Event19
10
+ } from "./file-xb66abhh.js";
11
11
  import {
12
- ID5,
12
+ ID9,
13
13
  MethodID2
14
- } from "./location-service-map-jssmxfgq.js";
14
+ } from "./file-c9ahrne1.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./location-service-map-pjvnvgmy.js";
18
+ } from "./file-pjvnvgmy.js";
19
19
  import {
20
20
  ID16,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./location-service-map-bve5bdy4.js";
23
+ } from "./file-rvb2zp0m.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID5.make("openai"),
47
+ integrationID: ID9.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID5.make("openai"),
120
+ integrationID: ID9.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service78;
165
+ const bus = yield* Service79;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -222,7 +222,7 @@ var OpenAIPlugin3 = define({
222
222
  evt.headers["session-id"] = evt.sessionID;
223
223
  }), { providerID: ID16.openai });
224
224
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
225
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
226
  })
227
227
  });
228
228
  function headers(contentType, app) {
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID5,
3
- Service47
4
- } from "./location-service-map-jssmxfgq.js";
2
+ ID9,
3
+ Service53
4
+ } from "./file-c9ahrne1.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./location-service-map-bve5bdy4.js";
8
+ } from "./file-rvb2zp0m.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service47;
16
+ const integrations = yield* Service53;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID5.make(item.provider.id)))
28
+ if (!configured.has(ID9.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service78
3
- } from "./location-service-map-zj32m2et.js";
2
+ Service79
3
+ } from "./file-2epja08c.js";
4
4
  import {
5
- Service43
6
- } from "./location-service-map-88xjs5sb.js";
5
+ Service49
6
+ } from "./file-cmwz8vwc.js";
7
7
  import {
8
- Error5
9
- } from "./location-service-map-jejm9xps.js";
8
+ Error4
9
+ } from "./file-kj9yw8wr.js";
10
10
  import {
11
- Service53
12
- } from "./location-service-map-kd8v050h.js";
11
+ Service74
12
+ } from "./file-yjw1hky4.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./location-service-map-k66gpt8e.js";
15
+ } from "./file-rwffmz6f.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./location-service-map-mntxs535.js";
18
+ } from "./file-mntxs535.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./location-service-map-4v5fevzd.js";
21
+ } from "./file-m7swqrpa.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./location-service-map-tjykrgmx.js";
24
+ } from "./file-tjykrgmx.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./location-service-map-3qzbfqsy.js";
27
+ } from "./file-3qzbfqsy.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./location-service-map-je9hks3h.js";
30
+ } from "./file-thfv75je.js";
31
31
  import {
32
32
  __export
33
- } from "./location-service-map-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make6
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
55
- const bus = yield* Service78;
54
+ var make6 = Effect.gen(function* () {
55
+ const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service43;
58
- const toolOutput = yield* Service53;
57
+ const snapshots = yield* Service49;
58
+ const toolOutput = yield* Service74;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make3, exports_step };
208
+ export { Outcome2, make6, exports_step };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./location-service-map-w8c40dj8.js";
6
+ } from "./file-299sgebr.js";
7
7
  import {
8
- Service54
9
- } from "./location-service-map-pzhbq0pe.js";
8
+ Service68
9
+ } from "./file-qr8ddv5p.js";
10
10
  import {
11
- Service21
12
- } from "./location-service-map-774scpz9.js";
11
+ Service54
12
+ } from "./file-ss1z5pd1.js";
13
13
  import {
14
14
  observe2
15
- } from "./location-service-map-qsdy395h.js";
15
+ } from "./file-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./location-service-map-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin2
24
+ Plugin: () => Plugin37
25
25
  });
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode-ai/util/global";
30
- var Plugin2 = define({
30
+ var Plugin37 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service54;
33
+ const config = yield* Service68;
34
34
  const location = yield* Service76;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service21;
36
+ const worktrees = yield* Service54;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin2 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin2, exports_worktree };
51
+ export { Plugin37, exports_worktree };