@opencode/core 0.0.0-dev-20723 → 0.0.0-dev-20728
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{vcs-yx57bgcq.js → schema-02g264nc.js} +4 -4
- package/dist/chunks/{vcs-w52nmrah.js → schema-04ct73zt.js} +15 -15
- package/dist/chunks/{vcs-7jfftv5p.js → schema-0ce7fh3z.js} +10 -10
- package/dist/chunks/{vcs-956c9a2b.js → schema-0dqvt60g.js} +1 -1
- package/dist/chunks/{vcs-hspafk43.js → schema-0enxvnkq.js} +15 -15
- package/dist/chunks/{vcs-0j77ygfz.js → schema-0j77ygfz.js} +2 -2
- package/dist/chunks/{vcs-6fqhqgbm.js → schema-0kjv6zqm.js} +1 -1
- package/dist/chunks/{vcs-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-07wgvsh6.js → schema-0ps91a7a.js} +22 -22
- package/dist/chunks/{vcs-2hr5nhwa.js → schema-0t9wd588.js} +8 -8
- package/dist/chunks/{vcs-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-04yyf4qt.js → schema-0y5bnsvv.js} +18 -18
- package/dist/chunks/{vcs-6t0whsax.js → schema-174q612y.js} +1 -1
- package/dist/chunks/{vcs-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-4xgn8f08.js → schema-1v4g0mnm.js} +23 -23
- package/dist/chunks/{vcs-ypjhjecy.js → schema-1wn14s7w.js} +15 -15
- package/dist/chunks/{vcs-33w4ejhs.js → schema-1ygqh575.js} +6 -6
- package/dist/chunks/{vcs-49q8yaxv.js → schema-21wwxtv3.js} +13 -13
- package/dist/chunks/{vcs-9vj6bm7e.js → schema-24xn4nrh.js} +32 -32
- package/dist/chunks/{vcs-fcy0w2k8.js → schema-2663q2cr.js} +17 -17
- package/dist/chunks/{vcs-txq8pc04.js → schema-28qgffdg.js} +21 -21
- package/dist/chunks/{vcs-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-7bw0yazn.js → schema-2b5wyz52.js} +11 -11
- package/dist/chunks/{vcs-2ccvkpx1.js → schema-2ccvkpx1.js} +2 -2
- package/dist/chunks/schema-2hm1ng2y.js +253 -0
- package/dist/chunks/{vcs-y83bvz77.js → schema-2hmemtj6.js} +6 -6
- package/dist/chunks/{vcs-13gmnxv8.js → schema-2s47eas1.js} +20 -20
- package/dist/chunks/{vcs-vxzvcjag.js → schema-2zds0nxm.js} +24 -24
- package/dist/chunks/{vcs-h2b79v29.js → schema-3cegwx68.js} +2 -2
- package/dist/chunks/{vcs-5we17rd7.js → schema-3chxap05.js} +11 -11
- package/dist/chunks/{vcs-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-63tw2y7q.js → schema-3k6hnjpv.js} +316 -316
- package/dist/chunks/{vcs-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-1cgp65pm.js → schema-3v4eqn68.js} +12 -12
- package/dist/chunks/{vcs-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-h4jdqfnm.js → schema-45y05w21.js} +2 -2
- package/dist/chunks/{vcs-80hejsm3.js → schema-460nts6z.js} +21 -21
- package/dist/chunks/{vcs-pqqhfkp1.js → schema-47rn6gb0.js} +6 -6
- package/dist/chunks/{vcs-t03rxstc.js → schema-4922bdcs.js} +26 -26
- package/dist/chunks/{vcs-0nnqgx98.js → schema-4erjtqpw.js} +5 -5
- package/dist/chunks/{vcs-qzeprjkv.js → schema-4n4r02ph.js} +23 -23
- package/dist/chunks/{vcs-tsvrf6ne.js → schema-4qh5k59y.js} +13 -13
- package/dist/chunks/{vcs-n2dx4brw.js → schema-4vpz4hmt.js} +15 -15
- package/dist/chunks/{vcs-q9xpq9q1.js → schema-4xr8m0aa.js} +33 -20
- package/dist/chunks/{vcs-1rn5pcm9.js → schema-4z58m4b4.js} +4 -4
- package/dist/chunks/{vcs-qs2h65bq.js → schema-4zmcj57q.js} +15 -15
- package/dist/chunks/{vcs-xfkkasph.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{vcs-wa0pn2s4.js → schema-5byh5fbq.js} +15 -15
- package/dist/chunks/{vcs-fjs5xx1d.js → schema-5epte933.js} +2 -2
- package/dist/chunks/{vcs-5750az6h.js → schema-5gh2y96e.js} +8 -8
- package/dist/chunks/{vcs-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-1h9s09mr.js → schema-5vnqvhdy.js} +19 -19
- package/dist/chunks/{vcs-pnw2nq81.js → schema-5xtbbr0r.js} +19 -19
- package/dist/chunks/{vcs-1ajx6rf5.js → schema-5yzzbxa7.js} +8 -8
- package/dist/chunks/{vcs-z3nkt1j3.js → schema-69ct9x9k.js} +7 -7
- package/dist/chunks/{vcs-r9yzpxjv.js → schema-6gkjayg0.js} +11 -11
- package/dist/chunks/{vcs-19yw5azz.js → schema-6gvr7rcm.js} +67 -67
- package/dist/chunks/{vcs-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-22q3b961.js → schema-6yk1gpns.js} +2 -2
- package/dist/chunks/{vcs-57myy5jh.js → schema-6yz0wx8n.js} +5 -5
- package/dist/chunks/{vcs-g6gmb5yh.js → schema-6zaqt7dr.js} +7 -7
- package/dist/chunks/{vcs-we0nggcz.js → schema-78tqvked.js} +24 -24
- package/dist/chunks/{vcs-szm2718d.js → schema-7bda4q4e.js} +6 -6
- package/dist/chunks/{vcs-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-dwzaxvp4.js → schema-7dcnqvbr.js} +23 -23
- package/dist/chunks/{vcs-zrzkxtqn.js → schema-7vayj4m5.js} +8 -8
- package/dist/chunks/{vcs-bet956c8.js → schema-7vyzxw8y.js} +14 -14
- package/dist/chunks/{vcs-fgbyx8j7.js → schema-7yymr8c1.js} +18 -18
- package/dist/chunks/{vcs-ychfnym3.js → schema-80gr5d03.js} +11 -11
- package/dist/chunks/{vcs-tn9ec2vd.js → schema-82kvrph2.js} +16 -16
- package/dist/chunks/{vcs-0pjmp4n2.js → schema-840fpbhq.js} +1 -1
- package/dist/chunks/{vcs-1dvck2a7.js → schema-84h8c373.js} +2 -2
- package/dist/chunks/{vcs-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{vcs-a251rf9t.js → schema-8byxt7bq.js} +136 -136
- package/dist/chunks/{vcs-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-csn9490h.js → schema-8jzt4s7q.js} +46 -46
- package/dist/chunks/{vcs-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-hcw1qacz.js → schema-8xpvx0xf.js} +22 -22
- package/dist/chunks/{vcs-k0r5xdxg.js → schema-8zv3wp18.js} +27 -27
- package/dist/chunks/{vcs-4q42yqz9.js → schema-93qeztph.js} +14 -14
- package/dist/chunks/{vcs-8x0r4hhp.js → schema-9795rgjt.js} +4 -4
- package/dist/chunks/{vcs-xcvh5wbc.js → schema-989f601q.js} +14 -14
- package/dist/chunks/{vcs-6z3x1np0.js → schema-9adgdhyd.js} +4 -4
- package/dist/chunks/{vcs-s4kvt3fr.js → schema-9c0xcsgg.js} +20 -20
- package/dist/chunks/{vcs-rckkhj3g.js → schema-9ja4ygxc.js} +17 -17
- package/dist/chunks/{vcs-rhjbct0v.js → schema-9t7a50xb.js} +4 -4
- package/dist/chunks/{vcs-xf5kteyf.js → schema-9yrh9n06.js} +1 -1
- package/dist/chunks/{vcs-a1gpj94z.js → schema-a1gpj94z.js} +1 -1
- package/dist/chunks/{vcs-dwjkk65h.js → schema-a1jye2k7.js} +8 -8
- package/dist/chunks/{vcs-a2ew8a62.js → schema-a2ew8a62.js} +1 -1
- package/dist/chunks/{vcs-a3c7ahw6.js → schema-a3c7ahw6.js} +1 -1
- package/dist/chunks/{vcs-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-jyxdbt71.js → schema-abtvfq1n.js} +27 -27
- package/dist/chunks/{vcs-addxnjmp.js → schema-addxnjmp.js} +1 -1
- package/dist/chunks/{vcs-8ybr1j9f.js → schema-ajbv8hsx.js} +15 -15
- package/dist/chunks/{vcs-mytw81tk.js → schema-aw65rq9m.js} +2 -2
- package/dist/chunks/{vcs-wc42rgsf.js → schema-b4sr5cxy.js} +4 -4
- package/dist/chunks/{vcs-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-a86j6ah1.js → schema-b703kh14.js} +4 -4
- package/dist/chunks/{vcs-0s2jvk1v.js → schema-b7j864yj.js} +26 -26
- package/dist/chunks/{vcs-vzgd1kv9.js → schema-bahvtqv2.js} +15 -15
- package/dist/chunks/{vcs-c0pnaphe.js → schema-bghdypt9.js} +11 -11
- package/dist/chunks/{vcs-1xzpbkn4.js → schema-bn3rhc52.js} +8 -8
- package/dist/chunks/{vcs-wwycyvg2.js → schema-bskqsgt5.js} +9 -9
- package/dist/chunks/{vcs-mg3qwnkj.js → schema-bv9672m4.js} +9 -9
- package/dist/chunks/{vcs-m7wr2zvh.js → schema-ca5q3sa4.js} +3 -3
- package/dist/chunks/{vcs-gakkbf5f.js → schema-cb8p393h.js} +14 -14
- package/dist/chunks/{vcs-0me6j0h2.js → schema-crh2qmpd.js} +11 -11
- package/dist/chunks/{vcs-2sejkfem.js → schema-cwa6csj7.js} +9 -9
- package/dist/chunks/{vcs-kq6723p0.js → schema-cznmaky0.js} +30 -30
- package/dist/chunks/{vcs-x68akpvm.js → schema-daptfcmc.js} +16 -16
- package/dist/chunks/{vcs-0c9wqyy8.js → schema-dh0webm5.js} +14 -14
- package/dist/chunks/{vcs-4ttfntha.js → schema-dh3p6hwj.js} +21 -21
- package/dist/chunks/{vcs-nxm207yx.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-jddbe3s4.js → schema-e9w2ffer.js} +12 -12
- package/dist/chunks/{vcs-n89qam4x.js → schema-eayw6x4j.js} +3 -3
- package/dist/chunks/{vcs-25b99zps.js → schema-eday4pdr.js} +42 -42
- package/dist/chunks/{vcs-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-et7yaydb.js → schema-efxe2svv.js} +11 -11
- package/dist/chunks/{vcs-fq9618wy.js → schema-eqv7r0bw.js} +6 -6
- package/dist/chunks/{vcs-t0gjdka1.js → schema-erbnzk8y.js} +45 -45
- package/dist/chunks/{vcs-czrbczn7.js → schema-erjffywh.js} +18 -18
- package/dist/chunks/{vcs-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-fqhd525k.js → schema-ew7x097j.js} +33 -33
- package/dist/chunks/{vcs-xfpnc088.js → schema-f06qsttd.js} +34 -34
- package/dist/chunks/{vcs-71az546q.js → schema-f75zav2x.js} +2 -2
- package/dist/chunks/{vcs-nzqy64wh.js → schema-f9bf6ave.js} +11 -11
- package/dist/chunks/{vcs-fcrkznn8.js → schema-fcrkznn8.js} +1 -1
- package/dist/chunks/{vcs-mgpyf44b.js → schema-fg6c7q2e.js} +8 -8
- package/dist/chunks/{vcs-3bc8czyk.js → schema-fhz5gfgy.js} +5 -5
- package/dist/chunks/{vcs-3y6k4917.js → schema-fjb6gf5c.js} +35 -35
- package/dist/chunks/{vcs-64kp7p04.js → schema-ft5semx5.js} +26 -26
- package/dist/chunks/{vcs-vz7d5c1g.js → schema-g2y161wv.js} +8 -8
- package/dist/chunks/{vcs-pce6pjhv.js → schema-g46t4tqm.js} +10 -10
- package/dist/chunks/{vcs-9kbad57x.js → schema-g5x9spb3.js} +12 -12
- package/dist/chunks/{vcs-8s9b4wpd.js → schema-gaphvq12.js} +11 -11
- package/dist/chunks/{vcs-68wqtz75.js → schema-gd0tnyjc.js} +1 -1
- package/dist/chunks/{vcs-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-75a1c4v1.js → schema-gva94evv.js} +9 -9
- package/dist/chunks/{vcs-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-5jdc83g9.js → schema-h74kgs22.js} +24 -24
- package/dist/chunks/{vcs-0pd58yjc.js → schema-hd4remjx.js} +20 -20
- package/dist/chunks/{vcs-g5bbch9r.js → schema-hdnjgwej.js} +26 -26
- package/dist/chunks/{vcs-37sfe3bm.js → schema-hgtd7sxh.js} +12 -12
- package/dist/chunks/{vcs-h0qj2v5j.js → schema-hk2k4rxs.js} +1 -1
- package/dist/chunks/{vcs-hn57h045.js → schema-hn57h045.js} +1 -1
- package/dist/chunks/{vcs-27gmch2w.js → schema-hvfbn6et.js} +1 -1
- package/dist/chunks/{vcs-dnx92wgp.js → schema-j1fsx5qw.js} +32 -32
- package/dist/chunks/{vcs-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-kgdwkpsf.js → schema-j9hprypc.js} +11 -11
- package/dist/chunks/{vcs-h4n0vpmw.js → schema-jgjgcm7r.js} +4 -4
- package/dist/chunks/{vcs-j7n56pbn.js → schema-jn24yy65.js} +79 -79
- package/dist/chunks/{vcs-59q5jc6n.js → schema-jsczegrp.js} +16 -16
- package/dist/chunks/{vcs-zfbhwvgy.js → schema-jta96yax.js} +8 -8
- package/dist/chunks/schema-jtr36q24.js +26 -0
- package/dist/chunks/{vcs-37ea9c2d.js → schema-k1gkpfdk.js} +8 -8
- package/dist/chunks/{vcs-fb58p62m.js → schema-k5mqd01k.js} +8 -8
- package/dist/chunks/{vcs-0nzb3xm7.js → schema-k60d36ch.js} +22 -22
- package/dist/chunks/{vcs-9fxzk225.js → schema-ka78afm3.js} +7 -7
- package/dist/chunks/{vcs-4eq8w0dz.js → schema-kb6gw2zp.js} +4 -4
- package/dist/chunks/{vcs-9e5bzkjp.js → schema-kb9j3d72.js} +3 -3
- package/dist/chunks/{vcs-jcfbsand.js → schema-kr1ymz84.js} +26 -26
- package/dist/chunks/{vcs-nz4xs60n.js → schema-kt27ghqn.js} +5 -5
- package/dist/chunks/{vcs-ae1t3fda.js → schema-kt83d922.js} +12 -12
- package/dist/chunks/{vcs-2q8c0gm7.js → schema-kvjzkr2v.js} +9 -9
- package/dist/chunks/{vcs-y9e6dd6b.js → schema-kwa05qgn.js} +16 -16
- package/dist/chunks/{vcs-k51kyevv.js → schema-kxhhe7ks.js} +13 -13
- package/dist/chunks/{vcs-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-cvrb0wmz.js → schema-m3t9151j.js} +28 -28
- package/dist/chunks/{vcs-b5m1msdc.js → schema-m87mmgzw.js} +33 -33
- package/dist/chunks/{vcs-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-hj3s3aqk.js → schema-ma3d88bb.js} +32 -32
- package/dist/chunks/{vcs-vmyd8gm7.js → schema-mhrxr73y.js} +17 -17
- package/dist/chunks/{vcs-1q5c5pmz.js → schema-mz7wxez8.js} +34 -34
- package/dist/chunks/{vcs-td95gcyn.js → schema-n4pjvd7j.js} +9 -9
- package/dist/chunks/{vcs-vp58kcp5.js → schema-n5jf03an.js} +11 -11
- package/dist/chunks/{vcs-wjw0s51h.js → schema-n7p1k2qf.js} +5 -5
- package/dist/chunks/{vcs-k70p9jzb.js → schema-n8sna2wb.js} +9 -9
- package/dist/chunks/{vcs-9c50v8xn.js → schema-nh510fz3.js} +24 -24
- package/dist/chunks/{vcs-aw110tac.js → schema-npa44ypb.js} +13 -13
- package/dist/chunks/{vcs-jghv7esd.js → schema-nvmy2keh.js} +4 -4
- package/dist/chunks/{vcs-0d8zqp83.js → schema-p8s02wn2.js} +14 -14
- package/dist/chunks/{vcs-1z1w0x60.js → schema-pdeqb1sv.js} +14 -14
- package/dist/chunks/schema-pf31ssb9.js +18 -0
- package/dist/chunks/{vcs-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-b6kfej2e.js → schema-pm2wwawt.js} +17 -17
- package/dist/chunks/{vcs-n5f4tddc.js → schema-pneb2gse.js} +3 -3
- package/dist/chunks/{vcs-czasab6n.js → schema-ppv2hyee.js} +14 -14
- package/dist/chunks/{vcs-a3hwmvp4.js → schema-pxcy2v4k.js} +6 -6
- package/dist/chunks/{vcs-4rz2eah6.js → schema-qcy2fs5h.js} +27 -27
- package/dist/chunks/{vcs-bnnqep0w.js → schema-qj7nrkn4.js} +20 -20
- package/dist/chunks/{vcs-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-z6c3x22d.js → schema-qne3fa44.js} +5 -5
- package/dist/chunks/{vcs-kxfx0zw7.js → schema-qp9vg2jq.js} +2 -2
- package/dist/chunks/{vcs-b2vqzx2z.js → schema-qr2c2ezf.js} +42 -42
- package/dist/chunks/{vcs-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-xyafkbt0.js → schema-qxjc9qry.js} +3 -3
- package/dist/chunks/{vcs-pv0xkb1p.js → schema-r71qq8yj.js} +14 -14
- package/dist/chunks/{vcs-54ma36ye.js → schema-r94pvvab.js} +4 -4
- package/dist/chunks/{vcs-4rt0ga34.js → schema-r9w3djhf.js} +5 -5
- package/dist/chunks/{vcs-r01t9b5y.js → schema-rczq51rp.js} +6 -6
- package/dist/chunks/{vcs-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-fhe9bgpx.js → schema-rewxngkf.js} +23 -23
- package/dist/chunks/{vcs-gt8vmn75.js → schema-rj8ch5sw.js} +10 -10
- package/dist/chunks/{vcs-wpfq0pge.js → schema-rjjkcyvm.js} +40 -40
- package/dist/chunks/{vcs-za7chhtt.js → schema-rp4sdv0x.js} +3 -3
- package/dist/chunks/{vcs-y43wzbb2.js → schema-rrpq0de9.js} +12 -12
- package/dist/chunks/{vcs-je2hg063.js → schema-rwv28x5t.js} +3 -3
- package/dist/chunks/{vcs-6n96qzv5.js → schema-s0y0yn56.js} +8 -8
- package/dist/chunks/{vcs-b3f8fkhc.js → schema-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-fnkxbfgv.js → schema-sfwz2x9n.js} +52 -52
- package/dist/chunks/{vcs-7kne82cw.js → schema-skeejxkf.js} +11 -11
- package/dist/chunks/{vcs-6kenx3xs.js → schema-snvwhan6.js} +7 -7
- package/dist/chunks/{vcs-wh6pa4pr.js → schema-sr36t4tg.js} +10 -10
- package/dist/chunks/{vcs-zktyrv2e.js → schema-sxmar18p.js} +23 -18
- package/dist/chunks/{vcs-rctphcnz.js → schema-t0ghfsqf.js} +35 -35
- package/dist/chunks/{vcs-7dw0t1ze.js → schema-t58jyhmh.js} +9 -9
- package/dist/chunks/{vcs-k6ce5wme.js → schema-t5r5qq5q.js} +24 -24
- package/dist/chunks/{vcs-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-a0f0vbmj.js → schema-tdhpy44v.js} +43 -47
- package/dist/chunks/{vcs-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-kt9fe3w1.js → schema-thswf6hg.js} +27 -27
- package/dist/chunks/{vcs-vybjyyra.js → schema-tjpmwyed.js} +3 -3
- package/dist/chunks/{vcs-f0ybs7ce.js → schema-tjtvkmkx.js} +3 -3
- package/dist/chunks/{vcs-0bg0bx69.js → schema-v0es1rhs.js} +5 -5
- package/dist/chunks/{vcs-q1rz759s.js → schema-v2m3q5y9.js} +9 -9
- package/dist/chunks/{vcs-a89e0tac.js → schema-vbfgae2j.js} +4 -4
- package/dist/chunks/{vcs-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-x8d8x7vf.js → schema-vfynekpt.js} +27 -27
- package/dist/chunks/{vcs-j86sv62k.js → schema-vqbxe4wk.js} +16 -16
- package/dist/chunks/{vcs-3ppptnan.js → schema-vqfzq50h.js} +6 -6
- package/dist/chunks/{vcs-cn4yje2m.js → schema-vr3aek46.js} +28 -28
- package/dist/chunks/{vcs-5wtwrezn.js → schema-vsp1fds9.js} +4 -4
- package/dist/chunks/{vcs-b29mbqx6.js → schema-vykevjvn.js} +5 -5
- package/dist/chunks/{vcs-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-py3kkmfq.js → schema-w92k2e0p.js} +8 -8
- package/dist/chunks/{vcs-e04y2fwa.js → schema-w9cms8xc.js} +5 -5
- package/dist/chunks/{vcs-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-trftep7b.js → schema-wdfmv1rt.js} +27 -27
- package/dist/chunks/{vcs-a3p2k8hz.js → schema-wgqbq6kr.js} +6 -6
- package/dist/chunks/{vcs-rg2hvmrn.js → schema-wy3px6vj.js} +21 -21
- package/dist/chunks/{vcs-v5gfdgtn.js → schema-x16rpnsn.js} +8 -8
- package/dist/chunks/{vcs-pz9hw1vj.js → schema-xea99qfv.js} +47 -47
- package/dist/chunks/{vcs-dd81mdey.js → schema-xgwtbm8x.js} +87 -87
- package/dist/chunks/{vcs-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-atkvf9td.js → schema-xm8y3y9s.js} +11 -11
- package/dist/chunks/{vcs-yd29pr10.js → schema-xmgjmham.js} +18 -18
- package/dist/chunks/{vcs-c4s9wf9w.js → schema-xr03j6kv.js} +49 -49
- package/dist/chunks/{vcs-99zns8hp.js → schema-xzgm84yq.js} +5 -5
- package/dist/chunks/{vcs-1sc12dm9.js → schema-y10cx7wx.js} +24 -24
- package/dist/chunks/{vcs-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-mktbbgtc.js → schema-y415rrbf.js} +33 -33
- package/dist/chunks/{vcs-f7c64vsa.js → schema-y70rs0tm.js} +28 -28
- package/dist/chunks/{vcs-bsabe2th.js → schema-yd8mzne0.js} +22 -22
- package/dist/chunks/{vcs-et31tfjf.js → schema-yh1w7tjp.js} +9 -9
- package/dist/chunks/{vcs-s0b7t9fd.js → schema-ykt494b9.js} +4 -4
- package/dist/chunks/{vcs-fg48vtc7.js → schema-ymaah0de.js} +12 -12
- package/dist/chunks/{vcs-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-2q6k3pst.js → schema-yp66jxhs.js} +9 -9
- package/dist/chunks/{vcs-t79xfqfr.js → schema-ytk7n60r.js} +33 -33
- package/dist/chunks/{vcs-xapam9zr.js → schema-yv6pefj2.js} +12 -12
- package/dist/chunks/{vcs-v1h528vh.js → schema-ywmq76e1.js} +20 -20
- package/dist/chunks/{vcs-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-y7as67ar.js → schema-z208n99h.js} +13 -13
- package/dist/chunks/{vcs-ys7nn5kb.js → schema-z7rpvhac.js} +11 -11
- package/dist/chunks/{vcs-3w6ka4dd.js → schema-zf5859yh.js} +33 -33
- package/dist/chunks/{vcs-dxph6fvz.js → schema-zn1w914b.js} +13 -13
- package/dist/chunks/{vcs-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-r9gm9aqm.js → schema-zs20n4td.js} +20 -20
- package/dist/chunks/{vcs-dcd21nhz.js → schema-zs6nm7rs.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +204 -204
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +67 -67
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +100 -100
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +97 -97
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +212 -212
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +90 -90
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/wellknown.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/vcs-1x11rq2a.js +0 -18
- package/dist/chunks/vcs-8gnn3ynq.js +0 -26
- package/dist/chunks/vcs-sm4ryf7a.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e3qxr5gk.js → schema-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-02g264nc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node76
|
|
7
|
+
} from "./schema-xmgjmham.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service5,
|
|
10
|
+
node6
|
|
11
|
+
} from "./schema-abtvfq1n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./schema-sr36t4tg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./schema-pf31ssb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node18,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./schema-9c0xcsgg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service2,
|
|
24
|
+
node3
|
|
25
|
+
} from "./schema-5yzzbxa7.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-3k6hnjpv.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-dh0webm5.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./schema-g46t4tqm.js";
|
|
40
40
|
import {
|
|
41
41
|
Service4,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node5
|
|
43
|
+
} from "./schema-r9w3djhf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./schema-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -136,13 +136,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service57;
|
|
141
|
+
const registry = yield* Service26;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service2;
|
|
144
|
+
const sources = yield* Service5;
|
|
145
|
+
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service83;
|
|
147
147
|
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
node12,
|
|
223
|
+
node18,
|
|
224
|
+
node4,
|
|
225
|
+
node3,
|
|
227
226
|
node6,
|
|
227
|
+
node5,
|
|
228
228
|
node87,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node76,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-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: () => Service35,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node38
|
|
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 Service35 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(Service35, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service35.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node38 = makeLocationNode({
|
|
137
|
+
service: Service35,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service35, node38, exports_tool_output2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./schema-dh3p6hwj.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./schema-8xpvx0xf.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./schema-tdhpy44v.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-5epte933.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service42
|
|
18
|
+
} from "./schema-vqbxe4wk.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./schema-sfwz2x9n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service17
|
|
25
|
+
} from "./schema-jn24yy65.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./schema-gaphvq12.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin39 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service17;
|
|
93
|
+
const jobs = yield* Service42;
|
|
94
|
+
const agents = yield* Service70;
|
|
95
|
+
const config = yield* Service71;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin4 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin4 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin4 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name5];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name5, Input5, Output3, description3, Plugin39, exports_subagent };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-78tqvked.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./schema-cb8p393h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./schema-sfwz2x9n.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service65;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node84, node69] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./schema-cb8p393h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./schema-cznmaky0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event8,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError6,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service52,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node54
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput3 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event8 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service52 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service80;
|
|
115
|
+
const search = yield* Service53;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service52.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError6({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
170
170
|
})
|
|
171
171
|
});
|
|
172
172
|
}));
|
|
173
|
-
var
|
|
174
|
-
service:
|
|
173
|
+
var node54 = makeLocationNode({
|
|
174
|
+
service: Service52,
|
|
175
175
|
layer: baseLayer,
|
|
176
|
-
deps: [FSUtil.node,
|
|
176
|
+
deps: [FSUtil.node, node84, node55]
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
179
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service52, node54, exports_filesystem, Entry2, Match2, Submatch2 };
|