@opencode/core 0.0.0-dev-1113 → 0.0.0-dev-1126
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +249 -249
- package/dist/bus.js +84 -84
- package/dist/chunks/{event-logger-21z5cqvx.js → console-access-016qw9c5.js} +5 -5
- package/dist/chunks/{event-logger-9h900fbv.js → console-access-03ktjqgw.js} +31 -31
- package/dist/chunks/{event-logger-4vzr2b15.js → console-access-04qc8z7j.js} +3 -3
- package/dist/chunks/{event-logger-kkcr90y5.js → console-access-05dbvsne.js} +43 -43
- package/dist/chunks/{event-logger-bf5nea6e.js → console-access-07sysp34.js} +9 -9
- package/dist/chunks/{event-logger-navtns2p.js → console-access-0dmgdz9r.js} +4 -4
- package/dist/chunks/{event-logger-h17gwerx.js → console-access-0e67e1t6.js} +11 -11
- package/dist/chunks/{event-logger-pv8fd74w.js → console-access-0hxcpwt2.js} +6 -6
- package/dist/chunks/{event-logger-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{event-logger-48jhdcm9.js → console-access-0rfge6zv.js} +59 -59
- package/dist/chunks/{event-logger-vvgwz3r3.js → console-access-12gpnb3q.js} +44 -44
- package/dist/chunks/{event-logger-09r3yeam.js → console-access-1351nr0e.js} +3 -3
- package/dist/chunks/{event-logger-hdqh66q4.js → console-access-145jh0dz.js} +45 -45
- package/dist/chunks/console-access-145rv6ez.js +18 -0
- package/dist/chunks/{event-logger-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{event-logger-qzejd7f7.js → console-access-1hvdxct0.js} +4 -4
- package/dist/chunks/{event-logger-fck9h0f5.js → console-access-1j62qemv.js} +16 -16
- package/dist/chunks/{event-logger-brzs5sbk.js → console-access-1je62nqx.js} +5 -5
- package/dist/chunks/{event-logger-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-1yq9hg58.js → console-access-1yq9hg58.js} +1 -1
- package/dist/chunks/{event-logger-229tvxdn.js → console-access-229tvxdn.js} +1 -1
- package/dist/chunks/{event-logger-t6m1f1nr.js → console-access-22azp77r.js} +7 -7
- package/dist/chunks/{event-logger-8b3vzgkx.js → console-access-25h84942.js} +4 -4
- package/dist/chunks/{event-logger-84xc7tef.js → console-access-26fn9xjv.js} +8 -8
- package/dist/chunks/{event-logger-1ep2p91f.js → console-access-27w5k9zf.js} +2 -2
- package/dist/chunks/{event-logger-mbae72nx.js → console-access-2f7q2xs5.js} +30 -30
- package/dist/chunks/{event-logger-2fc7eemy.js → console-access-2fc7eemy.js} +1 -1
- package/dist/chunks/{event-logger-nv2c5e9q.js → console-access-2n444ktb.js} +3 -3
- package/dist/chunks/{event-logger-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
- package/dist/chunks/{event-logger-t2t84wnr.js → console-access-2s5g9t6w.js} +6 -6
- package/dist/chunks/{event-logger-fnrdyy28.js → console-access-2ypwe4rv.js} +13 -13
- package/dist/chunks/{event-logger-ykwqc35q.js → console-access-2z5pfyrb.js} +35 -35
- package/dist/chunks/{event-logger-71whxrms.js → console-access-31n4pkqx.js} +3 -3
- package/dist/chunks/{event-logger-hmt0aq1n.js → console-access-327kchex.js} +9 -9
- package/dist/chunks/{event-logger-pzstew35.js → console-access-39xyskhj.js} +29 -29
- package/dist/chunks/{event-logger-c09y0a8j.js → console-access-3abk0zea.js} +11 -11
- package/dist/chunks/{event-logger-3adw4bt5.js → console-access-3adw4bt5.js} +2 -2
- package/dist/chunks/{event-logger-8tnyp6pb.js → console-access-3bgf9gas.js} +4 -4
- package/dist/chunks/{event-logger-ayjs7tqn.js → console-access-3cbjf1nt.js} +2 -2
- package/dist/chunks/{event-logger-srtkqavm.js → console-access-3e2dypxx.js} +16 -16
- package/dist/chunks/{event-logger-7r2bnw1k.js → console-access-3f8gah40.js} +23 -23
- package/dist/chunks/{event-logger-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-rxzae9a0.js → console-access-3mz4bjd8.js} +18 -18
- package/dist/chunks/{event-logger-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-wk6b9ypq.js → console-access-3w55ezbs.js} +21 -21
- package/dist/chunks/{event-logger-ebm59rwb.js → console-access-3zhtz7zv.js} +21 -21
- package/dist/chunks/{event-logger-1a61z5p9.js → console-access-40nfq217.js} +18 -18
- package/dist/chunks/{event-logger-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{event-logger-pc2z5rmg.js → console-access-435gy1tb.js} +6 -6
- package/dist/chunks/{event-logger-p9bdt98v.js → console-access-44hmkskf.js} +9 -9
- package/dist/chunks/{event-logger-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
- package/dist/chunks/{event-logger-5rc0mw2y.js → console-access-46g5cwr6.js} +93 -93
- package/dist/chunks/{event-logger-1sxb3psr.js → console-access-478jw1m7.js} +12 -12
- package/dist/chunks/{event-logger-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{event-logger-4f25tdd0.js → console-access-4f25tdd0.js} +1 -1
- package/dist/chunks/{event-logger-n1vb7ty0.js → console-access-4jptyz6y.js} +28 -28
- package/dist/chunks/{event-logger-jr6xaaj3.js → console-access-4jqhq68j.js} +3 -3
- package/dist/chunks/{event-logger-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{event-logger-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-r2a0a4bw.js → console-access-4wrw35nf.js} +9 -9
- package/dist/chunks/{event-logger-cm0nas3h.js → console-access-4xz8p7j7.js} +5 -5
- package/dist/chunks/{event-logger-69azy48j.js → console-access-54jthg9b.js} +10 -10
- package/dist/chunks/{event-logger-5azf7efg.js → console-access-5azf7efg.js} +3 -3
- package/dist/chunks/{event-logger-k9hrc3vn.js → console-access-5bdhbfnv.js} +22 -22
- package/dist/chunks/{event-logger-nvcdrhhs.js → console-access-5ev4kdyd.js} +10 -10
- package/dist/chunks/{event-logger-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-1qqw3m6b.js → console-access-5mctbva8.js} +4 -4
- package/dist/chunks/{event-logger-74tyjh6e.js → console-access-5v57y532.js} +22 -22
- package/dist/chunks/{event-logger-sxg3hyg4.js → console-access-5zbv1n35.js} +3 -3
- package/dist/chunks/{event-logger-3nwc4br8.js → console-access-63zbe581.js} +9 -9
- package/dist/chunks/{event-logger-66fdrqh3.js → console-access-66fdrqh3.js} +2 -2
- package/dist/chunks/{event-logger-py55jhgs.js → console-access-68kxwn1j.js} +3 -3
- package/dist/chunks/{event-logger-dg3a8dxd.js → console-access-69977w2a.js} +9 -9
- package/dist/chunks/{event-logger-t2pwp6ga.js → console-access-69t06asz.js} +3 -3
- package/dist/chunks/{event-logger-6edbc7zm.js → console-access-6edbc7zm.js} +2 -2
- package/dist/chunks/{event-logger-31avdb49.js → console-access-6f6jm3cp.js} +5 -5
- package/dist/chunks/{event-logger-gn1mqypz.js → console-access-6fq11get.js} +3 -3
- package/dist/chunks/{event-logger-2tb60655.js → console-access-6rra74mh.js} +11 -11
- package/dist/chunks/{event-logger-vsy95w6y.js → console-access-6trn8gdk.js} +12 -12
- package/dist/chunks/{event-logger-yk6vrpjv.js → console-access-700fkdfk.js} +9 -9
- package/dist/chunks/{event-logger-yzmveq4t.js → console-access-70p2rqfj.js} +4 -4
- package/dist/chunks/{event-logger-ebwb1pjw.js → console-access-7a2pan0c.js} +30 -30
- package/dist/chunks/{event-logger-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-dsckms85.js → console-access-7v3bxnq8.js} +24 -24
- package/dist/chunks/{event-logger-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{event-logger-52yw03dq.js → console-access-7zst3jdz.js} +40 -40
- package/dist/chunks/{event-logger-80mg3ag8.js → console-access-80mg3ag8.js} +3 -3
- package/dist/chunks/{event-logger-80pdk984.js → console-access-80pdk984.js} +1 -1
- package/dist/chunks/{event-logger-pmzch7m4.js → console-access-818cphj9.js} +37 -37
- package/dist/chunks/{event-logger-85jq8dht.js → console-access-85jq8dht.js} +1 -1
- package/dist/chunks/{event-logger-scn5v30h.js → console-access-8bgnr0we.js} +9 -9
- package/dist/chunks/{event-logger-8ctrpnmd.js → console-access-8ctrpnmd.js} +3 -3
- package/dist/chunks/{event-logger-6sxxeane.js → console-access-8dcx9jfj.js} +11 -11
- package/dist/chunks/{event-logger-xe1tkw14.js → console-access-8wqpz5wk.js} +7 -7
- package/dist/chunks/{event-logger-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-62pdvj00.js → console-access-8z5rk5rm.js} +5 -5
- package/dist/chunks/{event-logger-mb7mbhnz.js → console-access-8z6m94af.js} +3 -3
- package/dist/chunks/{event-logger-8zv0xmg5.js → console-access-8zv0xmg5.js} +1 -1
- package/dist/chunks/{event-logger-2xke8qjh.js → console-access-91c00znj.js} +6 -6
- package/dist/chunks/{event-logger-963hk181.js → console-access-963hk181.js} +2 -2
- package/dist/chunks/{event-logger-e08yd50f.js → console-access-97hrk100.js} +14 -14
- package/dist/chunks/{event-logger-5xqbc9ax.js → console-access-9gtr84y2.js} +15 -15
- package/dist/chunks/{event-logger-v5hpj9dd.js → console-access-9kg5w032.js} +8 -8
- package/dist/chunks/{event-logger-3v50s0nm.js → console-access-9tvpxs1q.js} +4 -4
- package/dist/chunks/{event-logger-t13a1kza.js → console-access-a0s6r7wt.js} +10 -10
- package/dist/chunks/{event-logger-dpvbae88.js → console-access-a2dkjyq5.js} +30 -30
- package/dist/chunks/{event-logger-hretfjjx.js → console-access-a3fn0gmm.js} +2 -2
- package/dist/chunks/{event-logger-jve8yzs5.js → console-access-a3gzgt68.js} +16 -16
- package/dist/chunks/{event-logger-wy0eemkf.js → console-access-a8p6aj20.js} +43 -43
- package/dist/chunks/{event-logger-nxx92j0m.js → console-access-ad6zqy0v.js} +5 -5
- package/dist/chunks/{event-logger-gnffb83q.js → console-access-af7qvbnj.js} +27 -27
- package/dist/chunks/{event-logger-agje4kmn.js → console-access-agje4kmn.js} +1 -1
- package/dist/chunks/{event-logger-hab30nez.js → console-access-ahh6fjzm.js} +30 -30
- package/dist/chunks/{event-logger-tyz1xxgg.js → console-access-aj3nfnth.js} +8 -8
- package/dist/chunks/{event-logger-034tev2y.js → console-access-aj7mw0zk.js} +2 -2
- package/dist/chunks/{event-logger-wrxtv31x.js → console-access-ajxfcbbm.js} +10 -10
- package/dist/chunks/{event-logger-b69bmpdt.js → console-access-av78dz5z.js} +7 -7
- package/dist/chunks/{event-logger-s4kyhetj.js → console-access-b09zhmpv.js} +6 -6
- package/dist/chunks/{event-logger-b26ddj6h.js → console-access-b26ddj6h.js} +4 -4
- package/dist/chunks/{event-logger-8wk0dbzx.js → console-access-b34wt9qr.js} +25 -25
- package/dist/chunks/{event-logger-8sxe6kv8.js → console-access-bb3mmwvh.js} +2 -2
- package/dist/chunks/{event-logger-hrpg1pdd.js → console-access-bfjeeya9.js} +5 -5
- package/dist/chunks/{event-logger-18fzkjp1.js → console-access-bhffp7ar.js} +26 -26
- package/dist/chunks/{event-logger-bstexjd6.js → console-access-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-kctgyte9.js → console-access-btad6fdg.js} +19 -19
- package/dist/chunks/{event-logger-by8ty0bx.js → console-access-by8ty0bx.js} +1 -1
- package/dist/chunks/{event-logger-g2g3q0mz.js → console-access-c3rxt9mg.js} +12 -12
- package/dist/chunks/{event-logger-c7cw818c.js → console-access-c7cw818c.js} +2 -2
- package/dist/chunks/{event-logger-a4h6pxrn.js → console-access-cdpg6eew.js} +8 -8
- package/dist/chunks/{event-logger-mrrgnjks.js → console-access-cpq32mrd.js} +8 -8
- package/dist/chunks/{event-logger-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{event-logger-mwwjbs9t.js → console-access-cxbx7zf0.js} +9 -9
- package/dist/chunks/{event-logger-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-6kj37xtx.js → console-access-d8jrfj17.js} +2 -2
- package/dist/chunks/{event-logger-hee88gg0.js → console-access-dc5bdqkv.js} +11 -11
- package/dist/chunks/{event-logger-s1p4kfq2.js → console-access-dfp3y6d2.js} +12 -12
- package/dist/chunks/{event-logger-9fyhps97.js → console-access-dk3vq3c0.js} +16 -16
- package/dist/chunks/{event-logger-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{event-logger-5gt6xxh0.js → console-access-dxjjehhs.js} +21 -21
- package/dist/chunks/{event-logger-dpjqk3bp.js → console-access-dy74atx8.js} +12 -12
- package/dist/chunks/{event-logger-vza0xppb.js → console-access-e1kfce1z.js} +12 -12
- package/dist/chunks/{event-logger-0m5d6w73.js → console-access-ejgeqqx1.js} +8 -8
- package/dist/chunks/{event-logger-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{event-logger-kgfhs1vx.js → console-access-ernk41n0.js} +26 -26
- package/dist/chunks/{event-logger-1gs5shqp.js → console-access-evc0sp78.js} +28 -28
- package/dist/chunks/{event-logger-se87a3zb.js → console-access-exn36q76.js} +8 -8
- package/dist/chunks/{event-logger-by419q6p.js → console-access-ey1q4t6p.js} +2 -2
- package/dist/chunks/{event-logger-axb3jxxx.js → console-access-ez2vjmkd.js} +7 -7
- package/dist/chunks/{event-logger-esrbs7gn.js → console-access-ezve4deb.js} +9 -9
- package/dist/chunks/{event-logger-9ak383kn.js → console-access-f88gwvks.js} +332 -332
- package/dist/chunks/{event-logger-g7f5ghnr.js → console-access-fbf0pjvh.js} +3 -3
- package/dist/chunks/{event-logger-fdhgp1py.js → console-access-fdhgp1py.js} +3 -3
- package/dist/chunks/{event-logger-4tbkx5db.js → console-access-fnb7tsjp.js} +9 -9
- package/dist/chunks/{event-logger-7c0reg91.js → console-access-fpkg144f.js} +17 -17
- package/dist/chunks/{event-logger-xrphqft4.js → console-access-fqg2m573.js} +6 -6
- package/dist/chunks/{event-logger-smyjd7yt.js → console-access-frhz8x30.js} +4 -4
- package/dist/chunks/{event-logger-qxmvncaw.js → console-access-ftqt7vt3.js} +2 -2
- package/dist/chunks/{event-logger-4deandmx.js → console-access-ftynw918.js} +5 -5
- package/dist/chunks/{event-logger-k2xab646.js → console-access-fv6qyfge.js} +32 -32
- package/dist/chunks/{event-logger-53p9an57.js → console-access-fvsgbxx2.js} +5 -5
- package/dist/chunks/{event-logger-ah042x70.js → console-access-g1zjzx8j.js} +7 -7
- package/dist/chunks/{event-logger-catexwd9.js → console-access-g374vjhm.js} +13 -13
- package/dist/chunks/{event-logger-0y6t6xp0.js → console-access-g3qr791c.js} +28 -28
- package/dist/chunks/{event-logger-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{event-logger-ghrv1g9c.js → console-access-ghrv1g9c.js} +1 -1
- package/dist/chunks/{event-logger-93dx00nb.js → console-access-gjb66y7t.js} +10 -10
- package/dist/chunks/{event-logger-2zf2xpqt.js → console-access-gjsh233h.js} +23 -23
- package/dist/chunks/{event-logger-zx9394z8.js → console-access-gp5gmen1.js} +20 -20
- package/dist/chunks/{event-logger-x3xxqp17.js → console-access-gqbyke6q.js} +54 -54
- package/dist/chunks/{event-logger-sepvmzyq.js → console-access-gtq409gb.js} +47 -47
- package/dist/chunks/{event-logger-gdjvy95e.js → console-access-gxpy42vf.js} +1 -1
- package/dist/chunks/console-access-hb0pk4qb.js +273 -0
- package/dist/chunks/{event-logger-7am2es19.js → console-access-hc4x0xtb.js} +12 -12
- package/dist/chunks/{event-logger-qz34r0te.js → console-access-heaknw37.js} +8 -8
- package/dist/chunks/{event-logger-2abvv00g.js → console-access-hf71y4w1.js} +45 -45
- package/dist/chunks/{event-logger-hgzwgvze.js → console-access-hgzwgvze.js} +2 -2
- package/dist/chunks/{event-logger-znhaxcg6.js → console-access-hnktkp4a.js} +10 -10
- package/dist/chunks/{event-logger-nxfezg21.js → console-access-hpwqm92y.js} +36 -36
- package/dist/chunks/{event-logger-vy82c25s.js → console-access-hqw1sn6r.js} +38 -38
- package/dist/chunks/{event-logger-qf2rejye.js → console-access-htft8eqa.js} +6 -6
- package/dist/chunks/{event-logger-7597v4tt.js → console-access-hvnpgnn3.js} +17 -17
- package/dist/chunks/{event-logger-tbkej2pm.js → console-access-j3vvtn18.js} +33 -33
- package/dist/chunks/{event-logger-cx8zcgr7.js → console-access-j5w8ntyc.js} +16 -16
- package/dist/chunks/{event-logger-c33ds09z.js → console-access-j6pwh0dw.js} +22 -22
- package/dist/chunks/{event-logger-jgd4e8e6.js → console-access-jgd4e8e6.js} +1 -1
- package/dist/chunks/{event-logger-vmxsyvj6.js → console-access-jkdcm5hg.js} +4 -4
- package/dist/chunks/{event-logger-jm70asfg.js → console-access-jm70asfg.js} +1 -1
- package/dist/chunks/{event-logger-kkb7zeg6.js → console-access-jrpm8zaa.js} +8 -8
- package/dist/chunks/{event-logger-9zwexsxs.js → console-access-jv5ccajn.js} +5 -5
- package/dist/chunks/{event-logger-6kcr5ssk.js → console-access-jvdfzba2.js} +19 -19
- package/dist/chunks/{event-logger-xeptqpdz.js → console-access-k661rgny.js} +5 -5
- package/dist/chunks/{event-logger-hjqbpbr7.js → console-access-k77m49sa.js} +16 -16
- package/dist/chunks/{event-logger-mk4ry4zx.js → console-access-k9m9erg6.js} +11 -11
- package/dist/chunks/{event-logger-cv6amnmh.js → console-access-kj9n5bvh.js} +4 -4
- package/dist/chunks/{event-logger-5kp10me9.js → console-access-kknh0h5t.js} +5 -5
- package/dist/chunks/{event-logger-9vwegfqe.js → console-access-ks82pkxv.js} +31 -31
- package/dist/chunks/{event-logger-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{event-logger-xfja57t8.js → console-access-kzewrrv0.js} +9 -9
- package/dist/chunks/{event-logger-c0fe0nyt.js → console-access-kzkz6676.js} +4 -4
- package/dist/chunks/{event-logger-bf3ta493.js → console-access-m0qbf2np.js} +27 -27
- package/dist/chunks/{event-logger-nvct0p75.js → console-access-m12n9xkc.js} +11 -11
- package/dist/chunks/{event-logger-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/console-access-m1a893c4.js +26 -0
- package/dist/chunks/{event-logger-j89vgk1a.js → console-access-m6f92zzq.js} +1 -1
- package/dist/chunks/{event-logger-hzbj86qh.js → console-access-m6rt7d60.js} +30 -30
- package/dist/chunks/{event-logger-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-p9rtyaeb.js → console-access-mbt71hy1.js} +23 -23
- package/dist/chunks/{event-logger-xry6b927.js → console-access-mchqdswg.js} +19 -19
- package/dist/chunks/{event-logger-bdv8sqrq.js → console-access-me215f18.js} +1 -1
- package/dist/chunks/{event-logger-yfpk2rs8.js → console-access-mgrxab88.js} +22 -22
- package/dist/chunks/{event-logger-9p7wq7rp.js → console-access-mhezkrf9.js} +3 -3
- package/dist/chunks/{event-logger-mhs3my2j.js → console-access-mhs3my2j.js} +2 -2
- package/dist/chunks/{event-logger-g19nx061.js → console-access-mqfebq9k.js} +8 -8
- package/dist/chunks/{event-logger-msd2a3qm.js → console-access-msd2a3qm.js} +4 -4
- package/dist/chunks/{event-logger-n320gsn2.js → console-access-n320gsn2.js} +1 -1
- package/dist/chunks/{event-logger-s8qtxmzm.js → console-access-n3j33rb6.js} +6 -6
- package/dist/chunks/{event-logger-1eycap5a.js → console-access-n6nb2j18.js} +3 -3
- package/dist/chunks/{event-logger-z12eb397.js → console-access-nb781kea.js} +13 -13
- package/dist/chunks/{event-logger-wvabezmt.js → console-access-ngxew0f3.js} +83 -83
- package/dist/chunks/{event-logger-2mjpg0fh.js → console-access-nh28c849.js} +13 -13
- package/dist/chunks/{event-logger-qzxv1rpq.js → console-access-njsx36jc.js} +9 -9
- package/dist/chunks/{event-logger-nq1mg43n.js → console-access-nq1mg43n.js} +1 -1
- package/dist/chunks/{event-logger-yx7jjv83.js → console-access-nv9tsjma.js} +6 -6
- package/dist/chunks/{event-logger-cye1hsyt.js → console-access-nw6w45p3.js} +30 -30
- package/dist/chunks/{event-logger-wegkxhrn.js → console-access-nx4vzyjd.js} +2 -2
- package/dist/chunks/{event-logger-xxhqt9fy.js → console-access-nyephkv6.js} +12 -12
- package/dist/chunks/{event-logger-hrvwhqwx.js → console-access-nzthwq44.js} +14 -14
- package/dist/chunks/{event-logger-trz2ewrq.js → console-access-p3xymq4j.js} +23 -23
- package/dist/chunks/{event-logger-xdcpcrtr.js → console-access-p76me67c.js} +4 -4
- package/dist/chunks/{event-logger-2wwajzba.js → console-access-p8s1gd4s.js} +16 -16
- package/dist/chunks/{event-logger-a1tswj55.js → console-access-p93dxgte.js} +12 -12
- package/dist/chunks/{event-logger-1g59n4ke.js → console-access-pcqhjygz.js} +55 -55
- package/dist/chunks/{event-logger-cg7vt0tj.js → console-access-pewv95xk.js} +17 -17
- package/dist/chunks/{event-logger-1hpvdz46.js → console-access-pf7kx039.js} +36 -36
- package/dist/chunks/{event-logger-9vs0azc6.js → console-access-pfq0vz60.js} +1 -1
- package/dist/chunks/{event-logger-trr9tcht.js → console-access-pk967bv4.js} +133 -133
- package/dist/chunks/{event-logger-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-z9sd8dz0.js → console-access-pmdtw20k.js} +8 -8
- package/dist/chunks/{event-logger-6h22vkjj.js → console-access-pnysxsn1.js} +17 -17
- package/dist/chunks/{event-logger-fg9p65nk.js → console-access-prq7xxp2.js} +6 -6
- package/dist/chunks/{event-logger-ccs24sb1.js → console-access-pz30z7w0.js} +21 -21
- package/dist/chunks/{event-logger-tg2nrpwh.js → console-access-q114evkh.js} +12 -12
- package/dist/chunks/{event-logger-q42tzrxa.js → console-access-q42tzrxa.js} +1 -1
- package/dist/chunks/{event-logger-gprgc0ky.js → console-access-q7frhe9q.js} +11 -11
- package/dist/chunks/{event-logger-qc96arjj.js → console-access-qdx40m6v.js} +20 -20
- package/dist/chunks/{event-logger-6h8vcvjm.js → console-access-qh5g3qaw.js} +9 -9
- package/dist/chunks/{event-logger-e4xfbd9v.js → console-access-qmj5kb7j.js} +9 -9
- package/dist/chunks/{event-logger-2swc61r8.js → console-access-qn178psk.js} +11 -11
- package/dist/chunks/{event-logger-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{event-logger-9gtb18mh.js → console-access-qsgy58tk.js} +23 -23
- package/dist/chunks/{event-logger-jprkdsj1.js → console-access-qyfjn2hj.js} +2 -2
- package/dist/chunks/{event-logger-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-4negnnh9.js → console-access-rcptnvfg.js} +20 -20
- package/dist/chunks/{event-logger-rgc9cx3e.js → console-access-rgc9cx3e.js} +2 -2
- package/dist/chunks/{event-logger-cjbr99h3.js → console-access-rrwapx1k.js} +3 -3
- package/dist/chunks/{event-logger-j5e9v225.js → console-access-s0ad7dsm.js} +8 -8
- package/dist/chunks/{event-logger-ym2p62b8.js → console-access-s1f5jhyk.js} +16 -16
- package/dist/chunks/{event-logger-zg6kvcwy.js → console-access-s1j5vajh.js} +21 -21
- package/dist/chunks/{event-logger-5whx36p1.js → console-access-s47rahr7.js} +4 -4
- package/dist/chunks/{event-logger-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{event-logger-ppksk96r.js → console-access-skqr3ef8.js} +9 -9
- package/dist/chunks/{event-logger-0j7gp832.js → console-access-sqjzf8x2.js} +4 -4
- package/dist/chunks/{event-logger-bvzhsv1z.js → console-access-ssm7pgtt.js} +25 -25
- package/dist/chunks/{event-logger-1b1b2awz.js → console-access-sv7s7tsw.js} +7 -7
- package/dist/chunks/{event-logger-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{event-logger-phj3hdak.js → console-access-syz0tpbb.js} +11 -11
- package/dist/chunks/{event-logger-ee6s32g7.js → console-access-t11z612g.js} +15 -15
- package/dist/chunks/{event-logger-tbpn7jtk.js → console-access-tbpn7jtk.js} +1 -1
- package/dist/chunks/{event-logger-trvprh1b.js → console-access-tcrnav6y.js} +15 -15
- package/dist/chunks/{event-logger-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-gtq5kqdt.js → console-access-te075nf2.js} +25 -25
- package/dist/chunks/{event-logger-rrcsh98p.js → console-access-tearbbhv.js} +13 -13
- package/dist/chunks/{event-logger-wkhxkt7d.js → console-access-tf3hezvc.js} +33 -33
- package/dist/chunks/{event-logger-tg7s7b5t.js → console-access-tg7s7b5t.js} +1 -1
- package/dist/chunks/{event-logger-srns3bm7.js → console-access-tpga7phq.js} +4 -4
- package/dist/chunks/{event-logger-tr8x705m.js → console-access-tr8x705m.js} +1 -1
- package/dist/chunks/{event-logger-tvtps2q9.js → console-access-tvtps2q9.js} +1 -1
- package/dist/chunks/{event-logger-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{event-logger-y57z4ty1.js → console-access-txa287bv.js} +4 -4
- package/dist/chunks/{event-logger-2nbc4y74.js → console-access-txz9rewy.js} +22 -22
- package/dist/chunks/{event-logger-9rgr5dz2.js → console-access-tycv7n3a.js} +6 -6
- package/dist/chunks/{event-logger-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-1405v0ft.js → console-access-v7myxbq2.js} +3 -3
- package/dist/chunks/{event-logger-czva0sbq.js → console-access-v9x3g7mt.js} +3 -3
- package/dist/chunks/{event-logger-cv4f6p3s.js → console-access-vb4j4pxq.js} +35 -35
- package/dist/chunks/{event-logger-k8dmzv23.js → console-access-vd2hy105.js} +2 -2
- package/dist/chunks/{event-logger-mm9k1f5d.js → console-access-vegy9rbt.js} +33 -33
- package/dist/chunks/{event-logger-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{event-logger-1wwn04ne.js → console-access-w1vfdhmh.js} +4 -4
- package/dist/chunks/{event-logger-w2eysc6j.js → console-access-w2eysc6j.js} +2 -2
- package/dist/chunks/{event-logger-pkh610ny.js → console-access-w2ym4xxz.js} +15 -15
- package/dist/chunks/{event-logger-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-w4xw9ac5.js → console-access-w4xw9ac5.js} +2 -2
- package/dist/chunks/{event-logger-rqzcywgp.js → console-access-w6vn3rjm.js} +17 -17
- package/dist/chunks/{event-logger-v0t96s7a.js → console-access-w79nt68w.js} +4 -4
- package/dist/chunks/{event-logger-gqm2znwx.js → console-access-w8bxj784.js} +13 -13
- package/dist/chunks/{event-logger-j7qckhxk.js → console-access-w9bhmwnd.js} +31 -31
- package/dist/chunks/{event-logger-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-9abc2hvj.js → console-access-wat1f99y.js} +2 -2
- package/dist/chunks/{event-logger-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-1fjzrn8a.js → console-access-wfdx5ztx.js} +4 -4
- package/dist/chunks/{event-logger-rbjr7pjh.js → console-access-wp3gwd43.js} +11 -11
- package/dist/chunks/{event-logger-wr3re1en.js → console-access-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-3djr6w5h.js → console-access-wtys11e1.js} +37 -37
- package/dist/chunks/{event-logger-pk1r23xg.js → console-access-wvtzz06b.js} +6 -6
- package/dist/chunks/{event-logger-xs3mct42.js → console-access-wyas8mex.js} +33 -33
- package/dist/chunks/{event-logger-8eabsqma.js → console-access-x28ajtxe.js} +19 -19
- package/dist/chunks/{event-logger-nxa9bacs.js → console-access-x5taj672.js} +18 -18
- package/dist/chunks/{event-logger-17g4yjgf.js → console-access-x64nxesj.js} +14 -14
- package/dist/chunks/{event-logger-xacrkbdt.js → console-access-xacrkbdt.js} +1 -1
- package/dist/chunks/{event-logger-jpyh1hye.js → console-access-xc0zwvrt.js} +6 -6
- package/dist/chunks/{event-logger-0n720z3p.js → console-access-xjk1b0d0.js} +5 -5
- package/dist/chunks/{event-logger-204pt6zy.js → console-access-xjspp0nm.js} +18 -18
- package/dist/chunks/{event-logger-nqapd17g.js → console-access-xksyjy3w.js} +10 -10
- package/dist/chunks/{event-logger-cpvd08na.js → console-access-xmx7xj34.js} +4 -4
- package/dist/chunks/{event-logger-nve6e534.js → console-access-xp4xtpmf.js} +1 -1
- package/dist/chunks/{event-logger-9a4z6g6v.js → console-access-xthwf30d.js} +20 -20
- package/dist/chunks/{event-logger-e309devy.js → console-access-xxdprspw.js} +6 -6
- package/dist/chunks/{event-logger-xxschbft.js → console-access-xxschbft.js} +1 -1
- package/dist/chunks/{event-logger-sbfaben9.js → console-access-xzhs6mgn.js} +9 -9
- package/dist/chunks/{event-logger-vm8c1d8g.js → console-access-y2n4a3qg.js} +18 -18
- package/dist/chunks/{event-logger-9qnbq3vx.js → console-access-y6tapfg7.js} +37 -37
- package/dist/chunks/{event-logger-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-7nb8tm12.js → console-access-ynzdgah7.js} +5 -5
- package/dist/chunks/{event-logger-qgpgzdea.js → console-access-yqnmpmgy.js} +9 -9
- package/dist/chunks/{event-logger-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{event-logger-23e53c96.js → console-access-yryfg5wr.js} +4 -4
- package/dist/chunks/{event-logger-236v01y4.js → console-access-ysm1ew58.js} +17 -17
- package/dist/chunks/{event-logger-yts2a8qm.js → console-access-yts2a8qm.js} +1 -1
- package/dist/chunks/{event-logger-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/{event-logger-12ty16e5.js → console-access-z46n0fxw.js} +2 -2
- package/dist/chunks/{event-logger-yyn6663f.js → console-access-z4gjsd04.js} +7 -7
- package/dist/chunks/{event-logger-7r8fsv9c.js → console-access-z6g4szpb.js} +8 -8
- package/dist/chunks/{event-logger-ze75qvmd.js → console-access-ze75qvmd.js} +3 -3
- package/dist/chunks/{event-logger-vnyym5w5.js → console-access-zeyczbcm.js} +17 -17
- package/dist/chunks/{event-logger-bvb1sd0r.js → console-access-znv913nb.js} +9 -9
- package/dist/chunks/{event-logger-by9evpeq.js → console-access-zshnqxfx.js} +83 -83
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +239 -239
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +101 -101
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +160 -160
- 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 +252 -252
- 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 +3 -3
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +131 -131
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +104 -104
- package/dist/image/notice.js +3 -3
- 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 +432 -432
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job/list.js +7 -7
- 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 +80 -80
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- 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 +99 -99
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -245
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +147 -147
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +1 -1
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +2 -2
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- 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 +104 -104
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +5 -5
- package/dist/plugin.js +254 -254
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +258 -258
- 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 +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +255 -255
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +205 -205
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +114 -114
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- package/dist/session/usage.js +1 -1
- package/dist/session.js +244 -244
- 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 +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +106 -106
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +237 -237
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +248 -248
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -256
- package/dist/tool/plugin/shell.js +242 -242
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +241 -241
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- 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 +161 -161
- package/dist/usage-limits.js +96 -96
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/event-logger-atydkx9v.js +0 -26
- package/dist/chunks/event-logger-mmv9rrab.js +0 -273
- package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
- /package/dist/chunks/{event-logger-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{event-logger-bhmrqjy3.js → console-access-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{event-logger-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{event-logger-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x4th4bpe.js → console-access-x4th4bpe.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z0h12gs8.js → console-access-z0h12gs8.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → console-access-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zxpyjp51.js → console-access-zxpyjp51.js} +0 -0
- /package/dist/chunks/{event-logger-zz5vv3aq.js → console-access-zz5vv3aq.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node82
|
|
4
|
+
} from "./console-access-hnktkp4a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service92,
|
|
7
|
+
node94
|
|
8
|
+
} from "./console-access-j5w8ntyc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service70,
|
|
12
|
+
node71
|
|
13
|
+
} from "./console-access-5v57y532.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID19,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-j3vvtn18.js";
|
|
18
18
|
import {
|
|
19
19
|
AbsolutePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./console-access-z5v4ffb3.js";
|
|
21
21
|
import {
|
|
22
22
|
Info30,
|
|
23
23
|
Ref5,
|
|
24
24
|
Service90,
|
|
25
25
|
node92
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./console-access-wat1f99y.js";
|
|
27
27
|
import {
|
|
28
28
|
ID18,
|
|
29
29
|
MethodID2,
|
|
@@ -31,113 +31,113 @@ import {
|
|
|
31
31
|
Method2,
|
|
32
32
|
Service87,
|
|
33
33
|
node89
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./console-access-nh28c849.js";
|
|
35
35
|
import {
|
|
36
36
|
ID17,
|
|
37
37
|
Service86,
|
|
38
38
|
node88
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./console-access-xksyjy3w.js";
|
|
40
40
|
import {
|
|
41
41
|
ID16,
|
|
42
42
|
Service85,
|
|
43
43
|
node87
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./console-access-yqnmpmgy.js";
|
|
45
45
|
import {
|
|
46
46
|
Service84,
|
|
47
47
|
node86
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./console-access-ez2vjmkd.js";
|
|
49
49
|
import {
|
|
50
50
|
Key2,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service34,
|
|
52
|
+
node38
|
|
53
|
+
} from "./console-access-a3gzgt68.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service75,
|
|
56
|
+
node76
|
|
57
|
+
} from "./console-access-z6g4szpb.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service67,
|
|
60
|
+
node68
|
|
61
|
+
} from "./console-access-145jh0dz.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service61,
|
|
64
|
+
node62
|
|
65
|
+
} from "./console-access-54jthg9b.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
} from "./
|
|
67
|
+
ID15
|
|
68
|
+
} from "./console-access-ks82pkxv.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service43,
|
|
71
|
+
node47
|
|
72
|
+
} from "./console-access-pcqhjygz.js";
|
|
73
73
|
import {
|
|
74
74
|
Service53,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
node55,
|
|
76
|
+
Error2
|
|
77
|
+
} from "./console-access-af7qvbnj.js";
|
|
78
78
|
import {
|
|
79
79
|
Source3,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
80
|
+
Service56,
|
|
81
|
+
node57
|
|
82
|
+
} from "./console-access-gjsh233h.js";
|
|
83
83
|
import {
|
|
84
84
|
Info13,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service60,
|
|
86
|
+
node61
|
|
87
|
+
} from "./console-access-gp5gmen1.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
} from "./
|
|
89
|
+
Service63,
|
|
90
|
+
node64
|
|
91
|
+
} from "./console-access-b34wt9qr.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service66,
|
|
94
|
+
node67
|
|
95
|
+
} from "./console-access-skqr3ef8.js";
|
|
96
96
|
import {
|
|
97
|
+
Service31,
|
|
98
|
+
node34
|
|
99
|
+
} from "./console-access-46g5cwr6.js";
|
|
100
|
+
import {
|
|
101
|
+
ProviderID2,
|
|
97
102
|
Service24,
|
|
98
103
|
node27
|
|
99
|
-
} from "./
|
|
104
|
+
} from "./console-access-12gpnb3q.js";
|
|
100
105
|
import {
|
|
101
|
-
ProviderID2,
|
|
102
106
|
Service23,
|
|
103
107
|
node26
|
|
104
|
-
} from "./
|
|
105
|
-
import {
|
|
106
|
-
Service51,
|
|
107
|
-
node54
|
|
108
|
-
} from "./event-logger-0y6t6xp0.js";
|
|
108
|
+
} from "./console-access-g3qr791c.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
Service28,
|
|
111
|
+
node31,
|
|
112
112
|
eventDefinition2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./console-access-nzthwq44.js";
|
|
114
114
|
import {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
} from "./
|
|
115
|
+
Service30,
|
|
116
|
+
node33
|
|
117
|
+
} from "./console-access-pz30z7w0.js";
|
|
118
118
|
import {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
119
|
+
ID6,
|
|
120
|
+
Service19,
|
|
121
|
+
node22
|
|
122
|
+
} from "./console-access-vegy9rbt.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service22,
|
|
125
|
+
node25
|
|
126
|
+
} from "./console-access-dk3vq3c0.js";
|
|
127
127
|
import {
|
|
128
128
|
StrategyID2,
|
|
129
|
-
|
|
129
|
+
Info6,
|
|
130
130
|
ListEntry2,
|
|
131
|
-
Service19,
|
|
132
|
-
node22
|
|
133
|
-
} from "./event-logger-1hpvdz46.js";
|
|
134
|
-
import {
|
|
135
131
|
Service21,
|
|
136
132
|
node24
|
|
137
|
-
} from "./
|
|
133
|
+
} from "./console-access-pf7kx039.js";
|
|
134
|
+
import {
|
|
135
|
+
Service20,
|
|
136
|
+
node23
|
|
137
|
+
} from "./console-access-2f7q2xs5.js";
|
|
138
138
|
import {
|
|
139
139
|
__export
|
|
140
|
-
} from "./
|
|
140
|
+
} from "./console-access-9rqn6x4v.js";
|
|
141
141
|
|
|
142
142
|
// src/plugin/host.ts
|
|
143
143
|
var exports_host = {};
|
|
@@ -156,34 +156,34 @@ var isRpcType = (type) => type.startsWith("rpc.");
|
|
|
156
156
|
var isRpcEvent = (event) => isRpcType(event.type);
|
|
157
157
|
var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
|
|
158
158
|
var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
159
|
-
const app = yield*
|
|
160
|
-
const agents = yield*
|
|
161
|
-
const artifacts = yield*
|
|
162
|
-
const aisdk = yield*
|
|
159
|
+
const app = yield* Service80;
|
|
160
|
+
const agents = yield* Service70;
|
|
161
|
+
const artifacts = yield* Service24;
|
|
162
|
+
const aisdk = yield* Service61;
|
|
163
163
|
const providers = yield* Service86;
|
|
164
164
|
const models = yield* Service85;
|
|
165
|
-
const commands = yield*
|
|
166
|
-
const bus = yield*
|
|
165
|
+
const commands = yield* Service63;
|
|
166
|
+
const bus = yield* Service92;
|
|
167
167
|
const integration = yield* Service87;
|
|
168
168
|
const kv = yield* Service84;
|
|
169
|
-
const mcp = yield*
|
|
169
|
+
const mcp = yield* Service43;
|
|
170
170
|
const location = yield* Service90;
|
|
171
|
-
const reference = yield*
|
|
172
|
-
const rpc = yield*
|
|
173
|
-
const skill = yield*
|
|
171
|
+
const reference = yield* Service56;
|
|
172
|
+
const rpc = yield* Service28;
|
|
173
|
+
const skill = yield* Service60;
|
|
174
174
|
const tools = yield* Service53;
|
|
175
|
-
const vcs = yield*
|
|
176
|
-
const websearch = yield*
|
|
177
|
-
const generate = yield*
|
|
175
|
+
const vcs = yield* Service30;
|
|
176
|
+
const websearch = yield* Service19;
|
|
177
|
+
const generate = yield* Service20;
|
|
178
178
|
const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
|
|
179
|
-
const permission = yield*
|
|
180
|
-
const hooks = yield*
|
|
181
|
-
const sessions = yield*
|
|
182
|
-
const instructionEntries = yield*
|
|
183
|
-
const persistentPty = yield*
|
|
184
|
-
const locations = yield*
|
|
185
|
-
const worktrees = yield*
|
|
186
|
-
const worktreeStrategies = yield*
|
|
179
|
+
const permission = yield* Service67;
|
|
180
|
+
const hooks = yield* Service75;
|
|
181
|
+
const sessions = yield* Service31;
|
|
182
|
+
const instructionEntries = yield* Service34;
|
|
183
|
+
const persistentPty = yield* Service23;
|
|
184
|
+
const locations = yield* Service66;
|
|
185
|
+
const worktrees = yield* Service21;
|
|
186
|
+
const worktreeStrategies = yield* Service22;
|
|
187
187
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
188
188
|
const locationInfo = (current = location) => new Info30({
|
|
189
189
|
directory: current.directory,
|
|
@@ -192,7 +192,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
192
192
|
});
|
|
193
193
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
|
|
194
194
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
195
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
195
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
|
|
196
196
|
});
|
|
197
197
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
198
198
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -200,9 +200,9 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
200
200
|
return { location: locationInfo(yield* Service90), data: yield* effect };
|
|
201
201
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
202
202
|
const sessionPermission = (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))));
|
|
203
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
203
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info6);
|
|
204
204
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
|
|
205
|
-
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(
|
|
205
|
+
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service70, (agents) => agents.list())).pipe(Effect.orDie));
|
|
206
206
|
const context = {
|
|
207
207
|
app,
|
|
208
208
|
location: locationInfo(),
|
|
@@ -227,10 +227,10 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
227
227
|
transform: (callback) => agents.transform((editor) => {
|
|
228
228
|
callback({
|
|
229
229
|
list: editor.list,
|
|
230
|
-
get: (id) => editor.get(
|
|
231
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
232
|
-
update: (id, update) => editor.update(
|
|
233
|
-
remove: (id) => editor.remove(
|
|
230
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
231
|
+
default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
|
|
232
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
233
|
+
remove: (id) => editor.remove(ID13.make(id))
|
|
234
234
|
});
|
|
235
235
|
})
|
|
236
236
|
},
|
|
@@ -451,7 +451,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
451
451
|
list: (input) => {
|
|
452
452
|
const ref = locationRef(input);
|
|
453
453
|
if (ref && !isCurrentLocation(ref))
|
|
454
|
-
return atLocation(ref, Effect.flatMap(
|
|
454
|
+
return atLocation(ref, Effect.flatMap(Service43, (mcp) => mcp.servers()));
|
|
455
455
|
return response(mcp.servers());
|
|
456
456
|
},
|
|
457
457
|
reload: mcp.reload,
|
|
@@ -471,9 +471,9 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
471
471
|
get: sessionPermission,
|
|
472
472
|
reply: (input) => sessionPermission(input).pipe(Effect.andThen(() => permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }))),
|
|
473
473
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
474
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
475
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
476
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
474
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
|
|
475
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
|
|
476
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
|
|
477
477
|
}))
|
|
478
478
|
},
|
|
479
479
|
plugin: {
|
|
@@ -529,19 +529,19 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
529
529
|
providers: () => response(websearch.providers()),
|
|
530
530
|
query: (input) => response(websearch.query({
|
|
531
531
|
query: input.query,
|
|
532
|
-
providerID: input.providerID === undefined ? undefined :
|
|
532
|
+
providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
|
|
533
533
|
})),
|
|
534
534
|
reload: websearch.reload,
|
|
535
535
|
transform: (callback) => websearch.transform((editor) => {
|
|
536
536
|
callback({
|
|
537
537
|
add: (definition) => editor.add({
|
|
538
|
-
id:
|
|
538
|
+
id: ID6.make(definition.id),
|
|
539
539
|
name: definition.name,
|
|
540
540
|
execute: definition.execute
|
|
541
541
|
}),
|
|
542
542
|
default: {
|
|
543
543
|
get: editor.default.get,
|
|
544
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
544
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
|
|
545
545
|
}
|
|
546
546
|
});
|
|
547
547
|
})
|
|
@@ -620,33 +620,33 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
|
|
|
620
620
|
return context;
|
|
621
621
|
});
|
|
622
622
|
var requirements3 = LayerNode.group([
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
623
|
+
node82,
|
|
624
|
+
node71,
|
|
625
|
+
node27,
|
|
626
|
+
node62,
|
|
627
627
|
node88,
|
|
628
628
|
node87,
|
|
629
|
-
|
|
630
|
-
|
|
629
|
+
node64,
|
|
630
|
+
node94,
|
|
631
631
|
node89,
|
|
632
632
|
node86,
|
|
633
|
-
|
|
633
|
+
node47,
|
|
634
634
|
node92,
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
node52,
|
|
635
|
+
node57,
|
|
636
|
+
node31,
|
|
637
|
+
node61,
|
|
638
|
+
node55,
|
|
639
|
+
node33,
|
|
641
640
|
node22,
|
|
642
|
-
node23,
|
|
643
641
|
node24,
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
642
|
+
node25,
|
|
643
|
+
node23,
|
|
644
|
+
node68,
|
|
645
|
+
node76,
|
|
646
|
+
node34,
|
|
647
|
+
node38,
|
|
648
|
+
node26,
|
|
649
|
+
node67
|
|
650
650
|
]);
|
|
651
651
|
function storage2(kv, pluginID) {
|
|
652
652
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -715,7 +715,7 @@ function methodImplementation(input) {
|
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
717
|
function connectionInfo(connection) {
|
|
718
|
-
return connection.type === "credential" ? { ...connection, id:
|
|
718
|
+
return connection.type === "credential" ? { ...connection, id: ID19.make(connection.id) } : connection;
|
|
719
719
|
}
|
|
720
720
|
function credential(value) {
|
|
721
721
|
return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./console-access-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-hgzwgvze.js";
|
|
12
12
|
import {
|
|
13
13
|
Service90
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-wat1f99y.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-pz30z7w0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./console-access-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin37,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin37 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service90;
|
|
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
561
561
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
562
562
|
});
|
|
563
563
|
|
|
564
|
-
export {
|
|
564
|
+
export { Plugin37, exports_git };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-5azf7efg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-wat1f99y.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-ernk41n0.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./console-access-n3j33rb6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File3,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./console-access-03ktjqgw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./console-access-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,10 +31,10 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin18 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service71;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const config = yield* Service81;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
@@ -66,13 +66,13 @@ var Plugin17 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File3 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin17 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File3);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin17 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File3)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin17 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin18, exports_instruction };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
10
10
|
__export(exports_stored, {
|
|
11
|
-
File: () =>
|
|
11
|
+
File: () => File2,
|
|
12
12
|
FileRef: () => FileRef2,
|
|
13
13
|
Ref: () => Ref2,
|
|
14
14
|
SessionStored: () => exports_stored,
|
|
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
|
|
|
28
28
|
var ref2 = (hash) => `media:${hash}`;
|
|
29
29
|
var { data: _, ...attachment } = FileAttachment.fields;
|
|
30
30
|
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
|
|
31
|
-
var
|
|
31
|
+
var File2 = Schema.Union([FileAttachment, FileRef2]);
|
|
32
32
|
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
|
|
33
|
-
var files = Schema.Array(
|
|
33
|
+
var files = Schema.Array(File2).pipe(optional);
|
|
34
34
|
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
35
35
|
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
36
36
|
|
|
37
|
-
export { Ref2, refHash2, ref2, FileRef2,
|
|
37
|
+
export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
|