@opencode/core 0.0.0-dev-20162 → 0.0.0-dev-20164
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 +69 -69
- package/dist/chunks/{reference-b669rhzj.js → persistent-pty-01nnymx6.js} +17 -17
- package/dist/chunks/{reference-51t1nk0w.js → persistent-pty-08md9an2.js} +20 -20
- package/dist/chunks/{reference-rzxqnzwt.js → persistent-pty-0g4y79g0.js} +12 -12
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{reference-adr897hr.js → persistent-pty-0p8q5ehv.js} +20 -20
- package/dist/chunks/{reference-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-82t62krp.js → persistent-pty-0t93asss.js} +8 -8
- package/dist/chunks/{reference-22sd1qqc.js → persistent-pty-0xezjjjn.js} +8 -8
- package/dist/chunks/{reference-tq9cs6qv.js → persistent-pty-11jghh1r.js} +22 -22
- package/dist/chunks/{reference-y68kb7s2.js → persistent-pty-1adxqfwa.js} +26 -26
- package/dist/chunks/{reference-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-dt9mh0bm.js → persistent-pty-1ngb9c38.js} +4 -4
- package/dist/chunks/{reference-qw0a87jh.js → persistent-pty-1nhss6w6.js} +20 -20
- package/dist/chunks/{reference-6a13jgj0.js → persistent-pty-1qbqvybc.js} +13 -13
- package/dist/chunks/{reference-qbqbaz6q.js → persistent-pty-1y283654.js} +4 -4
- package/dist/chunks/{reference-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{reference-epg42mqj.js → persistent-pty-227srnq3.js} +13 -13
- package/dist/chunks/{reference-cpy6gm2a.js → persistent-pty-23pqda6t.js} +6 -6
- package/dist/chunks/{reference-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{reference-c49cqfqd.js → persistent-pty-296b5s0h.js} +8 -8
- package/dist/chunks/{reference-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-ntwwz3xg.js → persistent-pty-2j1qtvzq.js} +2 -2
- package/dist/chunks/{reference-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-2yy3z0jy.js → persistent-pty-2neap1z6.js} +14 -14
- package/dist/chunks/{reference-vtj7y5ay.js → persistent-pty-2pgqb13s.js} +29 -29
- package/dist/chunks/{reference-tweg7shc.js → persistent-pty-31eqtkvq.js} +13 -13
- package/dist/chunks/{reference-5hcyjm69.js → persistent-pty-335gx45g.js} +5 -5
- package/dist/chunks/{reference-qj1xz12p.js → persistent-pty-3f6m2wqe.js} +4 -4
- package/dist/chunks/{reference-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3s6dz3zh.js → persistent-pty-3mf0sz11.js} +10 -10
- package/dist/chunks/{reference-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-5pd7ahqb.js → persistent-pty-41gc5d0b.js} +10 -10
- package/dist/chunks/{reference-j12s1dt6.js → persistent-pty-45fdndrg.js} +8 -8
- package/dist/chunks/{reference-96y032zk.js → persistent-pty-46jya41g.js} +9 -9
- package/dist/chunks/{reference-k607ew7q.js → persistent-pty-47fq69fq.js} +19 -19
- package/dist/chunks/{reference-5422n3t7.js → persistent-pty-4cpjpwjg.js} +30 -30
- package/dist/chunks/{reference-bpp3ryfj.js → persistent-pty-4tzgaesz.js} +10 -10
- package/dist/chunks/{reference-8aw490j5.js → persistent-pty-4xwyy9ad.js} +3 -3
- package/dist/chunks/{reference-q2s2k355.js → persistent-pty-4y8gxswz.js} +39 -39
- package/dist/chunks/{reference-d02z46y2.js → persistent-pty-5230006x.js} +6 -6
- package/dist/chunks/{reference-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/persistent-pty-56zeh913.js +26 -0
- package/dist/chunks/{reference-j8y55bdm.js → persistent-pty-575extxc.js} +31 -31
- package/dist/chunks/{reference-2fgn2we9.js → persistent-pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{reference-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-g9b34w1m.js → persistent-pty-5dfeagw9.js} +15 -15
- package/dist/chunks/{reference-n0w1s0p8.js → persistent-pty-5dtfwc66.js} +11 -11
- package/dist/chunks/{reference-wq5mx1s6.js → persistent-pty-5gm161de.js} +9 -9
- package/dist/chunks/{reference-jr3qt0m1.js → persistent-pty-5pchrvbf.js} +3 -3
- package/dist/chunks/{reference-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-c9fprm0x.js → persistent-pty-5xfxk5qj.js} +2 -2
- package/dist/chunks/{reference-3fkr61hr.js → persistent-pty-5xpb6q0y.js} +8 -8
- package/dist/chunks/{reference-n1ka8r9d.js → persistent-pty-5xpznt2d.js} +4 -4
- package/dist/chunks/{reference-8t5wqk0x.js → persistent-pty-62xhx457.js} +13 -13
- package/dist/chunks/{reference-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{reference-akyrbgpn.js → persistent-pty-66fb0720.js} +18 -18
- package/dist/chunks/{reference-66ysksfg.js → persistent-pty-6a50q89r.js} +9 -9
- package/dist/chunks/{reference-mj8gsvpt.js → persistent-pty-6b64cty4.js} +38 -38
- package/dist/chunks/{reference-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-vdcvmm1j.js → persistent-pty-6qxa4z0k.js} +9 -9
- package/dist/chunks/{reference-ffwxfrj0.js → persistent-pty-6rectmv1.js} +28 -28
- package/dist/chunks/{reference-t54k9pq0.js → persistent-pty-6rvajrnc.js} +1 -1
- package/dist/chunks/{reference-ytys1bh6.js → persistent-pty-6vna95zw.js} +19 -19
- package/dist/chunks/{reference-m2h158as.js → persistent-pty-737n3dqd.js} +9 -9
- package/dist/chunks/{reference-wryz29p9.js → persistent-pty-741j3ryy.js} +20 -20
- package/dist/chunks/{reference-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-ynnjenk0.js → persistent-pty-7k3j8est.js} +12 -12
- package/dist/chunks/{reference-eq0vda6f.js → persistent-pty-7kqen0y3.js} +47 -47
- package/dist/chunks/{reference-r59w9cr0.js → persistent-pty-7pdxtf20.js} +15 -15
- package/dist/chunks/{reference-8nk0jvjq.js → persistent-pty-890xenda.js} +10 -10
- package/dist/chunks/{reference-ypxg5ew0.js → persistent-pty-8aywcm47.js} +3 -3
- package/dist/chunks/{reference-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-4twm1v8c.js → persistent-pty-8e2svszp.js} +9 -9
- package/dist/chunks/{reference-e2hjzebn.js → persistent-pty-8gxqpgph.js} +4 -4
- package/dist/chunks/{reference-gdgd201h.js → persistent-pty-8jh6age2.js} +11 -11
- package/dist/chunks/{reference-90bn1v09.js → persistent-pty-8qfz057q.js} +4 -4
- package/dist/chunks/{reference-zqd4qn9t.js → persistent-pty-8s7tt1np.js} +3 -3
- package/dist/chunks/{reference-w45dy96y.js → persistent-pty-8yy5nj9k.js} +20 -20
- package/dist/chunks/{reference-62c64d0f.js → persistent-pty-8zp8v96d.js} +10 -10
- package/dist/chunks/{reference-9qygrp94.js → persistent-pty-916rzewx.js} +8 -8
- package/dist/chunks/{reference-0gx7vwr2.js → persistent-pty-91a0d1yt.js} +12 -12
- package/dist/chunks/{reference-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{reference-j34dxvpb.js → persistent-pty-994b2pxg.js} +5 -5
- package/dist/chunks/{reference-hbzkwv96.js → persistent-pty-99dvvp6t.js} +14 -14
- package/dist/chunks/{reference-dgk138jj.js → persistent-pty-9gh63tf7.js} +11 -11
- package/dist/chunks/{reference-rhs1s70h.js → persistent-pty-9kn5es1x.js} +13 -13
- package/dist/chunks/{reference-8ac1ch0a.js → persistent-pty-9vbqd6fz.js} +16 -16
- package/dist/chunks/{reference-2mjwbfp5.js → persistent-pty-a37hnpwz.js} +17 -17
- package/dist/chunks/{reference-b09hzw3k.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{reference-zt9e00je.js → persistent-pty-aaccrgx2.js} +4 -4
- package/dist/chunks/{reference-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-49yzscfc.js → persistent-pty-aajqz8pf.js} +10 -10
- package/dist/chunks/{reference-6j4qz43p.js → persistent-pty-aneetawy.js} +22 -22
- package/dist/chunks/{reference-8wy5hk7w.js → persistent-pty-anf3dr2h.js} +11 -11
- package/dist/chunks/{reference-qmc2sv0z.js → persistent-pty-ar9dn3cv.js} +8 -8
- package/dist/chunks/{reference-xatqgmg5.js → persistent-pty-at7effxm.js} +76 -76
- package/dist/chunks/{reference-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-9f53fa7g.js → persistent-pty-b91ar3n4.js} +3 -3
- package/dist/chunks/{reference-8v842n89.js → persistent-pty-bcsjh7qn.js} +13 -13
- package/dist/chunks/{reference-5xhn02sj.js → persistent-pty-bkxj05eb.js} +15 -15
- package/dist/chunks/{reference-d6bxb51r.js → persistent-pty-bmqevcy4.js} +18 -18
- package/dist/chunks/{reference-d0j2a5wc.js → persistent-pty-bxy0qmvh.js} +13 -13
- package/dist/chunks/{reference-fqcgpcra.js → persistent-pty-bydnjh3t.js} +9 -9
- package/dist/chunks/{reference-sm5gt5gy.js → persistent-pty-c178vpnr.js} +11 -11
- package/dist/chunks/{reference-c43a01n5.js → persistent-pty-c87nfaq6.js} +24 -24
- package/dist/chunks/{reference-ejhs522f.js → persistent-pty-c97sszdy.js} +15 -15
- package/dist/chunks/{reference-n4jtts10.js → persistent-pty-c98refcx.js} +23 -23
- package/dist/chunks/{reference-zkgb0eff.js → persistent-pty-ca1a2yzy.js} +19 -19
- package/dist/chunks/persistent-pty-chv7b8n2.js +511 -0
- package/dist/chunks/{reference-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{reference-8v6pyhej.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{reference-dwq6ryhm.js → persistent-pty-ctzssw83.js} +8 -8
- package/dist/chunks/{reference-hzmk18ty.js → persistent-pty-d3dx1kx7.js} +24 -24
- package/dist/chunks/{reference-2mq1h16s.js → persistent-pty-d4he2qe1.js} +9 -9
- package/dist/chunks/{reference-0v53mg2y.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{reference-bscb95cy.js → persistent-pty-dg5bcj4q.js} +6 -6
- package/dist/chunks/{reference-zeente5n.js → persistent-pty-dh5j4tq6.js} +17 -17
- package/dist/chunks/{reference-mzrbxmyd.js → persistent-pty-dm9cr3j9.js} +11 -11
- package/dist/chunks/{reference-xkntkrq7.js → persistent-pty-dmqcgk4z.js} +5 -5
- package/dist/chunks/{reference-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{reference-4gwesgvk.js → persistent-pty-dq65fn51.js} +8 -8
- package/dist/chunks/{reference-as206x49.js → persistent-pty-e1hqtx3n.js} +11 -11
- package/dist/chunks/{reference-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-3p3vnky8.js → persistent-pty-efvsyy3d.js} +11 -11
- package/dist/chunks/{reference-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-evbgk2k8.js → persistent-pty-evbgk2k8.js} +2 -2
- package/dist/chunks/{reference-9mfgef28.js → persistent-pty-fe6vq8tg.js} +1 -1
- package/dist/chunks/{reference-5qsvmyhn.js → persistent-pty-ferhwsec.js} +74 -74
- package/dist/chunks/{reference-g558e3ha.js → persistent-pty-ff10rxvd.js} +24 -24
- package/dist/chunks/{reference-847b4gce.js → persistent-pty-fk95fhgy.js} +9 -9
- package/dist/chunks/{reference-f0s79xst.js → persistent-pty-fm0mk9mt.js} +15 -15
- package/dist/chunks/{reference-r4xhx5yy.js → persistent-pty-ftey8pzc.js} +12 -12
- package/dist/chunks/{reference-8bhj9fqm.js → persistent-pty-fwh42rj0.js} +1 -1
- package/dist/chunks/{reference-k10yg983.js → persistent-pty-fxzsjm82.js} +9 -9
- package/dist/chunks/{reference-qyrqhvab.js → persistent-pty-g898w310.js} +22 -22
- package/dist/chunks/{reference-fqb2p7cx.js → persistent-pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{reference-1kn1kk3r.js → persistent-pty-gaz1nxqp.js} +8 -8
- package/dist/chunks/{reference-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-cv4vwhby.js → persistent-pty-gf6nqq1m.js} +6 -6
- package/dist/chunks/{reference-y0zsxj1p.js → persistent-pty-ghx2a3j9.js} +39 -39
- package/dist/chunks/{reference-vdanqmfn.js → persistent-pty-grzz702c.js} +13 -13
- package/dist/chunks/{reference-p7d3n4tx.js → persistent-pty-gszzdtem.js} +31 -31
- package/dist/chunks/{reference-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{reference-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-01x1ys4d.js → persistent-pty-h83bje8e.js} +6 -6
- package/dist/chunks/{reference-07w59vex.js → persistent-pty-h896pcm5.js} +6 -6
- package/dist/chunks/{reference-kyev7ve5.js → persistent-pty-h8t5dwg5.js} +1 -1
- package/dist/chunks/{reference-hkfg6fzm.js → persistent-pty-hkfg6fzm.js} +2 -2
- package/dist/chunks/{reference-16bbg7ec.js → persistent-pty-hm6bha70.js} +38 -38
- package/dist/chunks/{reference-bgxcxs0p.js → persistent-pty-hnr5yq9h.js} +5 -5
- package/dist/chunks/{reference-dcx1sf8q.js → persistent-pty-hz0regp5.js} +7 -7
- package/dist/chunks/{reference-n3kpww26.js → persistent-pty-hz9bs9b4.js} +32 -32
- package/dist/chunks/{reference-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-c38bjq8c.js → persistent-pty-j64qgxzw.js} +23 -23
- package/dist/chunks/{reference-3bkkhtex.js → persistent-pty-j783qryr.js} +13 -13
- package/dist/chunks/{reference-csaq20vk.js → persistent-pty-j8mh8b5n.js} +39 -39
- package/dist/chunks/{reference-zhmyjth5.js → persistent-pty-jass2s4f.js} +11 -11
- package/dist/chunks/{reference-engh8x4k.js → persistent-pty-je0jfj0e.js} +6 -6
- package/dist/chunks/{reference-y6f0p4jw.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{reference-964jcbyv.js → persistent-pty-jpbdh4v2.js} +24 -24
- package/dist/chunks/{reference-qqd9nqt4.js → persistent-pty-jt30h5qe.js} +20 -20
- package/dist/chunks/{reference-0ecm74t9.js → persistent-pty-jz8rx2zy.js} +24 -24
- package/dist/chunks/{reference-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{reference-88tdds3s.js → persistent-pty-k5r54mqc.js} +44 -44
- package/dist/chunks/{reference-a7szthnd.js → persistent-pty-k83jpm1g.js} +9 -9
- package/dist/chunks/{reference-4j3q3gy0.js → persistent-pty-kcpg680q.js} +9 -9
- package/dist/chunks/{reference-pgdff0n2.js → persistent-pty-kqts2caf.js} +18 -18
- package/dist/chunks/{reference-5fre3x80.js → persistent-pty-kxzq1zxp.js} +1 -1
- package/dist/chunks/{reference-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-kysnx2fh.js → persistent-pty-m6ycr81h.js} +16 -16
- package/dist/chunks/{reference-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-5b84avn1.js → persistent-pty-mbd019w6.js} +8 -8
- package/dist/chunks/{reference-1pjwb51h.js → persistent-pty-mg504efd.js} +19 -19
- package/dist/chunks/{reference-bxbcym62.js → persistent-pty-mrs83b0h.js} +16 -16
- package/dist/chunks/{reference-nf7y2nv3.js → persistent-pty-msyw7222.js} +3 -3
- package/dist/chunks/{reference-r5x6zcsm.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{reference-qh436n0b.js → persistent-pty-mze09n65.js} +23 -23
- package/dist/chunks/{reference-dkhbyg2v.js → persistent-pty-n0et9739.js} +10 -10
- package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
- package/dist/chunks/{reference-0amqtv85.js → persistent-pty-nps86teb.js} +20 -20
- package/dist/chunks/{reference-qz8v4has.js → persistent-pty-nyand8e3.js} +45 -45
- package/dist/chunks/{reference-b7b4ctej.js → persistent-pty-nz569jqt.js} +5 -5
- package/dist/chunks/{reference-1v6wmkfd.js → persistent-pty-p1zpfjkz.js} +12 -12
- package/dist/chunks/{reference-tgxh7826.js → persistent-pty-p7ms2pw6.js} +9 -9
- package/dist/chunks/{reference-re8n8mvq.js → persistent-pty-p820wzt7.js} +66 -66
- package/dist/chunks/{reference-x6vfkpfk.js → persistent-pty-pb0865gs.js} +26 -26
- package/dist/chunks/{reference-a0n8sp6n.js → persistent-pty-pe71matz.js} +6 -6
- package/dist/chunks/{reference-wsjfscnr.js → persistent-pty-pfs0r10v.js} +14 -14
- package/dist/chunks/{reference-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{reference-8fypk95p.js → persistent-pty-pvzwpsva.js} +128 -128
- package/dist/chunks/{reference-py3kkmfq.js → persistent-pty-py3kkmfq.js} +2 -2
- package/dist/chunks/{reference-z3as9k27.js → persistent-pty-q39ggtte.js} +23 -23
- package/dist/chunks/{reference-tv601men.js → persistent-pty-qcf4k6mm.js} +22 -22
- package/dist/chunks/{reference-nq7qbqzc.js → persistent-pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{reference-jw80jp6b.js → persistent-pty-qj8eh1ht.js} +4 -4
- package/dist/chunks/{reference-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-69t6210w.js → persistent-pty-r8bbrrkb.js} +18 -18
- package/dist/chunks/{reference-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-91xrs62w.js → persistent-pty-rez8drcy.js} +3 -3
- package/dist/chunks/{reference-2y2njx4h.js → persistent-pty-rgj6km22.js} +3 -3
- package/dist/chunks/{reference-7n3h8z8x.js → persistent-pty-rkeedwdt.js} +30 -30
- package/dist/chunks/{reference-12gpr7d5.js → persistent-pty-rrmj4cxt.js} +8 -8
- package/dist/chunks/{reference-ct1p0e3y.js → persistent-pty-rsq3dspb.js} +15 -15
- package/dist/chunks/{reference-sb9w1qj8.js → persistent-pty-rwxdf6xm.js} +6 -6
- package/dist/chunks/persistent-pty-rxfkax64.js +252 -0
- package/dist/chunks/{reference-pk2nqkv1.js → persistent-pty-s61nhqp5.js} +25 -25
- package/dist/chunks/{reference-dt2x0zh0.js → persistent-pty-s6dskvww.js} +5 -5
- package/dist/chunks/{reference-t550f9t1.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{reference-k7v87v4h.js → persistent-pty-sd0s3djk.js} +9 -9
- package/dist/chunks/{reference-cezasygy.js → persistent-pty-sdtemf1j.js} +34 -34
- package/dist/chunks/{reference-826wxmg7.js → persistent-pty-sgtbqjty.js} +32 -32
- package/dist/chunks/{reference-egvk2tm3.js → persistent-pty-ss1emqjf.js} +17 -17
- package/dist/chunks/{reference-rdecwvm0.js → persistent-pty-ssdqnhy0.js} +4 -4
- package/dist/chunks/{reference-1z0e90kj.js → persistent-pty-stpqtxx6.js} +15 -15
- package/dist/chunks/{reference-nrbetfhp.js → persistent-pty-sv0hxxy2.js} +7 -7
- package/dist/chunks/{reference-53b1aas6.js → persistent-pty-swvazs9r.js} +6 -6
- package/dist/chunks/{reference-s2wnrmgh.js → persistent-pty-sycenq6p.js} +29 -29
- package/dist/chunks/{reference-3r15x7gc.js → persistent-pty-t5eky83d.js} +14 -14
- package/dist/chunks/{reference-m3k0s26c.js → persistent-pty-tanr7chk.js} +4 -4
- package/dist/chunks/{reference-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{reference-4t6dvhtz.js → persistent-pty-tfz634vt.js} +18 -18
- package/dist/chunks/{reference-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-a3x70673.js → persistent-pty-tzjpraer.js} +20 -20
- package/dist/chunks/{reference-7tgakezr.js → persistent-pty-v3sgzvyr.js} +1 -1
- package/dist/chunks/{reference-zfq801h6.js → persistent-pty-v4nfzjvf.js} +8 -8
- package/dist/chunks/{reference-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-gbxwt4zb.js → persistent-pty-vhz5xwqz.js} +7 -7
- package/dist/chunks/{reference-va3k01c5.js → persistent-pty-vk7c57nq.js} +12 -12
- package/dist/chunks/{reference-7ky71vec.js → persistent-pty-vrxb6jmc.js} +11 -11
- package/dist/chunks/{reference-3v7e0nj5.js → persistent-pty-vsy454dw.js} +20 -20
- package/dist/chunks/{reference-psgxw3jt.js → persistent-pty-vxkszqwd.js} +5 -5
- package/dist/chunks/{reference-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-qe26s0zb.js → persistent-pty-w3x9v1nk.js} +8 -8
- package/dist/chunks/{reference-yqhaceyq.js → persistent-pty-w9vf9qqj.js} +9 -9
- package/dist/chunks/{reference-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{reference-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{reference-xnbmy0b6.js → persistent-pty-whngsn6r.js} +17 -17
- package/dist/chunks/{reference-z7gkyp1n.js → persistent-pty-wj4g8yv4.js} +7 -7
- package/dist/chunks/{reference-7ah923bx.js → persistent-pty-wkcf81jx.js} +22 -22
- package/dist/chunks/{reference-6zkkrft8.js → persistent-pty-wr3tk2ww.js} +35 -35
- package/dist/chunks/{reference-g21r4nge.js → persistent-pty-wwx8h3qn.js} +14 -14
- package/dist/chunks/{reference-nf7k385e.js → persistent-pty-x0631gwp.js} +5 -5
- package/dist/chunks/{reference-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-7xrebrp4.js → persistent-pty-x2e89f7h.js} +4 -4
- package/dist/chunks/{reference-x3gqap9d.js → persistent-pty-x3gqap9d.js} +1 -1
- package/dist/chunks/{reference-d8ek7das.js → persistent-pty-x6nw1v8c.js} +3 -3
- package/dist/chunks/{reference-f1080f95.js → persistent-pty-xdbg7gq8.js} +9 -9
- package/dist/chunks/{reference-9x77fmbz.js → persistent-pty-xf0nr9dv.js} +4 -4
- package/dist/chunks/{reference-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{reference-r2pcxk2q.js → persistent-pty-xnv07p9r.js} +11 -11
- package/dist/chunks/{reference-3cfg471a.js → persistent-pty-xqa3e3de.js} +7 -7
- package/dist/chunks/{reference-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-1ft6zanx.js → persistent-pty-y1rr13hx.js} +33 -33
- package/dist/chunks/{reference-v7m9x23a.js → persistent-pty-yavnd24h.js} +30 -30
- package/dist/chunks/{reference-7gc63ees.js → persistent-pty-yaxb32cc.js} +41 -41
- package/dist/chunks/{reference-46c3760n.js → persistent-pty-yaxy18bs.js} +33 -33
- package/dist/chunks/{reference-984xje6x.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{reference-6hb7b85m.js → persistent-pty-ymaxd8g1.js} +32 -32
- package/dist/chunks/{reference-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{reference-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-nw1wp5ck.js → persistent-pty-ywptq5a1.js} +4 -4
- package/dist/chunks/{reference-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{reference-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-dx8786a0.js → persistent-pty-z1kx27t1.js} +10 -10
- package/dist/chunks/{reference-b1n688j8.js → persistent-pty-z43b1w6b.js} +4 -4
- package/dist/chunks/{reference-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-xx4gy9g2.js → persistent-pty-zbbjan7x.js} +14 -14
- package/dist/chunks/{reference-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-43b73ppw.js → persistent-pty-zfm6w3qw.js} +48 -48
- package/dist/chunks/{reference-nwdmwc9e.js → persistent-pty-zmrnz6me.js} +39 -39
- package/dist/chunks/{reference-3f72df5w.js → persistent-pty-zmx61mjz.js} +21 -21
- package/dist/chunks/{reference-s179y50x.js → persistent-pty-zpp3pb8s.js} +1 -1
- package/dist/chunks/{reference-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-td88ers4.js → persistent-pty-zryabcgp.js} +20 -20
- package/dist/chunks/{reference-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- 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 +130 -130
- 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 +123 -123
- 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 +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +76 -76
- 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 +1 -1
- 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 +70 -70
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +95 -95
- 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 +77 -77
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- 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 +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +129 -129
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- 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 +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- 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 +77 -77
- 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 +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +86 -86
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +2 -2
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/reference-1zxhsznx.js +0 -26
- package/dist/chunks/reference-91h3g1xt.js +0 -252
- package/dist/chunks/reference-ebe412tk.js +0 -511
- package/dist/chunks/reference-f81tjggh.js +0 -18
- package/dist/chunks/reference-qapv375x.js +0 -4
- /package/dist/chunks/{reference-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./persistent-pty-h896pcm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-n95b3jav.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./persistent-pty-7kqen0y3.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin30,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin30 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin26 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin30, exports_opencode };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./persistent-pty-zmrnz6me.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./persistent-pty-j783qryr.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service56;
|
|
27
|
+
const shell = yield* Service70;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin16 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin2, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./persistent-pty-zmrnz6me.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin43 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin48, exports_warming };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./persistent-pty-mrs83b0h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./persistent-pty-jz8rx2zy.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service15
|
|
16
|
+
} from "./persistent-pty-pfs0r10v.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-47fq69fq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service65
|
|
26
|
+
} from "./persistent-pty-nyand8e3.js";
|
|
27
27
|
import {
|
|
28
28
|
Service25
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-0g4y79g0.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin21,
|
|
41
|
+
name: () => name3,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name3 = "grep";
|
|
48
|
+
var Input3 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin21 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
const environment = yield* Service55;
|
|
90
|
+
const ripgrep = yield* Service15;
|
|
91
|
+
const location = yield* Service80;
|
|
92
92
|
const access = yield* Service25;
|
|
93
|
-
const permission = yield*
|
|
93
|
+
const permission = yield* Service65;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input3,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name3,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin31 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin31 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name3, Input3, Output2, toModelContent3, Plugin21, exports_grep };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node63
|
|
5
|
+
} from "./persistent-pty-dm9cr3j9.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-ssdqnhy0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./persistent-pty-0xezjjjn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-nyand8e3.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-wj4g8yv4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error5
|
|
22
|
+
} from "./persistent-pty-d3dx1kx7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service41,
|
|
25
|
+
node44
|
|
26
|
+
} from "./persistent-pty-9gh63tf7.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-v3sgzvyr.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer14,
|
|
45
|
+
node: () => node43,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service40 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer14 = Layer.effect(Service40, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service69;
|
|
163
|
+
const transport = yield* Service41;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service40.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node43 = makeLocationNode({
|
|
269
|
+
service: Service40,
|
|
270
|
+
layer: layer14,
|
|
271
|
+
deps: [node73, node44, node63]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service40, layer14, node43, exports_model_request };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event21,
|
|
10
|
-
Service81,
|
|
11
|
-
node85
|
|
12
|
-
} from "./reference-ffwxfrj0.js";
|
|
7
|
+
} from "./persistent-pty-ywptq5a1.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service78,
|
|
15
11
|
node82
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-6rectmv1.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./persistent-pty-mrs83b0h.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
Service55,
|
|
19
|
+
node57
|
|
20
|
+
} from "./persistent-pty-jz8rx2zy.js";
|
|
21
|
+
import {
|
|
22
|
+
ID16,
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./persistent-pty-0p8q5ehv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./persistent-pty-whngsn6r.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service42,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured5,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer16,
|
|
58
|
+
node: () => node45
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service42 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service55;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service79;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service78;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service42.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
|
|
|
518
518
|
}
|
|
519
519
|
function configured5(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service42,
|
|
522
|
+
layer: layer16(options),
|
|
523
|
+
deps: [node84, node57, node87, node83, node81, node82]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node45 = configured5();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service42, Options5, layer16, configured5, node45, exports_mcp4 };
|