@opencode/core 0.0.0-dev-831 → 0.0.0-dev-832
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +248 -248
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-resolver-at67j8j1.js → tool-output-02z2ds17.js} +8 -8
- package/dist/chunks/{model-resolver-q6a7h9km.js → tool-output-035wadpx.js} +7 -7
- package/dist/chunks/{model-resolver-12w1x9kt.js → tool-output-044244kr.js} +6 -6
- package/dist/chunks/{model-resolver-aa29szgn.js → tool-output-09tc4388.js} +12 -12
- package/dist/chunks/{model-resolver-c6x7d2ts.js → tool-output-0ahs07zn.js} +4 -4
- package/dist/chunks/{model-resolver-p9t7fqqw.js → tool-output-0bhz1rxz.js} +28 -28
- package/dist/chunks/{model-resolver-jyw0kdm1.js → tool-output-0e66w7pt.js} +13 -13
- package/dist/chunks/{model-resolver-wh88c09m.js → tool-output-0eh4k10z.js} +11 -11
- package/dist/chunks/{model-resolver-kz76vf0d.js → tool-output-0gy1j7x8.js} +32 -32
- package/dist/chunks/{model-resolver-sqjzf8x2.js → tool-output-0j7gp832.js} +4 -4
- package/dist/chunks/{model-resolver-ffck4b23.js → tool-output-0jajpv6n.js} +7 -7
- package/dist/chunks/tool-output-0jny9dn9.js +577 -0
- package/dist/chunks/{model-resolver-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-resolver-p4zp4vdv.js → tool-output-0zv8fgcy.js} +4 -4
- package/dist/chunks/{model-resolver-yg5hjkmc.js → tool-output-17z2xpnk.js} +33 -33
- package/dist/chunks/{model-resolver-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-resolver-gkdd9kd3.js → tool-output-1mq8nsnz.js} +23 -23
- package/dist/chunks/{model-resolver-msd2a3qm.js → tool-output-1v2g13eq.js} +4 -4
- package/dist/chunks/{model-resolver-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-cjw47p47.js → tool-output-1ybsab74.js} +18 -18
- package/dist/chunks/{model-resolver-d7exky8c.js → tool-output-22p001qz.js} +3 -3
- package/dist/chunks/{model-resolver-1ep2p91f.js → tool-output-27w5k9zf.js} +2 -2
- package/dist/chunks/tool-output-2axv3973.js +265 -0
- package/dist/chunks/{model-resolver-pcbkngps.js → tool-output-2d1n8rjv.js} +32 -32
- package/dist/chunks/{model-resolver-2fc7eemy.js → tool-output-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-resolver-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-resolver-regfzdhd.js → tool-output-2qsyejb3.js} +9 -9
- package/dist/chunks/{model-resolver-jp23w26z.js → tool-output-31w8rfpp.js} +17 -17
- package/dist/chunks/{model-resolver-ayjs7tqn.js → tool-output-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-resolver-ystpxhhk.js → tool-output-3dnd6936.js} +5 -5
- package/dist/chunks/{model-resolver-367emvgy.js → tool-output-3dv3xr36.js} +55 -55
- package/dist/chunks/{model-resolver-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-hn9vjnxk.js → tool-output-3j7kyv78.js} +59 -59
- package/dist/chunks/{model-resolver-rzw5mefb.js → tool-output-3m5d8wxx.js} +17 -17
- package/dist/chunks/{model-resolver-27mpw206.js → tool-output-3mwy3y51.js} +187 -187
- package/dist/chunks/{model-resolver-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-resolver-w2eysc6j.js → tool-output-40za9wsf.js} +9 -9
- package/dist/chunks/{model-resolver-8kqgm7kj.js → tool-output-41kqypgt.js} +44 -44
- package/dist/chunks/{model-resolver-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-resolver-d0ga4tqw.js → tool-output-48r88g94.js} +17 -17
- package/dist/chunks/{model-resolver-w86158h9.js → tool-output-4d862srf.js} +9 -9
- package/dist/chunks/{model-resolver-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-resolver-r542h3bh.js → tool-output-4f25tdd0.js} +5 -5
- package/dist/chunks/{model-resolver-dkzgvvqa.js → tool-output-4hf0kfg5.js} +11 -11
- package/dist/chunks/{model-resolver-hvfsqw1r.js → tool-output-4jz6mj5x.js} +4 -4
- package/dist/chunks/{model-resolver-pgp4x778.js → tool-output-4k095acb.js} +2 -2
- package/dist/chunks/{model-resolver-xprkaztp.js → tool-output-4prbwpgh.js} +8 -8
- package/dist/chunks/{model-resolver-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-r8nj5tkc.js → tool-output-4v5s7vq4.js} +33 -33
- package/dist/chunks/{model-resolver-j0q1dch4.js → tool-output-4xtaf198.js} +5 -5
- package/dist/chunks/{model-resolver-w6psvvet.js → tool-output-50y57ack.js} +32 -32
- package/dist/chunks/{model-resolver-7117yfp2.js → tool-output-51dkt7vf.js} +16 -16
- package/dist/chunks/{model-resolver-xfhqxy2h.js → tool-output-52k1dap9.js} +24 -24
- package/dist/chunks/{model-resolver-2f3qc8cv.js → tool-output-547b1vrw.js} +22 -22
- package/dist/chunks/{model-resolver-vz5amzxd.js → tool-output-56xgr7z8.js} +9 -9
- package/dist/chunks/{model-resolver-mdbsqr6s.js → tool-output-5733fg43.js} +12 -12
- package/dist/chunks/{model-resolver-hv5amfp3.js → tool-output-5ewc0hbt.js} +30 -30
- package/dist/chunks/{model-resolver-me215f18.js → tool-output-5g90fmrv.js} +1 -1
- package/dist/chunks/{model-resolver-2n444ktb.js → tool-output-5k4n6v37.js} +2 -2
- package/dist/chunks/{model-resolver-fkjhewes.js → tool-output-5k784830.js} +5 -5
- package/dist/chunks/{model-resolver-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-6axc0njm.js → tool-output-5txpdecr.js} +4 -4
- package/dist/chunks/{model-resolver-5ycptf1v.js → tool-output-5wzvgyk3.js} +10 -10
- package/dist/chunks/{model-resolver-dtbk5dvx.js → tool-output-67e4e0z8.js} +25 -25
- package/dist/chunks/{model-resolver-mn9t0epx.js → tool-output-67x723b4.js} +39 -39
- package/dist/chunks/{model-resolver-hjnjc3ts.js → tool-output-6f6jm3cp.js} +8 -8
- package/dist/chunks/{model-resolver-3khhh005.js → tool-output-6jvqrts0.js} +8 -8
- package/dist/chunks/{model-resolver-ngqnsspn.js → tool-output-6sg9g9ym.js} +11 -11
- package/dist/chunks/{model-resolver-wvr8xscb.js → tool-output-6y2b864j.js} +4 -4
- package/dist/chunks/{model-resolver-ktfadywa.js → tool-output-74azd40c.js} +9 -9
- package/dist/chunks/{model-resolver-tejpjfnb.js → tool-output-75vy2r7q.js} +10 -10
- package/dist/chunks/{model-resolver-80mg3ag8.js → tool-output-775hqbnd.js} +3 -3
- package/dist/chunks/{model-resolver-bhvbxzqx.js → tool-output-77ncpy90.js} +5 -5
- package/dist/chunks/{model-resolver-fmaaxttr.js → tool-output-7aay1z8t.js} +17 -17
- package/dist/chunks/{model-resolver-4abk2202.js → tool-output-7amcb1yk.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qwey4zz2.js → tool-output-7cgey06n.js} +20 -20
- package/dist/chunks/{model-resolver-nd2qx06s.js → tool-output-7fhkpr78.js} +9 -9
- package/dist/chunks/{model-resolver-b5bt1xzp.js → tool-output-7gh1frym.js} +14 -14
- package/dist/chunks/{model-resolver-8b1ad6cn.js → tool-output-7sfez7r4.js} +20 -20
- package/dist/chunks/{model-resolver-h94v5e48.js → tool-output-7vs0cdex.js} +8 -8
- package/dist/chunks/{model-resolver-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{model-resolver-gjvd2ca0.js → tool-output-82tp5md2.js} +18 -18
- package/dist/chunks/{model-resolver-ctkjerjk.js → tool-output-84xd3ck9.js} +11 -11
- package/dist/chunks/{model-resolver-3adw4bt5.js → tool-output-859w1rtj.js} +9 -9
- package/dist/chunks/{model-resolver-zeavkgg3.js → tool-output-86avcrjk.js} +53 -53
- package/dist/chunks/{model-resolver-89287pr7.js → tool-output-89287pr7.js} +1 -1
- package/dist/chunks/{model-resolver-25h84942.js → tool-output-8b3vzgkx.js} +4 -4
- package/dist/chunks/{model-resolver-t48jrnqq.js → tool-output-8bcc8xgx.js} +3 -3
- package/dist/chunks/{model-resolver-5whx36p1.js → tool-output-8cg7mtm3.js} +4 -4
- package/dist/chunks/{model-resolver-0y15sqga.js → tool-output-8es3pha2.js} +11 -11
- package/dist/chunks/{model-resolver-3kh0gcb1.js → tool-output-8k7v6zex.js} +31 -31
- package/dist/chunks/{model-resolver-4rbajnk5.js → tool-output-8mtba1r8.js} +16 -16
- package/dist/chunks/{model-resolver-psd8nhz2.js → tool-output-8qt3725k.js} +11 -11
- package/dist/chunks/{model-resolver-5vegt1x0.js → tool-output-8s6kmj6j.js} +18 -18
- package/dist/chunks/{model-resolver-jg1x7y7h.js → tool-output-8sb7jtsn.js} +9 -9
- package/dist/chunks/{model-resolver-530xg6vw.js → tool-output-8tntncgh.js} +6 -6
- package/dist/chunks/{model-resolver-fvg558bg.js → tool-output-8wf6ssj7.js} +9 -9
- package/dist/chunks/{model-resolver-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-sgtxanvd.js → tool-output-8z0hg1v8.js} +16 -16
- package/dist/chunks/{model-resolver-mb7mbhnz.js → tool-output-8z6m94af.js} +3 -3
- package/dist/chunks/{model-resolver-8zv0xmg5.js → tool-output-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-resolver-nt907s04.js → tool-output-94e33dpz.js} +3 -3
- package/dist/chunks/{model-resolver-963hk181.js → tool-output-963hk181.js} +2 -2
- package/dist/chunks/{model-resolver-7k6n85sm.js → tool-output-96xx1dfx.js} +8 -8
- package/dist/chunks/{model-resolver-p5gfs0ne.js → tool-output-9a6fp81b.js} +18 -18
- package/dist/chunks/{model-resolver-ywnm2ad1.js → tool-output-9agcw91x.js} +17 -17
- package/dist/chunks/{model-resolver-vme06a9b.js → tool-output-9d5kqehy.js} +7 -7
- package/dist/chunks/{model-resolver-teav1bzy.js → tool-output-9f3jsh1d.js} +9 -9
- package/dist/chunks/{model-resolver-fcazfteq.js → tool-output-9h6bxs7v.js} +16 -16
- package/dist/chunks/{model-resolver-y8bnb9h8.js → tool-output-9m0p3r86.js} +9 -9
- package/dist/chunks/{model-resolver-rg08ty0x.js → tool-output-a1158axp.js} +26 -26
- package/dist/chunks/{model-resolver-te265475.js → tool-output-a2wdj59m.js} +37 -37
- package/dist/chunks/{model-resolver-epha14vy.js → tool-output-aas93pws.js} +19 -19
- package/dist/chunks/{model-resolver-s1y60vvv.js → tool-output-advmt0dk.js} +32 -32
- package/dist/chunks/{model-resolver-034tev2y.js → tool-output-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-resolver-x5ra0hxg.js → tool-output-apskfwxe.js} +24 -24
- package/dist/chunks/{model-resolver-fknvcfgj.js → tool-output-asr2cxdd.js} +11 -11
- package/dist/chunks/{model-resolver-16t52pqt.js → tool-output-attk2q8p.js} +8 -8
- package/dist/chunks/{model-resolver-jsjn536r.js → tool-output-awzteez3.js} +43 -43
- package/dist/chunks/{model-resolver-vhyxqj1s.js → tool-output-awzz3xbb.js} +28 -28
- package/dist/chunks/{model-resolver-gtp06tzn.js → tool-output-b21wv7ed.js} +57 -57
- package/dist/chunks/{model-resolver-b26ddj6h.js → tool-output-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-resolver-hc1y14nv.js → tool-output-b389g4ja.js} +3 -3
- package/dist/chunks/{model-resolver-rg889x3e.js → tool-output-b3m9hx8r.js} +29 -29
- package/dist/chunks/{model-resolver-da06b4s7.js → tool-output-b568g037.js} +20 -20
- package/dist/chunks/{model-resolver-g3na21v9.js → tool-output-b83eccca.js} +21 -21
- package/dist/chunks/{model-resolver-8sxe6kv8.js → tool-output-bb3mmwvh.js} +2 -2
- package/dist/chunks/{model-resolver-emwwbyqs.js → tool-output-bda83dt6.js} +18 -18
- package/dist/chunks/{model-resolver-1yq9hg58.js → tool-output-bdhd9h6e.js} +5 -5
- package/dist/chunks/{model-resolver-aj8vk75y.js → tool-output-bg1byedf.js} +38 -38
- package/dist/chunks/{model-resolver-fbs1s4s5.js → tool-output-bg9k6bs1.js} +7 -7
- package/dist/chunks/{model-resolver-xk21k2xb.js → tool-output-bkrp8spp.js} +40 -40
- package/dist/chunks/{model-resolver-c2x10qzh.js → tool-output-bn590nze.js} +1 -1
- package/dist/chunks/{model-resolver-cc1wdjjp.js → tool-output-bpg8ww9r.js} +19 -19
- package/dist/chunks/{model-resolver-s8q9980p.js → tool-output-br1rk1d8.js} +2 -2
- package/dist/chunks/{model-resolver-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-6t791ah0.js → tool-output-bxb5sk2m.js} +8 -8
- package/dist/chunks/{model-resolver-pzd7a51q.js → tool-output-c10vhb1s.js} +29 -29
- package/dist/chunks/{model-resolver-3bgf9gas.js → tool-output-c1y5ddp5.js} +4 -4
- package/dist/chunks/{model-resolver-wt99tj4q.js → tool-output-c7cw818c.js} +5 -5
- package/dist/chunks/{model-resolver-fsqa7v6j.js → tool-output-caa8bsgq.js} +15 -15
- package/dist/chunks/{model-resolver-ha42g787.js → tool-output-chkfmxnp.js} +14 -14
- package/dist/chunks/{model-resolver-t6kpe0w9.js → tool-output-cjzj1fn2.js} +43 -43
- package/dist/chunks/{model-resolver-6kfx1qy7.js → tool-output-cnyqf1x5.js} +18 -18
- package/dist/chunks/{model-resolver-fkcm1skw.js → tool-output-ct8bprhy.js} +12 -12
- package/dist/chunks/{model-resolver-8bg7n6cy.js → tool-output-ctsgg6na.js} +36 -36
- package/dist/chunks/{model-resolver-qef5wpr2.js → tool-output-cvfbfeyy.js} +15 -15
- package/dist/chunks/{model-resolver-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-8hfctyyf.js → tool-output-cxab28sr.js} +7 -7
- package/dist/chunks/{model-resolver-txr8cjwm.js → tool-output-d2k9drs2.js} +36 -36
- package/dist/chunks/{model-resolver-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-aq0c685a.js → tool-output-d60j67zm.js} +26 -26
- package/dist/chunks/{model-resolver-axkdp7x4.js → tool-output-d93erz9q.js} +5 -5
- package/dist/chunks/{model-resolver-y85g5nsf.js → tool-output-datgb4jk.js} +17 -17
- package/dist/chunks/{model-resolver-nss8bwdy.js → tool-output-db2a1c48.js} +16 -16
- package/dist/chunks/{model-resolver-d4ddsjkz.js → tool-output-db7qshz7.js} +6 -6
- package/dist/chunks/{model-resolver-za1h6cmh.js → tool-output-dbwvxspc.js} +5 -5
- package/dist/chunks/{model-resolver-25f4tn1f.js → tool-output-dfnzn9vh.js} +35 -35
- package/dist/chunks/{model-resolver-crfn2jq4.js → tool-output-dn2wf2cm.js} +18 -18
- package/dist/chunks/{model-resolver-apxf9kk0.js → tool-output-dsgdd9af.js} +15 -15
- package/dist/chunks/{model-resolver-6fpa6ee2.js → tool-output-dstyzk9d.js} +11 -11
- package/dist/chunks/{model-resolver-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-90pag9bh.js → tool-output-dykdwr3m.js} +10 -10
- package/dist/chunks/tool-output-dypb56j1.js +16 -0
- package/dist/chunks/{model-resolver-5f7x8gmd.js → tool-output-dznmwy9y.js} +17 -17
- package/dist/chunks/{model-resolver-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-5ebpawpv.js → tool-output-e91bnj86.js} +55 -55
- package/dist/chunks/{model-resolver-wrqm41rr.js → tool-output-e98sygx4.js} +20 -20
- package/dist/chunks/{model-resolver-nj85fgyx.js → tool-output-efb2h0tf.js} +8 -8
- package/dist/chunks/{model-resolver-bjsh8jr1.js → tool-output-ej5xccqm.js} +12 -12
- package/dist/chunks/{model-resolver-m2hxkh02.js → tool-output-ek5zc4wj.js} +23 -23
- package/dist/chunks/{model-resolver-bn2zw3xc.js → tool-output-ek9dw54c.js} +5 -5
- package/dist/chunks/{model-resolver-x20pshzq.js → tool-output-enhg2w86.js} +85 -85
- package/dist/chunks/{model-resolver-8n6drvjh.js → tool-output-epw31qj3.js} +5 -5
- package/dist/chunks/{model-resolver-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-resolver-ytktxama.js → tool-output-ey95qdp6.js} +7 -7
- package/dist/chunks/{model-resolver-nbpgvrja.js → tool-output-f1css0vk.js} +7 -7
- package/dist/chunks/{model-resolver-cr44ae3x.js → tool-output-f32m8sjz.js} +5 -5
- package/dist/chunks/{model-resolver-qmns6g7h.js → tool-output-f6qmfjsy.js} +42 -42
- package/dist/chunks/{model-resolver-293g14mp.js → tool-output-f93nyw83.js} +13 -13
- package/dist/chunks/{model-resolver-nqyr67f6.js → tool-output-fd35w371.js} +6 -6
- package/dist/chunks/{model-resolver-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → tool-output-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-9k53ynq8.js → tool-output-ftxr9de1.js} +22 -22
- package/dist/chunks/{model-resolver-f2gbqpvw.js → tool-output-fywmx44k.js} +5 -5
- package/dist/chunks/{model-resolver-7f840skq.js → tool-output-g4v74gy6.js} +8 -8
- package/dist/chunks/{model-resolver-d642wqae.js → tool-output-g8ss8g50.js} +16 -16
- package/dist/chunks/{model-resolver-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-resolver-fsyjsbe8.js → tool-output-gh0a0yet.js} +36 -36
- package/dist/chunks/{model-resolver-sdt5j0rm.js → tool-output-ghrv1g9c.js} +4 -4
- package/dist/chunks/{model-resolver-8ex2vaqz.js → tool-output-gpdqad1a.js} +4 -4
- package/dist/chunks/{model-resolver-e0ptrsep.js → tool-output-gr5s4jpf.js} +23 -23
- package/dist/chunks/{model-resolver-26nyybnb.js → tool-output-gss5dtn7.js} +3 -3
- package/dist/chunks/{model-resolver-ktck1cjp.js → tool-output-gwyytpcj.js} +6 -6
- package/dist/chunks/{model-resolver-tg7s7b5t.js → tool-output-gxs71cxp.js} +4 -4
- package/dist/chunks/{model-resolver-hgzwgvze.js → tool-output-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-resolver-t1907cxx.js → tool-output-hqs9heqw.js} +29 -29
- package/dist/chunks/{model-resolver-e71bb87j.js → tool-output-hx6gesf1.js} +8 -8
- package/dist/chunks/{model-resolver-160yv0cs.js → tool-output-hy8c1z76.js} +8 -8
- package/dist/chunks/{model-resolver-wj9f81d9.js → tool-output-j0nnyps2.js} +11 -11
- package/dist/chunks/{model-resolver-c730cvbw.js → tool-output-j7357v1b.js} +88 -88
- package/dist/chunks/{model-resolver-b1egqa0g.js → tool-output-j8ymk4hy.js} +18 -18
- package/dist/chunks/{model-resolver-ze75qvmd.js → tool-output-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-resolver-ykee85ey.js → tool-output-jg2ddfwp.js} +18 -18
- package/dist/chunks/{model-resolver-r21c3xnz.js → tool-output-jgp0y5qn.js} +12 -12
- package/dist/chunks/{model-resolver-f9ay64ez.js → tool-output-jjvakfk1.js} +31 -31
- package/dist/chunks/{model-resolver-8thehkgp.js → tool-output-jjypkqta.js} +18 -18
- package/dist/chunks/{model-resolver-s26c8eb5.js → tool-output-jkdcm5hg.js} +4 -4
- package/dist/chunks/{model-resolver-4pw6mjnh.js → tool-output-jkn5rtas.js} +3 -3
- package/dist/chunks/{model-resolver-jm70asfg.js → tool-output-jm70asfg.js} +1 -1
- package/dist/chunks/{model-resolver-zrtqzpc7.js → tool-output-jq83ne4y.js} +11 -11
- package/dist/chunks/{model-resolver-8xpmpcne.js → tool-output-jybfs8t0.js} +18 -18
- package/dist/chunks/{model-resolver-4krr2nde.js → tool-output-jz12c36j.js} +3 -3
- package/dist/chunks/{model-resolver-vmqe41cb.js → tool-output-k46dd5bg.js} +4 -4
- package/dist/chunks/{model-resolver-qbg5x5nk.js → tool-output-k6b1bp76.js} +11 -11
- package/dist/chunks/{model-resolver-mphw11w2.js → tool-output-k6q7dw91.js} +12 -12
- package/dist/chunks/{model-resolver-6rccv5kh.js → tool-output-k7s197xe.js} +9 -9
- package/dist/chunks/{model-resolver-t9qtt0fb.js → tool-output-kkjracqa.js} +41 -41
- package/dist/chunks/{model-resolver-k742f7an.js → tool-output-kpspnksh.js} +18 -18
- package/dist/chunks/{model-resolver-4r2ajar3.js → tool-output-kxb757dg.js} +12 -12
- package/dist/chunks/{model-resolver-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-resolver-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-9gq99r53.js → tool-output-m8t2y0qs.js} +10 -10
- package/dist/chunks/{model-resolver-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-bqx0pjzp.js → tool-output-mcvcgm5m.js} +49 -49
- package/dist/chunks/{model-resolver-sb76bcem.js → tool-output-md34ywgb.js} +14 -14
- package/dist/chunks/{model-resolver-cx3hb6ey.js → tool-output-mfcbms8m.js} +22 -22
- package/dist/chunks/{model-resolver-mm06edep.js → tool-output-mm06edep.js} +1 -1
- package/dist/chunks/{model-resolver-knw5e895.js → tool-output-mt08kc5k.js} +27 -27
- package/dist/chunks/{model-resolver-yw62prwp.js → tool-output-mz3yeka1.js} +12 -12
- package/dist/chunks/{model-resolver-r9cgykq9.js → tool-output-mzx98nth.js} +25 -25
- package/dist/chunks/{model-resolver-424veqmr.js → tool-output-n0nwj008.js} +16 -16
- package/dist/chunks/{model-resolver-sbtnyaht.js → tool-output-n22gydq7.js} +6 -6
- package/dist/chunks/{model-resolver-xvn8mnch.js → tool-output-n320gsn2.js} +4 -4
- package/dist/chunks/{model-resolver-r7zrbnjn.js → tool-output-n3j33rb6.js} +4 -4
- package/dist/chunks/{model-resolver-v3jt56e1.js → tool-output-n9m69xxk.js} +15 -15
- package/dist/chunks/{model-resolver-mn28p41s.js → tool-output-njh4zndm.js} +4 -4
- package/dist/chunks/tool-output-nppesfk1.js +26 -0
- package/dist/chunks/{model-resolver-wegkxhrn.js → tool-output-nx4vzyjd.js} +2 -2
- package/dist/chunks/{model-resolver-0nmph3wa.js → tool-output-nya18z02.js} +12 -12
- package/dist/chunks/{model-resolver-qt75d4zp.js → tool-output-p01bqjxz.js} +5 -5
- package/dist/chunks/{model-resolver-8qd8xmta.js → tool-output-p1me9hyr.js} +3 -3
- package/dist/chunks/{model-resolver-gtsr79pn.js → tool-output-p3dt4ndx.js} +26 -26
- package/dist/chunks/{model-resolver-wt01axzz.js → tool-output-pbktqf9j.js} +33 -33
- package/dist/chunks/{model-resolver-5j4k0msb.js → tool-output-pdz32a5b.js} +16 -16
- package/dist/chunks/{model-resolver-xm1rq0mn.js → tool-output-pen16d07.js} +6 -6
- package/dist/chunks/{model-resolver-9nkyp312.js → tool-output-pj8n2fxh.js} +32 -32
- package/dist/chunks/{model-resolver-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-gcd56e55.js → tool-output-q23j4ct5.js} +27 -27
- package/dist/chunks/{model-resolver-z5kgqz4s.js → tool-output-q40rcvpc.js} +15 -15
- package/dist/chunks/{model-resolver-7majwt7k.js → tool-output-q67rhxf6.js} +30 -30
- package/dist/chunks/{model-resolver-t742eyav.js → tool-output-q71dwpr5.js} +23 -23
- package/dist/chunks/{model-resolver-fwc8hngx.js → tool-output-qfkpqzw9.js} +4 -4
- package/dist/chunks/{model-resolver-k9xvfvyx.js → tool-output-qkk2754p.js} +6 -6
- package/dist/chunks/{model-resolver-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-nrw2j6d4.js → tool-output-qqd8ek33.js} +8 -8
- package/dist/chunks/{model-resolver-77gvcwrw.js → tool-output-qrpxx080.js} +41 -41
- package/dist/chunks/{model-resolver-qsdghx1p.js → tool-output-qsdghx1p.js} +1 -1
- package/dist/chunks/{model-resolver-8t99kr38.js → tool-output-r17fbvme.js} +4 -4
- package/dist/chunks/{model-resolver-zdq92zr8.js → tool-output-r905v30k.js} +7 -7
- package/dist/chunks/{model-resolver-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-bjsqebk6.js → tool-output-rc9g1r3e.js} +51 -51
- package/dist/chunks/{model-resolver-7h09t6vy.js → tool-output-rcbjwvze.js} +4 -4
- package/dist/chunks/{model-resolver-efb1daz1.js → tool-output-reg4rgy2.js} +13 -13
- package/dist/chunks/{model-resolver-rgc9cx3e.js → tool-output-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-resolver-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-adn5hbq3.js → tool-output-s09w9gh7.js} +11 -11
- package/dist/chunks/{model-resolver-j1ask773.js → tool-output-s1s66k8m.js} +6 -6
- package/dist/chunks/{model-resolver-2g0ar3nh.js → tool-output-s35ykf9f.js} +4 -4
- package/dist/chunks/{model-resolver-0zbvvfdb.js → tool-output-s4vybfw2.js} +22 -22
- package/dist/chunks/{model-resolver-dg5naf6e.js → tool-output-s79v6bct.js} +4 -4
- package/dist/chunks/{model-resolver-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{model-resolver-r3xas383.js → tool-output-sdt88w9k.js} +11 -11
- package/dist/chunks/{model-resolver-es9bhtwg.js → tool-output-sfcft2xb.js} +27 -27
- package/dist/chunks/{model-resolver-rt18gyq5.js → tool-output-sm06k54w.js} +11 -11
- package/dist/chunks/{model-resolver-q7kt9bgk.js → tool-output-sme2ap3q.js} +36 -36
- package/dist/chunks/{model-resolver-b4as5qea.js → tool-output-sp093y3d.js} +85 -85
- package/dist/chunks/{model-resolver-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-b7ajv3td.js → tool-output-swzmrt6r.js} +5 -5
- package/dist/chunks/{model-resolver-16prz1ep.js → tool-output-t0sa308v.js} +8 -8
- package/dist/chunks/{model-resolver-ea2sb0gq.js → tool-output-t5wykxxe.js} +19 -19
- package/dist/chunks/{model-resolver-rx3mgszk.js → tool-output-t71smtcf.js} +25 -25
- package/dist/chunks/{model-resolver-w48gbg6x.js → tool-output-t8tkzwg3.js} +8 -8
- package/dist/chunks/{model-resolver-62zd5tzk.js → tool-output-tb2mrvc9.js} +7 -7
- package/dist/chunks/{model-resolver-tbpn7jtk.js → tool-output-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-resolver-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-bdebq1ap.js → tool-output-td7hmskk.js} +17 -17
- package/dist/chunks/{model-resolver-3nw1k2zv.js → tool-output-tg41wyw1.js} +8 -8
- package/dist/chunks/{model-resolver-2bkra2hq.js → tool-output-tj5rm3w6.js} +8 -8
- package/dist/chunks/{model-resolver-vxcdg492.js → tool-output-tpd9xyak.js} +20 -20
- package/dist/chunks/{model-resolver-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
- package/dist/chunks/{model-resolver-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-844xcd9v.js → tool-output-ty6wvc9t.js} +23 -23
- package/dist/chunks/{model-resolver-39sgvy3e.js → tool-output-tycv7n3a.js} +4 -4
- package/dist/chunks/{model-resolver-1ay57j6c.js → tool-output-tzzc8f5f.js} +17 -17
- package/dist/chunks/{model-resolver-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-bxg7f7wz.js → tool-output-v3q90ykh.js} +45 -45
- package/dist/chunks/{model-resolver-2cz5jp9j.js → tool-output-v98t9dfd.js} +9 -9
- package/dist/chunks/{model-resolver-a3fn0gmm.js → tool-output-v9vs06em.js} +2 -2
- package/dist/chunks/{model-resolver-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-resolver-kgdnhpch.js → tool-output-vkhhyj20.js} +9 -9
- package/dist/chunks/{model-resolver-qa34d95v.js → tool-output-vkye3xhj.js} +22 -22
- package/dist/chunks/{model-resolver-qyh1x08y.js → tool-output-vp3sexph.js} +19 -19
- package/dist/chunks/{model-resolver-0arnxmba.js → tool-output-vrjma5pw.js} +11 -11
- package/dist/chunks/{model-resolver-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-78chxwwj.js → tool-output-w4x883pm.js} +14 -14
- package/dist/chunks/{model-resolver-wr3re1en.js → tool-output-w687dnns.js} +4 -4
- package/dist/chunks/{model-resolver-2kg89srt.js → tool-output-w79nt68w.js} +4 -4
- package/dist/chunks/{model-resolver-k01n733z.js → tool-output-w82e6fwg.js} +13 -13
- package/dist/chunks/{model-resolver-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-ztbda904.js → tool-output-wb1hm0nx.js} +4 -4
- package/dist/chunks/{model-resolver-jqknj5pf.js → tool-output-wbekk3s5.js} +19 -19
- package/dist/chunks/{model-resolver-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-khqrnh1g.js → tool-output-wkjh11z9.js} +32 -32
- package/dist/chunks/{model-resolver-9b40hqz5.js → tool-output-wn0y3bh5.js} +17 -17
- package/dist/chunks/{model-resolver-qm0rg8rs.js → tool-output-wvd98qvw.js} +13 -13
- package/dist/chunks/{model-resolver-55mv56yt.js → tool-output-wwtvn2r7.js} +9 -9
- package/dist/chunks/{model-resolver-ecgc45x3.js → tool-output-x01688y8.js} +4 -4
- package/dist/chunks/{model-resolver-j43gwz94.js → tool-output-x35fem2t.js} +6 -6
- package/dist/chunks/{model-resolver-qezbz7k4.js → tool-output-x7c9525x.js} +14 -14
- package/dist/chunks/{model-resolver-xbwyvq27.js → tool-output-xe0azdk2.js} +15 -15
- package/dist/chunks/{model-resolver-xxschbft.js → tool-output-xjr6c8m4.js} +4 -4
- package/dist/chunks/{model-resolver-8xz27cp9.js → tool-output-xksw6ev0.js} +4 -4
- package/dist/chunks/{model-resolver-7nqkf5r1.js → tool-output-xz07m27x.js} +2 -2
- package/dist/chunks/{model-resolver-jv5ccajn.js → tool-output-y3p3hzkr.js} +5 -5
- package/dist/chunks/{model-resolver-7a2bwsmz.js → tool-output-y4n6pw34.js} +4 -4
- package/dist/chunks/{model-resolver-6pxtshje.js → tool-output-y7sn8ta3.js} +10 -10
- package/dist/chunks/{model-resolver-dy77j9k9.js → tool-output-y9vg62pk.js} +31 -31
- package/dist/chunks/{model-resolver-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-tcmngs5t.js → tool-output-ye8mxkrd.js} +5 -5
- package/dist/chunks/{model-resolver-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{model-resolver-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-resolver-sf9y72b7.js → tool-output-z080rjh6.js} +4 -4
- package/dist/chunks/{model-resolver-r88dn4za.js → tool-output-z0ba74q1.js} +14 -14
- package/dist/chunks/tool-output-z7bdqmx5.js +18 -0
- package/dist/chunks/{model-resolver-fvpy6jgn.js → tool-output-z92v41hq.js} +15 -15
- package/dist/chunks/{model-resolver-r5evet85.js → tool-output-zga7pkaw.js} +19 -19
- package/dist/chunks/{model-resolver-by8ty0bx.js → tool-output-zpdbqgja.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +90 -90
- package/dist/config/discovery.js +97 -97
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- 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 +128 -128
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- 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 +130 -130
- 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 +7 -7
- 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 +83 -83
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +83 -83
- 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 +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +112 -112
- package/dist/git.js +9 -9
- 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 +431 -431
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- 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 +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- 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 +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- 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 +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- 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 +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 +3 -3
- 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 +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.js +159 -159
- 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 +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- 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 +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- 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 +97 -97
- package/dist/provider.js +112 -112
- 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 +99 -99
- 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 +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- 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 +252 -252
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +204 -204
- 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 +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- 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 +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- 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 +6 -6
- package/dist/skill/instructions.js +154 -154
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +167 -167
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- 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 +165 -165
- 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 +5 -5
- 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 +100 -100
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/model-resolver-692b72pa.js +0 -577
- package/dist/chunks/model-resolver-82dat0k4.js +0 -265
- package/dist/chunks/model-resolver-8x060fmy.js +0 -18
- package/dist/chunks/model-resolver-g3wp5e7k.js +0 -26
- package/dist/chunks/model-resolver-m6cfdtf3.js +0 -16
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-108x4f4w.js → tool-output-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3af0jn4w.js → tool-output-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bhmrqjy3.js → tool-output-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{model-resolver-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x4th4bpe.js → tool-output-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z0h12gs8.js → tool-output-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zxpyjp51.js → tool-output-zxpyjp51.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
8
|
Service92,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node96
|
|
10
|
+
} from "./tool-output-j0nnyps2.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-8cg7mtm3.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node67
|
|
18
|
+
} from "./tool-output-tg41wyw1.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service63,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node66
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service63 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service63,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node96, node67]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service92).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service86, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info15({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service86, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service63.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID10.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
168
168
|
if (existing) {
|
|
169
169
|
if (existing.provider === input.provider)
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service86, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node66 = configured8();
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { ID10, Info15, NotFound2, CreateConflict2, Service63, configured8, node66, exports_workspace };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin20,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin20 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin20, exports_goal };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update2(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const updateOwnedAssistant = (messageID, recipe) => Effect.gen(function* () {
|
|
28
28
|
const assistant = yield* adapter.getAssistant(messageID);
|
|
@@ -380,4 +380,4 @@ function update3(adapter, event) {
|
|
|
380
380
|
return project(event);
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
export {
|
|
383
|
+
export { update2, exports_message_updater };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-jjvakfk1.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-pbktqf9j.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-r17fbvme.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./tool-output-3dv3xr36.js";
|
|
15
15
|
import {
|
|
16
16
|
supports2,
|
|
17
17
|
resolve3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-gss5dtn7.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-mm06edep.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
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
ConfigProviderPlugin: () =>
|
|
30
|
-
Plugin: () =>
|
|
27
|
+
var exports_provider3 = {};
|
|
28
|
+
__export(exports_provider3, {
|
|
29
|
+
ConfigProviderPlugin: () => exports_provider3,
|
|
30
|
+
Plugin: () => Plugin24,
|
|
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 Plugin24 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service79;
|
|
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 { Plugin24, integrate2, exports_provider3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node94
|
|
4
|
+
} from "./tool-output-0eh4k10z.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
@@ -17,11 +17,11 @@ __export(exports_agent3, {
|
|
|
17
17
|
Color: () => Color2,
|
|
18
18
|
Event: () => Event13,
|
|
19
19
|
ID: () => ID13,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info17,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service75,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node78
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
@@ -31,11 +31,11 @@ var ID13 = Agent.ID;
|
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
32
|
var defaultID2 = ID13.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info17 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service75 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service90;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info17.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service75.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node94] });
|
|
106
106
|
|
|
107
|
-
export { ID13, Name3, defaultID2, Color2,
|
|
107
|
+
export { ID13, Name3, defaultID2, Color2, Info17, Service75, node78, exports_agent3, Event13 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./tool-output-7cgey06n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./tool-output-x7c9525x.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./tool-output-67x723b4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service20,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-t71smtcf.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-89287pr7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service58,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-pdz32a5b.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
NotFoundError9,
|
|
33
|
+
Service56
|
|
34
|
+
} from "./tool-output-mcvcgm5m.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service30
|
|
37
|
+
} from "./tool-output-j7357v1b.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-output-x01688y8.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
|
-
var
|
|
47
|
-
__export(
|
|
46
|
+
var exports_shell2 = {};
|
|
47
|
+
__export(exports_shell2, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
51
|
-
ShellTool: () =>
|
|
52
|
-
name: () =>
|
|
49
|
+
Input: () => Input8,
|
|
50
|
+
Plugin: () => Plugin45,
|
|
51
|
+
ShellTool: () => exports_shell2,
|
|
52
|
+
name: () => name8
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name8 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input8 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -113,18 +113,18 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin45 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service30;
|
|
120
|
+
const jobs = yield* Service53;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service62;
|
|
123
|
+
const access = yield* Service20;
|
|
124
|
+
const shell = yield* Service56;
|
|
125
|
+
const shellSelect = yield* Service58;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
|
-
const permission = yield*
|
|
127
|
+
const permission = yield* Service72;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
129
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
130
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +137,7 @@ var Plugin8 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name8,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -172,10 +172,10 @@ var Plugin8 = {
|
|
|
172
172
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
173
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
174
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
175
|
+
name: name8,
|
|
176
176
|
options: { codemode: false },
|
|
177
177
|
description: description(),
|
|
178
|
-
input:
|
|
178
|
+
input: Input8,
|
|
179
179
|
output: Output,
|
|
180
180
|
execute: (input, context) => Effect.gen(function* () {
|
|
181
181
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -198,7 +198,7 @@ var Plugin8 = {
|
|
|
198
198
|
const run = Effect.gen(function* () {
|
|
199
199
|
const result = yield* shell.result(info);
|
|
200
200
|
if (!result.capture)
|
|
201
|
-
return yield* new
|
|
201
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
202
202
|
const output = output2(result);
|
|
203
203
|
return {
|
|
204
204
|
...output,
|
|
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
212
212
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
213
|
const job = yield* jobs.start({
|
|
214
214
|
id: info.id,
|
|
215
|
-
type:
|
|
215
|
+
type: name8,
|
|
216
216
|
title: info.command,
|
|
217
217
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
218
218
|
recovery: {
|
|
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
242
242
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
243
243
|
})).pipe(Effect.orDie);
|
|
244
244
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
245
|
+
const tool = event.tools[name8];
|
|
246
246
|
if (!tool)
|
|
247
247
|
return;
|
|
248
248
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin45, exports_shell2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node94
|
|
4
|
+
} from "./tool-output-0eh4k10z.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-pdz32a5b.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_persistent_pty, {
|
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
20
|
NotFoundError: () => NotFoundError4,
|
|
21
|
-
Options: () =>
|
|
21
|
+
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service24,
|
|
24
24
|
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
|
-
configured: () =>
|
|
27
|
+
configured: () => configured3,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -45,7 +45,7 @@ import { Global } from "@opencode/util/global";
|
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
47
|
import { available as available3 } from "#persistent-pty-binary";
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service90;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service24.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -262,12 +262,12 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
264
|
var layer12 = makeLayer();
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var configured3 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service24,
|
|
267
267
|
layer: options === undefined ? layer12 : makeLayer(options),
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node94, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node28 = configured3();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
273
|
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options3, UnavailableError5, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service24, layer12, configured3, node28, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./tool-output-jybfs8t0.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-94e33dpz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./tool-output-3dv3xr36.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make17,
|
|
24
24
|
source: () => source2
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -32,9 +32,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { readFile, stat } from "node:fs/promises";
|
|
34
34
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
35
|
-
var
|
|
36
|
-
const config = yield*
|
|
37
|
-
const watcher = yield*
|
|
35
|
+
var make17 = Effect.fn("PluginModule.make")(function* () {
|
|
36
|
+
const config = yield* Service79;
|
|
37
|
+
const watcher = yield* Service80;
|
|
38
38
|
const scope = yield* Effect.scope;
|
|
39
39
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
40
40
|
const changes = yield* PubSub.unbounded();
|
|
@@ -138,4 +138,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
138
138
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { make17, source2, LoadError2, exports_module };
|