@opencode/core 0.0.0-dev-1141 → 0.0.0-dev-1153

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 (911) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +247 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{persistent-pty-aj7mw0zk.js → instruction-discovery-034tev2y.js} +2 -2
  9. package/dist/chunks/{persistent-pty-hrpg1pdd.js → instruction-discovery-035wadpx.js} +7 -7
  10. package/dist/chunks/{persistent-pty-dqahggxs.js → instruction-discovery-03afj9c3.js} +90 -90
  11. package/dist/chunks/{persistent-pty-5mw7s1b6.js → instruction-discovery-0c1h5397.js} +23 -23
  12. package/dist/chunks/{persistent-pty-rmh25tnk.js → instruction-discovery-0d3jspgf.js} +16 -16
  13. package/dist/chunks/{persistent-pty-0j7gp832.js → instruction-discovery-0j7gp832.js} +1 -1
  14. package/dist/chunks/{persistent-pty-6ss6ngz0.js → instruction-discovery-0m9q59s6.js} +4 -4
  15. package/dist/chunks/{persistent-pty-0ma9gw4f.js → instruction-discovery-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{persistent-pty-wrwtw7ga.js → instruction-discovery-0qrcky28.js} +28 -28
  17. package/dist/chunks/{persistent-pty-g75vsea6.js → instruction-discovery-0thdzspe.js} +6 -6
  18. package/dist/chunks/{persistent-pty-1aqsckx4.js → instruction-discovery-1aqsckx4.js} +1 -1
  19. package/dist/chunks/{persistent-pty-27w5k9zf.js → instruction-discovery-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{persistent-pty-0h86f0az.js → instruction-discovery-1v2g13eq.js} +4 -4
  21. package/dist/chunks/{persistent-pty-y41qxc5h.js → instruction-discovery-1w3geam7.js} +176 -176
  22. package/dist/chunks/{persistent-pty-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{persistent-pty-1yq9hg58.js → instruction-discovery-1yq9hg58.js} +1 -1
  24. package/dist/chunks/{persistent-pty-9b5pg85y.js → instruction-discovery-211a3q4s.js} +8 -8
  25. package/dist/chunks/{persistent-pty-dmvn3jq9.js → instruction-discovery-27b5kgf3.js} +7 -7
  26. package/dist/chunks/{persistent-pty-2fc7eemy.js → instruction-discovery-2fc7eemy.js} +1 -1
  27. package/dist/chunks/{persistent-pty-6zkjwwbt.js → instruction-discovery-2mdc9532.js} +77 -77
  28. package/dist/chunks/{persistent-pty-s1ba0vj0.js → instruction-discovery-2p60zmnr.js} +2 -2
  29. package/dist/chunks/{persistent-pty-q4aadatb.js → instruction-discovery-2pvfmx83.js} +24 -24
  30. package/dist/chunks/{persistent-pty-q0xawjdj.js → instruction-discovery-2s4n401s.js} +5 -5
  31. package/dist/chunks/{persistent-pty-2s9mae96.js → instruction-discovery-2s9mae96.js} +3 -3
  32. package/dist/chunks/{persistent-pty-tq501wp9.js → instruction-discovery-2tfft3sg.js} +6 -6
  33. package/dist/chunks/{persistent-pty-rn9cpdem.js → instruction-discovery-2vmes2jj.js} +31 -31
  34. package/dist/chunks/{persistent-pty-t1dd3zqa.js → instruction-discovery-2yey3x5y.js} +6 -6
  35. package/dist/chunks/{persistent-pty-5kjbjby5.js → instruction-discovery-2zw0bpzz.js} +12 -12
  36. package/dist/chunks/{persistent-pty-gckn4wsj.js → instruction-discovery-35yb2skd.js} +21 -21
  37. package/dist/chunks/{persistent-pty-txaz18nt.js → instruction-discovery-37k6b6nc.js} +3 -3
  38. package/dist/chunks/{persistent-pty-38aws4xb.js → instruction-discovery-38aws4xb.js} +1 -1
  39. package/dist/chunks/{persistent-pty-3adw4bt5.js → instruction-discovery-3adw4bt5.js} +2 -2
  40. package/dist/chunks/{persistent-pty-qfgdng4e.js → instruction-discovery-3ehzsbnd.js} +3 -3
  41. package/dist/chunks/{persistent-pty-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{persistent-pty-pb8daj1x.js → instruction-discovery-3k17hp5t.js} +4 -4
  43. package/dist/chunks/{persistent-pty-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{persistent-pty-8gzgd6gz.js → instruction-discovery-3yg3yfc8.js} +20 -20
  45. package/dist/chunks/{persistent-pty-40y6dtc2.js → instruction-discovery-40y6dtc2.js} +1 -1
  46. package/dist/chunks/{persistent-pty-jxd6f16v.js → instruction-discovery-44pmzq9c.js} +2 -2
  47. package/dist/chunks/{persistent-pty-77y0kkm0.js → instruction-discovery-46edcy5z.js} +33 -33
  48. package/dist/chunks/{persistent-pty-y1m2rnym.js → instruction-discovery-495vdj1c.js} +8 -8
  49. package/dist/chunks/{persistent-pty-5j9ncfs4.js → instruction-discovery-4apw5rjv.js} +6 -6
  50. package/dist/chunks/{persistent-pty-4dx1dgte.js → instruction-discovery-4dx1dgte.js} +1 -1
  51. package/dist/chunks/{persistent-pty-4f25tdd0.js → instruction-discovery-4f25tdd0.js} +1 -1
  52. package/dist/chunks/{persistent-pty-htqc7tfk.js → instruction-discovery-4fxfq119.js} +13 -13
  53. package/dist/chunks/{persistent-pty-4pyp9zr9.js → instruction-discovery-4pyp9zr9.js} +1 -1
  54. package/dist/chunks/{persistent-pty-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
  55. package/dist/chunks/{persistent-pty-x50d9hj1.js → instruction-discovery-4v3pcqtp.js} +23 -23
  56. package/dist/chunks/{persistent-pty-04qc8z7j.js → instruction-discovery-4vzr2b15.js} +3 -3
  57. package/dist/chunks/{persistent-pty-e9v43avg.js → instruction-discovery-4zz6w6ms.js} +39 -39
  58. package/dist/chunks/{persistent-pty-401vphjz.js → instruction-discovery-50k5bes4.js} +5 -5
  59. package/dist/chunks/{persistent-pty-9b0bxgxr.js → instruction-discovery-51143kyp.js} +8 -8
  60. package/dist/chunks/{persistent-pty-k0z9bhgz.js → instruction-discovery-51beeett.js} +42 -42
  61. package/dist/chunks/{persistent-pty-yqx1adnq.js → instruction-discovery-51gph2p8.js} +9 -9
  62. package/dist/chunks/{persistent-pty-g12t90cy.js → instruction-discovery-52tez8pf.js} +7 -7
  63. package/dist/chunks/{persistent-pty-cjtgxjhq.js → instruction-discovery-54j96p5g.js} +21 -21
  64. package/dist/chunks/{persistent-pty-bkk47srm.js → instruction-discovery-565gd501.js} +8 -8
  65. package/dist/chunks/{persistent-pty-kny8q9fm.js → instruction-discovery-56qf5pkg.js} +6 -6
  66. package/dist/chunks/{persistent-pty-fw2bfwd4.js → instruction-discovery-5737r2r0.js} +4 -4
  67. package/dist/chunks/{persistent-pty-bdhhrrav.js → instruction-discovery-5841d17s.js} +23 -23
  68. package/dist/chunks/{persistent-pty-pfbhb58w.js → instruction-discovery-58bqby8s.js} +39 -31
  69. package/dist/chunks/{persistent-pty-xfrnyd0a.js → instruction-discovery-5azf7efg.js} +14 -14
  70. package/dist/chunks/{persistent-pty-d1rkk357.js → instruction-discovery-5cs4624n.js} +8 -8
  71. package/dist/chunks/{persistent-pty-r41sfy63.js → instruction-discovery-5enarcya.js} +9 -9
  72. package/dist/chunks/{persistent-pty-wgtcexd1.js → instruction-discovery-5f16dwav.js} +6 -6
  73. package/dist/chunks/{persistent-pty-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{persistent-pty-nemnqzpn.js → instruction-discovery-5ns414kb.js} +4 -4
  75. package/dist/chunks/{persistent-pty-fw468rj7.js → instruction-discovery-5snd9tm8.js} +46 -46
  76. package/dist/chunks/{persistent-pty-s47rahr7.js → instruction-discovery-5whx36p1.js} +4 -4
  77. package/dist/chunks/{persistent-pty-fzndy2x2.js → instruction-discovery-5zxbvv2f.js} +14 -14
  78. package/dist/chunks/{persistent-pty-btz4vdf2.js → instruction-discovery-61prxpw3.js} +5 -5
  79. package/dist/chunks/{persistent-pty-j3f8hyeg.js → instruction-discovery-63xym3gh.js} +4 -4
  80. package/dist/chunks/{persistent-pty-btr9eed2.js → instruction-discovery-6b1atqrz.js} +80 -73
  81. package/dist/chunks/{persistent-pty-n7hqy2cw.js → instruction-discovery-6g42hr39.js} +7 -7
  82. package/dist/chunks/{persistent-pty-d73h4c6n.js → instruction-discovery-6n28yw7w.js} +23 -23
  83. package/dist/chunks/{persistent-pty-cqeqcmsf.js → instruction-discovery-6ncy35y2.js} +14 -14
  84. package/dist/chunks/{persistent-pty-kkt22k82.js → instruction-discovery-6pgf8bat.js} +16 -16
  85. package/dist/chunks/{persistent-pty-19b2ztj7.js → instruction-discovery-6t40r86m.js} +11 -11
  86. package/dist/chunks/{persistent-pty-vrn9h1g0.js → instruction-discovery-6zk77rv1.js} +14 -14
  87. package/dist/chunks/{persistent-pty-6jpx4839.js → instruction-discovery-74vyk6h3.js} +20 -20
  88. package/dist/chunks/{persistent-pty-dczf9fhp.js → instruction-discovery-74wq58h4.js} +19 -19
  89. package/dist/chunks/{persistent-pty-00pzdxvb.js → instruction-discovery-77ps6e0h.js} +1 -1
  90. package/dist/chunks/{persistent-pty-hgsqba75.js → instruction-discovery-7at1ma80.js} +59 -59
  91. package/dist/chunks/{persistent-pty-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{persistent-pty-xz07m27x.js → instruction-discovery-7nqkf5r1.js} +2 -2
  93. package/dist/chunks/{persistent-pty-z0h12gs8.js → instruction-discovery-7rvsyqjv.js} +1 -0
  94. package/dist/chunks/{persistent-pty-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
  95. package/dist/chunks/{persistent-pty-7weczvnd.js → instruction-discovery-7weczvnd.js} +1 -1
  96. package/dist/chunks/{persistent-pty-t67npm6c.js → instruction-discovery-7z3k0amd.js} +23 -23
  97. package/dist/chunks/{persistent-pty-775hqbnd.js → instruction-discovery-80mg3ag8.js} +3 -3
  98. package/dist/chunks/{persistent-pty-80pdk984.js → instruction-discovery-80pdk984.js} +1 -1
  99. package/dist/chunks/{persistent-pty-zg7tww6y.js → instruction-discovery-851tvzsa.js} +7 -7
  100. package/dist/chunks/{persistent-pty-85jq8dht.js → instruction-discovery-85jq8dht.js} +1 -1
  101. package/dist/chunks/{persistent-pty-62kpm1kv.js → instruction-discovery-881j5wbk.js} +20 -20
  102. package/dist/chunks/{persistent-pty-8b3vzgkx.js → instruction-discovery-8b3vzgkx.js} +1 -1
  103. package/dist/chunks/{persistent-pty-zhqvvmqm.js → instruction-discovery-8k0n5fmy.js} +12 -12
  104. package/dist/chunks/{persistent-pty-as8a156g.js → instruction-discovery-8kjyvwy5.js} +7 -3
  105. package/dist/chunks/{persistent-pty-52b88tdw.js → instruction-discovery-8p7trcr7.js} +25 -22
  106. package/dist/chunks/{persistent-pty-0cggdvrh.js → instruction-discovery-8phpm80f.js} +25 -25
  107. package/dist/chunks/{persistent-pty-0mgprbja.js → instruction-discovery-8rapdqzr.js} +4 -4
  108. package/dist/chunks/{persistent-pty-bb3mmwvh.js → instruction-discovery-8sxe6kv8.js} +2 -2
  109. package/dist/chunks/{persistent-pty-jf9aqpdw.js → instruction-discovery-8tapm24k.js} +39 -39
  110. package/dist/chunks/{persistent-pty-m7v9vvkp.js → instruction-discovery-8wgcnn8x.js} +17 -17
  111. package/dist/chunks/{persistent-pty-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
  112. package/dist/chunks/{persistent-pty-wedqffd6.js → instruction-discovery-8xb43s2n.js} +11 -11
  113. package/dist/chunks/{persistent-pty-8zv0xmg5.js → instruction-discovery-8zv0xmg5.js} +1 -1
  114. package/dist/chunks/{persistent-pty-dg4atj78.js → instruction-discovery-90fzt9r0.js} +7 -7
  115. package/dist/chunks/{persistent-pty-3h3skxty.js → instruction-discovery-90xdgt1w.js} +18 -18
  116. package/dist/chunks/{persistent-pty-ktf53k0y.js → instruction-discovery-94wn1mc5.js} +20 -20
  117. package/dist/chunks/{persistent-pty-0mtp185z.js → instruction-discovery-963hk181.js} +9 -9
  118. package/dist/chunks/{persistent-pty-w8rr6c7d.js → instruction-discovery-9en2rs5a.js} +27 -27
  119. package/dist/chunks/{persistent-pty-92j6mbn0.js → instruction-discovery-9gzp3xxs.js} +11 -11
  120. package/dist/chunks/{persistent-pty-epayv3ej.js → instruction-discovery-9k5sz97t.js} +4 -4
  121. package/dist/chunks/{persistent-pty-t4z9p5b8.js → instruction-discovery-9thsheb8.js} +11 -11
  122. package/dist/chunks/{persistent-pty-k72s33b7.js → instruction-discovery-9v1p8cr8.js} +33 -33
  123. package/dist/chunks/{persistent-pty-nqqq7twm.js → instruction-discovery-9v8y74jx.js} +24 -24
  124. package/dist/chunks/{persistent-pty-1791cqk2.js → instruction-discovery-9y8sz18v.js} +15 -15
  125. package/dist/chunks/{persistent-pty-7tpyp9vw.js → instruction-discovery-aedwt843.js} +8 -8
  126. package/dist/chunks/{persistent-pty-ywh3xphk.js → instruction-discovery-aqczazaa.js} +4 -4
  127. package/dist/chunks/{persistent-pty-3cbjf1nt.js → instruction-discovery-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{persistent-pty-g4txs7zc.js → instruction-discovery-b26ddj6h.js} +4 -4
  129. package/dist/chunks/{persistent-pty-n3ntzjw4.js → instruction-discovery-b69xerkv.js} +26 -26
  130. package/dist/chunks/{persistent-pty-me215f18.js → instruction-discovery-b7nkz392.js} +1 -1
  131. package/dist/chunks/{persistent-pty-e8xdkctn.js → instruction-discovery-bf8fdj8f.js} +6 -6
  132. package/dist/chunks/{persistent-pty-ewfepv21.js → instruction-discovery-brsgs2wc.js} +10 -10
  133. package/dist/chunks/{persistent-pty-bstexjd6.js → instruction-discovery-bstexjd6.js} +1 -1
  134. package/dist/chunks/{persistent-pty-njn4p9sa.js → instruction-discovery-btj7qfrq.js} +40 -40
  135. package/dist/chunks/{persistent-pty-8ym9cpdp.js → instruction-discovery-bz5ttvd0.js} +22 -22
  136. package/dist/chunks/{persistent-pty-c1sfsxsr.js → instruction-discovery-c1sfsxsr.js} +1 -1
  137. package/dist/chunks/{persistent-pty-nextbzqp.js → instruction-discovery-c4trrgtk.js} +4 -4
  138. package/dist/chunks/{persistent-pty-6w5ta17s.js → instruction-discovery-c778ygtz.js} +9 -9
  139. package/dist/chunks/{persistent-pty-6a334k2e.js → instruction-discovery-c7c8tg0t.js} +38 -38
  140. package/dist/chunks/{persistent-pty-c7cw818c.js → instruction-discovery-c7cw818c.js} +2 -2
  141. package/dist/chunks/{persistent-pty-6qm8pmbm.js → instruction-discovery-cfbg5xqr.js} +2 -2
  142. package/dist/chunks/{persistent-pty-n2a0zv08.js → instruction-discovery-cgfzjrj1.js} +2 -2
  143. package/dist/chunks/{persistent-pty-k732j073.js → instruction-discovery-crfddmzc.js} +8 -8
  144. package/dist/chunks/{persistent-pty-fxxxatdc.js → instruction-discovery-cwjpm71j.js} +32 -32
  145. package/dist/chunks/{persistent-pty-cwrgdav8.js → instruction-discovery-cwrgdav8.js} +2 -2
  146. package/dist/chunks/{persistent-pty-k822k1ne.js → instruction-discovery-cww6fxth.js} +15 -15
  147. package/dist/chunks/{persistent-pty-6edbc7zm.js → instruction-discovery-cxab28sr.js} +7 -7
  148. package/dist/chunks/{persistent-pty-bbbm1kqg.js → instruction-discovery-cy8my17p.js} +6 -6
  149. package/dist/chunks/instruction-discovery-d0qk8x1g.js +579 -0
  150. package/dist/chunks/{persistent-pty-9pdxmcf6.js → instruction-discovery-d2s54vh2.js} +7 -7
  151. package/dist/chunks/{persistent-pty-kvqpqygy.js → instruction-discovery-d3trzhn7.js} +44 -44
  152. package/dist/chunks/{persistent-pty-7ecvj7xx.js → instruction-discovery-d49ngaxv.js} +23 -23
  153. package/dist/chunks/{persistent-pty-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
  154. package/dist/chunks/{persistent-pty-d4rk8056.js → instruction-discovery-d6r1rrpz.js} +30 -30
  155. package/dist/chunks/instruction-discovery-d77dj7jw.js +18 -0
  156. package/dist/chunks/{persistent-pty-gjkwpsd8.js → instruction-discovery-dasdv6ax.js} +9 -9
  157. package/dist/chunks/{persistent-pty-v0p8fkzz.js → instruction-discovery-db7xqzv8.js} +2 -2
  158. package/dist/chunks/{persistent-pty-4epqmd1h.js → instruction-discovery-dbh7wv8t.js} +13 -13
  159. package/dist/chunks/{persistent-pty-qqsphv3g.js → instruction-discovery-df00vpge.js} +38 -38
  160. package/dist/chunks/{persistent-pty-jgat5a1s.js → instruction-discovery-dg2jnfxe.js} +27 -27
  161. package/dist/chunks/{persistent-pty-enyb2kw5.js → instruction-discovery-dp676nvg.js} +20 -20
  162. package/dist/chunks/{persistent-pty-641mgq21.js → instruction-discovery-dpa26g0y.js} +16 -16
  163. package/dist/chunks/{persistent-pty-v186fz10.js → instruction-discovery-dqr8k8k1.js} +11 -11
  164. package/dist/chunks/{persistent-pty-dt77769w.js → instruction-discovery-dt77769w.js} +1 -1
  165. package/dist/chunks/{persistent-pty-ce3n5tw7.js → instruction-discovery-e20m5vpy.js} +14 -14
  166. package/dist/chunks/{persistent-pty-dbvvr5ca.js → instruction-discovery-e2k92rxq.js} +22 -22
  167. package/dist/chunks/{persistent-pty-s8qkskz1.js → instruction-discovery-e4n07h02.js} +7 -7
  168. package/dist/chunks/{persistent-pty-qhyv5122.js → instruction-discovery-e97q27ja.js} +37 -33
  169. package/dist/chunks/{persistent-pty-530xg6vw.js → instruction-discovery-edm37t96.js} +6 -6
  170. package/dist/chunks/{persistent-pty-me0bf12n.js → instruction-discovery-eed8734c.js} +18 -18
  171. package/dist/chunks/{persistent-pty-eqw4pqj1.js → instruction-discovery-eqw4pqj1.js} +2 -2
  172. package/dist/chunks/{persistent-pty-80m5xgxj.js → instruction-discovery-etrnj9s7.js} +11 -11
  173. package/dist/chunks/{persistent-pty-910ch34w.js → instruction-discovery-f2bpz795.js} +17 -17
  174. package/dist/chunks/{persistent-pty-3x0shmrv.js → instruction-discovery-f3m66xst.js} +14 -14
  175. package/dist/chunks/{persistent-pty-w19fy49x.js → instruction-discovery-f4q6q9g7.js} +26 -26
  176. package/dist/chunks/{persistent-pty-p6stnjrt.js → instruction-discovery-f7s4spfm.js} +21 -21
  177. package/dist/chunks/{persistent-pty-j4zs9bxr.js → instruction-discovery-f8b8gmka.js} +27 -27
  178. package/dist/chunks/{persistent-pty-n7k76nxf.js → instruction-discovery-fad7ck4n.js} +20 -20
  179. package/dist/chunks/{persistent-pty-fg9p65nk.js → instruction-discovery-fg9p65nk.js} +2 -2
  180. package/dist/chunks/{persistent-pty-hpz6vwek.js → instruction-discovery-ftwtj193.js} +10 -8
  181. package/dist/chunks/{persistent-pty-sq0tbe5w.js → instruction-discovery-fwjn606w.js} +11 -11
  182. package/dist/chunks/{persistent-pty-fy27yj1t.js → instruction-discovery-fxqzc3wz.js} +12 -12
  183. package/dist/chunks/{persistent-pty-7arz4r0c.js → instruction-discovery-fyecaaqs.js} +16 -16
  184. package/dist/chunks/instruction-discovery-g50gdqzq.js +26 -0
  185. package/dist/chunks/{persistent-pty-q3dkjkk5.js → instruction-discovery-g72wprn0.js} +15 -15
  186. package/dist/chunks/{persistent-pty-rw4j4fc0.js → instruction-discovery-ga873zcx.js} +5 -5
  187. package/dist/chunks/{persistent-pty-gbjdnr5j.js → instruction-discovery-gbjdnr5j.js} +2 -2
  188. package/dist/chunks/{persistent-pty-xqf1esm3.js → instruction-discovery-gc2mx407.js} +19 -19
  189. package/dist/chunks/{persistent-pty-ghrv1g9c.js → instruction-discovery-ghrv1g9c.js} +1 -1
  190. package/dist/chunks/{persistent-pty-wgkargf7.js → instruction-discovery-gxg6ze57.js} +5 -5
  191. package/dist/chunks/{persistent-pty-tg7s7b5t.js → instruction-discovery-gxs71cxp.js} +4 -4
  192. package/dist/chunks/{persistent-pty-p5gdk4af.js → instruction-discovery-h09sgzzh.js} +3 -3
  193. package/dist/chunks/{persistent-pty-d60v4tfr.js → instruction-discovery-h100vy7q.js} +26 -26
  194. package/dist/chunks/{persistent-pty-txhfg7az.js → instruction-discovery-h38wmyv2.js} +29 -29
  195. package/dist/chunks/{persistent-pty-jxswh7p3.js → instruction-discovery-h8jsdbsf.js} +23 -23
  196. package/dist/chunks/{persistent-pty-6h8vcvjm.js → instruction-discovery-h91vm5r2.js} +9 -9
  197. package/dist/chunks/{persistent-pty-aa0xks2t.js → instruction-discovery-had7hjjk.js} +14 -14
  198. package/dist/chunks/{persistent-pty-mkavw0c0.js → instruction-discovery-hd6849p0.js} +11 -11
  199. package/dist/chunks/{persistent-pty-0wgvkt2x.js → instruction-discovery-hegmxvyf.js} +19 -19
  200. package/dist/chunks/{persistent-pty-s2am029e.js → instruction-discovery-hewrhn21.js} +23 -23
  201. package/dist/chunks/{persistent-pty-f5cd42r9.js → instruction-discovery-hfffyp2t.js} +19 -19
  202. package/dist/chunks/{persistent-pty-hgzwgvze.js → instruction-discovery-hgzwgvze.js} +2 -2
  203. package/dist/chunks/{persistent-pty-ta7amrd8.js → instruction-discovery-htp3v7c6.js} +8 -8
  204. package/dist/chunks/{persistent-pty-z89td5m9.js → instruction-discovery-hxey5wfe.js} +10 -10
  205. package/dist/chunks/{persistent-pty-dhnnehwj.js → instruction-discovery-hyfh4454.js} +5 -5
  206. package/dist/chunks/{persistent-pty-t3qxs7f5.js → instruction-discovery-j1j5a4cs.js} +11 -11
  207. package/dist/chunks/{persistent-pty-018pvm7c.js → instruction-discovery-j8cxwgns.js} +11 -11
  208. package/dist/chunks/{persistent-pty-23spy735.js → instruction-discovery-jc07kfqy.js} +38 -38
  209. package/dist/chunks/{persistent-pty-t5k0t6ys.js → instruction-discovery-jewn735m.js} +8 -8
  210. package/dist/chunks/{persistent-pty-j6g0vqez.js → instruction-discovery-jk3np0zg.js} +5 -5
  211. package/dist/chunks/{persistent-pty-vmxsyvj6.js → instruction-discovery-jkdcm5hg.js} +4 -4
  212. package/dist/chunks/{persistent-pty-jm70asfg.js → instruction-discovery-jm70asfg.js} +1 -1
  213. package/dist/chunks/{persistent-pty-mr12hyfn.js → instruction-discovery-jq989e3q.js} +10 -10
  214. package/dist/chunks/{persistent-pty-7snvzf9y.js → instruction-discovery-jqyrzb5z.js} +30 -30
  215. package/dist/chunks/{persistent-pty-jv5ccajn.js → instruction-discovery-jv5ccajn.js} +2 -2
  216. package/dist/chunks/{persistent-pty-x23x0wry.js → instruction-discovery-k03pwv3y.js} +2 -2
  217. package/dist/chunks/{persistent-pty-nn55eax9.js → instruction-discovery-k21bxb8h.js} +9 -9
  218. package/dist/chunks/{persistent-pty-0806n7cm.js → instruction-discovery-k9jm3edz.js} +19 -19
  219. package/dist/chunks/{persistent-pty-8xz27cp9.js → instruction-discovery-kbgs7tyr.js} +4 -4
  220. package/dist/chunks/{persistent-pty-vmqe41cb.js → instruction-discovery-kj9n5bvh.js} +4 -4
  221. package/dist/chunks/{persistent-pty-v07x4jg1.js → instruction-discovery-kkbhzqpn.js} +16 -16
  222. package/dist/chunks/{persistent-pty-kt3bjfbg.js → instruction-discovery-kt3bjfbg.js} +1 -1
  223. package/dist/chunks/{persistent-pty-nm0p4dxw.js → instruction-discovery-kvzqn3zd.js} +1 -1
  224. package/dist/chunks/{persistent-pty-kzczzf4v.js → instruction-discovery-kzczzf4v.js} +1 -1
  225. package/dist/chunks/{persistent-pty-m1714858.js → instruction-discovery-m1714858.js} +1 -1
  226. package/dist/chunks/{persistent-pty-8ydxba3r.js → instruction-discovery-m55fbe5c.js} +5 -5
  227. package/dist/chunks/{persistent-pty-0n28khqy.js → instruction-discovery-m5brqekz.js} +9 -9
  228. package/dist/chunks/{persistent-pty-m90tx7mw.js → instruction-discovery-m90tx7mw.js} +1 -1
  229. package/dist/chunks/{persistent-pty-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  230. package/dist/chunks/{persistent-pty-hkwmenkt.js → instruction-discovery-ma610d6h.js} +6 -6
  231. package/dist/chunks/{persistent-pty-8z6m94af.js → instruction-discovery-mb7mbhnz.js} +3 -3
  232. package/dist/chunks/{persistent-pty-f598hcd5.js → instruction-discovery-mhjnrb9y.js} +10 -10
  233. package/dist/chunks/{persistent-pty-pfndqkpz.js → instruction-discovery-mhnsj6re.js} +28 -28
  234. package/dist/chunks/{persistent-pty-fzwn6aqp.js → instruction-discovery-mhs3my2j.js} +5 -5
  235. package/dist/chunks/{persistent-pty-9ddw59ht.js → instruction-discovery-mkej1b2m.js} +24 -24
  236. package/dist/chunks/{persistent-pty-nfdebbev.js → instruction-discovery-mppmbmfm.js} +12 -12
  237. package/dist/chunks/{persistent-pty-qxagq6p8.js → instruction-discovery-mqc7jytp.js} +9 -9
  238. package/dist/chunks/{persistent-pty-gfn6vbsv.js → instruction-discovery-mrb722ne.js} +28 -28
  239. package/dist/chunks/{persistent-pty-wrexcg9h.js → instruction-discovery-mteec8jy.js} +129 -82
  240. package/dist/chunks/{persistent-pty-mjeqg7zk.js → instruction-discovery-mv39kpx4.js} +21 -21
  241. package/dist/chunks/{persistent-pty-ra7b1vmx.js → instruction-discovery-myqgwh25.js} +52 -29
  242. package/dist/chunks/{persistent-pty-xvn8mnch.js → instruction-discovery-n320gsn2.js} +4 -4
  243. package/dist/chunks/{persistent-pty-e9hvxvkn.js → instruction-discovery-nag9kgj3.js} +45 -45
  244. package/dist/chunks/{persistent-pty-vmhkvkjy.js → instruction-discovery-nk4zbsjk.js} +5 -5
  245. package/dist/chunks/{persistent-pty-p9jvgf3w.js → instruction-discovery-nv9tsjma.js} +6 -6
  246. package/dist/chunks/{persistent-pty-fwp9mfc9.js → instruction-discovery-p76me67c.js} +4 -4
  247. package/dist/chunks/{persistent-pty-dt1mxvjw.js → instruction-discovery-p8v9r4cy.js} +5 -5
  248. package/dist/chunks/{persistent-pty-t62dywgn.js → instruction-discovery-p94p4v4n.js} +4 -4
  249. package/dist/chunks/{persistent-pty-2ft1psgd.js → instruction-discovery-pdpr5yq4.js} +13 -13
  250. package/dist/chunks/{persistent-pty-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  251. package/dist/chunks/{persistent-pty-wb5wsb2j.js → instruction-discovery-pzbqcy5h.js} +10 -10
  252. package/dist/chunks/{persistent-pty-mv92c7a8.js → instruction-discovery-qbgm4r04.js} +35 -35
  253. package/dist/chunks/{persistent-pty-z748rwvz.js → instruction-discovery-qh55xb1q.js} +42 -42
  254. package/dist/chunks/{persistent-pty-mvnh7ykz.js → instruction-discovery-qnvtz2t2.js} +21 -15
  255. package/dist/chunks/{persistent-pty-bbwawm4r.js → instruction-discovery-qp2bqrv2.js} +4 -4
  256. package/dist/chunks/{persistent-pty-qp7r0hxv.js → instruction-discovery-qp7r0hxv.js} +1 -1
  257. package/dist/chunks/{persistent-pty-ft7hwc8g.js → instruction-discovery-qpyw4vs7.js} +5 -5
  258. package/dist/chunks/{persistent-pty-2n444ktb.js → instruction-discovery-qtf35215.js} +3 -3
  259. package/dist/chunks/{persistent-pty-v1hqtkt1.js → instruction-discovery-r1xq63dv.js} +3 -3
  260. package/dist/chunks/{persistent-pty-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{persistent-pty-25ng7087.js → instruction-discovery-re298r9b.js} +54 -54
  262. package/dist/chunks/{persistent-pty-rgc9cx3e.js → instruction-discovery-rgc9cx3e.js} +2 -2
  263. package/dist/chunks/{persistent-pty-vt2d6wap.js → instruction-discovery-rj7j5fvs.js} +4 -4
  264. package/dist/chunks/{persistent-pty-0jx3paz9.js → instruction-discovery-rk6fefec.js} +28 -28
  265. package/dist/chunks/{persistent-pty-c1rvjqwp.js → instruction-discovery-rpp2kc73.js} +14 -14
  266. package/dist/chunks/{persistent-pty-x58n5ad0.js → instruction-discovery-rrt9n5y1.js} +20 -20
  267. package/dist/chunks/{persistent-pty-7xcsqsge.js → instruction-discovery-s32axedd.js} +5 -5
  268. package/dist/chunks/{persistent-pty-7taaxv95.js → instruction-discovery-sbwwra50.js} +4 -4
  269. package/dist/chunks/{persistent-pty-sbya78hr.js → instruction-discovery-sbya78hr.js} +1 -1
  270. package/dist/chunks/{persistent-pty-42gj811x.js → instruction-discovery-sf2g0dhx.js} +20 -20
  271. package/dist/chunks/{persistent-pty-avv30etj.js → instruction-discovery-shqxbeh8.js} +6 -6
  272. package/dist/chunks/{persistent-pty-y2w37hak.js → instruction-discovery-ss1xw8cf.js} +15 -15
  273. package/dist/chunks/instruction-discovery-sspx505g.js +819 -0
  274. package/dist/chunks/{persistent-pty-svcy3p9a.js → instruction-discovery-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{persistent-pty-9f4njfb9.js → instruction-discovery-sxnf7z66.js} +21 -21
  276. package/dist/chunks/{persistent-pty-yph8mn9x.js → instruction-discovery-t5z530n0.js} +17 -17
  277. package/dist/chunks/instruction-discovery-tbbbsrjp.js +273 -0
  278. package/dist/chunks/{persistent-pty-tbpn7jtk.js → instruction-discovery-tbpn7jtk.js} +1 -1
  279. package/dist/chunks/{persistent-pty-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
  280. package/dist/chunks/{persistent-pty-3tf4v4ep.js → instruction-discovery-tfn15285.js} +18 -18
  281. package/dist/chunks/{persistent-pty-tdjfqr95.js → instruction-discovery-tqddkgfh.js} +21 -21
  282. package/dist/chunks/{persistent-pty-85m29sf4.js → instruction-discovery-tqjx2vg6.js} +23 -23
  283. package/dist/chunks/{persistent-pty-j376ae4e.js → instruction-discovery-tr8x705m.js} +5 -5
  284. package/dist/chunks/{persistent-pty-7r8842f6.js → instruction-discovery-tv99e7gw.js} +29 -28
  285. package/dist/chunks/{persistent-pty-tvtps2q9.js → instruction-discovery-tvtps2q9.js} +1 -1
  286. package/dist/chunks/{persistent-pty-twssxy5n.js → instruction-discovery-twssxy5n.js} +2 -2
  287. package/dist/chunks/{persistent-pty-v73g02es.js → instruction-discovery-tyyndmaj.js} +18 -18
  288. package/dist/chunks/{persistent-pty-pzy7y2j2.js → instruction-discovery-tzt99ah6.js} +21 -21
  289. package/dist/chunks/{persistent-pty-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
  290. package/dist/chunks/{persistent-pty-kad2wbhh.js → instruction-discovery-v304z5qp.js} +2 -2
  291. package/dist/chunks/{persistent-pty-ba5f9dy2.js → instruction-discovery-v4bj6baw.js} +4 -4
  292. package/dist/chunks/{persistent-pty-29kaqwyv.js → instruction-discovery-v4fnvjqa.js} +49 -49
  293. package/dist/chunks/{persistent-pty-yy55rm4m.js → instruction-discovery-v4me6kas.js} +17 -17
  294. package/dist/chunks/{persistent-pty-wgap4h5r.js → instruction-discovery-v9yvqqrp.js} +19 -19
  295. package/dist/chunks/{persistent-pty-qhbx12za.js → instruction-discovery-vba8q50y.js} +10 -10
  296. package/dist/chunks/{persistent-pty-80hpafj9.js → instruction-discovery-vggvrbn0.js} +7 -7
  297. package/dist/chunks/{persistent-pty-vjf35v1f.js → instruction-discovery-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{persistent-pty-pg5jck48.js → instruction-discovery-vn6xermp.js} +15 -15
  299. package/dist/chunks/{persistent-pty-zzha20a8.js → instruction-discovery-vnt6tp0c.js} +36 -36
  300. package/dist/chunks/{persistent-pty-q69esqp1.js → instruction-discovery-vz94dcmp.js} +27 -27
  301. package/dist/chunks/{persistent-pty-ecb6c39z.js → instruction-discovery-w3dv62af.js} +7 -7
  302. package/dist/chunks/{persistent-pty-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  303. package/dist/chunks/{persistent-pty-2xawt0y1.js → instruction-discovery-w4b7bwcc.js} +37 -37
  304. package/dist/chunks/{persistent-pty-twbmbqg9.js → instruction-discovery-w4enjgdf.js} +15 -15
  305. package/dist/chunks/{persistent-pty-fznmdakp.js → instruction-discovery-w687dnns.js} +4 -4
  306. package/dist/chunks/{persistent-pty-2kk794q2.js → instruction-discovery-w6hvype4.js} +41 -34
  307. package/dist/chunks/{persistent-pty-9q8g9sv8.js → instruction-discovery-w79nt68w.js} +4 -4
  308. package/dist/chunks/{persistent-pty-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{persistent-pty-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  310. package/dist/chunks/{persistent-pty-z513bby0.js → instruction-discovery-wd93ek5c.js} +14 -14
  311. package/dist/chunks/{persistent-pty-nx4vzyjd.js → instruction-discovery-wegkxhrn.js} +2 -2
  312. package/dist/chunks/{persistent-pty-teyezz5v.js → instruction-discovery-wtb6b8ak.js} +32 -32
  313. package/dist/chunks/{persistent-pty-6y2b864j.js → instruction-discovery-wvr8xscb.js} +4 -4
  314. package/dist/chunks/{persistent-pty-a3fn0gmm.js → instruction-discovery-x150ncgg.js} +2 -2
  315. package/dist/chunks/{persistent-pty-a77wsd01.js → instruction-discovery-x211k02e.js} +43 -43
  316. package/dist/chunks/{persistent-pty-9d52fs69.js → instruction-discovery-x52vwb3b.js} +5 -5
  317. package/dist/chunks/{persistent-pty-xacrkbdt.js → instruction-discovery-xacrkbdt.js} +1 -1
  318. package/dist/chunks/{persistent-pty-caem11c1.js → instruction-discovery-xd165rkg.js} +11 -11
  319. package/dist/chunks/{persistent-pty-9262x70e.js → instruction-discovery-xfssasxx.js} +18 -18
  320. package/dist/chunks/{persistent-pty-asjr210a.js → instruction-discovery-xt32eh7n.js} +18 -18
  321. package/dist/chunks/{persistent-pty-he60h9w2.js → instruction-discovery-xt9jkaz5.js} +16 -16
  322. package/dist/chunks/{persistent-pty-ppsbp1qn.js → instruction-discovery-xtm7eb3w.js} +15 -15
  323. package/dist/chunks/{persistent-pty-avt42cn0.js → instruction-discovery-xv0qa4h5.js} +17 -17
  324. package/dist/chunks/{persistent-pty-vaz51hez.js → instruction-discovery-xvgk7gyc.js} +3 -3
  325. package/dist/chunks/{persistent-pty-xjr6c8m4.js → instruction-discovery-xxschbft.js} +4 -4
  326. package/dist/chunks/{persistent-pty-t48jrnqq.js → instruction-discovery-y1n277rb.js} +3 -3
  327. package/dist/chunks/{persistent-pty-6s2jamp7.js → instruction-discovery-y4nwfrre.js} +19 -19
  328. package/dist/chunks/{persistent-pty-nnnffw0j.js → instruction-discovery-y660wfqf.js} +14 -14
  329. package/dist/chunks/{persistent-pty-1n1ng8zx.js → instruction-discovery-y7znp26y.js} +22 -22
  330. package/dist/chunks/{persistent-pty-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
  331. package/dist/chunks/{persistent-pty-7nb8tm12.js → instruction-discovery-yepd7x5v.js} +5 -5
  332. package/dist/chunks/{persistent-pty-fqp7nk4g.js → instruction-discovery-yf6pqjwa.js} +9 -9
  333. package/dist/chunks/{persistent-pty-4krr2nde.js → instruction-discovery-yk4ram99.js} +3 -3
  334. package/dist/chunks/{persistent-pty-yr705xyq.js → instruction-discovery-yr705xyq.js} +1 -1
  335. package/dist/chunks/{persistent-pty-js8n3d73.js → instruction-discovery-yrzzffpc.js} +13 -13
  336. package/dist/chunks/{persistent-pty-yvtc2x31.js → instruction-discovery-yvtc2x31.js} +1 -1
  337. package/dist/chunks/{persistent-pty-znnqj7m1.js → instruction-discovery-yx1qqaw2.js} +16 -16
  338. package/dist/chunks/{persistent-pty-wywdv46c.js → instruction-discovery-yx2k1m7z.js} +9 -9
  339. package/dist/chunks/{persistent-pty-6ddb8hxf.js → instruction-discovery-z23bdzz9.js} +33 -33
  340. package/dist/chunks/{persistent-pty-2dvjapqv.js → instruction-discovery-z90agx01.js} +29 -29
  341. package/dist/chunks/{persistent-pty-j9nxzz3g.js → instruction-discovery-ze75qvmd.js} +3 -3
  342. package/dist/chunks/{persistent-pty-7mrx0efj.js → instruction-discovery-zfnf49qv.js} +12 -12
  343. package/dist/chunks/{persistent-pty-y1y23t3y.js → instruction-discovery-zjf7xdar.js} +30 -30
  344. package/dist/chunks/{persistent-pty-h8s79my2.js → instruction-discovery-znyqp5km.js} +15 -15
  345. package/dist/chunks/{persistent-pty-by8ty0bx.js → instruction-discovery-zpdbqgja.js} +4 -4
  346. package/dist/chunks/{persistent-pty-hzpe7dhw.js → instruction-discovery-zsyf2zbn.js} +34 -34
  347. package/dist/chunks/{persistent-pty-a2pckt3d.js → instruction-discovery-zyt6d85k.js} +9 -9
  348. package/dist/chunks/{persistent-pty-2kgqety0.js → instruction-discovery-zywexr00.js} +2 -2
  349. package/dist/codemode/catalog.js +1 -1
  350. package/dist/codemode/execution.js +3 -3
  351. package/dist/codemode/fetch.js +149 -149
  352. package/dist/codemode/instructions.js +5 -5
  353. package/dist/codemode/tool.js +156 -156
  354. package/dist/command.js +92 -92
  355. package/dist/config/discovery.js +95 -95
  356. package/dist/config/integration.js +1 -1
  357. package/dist/config/managed.js +1 -1
  358. package/dist/config/markdown.js +1 -1
  359. package/dist/config/normalize.js +113 -113
  360. package/dist/config/plugin/agent.js +134 -134
  361. package/dist/config/plugin/command.js +245 -242
  362. package/dist/config/plugin/compaction.js +174 -174
  363. package/dist/config/plugin/compatibility.js +154 -154
  364. package/dist/config/plugin/entry-observer.js +1 -1
  365. package/dist/config/plugin/formatter.js +132 -132
  366. package/dist/config/plugin/image.js +131 -131
  367. package/dist/config/plugin/instruction.js +131 -131
  368. package/dist/config/plugin/location-watcher.js +131 -131
  369. package/dist/config/plugin/mcp.js +146 -146
  370. package/dist/config/plugin/policy.js +131 -131
  371. package/dist/config/plugin/provider.js +131 -131
  372. package/dist/config/plugin/reference.js +133 -133
  373. package/dist/config/plugin/shell.js +133 -133
  374. package/dist/config/plugin/skill-file.js +150 -150
  375. package/dist/config/plugin/skill-scan.js +1 -1
  376. package/dist/config/plugin/skill.js +157 -157
  377. package/dist/config/plugin/snapshot.js +131 -131
  378. package/dist/config/plugin/source.js +135 -135
  379. package/dist/config/plugin/tool-output.js +132 -132
  380. package/dist/config/plugin/websearch.js +132 -132
  381. package/dist/config/plugin/worktree.js +133 -133
  382. package/dist/config/variable.js +1 -1
  383. package/dist/config/watch.js +1 -1
  384. package/dist/config.js +130 -130
  385. package/dist/console-access.js +1 -1
  386. package/dist/credential/sql.js +2 -2
  387. package/dist/credential.js +94 -94
  388. package/dist/database/batch.js +1 -1
  389. package/dist/database/database.js +77 -77
  390. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  391. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  393. package/dist/database/drizzle/index.js +15 -15
  394. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  397. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  404. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  405. package/dist/database/drizzle.js +16 -16
  406. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  407. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  408. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  409. package/dist/database/migration/20260225215848_workspace.js +1 -1
  410. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  411. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  412. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  413. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  414. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  415. package/dist/database/migration/20260323234822_events.js +1 -1
  416. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  417. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  418. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  419. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  420. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  421. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  422. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  423. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  424. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  425. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  426. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  427. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  428. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  429. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  430. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  431. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  432. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  433. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  434. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  435. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  436. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  437. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  438. package/dist/database/migration/20260611035744_credential.js +1 -1
  439. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  440. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  441. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  442. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  443. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  444. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  445. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  446. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  447. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  448. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  449. package/dist/database/migration/20260812213948_worktree.js +1 -1
  450. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  451. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  452. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  453. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  454. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  455. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  456. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  457. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  458. package/dist/database/migration/20261025123711_blob.js +1 -1
  459. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  460. package/dist/database/migration/20261026223005_schedule.js +1 -1
  461. package/dist/database/migration/20261029002625_session_part.js +1 -1
  462. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  463. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  464. package/dist/database/migration/20261030054400_job.js +1 -1
  465. package/dist/database/migration.gen.js +60 -60
  466. package/dist/database/migration.js +76 -76
  467. package/dist/database/path.js +2 -2
  468. package/dist/database/schema.gen.js +1 -1
  469. package/dist/database/schema.sql.js +1 -1
  470. package/dist/database/v1-migration.bun.js +105 -105
  471. package/dist/effect/app-node-builder.js +442 -442
  472. package/dist/effect/app-node-platform.js +2 -2
  473. package/dist/effect/keyed-mutex.js +3 -3
  474. package/dist/effect/websocket-constructor.js +1 -1
  475. package/dist/environment/driver.js +1 -1
  476. package/dist/environment/environment.js +105 -105
  477. package/dist/environment/exec-defaults.js +2 -2
  478. package/dist/environment/files.js +1 -1
  479. package/dist/environment/index.js +108 -108
  480. package/dist/environment/local.js +2 -2
  481. package/dist/environment/memory.js +2 -2
  482. package/dist/environment/unavailable.js +3 -3
  483. package/dist/event/sql.js +1 -1
  484. package/dist/event-logger.js +81 -81
  485. package/dist/file-access.js +161 -161
  486. package/dist/file-mutation.js +108 -108
  487. package/dist/file-retention.js +1 -1
  488. package/dist/file-write.js +165 -165
  489. package/dist/filesystem/fff.bun.js +2 -2
  490. package/dist/filesystem/fff.js +1 -1
  491. package/dist/filesystem/fff.node.js +2 -2
  492. package/dist/filesystem/fff.workerd.js +2 -2
  493. package/dist/filesystem/file-watch.js +88 -88
  494. package/dist/filesystem/location-watcher-policy.js +6 -6
  495. package/dist/filesystem/location-watcher.js +253 -253
  496. package/dist/filesystem/protected.js +1 -1
  497. package/dist/filesystem/search.js +113 -113
  498. package/dist/filesystem/watcher-binding.js +1 -1
  499. package/dist/filesystem/watcher.js +7 -7
  500. package/dist/filesystem.js +116 -116
  501. package/dist/flag.js +132 -132
  502. package/dist/form.js +81 -81
  503. package/dist/formatter/builtins.js +4 -4
  504. package/dist/formatter.js +100 -100
  505. package/dist/generate.js +123 -123
  506. package/dist/git.js +11 -11
  507. package/dist/github-copilot/models.js +113 -113
  508. package/dist/image/notice.js +1 -1
  509. package/dist/image/photon-normalize.js +1 -1
  510. package/dist/image/photon-worker.js +1 -1
  511. package/dist/image/photon.js +4 -4
  512. package/dist/image.js +6 -6
  513. package/dist/instance/service.js +5 -5
  514. package/dist/instance.js +433 -433
  515. package/dist/instruction-discovery.js +95 -95
  516. package/dist/instructions/builtins.js +100 -100
  517. package/dist/instructions/index.js +3 -3
  518. package/dist/integration/connection.js +3 -3
  519. package/dist/integration.js +98 -98
  520. package/dist/job/list.js +5 -5
  521. package/dist/job/recovery.js +2 -2
  522. package/dist/job/sql.js +2 -2
  523. package/dist/job.js +88 -88
  524. package/dist/kv/sql.js +2 -2
  525. package/dist/kv.js +84 -84
  526. package/dist/location-activity.js +183 -183
  527. package/dist/location-lifecycle.js +154 -154
  528. package/dist/location-service-map.js +99 -99
  529. package/dist/location-services.js +430 -430
  530. package/dist/location.js +100 -100
  531. package/dist/managed-policy.js +3 -3
  532. package/dist/mcp/client.js +159 -159
  533. package/dist/mcp/connection.js +106 -106
  534. package/dist/mcp/index.js +120 -120
  535. package/dist/mcp/instructions.js +190 -190
  536. package/dist/mcp/oauth.js +89 -89
  537. package/dist/mcp/pool.js +112 -112
  538. package/dist/mcp/socket-client.js +1 -1
  539. package/dist/mcp/stdio.js +158 -158
  540. package/dist/mime.js +1 -1
  541. package/dist/modal/models.js +113 -113
  542. package/dist/model-resolver.js +113 -113
  543. package/dist/model-retry.js +1 -1
  544. package/dist/model.js +110 -110
  545. package/dist/models-dev/v1.js +1 -1
  546. package/dist/models-dev.js +118 -118
  547. package/dist/oauth/page.js +1 -1
  548. package/dist/permission/saved.js +89 -89
  549. package/dist/permission/sql.js +5 -5
  550. package/dist/permission.js +147 -147
  551. package/dist/persistent-pty/binary.bun.js +1 -1
  552. package/dist/persistent-pty/daemon.js +1 -1
  553. package/dist/persistent-pty/index.js +101 -101
  554. package/dist/persistent-pty/pty-binding.js +1 -1
  555. package/dist/persistent-pty.js +86 -86
  556. package/dist/plugin/agent.js +87 -87
  557. package/dist/plugin/command.js +119 -119
  558. package/dist/plugin/goal.js +3 -3
  559. package/dist/plugin/hooks.js +1 -1
  560. package/dist/plugin/host.js +246 -246
  561. package/dist/plugin/identity.js +5 -5
  562. package/dist/plugin/instance.js +5 -5
  563. package/dist/plugin/internal.js +411 -411
  564. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  565. package/dist/plugin/models-dev.js +111 -111
  566. package/dist/plugin/module.js +128 -128
  567. package/dist/plugin/optimize.js +2 -2
  568. package/dist/plugin/plan.js +148 -148
  569. package/dist/plugin/promise.js +1 -1
  570. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  571. package/dist/plugin/provider/azure.js +132 -132
  572. package/dist/plugin/provider/cerebras.js +1 -1
  573. package/dist/plugin/provider/chatgpt.js +134 -134
  574. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  575. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  576. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  577. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  578. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  580. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  582. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  583. package/dist/plugin/provider/claude-agent/index.js +147 -147
  584. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  585. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  586. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  587. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  588. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  589. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  591. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  593. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  594. package/dist/plugin/provider/claude-agent/session.js +113 -113
  595. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  596. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  597. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  598. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  599. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  601. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  605. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  606. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  607. package/dist/plugin/provider/configured.js +127 -127
  608. package/dist/plugin/provider/credential-settings.js +88 -88
  609. package/dist/plugin/provider/databricks.js +1 -1
  610. package/dist/plugin/provider/digitalocean.js +110 -110
  611. package/dist/plugin/provider/dynamic.js +2 -2
  612. package/dist/plugin/provider/github-copilot.js +112 -112
  613. package/dist/plugin/provider/gitlab.js +110 -110
  614. package/dist/plugin/provider/google-vertex.js +128 -128
  615. package/dist/plugin/provider/kilo.js +1 -1
  616. package/dist/plugin/provider/llmgateway.js +89 -89
  617. package/dist/plugin/provider/lmstudio.js +139 -139
  618. package/dist/plugin/provider/local.js +138 -138
  619. package/dist/plugin/provider/modal.js +109 -109
  620. package/dist/plugin/provider/neon.js +1 -1
  621. package/dist/plugin/provider/nvidia.js +1 -1
  622. package/dist/plugin/provider/ollama.js +139 -139
  623. package/dist/plugin/provider/openai-context-caps.js +107 -107
  624. package/dist/plugin/provider/openai.js +134 -134
  625. package/dist/plugin/provider/opencode-watches.js +4 -4
  626. package/dist/plugin/provider/opencode.js +162 -162
  627. package/dist/plugin/provider/openrouter.js +105 -105
  628. package/dist/plugin/provider/poe.js +90 -90
  629. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  630. package/dist/plugin/provider/refresh.js +87 -87
  631. package/dist/plugin/provider/sap-ai-core.js +105 -105
  632. package/dist/plugin/provider/sdk-factory.js +1 -1
  633. package/dist/plugin/provider/snowflake-cortex.js +132 -132
  634. package/dist/plugin/provider/vllm.js +141 -141
  635. package/dist/plugin/provider/xai.js +105 -105
  636. package/dist/plugin/provider/zenmux.js +1 -1
  637. package/dist/plugin/provider.js +240 -240
  638. package/dist/plugin/sdk.js +87 -87
  639. package/dist/plugin/service.js +3 -3
  640. package/dist/plugin/skill.js +151 -151
  641. package/dist/plugin/source-directory.js +1 -1
  642. package/dist/plugin/supervisor.js +421 -421
  643. package/dist/plugin/tool-input-repair.js +2 -2
  644. package/dist/plugin/update.js +4 -4
  645. package/dist/plugin/vcs/git.js +99 -99
  646. package/dist/plugin/vcs/hg.js +97 -97
  647. package/dist/plugin/verbosity.js +107 -107
  648. package/dist/plugin/warming.js +129 -129
  649. package/dist/plugin/websearch/exa.js +8 -8
  650. package/dist/plugin/websearch/firecrawl.js +7 -7
  651. package/dist/plugin/websearch/index.js +10 -10
  652. package/dist/plugin/websearch/mcp.js +6 -6
  653. package/dist/plugin/websearch/parallel.js +7 -7
  654. package/dist/plugin/websearch/provider.js +3 -3
  655. package/dist/plugin/websearch/tavily.js +7 -7
  656. package/dist/plugin/websearch/tinyfish.js +9 -9
  657. package/dist/plugin.js +253 -253
  658. package/dist/project/icon.js +5 -5
  659. package/dist/project/schema.js +8 -8
  660. package/dist/project/sql.js +4 -4
  661. package/dist/project.js +101 -101
  662. package/dist/provider.js +113 -113
  663. package/dist/pty/protocol.js +1 -1
  664. package/dist/pty/ticket.js +1 -1
  665. package/dist/pty.js +109 -109
  666. package/dist/reference/instructions.js +101 -101
  667. package/dist/reference.js +101 -101
  668. package/dist/repository-cache.js +93 -93
  669. package/dist/repository.js +1 -1
  670. package/dist/ripgrep/binary.js +2 -2
  671. package/dist/ripgrep.js +111 -111
  672. package/dist/rpc.js +99 -99
  673. package/dist/schedule/check.js +251 -251
  674. package/dist/schedule/sql.js +6 -6
  675. package/dist/schedule.js +265 -265
  676. package/dist/schema.js +1 -1
  677. package/dist/session/affinity.js +1 -1
  678. package/dist/session/background.js +3 -3
  679. package/dist/session/blob.js +133 -133
  680. package/dist/session/command.js +85 -85
  681. package/dist/session/compaction.js +174 -174
  682. package/dist/session/context.js +204 -204
  683. package/dist/session/diff.js +101 -101
  684. package/dist/session/environment.js +5 -5
  685. package/dist/session/error.js +5 -5
  686. package/dist/session/event.js +1 -1
  687. package/dist/session/execution/restart.js +354 -254
  688. package/dist/session/execution.js +170 -170
  689. package/dist/session/generate.js +208 -208
  690. package/dist/session/history.js +140 -140
  691. package/dist/session/inbox.js +149 -149
  692. package/dist/session/info.js +3 -3
  693. package/dist/session/instruction-entry.js +88 -88
  694. package/dist/session/instruction-state.js +8 -8
  695. package/dist/session/instructions.js +147 -147
  696. package/dist/session/message-updater.js +2 -2
  697. package/dist/session/message.js +1 -1
  698. package/dist/session/model-request.js +172 -172
  699. package/dist/session/model-transport.js +9 -9
  700. package/dist/session/move.js +172 -172
  701. package/dist/session/projector.js +147 -147
  702. package/dist/session/prompt.js +152 -152
  703. package/dist/session/recent-text.js +1 -1
  704. package/dist/session/revert.js +143 -143
  705. package/dist/session/run-coordinator.js +3 -3
  706. package/dist/session/runner/index.js +3 -3
  707. package/dist/session/runner/llm.js +259 -259
  708. package/dist/session/runner/max-steps.js +1 -1
  709. package/dist/session/runner/model.js +115 -115
  710. package/dist/session/runner/publish-llm-event.js +154 -154
  711. package/dist/session/runner/retry.js +3 -3
  712. package/dist/session/runner/step.js +169 -167
  713. package/dist/session/runner/to-llm-message.js +141 -141
  714. package/dist/session/schema.js +5 -5
  715. package/dist/session/session.js +192 -189
  716. package/dist/session/shell.js +149 -146
  717. package/dist/session/skill.js +151 -151
  718. package/dist/session/sql.js +5 -5
  719. package/dist/session/stats.js +85 -85
  720. package/dist/session/store.js +146 -146
  721. package/dist/session/stored.js +2 -2
  722. package/dist/session/subagent-completion.js +1 -1
  723. package/dist/session/subagent-job.js +242 -239
  724. package/dist/session/system-prompt.js +3 -3
  725. package/dist/session/title.js +210 -210
  726. package/dist/session/to-session-error.js +153 -153
  727. package/dist/session/transfer.js +252 -249
  728. package/dist/session/usage.js +1 -1
  729. package/dist/session.js +246 -243
  730. package/dist/shared-cache.js +5 -5
  731. package/dist/shell/parse.js +6 -6
  732. package/dist/shell/result.js +1 -1
  733. package/dist/shell/scan.js +1 -1
  734. package/dist/shell/select.js +11 -11
  735. package/dist/shell.js +157 -148
  736. package/dist/skill/discovery.js +2 -2
  737. package/dist/skill/instructions.js +153 -153
  738. package/dist/skill.js +160 -160
  739. package/dist/snapshot.js +106 -106
  740. package/dist/state.js +1 -1
  741. package/dist/tool/html-markdown.js +1 -1
  742. package/dist/tool/http-body.js +1 -1
  743. package/dist/tool/mcp.js +189 -189
  744. package/dist/tool/plugin/artifact.js +241 -238
  745. package/dist/tool/plugin/edit.js +171 -171
  746. package/dist/tool/plugin/file-diff.js +1 -1
  747. package/dist/tool/plugin/glob.js +175 -175
  748. package/dist/tool/plugin/grep.js +170 -170
  749. package/dist/tool/plugin/image-generate.js +250 -247
  750. package/dist/tool/plugin/mcp-resource.js +170 -170
  751. package/dist/tool/plugin/opencode.js +167 -167
  752. package/dist/tool/plugin/patch.js +168 -168
  753. package/dist/tool/plugin/question.js +150 -150
  754. package/dist/tool/plugin/read.js +174 -174
  755. package/dist/tool/plugin/schedule.js +257 -257
  756. package/dist/tool/plugin/shell.js +249 -242
  757. package/dist/tool/plugin/skill.js +159 -159
  758. package/dist/tool/plugin/subagent.js +249 -246
  759. package/dist/tool/plugin/todo.js +157 -157
  760. package/dist/tool/plugin/webfetch.js +161 -161
  761. package/dist/tool/plugin/websearch.js +159 -159
  762. package/dist/tool/plugin/write.js +172 -172
  763. package/dist/tool/read-filesystem.js +116 -116
  764. package/dist/tool/runtime.js +1 -1
  765. package/dist/tool/search.js +109 -109
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +164 -164
  768. package/dist/types/codemode/tool.d.ts +3 -0
  769. package/dist/types/github-copilot/models.d.ts +1 -0
  770. package/dist/types/job.d.ts +1 -0
  771. package/dist/types/model.d.ts +3 -0
  772. package/dist/types/persistent-pty/index.d.ts +5 -0
  773. package/dist/types/plugin/host.d.ts +2 -2
  774. package/dist/types/plugin/internal.d.ts +1 -1
  775. package/dist/types/session/execution/restart.d.ts +4 -2
  776. package/dist/types/session/runner/llm.d.ts +2 -1
  777. package/dist/types/session/runner/step.d.ts +10 -0
  778. package/dist/types/shell/result.d.ts +6 -1
  779. package/dist/types/shell.d.ts +69 -4
  780. package/dist/types/tool/plugin/shell.d.ts +32 -2
  781. package/dist/usage-limits.js +100 -100
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +7 -7
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +2 -2
  792. package/dist/v1/config/migrate.js +106 -106
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +1 -1
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +105 -105
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +101 -101
  801. package/dist/websearch.js +89 -89
  802. package/dist/wellknown/plugin.js +85 -85
  803. package/dist/wellknown.js +90 -90
  804. package/dist/workspace/driver.js +5 -5
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +87 -87
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +113 -113
  812. package/package.json +8 -8
  813. package/dist/chunks/persistent-pty-7yv5xa0k.js +0 -18
  814. package/dist/chunks/persistent-pty-8b48q1nb.js +0 -577
  815. package/dist/chunks/persistent-pty-mwqan0d7.js +0 -433
  816. package/dist/chunks/persistent-pty-q1mqkmnx.js +0 -273
  817. package/dist/chunks/persistent-pty-y97mqv4w.js +0 -26
  818. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  819. /package/dist/chunks/{persistent-pty-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  820. /package/dist/chunks/{persistent-pty-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  821. /package/dist/chunks/{persistent-pty-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  822. /package/dist/chunks/{persistent-pty-1kah00gy.js → instruction-discovery-1kah00gy.js} +0 -0
  823. /package/dist/chunks/{persistent-pty-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  824. /package/dist/chunks/{persistent-pty-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  825. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  826. /package/dist/chunks/{persistent-pty-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  827. /package/dist/chunks/{persistent-pty-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  828. /package/dist/chunks/{persistent-pty-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  829. /package/dist/chunks/{persistent-pty-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  830. /package/dist/chunks/{persistent-pty-4qk9sjk2.js → instruction-discovery-4qk9sjk2.js} +0 -0
  831. /package/dist/chunks/{persistent-pty-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  832. /package/dist/chunks/{persistent-pty-5w3e23ze.js → instruction-discovery-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{persistent-pty-6agm2x70.js → instruction-discovery-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{persistent-pty-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  835. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{persistent-pty-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{persistent-pty-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{persistent-pty-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  839. /package/dist/chunks/{persistent-pty-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{persistent-pty-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{persistent-pty-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{persistent-pty-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{persistent-pty-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  845. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{persistent-pty-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{persistent-pty-beh6qq61.js → instruction-discovery-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{persistent-pty-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{persistent-pty-cqv5kn06.js → instruction-discovery-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{persistent-pty-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{persistent-pty-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  856. /package/dist/chunks/{persistent-pty-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{persistent-pty-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{persistent-pty-ean2d8b5.js → instruction-discovery-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{persistent-pty-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{persistent-pty-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{persistent-pty-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{persistent-pty-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{persistent-pty-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{persistent-pty-fkpq3x5p.js → instruction-discovery-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{persistent-pty-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  867. /package/dist/chunks/{persistent-pty-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{persistent-pty-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  869. /package/dist/chunks/{persistent-pty-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{persistent-pty-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  871. /package/dist/chunks/{persistent-pty-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{persistent-pty-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{persistent-pty-jwr30sdr.js → instruction-discovery-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{persistent-pty-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
  878. /package/dist/chunks/{persistent-pty-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{persistent-pty-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{persistent-pty-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{persistent-pty-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{persistent-pty-nh4v3znn.js → instruction-discovery-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{persistent-pty-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{persistent-pty-p71gwv9c.js → instruction-discovery-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{persistent-pty-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{persistent-pty-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{persistent-pty-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{persistent-pty-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{persistent-pty-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{persistent-pty-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{persistent-pty-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{persistent-pty-syrav9an.js → instruction-discovery-syrav9an.js} +0 -0
  895. /package/dist/chunks/{persistent-pty-t03h4f5z.js → instruction-discovery-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{persistent-pty-ty7weeps.js → instruction-discovery-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{persistent-pty-v2dnd5dt.js → instruction-discovery-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{persistent-pty-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{persistent-pty-vtarvj67.js → instruction-discovery-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{persistent-pty-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{persistent-pty-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{persistent-pty-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{persistent-pty-x4th4bpe.js → instruction-discovery-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{persistent-pty-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{persistent-pty-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{persistent-pty-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{persistent-pty-zxpyjp51.js → instruction-discovery-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{persistent-pty-zz5vv3aq.js → instruction-discovery-zz5vv3aq.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80
3
- } from "./persistent-pty-kvqpqygy.js";
2
+ Service81
3
+ } from "./instruction-discovery-d3trzhn7.js";
4
4
  import {
5
5
  observe2
6
- } from "./persistent-pty-tvtps2q9.js";
6
+ } from "./instruction-discovery-tvtps2q9.js";
7
7
  import {
8
- Service78
9
- } from "./persistent-pty-6jpx4839.js";
8
+ Service79
9
+ } from "./instruction-discovery-74vyk6h3.js";
10
10
  import {
11
11
  invocation2,
12
12
  Service74
13
- } from "./persistent-pty-jxswh7p3.js";
13
+ } from "./instruction-discovery-h8jsdbsf.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./instruction-discovery-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/todo.ts
19
19
  var exports_todo = {};
20
20
  __export(exports_todo, {
21
21
  Info: () => Info2,
22
- Input: () => Input4,
23
- Output: () => Output2,
24
- Plugin: () => Plugin4,
22
+ Input: () => Input11,
23
+ Output: () => Output8,
24
+ Plugin: () => Plugin50,
25
25
  TodoTool: () => exports_todo,
26
- name: () => name4,
26
+ name: () => name11,
27
27
  summarize: () => summarize2
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai/effect";
@@ -40,17 +40,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
40
40
  `;
41
41
 
42
42
  // src/tool/plugin/todo.ts
43
- var name4 = "todowrite";
43
+ var name11 = "todowrite";
44
44
  var Info2 = Schema.Struct({
45
45
  content: Schema.String.annotate({ description: "Brief description of the task" }),
46
46
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
47
47
  description: "Current status of the task: pending, in_progress, completed, cancelled"
48
48
  })
49
49
  });
50
- var Input4 = Schema.Struct({
50
+ var Input11 = Schema.Struct({
51
51
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
52
52
  });
53
- var Output2 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  todos: Schema.Array(Info2)
55
55
  });
56
56
  var summarize2 = (todos) => {
@@ -64,25 +64,25 @@ var summarize2 = (todos) => {
64
64
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
65
65
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
66
66
  };
67
- var Plugin4 = {
67
+ var Plugin50 = {
68
68
  id: "opencode.tool.todo",
69
69
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
70
- const config = yield* Service80;
70
+ const config = yield* Service81;
71
71
  const permission = yield* Service74;
72
72
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
73
- const flags = yield* Service78;
73
+ const flags = yield* Service79;
74
74
  const enabled = () => flags.resolve(loaded.entries).todo.enabled;
75
75
  yield* ctx.tool.transform((editor) => {
76
76
  if (!enabled())
77
77
  return;
78
78
  editor.add({
79
- name: name4,
79
+ name: name11,
80
80
  options: { codemode: false },
81
81
  description: todowrite_default,
82
- input: Input4,
83
- output: Output2,
82
+ input: Input11,
83
+ output: Output8,
84
84
  execute: (input, context) => permission.assert({
85
- action: name4,
85
+ action: name11,
86
86
  resources: ["*"],
87
87
  save: ["*"],
88
88
  ...invocation2(context)
@@ -96,4 +96,4 @@ var Plugin4 = {
96
96
  })
97
97
  };
98
98
 
99
- export { name4, Info2, Input4, Output2, summarize2, Plugin4, exports_todo };
99
+ export { name11, Info2, Input11, Output8, summarize2, Plugin50, exports_todo };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  batches2,
3
3
  insertBatches2
4
- } from "./persistent-pty-jm70asfg.js";
4
+ } from "./instruction-discovery-jm70asfg.js";
5
5
  import {
6
- Service78,
6
+ Service79,
7
7
  enabled3
8
- } from "./persistent-pty-6jpx4839.js";
8
+ } from "./instruction-discovery-74vyk6h3.js";
9
9
  import {
10
10
  BlobTable2,
11
11
  BlobRefTable2
12
- } from "./persistent-pty-8z6m94af.js";
12
+ } from "./instruction-discovery-mb7mbhnz.js";
13
13
  import {
14
14
  refHash2,
15
15
  ref2,
16
16
  FileRef2,
17
17
  ToolFileRef2
18
- } from "./persistent-pty-fg9p65nk.js";
18
+ } from "./instruction-discovery-fg9p65nk.js";
19
19
  import {
20
20
  __export
21
- } from "./persistent-pty-9rqn6x4v.js";
21
+ } from "./instruction-discovery-9rqn6x4v.js";
22
22
 
23
23
  // src/session/blob.ts
24
24
  var exports_blob = {};
@@ -199,7 +199,7 @@ var read4 = Effect.fnUntraced(function* (db, hash) {
199
199
  });
200
200
  var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
201
201
  var enabled2 = Effect.gen(function* () {
202
- const flag = yield* Effect.serviceOption(Service78);
202
+ const flag = yield* Effect.serviceOption(Service79);
203
203
  if (Option.isNone(flag))
204
204
  return false;
205
205
  return yield* flag.value.enabled("media_blob");
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service79,
2
+ Service80,
3
3
  useragent2,
4
- node81
5
- } from "./persistent-pty-wb5wsb2j.js";
4
+ node82
5
+ } from "./instruction-discovery-pzbqcy5h.js";
6
6
  import {
7
7
  join2
8
- } from "./persistent-pty-t62dywgn.js";
8
+ } from "./instruction-discovery-p94p4v4n.js";
9
9
  import {
10
10
  Service77,
11
11
  node79
12
- } from "./persistent-pty-c1sfsxsr.js";
12
+ } from "./instruction-discovery-c1sfsxsr.js";
13
13
  import {
14
14
  DeclinedError2
15
- } from "./persistent-pty-jxswh7p3.js";
15
+ } from "./instruction-discovery-h8jsdbsf.js";
16
16
  import {
17
17
  CancelledError2
18
- } from "./persistent-pty-80hpafj9.js";
18
+ } from "./instruction-discovery-vggvrbn0.js";
19
19
  import {
20
- Error3
21
- } from "./persistent-pty-d60v4tfr.js";
20
+ Error5
21
+ } from "./instruction-discovery-h100vy7q.js";
22
22
  import {
23
23
  get5
24
- } from "./persistent-pty-3nnrz6f6.js";
24
+ } from "./instruction-discovery-3nnrz6f6.js";
25
25
  import {
26
- Service38,
27
- node41
28
- } from "./persistent-pty-wedqffd6.js";
26
+ Service32,
27
+ node35
28
+ } from "./instruction-discovery-8xb43s2n.js";
29
29
  import {
30
- make26
31
- } from "./persistent-pty-6y2b864j.js";
30
+ make25
31
+ } from "./instruction-discovery-wvr8xscb.js";
32
32
  import {
33
33
  toLLMMessages2
34
- } from "./persistent-pty-n2a0zv08.js";
34
+ } from "./instruction-discovery-cgfzjrj1.js";
35
35
  import {
36
36
  __export
37
- } from "./persistent-pty-9rqn6x4v.js";
37
+ } from "./instruction-discovery-9rqn6x4v.js";
38
38
 
39
39
  // src/session/model-request.ts
40
40
  var exports_model_request = {};
41
41
  __export(exports_model_request, {
42
- Service: () => Service37,
42
+ Service: () => Service31,
43
43
  SessionModelRequest: () => exports_model_request,
44
44
  baseTranscript: () => baseTranscript2,
45
45
  boundImages: () => boundImages2,
46
- layer: () => layer15,
47
- node: () => node40,
46
+ layer: () => layer12,
47
+ node: () => node34,
48
48
  outputLimit: () => outputLimit2,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
@@ -81,7 +81,7 @@ var baseTranscript2 = (input) => {
81
81
  return {
82
82
  providerMetadataKey,
83
83
  system: [
84
- SystemPart.make(input.agent.system ? input.agent.system : make26(input.tools.definitions.map((tool) => tool.name))),
84
+ SystemPart.make(input.agent.system ? input.agent.system : make25(input.tools.definitions.map((tool) => tool.name))),
85
85
  {
86
86
  ...SystemPart.make(join2(input.initial)),
87
87
  metadata: { experimental: { instructions: input.initial } }
@@ -187,19 +187,19 @@ var boundImages2 = (messages) => {
187
187
  });
188
188
  };
189
189
 
190
- class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
190
+ class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
191
191
  }
192
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
192
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
193
193
  const hooks = yield* Service77;
194
- const transport = yield* Service38;
195
- const app = yield* Service79;
194
+ const transport = yield* Service32;
195
+ const app = yield* Service80;
196
196
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
197
197
  const session = input.session;
198
198
  const model = input.model;
199
199
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
200
200
  const tools = input.tools ?? {
201
201
  definitions: [],
202
- execute: () => new Error3({ message: "Tools are not available for this request" })
202
+ execute: () => new Error5({ message: "Tools are not available for this request" })
203
203
  };
204
204
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
205
205
  const shaped = yield* shape({
@@ -235,7 +235,11 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
235
235
  cache: model.cache?.ttl === undefined ? undefined : { ttl: model.cache.ttl },
236
236
  system: shaped.system,
237
237
  messages: boundImages2(unsupportedParts2(shaped.messages, model.capabilities, model.model.provider)),
238
- tools: Array.from(hooked, ([name, t]) => ({ ...t, name })),
238
+ tools: Array.from(hooked, ([name, t]) => ({
239
+ ...t,
240
+ name,
241
+ freeform: t.freeform && model.capabilities.freeform?.includes(t.freeform.type) ? t.freeform : undefined
242
+ })),
239
243
  toolChoice: input.toolChoice,
240
244
  ...generation,
241
245
  providerOptions: Object.keys(providerOptions).length === 0 ? undefined : providerOptions
@@ -286,17 +290,17 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
286
290
  };
287
291
  });
288
292
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
289
- return Service37.of({
293
+ return Service31.of({
290
294
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
291
295
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
292
296
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
293
297
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
294
298
  });
295
299
  }));
296
- var node40 = makeLocationNode({
297
- service: Service37,
298
- layer: layer15,
299
- deps: [node79, node41, node81]
300
+ var node34 = makeLocationNode({
301
+ service: Service31,
302
+ layer: layer12,
303
+ deps: [node79, node35, node82]
300
304
  });
301
305
 
302
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service37, layer15, node40, exports_model_request };
306
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service31, layer12, node34, exports_model_request };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./instruction-discovery-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-2n444ktb.js";
6
+ } from "./instruction-discovery-qtf35215.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./instruction-discovery-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -20,7 +20,7 @@ __export(exports_error, {
20
20
  InvalidListCursorError: () => InvalidListCursorError2,
21
21
  MessageDecodeError: () => MessageDecodeError2,
22
22
  MessageNotFoundError: () => MessageNotFoundError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError12,
24
24
  PromptConflictError: () => PromptConflictError2,
25
25
  SessionErrors: () => exports_error,
26
26
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError11 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError12 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError11, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError12, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./persistent-pty-epayv3ej.js";
5
+ } from "./instruction-discovery-9k5sz97t.js";
6
6
  import {
7
- Service83,
8
- node85
9
- } from "./persistent-pty-f598hcd5.js";
7
+ Service85,
8
+ node87
9
+ } from "./instruction-discovery-mhjnrb9y.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./instruction-discovery-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service82,
22
+ Service: () => Service83,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node84,
25
+ node: () => node85,
26
26
  resolve: () => resolve5
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service82 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service83 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service82, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service83;
84
+ const kv = yield* Service85;
85
85
  const bus = yield* Service93;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event14.Updated, {}, { global: true });
115
+ yield* bus.publish(Event15.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service82.of({
118
+ return Service83.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event14.Updated, {}, { global: true });
130
+ yield* bus.publish(Event15.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event14.Updated, {}, { global: true });
144
+ yield* bus.publish(Event15.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node84 = makeGlobalNode({ service: Service82, layer, deps: [httpClient, node85, node95] });
160
+ var node85 = makeGlobalNode({ service: Service83, layer, deps: [httpClient, node87, node95] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service82, Event14, inspect2, resolve5, node84, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service83, Event15, inspect2, resolve5, node85, exports_wellknown };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  groups2
3
- } from "./persistent-pty-vjf35v1f.js";
3
+ } from "./instruction-discovery-vjf35v1f.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./instruction-discovery-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/sync/checkpoints.ts
9
9
  var exports_checkpoints = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info19
7
- } from "./persistent-pty-9q8g9sv8.js";
6
+ Info22
7
+ } from "./instruction-discovery-w79nt68w.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./instruction-discovery-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info18
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info21
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info19)
48
+ permission: Schema.optional(Info22)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info21 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info18, exports_agent3 };
72
+ export { Info21, exports_agent4 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service94
3
- } from "./persistent-pty-nextbzqp.js";
3
+ } from "./instruction-discovery-c4trrgtk.js";
4
4
  import {
5
5
  Service93
6
- } from "./persistent-pty-epayv3ej.js";
6
+ } from "./instruction-discovery-9k5sz97t.js";
7
7
  import {
8
- Service43
9
- } from "./persistent-pty-p9jvgf3w.js";
8
+ Service52
9
+ } from "./instruction-discovery-nv9tsjma.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./persistent-pty-7yv5xa0k.js";
12
+ } from "./instruction-discovery-d77dj7jw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./persistent-pty-ec1grn59.js";
15
+ } from "./instruction-discovery-ec1grn59.js";
16
16
  import {
17
17
  preview2
18
- } from "./persistent-pty-z89td5m9.js";
18
+ } from "./instruction-discovery-hxey5wfe.js";
19
19
  import {
20
20
  retry2
21
- } from "./persistent-pty-2fc7eemy.js";
21
+ } from "./instruction-discovery-2fc7eemy.js";
22
22
  import {
23
23
  baseTranscript2
24
- } from "./persistent-pty-qhyv5122.js";
24
+ } from "./instruction-discovery-e97q27ja.js";
25
25
  import {
26
26
  Service28
27
- } from "./persistent-pty-6zkjwwbt.js";
27
+ } from "./instruction-discovery-2mdc9532.js";
28
28
  import {
29
29
  record2
30
- } from "./persistent-pty-4f25tdd0.js";
30
+ } from "./instruction-discovery-4f25tdd0.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./instruction-discovery-9rqn6x4v.js";
34
34
 
35
35
  // src/session/generate.ts
36
- var exports_generate2 = {};
37
- __export(exports_generate2, {
38
- SessionGenerate: () => exports_generate2,
36
+ var exports_generate = {};
37
+ __export(exports_generate, {
38
+ SessionGenerate: () => exports_generate,
39
39
  generate: () => generate2
40
40
  });
41
41
  import { LLMClient, Message } from "@opencode/ai/effect";
42
42
  import { Effect } from "effect";
43
43
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
44
- const instances = yield* Service43;
44
+ const instances = yield* Service52;
45
45
  const database = yield* Service94;
46
46
  const llm = yield* LLMClient.Service;
47
47
  const bus = yield* Service93;
@@ -82,4 +82,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
82
82
  }).pipe(instances.provide(input.session));
83
83
  });
84
84
 
85
- export { generate2, exports_generate2 };
85
+ export { generate2, exports_generate };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./persistent-pty-nextbzqp.js";
4
+ } from "./instruction-discovery-c4trrgtk.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make32,
8
+ make33,
9
9
  combine2
10
- } from "./persistent-pty-t62dywgn.js";
10
+ } from "./instruction-discovery-p94p4v4n.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./persistent-pty-8z6m94af.js";
13
+ } from "./instruction-discovery-mb7mbhnz.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./instruction-discovery-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info10,
21
+ Info: () => Info9,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service29,
25
+ Service: () => Service30,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info10 = InstructionEntry.Info;
37
+ var Info9 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -59,12 +59,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
59
59
  }))).run().pipe(Effect.orDie), { discard: true });
60
60
  });
61
61
 
62
- class Service29 extends Context.Service()("@opencode/InstructionEntry") {
62
+ class Service30 extends Context.Service()("@opencode/InstructionEntry") {
63
63
  }
64
64
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
65
65
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
66
66
  `);
67
- var source = (entry) => make32({
67
+ var source = (entry) => make33({
68
68
  key: Key3.make(`api/${entry.key}`),
69
69
  codec: Schema.toCodecJson(Schema.Json),
70
70
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -78,7 +78,7 @@ var source = (entry) => make32({
78
78
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
79
79
  }
80
80
  });
81
- var layer = Layer.effect(Service29, Effect.gen(function* () {
81
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
82
82
  const { db } = yield* Service94;
83
83
  const list = Effect.fn("InstructionEntry.list")(function* (sessionID) {
84
84
  return (yield* rows(db, sessionID, false)).map((row) => ({ key: row.key, value: row.value }));
@@ -104,8 +104,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
104
104
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
105
105
  return combine2((yield* rows(db, sessionID, true)).map(source));
106
106
  });
107
- return Service29.of({ list, put, remove, load });
107
+ return Service30.of({ list, put, remove, load });
108
108
  }));
109
- var node33 = makeGlobalNode({ service: Service29, layer, deps: [node96] });
109
+ var node33 = makeGlobalNode({ service: Service30, layer, deps: [node96] });
110
110
 
111
- export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
111
+ export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node33, exports_instruction_entry };