@opencode/core 2.0.4 → 2.0.5

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-h6nxw0pd.js → instruction-discovery-029er0hp.js} +6 -6
  8. package/dist/chunks/{location-qx4vf964.js → instruction-discovery-0a3qk1rf.js} +26 -26
  9. package/dist/chunks/{location-2h5hbqz0.js → instruction-discovery-0a90bcv0.js} +8 -8
  10. package/dist/chunks/{location-t44e5ekz.js → instruction-discovery-0e92bpf8.js} +8 -8
  11. package/dist/chunks/{location-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-t08nxc7z.js → instruction-discovery-0r7xxs81.js} +23 -23
  14. package/dist/chunks/{location-xgwrkgz7.js → instruction-discovery-0yy4b7d0.js} +33 -33
  15. package/dist/chunks/{location-9e4sgp44.js → instruction-discovery-1829bv76.js} +11 -11
  16. package/dist/chunks/{location-v955qpq7.js → instruction-discovery-18steed6.js} +18 -18
  17. package/dist/chunks/{location-zhq6vg7a.js → instruction-discovery-19w9qk9n.js} +1 -1
  18. package/dist/chunks/{location-bwan06ag.js → instruction-discovery-1az6fcmj.js} +11 -11
  19. package/dist/chunks/{location-4ndgv5gc.js → instruction-discovery-1c2y5bma.js} +11 -11
  20. package/dist/chunks/{location-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-fvezrss0.js → instruction-discovery-1mr1eyme.js} +12 -12
  22. package/dist/chunks/{location-d4h3m1fk.js → instruction-discovery-1nm9pcrp.js} +21 -21
  23. package/dist/chunks/{location-mraxsbbc.js → instruction-discovery-1r7c63ym.js} +3 -3
  24. package/dist/chunks/{location-gap281sm.js → instruction-discovery-1sj4msk3.js} +14 -14
  25. package/dist/chunks/{location-jnj7tv4d.js → instruction-discovery-1z146pd3.js} +16 -16
  26. package/dist/chunks/{location-ma15yhyh.js → instruction-discovery-207ajt2h.js} +5 -5
  27. package/dist/chunks/{location-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  28. package/dist/chunks/{location-ha607pgt.js → instruction-discovery-23wpwp1k.js} +6 -6
  29. package/dist/chunks/{location-0n6bmg1f.js → instruction-discovery-24p6mxem.js} +13 -13
  30. package/dist/chunks/{location-mg9k7fh1.js → instruction-discovery-26zmf1pq.js} +22 -22
  31. package/dist/chunks/{location-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-z9037jhe.js → instruction-discovery-2j4ac2f1.js} +11 -11
  33. package/dist/chunks/{location-genz7rm5.js → instruction-discovery-2jh18hkm.js} +4 -4
  34. package/dist/chunks/{location-57ez7d0k.js → instruction-discovery-2w6fc0zt.js} +7 -7
  35. package/dist/chunks/{location-4gw20jm7.js → instruction-discovery-32nwpadc.js} +11 -11
  36. package/dist/chunks/{location-16fm13tn.js → instruction-discovery-338yd3q8.js} +5 -5
  37. package/dist/chunks/{location-z0ahgr69.js → instruction-discovery-33msecec.js} +27 -27
  38. package/dist/chunks/{location-56gdpj1q.js → instruction-discovery-33w4ejhs.js} +6 -6
  39. package/dist/chunks/{location-g6kf84zp.js → instruction-discovery-36m7pkzw.js} +6 -6
  40. package/dist/chunks/{location-fkrjvdfc.js → instruction-discovery-378zzhja.js} +31 -31
  41. package/dist/chunks/{location-k9matq9w.js → instruction-discovery-3bnvp3y0.js} +15 -15
  42. package/dist/chunks/{location-4y7mzcta.js → instruction-discovery-3c8gbk9s.js} +17 -17
  43. package/dist/chunks/{location-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{location-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{location-fzkvtrkw.js → instruction-discovery-3nwqm4xm.js} +5 -5
  46. package/dist/chunks/{location-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{location-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{location-m3dp0h2h.js → instruction-discovery-3vhfgt92.js} +8 -8
  49. package/dist/chunks/{location-b6f6n79x.js → instruction-discovery-3zj26zxs.js} +9 -9
  50. package/dist/chunks/{location-aqxshtk7.js → instruction-discovery-444wcx0m.js} +33 -33
  51. package/dist/chunks/{location-h6r3nrb9.js → instruction-discovery-44h5tttr.js} +4 -4
  52. package/dist/chunks/{location-80pk4fcb.js → instruction-discovery-45zz8fdq.js} +5 -5
  53. package/dist/chunks/{location-54nm7ze4.js → instruction-discovery-466w7y98.js} +10 -10
  54. package/dist/chunks/{location-p6k0w3ef.js → instruction-discovery-48pbfrvk.js} +9 -9
  55. package/dist/chunks/{location-6qx63egk.js → instruction-discovery-4edzycq9.js} +79 -79
  56. package/dist/chunks/{location-xg60yd56.js → instruction-discovery-4jdqb6vt.js} +20 -20
  57. package/dist/chunks/{location-z83nn3gv.js → instruction-discovery-4jq0495n.js} +18 -18
  58. package/dist/chunks/{location-bccdc2z8.js → instruction-discovery-4jww6vkh.js} +17 -17
  59. package/dist/chunks/{location-wv7pem94.js → instruction-discovery-4kvj1wzz.js} +10 -10
  60. package/dist/chunks/{location-njhqdk9p.js → instruction-discovery-4nj4bn9q.js} +2 -2
  61. package/dist/chunks/instruction-discovery-4v7qdvcn.js +18 -0
  62. package/dist/chunks/{location-71yarwtx.js → instruction-discovery-56w11rj3.js} +4 -4
  63. package/dist/chunks/{location-1gfezbxs.js → instruction-discovery-58ka6e3j.js} +30 -30
  64. package/dist/chunks/{location-ynp65gvm.js → instruction-discovery-5a7yz907.js} +7 -7
  65. package/dist/chunks/{location-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  66. package/dist/chunks/{location-71zsbp9a.js → instruction-discovery-5p6pg4tj.js} +20 -20
  67. package/dist/chunks/{location-2qbra9xj.js → instruction-discovery-5rtcdtd1.js} +19 -19
  68. package/dist/chunks/{location-4gbwy2e3.js → instruction-discovery-5rz2hsq0.js} +7 -7
  69. package/dist/chunks/{location-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{location-p84dsdfh.js → instruction-discovery-64s65d1n.js} +8 -8
  71. package/dist/chunks/{location-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  72. package/dist/chunks/{location-x3589ane.js → instruction-discovery-6a9734zn.js} +29 -29
  73. package/dist/chunks/{location-d6b8948v.js → instruction-discovery-6bp9km5f.js} +5 -5
  74. package/dist/chunks/instruction-discovery-6cqkcgv0.js +478 -0
  75. package/dist/chunks/{location-6h73sxmp.js → instruction-discovery-6h73sxmp.js} +1 -1
  76. package/dist/chunks/{location-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{location-mvfsc1pv.js → instruction-discovery-73tb2d7t.js} +3 -3
  78. package/dist/chunks/{location-53nms1ph.js → instruction-discovery-77m2hw5c.js} +32 -32
  79. package/dist/chunks/{location-tmq9efvy.js → instruction-discovery-78hbjvp7.js} +18 -18
  80. package/dist/chunks/{location-pe4p6r2b.js → instruction-discovery-78rb030m.js} +33 -33
  81. package/dist/chunks/{location-37s12vcn.js → instruction-discovery-78v47nsk.js} +5 -5
  82. package/dist/chunks/instruction-discovery-7aagt1ep.js +247 -0
  83. package/dist/chunks/{location-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{location-4q5m965g.js → instruction-discovery-7j3fq2cw.js} +9 -9
  85. package/dist/chunks/{location-tsjh32me.js → instruction-discovery-7kvy0jtg.js} +12 -12
  86. package/dist/chunks/{location-5c0f1prt.js → instruction-discovery-81czwxpn.js} +4 -4
  87. package/dist/chunks/{location-zyx4eyj3.js → instruction-discovery-88dkmhka.js} +2 -2
  88. package/dist/chunks/{location-qb3a001x.js → instruction-discovery-88z92y6j.js} +41 -41
  89. package/dist/chunks/{location-t73kfpst.js → instruction-discovery-8actpy02.js} +13 -13
  90. package/dist/chunks/{location-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{location-9ykb5v1y.js → instruction-discovery-8hdgcmvp.js} +5 -5
  92. package/dist/chunks/{location-8p4f9s12.js → instruction-discovery-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{location-dc94v6gx.js → instruction-discovery-92f49rtq.js} +20 -20
  94. package/dist/chunks/{location-bkpqdbf1.js → instruction-discovery-9g3d7f2z.js} +26 -26
  95. package/dist/chunks/{location-n2apd2zv.js → instruction-discovery-9hjja45j.js} +9 -9
  96. package/dist/chunks/{location-p37cw4rj.js → instruction-discovery-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{location-sqjb25rk.js → instruction-discovery-9kyabea7.js} +11 -11
  98. package/dist/chunks/{location-rvenhx9v.js → instruction-discovery-9n0dsy51.js} +166 -166
  99. package/dist/chunks/{location-t9tr543n.js → instruction-discovery-9pv03zpw.js} +79 -45
  100. package/dist/chunks/{location-wpt2rh6k.js → instruction-discovery-9rkevmgk.js} +26 -26
  101. package/dist/chunks/{location-ejrd0ctn.js → instruction-discovery-9v8385ms.js} +5 -5
  102. package/dist/chunks/{location-5f0yx823.js → instruction-discovery-9y32njdq.js} +25 -25
  103. package/dist/chunks/{location-a1bz86dw.js → instruction-discovery-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{location-r62y7mfn.js → instruction-discovery-a87mck0n.js} +25 -25
  105. package/dist/chunks/{location-g190xswt.js → instruction-discovery-a8bn8zg0.js} +4 -4
  106. package/dist/chunks/{location-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  107. package/dist/chunks/{location-y7wqy8pr.js → instruction-discovery-ab258zec.js} +19 -19
  108. package/dist/chunks/{location-ze4b80hv.js → instruction-discovery-aebc7qpb.js} +32 -32
  109. package/dist/chunks/{location-a6ntkr4w.js → instruction-discovery-ak3nc98z.js} +4 -4
  110. package/dist/chunks/{location-a8d2vvnh.js → instruction-discovery-ampvn4qt.js} +6 -6
  111. package/dist/chunks/{location-g1sxm558.js → instruction-discovery-aq5y8b9e.js} +8 -8
  112. package/dist/chunks/{location-sr0mbv75.js → instruction-discovery-ay615zsc.js} +12 -12
  113. package/dist/chunks/{location-yvny6rkw.js → instruction-discovery-b1746fgd.js} +24 -24
  114. package/dist/chunks/{location-q3fve2xg.js → instruction-discovery-b3y784v2.js} +17 -17
  115. package/dist/chunks/{location-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{location-xr0yzbqe.js → instruction-discovery-c6nzkrcz.js} +4 -4
  117. package/dist/chunks/{location-pnbc4b3j.js → instruction-discovery-cbgr23ns.js} +11 -11
  118. package/dist/chunks/{location-55rvc5qv.js → instruction-discovery-cckk8bsw.js} +28 -28
  119. package/dist/chunks/{location-cfpkc3c9.js → instruction-discovery-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{location-4v7ac2af.js → instruction-discovery-cksv5s6r.js} +26 -26
  121. package/dist/chunks/{location-cdbvkm1j.js → instruction-discovery-cpaj0n15.js} +5 -5
  122. package/dist/chunks/{location-ngacfpxr.js → instruction-discovery-cvnk88jx.js} +21 -21
  123. package/dist/chunks/{location-84fnhy9b.js → instruction-discovery-d7930f8j.js} +10 -10
  124. package/dist/chunks/{location-etryyd25.js → instruction-discovery-dcjwzqtv.js} +32 -32
  125. package/dist/chunks/{location-c488s98d.js → instruction-discovery-df9eyrmy.js} +12 -12
  126. package/dist/chunks/{location-d4he2qe1.js → instruction-discovery-djszqvmq.js} +9 -9
  127. package/dist/chunks/{location-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{location-xfkkasph.js → instruction-discovery-drwq78ky.js} +4 -4
  129. package/dist/chunks/{location-ppnykba5.js → instruction-discovery-dw8937wj.js} +11 -11
  130. package/dist/chunks/{location-ge2f9a94.js → instruction-discovery-dwd00071.js} +19 -19
  131. package/dist/chunks/{location-j311gd59.js → instruction-discovery-dwvzh0g2.js} +9 -9
  132. package/dist/chunks/{location-k9avtbwf.js → instruction-discovery-e17z8zpc.js} +6 -6
  133. package/dist/chunks/{location-0cchtpr4.js → instruction-discovery-e4nq6v23.js} +8 -8
  134. package/dist/chunks/{location-s8367sdj.js → instruction-discovery-eebc2rt6.js} +15 -15
  135. package/dist/chunks/{location-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{location-czd7j84z.js → instruction-discovery-em05np38.js} +8 -8
  137. package/dist/chunks/{location-tcddack9.js → instruction-discovery-emkjygpb.js} +18 -18
  138. package/dist/chunks/{location-k624arf9.js → instruction-discovery-emzgf0hj.js} +3 -3
  139. package/dist/chunks/{location-qn4ba14w.js → instruction-discovery-eq23s0y6.js} +5 -5
  140. package/dist/chunks/{location-t5fxxz44.js → instruction-discovery-etcptmad.js} +26 -26
  141. package/dist/chunks/{location-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{location-4kqwnkpq.js → instruction-discovery-f2kqmm63.js} +8 -8
  143. package/dist/chunks/{location-1bc7s31c.js → instruction-discovery-f7n6j563.js} +17 -17
  144. package/dist/chunks/{location-f828m53h.js → instruction-discovery-f828m53h.js} +2 -2
  145. package/dist/chunks/{location-1e34zb65.js → instruction-discovery-fbaqdnvp.js} +20 -20
  146. package/dist/chunks/{location-shtmkj1w.js → instruction-discovery-fqww2hbw.js} +23 -23
  147. package/dist/chunks/{location-2jfw170m.js → instruction-discovery-fw3v8b4w.js} +9 -9
  148. package/dist/chunks/{location-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{location-7cgd0b8x.js → instruction-discovery-g35x6qc6.js} +22 -22
  150. package/dist/chunks/{location-eqa8eaaa.js → instruction-discovery-g479j9dz.js} +11 -11
  151. package/dist/chunks/{location-cwwe0xn7.js → instruction-discovery-g8tp2ddb.js} +78 -78
  152. package/dist/chunks/{location-mf4knkt4.js → instruction-discovery-g9cpt5ca.js} +30 -30
  153. package/dist/chunks/{location-s8d7rejh.js → instruction-discovery-gbt6w4kb.js} +8 -8
  154. package/dist/chunks/{location-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{location-cjdwydd7.js → instruction-discovery-gm9abxbg.js} +13 -13
  156. package/dist/chunks/{location-6xbxg5de.js → instruction-discovery-gq5rp1wh.js} +6 -6
  157. package/dist/chunks/{location-rp6d2jqx.js → instruction-discovery-gqt4q109.js} +24 -24
  158. package/dist/chunks/{location-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{location-cshhrmft.js → instruction-discovery-gwm2cjfp.js} +17 -17
  160. package/dist/chunks/{location-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{location-pb8g46v2.js → instruction-discovery-h2vfddx5.js} +42 -42
  162. package/dist/chunks/{location-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-h6qd4a95.js → instruction-discovery-h7dw0jnp.js} +44 -44
  164. package/dist/chunks/{location-0ekdksbx.js → instruction-discovery-h9vg4cc6.js} +24 -24
  165. package/dist/chunks/{location-y16p1w2y.js → instruction-discovery-hes1j7ga.js} +9 -9
  166. package/dist/chunks/{location-2073epbj.js → instruction-discovery-hj4jgbr8.js} +9 -9
  167. package/dist/chunks/{location-e8xyxekr.js → instruction-discovery-hnpkfvtv.js} +47 -47
  168. package/dist/chunks/{location-h896pcm5.js → instruction-discovery-hq8zt1th.js} +4 -4
  169. package/dist/chunks/{location-k74qzmgf.js → instruction-discovery-hzzav9z2.js} +14 -14
  170. package/dist/chunks/{location-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  171. package/dist/chunks/{location-41h561sc.js → instruction-discovery-j5rxtxht.js} +7 -8
  172. package/dist/chunks/{location-6yk9v5a8.js → instruction-discovery-jcehjjw3.js} +4 -4
  173. package/dist/chunks/{location-v63zasnn.js → instruction-discovery-jg7s3n8r.js} +20 -20
  174. package/dist/chunks/{location-cyt4mzy8.js → instruction-discovery-jgf81bvk.js} +66 -66
  175. package/dist/chunks/{location-e4z3td0h.js → instruction-discovery-jk6a9ave.js} +30 -30
  176. package/dist/chunks/{location-s1tbsnwf.js → instruction-discovery-jyfph6m6.js} +22 -22
  177. package/dist/chunks/{location-2cg15w2x.js → instruction-discovery-k14vmcg0.js} +13 -13
  178. package/dist/chunks/{location-jppvw2tx.js → instruction-discovery-k3gnzxs0.js} +5 -5
  179. package/dist/chunks/{location-1pjkgqc1.js → instruction-discovery-k6rzxkd3.js} +11 -11
  180. package/dist/chunks/{location-txrndw2w.js → instruction-discovery-k9w3fgz4.js} +25 -25
  181. package/dist/chunks/{location-44ke2mar.js → instruction-discovery-knb7evpn.js} +2 -2
  182. package/dist/chunks/{location-vyy93js0.js → instruction-discovery-kqjw8gv6.js} +37 -37
  183. package/dist/chunks/{location-gvqzdcce.js → instruction-discovery-krxgz8mr.js} +22 -22
  184. package/dist/chunks/instruction-discovery-m3fdjcah.js +46 -0
  185. package/dist/chunks/{location-fb7w7frq.js → instruction-discovery-m4cf4vvt.js} +15 -15
  186. package/dist/chunks/{location-4zwsjqnv.js → instruction-discovery-m837a38g.js} +19 -19
  187. package/dist/chunks/{location-jpkvw2np.js → instruction-discovery-m8pwhfnp.js} +37 -37
  188. package/dist/chunks/{location-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{location-z0e3fq4k.js → instruction-discovery-mbrtjw0c.js} +6 -6
  190. package/dist/chunks/{location-htqn1cqw.js → instruction-discovery-mjqn40ac.js} +11 -11
  191. package/dist/chunks/{location-7w99qc9d.js → instruction-discovery-mn7hgmyj.js} +3 -3
  192. package/dist/chunks/instruction-discovery-mqvgb463.js +26 -0
  193. package/dist/chunks/{location-c5gn303e.js → instruction-discovery-mqy0jkn2.js} +4 -4
  194. package/dist/chunks/{location-7d92myjq.js → instruction-discovery-mx7b5mce.js} +39 -39
  195. package/dist/chunks/{location-26vh48er.js → instruction-discovery-n0tdmknn.js} +7 -7
  196. package/dist/chunks/{location-st4yk5kb.js → instruction-discovery-n1xefwxf.js} +11 -11
  197. package/dist/chunks/{location-jrr2ndyj.js → instruction-discovery-n81wkjqj.js} +3 -3
  198. package/dist/chunks/{location-eshsynjd.js → instruction-discovery-n9bg66xr.js} +28 -28
  199. package/dist/chunks/{location-weh21y9w.js → instruction-discovery-nn3w8ya3.js} +11 -11
  200. package/dist/chunks/{location-pnv527nz.js → instruction-discovery-nscznvay.js} +9 -9
  201. package/dist/chunks/{location-r9mregkx.js → instruction-discovery-nzks3jc8.js} +44 -27
  202. package/dist/chunks/{location-a1a50ys5.js → instruction-discovery-p44d8wdy.js} +5 -5
  203. package/dist/chunks/{location-3egkyh9x.js → instruction-discovery-p6hhdbp1.js} +8 -8
  204. package/dist/chunks/{location-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  206. package/dist/chunks/{location-485fr60v.js → instruction-discovery-pyp2rmkt.js} +16 -16
  207. package/dist/chunks/{location-5x09agpp.js → instruction-discovery-q2bxhs6b.js} +51 -51
  208. package/dist/chunks/{location-8n64cbn2.js → instruction-discovery-q581keqr.js} +2 -2
  209. package/dist/chunks/{location-qc69v8fs.js → instruction-discovery-q60qfh9s.js} +6 -6
  210. package/dist/chunks/{location-m8dm7px8.js → instruction-discovery-q76b2ped.js} +22 -22
  211. package/dist/chunks/{location-t5j6jz0m.js → instruction-discovery-qcb68cv5.js} +20 -20
  212. package/dist/chunks/{location-z188jmp0.js → instruction-discovery-qewbq6bc.js} +13 -13
  213. package/dist/chunks/{location-607tc6va.js → instruction-discovery-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{location-d4091zmr.js → instruction-discovery-qh96k4k1.js} +11 -11
  215. package/dist/chunks/{location-mz8r4wev.js → instruction-discovery-qjpk9dge.js} +7 -7
  216. package/dist/chunks/{location-fqb2p7cx.js → instruction-discovery-qm0v3jhh.js} +7 -7
  217. package/dist/chunks/{location-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  218. package/dist/chunks/{location-snypfz89.js → instruction-discovery-qwy8h0yc.js} +7 -7
  219. package/dist/chunks/{location-kf09gset.js → instruction-discovery-r1p3dd79.js} +14 -14
  220. package/dist/chunks/{location-k3rr10ns.js → instruction-discovery-rb6z2mdp.js} +28 -28
  221. package/dist/chunks/{location-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{location-2y4tf7d9.js → instruction-discovery-rw15cjs6.js} +7 -7
  223. package/dist/chunks/{location-9ar5c0cq.js → instruction-discovery-rwk055kb.js} +3 -3
  224. package/dist/chunks/{location-rzs3gq0x.js → instruction-discovery-rzs3gq0x.js} +1 -1
  225. package/dist/chunks/{location-d2tce9ap.js → instruction-discovery-s2br5vfy.js} +1 -1
  226. package/dist/chunks/{location-fe5yr6he.js → instruction-discovery-s84t8sre.js} +20 -20
  227. package/dist/chunks/{location-eevr0wqz.js → instruction-discovery-ssbpaa97.js} +3 -3
  228. package/dist/chunks/{location-r54z1mhc.js → instruction-discovery-sxqcr6wk.js} +12 -12
  229. package/dist/chunks/{location-t9zs3egg.js → instruction-discovery-t9zs3egg.js} +1 -1
  230. package/dist/chunks/{location-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-s9p11epj.js → instruction-discovery-tbrsbcaz.js} +12 -12
  232. package/dist/chunks/{location-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{location-4wv5y4sh.js → instruction-discovery-td2t4wzh.js} +41 -41
  234. package/dist/chunks/{location-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  235. package/dist/chunks/{location-9djwnjxj.js → instruction-discovery-tm6j2b42.js} +35 -35
  236. package/dist/chunks/{location-t56ztj25.js → instruction-discovery-tmp7mf59.js} +24 -24
  237. package/dist/chunks/{location-ed36h9sa.js → instruction-discovery-tr16pgkv.js} +27 -27
  238. package/dist/chunks/{location-bd0ss37q.js → instruction-discovery-ts9rs282.js} +15 -15
  239. package/dist/chunks/{location-7yhrjmqc.js → instruction-discovery-ttdfrrk2.js} +11 -11
  240. package/dist/chunks/{location-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  241. package/dist/chunks/{location-gbxnzk38.js → instruction-discovery-v5w6sppg.js} +32 -32
  242. package/dist/chunks/{location-72ewdht9.js → instruction-discovery-vcye14pz.js} +40 -32
  243. package/dist/chunks/{location-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-me799xqk.js → instruction-discovery-vx97awvm.js} +31 -31
  245. package/dist/chunks/{location-ycjgd44k.js → instruction-discovery-vxf6g7p6.js} +5 -5
  246. package/dist/chunks/{location-z6y26n19.js → instruction-discovery-vyxzcs45.js} +4 -4
  247. package/dist/chunks/{location-hfdr1yjj.js → instruction-discovery-vyy6cxw9.js} +4 -4
  248. package/dist/chunks/{location-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{location-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-bjs2yq5f.js → instruction-discovery-w4arg62q.js} +6 -6
  251. package/dist/chunks/instruction-discovery-wd3es6t1.js +4 -0
  252. package/dist/chunks/{location-8qwcecfd.js → instruction-discovery-wd3qynhg.js} +1 -1
  253. package/dist/chunks/{location-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  254. package/dist/chunks/{location-yq2q1mjm.js → instruction-discovery-wjck36vb.js} +3 -3
  255. package/dist/chunks/{location-1ajyz94d.js → instruction-discovery-wmttgrd3.js} +11 -11
  256. package/dist/chunks/{location-4pdtgr8m.js → instruction-discovery-x12gwff2.js} +24 -24
  257. package/dist/chunks/{location-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-ckz6mm57.js → instruction-discovery-x33k6nf3.js} +21 -21
  259. package/dist/chunks/{location-typ6ybs4.js → instruction-discovery-x4hh2yva.js} +27 -27
  260. package/dist/chunks/{location-zn93437f.js → instruction-discovery-x4ytj6pq.js} +29 -29
  261. package/dist/chunks/{location-0g8qpgb7.js → instruction-discovery-x83qg319.js} +5 -5
  262. package/dist/chunks/{location-pg4czqbe.js → instruction-discovery-x9hq217q.js} +33 -33
  263. package/dist/chunks/{location-x1war47d.js → instruction-discovery-xdbx4t5e.js} +10 -10
  264. package/dist/chunks/{location-pht46j1j.js → instruction-discovery-xxx2a5sq.js} +8 -8
  265. package/dist/chunks/{location-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/instruction-discovery-y35sf2j4.js +164 -0
  267. package/dist/chunks/{location-pfcfnkqj.js → instruction-discovery-y3w6sw4s.js} +5 -5
  268. package/dist/chunks/{location-x1fxwrpv.js → instruction-discovery-y55yjzpr.js} +51 -51
  269. package/dist/chunks/{location-nng2ktcm.js → instruction-discovery-y6pbk9jp.js} +2 -2
  270. package/dist/chunks/{location-818pfwc9.js → instruction-discovery-y7x142mt.js} +8 -8
  271. package/dist/chunks/{location-b1ppdmtk.js → instruction-discovery-ydzd8ct0.js} +20 -20
  272. package/dist/chunks/{location-p3qxne8d.js → instruction-discovery-yhj6r7vt.js} +23 -23
  273. package/dist/chunks/{location-1acjjqhc.js → instruction-discovery-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{location-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-y2bp1sda.js → instruction-discovery-ytfea4mt.js} +14 -14
  277. package/dist/chunks/{location-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-t7gx2zvx.js → instruction-discovery-z3tdms7e.js} +21 -21
  279. package/dist/chunks/{location-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
  280. package/dist/chunks/{location-embw8kgh.js → instruction-discovery-zav06jzw.js} +4 -4
  281. package/dist/chunks/{location-phz9ppdn.js → instruction-discovery-zdpte8cy.js} +13 -13
  282. package/dist/chunks/{location-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{location-nb0t3kxz.js → instruction-discovery-zhv99wwk.js} +14 -14
  284. package/dist/chunks/{location-7x9k4znd.js → instruction-discovery-zmz7rfv6.js} +49 -49
  285. package/dist/chunks/{location-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -2
  290. package/dist/codemode/web.js +10 -0
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +83 -83
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +124 -124
  296. package/dist/config/plugin/command.js +213 -212
  297. package/dist/config/plugin/compaction.js +159 -158
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +122 -122
  304. package/dist/config/plugin/mcp.js +131 -131
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +125 -125
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +65 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +361 -360
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -219
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +102 -102
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +107 -107
  426. package/dist/form.js +81 -81
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +88 -88
  429. package/dist/generate.js +100 -100
  430. package/dist/git.js +10 -10
  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 +98 -98
  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/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +3 -3
  454. package/dist/instance.js +354 -353
  455. package/dist/instruction-discovery.js +82 -82
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +74 -74
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +68 -68
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +353 -352
  467. package/dist/location.js +80 -80
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +125 -124
  471. package/dist/mcp/oauth.js +81 -78
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +98 -98
  475. package/dist/model-resolver.js +97 -97
  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 +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +108 -108
  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 +74 -74
  487. package/dist/plugin/agent.js +103 -103
  488. package/dist/plugin/command.js +100 -100
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -216
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -327
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +121 -121
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai.js +91 -91
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +140 -140
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -342
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +226 -225
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -81
  555. package/dist/provider.js +98 -98
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +131 -130
  570. package/dist/session/context.js +151 -150
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +1 -1
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +222 -221
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +150 -149
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +114 -113
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +227 -226
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +113 -113
  600. package/dist/session/runner/step.js +125 -124
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -208
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +155 -154
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +216 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +217 -216
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +15 -15
  621. package/dist/shell.js +135 -135
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +122 -121
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +5 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +116 -116
  638. package/dist/tool/plugin/shell.js +214 -213
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +218 -217
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -13
  648. package/dist/types/codemode/web.d.ts +8 -0
  649. package/dist/types/plugin/identity.d.ts +0 -1
  650. package/dist/types/tool/plugin/opencode.d.ts +7 -0
  651. package/dist/types/tool/plugin/subagent.d.ts +3 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/formatter.js +7 -7
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +1 -1
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/variant.js +92 -92
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +78 -78
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +77 -77
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +88 -88
  691. package/dist/worktree.js +95 -95
  692. package/package.json +8 -8
  693. package/dist/chunks/location-0mesazry.js +0 -4
  694. package/dist/chunks/location-15k3fnp5.js +0 -478
  695. package/dist/chunks/location-az2ykr48.js +0 -26
  696. package/dist/chunks/location-by5v678g.js +0 -18
  697. package/dist/chunks/location-xj85r64f.js +0 -247
  698. package/dist/chunks/location-z2nspjwn.js +0 -80
  699. /package/dist/chunks/{location-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{location-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{location-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{location-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{location-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{location-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{location-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{location-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{location-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{location-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{location-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  710. /package/dist/chunks/{location-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{location-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{location-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{location-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{location-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{location-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{location-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{location-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  718. /package/dist/chunks/{location-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{location-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{location-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  721. /package/dist/chunks/{location-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{location-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{location-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  724. /package/dist/chunks/{location-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{location-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{location-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  727. /package/dist/chunks/{location-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{location-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{location-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{location-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{location-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{location-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{location-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{location-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{location-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{location-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{location-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{location-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{location-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{location-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{location-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{location-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  743. /package/dist/chunks/{location-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{location-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{location-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{location-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{location-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{location-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{location-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{location-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{location-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{location-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{location-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{location-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{location-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  756. /package/dist/chunks/{location-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{location-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  758. /package/dist/chunks/{location-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{location-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  760. /package/dist/chunks/{location-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{location-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{location-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{location-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{location-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{location-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{location-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{location-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{location-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{location-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{location-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{location-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{location-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{location-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{location-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./location-tsjh32me.js";
2
+ Service81,
3
+ node85
4
+ } from "./instruction-discovery-7kvy0jtg.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-7cgd0b8x.js";
7
+ } from "./instruction-discovery-g35x6qc6.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-sk3qaz4a.js";
10
+ } from "./instruction-discovery-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured2,
25
- layer: () => layer8,
26
- node: () => node19
22
+ Service: () => Service42,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured8,
25
+ layer: () => layer19,
26
+ node: () => node46
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service42 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
53
- const bus = yield* Service78;
52
+ var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* () {
53
+ const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError5({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service16.of({
242
+ return Service42.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer8 = makeLayer();
259
- var configured2 = (options) => makeGlobalNode({
260
- service: Service16,
261
- layer: options === undefined ? layer8 : makeLayer(options),
262
- deps: [node82, Global.node]
258
+ var layer19 = makeLayer();
259
+ var configured8 = (options) => makeGlobalNode({
260
+ service: Service42,
261
+ layer: options === undefined ? layer19 : makeLayer(options),
262
+ deps: [node85, Global.node]
263
263
  });
264
- var node19 = configured2();
264
+ var node46 = configured8();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options2, UnavailableError2, NotFoundError3, Service16, layer8, configured2, node19, exports_persistent_pty, Handoff2 };
304
+ export { Options8, UnavailableError3, NotFoundError5, Service42, layer19, configured8, node46, exports_persistent_pty, Handoff2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./location-yvny6rkw.js";
5
+ } from "./instruction-discovery-b1746fgd.js";
6
6
  import {
7
7
  merge2
8
- } from "./location-7x9k4znd.js";
8
+ } from "./instruction-discovery-zmz7rfv6.js";
9
9
  import {
10
10
  __export
11
- } from "./location-9rqn6x4v.js";
11
+ } from "./instruction-discovery-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin43
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin26
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin43 = define({
93
+ var Plugin26 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin43 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID7.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID7.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin43 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID7.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID7.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID7.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin43 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin43, exports_agent2 };
151
+ export { Plugin26, exports_agent };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-1ajyz94d.js";
3
+ } from "./instruction-discovery-wmttgrd3.js";
4
4
  import {
5
- Service78
6
- } from "./location-tsjh32me.js";
5
+ Service81
6
+ } from "./instruction-discovery-7kvy0jtg.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./location-aqxshtk7.js";
9
+ Event16
10
+ } from "./instruction-discovery-444wcx0m.js";
11
11
  import {
12
- ID14,
12
+ ID10,
13
13
  MethodID2
14
- } from "./location-gbxnzk38.js";
14
+ } from "./instruction-discovery-v5w6sppg.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./location-pjvnvgmy.js";
18
+ } from "./instruction-discovery-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID9,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./location-1gfezbxs.js";
23
+ } from "./instruction-discovery-58ka6e3j.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/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: ID14.make("openai"),
47
+ integrationID: ID10.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: ID14.make("openai"),
120
+ integrationID: ID10.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service78;
165
+ const bus = yield* Service81;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID13.openai);
181
+ const item = providers.get(ID9.openai);
182
182
  if (!item)
183
183
  return;
184
184
  if (!chatgpt)
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
194
194
  });
195
195
  });
196
196
  yield* ctx.model.transform((models) => {
197
- for (const model of models.list(ID13.openai)) {
197
+ for (const model of models.list(ID9.openai)) {
198
198
  models.update(model.providerID, model.id, (draft) => {
199
199
  draft.transport = "websocket";
200
200
  if (!chatgpt)
@@ -223,9 +223,9 @@ var OpenAIPlugin2 = define({
223
223
  evt.baseURL = codexBaseURL;
224
224
  evt.headers.originator = "opencode";
225
225
  evt.headers["session-id"] = evt.sessionID;
226
- }), { providerID: ID13.openai });
226
+ }), { providerID: ID9.openai });
227
227
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
228
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
228
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
229
229
  })
230
230
  });
231
231
  function headers(contentType, app) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-qfa1cgps.js";
3
+ } from "./instruction-discovery-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./location-1gfezbxs.js";
2
+ ID9
3
+ } from "./instruction-discovery-58ka6e3j.js";
4
4
  import {
5
5
  iife2
6
- } from "./location-1kg9ymc8.js";
6
+ } from "./instruction-discovery-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./location-qc69v8fs.js";
9
+ } from "./instruction-discovery-q60qfh9s.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-ai-gateway");
15
+ var providerID = ID9.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-zyx4eyj3.js";
3
+ } from "./instruction-discovery-88dkmhka.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./instruction-discovery-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service52,
12
+ Service: () => Service69,
13
13
  canonical: () => canonical3,
14
- node: () => node54
14
+ node: () => node72
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
26
+ var node72 = LayerNode.unbound(Service69, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
28
  return Ref4.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
@@ -31,4 +31,4 @@ function canonical3(ref) {
31
31
  });
32
32
  }
33
33
 
34
- export { Service52, node54, canonical3, exports_location_service_map };
34
+ export { Service69, node72, canonical3, exports_location_service_map };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./location-5t3nmthw.js";
3
+ } from "./instruction-discovery-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./instruction-discovery-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service33,
11
+ Service: () => Service32,
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer14,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node35
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -359,11 +359,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
359
359
  }, { discard: true });
360
360
  });
361
361
  yield* Effect.addFinalizer(() => closeAll);
362
- return Service33.of({ bind, close, closeAll });
362
+ return Service32.of({ bind, close, closeAll });
363
363
  }));
364
364
  var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
365
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
366
366
  })));
367
- var node37 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
367
+ var node35 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
368
368
 
369
- export { Service33, makeLayer2, layer14, node37, exports_model_transport };
369
+ export { Service32, makeLayer2, layer14, node35, exports_model_transport };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-yq2q1mjm.js";
4
+ } from "./instruction-discovery-wjck36vb.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./location-tsjh32me.js";
6
+ Service81,
7
+ node85
8
+ } from "./instruction-discovery-7kvy0jtg.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-pknna89w.js";
11
+ } from "./instruction-discovery-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-0q0f95c6.js";
14
+ } from "./instruction-discovery-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./instruction-discovery-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event16,
24
+ ID: () => ID12,
25
+ Info: () => Info27,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service74,
28
+ Service: () => Service64,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node67
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID12 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info27 extends Schema.Class("Credential.Info")({
44
+ id: ID12,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service74 extends Context.Service()("@opencode/Credential") {
51
+ class Service64 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service74, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
54
54
  const db = (yield* Service82).db;
55
- const bus = yield* Service78;
55
+ const bus = yield* Service81;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info30({
60
+ return new Info27({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service74.of({
71
+ return Service64.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info30({
80
- id: ID15.create(),
79
+ const credential = new Info27({
80
+ id: ID12.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event16.Updated, {}, { global: true });
105
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event16.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event16.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node86, node82] });
196
+ var node67 = makeGlobalNode({ service: Service64, layer, deps: [node86, node85] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service74, node78, exports_credential };
198
+ export { ID12, OAuth3, Key3, Value2, Event16, Info27, Service64, node67, exports_credential };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info28,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info28 = Connection.Info;
17
+ var Info24 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };