@opencode/core 0.0.0-dev-1264 → 0.0.0-dev-1266
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +260 -260
- package/dist/bus.js +80 -80
- package/dist/chunks/{worktree-034tev2y.js → credential-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-wbwvvcrc.js → credential-04f94dax.js} +43 -43
- package/dist/chunks/{worktree-4cd8bjhn.js → credential-05ag6pk8.js} +12 -12
- package/dist/chunks/{worktree-z6twvr1q.js → credential-05p04pxs.js} +22 -22
- package/dist/chunks/{worktree-46ngnzzp.js → credential-083bb7kr.js} +1 -1
- package/dist/chunks/{worktree-da7jra8h.js → credential-0bv4xa50.js} +27 -27
- package/dist/chunks/{worktree-8gmxcapv.js → credential-0d0009t3.js} +11 -11
- package/dist/chunks/{worktree-kfdy2ced.js → credential-0gzv1ss9.js} +30 -30
- package/dist/chunks/{worktree-0ma9gw4f.js → credential-0ma9gw4f.js} +2 -2
- package/dist/chunks/{worktree-ycdz9p50.js → credential-0n8hhfa1.js} +3 -3
- package/dist/chunks/{worktree-e53fs974.js → credential-0pmkfzvq.js} +11 -11
- package/dist/chunks/{worktree-rcp756gk.js → credential-16b1vswp.js} +4 -4
- package/dist/chunks/{worktree-8g0svzxg.js → credential-170v4zn2.js} +9 -9
- package/dist/chunks/{worktree-pvpgttgh.js → credential-19cwwhz9.js} +8 -8
- package/dist/chunks/{worktree-1aqsckx4.js → credential-1aqsckx4.js} +1 -1
- package/dist/chunks/{worktree-1aryjtsy.js → credential-1aryjtsy.js} +1 -1
- package/dist/chunks/{worktree-bg4yx4n3.js → credential-1at1r0z7.js} +30 -30
- package/dist/chunks/{worktree-w33zj80n.js → credential-1c1zg5kd.js} +21 -21
- package/dist/chunks/{worktree-etx991nf.js → credential-1dr9rxn2.js} +40 -40
- package/dist/chunks/{worktree-1ep2p91f.js → credential-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-b7vxy437.js → credential-1j27xach.js} +23 -23
- package/dist/chunks/{worktree-akk97tym.js → credential-1nvhvshq.js} +2 -2
- package/dist/chunks/{worktree-rsd267qt.js → credential-1p2mzk0s.js} +4 -4
- package/dist/chunks/{worktree-ns7cryw4.js → credential-1qhqc27h.js} +21 -21
- package/dist/chunks/{worktree-epthsp8p.js → credential-1r670a2x.js} +18 -18
- package/dist/chunks/{worktree-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-vgtkes5b.js → credential-284atmfe.js} +18 -18
- package/dist/chunks/{worktree-9beaqk96.js → credential-2868d8r5.js} +10 -10
- package/dist/chunks/{worktree-52bne9g4.js → credential-297gyf9e.js} +4 -4
- package/dist/chunks/{worktree-7wx686z5.js → credential-2aq4mjey.js} +23 -23
- package/dist/chunks/{worktree-0ahs07zn.js → credential-2azy8kv6.js} +4 -4
- package/dist/chunks/{worktree-8hfctyyf.js → credential-2bswbpgz.js} +5 -5
- package/dist/chunks/{worktree-n3hr8dch.js → credential-2cn0txnp.js} +11 -11
- package/dist/chunks/{worktree-ht3fwskd.js → credential-2ejmkwxb.js} +10 -10
- package/dist/chunks/{worktree-9esm5h7s.js → credential-2f5h4exa.js} +47 -47
- package/dist/chunks/{worktree-2fc7eemy.js → credential-2fc7eemy.js} +1 -1
- package/dist/chunks/credential-2nnhn429.js +273 -0
- package/dist/chunks/{worktree-2p60zmnr.js → credential-2p60zmnr.js} +2 -2
- package/dist/chunks/{worktree-4vhvsf6w.js → credential-2pg7vmjx.js} +59 -59
- package/dist/chunks/{worktree-2prt43t7.js → credential-2prt43t7.js} +1 -1
- package/dist/chunks/{worktree-rrg5jx6f.js → credential-2qv5ter1.js} +7 -7
- package/dist/chunks/{worktree-vsxm4sf9.js → credential-2s42xwzj.js} +8 -8
- package/dist/chunks/{worktree-vsjszmws.js → credential-2swk70vv.js} +10 -10
- package/dist/chunks/{worktree-h8c2vh0k.js → credential-2t9xf391.js} +32 -32
- package/dist/chunks/{worktree-21prfe2v.js → credential-2v6ndzyx.js} +13 -13
- package/dist/chunks/{worktree-wvr8qheb.js → credential-2vaagxfs.js} +187 -187
- package/dist/chunks/{worktree-egkn8eaf.js → credential-2w9hcewk.js} +9 -9
- package/dist/chunks/{worktree-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-d3kcraj0.js → credential-3rd5m6vm.js} +30 -30
- package/dist/chunks/{worktree-ah4z3jtw.js → credential-3zcve5r9.js} +16 -16
- package/dist/chunks/{worktree-xyzp9kyc.js → credential-3ztt38fd.js} +13 -13
- package/dist/chunks/{worktree-40y6dtc2.js → credential-40y6dtc2.js} +1 -1
- package/dist/chunks/{worktree-44pmzq9c.js → credential-44pmzq9c.js} +2 -2
- package/dist/chunks/{worktree-nrhb5mcr.js → credential-44qjfwz8.js} +8 -8
- package/dist/chunks/{worktree-yz8gd7dy.js → credential-47pjmyws.js} +21 -21
- package/dist/chunks/{worktree-d2mwgxdd.js → credential-48m9x6qm.js} +3 -3
- package/dist/chunks/{worktree-9xgtm86g.js → credential-4brve7m4.js} +31 -31
- package/dist/chunks/{worktree-4dx1dgte.js → credential-4dx1dgte.js} +1 -1
- package/dist/chunks/{worktree-4f25tdd0.js → credential-4f25tdd0.js} +1 -1
- package/dist/chunks/{worktree-kth6pzp8.js → credential-4mqfjmg2.js} +3 -3
- package/dist/chunks/{worktree-4pw98qd4.js → credential-4pw98qd4.js} +1 -1
- package/dist/chunks/{worktree-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-4v008n1t.js → credential-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-zgj2mgk9.js → credential-548t6f90.js} +18 -18
- package/dist/chunks/{worktree-5nkvqegm.js → credential-55jns0y6.js} +58 -58
- package/dist/chunks/{worktree-j8zr3f3w.js → credential-5cw7hx5n.js} +5 -5
- package/dist/chunks/{worktree-tch23gam.js → credential-5e55b4vg.js} +16 -16
- package/dist/chunks/{worktree-115nyvd9.js → credential-5k437nf0.js} +25 -25
- package/dist/chunks/{worktree-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-nh29x4t4.js → credential-5mmnhktp.js} +11 -11
- package/dist/chunks/{worktree-b6gk4anr.js → credential-5wfjk0m2.js} +28 -28
- package/dist/chunks/{worktree-mf9xnwfc.js → credential-6537r86n.js} +4 -4
- package/dist/chunks/{worktree-wymgne7z.js → credential-66930yf4.js} +35 -35
- package/dist/chunks/{worktree-brv6mkyx.js → credential-67wwskyb.js} +4 -4
- package/dist/chunks/credential-6bshxcsx.js +18 -0
- package/dist/chunks/{worktree-qdr892na.js → credential-6f8g2psv.js} +12 -12
- package/dist/chunks/{worktree-s062474n.js → credential-6ndwemk5.js} +21 -21
- package/dist/chunks/{worktree-5gq1g6z4.js → credential-6qpf3bcy.js} +30 -30
- package/dist/chunks/{worktree-9fgy5dtv.js → credential-6vwjxhgq.js} +8 -8
- package/dist/chunks/{worktree-jdb23anr.js → credential-6y22pqa5.js} +35 -35
- package/dist/chunks/{worktree-qah7t4da.js → credential-7215dbqr.js} +6 -6
- package/dist/chunks/{worktree-2h7m8jkh.js → credential-755j803s.js} +9 -9
- package/dist/chunks/{worktree-9je0v1t5.js → credential-75p4zwqn.js} +10 -10
- package/dist/chunks/{worktree-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-955vq45v.js → credential-7dxs97e8.js} +7 -7
- package/dist/chunks/{worktree-jxaybbka.js → credential-7h0xs0hp.js} +5 -5
- package/dist/chunks/{worktree-hkkxk2t5.js → credential-7kdah1f2.js} +3 -3
- package/dist/chunks/{worktree-3ffssf92.js → credential-7m3261e6.js} +11 -11
- package/dist/chunks/{worktree-jr5g7pr8.js → credential-7mgf1y04.js} +11 -11
- package/dist/chunks/{worktree-9r7xa4ny.js → credential-7n9cxsfy.js} +6 -6
- package/dist/chunks/{worktree-dt1vnv0k.js → credential-7t325v9v.js} +13 -13
- package/dist/chunks/{worktree-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-7weczvnd.js → credential-7weczvnd.js} +1 -1
- package/dist/chunks/{worktree-x08m4j8q.js → credential-7yyd0evv.js} +16 -16
- package/dist/chunks/{worktree-775hqbnd.js → credential-80mg3ag8.js} +3 -3
- package/dist/chunks/{worktree-80pdk984.js → credential-80pdk984.js} +1 -1
- package/dist/chunks/{worktree-kkfprn4x.js → credential-81avqzmv.js} +10 -10
- package/dist/chunks/{worktree-v0etfk9t.js → credential-84vrmdvh.js} +18 -18
- package/dist/chunks/{worktree-85jq8dht.js → credential-85jq8dht.js} +1 -1
- package/dist/chunks/{worktree-y3aw00r4.js → credential-89hc1rzn.js} +8 -8
- package/dist/chunks/{worktree-5drvnfvh.js → credential-8a4y06xp.js} +15 -15
- package/dist/chunks/{worktree-8b3vzgkx.js → credential-8b3vzgkx.js} +1 -1
- package/dist/chunks/{worktree-9v0htc5k.js → credential-8bpryfcs.js} +28 -28
- package/dist/chunks/{worktree-ywqn7m26.js → credential-8fzjn2mz.js} +11 -11
- package/dist/chunks/{worktree-vq1ppevj.js → credential-8hfmqq8w.js} +8 -8
- package/dist/chunks/{worktree-8kjyvwy5.js → credential-8kjyvwy5.js} +1 -1
- package/dist/chunks/{worktree-kjpprafw.js → credential-8nvb8nf8.js} +26 -26
- package/dist/chunks/{worktree-dkrnptrz.js → credential-8rgb2cvr.js} +8 -8
- package/dist/chunks/{worktree-ah96p1fy.js → credential-8sgwsd6w.js} +30 -30
- package/dist/chunks/{worktree-8sxe6kv8.js → credential-8sxe6kv8.js} +2 -2
- package/dist/chunks/{worktree-n503jqgj.js → credential-8vmsfhyj.js} +12 -12
- package/dist/chunks/{worktree-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-8zv0xmg5.js → credential-8zv0xmg5.js} +1 -1
- package/dist/chunks/{worktree-2g34a0qs.js → credential-8zw7n6f9.js} +29 -29
- package/dist/chunks/{worktree-rzg6y5rp.js → credential-90ct6wq4.js} +4 -4
- package/dist/chunks/{worktree-9v671hr8.js → credential-92waa1rm.js} +7 -7
- package/dist/chunks/{worktree-atz1w742.js → credential-94e33dpz.js} +3 -3
- package/dist/chunks/{worktree-vk2qjrme.js → credential-94nm4njz.js} +15 -15
- package/dist/chunks/{worktree-vphbnpnp.js → credential-9ajzb2kh.js} +8 -8
- package/dist/chunks/{worktree-v3ryf4j6.js → credential-9be3praa.js} +7 -7
- package/dist/chunks/{worktree-c53vxacq.js → credential-9ekzv16x.js} +19 -19
- package/dist/chunks/{worktree-wbxahces.js → credential-9x0sbzbr.js} +10 -10
- package/dist/chunks/{worktree-tw2hbedk.js → credential-9yw73g0b.js} +36 -36
- package/dist/chunks/{worktree-q7srkfd6.js → credential-a0njj5td.js} +3 -3
- package/dist/chunks/{worktree-8vad137p.js → credential-a2f34hqa.js} +17 -17
- package/dist/chunks/{worktree-5j82wakc.js → credential-a2fmjrw5.js} +18 -18
- package/dist/chunks/{worktree-1j86et5h.js → credential-a5gtmh0t.js} +5 -5
- package/dist/chunks/{worktree-x69q9wh6.js → credential-ab3scrh1.js} +17 -17
- package/dist/chunks/{worktree-wvr8xscb.js → credential-agje4kmn.js} +4 -4
- package/dist/chunks/{worktree-5dsr8r8r.js → credential-asm9vz9z.js} +35 -35
- package/dist/chunks/{worktree-ayjs7tqn.js → credential-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-xvn8mnch.js → credential-azqdag7d.js} +4 -4
- package/dist/chunks/{worktree-me215f18.js → credential-b0fy1v2h.js} +1 -1
- package/dist/chunks/{worktree-b26ddj6h.js → credential-b26ddj6h.js} +4 -4
- package/dist/chunks/{worktree-6n24w41c.js → credential-b588tj1k.js} +17 -17
- package/dist/chunks/{worktree-wy6j1ycf.js → credential-bctkw1y7.js} +25 -25
- package/dist/chunks/{worktree-4jp6v5kb.js → credential-bj026bf1.js} +16 -16
- package/dist/chunks/{worktree-v6yzcc2c.js → credential-bm62pr2s.js} +10 -10
- package/dist/chunks/{worktree-avj6h0e6.js → credential-bq1e659v.js} +28 -28
- package/dist/chunks/{worktree-pazse0a8.js → credential-bqbrpb0z.js} +23 -23
- package/dist/chunks/{worktree-3adw4bt5.js → credential-br85n61x.js} +9 -9
- package/dist/chunks/{worktree-jbwkk6ab.js → credential-c1wm9w65.js} +7 -7
- package/dist/chunks/{worktree-nj7csm0w.js → credential-ccrtc4jm.js} +6 -6
- package/dist/chunks/{worktree-rg2m9633.js → credential-crvzxc72.js} +32 -32
- package/dist/chunks/{worktree-evksn9k1.js → credential-cwmw1m7p.js} +26 -26
- package/dist/chunks/{worktree-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-d4v9tmah.js → credential-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-36c6fj51.js → credential-d5arxgh9.js} +16 -16
- package/dist/chunks/{worktree-h4ghx0yk.js → credential-d9b35bsm.js} +23 -23
- package/dist/chunks/{worktree-dt77769w.js → credential-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-2n444ktb.js → credential-dtrrxc61.js} +3 -3
- package/dist/chunks/{worktree-02tnp2z6.js → credential-dxfardcv.js} +24 -24
- package/dist/chunks/{worktree-8bgnr0we.js → credential-e8xb975w.js} +9 -9
- package/dist/chunks/{worktree-x4s452sp.js → credential-ea76zaj4.js} +10 -10
- package/dist/chunks/{worktree-dfz3m1mp.js → credential-ead5v0mw.js} +24 -24
- package/dist/chunks/{worktree-vkz6fa6t.js → credential-eegta8rz.js} +31 -31
- package/dist/chunks/{worktree-j26gwfra.js → credential-emh57nvb.js} +8 -8
- package/dist/chunks/{worktree-vvty3cpq.js → credential-emzckfwf.js} +46 -46
- package/dist/chunks/{worktree-87evyga5.js → credential-ep1m3t1v.js} +24 -24
- package/dist/chunks/{worktree-zcptnv4n.js → credential-epr7hfg3.js} +10 -10
- package/dist/chunks/{worktree-eqw4pqj1.js → credential-eqw4pqj1.js} +2 -2
- package/dist/chunks/{worktree-04rnhqft.js → credential-erz96mch.js} +22 -22
- package/dist/chunks/{worktree-3eknw787.js → credential-es0xdxx4.js} +8 -8
- package/dist/chunks/{worktree-wrkdd7ek.js → credential-esc72zzd.js} +36 -36
- package/dist/chunks/{worktree-kgxqtx97.js → credential-evg6t15x.js} +5 -5
- package/dist/chunks/{worktree-vg3y8tzc.js → credential-f1b4f75h.js} +14 -14
- package/dist/chunks/{worktree-w9e7c2e3.js → credential-f5xy1qn8.js} +6 -6
- package/dist/chunks/{worktree-jdazy0sj.js → credential-f68vxh6q.js} +10 -10
- package/dist/chunks/{worktree-2qywqnd5.js → credential-f8qcf1g3.js} +26 -26
- package/dist/chunks/{worktree-8230yfm5.js → credential-f9t22jxr.js} +9 -9
- package/dist/chunks/{worktree-aqczazaa.js → credential-fcmxqga5.js} +4 -4
- package/dist/chunks/{worktree-eq6baf7z.js → credential-fhbz4jre.js} +30 -30
- package/dist/chunks/{worktree-cyebkz0g.js → credential-fkd994t1.js} +21 -21
- package/dist/chunks/{worktree-d2d0axg5.js → credential-fssek1qm.js} +7 -7
- package/dist/chunks/{worktree-e2yswvtz.js → credential-fygfs8gq.js} +19 -19
- package/dist/chunks/{worktree-w8q5ggyd.js → credential-g098wjz0.js} +18 -18
- package/dist/chunks/{worktree-sbzezcpx.js → credential-g3wj12x4.js} +8 -8
- package/dist/chunks/{worktree-xsact9zs.js → credential-g42b6ca9.js} +4 -4
- package/dist/chunks/{worktree-pwe4x7n8.js → credential-g7h89rq2.js} +44 -44
- package/dist/chunks/{worktree-xgytw5f8.js → credential-gbeepg6c.js} +12 -12
- package/dist/chunks/{worktree-gbjdnr5j.js → credential-gbjdnr5j.js} +2 -2
- package/dist/chunks/{worktree-ghrv1g9c.js → credential-ghrv1g9c.js} +1 -1
- package/dist/chunks/{worktree-e27dnf0a.js → credential-gw4haqx5.js} +5 -5
- package/dist/chunks/{worktree-3kh5qk3y.js → credential-gx76kxxn.js} +11 -11
- package/dist/chunks/{worktree-0gq253mk.js → credential-gykwdayw.js} +40 -40
- package/dist/chunks/{worktree-0bjg3qy0.js → credential-h26mtg3g.js} +17 -17
- package/dist/chunks/{worktree-3evvr8bx.js → credential-h5kxrezk.js} +27 -27
- package/dist/chunks/{worktree-vzn28619.js → credential-h6wxadm3.js} +6 -6
- package/dist/chunks/{worktree-y31k03ft.js → credential-h79y8tf0.js} +3 -3
- package/dist/chunks/{worktree-bt0j8jsq.js → credential-h7b3bxr7.js} +4 -4
- package/dist/chunks/{worktree-trxdv4a2.js → credential-h7yfjjyr.js} +11 -11
- package/dist/chunks/{worktree-frnfv82a.js → credential-haz0swaw.js} +19 -19
- package/dist/chunks/{worktree-hgzwgvze.js → credential-hgzwgvze.js} +2 -2
- package/dist/chunks/{worktree-jc6n1g1a.js → credential-hm3thh9r.js} +12 -12
- package/dist/chunks/{worktree-bmn0w987.js → credential-hmqmja9x.js} +24 -24
- package/dist/chunks/{worktree-abfhp5y0.js → credential-hw1wavdn.js} +17 -17
- package/dist/chunks/{worktree-6vbbsh5r.js → credential-hxyt6xjy.js} +7 -7
- package/dist/chunks/{worktree-pcrxgd1y.js → credential-hz0tdhxc.js} +36 -36
- package/dist/chunks/{worktree-w838r4xv.js → credential-j0xx1eam.js} +9 -9
- package/dist/chunks/{worktree-k6y824vh.js → credential-j228j2n8.js} +2 -2
- package/dist/chunks/{worktree-e4wexmx7.js → credential-j3dzraeh.js} +17 -17
- package/dist/chunks/{worktree-cqv0yv6r.js → credential-j68k2dd2.js} +39 -39
- package/dist/chunks/{worktree-yqx9pdyt.js → credential-j8argnn7.js} +62 -62
- package/dist/chunks/{worktree-17wdez1g.js → credential-jd2k76th.js} +3 -3
- package/dist/chunks/{worktree-d3nfmg6f.js → credential-jd64w3eg.js} +24 -24
- package/dist/chunks/{worktree-a3fn0gmm.js → credential-jh9q4qkg.js} +2 -2
- package/dist/chunks/{worktree-s26c8eb5.js → credential-jkdcm5hg.js} +4 -4
- package/dist/chunks/{worktree-jm70asfg.js → credential-jm70asfg.js} +1 -1
- package/dist/chunks/{worktree-221mv0g2.js → credential-jrn9m81j.js} +31 -31
- package/dist/chunks/{worktree-jrcj418h.js → credential-jtj80tfk.js} +7 -7
- package/dist/chunks/{worktree-j95yd6qs.js → credential-jxxxy27w.js} +8 -8
- package/dist/chunks/{worktree-jm3dfxjs.js → credential-k2b8fd82.js} +21 -21
- package/dist/chunks/{worktree-hjm7rc96.js → credential-k8atft3w.js} +10 -10
- package/dist/chunks/{worktree-kpwwjhqq.js → credential-kb5p7079.js} +41 -41
- package/dist/chunks/{worktree-vmqe41cb.js → credential-kj9n5bvh.js} +4 -4
- package/dist/chunks/{worktree-rhy0sbpe.js → credential-ksmsp0en.js} +19 -19
- package/dist/chunks/{worktree-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-cpe35zww.js → credential-ky55b5b1.js} +4 -4
- package/dist/chunks/{worktree-kzczzf4v.js → credential-kzczzf4v.js} +1 -1
- package/dist/chunks/{worktree-bxk31rmq.js → credential-kzrp6a9e.js} +5 -5
- package/dist/chunks/{worktree-1kama452.js → credential-m11dydqq.js} +4 -4
- package/dist/chunks/{worktree-m1714858.js → credential-m1714858.js} +1 -1
- package/dist/chunks/{worktree-4e85nbz2.js → credential-m6hyr5tc.js} +9 -9
- package/dist/chunks/{worktree-m90tx7mw.js → credential-m90tx7mw.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-mb7mbhnz.js → credential-mb7mbhnz.js} +3 -3
- package/dist/chunks/{worktree-t177y0q1.js → credential-mczeabwm.js} +13 -13
- package/dist/chunks/{worktree-7t938ypj.js → credential-mg9811wm.js} +11 -11
- package/dist/chunks/{worktree-9enxp8jt.js → credential-mj6ctt7b.js} +3 -3
- package/dist/chunks/{worktree-f2zjpyt5.js → credential-mk3p57ba.js} +9 -9
- package/dist/chunks/{worktree-r1jdstg5.js → credential-msd2a3qm.js} +7 -7
- package/dist/chunks/{worktree-hby6few7.js → credential-mz2z015j.js} +14 -14
- package/dist/chunks/{worktree-nqp3x6j2.js → credential-n2a04dsk.js} +93 -93
- package/dist/chunks/{worktree-ws1tt9pz.js → credential-nbtpjsg4.js} +11 -11
- package/dist/chunks/{worktree-e1tqt626.js → credential-nck04nh4.js} +12 -12
- package/dist/chunks/{worktree-g298ae0f.js → credential-neqamc1y.js} +9 -9
- package/dist/chunks/{worktree-h6081cxj.js → credential-nkpvg6fm.js} +23 -23
- package/dist/chunks/{worktree-8b4n7av8.js → credential-nm3ssbj1.js} +23 -23
- package/dist/chunks/{worktree-8wz5a004.js → credential-nvx1pt8f.js} +12 -12
- package/dist/chunks/{worktree-1wsd0ebx.js → credential-nwd067wd.js} +4 -4
- package/dist/chunks/{worktree-1wt5gxxy.js → credential-nzrnzpf0.js} +21 -21
- package/dist/chunks/{worktree-7gmy25f6.js → credential-p2pbjxkj.js} +5 -5
- package/dist/chunks/{worktree-jzf995y2.js → credential-p45cj9je.js} +4 -4
- package/dist/chunks/{worktree-1yq9hg58.js → credential-p7vhpwh8.js} +5 -5
- package/dist/chunks/{worktree-e59cb28x.js → credential-p9291rxh.js} +19 -19
- package/dist/chunks/{worktree-dchm6595.js → credential-pas0ngh7.js} +7 -7
- package/dist/chunks/{worktree-r6paxqy7.js → credential-pcgy6jah.js} +6 -6
- package/dist/chunks/{worktree-pd7cqnhq.js → credential-pd7cqnhq.js} +1 -1
- package/dist/chunks/{worktree-vqvr9k9x.js → credential-pf46waa6.js} +14 -14
- package/dist/chunks/{worktree-y2a0knnn.js → credential-pgvvr17p.js} +1 -1
- package/dist/chunks/{worktree-9nv5w25y.js → credential-pjswj2se.js} +11 -11
- package/dist/chunks/{worktree-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-b0beahbq.js → credential-pnh89ay0.js} +40 -40
- package/dist/chunks/{worktree-zkxpfaz2.js → credential-pp6tj5nn.js} +17 -17
- package/dist/chunks/{worktree-d13jd56m.js → credential-pq0hd913.js} +4 -4
- package/dist/chunks/{worktree-t7h80jfh.js → credential-pq1zgjhw.js} +7 -7
- package/dist/chunks/{worktree-fg9p65nk.js → credential-prq7xxp2.js} +6 -6
- package/dist/chunks/{worktree-x3t11r60.js → credential-pxbvf64t.js} +5 -5
- package/dist/chunks/{worktree-x38se2hj.js → credential-q1xyrh11.js} +13 -13
- package/dist/chunks/{worktree-r9t20rx0.js → credential-qh0sybr2.js} +27 -27
- package/dist/chunks/{worktree-ys5g4k4z.js → credential-qk70ddp3.js} +19 -19
- package/dist/chunks/{worktree-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-taa3rr0k.js → credential-qq9c9g32.js} +6 -6
- package/dist/chunks/{worktree-y6xdess4.js → credential-qzz1xg45.js} +34 -34
- package/dist/chunks/{worktree-hkf8spj2.js → credential-r17fbvme.js} +7 -7
- package/dist/chunks/{worktree-e0zepttq.js → credential-r17j3nh0.js} +18 -18
- package/dist/chunks/{worktree-f43yppe0.js → credential-r1q9g2m1.js} +53 -53
- package/dist/chunks/{worktree-2mmsr0r6.js → credential-ra3z9b2f.js} +3 -3
- package/dist/chunks/{worktree-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-tehj359t.js → credential-reebcp87.js} +15 -15
- package/dist/chunks/{worktree-rgc9cx3e.js → credential-rgc9cx3e.js} +2 -2
- package/dist/chunks/{worktree-vt2d6wap.js → credential-rj7j5fvs.js} +4 -4
- package/dist/chunks/{worktree-v5bqf2qj.js → credential-rjyjacaf.js} +13 -13
- package/dist/chunks/{worktree-0mtp185z.js → credential-rn6817b0.js} +9 -9
- package/dist/chunks/{worktree-bmyrrwdj.js → credential-rnjyc0x3.js} +17 -17
- package/dist/chunks/{worktree-5m55nvws.js → credential-rwfczecq.js} +54 -54
- package/dist/chunks/{worktree-s47rahr7.js → credential-s47rahr7.js} +1 -1
- package/dist/chunks/{worktree-p6a5srqb.js → credential-s516hjqf.js} +27 -27
- package/dist/chunks/{worktree-q6n1cnj5.js → credential-s640psbm.js} +11 -11
- package/dist/chunks/{worktree-w79nt68w.js → credential-s7kyse9r.js} +4 -4
- package/dist/chunks/{worktree-sbya78hr.js → credential-sbya78hr.js} +1 -1
- package/dist/chunks/{worktree-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-vjaeyxy8.js → credential-t5ngt2e6.js} +25 -25
- package/dist/chunks/{worktree-hw75bg93.js → credential-t7ns9v9m.js} +14 -14
- package/dist/chunks/{worktree-t8erkws8.js → credential-t8erkws8.js} +2 -2
- package/dist/chunks/{worktree-d7k99j55.js → credential-t8t4hh39.js} +2 -2
- package/dist/chunks/{worktree-v4bj6baw.js → credential-tb2mrvc9.js} +4 -4
- package/dist/chunks/{worktree-tbpn7jtk.js → credential-tbpn7jtk.js} +1 -1
- package/dist/chunks/{worktree-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-ejsjjq0z.js → credential-tfwrvc1b.js} +16 -16
- package/dist/chunks/{worktree-tg7s7b5t.js → credential-tg7s7b5t.js} +1 -1
- package/dist/chunks/{worktree-0a24q822.js → credential-tmekpwey.js} +15 -15
- package/dist/chunks/{worktree-tr8x705m.js → credential-tr8x705m.js} +1 -1
- package/dist/chunks/{worktree-kjpmgpdf.js → credential-tswdvt6j.js} +20 -20
- package/dist/chunks/{worktree-0fvxehme.js → credential-ttz31trp.js} +5 -5
- package/dist/chunks/{worktree-tvtps2q9.js → credential-tvtps2q9.js} +1 -1
- package/dist/chunks/{worktree-q1x3kagb.js → credential-tw9f37sx.js} +21 -21
- package/dist/chunks/{worktree-twssxy5n.js → credential-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-jbcrpda9.js → credential-tykbxjwp.js} +8 -8
- package/dist/chunks/{worktree-0a5a4072.js → credential-v0j23fj0.js} +8 -8
- package/dist/chunks/{worktree-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
- package/dist/chunks/credential-v5gjxnwy.js +35 -0
- package/dist/chunks/{worktree-awaktgrw.js → credential-v6062tn6.js} +31 -31
- package/dist/chunks/{worktree-ga69pc6y.js → credential-v6prs5bd.js} +4 -4
- package/dist/chunks/{worktree-y32ebd8a.js → credential-v6z75vyy.js} +7 -7
- package/dist/chunks/{worktree-46jzz2by.js → credential-vdmajd6q.js} +18 -18
- package/dist/chunks/{worktree-vjf35v1f.js → credential-vjf35v1f.js} +1 -1
- package/dist/chunks/{worktree-hj0xet7m.js → credential-vjhrddsw.js} +5 -5
- package/dist/chunks/{worktree-1xeavs09.js → credential-vstw9esd.js} +20 -20
- package/dist/chunks/{worktree-w2eysc6j.js → credential-w2eysc6j.js} +2 -2
- package/dist/chunks/{worktree-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-7nqkf5r1.js → credential-w4xw9ac5.js} +2 -2
- package/dist/chunks/{worktree-1yped5qa.js → credential-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-s2eam2g1.js → credential-w6nmzeby.js} +22 -22
- package/dist/chunks/{worktree-ktck1cjp.js → credential-w75qynz4.js} +6 -6
- package/dist/chunks/{worktree-axkdp7x4.js → credential-w99w1ysk.js} +5 -5
- package/dist/chunks/{worktree-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-wegkxhrn.js → credential-wegkxhrn.js} +2 -2
- package/dist/chunks/{worktree-xdcez2kt.js → credential-wq2zrtad.js} +3 -3
- package/dist/chunks/{worktree-gmsdxnbj.js → credential-x50jzt61.js} +51 -51
- package/dist/chunks/{worktree-2estw5xm.js → credential-x5fke988.js} +2 -2
- package/dist/chunks/{worktree-bstexjd6.js → credential-xd9cc171.js} +5 -5
- package/dist/chunks/{worktree-9qm47qae.js → credential-xvpaagpx.js} +10 -10
- package/dist/chunks/{worktree-37gjjf5g.js → credential-xwq0gncp.js} +84 -84
- package/dist/chunks/{worktree-xxschbft.js → credential-xxschbft.js} +1 -1
- package/dist/chunks/{worktree-8akjpyn6.js → credential-y1n277rb.js} +3 -3
- package/dist/chunks/{worktree-zsxvp00s.js → credential-y9x812en.js} +86 -86
- package/dist/chunks/{worktree-vq0qa3sh.js → credential-y9x9m3cp.js} +9 -9
- package/dist/chunks/{worktree-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-160yv0cs.js → credential-ykvsfm8k.js} +8 -8
- package/dist/chunks/{worktree-yr705xyq.js → credential-yr705xyq.js} +1 -1
- package/dist/chunks/{worktree-m9x82pg0.js → credential-ysbtdz6z.js} +26 -26
- package/dist/chunks/{worktree-yvtc2x31.js → credential-yvtc2x31.js} +1 -1
- package/dist/chunks/{worktree-9p0t0vzw.js → credential-ywgtvdty.js} +369 -369
- package/dist/chunks/{worktree-rygz02xs.js → credential-yx8xd4nc.js} +20 -20
- package/dist/chunks/{worktree-1xcpt731.js → credential-z0gmqx6j.js} +26 -26
- package/dist/chunks/{worktree-z0wbgq7s.js → credential-z0wbgq7s.js} +1 -1
- package/dist/chunks/{worktree-gw165p6e.js → credential-z658waa6.js} +19 -19
- package/dist/chunks/{worktree-j9nxzz3g.js → credential-ze75qvmd.js} +3 -3
- package/dist/chunks/{worktree-cjqsf6bw.js → credential-zesaewyn.js} +9 -9
- package/dist/chunks/{worktree-8dtpqrc9.js → credential-zg3a0ws0.js} +15 -15
- package/dist/chunks/{worktree-zm62ja19.js → credential-zh2sgnz7.js} +28 -28
- package/dist/chunks/{worktree-rr5nfxgj.js → credential-zv2g9xcb.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +129 -129
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +266 -266
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -249
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +100 -100
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +255 -255
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +245 -245
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/worktree-6b9epygf.js +0 -35
- package/dist/chunks/worktree-8623vytj.js +0 -273
- package/dist/chunks/worktree-grzehpz7.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kah00gy.js → credential-1kah00gy.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4qk9sjk2.js → credential-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6agm2x70.js → credential-6agm2x70.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-7rvsyqjv.js → credential-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9ceax7yg.js → credential-9ceax7yg.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-ade8csyh.js → credential-ade8csyh.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → credential-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-ean2d8b5.js → credential-ean2d8b5.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-nh4v3znn.js → credential-nh4v3znn.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-syrav9an.js → credential-syrav9an.js} +0 -0
- /package/dist/chunks/{worktree-t03h4f5z.js → credential-t03h4f5z.js} +0 -0
- /package/dist/chunks/{worktree-ty7weeps.js → credential-ty7weeps.js} +0 -0
- /package/dist/chunks/{worktree-v2dnd5dt.js → credential-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-vtarvj67.js → credential-vtarvj67.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x4th4bpe.js → credential-x4th4bpe.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → credential-z9919s4g.js} +0 -0
- /package/dist/chunks/{worktree-zxpyjp51.js → credential-zxpyjp51.js} +0 -0
- /package/dist/chunks/{worktree-zz5vv3aq.js → credential-zz5vv3aq.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./credential-x50jzt61.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./credential-jd64w3eg.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Event7,
|
|
10
|
+
ID8,
|
|
11
|
+
Info8,
|
|
12
12
|
ProviderID2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service28
|
|
14
|
+
} from "./credential-r1q9g2m1.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-tvtps2q9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin13,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -45,10 +45,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
var ReadToolInput2 = Schema.Struct({
|
|
48
|
-
id:
|
|
48
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to read." })
|
|
49
49
|
});
|
|
50
50
|
var UpdateToolInput2 = Schema.Struct({
|
|
51
|
-
id:
|
|
51
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
52
52
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
53
53
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
54
54
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -56,25 +56,25 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
56
56
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
57
57
|
});
|
|
58
58
|
var DeleteToolInput2 = Schema.Struct({
|
|
59
|
-
id:
|
|
59
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
60
60
|
});
|
|
61
61
|
var DeleteToolOutput = Schema.Struct({
|
|
62
|
-
id:
|
|
62
|
+
id: ID8,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin13 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const artifacts = yield*
|
|
68
|
+
const config = yield* Service72;
|
|
69
|
+
const artifacts = yield* Service28;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
72
72
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
73
73
|
yield* ctx.tool.reload();
|
|
74
74
|
});
|
|
75
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
76
|
-
yield* ctx.event.subscribe({ types: [
|
|
77
|
-
const flags = yield*
|
|
76
|
+
yield* ctx.event.subscribe({ types: [Event7.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
|
+
const flags = yield* Service70;
|
|
78
78
|
const enabled = () => flags.resolve(loaded.entries).artifacts.enabled;
|
|
79
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
80
80
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -84,7 +84,7 @@ var Plugin12 = {
|
|
|
84
84
|
name: "artifact_create",
|
|
85
85
|
description: promptSnapshot.text,
|
|
86
86
|
input: CreateToolInput2,
|
|
87
|
-
output:
|
|
87
|
+
output: Info8,
|
|
88
88
|
options: { namespace: "opencode", codemode: true },
|
|
89
89
|
execute: (input, context) => artifacts.create({
|
|
90
90
|
title: input.title,
|
|
@@ -112,7 +112,7 @@ var Plugin12 = {
|
|
|
112
112
|
name: "artifact_update",
|
|
113
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
114
114
|
input: UpdateToolInput2,
|
|
115
|
-
output:
|
|
115
|
+
output: Info8,
|
|
116
116
|
options: { namespace: "opencode", codemode: true },
|
|
117
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
118
118
|
title: input.title,
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin13, exports_artifact };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-6537r86n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event20
|
|
6
|
+
} from "./credential-fhbz4jre.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-azqdag7d.js";
|
|
10
10
|
import {
|
|
11
11
|
interval2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-6vwjxhgq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/refresh.ts
|
|
18
18
|
var exports_refresh = {};
|
|
@@ -20,13 +20,13 @@ __export(exports_refresh, {
|
|
|
20
20
|
ProviderRefresh: () => exports_refresh,
|
|
21
21
|
onSwitch: () => onSwitch2,
|
|
22
22
|
reloadIfChanged: () => reloadIfChanged2,
|
|
23
|
-
start: () =>
|
|
23
|
+
start: () => start3,
|
|
24
24
|
switched: () => switched2
|
|
25
25
|
});
|
|
26
26
|
import { Duration, Effect, Equal, Fiber, FiberHandle, Semaphore, Stream } from "effect";
|
|
27
27
|
var onSwitch2 = (integrationID, effect) => Effect.gen(function* () {
|
|
28
28
|
const bus = yield* Service93;
|
|
29
|
-
yield* bus.subscribe(
|
|
29
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
|
|
30
30
|
});
|
|
31
31
|
var reloadIfChanged2 = (load, reload) => load.pipe(Effect.flatMap((changed) => changed ? reload : Effect.void));
|
|
32
32
|
var switched2 = (load, apply) => Effect.gen(function* () {
|
|
@@ -34,7 +34,7 @@ var switched2 = (load, apply) => Effect.gen(function* () {
|
|
|
34
34
|
yield* load({ interval: Duration.infinity }).pipe(Effect.flatMap(apply));
|
|
35
35
|
yield* Fiber.join(fresh).pipe(Effect.flatMap(apply));
|
|
36
36
|
});
|
|
37
|
-
var
|
|
37
|
+
var start3 = Effect.fnUntraced(function* (input) {
|
|
38
38
|
const interval = input.interval ?? interval2;
|
|
39
39
|
const lock = Semaphore.makeUnsafe(1);
|
|
40
40
|
const loading = yield* FiberHandle.make();
|
|
@@ -55,4 +55,4 @@ var start4 = Effect.fnUntraced(function* (input) {
|
|
|
55
55
|
return state;
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
export { onSwitch2, reloadIfChanged2, switched2,
|
|
58
|
+
export { onSwitch2, reloadIfChanged2, switched2, start3, exports_refresh };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./credential-x50jzt61.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./credential-jd64w3eg.js";
|
|
10
10
|
import {
|
|
11
11
|
invocation2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./credential-1dr9rxn2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-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: () =>
|
|
23
|
-
Output: () =>
|
|
24
|
-
Plugin: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
|
+
Output: () => Output9,
|
|
24
|
+
Plugin: () => Plugin15,
|
|
25
25
|
TodoTool: () => exports_todo,
|
|
26
|
-
name: () =>
|
|
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
|
|
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
|
|
50
|
+
var Input11 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output9 = 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
|
|
67
|
+
var Plugin15 = {
|
|
68
68
|
id: "opencode.tool.todo",
|
|
69
69
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
70
|
-
const config = yield*
|
|
71
|
-
const permission = yield*
|
|
70
|
+
const config = yield* Service72;
|
|
71
|
+
const permission = yield* Service67;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
73
|
-
const flags = yield*
|
|
73
|
+
const flags = yield* Service70;
|
|
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:
|
|
79
|
+
name: name11,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: todowrite_default,
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input11,
|
|
83
|
+
output: Output9,
|
|
84
84
|
execute: (input, context) => permission.assert({
|
|
85
|
-
action:
|
|
85
|
+
action: name11,
|
|
86
86
|
resources: ["*"],
|
|
87
87
|
save: ["*"],
|
|
88
88
|
...invocation2(context)
|
|
@@ -96,4 +96,4 @@ var Plugin3 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { name11, Info2, Input11, Output9, summarize2, Plugin15, exports_todo };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node81
|
|
4
|
+
} from "./credential-tswdvt6j.js";
|
|
5
5
|
import {
|
|
6
6
|
invocation2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node68
|
|
9
|
+
} from "./credential-1dr9rxn2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service19,
|
|
12
|
+
node22
|
|
13
|
+
} from "./credential-bctkw1y7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service17,
|
|
16
16
|
readOptionalText2,
|
|
17
17
|
syncTextBom2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node20
|
|
19
|
+
} from "./credential-3ztt38fd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service20,
|
|
22
|
+
node23
|
|
23
|
+
} from "./credential-94nm4njz.js";
|
|
24
24
|
import {
|
|
25
25
|
fileDiff2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./credential-6prwharc.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./credential-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/file-write.ts
|
|
32
32
|
var exports_file_write = {};
|
|
33
33
|
__export(exports_file_write, {
|
|
34
34
|
FileWrite: () => exports_file_write,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service16,
|
|
36
|
+
node: () => node19
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Bom } from "@opencode/util/bom";
|
|
40
40
|
import { Context, Effect, Layer } from "effect";
|
|
41
|
-
class
|
|
41
|
+
class Service16 extends Context.Service()("@opencode/FileWrite") {
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const access = yield*
|
|
45
|
-
const environment = yield*
|
|
46
|
-
const fileMutation = yield*
|
|
47
|
-
const formatter = yield*
|
|
48
|
-
const permission = yield*
|
|
43
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
44
|
+
const access = yield* Service19;
|
|
45
|
+
const environment = yield* Service80;
|
|
46
|
+
const fileMutation = yield* Service17;
|
|
47
|
+
const formatter = yield* Service20;
|
|
48
|
+
const permission = yield* Service67;
|
|
49
49
|
const target = Effect.fn("FileWrite.target")(function* (file, context) {
|
|
50
50
|
const target = yield* access.resolve({ path: file, kind: "file" });
|
|
51
51
|
yield* access.authorizeExternal([target], context);
|
|
@@ -75,12 +75,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
75
75
|
yield* authorize(resolved, context, fileDiff2(resolved.resource, current?.text ?? "", Bom.split(input.content).text, current ? "modified" : "added"));
|
|
76
76
|
return yield* commit(resolved, input.content);
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service16.of({ target, authorize, commit, write });
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
81
|
-
service:
|
|
80
|
+
var node19 = makeLocationNode({
|
|
81
|
+
service: Service16,
|
|
82
82
|
layer,
|
|
83
|
-
deps: [
|
|
83
|
+
deps: [node81, node22, node20, node23, node68]
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service16, node19, exports_file_write };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./credential-tswdvt6j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/connection.ts
|
|
12
12
|
var exports_connection = {};
|
|
13
13
|
__export(exports_connection, {
|
|
14
14
|
McpConnection: () => exports_connection,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make25
|
|
16
16
|
});
|
|
17
17
|
import { Cause, Effect, Exit, Scope } from "effect";
|
|
18
18
|
import { FetchHttpClient } from "effect/http";
|
|
19
19
|
var endpointLoads = makeUnsafe2();
|
|
20
|
-
function
|
|
20
|
+
function make25(input) {
|
|
21
21
|
const state = {};
|
|
22
22
|
const whenLive = (client) => (effect) => input.callbacks(Effect.suspend(() => state.client === client ? effect : Effect.void).pipe(input.lock, Effect.ignore));
|
|
23
23
|
const refreshTools = (client) => client.tools().pipe(Effect.map((tools) => {
|
|
@@ -60,7 +60,7 @@ function make26(input) {
|
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared,
|
|
62
62
|
events: input.mcpEvents
|
|
63
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
63
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service80, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
64
64
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
65
65
|
yield* Scope.close(scope, Exit.void);
|
|
66
66
|
state.scope = undefined;
|
|
@@ -113,4 +113,4 @@ function make26(input) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export {
|
|
116
|
+
export { make25, exports_connection };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./credential-ep1m3t1v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./credential-x50jzt61.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./credential-tswdvt6j.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service67
|
|
23
|
+
} from "./credential-1dr9rxn2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service19
|
|
26
|
+
} from "./credential-bctkw1y7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service22
|
|
29
|
+
} from "./credential-0bv4xa50.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./credential-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service61
|
|
35
|
+
} from "./credential-zg3a0ws0.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./credential-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service29
|
|
41
|
+
} from "./credential-n2a04dsk.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./credential-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./credential-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input4,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output4,
|
|
56
|
+
Plugin: () => Plugin4,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
58
|
description: () => description2,
|
|
59
|
-
name: () =>
|
|
59
|
+
name: () => name4
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name4 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -84,7 +84,7 @@ var description2 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input4 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,25 +98,25 @@ var Input2 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output4 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin4 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service19;
|
|
110
|
+
const environment = yield* Service80;
|
|
111
|
+
const generate = yield* Service22;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service72;
|
|
115
|
+
const jobs = yield* Service61;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
119
|
-
const permission = yield*
|
|
117
|
+
const sessions = yield* Service29;
|
|
118
|
+
const models = yield* Service78;
|
|
119
|
+
const permission = yield* Service67;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -201,7 +201,7 @@ var Plugin2 = {
|
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name4, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin2 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name4,
|
|
224
224
|
options: { codemode: false },
|
|
225
225
|
description: description2,
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
226
|
+
input: Input4,
|
|
227
|
+
output: Output4,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin2 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name4,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name4,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, MAX_INPUT_BYTES2, description2, Input4, Output4, Plugin4, defaultModel2, exports_image_generate };
|