@opencode/core 0.0.0-dev-21085 → 0.0.0-dev-21086

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 (489) hide show
  1. package/dist/agent.js +66 -66
  2. package/dist/aisdk-native.js +69 -69
  3. package/dist/aisdk.js +72 -72
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +58 -58
  6. package/dist/chunks/{managed-policy-4pmg4rkj.js → managed-policy-00mvev20.js} +3 -3
  7. package/dist/chunks/{managed-policy-52bq8kar.js → managed-policy-07n6rswr.js} +14 -14
  8. package/dist/chunks/{managed-policy-8ndffx4j.js → managed-policy-0bg0bx69.js} +5 -5
  9. package/dist/chunks/{managed-policy-80yyfg86.js → managed-policy-0debe6kb.js} +9 -9
  10. package/dist/chunks/{managed-policy-v34zertq.js → managed-policy-0esxmy5s.js} +9 -9
  11. package/dist/chunks/{managed-policy-gxwc2bm6.js → managed-policy-0hsggrtq.js} +43 -43
  12. package/dist/chunks/{managed-policy-d90mxfw2.js → managed-policy-0hz069sj.js} +2 -2
  13. package/dist/chunks/managed-policy-0k40a3j4.js +66 -0
  14. package/dist/chunks/{managed-policy-kgf3r0ck.js → managed-policy-0rexgyd7.js} +19 -19
  15. package/dist/chunks/{managed-policy-2a6rn6yr.js → managed-policy-0wg8sbbg.js} +5 -5
  16. package/dist/chunks/{managed-policy-wem5yb5b.js → managed-policy-0zky2891.js} +12 -12
  17. package/dist/chunks/{managed-policy-5885jhfd.js → managed-policy-155esvdz.js} +4 -4
  18. package/dist/chunks/{managed-policy-77y08w5x.js → managed-policy-1f9ztkwe.js} +25 -25
  19. package/dist/chunks/{managed-policy-knv589td.js → managed-policy-1j5bpe2f.js} +8 -8
  20. package/dist/chunks/{managed-policy-swjsfm9v.js → managed-policy-1j6b5pcd.js} +56 -56
  21. package/dist/chunks/{managed-policy-54zwbev6.js → managed-policy-1qs1fgqs.js} +17 -17
  22. package/dist/chunks/{managed-policy-t7n9q6bq.js → managed-policy-1vezggaq.js} +3 -3
  23. package/dist/chunks/{managed-policy-z47w8q4z.js → managed-policy-1z2ctrme.js} +7 -7
  24. package/dist/chunks/{managed-policy-7zjynvfm.js → managed-policy-295v5bgp.js} +11 -11
  25. package/dist/chunks/{managed-policy-2gz8jv6p.js → managed-policy-2ad55mgs.js} +5 -5
  26. package/dist/chunks/{managed-policy-jr8xjmgc.js → managed-policy-2b0q3asd.js} +17 -17
  27. package/dist/chunks/{managed-policy-6ab8nmtz.js → managed-policy-2q9mtm53.js} +44 -44
  28. package/dist/chunks/{managed-policy-ds9x212k.js → managed-policy-2z7nm4cw.js} +34 -34
  29. package/dist/chunks/{managed-policy-h7s7r6s9.js → managed-policy-31xfzrxg.js} +3 -3
  30. package/dist/chunks/{managed-policy-3sv17f56.js → managed-policy-34y2kk9h.js} +47 -47
  31. package/dist/chunks/{managed-policy-f4e0qq5m.js → managed-policy-38xt8pa5.js} +16 -16
  32. package/dist/chunks/{managed-policy-1bnjv9xe.js → managed-policy-397gb6nv.js} +17 -17
  33. package/dist/chunks/{managed-policy-53tr4wbn.js → managed-policy-3jkxsp14.js} +24 -24
  34. package/dist/chunks/{managed-policy-jvdcx3eg.js → managed-policy-3tj1tfqn.js} +87 -87
  35. package/dist/chunks/{managed-policy-ygw87w9e.js → managed-policy-3v4jsnqx.js} +11 -11
  36. package/dist/chunks/{managed-policy-2sa7mmah.js → managed-policy-44q26y41.js} +11 -11
  37. package/dist/chunks/{managed-policy-p8d5vz39.js → managed-policy-46yaka93.js} +13 -13
  38. package/dist/chunks/{managed-policy-sdmpqnt9.js → managed-policy-48v46dt5.js} +30 -30
  39. package/dist/chunks/{managed-policy-wa0mm42p.js → managed-policy-4qd9vms1.js} +15 -15
  40. package/dist/chunks/{managed-policy-bhxmckcv.js → managed-policy-4qyznfex.js} +18 -18
  41. package/dist/chunks/{managed-policy-dknw24r7.js → managed-policy-54xy5c2p.js} +27 -27
  42. package/dist/chunks/{managed-policy-xq1yb2h3.js → managed-policy-555mnnb5.js} +32 -32
  43. package/dist/chunks/{managed-policy-q995kfn0.js → managed-policy-57w8wwmc.js} +9 -9
  44. package/dist/chunks/{managed-policy-1v1nee6g.js → managed-policy-5d3jnfw4.js} +20 -20
  45. package/dist/chunks/{managed-policy-2sejkfem.js → managed-policy-5d607bsg.js} +7 -7
  46. package/dist/chunks/{managed-policy-y635vfn0.js → managed-policy-5ywtvj6p.js} +90 -90
  47. package/dist/chunks/{managed-policy-4zcnc6n3.js → managed-policy-61tngyg6.js} +28 -28
  48. package/dist/chunks/{managed-policy-6x42eh26.js → managed-policy-62rf3e9a.js} +25 -25
  49. package/dist/chunks/{managed-policy-afchrssr.js → managed-policy-63db42yp.js} +1 -1
  50. package/dist/chunks/{managed-policy-q826ync2.js → managed-policy-659sfxq9.js} +6 -6
  51. package/dist/chunks/{managed-policy-g8p3cjr7.js → managed-policy-65mb7mqj.js} +15 -15
  52. package/dist/chunks/{managed-policy-c5ggqzvz.js → managed-policy-662wmyj4.js} +8 -8
  53. package/dist/chunks/{managed-policy-6cvwxmkz.js → managed-policy-67yn0dnc.js} +17 -17
  54. package/dist/chunks/{managed-policy-3p5671cr.js → managed-policy-6hcmq4td.js} +15 -15
  55. package/dist/chunks/{managed-policy-d9q2h2p3.js → managed-policy-6hja4p44.js} +31 -31
  56. package/dist/chunks/{managed-policy-w6dfarps.js → managed-policy-6n5hpnyz.js} +4 -4
  57. package/dist/chunks/{managed-policy-zkvbzxpd.js → managed-policy-6nstwj3p.js} +17 -17
  58. package/dist/chunks/{managed-policy-8sze2n9a.js → managed-policy-6pc27hjz.js} +1 -1
  59. package/dist/chunks/{managed-policy-h0xj6hzs.js → managed-policy-7cw1j2n9.js} +25 -25
  60. package/dist/chunks/{managed-policy-xdpf3wfr.js → managed-policy-7p8xzntd.js} +19 -19
  61. package/dist/chunks/{managed-policy-edrmdtr5.js → managed-policy-7sbkp4xb.js} +6 -6
  62. package/dist/chunks/{managed-policy-fff34xww.js → managed-policy-7w0dp0v6.js} +22 -22
  63. package/dist/chunks/{managed-policy-tcezcvh9.js → managed-policy-89znhe33.js} +3 -3
  64. package/dist/chunks/managed-policy-8caan69t.js +257 -0
  65. package/dist/chunks/{managed-policy-5m84d531.js → managed-policy-8dw0h6ap.js} +6 -6
  66. package/dist/chunks/{managed-policy-yjr9h99r.js → managed-policy-8gwy4e4z.js} +4 -4
  67. package/dist/chunks/{managed-policy-tfzhc5bv.js → managed-policy-9ajrp7y6.js} +12 -12
  68. package/dist/chunks/{managed-policy-qf76qvkk.js → managed-policy-9bbnj2zh.js} +3 -3
  69. package/dist/chunks/{managed-policy-tnsda7xg.js → managed-policy-9bc6n6ee.js} +21 -21
  70. package/dist/chunks/{managed-policy-f2wm9kjn.js → managed-policy-9bjddvpc.js} +16 -16
  71. package/dist/chunks/{managed-policy-2xxsp3ze.js → managed-policy-9fbk21j7.js} +25 -25
  72. package/dist/chunks/{managed-policy-xznw34xz.js → managed-policy-9gc6a8k8.js} +8 -8
  73. package/dist/chunks/{managed-policy-xtcds2eg.js → managed-policy-9sfj174s.js} +1 -1
  74. package/dist/chunks/{managed-policy-b6k1zr67.js → managed-policy-a4495bq7.js} +7 -7
  75. package/dist/chunks/{managed-policy-kzc3h1h3.js → managed-policy-a89e0tac.js} +3 -3
  76. package/dist/chunks/{managed-policy-vnevc2qm.js → managed-policy-a9qakst1.js} +7 -7
  77. package/dist/chunks/{managed-policy-zp6knk44.js → managed-policy-ahxg54gy.js} +13 -13
  78. package/dist/chunks/{managed-policy-yftdgh5r.js → managed-policy-asnxce5g.js} +50 -50
  79. package/dist/chunks/{managed-policy-w9fb0xwk.js → managed-policy-b9fkbqa7.js} +6 -6
  80. package/dist/chunks/{managed-policy-32tzfarh.js → managed-policy-bh04p1bs.js} +26 -26
  81. package/dist/chunks/{managed-policy-sz15zhhw.js → managed-policy-bmr56wjg.js} +3 -3
  82. package/dist/chunks/{managed-policy-dzw83ac5.js → managed-policy-bn7j458d.js} +7 -7
  83. package/dist/chunks/{managed-policy-g8rcw9pb.js → managed-policy-bss91xfx.js} +30 -30
  84. package/dist/chunks/{managed-policy-7z082paq.js → managed-policy-bxb17ckb.js} +34 -34
  85. package/dist/chunks/{managed-policy-qc068m1q.js → managed-policy-by5v678g.js} +4 -4
  86. package/dist/chunks/{managed-policy-hwybt0xd.js → managed-policy-c0da0n3r.js} +10 -10
  87. package/dist/chunks/{managed-policy-8h8n8g7j.js → managed-policy-c6twwjra.js} +11 -11
  88. package/dist/chunks/{managed-policy-sa8ekw3f.js → managed-policy-c8ax2afj.js} +1 -1
  89. package/dist/chunks/{managed-policy-9spgf3yf.js → managed-policy-ccenjkhz.js} +1 -1
  90. package/dist/chunks/{managed-policy-x58sackj.js → managed-policy-cx6q0cnn.js} +22 -22
  91. package/dist/chunks/{managed-policy-pa8pe2x7.js → managed-policy-czfptnv9.js} +3 -3
  92. package/dist/chunks/{managed-policy-kwj0x0nv.js → managed-policy-d3r323a9.js} +20 -20
  93. package/dist/chunks/{managed-policy-mxvxcxwy.js → managed-policy-db2wf4at.js} +3 -3
  94. package/dist/chunks/{managed-policy-nyjzn4ja.js → managed-policy-dbv22e5b.js} +20 -20
  95. package/dist/chunks/{managed-policy-hejq392e.js → managed-policy-derq422m.js} +9 -9
  96. package/dist/chunks/{managed-policy-y71avatq.js → managed-policy-dpkg50ah.js} +3 -3
  97. package/dist/chunks/{managed-policy-4y77yz93.js → managed-policy-dq3ns270.js} +30 -30
  98. package/dist/chunks/{managed-policy-xfkkasph.js → managed-policy-drwq78ky.js} +3 -3
  99. package/dist/chunks/{managed-policy-96xyhbdt.js → managed-policy-dzt01xdg.js} +5 -5
  100. package/dist/chunks/{managed-policy-b49fj0r8.js → managed-policy-e025486k.js} +14 -14
  101. package/dist/chunks/{managed-policy-ww7a1phc.js → managed-policy-e3g57cf0.js} +9 -9
  102. package/dist/chunks/{managed-policy-j73gdyjw.js → managed-policy-e4qm9vrx.js} +16 -16
  103. package/dist/chunks/{managed-policy-r2z489rp.js → managed-policy-e80seqcp.js} +2 -2
  104. package/dist/chunks/managed-policy-e9arpt1k.js +26 -0
  105. package/dist/chunks/{managed-policy-339zz4w1.js → managed-policy-eq87j6c5.js} +1 -1
  106. package/dist/chunks/{managed-policy-c1fqxshp.js → managed-policy-es1vcfrp.js} +1 -1
  107. package/dist/chunks/{managed-policy-rxcdjwh1.js → managed-policy-esjfm2jj.js} +7 -7
  108. package/dist/chunks/{managed-policy-r7m3hjhh.js → managed-policy-f02hpbpk.js} +6 -6
  109. package/dist/chunks/{managed-policy-3sj8yt8v.js → managed-policy-f29mbr7f.js} +3 -3
  110. package/dist/chunks/{managed-policy-4y3a8qn9.js → managed-policy-fb48dakd.js} +4 -4
  111. package/dist/chunks/{managed-policy-9nvkzzg7.js → managed-policy-fbq7wtyc.js} +1 -1
  112. package/dist/chunks/{managed-policy-nz7n12n6.js → managed-policy-fespy3cc.js} +33 -33
  113. package/dist/chunks/{managed-policy-dnppzf7a.js → managed-policy-fr7wetyh.js} +28 -28
  114. package/dist/chunks/{managed-policy-hq3c8me3.js → managed-policy-fxaymqdw.js} +3 -3
  115. package/dist/chunks/{managed-policy-j0r1q6gf.js → managed-policy-fxem21yx.js} +14 -14
  116. package/dist/chunks/{managed-policy-0ds29eaq.js → managed-policy-g6z6hv43.js} +12 -12
  117. package/dist/chunks/{managed-policy-2y3862nj.js → managed-policy-gfrzgh0k.js} +9 -9
  118. package/dist/chunks/{managed-policy-b674v2dg.js → managed-policy-gj71zhbs.js} +3 -3
  119. package/dist/chunks/{managed-policy-k631ep60.js → managed-policy-gm9fagp1.js} +40 -40
  120. package/dist/chunks/{managed-policy-qer1m1cz.js → managed-policy-gm9r9h48.js} +12 -12
  121. package/dist/chunks/{managed-policy-19f5587j.js → managed-policy-gp4cyxw6.js} +9 -9
  122. package/dist/chunks/{managed-policy-sn4n45n6.js → managed-policy-gr78v54c.js} +14 -14
  123. package/dist/chunks/{managed-policy-sykm1tam.js → managed-policy-gvzmkpgy.js} +14 -14
  124. package/dist/chunks/{managed-policy-jb6t8d3a.js → managed-policy-gzv7898s.js} +4 -4
  125. package/dist/chunks/{managed-policy-t2r1n0va.js → managed-policy-h61s70e8.js} +5 -5
  126. package/dist/chunks/{managed-policy-0zsgpve6.js → managed-policy-h9x40ec8.js} +72 -72
  127. package/dist/chunks/{managed-policy-7t1egj3x.js → managed-policy-hgy6hgdh.js} +7 -7
  128. package/dist/chunks/{managed-policy-f6149sxb.js → managed-policy-hmhykv5x.js} +20 -20
  129. package/dist/chunks/{managed-policy-7arswczp.js → managed-policy-htcqmjfp.js} +46 -46
  130. package/dist/chunks/{managed-policy-3sfdb93x.js → managed-policy-hvmfees8.js} +5 -5
  131. package/dist/chunks/{managed-policy-cp27f51b.js → managed-policy-j00at5ag.js} +21 -21
  132. package/dist/chunks/{managed-policy-pw804w48.js → managed-policy-je4rtch6.js} +15 -15
  133. package/dist/chunks/{managed-policy-10h1e0fv.js → managed-policy-jfw54sq0.js} +16 -16
  134. package/dist/chunks/{managed-policy-cn0g3sh3.js → managed-policy-jj27nnfd.js} +23 -23
  135. package/dist/chunks/{managed-policy-sp3zam9d.js → managed-policy-jv0wpqvr.js} +3 -3
  136. package/dist/chunks/{managed-policy-q3td3fbz.js → managed-policy-jvphd2r7.js} +5 -5
  137. package/dist/chunks/{managed-policy-nkdemjs6.js → managed-policy-k0457dwv.js} +40 -40
  138. package/dist/chunks/{managed-policy-mk935gd8.js → managed-policy-k283101k.js} +7 -7
  139. package/dist/chunks/{managed-policy-tsr8fc0r.js → managed-policy-k4aertg3.js} +9 -9
  140. package/dist/chunks/{managed-policy-gpbzem73.js → managed-policy-kf1dxnkt.js} +12 -12
  141. package/dist/chunks/managed-policy-kfj1r91y.js +513 -0
  142. package/dist/chunks/{managed-policy-r2c4zffz.js → managed-policy-knjbngkx.js} +13 -13
  143. package/dist/chunks/{managed-policy-361bn2q8.js → managed-policy-kyn7qdd6.js} +24 -24
  144. package/dist/chunks/{managed-policy-55n5yq3y.js → managed-policy-m31v6mby.js} +28 -28
  145. package/dist/chunks/{managed-policy-z6m2s5vh.js → managed-policy-m41hx50p.js} +25 -25
  146. package/dist/chunks/{managed-policy-gpddz8a3.js → managed-policy-mb4z29k8.js} +35 -35
  147. package/dist/chunks/{managed-policy-0se2bt1f.js → managed-policy-mdmban4g.js} +4 -4
  148. package/dist/chunks/{managed-policy-ft9jtt3g.js → managed-policy-mdpfe53y.js} +1 -1
  149. package/dist/chunks/{managed-policy-qv593bv2.js → managed-policy-mnhhsvne.js} +186 -186
  150. package/dist/chunks/{managed-policy-0ar06eaw.js → managed-policy-mp928e9c.js} +39 -39
  151. package/dist/chunks/{managed-policy-pjw17sjf.js → managed-policy-mvm2bn0z.js} +7 -7
  152. package/dist/chunks/{managed-policy-545z4kw4.js → managed-policy-n2f1vtt5.js} +6 -6
  153. package/dist/chunks/{managed-policy-vm8m11mr.js → managed-policy-nag7qvk8.js} +12 -12
  154. package/dist/chunks/{managed-policy-rrcd5a3h.js → managed-policy-ndnh1skz.js} +5 -5
  155. package/dist/chunks/{managed-policy-mmfyj663.js → managed-policy-nef28ste.js} +6 -6
  156. package/dist/chunks/{managed-policy-h4ghn6hb.js → managed-policy-nh31090p.js} +15 -15
  157. package/dist/chunks/{managed-policy-8rmr5tyr.js → managed-policy-nsvfr1vd.js} +12 -12
  158. package/dist/chunks/{managed-policy-1c6yyyjg.js → managed-policy-nvf9z02s.js} +3 -3
  159. package/dist/chunks/{managed-policy-5h8c58at.js → managed-policy-nw1bqp6a.js} +18 -18
  160. package/dist/chunks/{managed-policy-yzx1p70c.js → managed-policy-nyx8241g.js} +30 -30
  161. package/dist/chunks/{managed-policy-90gngh79.js → managed-policy-p379yeh0.js} +9 -9
  162. package/dist/chunks/{managed-policy-xh8f9m5n.js → managed-policy-pa7fm9bt.js} +10 -10
  163. package/dist/chunks/{managed-policy-66b7q613.js → managed-policy-pf4t5244.js} +1 -1
  164. package/dist/chunks/{managed-policy-5w9yjztw.js → managed-policy-q5e7cmwt.js} +1 -1
  165. package/dist/chunks/{managed-policy-n0kz8f3y.js → managed-policy-qcddetmn.js} +10 -10
  166. package/dist/chunks/{managed-policy-2k8khapm.js → managed-policy-qgn6gcr1.js} +4 -4
  167. package/dist/chunks/{managed-policy-sh10wf9t.js → managed-policy-qh1g1zm4.js} +13 -13
  168. package/dist/chunks/{managed-policy-axw3zxzt.js → managed-policy-r1vtmhkz.js} +30 -30
  169. package/dist/chunks/{managed-policy-yp2x3t23.js → managed-policy-r8xr0va3.js} +3 -3
  170. package/dist/chunks/{managed-policy-54ma36ye.js → managed-policy-r94pvvab.js} +3 -3
  171. package/dist/chunks/{managed-policy-depwzj9d.js → managed-policy-r9w3djhf.js} +7 -7
  172. package/dist/chunks/{managed-policy-qz8bdn0b.js → managed-policy-rbk96qgk.js} +16 -16
  173. package/dist/chunks/{managed-policy-cgb6d0n9.js → managed-policy-rdpdmmkp.js} +22 -22
  174. package/dist/chunks/{managed-policy-z4jrrzce.js → managed-policy-rpzvdwjk.js} +7 -7
  175. package/dist/chunks/{managed-policy-kyb04w8f.js → managed-policy-s3273f1g.js} +22 -22
  176. package/dist/chunks/{managed-policy-8sacbe5p.js → managed-policy-s7zrd3w1.js} +16 -16
  177. package/dist/chunks/{managed-policy-f1k20hxb.js → managed-policy-s9zbn087.js} +16 -16
  178. package/dist/chunks/{managed-policy-b3f8fkhc.js → managed-policy-scgrse2b.js} +3 -3
  179. package/dist/chunks/{managed-policy-f2qdd8tw.js → managed-policy-se3wtnwz.js} +56 -56
  180. package/dist/chunks/{managed-policy-b6sjz6vd.js → managed-policy-ss358qx3.js} +3 -3
  181. package/dist/chunks/{managed-policy-4ysp04sc.js → managed-policy-swmzz4j3.js} +8 -8
  182. package/dist/chunks/{managed-policy-stg25k03.js → managed-policy-t442x7vd.js} +9 -9
  183. package/dist/chunks/{managed-policy-jv72nv8r.js → managed-policy-t7vx487d.js} +41 -41
  184. package/dist/chunks/{managed-policy-3pdxkkr6.js → managed-policy-tazmq1na.js} +11 -11
  185. package/dist/chunks/{managed-policy-wn0dtb3m.js → managed-policy-tgnddxjv.js} +4 -4
  186. package/dist/chunks/{managed-policy-ngts6ef0.js → managed-policy-thjxzeng.js} +7 -7
  187. package/dist/chunks/{managed-policy-rert0e01.js → managed-policy-tkb22qbm.js} +1 -1
  188. package/dist/chunks/{managed-policy-80cgds49.js → managed-policy-tr5x66p0.js} +9 -9
  189. package/dist/chunks/{managed-policy-djayzkf0.js → managed-policy-tyyq390f.js} +2 -2
  190. package/dist/chunks/{managed-policy-2g0tx58q.js → managed-policy-tzfp8s1n.js} +27 -27
  191. package/dist/chunks/{managed-policy-8jyhrxmr.js → managed-policy-v3dgmss6.js} +4 -4
  192. package/dist/chunks/{managed-policy-hyc1n77s.js → managed-policy-v4bq736w.js} +7 -7
  193. package/dist/chunks/{managed-policy-1wxtqsnn.js → managed-policy-vcqppycb.js} +15 -15
  194. package/dist/chunks/{managed-policy-kzp3payt.js → managed-policy-vd2jraxk.js} +1 -1
  195. package/dist/chunks/{managed-policy-v43er8at.js → managed-policy-vef75hdx.js} +22 -22
  196. package/dist/chunks/{managed-policy-7fkbw80w.js → managed-policy-vfe8b2r0.js} +1 -1
  197. package/dist/chunks/{managed-policy-h29fabr2.js → managed-policy-vhftr3aw.js} +26 -26
  198. package/dist/chunks/{managed-policy-cn20z2pk.js → managed-policy-vma3twhp.js} +24 -24
  199. package/dist/chunks/{managed-policy-5kg3wskb.js → managed-policy-vps260w2.js} +4 -4
  200. package/dist/chunks/{managed-policy-8xtgx93w.js → managed-policy-vrphj1xs.js} +4 -4
  201. package/dist/chunks/{managed-policy-4x11b2hk.js → managed-policy-vs3g0a7r.js} +8 -8
  202. package/dist/chunks/{managed-policy-twvpgcya.js → managed-policy-vw7hjgnn.js} +32 -32
  203. package/dist/chunks/{managed-policy-p36kkadd.js → managed-policy-w0m4gqdr.js} +21 -21
  204. package/dist/chunks/{managed-policy-qm2evgf6.js → managed-policy-w21t78vk.js} +19 -19
  205. package/dist/chunks/{managed-policy-yvvvp4gn.js → managed-policy-w3x9v1nk.js} +7 -7
  206. package/dist/chunks/{managed-policy-7ntqzh68.js → managed-policy-w4x3tw0v.js} +36 -36
  207. package/dist/chunks/{managed-policy-qdgfwmva.js → managed-policy-w90vcgyr.js} +19 -19
  208. package/dist/chunks/{managed-policy-0a1yp5ev.js → managed-policy-wa9g86nq.js} +3 -3
  209. package/dist/chunks/{managed-policy-fv2xv40a.js → managed-policy-wf14qxmd.js} +9 -9
  210. package/dist/chunks/{managed-policy-7qxsh4t2.js → managed-policy-wh180zg7.js} +36 -36
  211. package/dist/chunks/{managed-policy-w39jehkq.js → managed-policy-wh6zw745.js} +3 -3
  212. package/dist/chunks/{managed-policy-1ffvrpkg.js → managed-policy-wjr9rjd7.js} +7 -7
  213. package/dist/chunks/{managed-policy-8xfzkjh1.js → managed-policy-wmjar43e.js} +14 -14
  214. package/dist/chunks/{managed-policy-mrrttxzz.js → managed-policy-wnjn43q4.js} +13 -13
  215. package/dist/chunks/{managed-policy-dwqz6s0q.js → managed-policy-wzaysxbc.js} +15 -15
  216. package/dist/chunks/{managed-policy-30jgek7x.js → managed-policy-xjfa2awp.js} +17 -17
  217. package/dist/chunks/{managed-policy-86g7hxnc.js → managed-policy-xjfx526f.js} +14 -14
  218. package/dist/chunks/{managed-policy-72btsz6q.js → managed-policy-xkzr2bxd.js} +26 -26
  219. package/dist/chunks/{managed-policy-z0htqfx2.js → managed-policy-y3287kw3.js} +18 -18
  220. package/dist/chunks/{managed-policy-f78dsz6n.js → managed-policy-y8wcetdn.js} +8 -8
  221. package/dist/chunks/{managed-policy-7ka20ga1.js → managed-policy-ybahyrae.js} +23 -23
  222. package/dist/chunks/{managed-policy-zxysf13j.js → managed-policy-yg919cke.js} +26 -26
  223. package/dist/chunks/{managed-policy-xbp3f8vv.js → managed-policy-yjnms4tr.js} +42 -42
  224. package/dist/chunks/{managed-policy-vnxrgzsp.js → managed-policy-yzk9mz3d.js} +12 -12
  225. package/dist/chunks/{managed-policy-0pdd3778.js → managed-policy-z2zd6v7g.js} +15 -15
  226. package/dist/chunks/{managed-policy-qptva5a0.js → managed-policy-z6yetpqf.js} +4 -4
  227. package/dist/chunks/{managed-policy-fwj4dkf1.js → managed-policy-zebge9dt.js} +31 -31
  228. package/dist/chunks/{managed-policy-3qv83xam.js → managed-policy-zezavs0w.js} +13 -13
  229. package/dist/chunks/{managed-policy-kcsw15b0.js → managed-policy-zpw6h1kb.js} +6 -6
  230. package/dist/chunks/{managed-policy-se0e6p8h.js → managed-policy-zsa83t72.js} +9 -9
  231. package/dist/chunks/{managed-policy-w0paxv9f.js → managed-policy-zvhwyzgn.js} +8 -8
  232. package/dist/chunks/{managed-policy-ebac8rqk.js → managed-policy-zwjrtaym.js} +9 -9
  233. package/dist/chunks/{managed-policy-qd3abkk0.js → managed-policy-zwyax15t.js} +28 -28
  234. package/dist/codemode/instructions.js +5 -5
  235. package/dist/command.js +70 -70
  236. package/dist/config/discovery.js +66 -66
  237. package/dist/config/normalize.js +78 -78
  238. package/dist/config/plugin/agent.js +91 -91
  239. package/dist/config/plugin/command.js +174 -174
  240. package/dist/config/plugin/compaction.js +123 -123
  241. package/dist/config/plugin/compatibility.js +107 -107
  242. package/dist/config/plugin/formatter.js +90 -90
  243. package/dist/config/plugin/image.js +89 -89
  244. package/dist/config/plugin/instruction.js +90 -90
  245. package/dist/config/plugin/location-watcher.js +89 -89
  246. package/dist/config/plugin/mcp.js +97 -97
  247. package/dist/config/plugin/policy.js +90 -90
  248. package/dist/config/plugin/provider.js +89 -89
  249. package/dist/config/plugin/reference.js +91 -91
  250. package/dist/config/plugin/shell.js +91 -91
  251. package/dist/config/plugin/skill-file.js +81 -81
  252. package/dist/config/plugin/skill.js +110 -110
  253. package/dist/config/plugin/snapshot.js +89 -89
  254. package/dist/config/plugin/source.js +92 -92
  255. package/dist/config/plugin/tool-output.js +89 -89
  256. package/dist/config/plugin/websearch.js +90 -90
  257. package/dist/config/plugin/worktree.js +91 -91
  258. package/dist/config.js +95 -95
  259. package/dist/credential.js +66 -66
  260. package/dist/database/database.js +58 -58
  261. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  262. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  263. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  264. package/dist/database/drizzle/index.js +11 -11
  265. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  266. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  267. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  268. package/dist/database/drizzle.js +11 -11
  269. package/dist/database/migration.gen.js +41 -41
  270. package/dist/database/migration.js +42 -42
  271. package/dist/database/v1-migration.bun.js +14 -14
  272. package/dist/effect/app-node-builder.js +240 -239
  273. package/dist/effect/keyed-mutex.js +3 -3
  274. package/dist/environment/environment.js +71 -71
  275. package/dist/environment/index.js +71 -71
  276. package/dist/environment/unavailable.js +3 -3
  277. package/dist/event-logger.js +14 -14
  278. package/dist/file-access.js +84 -84
  279. package/dist/file-mutation.js +72 -72
  280. package/dist/filesystem/location-watcher-policy.js +5 -5
  281. package/dist/filesystem/location-watcher.js +184 -184
  282. package/dist/filesystem/protected.js +3 -3
  283. package/dist/filesystem/search.js +80 -80
  284. package/dist/filesystem/watcher.js +11 -11
  285. package/dist/filesystem.js +81 -81
  286. package/dist/form.js +71 -71
  287. package/dist/formatter/builtins.js +3 -3
  288. package/dist/formatter.js +65 -65
  289. package/dist/generate.js +81 -81
  290. package/dist/git.js +8 -8
  291. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  292. package/dist/github-copilot/copilot-provider.js +3 -3
  293. package/dist/github-copilot/models.js +71 -71
  294. package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
  295. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  296. package/dist/image/photon.js +1 -1
  297. package/dist/image.js +5 -5
  298. package/dist/instance/service.js +5 -5
  299. package/dist/instance.js +316 -315
  300. package/dist/instruction-discovery.js +64 -64
  301. package/dist/instructions/builtins.js +69 -69
  302. package/dist/integration/connection.js +3 -3
  303. package/dist/integration.js +70 -70
  304. package/dist/job.js +62 -62
  305. package/dist/kv.js +57 -57
  306. package/dist/location-activity.js +60 -60
  307. package/dist/location-lifecycle.js +87 -87
  308. package/dist/location-service-map.js +68 -68
  309. package/dist/location-services.js +314 -313
  310. package/dist/location.js +69 -69
  311. package/dist/managed-policy.js +7 -7
  312. package/dist/mcp/client.js +20 -20
  313. package/dist/mcp/index.js +85 -85
  314. package/dist/mcp/instructions.js +104 -104
  315. package/dist/mcp/oauth.js +14 -14
  316. package/dist/mcp/stdio.js +68 -68
  317. package/dist/modal/models.js +71 -71
  318. package/dist/model-resolver.js +78 -78
  319. package/dist/model.js +78 -78
  320. package/dist/models-dev.js +81 -81
  321. package/dist/permission/saved.js +64 -64
  322. package/dist/permission/sql.js +3 -3
  323. package/dist/permission.js +93 -93
  324. package/dist/persistent-pty/index.js +70 -70
  325. package/dist/persistent-pty.js +58 -58
  326. package/dist/plugin/agent.js +61 -61
  327. package/dist/plugin/command.js +80 -80
  328. package/dist/plugin/hooks.js +5 -5
  329. package/dist/plugin/host.js +177 -177
  330. package/dist/plugin/identity.js +3 -3
  331. package/dist/plugin/instance.js +3 -3
  332. package/dist/plugin/internal.js +289 -289
  333. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  334. package/dist/plugin/models-dev.js +76 -76
  335. package/dist/plugin/module.js +90 -90
  336. package/dist/plugin/optimize.js +2 -2
  337. package/dist/plugin/plan.js +82 -82
  338. package/dist/plugin/provider/amazon-bedrock.js +70 -70
  339. package/dist/plugin/provider/azure.js +90 -90
  340. package/dist/plugin/provider/chatgpt.js +89 -89
  341. package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
  342. package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
  343. package/dist/plugin/provider/configured.js +86 -86
  344. package/dist/plugin/provider/digitalocean.js +72 -72
  345. package/dist/plugin/provider/github-copilot.js +75 -75
  346. package/dist/plugin/provider/gitlab.js +72 -72
  347. package/dist/plugin/provider/google-vertex.js +87 -87
  348. package/dist/plugin/provider/llmgateway.js +61 -61
  349. package/dist/plugin/provider/lmstudio.js +97 -97
  350. package/dist/plugin/provider/local.js +94 -94
  351. package/dist/plugin/provider/modal.js +72 -72
  352. package/dist/plugin/provider/ollama.js +97 -97
  353. package/dist/plugin/provider/openai.js +89 -89
  354. package/dist/plugin/provider/opencode.js +78 -78
  355. package/dist/plugin/provider/openrouter.js +71 -71
  356. package/dist/plugin/provider/poe.js +61 -61
  357. package/dist/plugin/provider/sap-ai-core.js +70 -70
  358. package/dist/plugin/provider/snowflake-cortex.js +88 -88
  359. package/dist/plugin/provider/vercel.js +70 -70
  360. package/dist/plugin/provider/vllm.js +97 -97
  361. package/dist/plugin/provider/xai.js +71 -71
  362. package/dist/plugin/provider.js +136 -136
  363. package/dist/plugin/sdk.js +59 -59
  364. package/dist/plugin/service.js +3 -3
  365. package/dist/plugin/skill.js +106 -106
  366. package/dist/plugin/supervisor.js +305 -305
  367. package/dist/plugin/tool-input-repair.js +3 -3
  368. package/dist/plugin/update.js +4 -4
  369. package/dist/plugin/vcs/git.js +68 -68
  370. package/dist/plugin/vcs/hg.js +68 -68
  371. package/dist/plugin/verbosity.js +73 -73
  372. package/dist/plugin/warming.js +88 -88
  373. package/dist/plugin/websearch/exa.js +4 -4
  374. package/dist/plugin/websearch/firecrawl.js +7 -7
  375. package/dist/plugin/websearch/index.js +8 -8
  376. package/dist/plugin/websearch/mcp.js +5 -5
  377. package/dist/plugin/websearch/parallel.js +7 -7
  378. package/dist/plugin/websearch/tavily.js +6 -6
  379. package/dist/plugin/websearch/tinyfish.js +5 -5
  380. package/dist/plugin.js +182 -182
  381. package/dist/project/schema.js +5 -5
  382. package/dist/project/sql.js +2 -2
  383. package/dist/project.js +70 -70
  384. package/dist/provider.js +81 -81
  385. package/dist/pty.js +72 -72
  386. package/dist/reference/instructions.js +71 -71
  387. package/dist/reference.js +71 -71
  388. package/dist/repository-cache.js +63 -63
  389. package/dist/ripgrep.js +74 -74
  390. package/dist/rpc.js +68 -68
  391. package/dist/session/affinity.js +3 -3
  392. package/dist/session/command.js +59 -59
  393. package/dist/session/compaction.js +110 -110
  394. package/dist/session/context.js +128 -128
  395. package/dist/session/diff.js +69 -69
  396. package/dist/session/environment.js +5 -5
  397. package/dist/session/error.js +4 -4
  398. package/dist/session/execution/restart.js +119 -119
  399. package/dist/session/execution.js +107 -107
  400. package/dist/session/generate.js +127 -127
  401. package/dist/session/history.js +9 -9
  402. package/dist/session/inbox.js +72 -72
  403. package/dist/session/info.js +2 -2
  404. package/dist/session/instruction-entry.js +63 -63
  405. package/dist/session/instruction-state.js +5 -5
  406. package/dist/session/instructions.js +77 -77
  407. package/dist/session/message-updater.js +3 -3
  408. package/dist/session/model-request.js +95 -95
  409. package/dist/session/model-transport.js +5 -5
  410. package/dist/session/move.js +108 -108
  411. package/dist/session/projector.js +66 -66
  412. package/dist/session/prompt.js +84 -84
  413. package/dist/session/provider-context.js +3 -3
  414. package/dist/session/revert.js +70 -70
  415. package/dist/session/run-coordinator.js +3 -3
  416. package/dist/session/runner/index.js +3 -3
  417. package/dist/session/runner/llm.js +187 -187
  418. package/dist/session/runner/model.js +78 -78
  419. package/dist/session/runner/publish-llm-event.js +92 -92
  420. package/dist/session/runner/retry.js +3 -3
  421. package/dist/session/runner/step.js +101 -101
  422. package/dist/session/runner/to-llm-message.js +2 -2
  423. package/dist/session/schema.js +5 -5
  424. package/dist/session/session.js +133 -133
  425. package/dist/session/shell.js +100 -100
  426. package/dist/session/skill.js +85 -85
  427. package/dist/session/sql.js +3 -3
  428. package/dist/session/stats.js +12 -12
  429. package/dist/session/store.js +67 -67
  430. package/dist/session/subagent-job.js +172 -172
  431. package/dist/session/system-prompt.js +3 -3
  432. package/dist/session/title.js +131 -131
  433. package/dist/session/to-session-error.js +91 -91
  434. package/dist/session/transfer.js +119 -119
  435. package/dist/session.js +183 -183
  436. package/dist/shell/parse.js +3 -3
  437. package/dist/shell/select.js +12 -12
  438. package/dist/shell.js +101 -101
  439. package/dist/skill/instructions.js +87 -87
  440. package/dist/skill.js +88 -88
  441. package/dist/snapshot.js +75 -75
  442. package/dist/tool/mcp.js +101 -101
  443. package/dist/tool/plugin/edit.js +97 -97
  444. package/dist/tool/plugin/glob.js +95 -95
  445. package/dist/tool/plugin/grep.js +97 -97
  446. package/dist/tool/plugin/mcp-resource.js +95 -95
  447. package/dist/tool/plugin/opencode.js +87 -87
  448. package/dist/tool/plugin/patch.js +99 -99
  449. package/dist/tool/plugin/question.js +81 -81
  450. package/dist/tool/plugin/read.js +95 -95
  451. package/dist/tool/plugin/shell.js +178 -178
  452. package/dist/tool/plugin/skill.js +91 -91
  453. package/dist/tool/plugin/subagent.js +179 -179
  454. package/dist/tool/plugin/webfetch.js +90 -90
  455. package/dist/tool/plugin/websearch.js +92 -92
  456. package/dist/tool/plugin/write.js +99 -99
  457. package/dist/tool/read-filesystem.js +76 -76
  458. package/dist/tool-output.js +5 -5
  459. package/dist/tool.js +9 -9
  460. package/dist/types/instance.d.ts +2 -1
  461. package/dist/types/voice.d.ts +29 -0
  462. package/dist/v1/config/agent.js +4 -4
  463. package/dist/v1/config/command.js +5 -5
  464. package/dist/v1/config/mcp.js +3 -3
  465. package/dist/v1/config/migrate.js +71 -71
  466. package/dist/v1/config/permission.js +3 -3
  467. package/dist/v1/config/plugin.js +3 -3
  468. package/dist/v1/config/provider.js +3 -3
  469. package/dist/variant.js +71 -71
  470. package/dist/vcs.js +71 -71
  471. package/dist/voice.js +97 -0
  472. package/dist/websearch.js +66 -66
  473. package/dist/wellknown/plugin.js +60 -60
  474. package/dist/wellknown.js +61 -61
  475. package/dist/workspace/driver.js +7 -7
  476. package/dist/workspace.js +64 -64
  477. package/dist/worktree/git.js +7 -7
  478. package/dist/worktree/sql.js +3 -3
  479. package/dist/worktree/strategies.js +70 -70
  480. package/dist/worktree.js +76 -76
  481. package/package.json +8 -8
  482. package/dist/chunks/managed-policy-544788hd.js +0 -513
  483. package/dist/chunks/managed-policy-6ew6rpcj.js +0 -26
  484. package/dist/chunks/managed-policy-dt5h07dt.js +0 -253
  485. /package/dist/chunks/{managed-policy-rj3eygr5.js → managed-policy-c41wscbt.js} +0 -0
  486. /package/dist/chunks/{managed-policy-njgyve5n.js → managed-policy-nh18s6qe.js} +0 -0
  487. /package/dist/chunks/{managed-policy-vxp3kcg3.js → managed-policy-rf80fxgj.js} +0 -0
  488. /package/dist/chunks/{managed-policy-vkv48c9y.js → managed-policy-svd323rs.js} +0 -0
  489. /package/dist/chunks/{managed-policy-jxr5ks98.js → managed-policy-xvmz56zt.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./managed-policy-sykm1tam.js";
3
+ Service85,
4
+ node89
5
+ } from "./managed-policy-gvzmkpgy.js";
6
6
  import {
7
7
  Key4,
8
8
  unavailable3,
@@ -20,14 +20,14 @@ import {
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event20,
23
+ Event: () => Event21,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
26
  Options: () => Options10,
27
- Service: () => Service79,
27
+ Service: () => Service84,
28
28
  configured: () => configured11,
29
- layer: () => layer26,
30
- node: () => node83
29
+ layer: () => layer28,
30
+ node: () => node88
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key4.make("core/instructions");
42
- var Event20 = {
42
+ var Event21 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
45
  var Options10 = Schema.Struct({
@@ -47,10 +47,10 @@ var Options10 = Schema.Struct({
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service79 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service84 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer26 = (options) => Layer.effect(Service79, Effect.gen(function* () {
53
- const bus = yield* Service81;
52
+ var layer28 = (options) => Layer.effect(Service84, Effect.gen(function* () {
53
+ const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
56
56
  initial: () => ({ files: new Map, available: true }),
@@ -69,7 +69,7 @@ var layer26 = (options) => Layer.effect(Service79, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event21.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
74
  const source = (value) => make21({
75
75
  key,
@@ -87,7 +87,7 @@ var layer26 = (options) => Layer.effect(Service79, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service79.of({
90
+ return Service84.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -103,12 +103,12 @@ var layer26 = (options) => Layer.effect(Service79, Effect.gen(function* () {
103
103
  }));
104
104
  function configured11(options) {
105
105
  return makeLocationNode({
106
- service: Service79,
107
- layer: layer26(options),
108
- deps: [node85]
106
+ service: Service84,
107
+ layer: layer28(options),
108
+ deps: [node89]
109
109
  });
110
110
  }
111
- var node83 = configured11();
111
+ var node88 = configured11();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event20, Options10, Service79, layer26, configured11, node83, exports_instruction_discovery };
142
+ export { File2, Event21, Options10, Service84, layer28, configured11, node88, exports_instruction_discovery };
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service58,
18
+ Service: () => Service49,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node61
21
+ node: () => node52
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service58 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service49 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service58, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service58.of({
119
+ return Service49.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node61 = makeLocationNode({
137
- service: Service58,
136
+ var node52 = makeLocationNode({
137
+ service: Service49,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service58, node61, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service49, node52, exports_tool_output2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./managed-policy-sykm1tam.js";
2
+ Service85,
3
+ node89
4
+ } from "./managed-policy-gvzmkpgy.js";
5
5
  import {
6
6
  parse5,
7
7
  parseRemote2,
@@ -13,9 +13,9 @@ import {
13
13
  AbsolutePath2
14
14
  } from "./managed-policy-z5v4ffb3.js";
15
15
  import {
16
- Service82,
17
- node86
18
- } from "./managed-policy-30jgek7x.js";
16
+ Service42,
17
+ node45
18
+ } from "./managed-policy-xjfa2awp.js";
19
19
  import {
20
20
  create3
21
21
  } from "./managed-policy-rdw6cm16.js";
@@ -26,31 +26,31 @@ import {
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event5,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service41,
34
+ Service: () => Service38,
35
35
  Source: () => Source3,
36
- node: () => node44
36
+ node: () => node41
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event5 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Reference") {
48
+ class Service38 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service81;
53
- const cache = yield* Service82;
52
+ const bus = yield* Service85;
53
+ const cache = yield* Service42;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service41.of({
107
+ return Service38.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node44 = makeLocationNode({
116
- service: Service41,
115
+ var node41 = makeLocationNode({
116
+ service: Service38,
117
117
  layer,
118
- deps: [Global.node, node85, node86]
118
+ deps: [Global.node, node89, node45]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service41, node44, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service38, node41, exports_reference2, Event5 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./managed-policy-sykm1tam.js";
2
+ Service85,
3
+ node89
4
+ } from "./managed-policy-gvzmkpgy.js";
5
5
  import {
6
6
  environment2
7
- } from "./managed-policy-g8p3cjr7.js";
7
+ } from "./managed-policy-65mb7mqj.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
10
  } from "./managed-policy-3t0ybcrp.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service26,
23
- UnavailableError: () => UnavailableError3,
22
+ Service: () => Service22,
23
+ UnavailableError: () => UnavailableError4,
24
24
  available: () => available2,
25
- configured: () => configured4,
25
+ configured: () => configured3,
26
26
  layer: () => layer12,
27
- node: () => node29
27
+ node: () => node25
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options4 = Schema.Struct({
39
+ var Options3 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service26 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service22 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* () {
57
- const bus = yield* Service81;
56
+ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
57
+ const bus = yield* Service85;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError4({ ptyID: id });
79
+ return yield* new NotFoundError3({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service26.of({
246
+ return Service22.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -260,16 +260,16 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
260
260
  });
261
261
  }));
262
262
  var layer12 = makeLayer();
263
- var configured4 = (options) => makeGlobalNode({
264
- service: Service26,
263
+ var configured3 = (options) => makeGlobalNode({
264
+ service: Service22,
265
265
  layer: options === undefined ? layer12 : makeLayer(options),
266
- deps: [node85, Global.node]
266
+ deps: [node89, Global.node]
267
267
  });
268
- var node29 = configured4();
268
+ var node25 = configured3();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError4, Service26, layer12, configured4, node29, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options3, UnavailableError4, NotFoundError3, Service22, layer12, configured3, node25, exports_persistent_pty, Handoff2, available2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service71,
4
- node74
5
- } from "./managed-policy-2g0tx58q.js";
2
+ ID10,
3
+ Service72,
4
+ node76
5
+ } from "./managed-policy-tzfp8s1n.js";
6
6
  import {
7
- ID12,
7
+ ID9,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,21 +15,21 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service70,
19
- node73
20
- } from "./managed-policy-nz7n12n6.js";
18
+ Service71,
19
+ node75
20
+ } from "./managed-policy-fespy3cc.js";
21
21
  import {
22
22
  Service69,
23
- node72
24
- } from "./managed-policy-545z4kw4.js";
23
+ node73
24
+ } from "./managed-policy-n2f1vtt5.js";
25
25
  import {
26
- ID10,
26
+ ID8,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service66,
30
- node69,
29
+ Service70,
30
+ node74,
31
31
  supportsText2
32
- } from "./managed-policy-4y77yz93.js";
32
+ } from "./managed-policy-dq3ns270.js";
33
33
  import {
34
34
  __export
35
35
  } from "./managed-policy-9rqn6x4v.js";
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service57,
44
+ Service: () => Service68,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer23,
52
- node: () => node60,
51
+ layer: () => layer26,
52
+ node: () => node72,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID12,
63
- modelID: ID10,
62
+ providerID: ID9,
63
+ modelID: ID8,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID12,
73
- modelID: ID10,
72
+ providerID: ID9,
73
+ modelID: ID8,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID12,
84
- modelID: ID10,
83
+ providerID: ID9,
84
+ modelID: ID8,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID12,
95
- modelID: ID10,
94
+ providerID: ID9,
95
+ modelID: ID8,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID12,
107
- modelID: ID10,
106
+ providerID: ID9,
107
+ modelID: ID8,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID12,
117
- modelID: ID10,
116
+ providerID: ID9,
117
+ modelID: ID8,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service57 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service68 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
236
236
  return tokenSettings(specifier, credential.access);
237
237
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
238
238
  return { auth: "sigv4" };
239
- if (model.providerID === ID12.azure)
239
+ if (model.providerID === ID9.azure)
240
240
  return tokenSettings(specifier, "azure-cli");
241
241
  return {};
242
242
  };
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer23 = Layer.effect(Service57, Effect.gen(function* () {
275
- const providers = yield* Service70;
276
- const models = yield* Service66;
277
- const integrations = yield* Service71;
274
+ var layer26 = Layer.effect(Service68, Effect.gen(function* () {
275
+ const providers = yield* Service71;
276
+ const models = yield* Service70;
277
+ const integrations = yield* Service72;
278
278
  const npm = yield* Npm.Service;
279
279
  const aisdk = yield* Service69;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
282
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
283
283
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
284
284
  const selectedVariant = yield* withVariant2(selected, variant);
285
285
  const runtimeInfo = {
@@ -306,7 +306,7 @@ var layer23 = Layer.effect(Service57, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service57.of({
309
+ return Service68.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node60 = makeLocationNode({
327
- service: Service57,
328
- layer: layer23,
329
- deps: [node73, node69, node74, Npm.node, node72]
326
+ var node72 = makeLocationNode({
327
+ service: Service68,
328
+ layer: layer26,
329
+ deps: [node75, node74, node76, Npm.node, node73]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service57, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node60, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node72, exports_model_resolver };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service49
4
- } from "./managed-policy-3sv17f56.js";
3
+ Service45
4
+ } from "./managed-policy-34y2kk9h.js";
5
5
  import {
6
- Service63
7
- } from "./managed-policy-g8p3cjr7.js";
6
+ Service48
7
+ } from "./managed-policy-65mb7mqj.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./managed-policy-qsdy395h.js";
@@ -13,18 +13,18 @@ import {
13
13
  } from "./managed-policy-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell2 = {};
17
- __export(exports_shell2, {
18
- ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin32
16
+ var exports_shell = {};
17
+ __export(exports_shell, {
18
+ ConfigShellPlugin: () => exports_shell,
19
+ Plugin: () => Plugin9
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin32 = define({
23
+ var Plugin9 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service49;
27
- const shell = yield* Service63;
26
+ const config = yield* Service45;
27
+ const shell = yield* Service48;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin32 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin32, exports_shell2 };
37
+ export { Plugin9, exports_shell };