@opencode/core 0.0.0-dev-20443 → 0.0.0-dev-20446
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{filesystem-rt0kvsf5.js → repository-cache-091f0rd0.js} +44 -44
- package/dist/chunks/{filesystem-f2rw3rqw.js → repository-cache-0a1ad31p.js} +24 -24
- package/dist/chunks/{filesystem-x1w5tsma.js → repository-cache-0j4x3pky.js} +21 -21
- package/dist/chunks/{filesystem-0j77ygfz.js → repository-cache-0j77ygfz.js} +2 -2
- package/dist/chunks/{filesystem-j4tdrtxm.js → repository-cache-0mrd04w5.js} +35 -35
- package/dist/chunks/{filesystem-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-azee6x5s.js → repository-cache-0qb7pa1n.js} +8 -8
- package/dist/chunks/{filesystem-74zmxtxp.js → repository-cache-0s60x6wy.js} +16 -16
- package/dist/chunks/{filesystem-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-aex2jcjx.js → repository-cache-0z5qyjxf.js} +6 -6
- package/dist/chunks/{filesystem-x9w9za6h.js → repository-cache-0zvk9z0h.js} +16 -16
- package/dist/chunks/{filesystem-10h2grd6.js → repository-cache-10h2grd6.js} +2 -2
- package/dist/chunks/{filesystem-ys6344d6.js → repository-cache-169shjta.js} +11 -11
- package/dist/chunks/{filesystem-at7fx8t4.js → repository-cache-1d5ct0zc.js} +20 -20
- package/dist/chunks/{filesystem-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-84h8c373.js → repository-cache-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-0qa6hg2d.js → repository-cache-1gd6spct.js} +5 -5
- package/dist/chunks/{filesystem-56gdpj1q.js → repository-cache-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-pxwkarge.js → repository-cache-22f357wt.js} +6 -6
- package/dist/chunks/{filesystem-y5dkda77.js → repository-cache-25ex5bj3.js} +2 -2
- package/dist/chunks/{filesystem-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-2ccvkpx1.js → repository-cache-2ccvkpx1.js} +2 -2
- package/dist/chunks/{filesystem-m70jr5z4.js → repository-cache-2fxbb402.js} +8 -8
- package/dist/chunks/{filesystem-35agz59w.js → repository-cache-2jmaghvr.js} +4 -4
- package/dist/chunks/{filesystem-y0bj6ynv.js → repository-cache-2rk6k8vg.js} +15 -15
- package/dist/chunks/{filesystem-h62vdr7h.js → repository-cache-2w25bewv.js} +12 -12
- package/dist/chunks/{filesystem-2fyye2bf.js → repository-cache-32dhwnjc.js} +14 -14
- package/dist/chunks/{filesystem-8whseyrk.js → repository-cache-3556dn8t.js} +1 -1
- package/dist/chunks/{filesystem-1zacy60w.js → repository-cache-376dc42v.js} +24 -24
- package/dist/chunks/{filesystem-1g96y08y.js → repository-cache-37ea9c2d.js} +8 -8
- package/dist/chunks/{filesystem-jmh888fr.js → repository-cache-37sfe3bm.js} +10 -10
- package/dist/chunks/{filesystem-z016ngy8.js → repository-cache-3bg5g8q7.js} +29 -29
- package/dist/chunks/{filesystem-webnratf.js → repository-cache-3by35n0t.js} +5 -5
- package/dist/chunks/{filesystem-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-6bxp8d4e.js → repository-cache-3g7y17n3.js} +17 -17
- package/dist/chunks/{filesystem-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-pmr4s4kc.js → repository-cache-3j8sdtpz.js} +4 -4
- package/dist/chunks/{filesystem-vpefsdnb.js → repository-cache-3rbph65y.js} +46 -46
- package/dist/chunks/{filesystem-npxrv172.js → repository-cache-3s1wsaeq.js} +28 -28
- package/dist/chunks/{filesystem-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-3v5tjer0.js → repository-cache-3v5tjer0.js} +2 -2
- package/dist/chunks/{filesystem-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-jfz4p9z2.js → repository-cache-40f2545g.js} +34 -34
- package/dist/chunks/{filesystem-b5213z84.js → repository-cache-4429sr8a.js} +22 -22
- package/dist/chunks/{filesystem-cqvpsbxa.js → repository-cache-48frr5ey.js} +27 -27
- package/dist/chunks/{filesystem-kv03y1hk.js → repository-cache-4ag3f9xz.js} +5 -5
- package/dist/chunks/{filesystem-xgqg3fa6.js → repository-cache-4eda5p0n.js} +15 -15
- package/dist/chunks/{filesystem-bn3rhc52.js → repository-cache-4epeq83n.js} +6 -6
- package/dist/chunks/{filesystem-a2rpfkac.js → repository-cache-4v7ngy20.js} +4 -4
- package/dist/chunks/{filesystem-8zp79j7j.js → repository-cache-4z58m4b4.js} +4 -4
- package/dist/chunks/{filesystem-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-5d68yzj5.js → repository-cache-58s7bv4e.js} +32 -32
- package/dist/chunks/{filesystem-n5a91ywv.js → repository-cache-5c68v4c5.js} +13 -13
- package/dist/chunks/{filesystem-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-8n9ywp6t.js → repository-cache-5fwyrf5z.js} +31 -31
- package/dist/chunks/{filesystem-x2qdxhwm.js → repository-cache-5m5yrm4y.js} +8 -8
- package/dist/chunks/{filesystem-g3mpt7p6.js → repository-cache-5q9xfknq.js} +8 -8
- package/dist/chunks/{filesystem-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-ctzssw83.js → repository-cache-5we7r0eg.js} +8 -8
- package/dist/chunks/{filesystem-7ads88xp.js → repository-cache-63s895d0.js} +22 -22
- package/dist/chunks/{filesystem-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-xkez93e1.js → repository-cache-69jzkc3x.js} +27 -27
- package/dist/chunks/{filesystem-5gq66ctg.js → repository-cache-6bkwpg0x.js} +12 -12
- package/dist/chunks/{filesystem-kks2x84p.js → repository-cache-706phk7x.js} +2 -2
- package/dist/chunks/{filesystem-f75zav2x.js → repository-cache-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-hc9acsgr.js → repository-cache-76ymgwed.js} +9 -9
- package/dist/chunks/{filesystem-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-jepen3yv.js → repository-cache-7fv9049a.js} +15 -15
- package/dist/chunks/{filesystem-5k9mpvz5.js → repository-cache-7gh65m6s.js} +8 -8
- package/dist/chunks/{filesystem-yvkd9agk.js → repository-cache-7kfsqtmt.js} +11 -11
- package/dist/chunks/{filesystem-7pf86645.js → repository-cache-7vwcfb7e.js} +11 -11
- package/dist/chunks/{filesystem-zmx4zm5d.js → repository-cache-7x28tdrb.js} +18 -18
- package/dist/chunks/{filesystem-jt60k175.js → repository-cache-822vy19y.js} +20 -20
- package/dist/chunks/{filesystem-tbmac1c7.js → repository-cache-86qzxe6p.js} +4 -4
- package/dist/chunks/{filesystem-7m5f9412.js → repository-cache-8aaqm6qj.js} +8 -8
- package/dist/chunks/{filesystem-xkd9f4xc.js → repository-cache-8aw8tj9n.js} +14 -14
- package/dist/chunks/{filesystem-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-0dk0rwka.js → repository-cache-8f2ehy9w.js} +24 -24
- package/dist/chunks/{filesystem-k8etnr3r.js → repository-cache-8gn7nf7w.js} +8 -8
- package/dist/chunks/{filesystem-847v5pgt.js → repository-cache-8ht81e1j.js} +11 -11
- package/dist/chunks/{filesystem-11p8z3nt.js → repository-cache-8mk2n5b3.js} +22 -22
- package/dist/chunks/{filesystem-vjh28280.js → repository-cache-8sgzw3p1.js} +3 -3
- package/dist/chunks/{filesystem-6ns3svyy.js → repository-cache-8w5vxsg3.js} +13 -13
- package/dist/chunks/{filesystem-ne7kg025.js → repository-cache-8zq1pfr0.js} +17 -17
- package/dist/chunks/repository-cache-93qh2cqg.js +507 -0
- package/dist/chunks/{filesystem-4407emfp.js → repository-cache-963rbvmp.js} +6 -6
- package/dist/chunks/{filesystem-ncqdhjqh.js → repository-cache-9aqqzffj.js} +14 -14
- package/dist/chunks/{filesystem-kb9j3d72.js → repository-cache-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-k00bp9ns.js → repository-cache-9esanb1h.js} +32 -32
- package/dist/chunks/{filesystem-g2k2w7bp.js → repository-cache-9nkwfwgn.js} +17 -17
- package/dist/chunks/{filesystem-vw0qja5p.js → repository-cache-9qk0q36h.js} +14 -14
- package/dist/chunks/{filesystem-z5tskbjx.js → repository-cache-9tc8fk2g.js} +24 -24
- package/dist/chunks/{filesystem-75kqmam7.js → repository-cache-a04262f3.js} +1 -1
- package/dist/chunks/{filesystem-a1gpj94z.js → repository-cache-a1gpj94z.js} +1 -1
- package/dist/chunks/{filesystem-r48gm0ww.js → repository-cache-a1jg4bqm.js} +11 -11
- package/dist/chunks/{filesystem-6erkktj7.js → repository-cache-a6964z1k.js} +41 -41
- package/dist/chunks/{filesystem-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-ay8mf0mt.js → repository-cache-agkhkqzj.js} +13 -13
- package/dist/chunks/{filesystem-y06nwv4v.js → repository-cache-aq1q7s3w.js} +11 -11
- package/dist/chunks/{filesystem-0dygnakk.js → repository-cache-as7cf5zz.js} +4 -4
- package/dist/chunks/repository-cache-at67ztw2.js +26 -0
- package/dist/chunks/{filesystem-9x8zefvn.js → repository-cache-b005zpx3.js} +23 -23
- package/dist/chunks/{filesystem-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-3qj994h1.js → repository-cache-b7gejjdn.js} +18 -18
- package/dist/chunks/{filesystem-rymc5njp.js → repository-cache-beprb18x.js} +9 -9
- package/dist/chunks/{filesystem-0ev610yy.js → repository-cache-bjzxe3qz.js} +12 -12
- package/dist/chunks/{filesystem-v6q6j16c.js → repository-cache-br52dth2.js} +5 -5
- package/dist/chunks/{filesystem-4wft2je9.js → repository-cache-bsxd6m7c.js} +7 -7
- package/dist/chunks/{filesystem-aeb4sny1.js → repository-cache-btec747f.js} +5 -5
- package/dist/chunks/{filesystem-xx0dq7m8.js → repository-cache-c2st8pk7.js} +5 -5
- package/dist/chunks/{filesystem-79qaa2kf.js → repository-cache-c765mh8b.js} +9 -9
- package/dist/chunks/{filesystem-t7n9q6bq.js → repository-cache-ca7w653e.js} +4 -4
- package/dist/chunks/{filesystem-natgk2ns.js → repository-cache-cfpp34xq.js} +43 -43
- package/dist/chunks/{filesystem-9et5e0c8.js → repository-cache-cgkqc5k9.js} +28 -28
- package/dist/chunks/{filesystem-eys57y9b.js → repository-cache-cmwkp3r5.js} +8 -8
- package/dist/chunks/repository-cache-cqtfknxy.js +252 -0
- package/dist/chunks/{filesystem-9fj76a9k.js → repository-cache-d7q3t8ht.js} +9 -9
- package/dist/chunks/{filesystem-kmmmaj33.js → repository-cache-dg2gsbnn.js} +22 -22
- package/dist/chunks/{filesystem-9xnh16f9.js → repository-cache-dhr91br8.js} +5 -5
- package/dist/chunks/{filesystem-kqgfg1gd.js → repository-cache-dm4xrbzk.js} +8 -8
- package/dist/chunks/{filesystem-nxm207yx.js → repository-cache-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-3kqa2599.js → repository-cache-dtrxyetv.js} +5 -5
- package/dist/chunks/{filesystem-vt8t0ymm.js → repository-cache-dzydyd9h.js} +48 -48
- package/dist/chunks/{filesystem-dyxxb0pf.js → repository-cache-e35ah7hw.js} +21 -21
- package/dist/chunks/{filesystem-1ejg90ew.js → repository-cache-e61dah1y.js} +29 -29
- package/dist/chunks/{filesystem-638jzcf9.js → repository-cache-e7k2h18t.js} +11 -11
- package/dist/chunks/{filesystem-9cyywgrt.js → repository-cache-e8nmz9dx.js} +3 -3
- package/dist/chunks/{filesystem-aqd63c5t.js → repository-cache-e9266ee7.js} +20 -20
- package/dist/chunks/{filesystem-xqg1ramt.js → repository-cache-e93vysgz.js} +4 -4
- package/dist/chunks/{filesystem-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-yk2c168m.js → repository-cache-ekeagaff.js} +32 -32
- package/dist/chunks/{filesystem-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-q3jarvj1.js → repository-cache-expxz8xq.js} +16 -16
- package/dist/chunks/{filesystem-1y8z5g4w.js → repository-cache-eybz4adf.js} +10 -10
- package/dist/chunks/{filesystem-1cd2s10v.js → repository-cache-f0m8zgz7.js} +309 -309
- package/dist/chunks/{filesystem-8qhx0rtq.js → repository-cache-f3gqgk1j.js} +25 -25
- package/dist/chunks/{filesystem-epq6d0bg.js → repository-cache-f7t5kd0c.js} +37 -37
- package/dist/chunks/{filesystem-q694vrse.js → repository-cache-fjabd4vm.js} +72 -72
- package/dist/chunks/{filesystem-bzz3kdrt.js → repository-cache-fqpgqbak.js} +44 -44
- package/dist/chunks/{filesystem-sj134kkz.js → repository-cache-fsaqawm2.js} +6 -6
- package/dist/chunks/{filesystem-nbc5ax32.js → repository-cache-g0kjp75c.js} +15 -15
- package/dist/chunks/{filesystem-7ry2mxz0.js → repository-cache-g41awwxy.js} +20 -20
- package/dist/chunks/{filesystem-6ch0d3kn.js → repository-cache-g63fbaar.js} +11 -11
- package/dist/chunks/{filesystem-afs21wh3.js → repository-cache-g9n5gn8p.js} +4 -4
- package/dist/chunks/{filesystem-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-n2p9bvh6.js → repository-cache-gex2px6h.js} +3 -3
- package/dist/chunks/{filesystem-5tcm9639.js → repository-cache-gh5z95q3.js} +9 -9
- package/dist/chunks/{filesystem-18ekssq5.js → repository-cache-gjnx9fp9.js} +29 -29
- package/dist/chunks/{filesystem-gkyt9at6.js → repository-cache-gpzeq7j5.js} +15 -15
- package/dist/chunks/{filesystem-k6w0m00t.js → repository-cache-gtm34f6g.js} +21 -21
- package/dist/chunks/{filesystem-zcp5x14n.js → repository-cache-gzj36dnw.js} +23 -23
- package/dist/chunks/{filesystem-3cegwx68.js → repository-cache-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-etvafb8y.js → repository-cache-h3g3cs7p.js} +4 -4
- package/dist/chunks/{filesystem-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-66c35f44.js → repository-cache-ha4q6k7g.js} +32 -32
- package/dist/chunks/{filesystem-ct0pajy1.js → repository-cache-hkyvzcah.js} +13 -13
- package/dist/chunks/{filesystem-hj225006.js → repository-cache-hqc76sze.js} +20 -20
- package/dist/chunks/{filesystem-dj1ywzdr.js → repository-cache-hrbcf8x8.js} +11 -11
- package/dist/chunks/{filesystem-ree5ev3t.js → repository-cache-hs1x7rht.js} +12 -12
- package/dist/chunks/{filesystem-vgw2dme3.js → repository-cache-htpvgqrd.js} +8 -8
- package/dist/chunks/{filesystem-nz55e0bf.js → repository-cache-hx7zmtxv.js} +82 -82
- package/dist/chunks/{filesystem-8q0x6p2t.js → repository-cache-hzbq48p7.js} +9 -9
- package/dist/chunks/{filesystem-spcfjcge.js → repository-cache-j0032p6g.js} +7 -7
- package/dist/chunks/{filesystem-3k6hcm1s.js → repository-cache-j2nvzb5v.js} +25 -25
- package/dist/chunks/{filesystem-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-jkp0d30b.js → repository-cache-j5w2yx54.js} +6 -6
- package/dist/chunks/{filesystem-r05yckk2.js → repository-cache-j83nw7fd.js} +27 -27
- package/dist/chunks/{filesystem-arfpz5bc.js → repository-cache-j9me29bk.js} +8 -8
- package/dist/chunks/{filesystem-axtvtek4.js → repository-cache-jfqtm2ew.js} +7 -7
- package/dist/chunks/{filesystem-qea7y3j0.js → repository-cache-jk54fhp7.js} +11 -11
- package/dist/chunks/{filesystem-1yrx8exs.js → repository-cache-jk5jtrba.js} +50 -50
- package/dist/chunks/{filesystem-84dmcwyh.js → repository-cache-jpeemenq.js} +4 -4
- package/dist/chunks/{filesystem-k3c624dm.js → repository-cache-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-pfpqtqae.js → repository-cache-k4vx4kqq.js} +29 -29
- package/dist/chunks/{filesystem-e2fdwa3e.js → repository-cache-k64zxjm6.js} +10 -10
- package/dist/chunks/{filesystem-96ctqc5x.js → repository-cache-kb6vbnxp.js} +4 -4
- package/dist/chunks/{filesystem-ps03ea09.js → repository-cache-kpqjj4ny.js} +34 -34
- package/dist/chunks/{filesystem-6ykekk54.js → repository-cache-kq1ref1h.js} +3 -3
- package/dist/chunks/{filesystem-2q9z57te.js → repository-cache-kryraq7m.js} +81 -81
- package/dist/chunks/{filesystem-1npxxjtc.js → repository-cache-kxsrbhnp.js} +23 -23
- package/dist/chunks/{filesystem-bawtyvfr.js → repository-cache-kzhakyvk.js} +2 -2
- package/dist/chunks/{filesystem-vkgtc4qa.js → repository-cache-m0ecvezt.js} +15 -15
- package/dist/chunks/{filesystem-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-7bga7ps0.js → repository-cache-m4emmwet.js} +18 -18
- package/dist/chunks/{filesystem-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mazbtkaa.js → repository-cache-mazbtkaa.js} +2 -2
- package/dist/chunks/{filesystem-xadz8mf8.js → repository-cache-mk49qygx.js} +10 -10
- package/dist/chunks/{filesystem-xwqhtygt.js → repository-cache-mnkrz2st.js} +5 -5
- package/dist/chunks/{filesystem-dnxkq42g.js → repository-cache-mpk0rfs5.js} +4 -4
- package/dist/chunks/{filesystem-2vkscmz1.js → repository-cache-mre670nb.js} +16 -16
- package/dist/chunks/{filesystem-ebfbhmvn.js → repository-cache-mwka8kak.js} +11 -11
- package/dist/chunks/{filesystem-ap661cbc.js → repository-cache-myh7k9xx.js} +46 -46
- package/dist/chunks/{filesystem-ns15zm60.js → repository-cache-n032fvft.js} +6 -6
- package/dist/chunks/{filesystem-pah9j43r.js → repository-cache-n0rv915y.js} +17 -17
- package/dist/chunks/{filesystem-aezf2awf.js → repository-cache-n37c4crj.js} +9 -9
- package/dist/chunks/{filesystem-8a65fc54.js → repository-cache-n48q0swr.js} +14 -14
- package/dist/chunks/{filesystem-q3ersh05.js → repository-cache-n57qrn3a.js} +4 -4
- package/dist/chunks/{filesystem-01m43rby.js → repository-cache-n7d88tpn.js} +3 -3
- package/dist/chunks/{filesystem-9nr1cgt9.js → repository-cache-n7qbnv1j.js} +15 -15
- package/dist/chunks/{filesystem-k8e0krnc.js → repository-cache-n8c291r7.js} +9 -9
- package/dist/chunks/{filesystem-5w1b85vj.js → repository-cache-n9esafc3.js} +21 -21
- package/dist/chunks/{filesystem-cft96kz9.js → repository-cache-nb17w2yx.js} +9 -9
- package/dist/chunks/{filesystem-vqxrw9st.js → repository-cache-nfqw6mz9.js} +19 -19
- package/dist/chunks/{filesystem-9ptnejtj.js → repository-cache-ngpj616s.js} +42 -42
- package/dist/chunks/{filesystem-3smkbt6f.js → repository-cache-p1p3hvby.js} +3 -3
- package/dist/chunks/{filesystem-jyspzs0j.js → repository-cache-pedjrwj0.js} +49 -49
- package/dist/chunks/{filesystem-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-bmcagzxz.js → repository-cache-pr2h8h86.js} +8 -8
- package/dist/chunks/{filesystem-nbvh7zyw.js → repository-cache-pw9d3wh8.js} +29 -29
- package/dist/chunks/{filesystem-py3kkmfq.js → repository-cache-py3kkmfq.js} +2 -2
- package/dist/chunks/{filesystem-mp16q3af.js → repository-cache-q8406f75.js} +13 -13
- package/dist/chunks/{filesystem-jvkn2v7p.js → repository-cache-qcrnsjqj.js} +28 -28
- package/dist/chunks/{filesystem-7dqw4kz8.js → repository-cache-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-drvpf3hy.js → repository-cache-qmp8ys2a.js} +22 -22
- package/dist/chunks/{filesystem-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-47jkzegy.js → repository-cache-qne3fa44.js} +5 -5
- package/dist/chunks/{filesystem-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-0ryd0fps.js → repository-cache-qsr9synt.js} +5 -5
- package/dist/chunks/{filesystem-xd579ncr.js → repository-cache-qxnn7y6z.js} +8 -8
- package/dist/chunks/{filesystem-0my2vamg.js → repository-cache-r8ebqbsc.js} +5 -5
- package/dist/chunks/{filesystem-a394ta18.js → repository-cache-rax07w26.js} +28 -28
- package/dist/chunks/{filesystem-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-fcnd5sz6.js → repository-cache-re4wmejr.js} +32 -32
- package/dist/chunks/{filesystem-rhjbct0v.js → repository-cache-rhjbct0v.js} +1 -1
- package/dist/chunks/{filesystem-z7j7bfad.js → repository-cache-rtb06bvf.js} +3 -3
- package/dist/chunks/{filesystem-fkd5e0q7.js → repository-cache-ryhnjg92.js} +28 -28
- package/dist/chunks/{filesystem-dx3fq8zr.js → repository-cache-s39a1knw.js} +42 -42
- package/dist/chunks/{filesystem-6s6p3zn1.js → repository-cache-s8vhzyp4.js} +46 -46
- package/dist/chunks/{filesystem-scgrse2b.js → repository-cache-scgrse2b.js} +2 -2
- package/dist/chunks/{filesystem-ygj42pe4.js → repository-cache-skpsgn3k.js} +30 -30
- package/dist/chunks/{filesystem-4tje82sx.js → repository-cache-t4wnk216.js} +6 -6
- package/dist/chunks/{filesystem-qwcntv07.js → repository-cache-t81m24cw.js} +9 -9
- package/dist/chunks/{filesystem-dddrhpmg.js → repository-cache-t9ra34wt.js} +9 -9
- package/dist/chunks/{filesystem-30kepn8q.js → repository-cache-tavta0y2.js} +18 -18
- package/dist/chunks/{filesystem-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-6yz0wx8n.js → repository-cache-tk14y25j.js} +5 -5
- package/dist/chunks/{filesystem-z8nc6tc3.js → repository-cache-tntmnmab.js} +173 -173
- package/dist/chunks/{filesystem-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/repository-cache-v1faaxn9.js +18 -0
- package/dist/chunks/{filesystem-xg97hmyb.js → repository-cache-v30h9xz5.js} +22 -22
- package/dist/chunks/{filesystem-1w6eav72.js → repository-cache-v41jw1xq.js} +41 -41
- package/dist/chunks/{filesystem-6p82jt3d.js → repository-cache-v49gtp01.js} +18 -18
- package/dist/chunks/{filesystem-bzg1m3qp.js → repository-cache-v6evfva1.js} +8 -8
- package/dist/chunks/{filesystem-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-bbq0j6ta.js → repository-cache-vf3z480h.js} +26 -26
- package/dist/chunks/{filesystem-zfsg1r2z.js → repository-cache-vgb18m5f.js} +31 -31
- package/dist/chunks/{filesystem-vsp1fds9.js → repository-cache-vsp1fds9.js} +1 -1
- package/dist/chunks/{filesystem-nn5kxcxk.js → repository-cache-vxfyztn0.js} +13 -13
- package/dist/chunks/{filesystem-hvvpf5dq.js → repository-cache-vxhhv58t.js} +25 -25
- package/dist/chunks/{filesystem-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{filesystem-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-gmg08tbf.js → repository-cache-wn1kxzz7.js} +14 -14
- package/dist/chunks/{filesystem-q4xjqs9h.js → repository-cache-wqcy1a6q.js} +26 -15
- package/dist/chunks/{filesystem-1mc0gcc5.js → repository-cache-wqkf1g1x.js} +19 -19
- package/dist/chunks/{filesystem-1kkbmfzx.js → repository-cache-wscpecpd.js} +25 -25
- package/dist/chunks/{filesystem-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-a84fs7pf.js → repository-cache-x3d3jna2.js} +7 -7
- package/dist/chunks/{filesystem-x80vamh1.js → repository-cache-x9qtnq71.js} +11 -11
- package/dist/chunks/{filesystem-xfkkasph.js → repository-cache-xfkkasph.js} +1 -1
- package/dist/chunks/{filesystem-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
- package/dist/chunks/{filesystem-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-b3y0v5k5.js → repository-cache-y23ntya0.js} +46 -46
- package/dist/chunks/{filesystem-w0bxms7d.js → repository-cache-ydvbazfr.js} +41 -41
- package/dist/chunks/{filesystem-j7ghn0hc.js → repository-cache-yfksphsg.js} +13 -13
- package/dist/chunks/{filesystem-hxjgngrj.js → repository-cache-ymcgbes0.js} +4 -4
- package/dist/chunks/{filesystem-r8xr0va3.js → repository-cache-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-h2js7m9j.js → repository-cache-yrerq1n3.js} +10 -10
- package/dist/chunks/{filesystem-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-h0grdqdb.js → repository-cache-ysypycvb.js} +1 -1
- package/dist/chunks/{filesystem-vr2a0c8h.js → repository-cache-yzt1bx7e.js} +30 -30
- package/dist/chunks/{filesystem-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-a99akv2k.js → repository-cache-zav7rf1m.js} +24 -24
- package/dist/chunks/{filesystem-z971tyb0.js → repository-cache-zbrkq2e1.js} +10 -10
- package/dist/chunks/{filesystem-r6xn9bth.js → repository-cache-zdy34q02.js} +11 -11
- package/dist/chunks/{filesystem-mfxaeyt0.js → repository-cache-zmsbhx8q.js} +23 -23
- package/dist/chunks/{filesystem-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-cz0q7g0x.js → repository-cache-zwc7jy6c.js} +8 -8
- package/dist/chunks/{filesystem-zxq2ej10.js → repository-cache-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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/filesystem-apczx2yy.js +0 -252
- package/dist/chunks/filesystem-gyce5qg1.js +0 -18
- package/dist/chunks/filesystem-r41c29vv.js +0 -26
- package/dist/chunks/filesystem-w3xv9s6n.js +0 -507
- /package/dist/chunks/{filesystem-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e3qxr5gk.js → repository-cache-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./repository-cache-9tc8fk2g.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./repository-cache-5fwyrf5z.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./repository-cache-s39a1knw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-n7d88tpn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service37
|
|
18
|
+
} from "./repository-cache-9nkwfwgn.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./repository-cache-jk5jtrba.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service17
|
|
25
|
+
} from "./repository-cache-hx7zmtxv.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-8gn7nf7w.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-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: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "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 Input2 = 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 Input11 = 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 Output2 = 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 description2 = [
|
|
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,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin36 = {
|
|
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*
|
|
92
|
+
const sessions = yield* Service17;
|
|
93
|
+
const jobs = yield* Service37;
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service61;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
|
+
const models = yield* Service64;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
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 Plugin13 = {
|
|
|
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: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin13 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.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 !== name2 || !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[name2];
|
|
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(name2, 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 { name2, Input2, Output2, description2, Plugin36, exports_subagent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./repository-cache-expxz8xq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-jk5jtrba.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service53,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node55,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service53.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node55 = makeLocationNode({
|
|
112
|
+
service: Service53,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available2, toModelOutput3, prepare3, Service53, node55, exports_skill5, Event9 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node59
|
|
3
|
+
} from "./repository-cache-9tc8fk2g.js";
|
|
4
|
+
import {
|
|
5
|
+
node76
|
|
6
|
+
} from "./repository-cache-zmsbhx8q.js";
|
|
7
|
+
import {
|
|
8
|
+
node75
|
|
9
|
+
} from "./repository-cache-3bg5g8q7.js";
|
|
10
|
+
import {
|
|
11
|
+
node84,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./repository-cache-25ex5bj3.js";
|
|
14
|
+
import {
|
|
15
|
+
node72
|
|
16
|
+
} from "./repository-cache-f0m8zgz7.js";
|
|
17
|
+
import {
|
|
18
|
+
node62
|
|
19
|
+
} from "./repository-cache-e7k2h18t.js";
|
|
20
|
+
import {
|
|
21
|
+
node67
|
|
22
|
+
} from "./repository-cache-5fwyrf5z.js";
|
|
23
|
+
import {
|
|
24
|
+
node33
|
|
25
|
+
} from "./repository-cache-qcrnsjqj.js";
|
|
26
|
+
import {
|
|
27
|
+
configured5,
|
|
28
|
+
node63
|
|
29
|
+
} from "./repository-cache-s39a1knw.js";
|
|
30
|
+
import {
|
|
31
|
+
node81
|
|
32
|
+
} from "./repository-cache-gtm34f6g.js";
|
|
33
|
+
import {
|
|
34
|
+
node52
|
|
35
|
+
} from "./repository-cache-yfksphsg.js";
|
|
36
|
+
import {
|
|
37
|
+
node53
|
|
38
|
+
} from "./repository-cache-8aw8tj9n.js";
|
|
39
|
+
import {
|
|
40
|
+
node17
|
|
41
|
+
} from "./repository-cache-69jzkc3x.js";
|
|
42
|
+
import {
|
|
43
|
+
node16
|
|
44
|
+
} from "./repository-cache-pw9d3wh8.js";
|
|
45
|
+
import {
|
|
46
|
+
node43
|
|
47
|
+
} from "./repository-cache-091f0rd0.js";
|
|
48
|
+
import {
|
|
49
|
+
node42
|
|
50
|
+
} from "./repository-cache-qmp8ys2a.js";
|
|
51
|
+
import {
|
|
52
|
+
node68
|
|
53
|
+
} from "./repository-cache-76ymgwed.js";
|
|
54
|
+
import {
|
|
55
|
+
node31
|
|
56
|
+
} from "./repository-cache-pedjrwj0.js";
|
|
57
|
+
import {
|
|
58
|
+
Service36,
|
|
59
|
+
node38
|
|
60
|
+
} from "./repository-cache-j5w2yx54.js";
|
|
61
|
+
import {
|
|
62
|
+
node25
|
|
63
|
+
} from "./repository-cache-0zvk9z0h.js";
|
|
64
|
+
import {
|
|
65
|
+
node60
|
|
66
|
+
} from "./repository-cache-37ea9c2d.js";
|
|
67
|
+
import {
|
|
68
|
+
node56
|
|
69
|
+
} from "./repository-cache-jk5jtrba.js";
|
|
70
|
+
import {
|
|
71
|
+
node37
|
|
72
|
+
} from "./repository-cache-agkhkqzj.js";
|
|
73
|
+
import {
|
|
74
|
+
configured4,
|
|
75
|
+
node61
|
|
76
|
+
} from "./repository-cache-vf3z480h.js";
|
|
77
|
+
import {
|
|
78
|
+
node27
|
|
79
|
+
} from "./repository-cache-mk49qygx.js";
|
|
80
|
+
import {
|
|
81
|
+
node41
|
|
82
|
+
} from "./repository-cache-vxhhv58t.js";
|
|
83
|
+
import {
|
|
84
|
+
node30
|
|
85
|
+
} from "./repository-cache-rax07w26.js";
|
|
86
|
+
import {
|
|
87
|
+
node34
|
|
88
|
+
} from "./repository-cache-e61dah1y.js";
|
|
89
|
+
import {
|
|
90
|
+
node32
|
|
91
|
+
} from "./repository-cache-0s60x6wy.js";
|
|
92
|
+
import {
|
|
93
|
+
node55
|
|
94
|
+
} from "./repository-cache-cgkqc5k9.js";
|
|
95
|
+
import {
|
|
96
|
+
node22
|
|
97
|
+
} from "./repository-cache-gpzeq7j5.js";
|
|
98
|
+
import {
|
|
99
|
+
node21
|
|
100
|
+
} from "./repository-cache-kryraq7m.js";
|
|
101
|
+
import {
|
|
102
|
+
node47
|
|
103
|
+
} from "./repository-cache-j83nw7fd.js";
|
|
104
|
+
import {
|
|
105
|
+
node70
|
|
106
|
+
} from "./repository-cache-m0ecvezt.js";
|
|
107
|
+
import {
|
|
108
|
+
node73
|
|
109
|
+
} from "./repository-cache-6bkwpg0x.js";
|
|
110
|
+
import {
|
|
111
|
+
node49
|
|
112
|
+
} from "./repository-cache-y23ntya0.js";
|
|
113
|
+
import {
|
|
114
|
+
node74
|
|
115
|
+
} from "./repository-cache-9qk0q36h.js";
|
|
116
|
+
import {
|
|
117
|
+
node46
|
|
118
|
+
} from "./repository-cache-e35ah7hw.js";
|
|
119
|
+
import {
|
|
120
|
+
node40
|
|
121
|
+
} from "./repository-cache-3s1wsaeq.js";
|
|
122
|
+
import {
|
|
123
|
+
node45
|
|
124
|
+
} from "./repository-cache-tavta0y2.js";
|
|
125
|
+
import {
|
|
126
|
+
node19
|
|
127
|
+
} from "./repository-cache-dg2gsbnn.js";
|
|
128
|
+
import {
|
|
129
|
+
node4
|
|
130
|
+
} from "./repository-cache-k4vx4kqq.js";
|
|
131
|
+
import {
|
|
132
|
+
Service13,
|
|
133
|
+
node15
|
|
134
|
+
} from "./repository-cache-skpsgn3k.js";
|
|
135
|
+
import {
|
|
136
|
+
node51
|
|
137
|
+
} from "./repository-cache-g0kjp75c.js";
|
|
138
|
+
import {
|
|
139
|
+
node7,
|
|
140
|
+
bound2
|
|
141
|
+
} from "./repository-cache-cmwkp3r5.js";
|
|
142
|
+
import {
|
|
143
|
+
node10
|
|
144
|
+
} from "./repository-cache-ryhnjg92.js";
|
|
145
|
+
import {
|
|
146
|
+
node13
|
|
147
|
+
} from "./repository-cache-wqkf1g1x.js";
|
|
148
|
+
import {
|
|
149
|
+
node14
|
|
150
|
+
} from "./repository-cache-8zq1pfr0.js";
|
|
151
|
+
import {
|
|
152
|
+
node5
|
|
153
|
+
} from "./repository-cache-3rbph65y.js";
|
|
154
|
+
import {
|
|
155
|
+
node18
|
|
156
|
+
} from "./repository-cache-ha4q6k7g.js";
|
|
157
|
+
import {
|
|
158
|
+
node3
|
|
159
|
+
} from "./repository-cache-9esanb1h.js";
|
|
160
|
+
import {
|
|
161
|
+
node2
|
|
162
|
+
} from "./repository-cache-fjabd4vm.js";
|
|
163
|
+
import {
|
|
164
|
+
__export
|
|
165
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
166
|
+
|
|
167
|
+
// src/instance.ts
|
|
168
|
+
var exports_instance = {};
|
|
169
|
+
__export(exports_instance, {
|
|
170
|
+
Instance: () => exports_instance,
|
|
171
|
+
Service: () => Service36,
|
|
172
|
+
graph: () => graph2,
|
|
173
|
+
layer: () => layer2,
|
|
174
|
+
node: () => node38
|
|
175
|
+
});
|
|
176
|
+
import { Context, Effect, Layer } from "effect";
|
|
177
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
178
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
179
|
+
var nodes = [
|
|
180
|
+
node84,
|
|
181
|
+
node15,
|
|
182
|
+
node81,
|
|
183
|
+
node63,
|
|
184
|
+
node59,
|
|
185
|
+
node33,
|
|
186
|
+
node34,
|
|
187
|
+
node74,
|
|
188
|
+
node40,
|
|
189
|
+
node75,
|
|
190
|
+
node72,
|
|
191
|
+
node67,
|
|
192
|
+
node43,
|
|
193
|
+
node62,
|
|
194
|
+
node19,
|
|
195
|
+
node60,
|
|
196
|
+
node7,
|
|
197
|
+
node5,
|
|
198
|
+
node45,
|
|
199
|
+
node17,
|
|
200
|
+
node16,
|
|
201
|
+
node70,
|
|
202
|
+
node18,
|
|
203
|
+
node49,
|
|
204
|
+
node55,
|
|
205
|
+
node27,
|
|
206
|
+
node61,
|
|
207
|
+
node51,
|
|
208
|
+
node52,
|
|
209
|
+
node53,
|
|
210
|
+
node31,
|
|
211
|
+
node56,
|
|
212
|
+
node41,
|
|
213
|
+
node73,
|
|
214
|
+
node68,
|
|
215
|
+
node22,
|
|
216
|
+
node32,
|
|
217
|
+
node25,
|
|
218
|
+
node76,
|
|
219
|
+
node42,
|
|
220
|
+
node14,
|
|
221
|
+
node30,
|
|
222
|
+
node13,
|
|
223
|
+
node37,
|
|
224
|
+
node10,
|
|
225
|
+
node3,
|
|
226
|
+
node21,
|
|
227
|
+
node47,
|
|
228
|
+
node2,
|
|
229
|
+
node46,
|
|
230
|
+
node4
|
|
231
|
+
];
|
|
232
|
+
var graph2 = LayerNode.group(nodes);
|
|
233
|
+
var vanillaReplacements = [
|
|
234
|
+
node63.replace(configured5({ project: false, global: false })),
|
|
235
|
+
node61.replace(configured4({ project: false, global: false }))
|
|
236
|
+
];
|
|
237
|
+
function layer2(ref, options = {}) {
|
|
238
|
+
const startedAt = performance.now();
|
|
239
|
+
const replacements = [
|
|
240
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
241
|
+
...options.replacements ?? [],
|
|
242
|
+
node84.replace(boundNode2(ref)),
|
|
243
|
+
node7.replace(bound2(options.plugins ?? []))
|
|
244
|
+
];
|
|
245
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
246
|
+
directory: ref.directory,
|
|
247
|
+
workspaceID: ref.workspaceID,
|
|
248
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
249
|
+
})));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./repository-cache-j5w2yx54.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-v1faaxn9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-22f357wt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./repository-cache-cgkqc5k9.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service36;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|