@opencode/core 0.0.0-dev-463 → 0.0.0-dev-466
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +234 -234
- package/dist/bus.js +80 -80
- package/dist/chunks/{kv-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{kv-sqjzf8x2.js → tool-output-0j7gp832.js} +4 -4
- package/dist/chunks/{kv-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
- package/dist/chunks/{kv-vh5m3ez0.js → tool-output-0p4pmdhq.js} +17 -17
- package/dist/chunks/{kv-gk794f74.js → tool-output-0x3mztr9.js} +21 -21
- package/dist/chunks/{kv-xackwg1y.js → tool-output-0xq8s71y.js} +11 -11
- package/dist/chunks/{kv-e0ar916e.js → tool-output-10jzpw8f.js} +3 -3
- package/dist/chunks/{kv-rswskmkb.js → tool-output-115b3ms3.js} +18 -18
- package/dist/chunks/{kv-jttrxpyp.js → tool-output-18a09hjh.js} +22 -22
- package/dist/chunks/{kv-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{kv-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{kv-85edh9cr.js → tool-output-1h3sfksp.js} +7 -7
- package/dist/chunks/{kv-msd2a3qm.js → tool-output-1v2g13eq.js} +4 -4
- package/dist/chunks/{kv-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-88zq23g6.js → tool-output-22ywg2me.js} +11 -11
- package/dist/chunks/{kv-gmemj5zs.js → tool-output-26wfx3k0.js} +4 -4
- package/dist/chunks/{kv-r3styde8.js → tool-output-287n1fg5.js} +7 -7
- package/dist/chunks/{kv-2cdjxzfg.js → tool-output-2cdjxzfg.js} +1 -1
- package/dist/chunks/{kv-yg58e13h.js → tool-output-2j18gx8c.js} +29 -29
- package/dist/chunks/{kv-8emfpnej.js → tool-output-2jft24my.js} +17 -17
- package/dist/chunks/tool-output-2jjfs7g5.js +16 -0
- package/dist/chunks/tool-output-2k0qjd71.js +261 -0
- package/dist/chunks/{kv-qtf35215.js → tool-output-2n444ktb.js} +3 -3
- package/dist/chunks/{kv-drjn6577.js → tool-output-2p5k36f2.js} +29 -29
- package/dist/chunks/{kv-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
- package/dist/chunks/{kv-x1sfbxtm.js → tool-output-2r6mdnfq.js} +7 -7
- package/dist/chunks/{kv-c5m2a8vb.js → tool-output-2s709x84.js} +7 -7
- package/dist/chunks/{kv-9cc8jzfj.js → tool-output-2t908x44.js} +16 -16
- package/dist/chunks/{kv-vrqf57jv.js → tool-output-2ty1qw88.js} +3 -3
- package/dist/chunks/{kv-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-tmc7xdjs.js → tool-output-3nnrz6f6.js} +4 -4
- package/dist/chunks/{kv-ejfdeeeq.js → tool-output-3y4xzgma.js} +15 -15
- package/dist/chunks/{kv-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{kv-w2eysc6j.js → tool-output-40za9wsf.js} +9 -9
- package/dist/chunks/{kv-8ebfsdk5.js → tool-output-42mcpepz.js} +3 -3
- package/dist/chunks/{kv-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
- package/dist/chunks/{kv-4d2dtj2f.js → tool-output-4d2dtj2f.js} +1 -1
- package/dist/chunks/{kv-0a9xft0q.js → tool-output-4d5xkhzj.js} +10 -10
- package/dist/chunks/{kv-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{kv-t0w8z6q1.js → tool-output-4ew25cb5.js} +15 -15
- package/dist/chunks/{kv-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
- package/dist/chunks/{kv-a94vr9zm.js → tool-output-4g7xdd9d.js} +13 -13
- package/dist/chunks/{kv-ywpm9ph8.js → tool-output-4h4fbn9p.js} +11 -11
- package/dist/chunks/{kv-kkz0wsf4.js → tool-output-4j9dw2d0.js} +32 -32
- package/dist/chunks/{kv-5yec2skm.js → tool-output-4nqe5hb4.js} +13 -13
- package/dist/chunks/{kv-6951814z.js → tool-output-4p9gmmpp.js} +38 -38
- package/dist/chunks/{kv-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-6aaef434.js → tool-output-4r6p4fek.js} +5 -5
- package/dist/chunks/{kv-pbf523ys.js → tool-output-4seebxp0.js} +10 -10
- package/dist/chunks/{kv-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-wgysxxvx.js → tool-output-4y71by1a.js} +15 -15
- package/dist/chunks/{kv-5zpqhmp2.js → tool-output-530xg6vw.js} +3 -3
- package/dist/chunks/{kv-m5rn6m50.js → tool-output-55gp94gm.js} +34 -34
- package/dist/chunks/{kv-dtfyv3zf.js → tool-output-58vvnw5h.js} +8 -8
- package/dist/chunks/{kv-wasaya9j.js → tool-output-58y85ej2.js} +23 -23
- package/dist/chunks/{kv-nwsj1cwd.js → tool-output-5eyjw0yz.js} +18 -18
- package/dist/chunks/{kv-azd8n5rk.js → tool-output-5hn8w8k6.js} +11 -11
- package/dist/chunks/{kv-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-5nnwax6m.js → tool-output-5nnwax6m.js} +2 -2
- package/dist/chunks/{kv-dxm1q7rg.js → tool-output-5p8cescm.js} +5 -5
- package/dist/chunks/{kv-papqe6bk.js → tool-output-5r1jnhxq.js} +21 -21
- package/dist/chunks/{kv-b20v0sad.js → tool-output-5sx3441x.js} +13 -13
- package/dist/chunks/{kv-3nfw77dj.js → tool-output-5w0rdcwe.js} +12 -12
- package/dist/chunks/{kv-kmt137a9.js → tool-output-60w1zvt0.js} +39 -39
- package/dist/chunks/{kv-dzdv2v3g.js → tool-output-66sfkq4p.js} +24 -24
- package/dist/chunks/{kv-963hk181.js → tool-output-68cs06h1.js} +5 -5
- package/dist/chunks/{kv-a262kt7g.js → tool-output-6jbcaht7.js} +2 -2
- package/dist/chunks/{kv-bc87eywq.js → tool-output-6nnr6ddx.js} +20 -20
- package/dist/chunks/{kv-s06f3zcw.js → tool-output-6r9ht2s4.js} +3 -3
- package/dist/chunks/{kv-rgt0fs8t.js → tool-output-6rpcq00a.js} +31 -31
- package/dist/chunks/{kv-wa6cdf20.js → tool-output-6sfn6t41.js} +16 -16
- package/dist/chunks/{kv-wh26e6vx.js → tool-output-6sxbqbzw.js} +15 -15
- package/dist/chunks/{kv-f0h2122t.js → tool-output-6y63rby9.js} +15 -15
- package/dist/chunks/tool-output-6zjm2phc.js +18 -0
- package/dist/chunks/{kv-wyfgkt0v.js → tool-output-73ps2g3c.js} +28 -28
- package/dist/chunks/{kv-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
- package/dist/chunks/{kv-775hqbnd.js → tool-output-775hqbnd.js} +3 -3
- package/dist/chunks/{kv-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-xd7yvmwx.js → tool-output-7eev1cf5.js} +20 -20
- package/dist/chunks/{kv-7kr66rt3.js → tool-output-7kr66rt3.js} +1 -1
- package/dist/chunks/{kv-qj27ec1j.js → tool-output-7nqkf5r1.js} +2 -2
- package/dist/chunks/{kv-j6fnsbvp.js → tool-output-7ns7jg7q.js} +14 -14
- package/dist/chunks/{kv-kphpybh5.js → tool-output-7qg3mtbn.js} +26 -26
- package/dist/chunks/{kv-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{kv-yxwfes0h.js → tool-output-7z9zc7fv.js} +30 -30
- package/dist/chunks/{kv-475pmsf4.js → tool-output-80pdnbfy.js} +26 -26
- package/dist/chunks/{kv-je8jbz99.js → tool-output-81e7rhct.js} +27 -27
- package/dist/chunks/{kv-sge96gp9.js → tool-output-82351en7.js} +12 -12
- package/dist/chunks/{kv-89287pr7.js → tool-output-89287pr7.js} +1 -1
- package/dist/chunks/{kv-epxmp9r9.js → tool-output-8a2xbwhq.js} +4 -4
- package/dist/chunks/{kv-25h84942.js → tool-output-8b3vzgkx.js} +4 -4
- package/dist/chunks/{kv-3cnwfwb4.js → tool-output-8eap5edk.js} +8 -8
- package/dist/chunks/{kv-xf9r6fpb.js → tool-output-8s0gjrq3.js} +29 -29
- package/dist/chunks/{kv-8sxe6kv8.js → tool-output-8sxe6kv8.js} +2 -2
- package/dist/chunks/{kv-r17fbvme.js → tool-output-8t99kr38.js} +4 -4
- package/dist/chunks/{kv-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-7yn5njxn.js → tool-output-8zfy3skd.js} +83 -83
- package/dist/chunks/{kv-90zstvax.js → tool-output-90zstvax.js} +1 -1
- package/dist/chunks/{kv-qvgw3df5.js → tool-output-95kj44hy.js} +27 -16
- package/dist/chunks/{kv-b0grxa7w.js → tool-output-9b00c1fb.js} +5 -5
- package/dist/chunks/{kv-7exh6wv1.js → tool-output-9cdgjr65.js} +35 -35
- package/dist/chunks/{kv-fajbfx6j.js → tool-output-9djsjk3f.js} +43 -43
- package/dist/chunks/{kv-gjazrbgn.js → tool-output-9rytrcgt.js} +21 -21
- package/dist/chunks/{kv-x150ncgg.js → tool-output-a3fn0gmm.js} +2 -2
- package/dist/chunks/{kv-97qxj3ta.js → tool-output-a78wj5dv.js} +8 -8
- package/dist/chunks/{kv-pxpzd3xh.js → tool-output-aa24rdx2.js} +4 -4
- package/dist/chunks/{kv-3r90zn6t.js → tool-output-ab8r1jbv.js} +33 -33
- package/dist/chunks/{kv-w9dx19k5.js → tool-output-adfvhgh8.js} +11 -11
- package/dist/chunks/{kv-02x7183a.js → tool-output-ahedfgv0.js} +7 -7
- package/dist/chunks/{kv-t6aq5wef.js → tool-output-amrdb7ww.js} +5 -5
- package/dist/chunks/{kv-90ct6wq4.js → tool-output-anvcme1c.js} +4 -4
- package/dist/chunks/{kv-4k56bh2d.js → tool-output-aqdx993p.js} +24 -24
- package/dist/chunks/{kv-dvma3yps.js → tool-output-ateksmxm.js} +20 -20
- package/dist/chunks/{kv-dxaxk2g7.js → tool-output-axq9n4nd.js} +8 -8
- package/dist/chunks/{kv-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{kv-1zrvbnhn.js → tool-output-bfhbvqd5.js} +23 -23
- package/dist/chunks/{kv-gcjdgkn2.js → tool-output-bgm817xr.js} +9 -9
- package/dist/chunks/{kv-vmxsyvj6.js → tool-output-bhfd478d.js} +4 -4
- package/dist/chunks/{kv-phqbdkzg.js → tool-output-bph1244c.js} +25 -25
- package/dist/chunks/{kv-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-38x49yk8.js → tool-output-byaw3b0t.js} +37 -37
- package/dist/chunks/{kv-6e7p6np7.js → tool-output-bzrt1caw.js} +39 -39
- package/dist/chunks/{kv-15qtk8ma.js → tool-output-c5zvymhv.js} +4 -4
- package/dist/chunks/{kv-pgfabxcd.js → tool-output-c83t1a4q.js} +6 -6
- package/dist/chunks/{kv-jcnrevj0.js → tool-output-cf9r8vqq.js} +4 -4
- package/dist/chunks/{kv-0ahs07zn.js → tool-output-cpvd08na.js} +4 -4
- package/dist/chunks/{kv-z01qvp9v.js → tool-output-cq3q9vsf.js} +32 -32
- package/dist/chunks/{kv-ffa4wh4p.js → tool-output-cvmhw006.js} +12 -12
- package/dist/chunks/{kv-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-zsqxdpjf.js → tool-output-d0pyrcv2.js} +43 -43
- package/dist/chunks/{kv-cdvaxqet.js → tool-output-d2fmx1yk.js} +21 -21
- package/dist/chunks/{kv-1qf0danm.js → tool-output-d3aj8f3h.js} +11 -11
- package/dist/chunks/{kv-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{kv-yy5sddfr.js → tool-output-d904zbqa.js} +29 -29
- package/dist/chunks/{kv-v7et57j7.js → tool-output-dcbgjmsj.js} +19 -19
- package/dist/chunks/{kv-9h9yyyvr.js → tool-output-djw2zn7q.js} +6 -6
- package/dist/chunks/{kv-0vhe3zz8.js → tool-output-dkrnptrz.js} +11 -11
- package/dist/chunks/{kv-ys4mxn17.js → tool-output-dsd8sep6.js} +9 -9
- package/dist/chunks/{kv-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{kv-n50aepnj.js → tool-output-e0wzwgvk.js} +4 -4
- package/dist/chunks/{kv-th2hp9ev.js → tool-output-e5y560y7.js} +12 -12
- package/dist/chunks/{kv-6z66srpx.js → tool-output-e63h50qx.js} +37 -37
- package/dist/chunks/{kv-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{kv-k4fcj3vf.js → tool-output-eka5gqec.js} +21 -21
- package/dist/chunks/{kv-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{kv-key46bzf.js → tool-output-erd82hzj.js} +28 -28
- package/dist/chunks/{kv-v74re6p4.js → tool-output-est9w4fd.js} +9 -9
- package/dist/chunks/{kv-7xvv661f.js → tool-output-ex8kn217.js} +9 -9
- package/dist/chunks/{kv-x0r3a1xk.js → tool-output-f1szzr5n.js} +22 -22
- package/dist/chunks/{kv-p7zjft01.js → tool-output-f2xjtcez.js} +14 -14
- package/dist/chunks/{kv-94e33dpz.js → tool-output-f341sazs.js} +3 -3
- package/dist/chunks/{kv-e7fgtdd1.js → tool-output-f5g6d0qb.js} +25 -25
- package/dist/chunks/{kv-tsejbqqk.js → tool-output-f8enq2ta.js} +4 -4
- package/dist/chunks/{kv-yvky2s0p.js → tool-output-fdd0tmq7.js} +11 -11
- package/dist/chunks/{kv-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-6yt8xnmb.js → tool-output-fjdc7vet.js} +2 -2
- package/dist/chunks/{kv-v83sfb1v.js → tool-output-fjp9qcz0.js} +13 -13
- package/dist/chunks/tool-output-fv23p420.js +555 -0
- package/dist/chunks/{kv-pvsqqrf7.js → tool-output-fyaaepwe.js} +32 -32
- package/dist/chunks/{kv-zngahrd4.js → tool-output-g5ae1s2z.js} +156 -156
- package/dist/chunks/{kv-qftpxn2w.js → tool-output-g6mxdxvy.js} +6 -6
- package/dist/chunks/{kv-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{kv-fc1tyj59.js → tool-output-gd47j70e.js} +33 -33
- package/dist/chunks/{kv-v2bg42y5.js → tool-output-gmg2m67c.js} +13 -13
- package/dist/chunks/{kv-pkq7hshp.js → tool-output-gnjy40cd.js} +23 -23
- package/dist/chunks/{kv-a314c1yn.js → tool-output-gnwamg3p.js} +19 -19
- package/dist/chunks/{kv-cp1gsbm1.js → tool-output-gqgdr040.js} +6 -6
- package/dist/chunks/{kv-tg7s7b5t.js → tool-output-gxs71cxp.js} +4 -4
- package/dist/chunks/{kv-c4rf1zj5.js → tool-output-gyrwg2kg.js} +30 -30
- package/dist/chunks/{kv-6dt3jg77.js → tool-output-h187kc3f.js} +35 -35
- package/dist/chunks/{kv-ncv5s97k.js → tool-output-h4v5z7wp.js} +3 -3
- package/dist/chunks/{kv-tasnwepa.js → tool-output-h6jcj9p8.js} +9 -9
- package/dist/chunks/{kv-gbnh12e9.js → tool-output-h77r3w1s.js} +40 -40
- package/dist/chunks/tool-output-h8kmj787.js +26 -0
- package/dist/chunks/{kv-c7rq5y96.js → tool-output-hcysfq1n.js} +34 -34
- package/dist/chunks/{kv-h3dvgnt2.js → tool-output-hhntqeqf.js} +9 -9
- package/dist/chunks/{kv-5hqtac0m.js → tool-output-hj1t8ssm.js} +28 -28
- package/dist/chunks/{kv-hpg1pkwy.js → tool-output-hpg1pkwy.js} +1 -1
- package/dist/chunks/{kv-jf43mb4q.js → tool-output-hsnq1va6.js} +5 -5
- package/dist/chunks/{kv-0cqaejmj.js → tool-output-hxrjgpzw.js} +13 -13
- package/dist/chunks/{kv-2ehydsxs.js → tool-output-hykqydna.js} +17 -17
- package/dist/chunks/{kv-j9nxzz3g.js → tool-output-j9nxzz3g.js} +3 -3
- package/dist/chunks/{kv-e2kna7ja.js → tool-output-jc49e2ak.js} +27 -27
- package/dist/chunks/{kv-fdkctdv6.js → tool-output-jdzjtwv2.js} +83 -83
- package/dist/chunks/{kv-xrf6z7zj.js → tool-output-jjvq20ys.js} +12 -12
- package/dist/chunks/{kv-cwq43bx0.js → tool-output-jpdapree.js} +15 -15
- package/dist/chunks/{kv-jtnps1zs.js → tool-output-jtnps1zs.js} +2 -2
- package/dist/chunks/{kv-e826br8j.js → tool-output-jx32s6s7.js} +43 -43
- package/dist/chunks/{kv-348g6vdz.js → tool-output-k1zxkq7r.js} +9 -9
- package/dist/chunks/{kv-tf327jrp.js → tool-output-kb33k53g.js} +8 -8
- package/dist/chunks/{kv-v95nzwvv.js → tool-output-kbd1k1ej.js} +9 -9
- package/dist/chunks/{kv-br3vvby6.js → tool-output-kdrvp24z.js} +18 -18
- package/dist/chunks/{kv-4y8qzd8z.js → tool-output-kpa09rhw.js} +8 -8
- package/dist/chunks/{kv-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{kv-38sgh7nx.js → tool-output-m0kck7zd.js} +28 -28
- package/dist/chunks/{kv-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{kv-jxs9nank.js → tool-output-m4ftx5nk.js} +35 -35
- package/dist/chunks/{kv-tmstahpq.js → tool-output-m6f9p571.js} +27 -27
- package/dist/chunks/{kv-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-mb7mbhnz.js → tool-output-mb7mbhnz.js} +3 -3
- package/dist/chunks/{kv-vzrtv76d.js → tool-output-mef8ekqr.js} +26 -26
- package/dist/chunks/{kv-ev714t55.js → tool-output-mfjzh9b6.js} +7 -7
- package/dist/chunks/{kv-v10ah28d.js → tool-output-mpq8mfwy.js} +9 -9
- package/dist/chunks/{kv-xy35ryac.js → tool-output-mw0ek7me.js} +11 -11
- package/dist/chunks/{kv-b3b9b3h1.js → tool-output-n0nkwf14.js} +24 -24
- package/dist/chunks/{kv-3y9zcr5d.js → tool-output-n18wzqne.js} +4 -4
- package/dist/chunks/{kv-fgwd0f5t.js → tool-output-n3bkb5q1.js} +5 -5
- package/dist/chunks/{kv-390xskpw.js → tool-output-n7d48jjh.js} +8 -8
- package/dist/chunks/{kv-42hr4xkg.js → tool-output-ndksvsqq.js} +5 -5
- package/dist/chunks/{kv-bbbmdjy4.js → tool-output-nef4x0fv.js} +20 -20
- package/dist/chunks/{kv-s7hxpbzb.js → tool-output-ngc4k3z1.js} +3 -3
- package/dist/chunks/{kv-6edbc7zm.js → tool-output-nn2nd58t.js} +7 -7
- package/dist/chunks/{kv-w3c3s7r0.js → tool-output-p4g6dtgh.js} +18 -18
- package/dist/chunks/{kv-1eq5t2j4.js → tool-output-p53k08rd.js} +27 -27
- package/dist/chunks/{kv-64hfm95n.js → tool-output-p64ky49f.js} +25 -25
- package/dist/chunks/{kv-7hzed13s.js → tool-output-parb2748.js} +2 -2
- package/dist/chunks/{kv-9gfh1w94.js → tool-output-pbfjpsb7.js} +4 -4
- package/dist/chunks/{kv-0dkvek4b.js → tool-output-pd14fbdd.js} +6 -6
- package/dist/chunks/{kv-55qnc5ar.js → tool-output-pdgyk44n.js} +3 -3
- package/dist/chunks/{kv-mza0w7xf.js → tool-output-phn32fwn.js} +19 -19
- package/dist/chunks/{kv-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{kv-dj38w6kp.js → tool-output-ppvp06zs.js} +15 -15
- package/dist/chunks/{kv-fg9p65nk.js → tool-output-prq7xxp2.js} +6 -6
- package/dist/chunks/{kv-kt6nygt9.js → tool-output-ps0ytyna.js} +13 -13
- package/dist/chunks/{kv-jvmsr7ys.js → tool-output-pxp22qz6.js} +5 -5
- package/dist/chunks/{kv-n3cw3nam.js → tool-output-py9rnfbe.js} +19 -19
- package/dist/chunks/{kv-tyvabczr.js → tool-output-pzp284mp.js} +24 -24
- package/dist/chunks/{kv-qyqeq8hj.js → tool-output-q1edwbg5.js} +17 -17
- package/dist/chunks/{kv-5pjz195d.js → tool-output-q1ev5fjc.js} +16 -16
- package/dist/chunks/{kv-7wkb27ph.js → tool-output-q3kq69cx.js} +14 -14
- package/dist/chunks/{kv-qfz6bxfd.js → tool-output-qfz6bxfd.js} +1 -1
- package/dist/chunks/{kv-hhcta08j.js → tool-output-qjsezd78.js} +10 -10
- package/dist/chunks/{kv-3xqfmw3b.js → tool-output-qnc8gnan.js} +32 -32
- package/dist/chunks/{kv-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-f45yfwcj.js → tool-output-qq4f8yjf.js} +22 -22
- package/dist/chunks/{kv-qqvy8y24.js → tool-output-qqvy8y24.js} +1 -1
- package/dist/chunks/{kv-48550ama.js → tool-output-qr3qf9ct.js} +19 -19
- package/dist/chunks/{kv-wfdx5ztx.js → tool-output-qsdghx1p.js} +4 -4
- package/dist/chunks/{kv-45j996zk.js → tool-output-qsfsht85.js} +1 -1
- package/dist/chunks/{kv-8ae67v52.js → tool-output-qvgx1mgd.js} +6 -6
- package/dist/chunks/{kv-jhqq3bcw.js → tool-output-qvqcv7sy.js} +6 -6
- package/dist/chunks/{kv-qw2t3dzn.js → tool-output-qw2t3dzn.js} +3 -3
- package/dist/chunks/{kv-q7a2bk82.js → tool-output-qxa8694e.js} +16 -16
- package/dist/chunks/{kv-xja4t88y.js → tool-output-qykgtxne.js} +23 -23
- package/dist/chunks/{kv-t77tdkfp.js → tool-output-r11wa1x2.js} +28 -28
- package/dist/chunks/{kv-wcnkf9e4.js → tool-output-r8rq6y8n.js} +12 -12
- package/dist/chunks/{kv-fp2kss3x.js → tool-output-ra34yqmw.js} +6 -6
- package/dist/chunks/{kv-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-48h6ydh5.js → tool-output-rjz4d94e.js} +6 -6
- package/dist/chunks/{kv-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-091867k5.js → tool-output-s4xb5t7y.js} +36 -36
- package/dist/chunks/{kv-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-w81j1vy6.js → tool-output-sbfaben9.js} +9 -9
- package/dist/chunks/{kv-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{kv-sp9q91vx.js → tool-output-sf3r2nj7.js} +3 -3
- package/dist/chunks/{kv-cgkv6xhk.js → tool-output-sfzk71g3.js} +7 -7
- package/dist/chunks/{kv-mm27w63f.js → tool-output-sth9zcg7.js} +11 -11
- package/dist/chunks/{kv-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-b4mbbm94.js → tool-output-sx8d7w52.js} +25 -25
- package/dist/chunks/{kv-szwm4crx.js → tool-output-szwm4crx.js} +4 -4
- package/dist/chunks/{kv-q1678z4n.js → tool-output-t3ax3ke3.js} +25 -25
- package/dist/chunks/{kv-bmqcdv79.js → tool-output-t6vp9y58.js} +49 -49
- package/dist/chunks/{kv-61qraad9.js → tool-output-t8erkws8.js} +5 -5
- package/dist/chunks/{kv-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-aedwt843.js → tool-output-tg1vr1qt.js} +8 -8
- package/dist/chunks/{kv-gqzpxtfs.js → tool-output-tj8zavg0.js} +11 -11
- package/dist/chunks/{kv-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
- package/dist/chunks/{kv-d9t352jd.js → tool-output-tvgyr2bd.js} +21 -21
- package/dist/chunks/{kv-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-tzdxn8w1.js → tool-output-v06mza8y.js} +14 -14
- package/dist/chunks/{kv-f8av0dr9.js → tool-output-v093k11a.js} +4 -4
- package/dist/chunks/{kv-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-k6zcr3d2.js → tool-output-v3tjqm7n.js} +14 -14
- package/dist/chunks/{kv-1yq9hg58.js → tool-output-v9ez2kgh.js} +5 -5
- package/dist/chunks/{kv-e1y225ng.js → tool-output-vatt5ny9.js} +4 -4
- package/dist/chunks/{kv-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{kv-wdb2v9zb.js → tool-output-vr4vq26x.js} +50 -50
- package/dist/chunks/{kv-h9h9r8jb.js → tool-output-vv9ywpgj.js} +14 -14
- package/dist/chunks/{kv-g98tr8sb.js → tool-output-w19hfjk6.js} +12 -12
- package/dist/chunks/{kv-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-w687dnns.js → tool-output-w687dnns.js} +1 -1
- package/dist/chunks/{kv-xqs234yc.js → tool-output-w6zbx7sx.js} +22 -22
- package/dist/chunks/{kv-mf63ygpr.js → tool-output-w79nt68w.js} +4 -4
- package/dist/chunks/{kv-835fs15q.js → tool-output-w9qm3w4z.js} +10 -10
- package/dist/chunks/{kv-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-r0sc7qzh.js → tool-output-wb4c515f.js} +3 -3
- package/dist/chunks/{kv-zxdg55sm.js → tool-output-wd84ymt0.js} +38 -38
- package/dist/chunks/{kv-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{kv-f1kzaf15.js → tool-output-we2g0r14.js} +6 -6
- package/dist/chunks/{kv-wegkxhrn.js → tool-output-wegkxhrn.js} +2 -2
- package/dist/chunks/{kv-104sxbv1.js → tool-output-wn5njeqz.js} +6 -6
- package/dist/chunks/{kv-wnhgecwx.js → tool-output-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-fsc67bbk.js → tool-output-wqszm3cq.js} +9 -9
- package/dist/chunks/{kv-d4qb2rc3.js → tool-output-wt6a3mqf.js} +4 -4
- package/dist/chunks/{kv-nyxvvj5y.js → tool-output-wvr8xscb.js} +4 -4
- package/dist/chunks/{kv-ec8knycs.js → tool-output-ww0cyf3z.js} +50 -50
- package/dist/chunks/{kv-wws03c5r.js → tool-output-wws03c5r.js} +1 -1
- package/dist/chunks/{kv-sy817ser.js → tool-output-x7bw7bgf.js} +23 -23
- package/dist/chunks/{kv-y9x9m3cp.js → tool-output-x7de2wha.js} +9 -9
- package/dist/chunks/{kv-279habt9.js → tool-output-x87ytaxf.js} +11 -11
- package/dist/chunks/{kv-gb8aby5e.js → tool-output-xf3q1v2n.js} +2 -2
- package/dist/chunks/{kv-qhpc418q.js → tool-output-xja22b89.js} +10 -10
- package/dist/chunks/{kv-q6czkqsp.js → tool-output-xjhqr95z.js} +12 -12
- package/dist/chunks/{kv-xksw6ev0.js → tool-output-xksw6ev0.js} +1 -1
- package/dist/chunks/{kv-ety3ew88.js → tool-output-xvhx3fzq.js} +12 -12
- package/dist/chunks/{kv-g1af2rwn.js → tool-output-xxt856rx.js} +4 -4
- package/dist/chunks/{kv-c32zfq3f.js → tool-output-xym735jc.js} +8 -8
- package/dist/chunks/{kv-nkydhhm9.js → tool-output-xztvf178.js} +70 -70
- package/dist/chunks/{kv-waagszdr.js → tool-output-y5h5r084.js} +11 -11
- package/dist/chunks/{kv-zw7cvrnx.js → tool-output-y63ywa2k.js} +11 -11
- package/dist/chunks/{kv-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-7jf424nk.js → tool-output-yb225m05.js} +12 -12
- package/dist/chunks/{kv-x78x2jnf.js → tool-output-ybfg1fv3.js} +59 -59
- package/dist/chunks/{kv-77fr1a8s.js → tool-output-yc3c4tkd.js} +8 -8
- package/dist/chunks/{kv-ewa1ec51.js → tool-output-ycj63wkd.js} +4 -4
- package/dist/chunks/{kv-m2y5pdyn.js → tool-output-ydd7qh3d.js} +1 -1
- package/dist/chunks/{kv-b9xj6p1v.js → tool-output-yf1a4qa7.js} +6 -6
- package/dist/chunks/{kv-r4kghmrm.js → tool-output-yk6dfxq1.js} +3 -3
- package/dist/chunks/{kv-g4v74gy6.js → tool-output-yngvyh0w.js} +8 -8
- package/dist/chunks/{kv-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{kv-g2yvvf5f.js → tool-output-ys2kpqh4.js} +11 -11
- package/dist/chunks/{kv-2j5gpsjp.js → tool-output-yszbb02h.js} +8 -8
- package/dist/chunks/{kv-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{kv-v7kj1s7s.js → tool-output-yxjmegqv.js} +30 -30
- package/dist/chunks/{kv-e8pm465n.js → tool-output-yydqqga9.js} +4 -4
- package/dist/chunks/{kv-dv7yh041.js → tool-output-yz3xmvrq.js} +15 -15
- package/dist/chunks/{kv-eznj39e7.js → tool-output-z16qtg1w.js} +13 -13
- package/dist/chunks/{kv-jebxhqhc.js → tool-output-z29mj6ce.js} +18 -18
- package/dist/chunks/{kv-rzdbmr93.js → tool-output-z5wh7n3m.js} +19 -19
- package/dist/chunks/{kv-ky596kc3.js → tool-output-ztf6n3de.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- 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 +62 -62
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- 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 +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- 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 +421 -421
- 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 +94 -94
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +177 -177
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- 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 +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +3 -3
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +243 -243
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- 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 +13 -13
- package/dist/shell.js +144 -144
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +158 -158
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +164 -164
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/agent.d.ts +14 -0
- package/dist/types/model.d.ts +28 -0
- package/dist/types/plugin/provider/credential-settings.d.ts +4 -0
- package/dist/types/provider.d.ts +63 -0
- package/dist/usage-limits.js +100 -100
- 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 +7 -7
- 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 +3 -3
- 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 +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- 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/kv-777xa7tn.js +0 -555
- package/dist/chunks/kv-9e4sbvwk.js +0 -261
- package/dist/chunks/kv-9eymfpe1.js +0 -26
- package/dist/chunks/kv-tt9rk80g.js +0 -16
- package/dist/chunks/kv-vdh3rgac.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{kv-1pevy3nx.js → tool-output-1pevy3nx.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-dbht28n9.js → tool-output-dbht28n9.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{kv-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{kv-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make25,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make25(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make25, render3, exports_system_prompt2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-ngc4k3z1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service89,
|
|
7
7
|
node92
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-v093k11a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./tool-output-ra34yqmw.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service84,
|
|
19
|
+
node87
|
|
20
|
+
} from "./tool-output-55gp94gm.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-7ns7jg7q.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node70
|
|
27
|
+
} from "./tool-output-k1zxkq7r.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError11
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-530xg6vw.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-output-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service44
|
|
39
|
+
} from "./tool-output-ztf6n3de.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service70,
|
|
42
|
+
node73
|
|
43
|
+
} from "./tool-output-82351en7.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service45,
|
|
48
|
+
node47,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./tool-output-qq4f8yjf.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service43,
|
|
53
|
+
node46
|
|
54
|
+
} from "./tool-output-bzrt1caw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node38
|
|
57
|
+
} from "./tool-output-z5wh7n3m.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,7 +65,7 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
70
|
node: () => node28
|
|
71
71
|
});
|
|
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service84;
|
|
92
|
+
const locations = yield* Service67;
|
|
93
|
+
const store = yield* Service70;
|
|
94
|
+
const execution = yield* Service43;
|
|
95
|
+
const instances = yield* Service46;
|
|
96
|
+
const admission = yield* Service45;
|
|
97
97
|
const database = yield* Service90;
|
|
98
98
|
const bus = yield* Service89;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service44.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -164,21 +164,21 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
166
|
var node28 = makeGlobalNode({
|
|
167
|
-
service:
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node70,
|
|
174
|
+
node73,
|
|
175
|
+
node46,
|
|
176
|
+
node48,
|
|
177
|
+
node47,
|
|
178
178
|
node93,
|
|
179
179
|
node92,
|
|
180
|
-
|
|
180
|
+
node38
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make32,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-n7d48jjh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-4p9gmmpp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service34,
|
|
12
|
+
node36
|
|
13
|
+
} from "./tool-output-d0pyrcv2.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name15
|
|
17
|
+
} from "./tool-output-ab8r1jbv.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service30,
|
|
27
27
|
layer: () => layer13,
|
|
28
28
|
node: () => node32
|
|
29
29
|
});
|
|
@@ -65,14 +65,14 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var layer13 = Layer.effect(
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service34;
|
|
72
|
+
return Service30.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make32({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -88,7 +88,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
88
88
|
const visible = instructions.flatMap((item) => {
|
|
89
89
|
const owned = tools.filter((tool) => tool.server === item.server);
|
|
90
90
|
const codemode = canExecute && owned[0]?.codemode !== false;
|
|
91
|
-
if (!owned.some((tool) => evaluate3(
|
|
91
|
+
if (!owned.some((tool) => evaluate3(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
92
92
|
return [];
|
|
93
93
|
return [
|
|
94
94
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -98,6 +98,6 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
98
98
|
})
|
|
99
99
|
});
|
|
100
100
|
}));
|
|
101
|
-
var node32 = makeLocationNode({ service:
|
|
101
|
+
var node32 = makeLocationNode({ service: Service30, layer: layer13, deps: [node36] });
|
|
102
102
|
|
|
103
|
-
export {
|
|
103
|
+
export { Service30, layer13, node32, exports_instructions4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service6.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service6, node7, exports_location_watcher_policy };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service64,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node67
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service64 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service64.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node67 = makeLocationNode({
|
|
143
|
+
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service64, node67, exports_tool_output2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service89,
|
|
4
4
|
node92
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-v093k11a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service89;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node92] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bfhbvqd5.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-18a09hjh.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-8t99kr38.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./tool-output-t6vp9y58.js";
|
|
15
15
|
import {
|
|
16
16
|
supports2,
|
|
17
17
|
resolve2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-6r9ht2s4.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-hpg1pkwy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/provider.ts
|
|
27
27
|
var exports_provider2 = {};
|
|
28
28
|
__export(exports_provider2, {
|
|
29
29
|
ConfigProviderPlugin: () => exports_provider2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
integrate: () => integrate2
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Money } from "@opencode/schema/money";
|
|
35
35
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Plugin43 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service72;
|
|
40
40
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
41
|
yield* ctx.integration.transform((integrations) => {
|
|
42
42
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export {
|
|
254
|
+
export { Plugin43, integrate2, exports_provider2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-ys2kpqh4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-v093k11a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./tool-output-w6zbx7sx.js";
|
|
11
11
|
import {
|
|
12
12
|
ID18,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-66sfkq4p.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
20
|
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-bfhbvqd5.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get5
|
|
26
|
+
} from "./tool-output-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-djw2zn7q.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -243,7 +243,7 @@ var OpenAIPlugin2 = define({
|
|
|
243
243
|
return;
|
|
244
244
|
}));
|
|
245
245
|
evt.headers.originator = "opencode";
|
|
246
|
-
evt.headers["session-id"] = session ?
|
|
246
|
+
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
247
247
|
}), { providerID: ID17.openai });
|
|
248
248
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
249
249
|
delete evt.options.maxTokens;
|
|
@@ -251,7 +251,7 @@ var OpenAIPlugin2 = define({
|
|
|
251
251
|
for (const name of ["context", "compaction"])
|
|
252
252
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
253
253
|
const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
254
|
-
yield* bus.subscribe(
|
|
254
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
255
255
|
})
|
|
256
256
|
});
|
|
257
257
|
function headers(contentType, app) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-7kr66rt3.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-dcbgjmsj.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service18,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node20,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service18 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service18.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node20 = makeGlobalNode({ service: Service18, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service18, fingerprint2, transient2, node20, exports_shared_cache };
|