@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20731
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{schema-daptfcmc.js → state-08jsyhgk.js} +22 -22
- package/dist/chunks/{schema-hk2k4rxs.js → state-09sqteag.js} +1 -1
- package/dist/chunks/{schema-174q612y.js → state-0j8txdm0.js} +3 -3
- package/dist/chunks/{schema-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-qne3fa44.js → state-0r3c1bmw.js} +5 -5
- package/dist/chunks/{schema-5byh5fbq.js → state-0s32db7e.js} +15 -15
- package/dist/chunks/{schema-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-b7j864yj.js → state-0zaydvkv.js} +32 -32
- package/dist/chunks/{schema-xgwtbm8x.js → state-101fvt1n.js} +93 -93
- package/dist/chunks/{schema-wgqbq6kr.js → state-10rnhjad.js} +11 -11
- package/dist/chunks/{schema-snvwhan6.js → state-138h01qe.js} +7 -7
- package/dist/chunks/{schema-sr36t4tg.js → state-1a37t69z.js} +10 -10
- package/dist/chunks/{schema-erjffywh.js → state-1b60b23y.js} +18 -18
- package/dist/chunks/{schema-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-84h8c373.js → state-1dvck2a7.js} +2 -2
- package/dist/chunks/{schema-j9hprypc.js → state-1epzdntc.js} +11 -11
- package/dist/chunks/{schema-zf5859yh.js → state-1h0krj6g.js} +33 -33
- package/dist/chunks/{schema-6yz0wx8n.js → state-1pxz8ven.js} +5 -5
- package/dist/chunks/{schema-0kjv6zqm.js → state-1q8nfdb4.js} +3 -3
- package/dist/chunks/{schema-x16rpnsn.js → state-1qbad211.js} +8 -8
- package/dist/chunks/{schema-1ygqh575.js → state-1ygqh575.js} +2 -2
- package/dist/chunks/{schema-ft5semx5.js → state-21qrczcf.js} +24 -24
- package/dist/chunks/{schema-8xpvx0xf.js → state-24dsd3mh.js} +33 -33
- package/dist/chunks/{schema-0y5bnsvv.js → state-25qfk6yg.js} +15 -15
- package/dist/chunks/{schema-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-vqfzq50h.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{schema-z7rpvhac.js → state-2kngz1a4.js} +11 -11
- package/dist/chunks/{schema-qj7nrkn4.js → state-2rc505e3.js} +20 -20
- package/dist/chunks/{schema-dh0webm5.js → state-2rnwhwfa.js} +11 -11
- package/dist/chunks/{schema-kxhhe7ks.js → state-2s897vgp.js} +13 -13
- package/dist/chunks/{schema-e9w2ffer.js → state-2t7sqs4y.js} +12 -12
- package/dist/chunks/{schema-7vyzxw8y.js → state-2z3n0s1m.js} +11 -11
- package/dist/chunks/{schema-fg6c7q2e.js → state-3eb2wybh.js} +11 -11
- package/dist/chunks/{schema-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-hvfbn6et.js → state-3gccgfaf.js} +4 -4
- package/dist/chunks/{schema-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-6gvr7rcm.js → state-3jms3t4n.js} +74 -74
- package/dist/chunks/{schema-qp9vg2jq.js → state-3nz0bd4c.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-zn1w914b.js → state-3w2eqbz4.js} +13 -13
- package/dist/chunks/{schema-g5x9spb3.js → state-3yjxx9cb.js} +13 -13
- package/dist/chunks/{schema-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-2s47eas1.js → state-40rcjy03.js} +36 -36
- package/dist/chunks/{schema-n4pjvd7j.js → state-41kmeemt.js} +9 -9
- package/dist/chunks/{schema-04ct73zt.js → state-427fgkyx.js} +18 -18
- package/dist/chunks/{schema-yd8mzne0.js → state-4dy7nfnb.js} +36 -36
- package/dist/chunks/{schema-4z58m4b4.js → state-4j4tgtq5.js} +4 -4
- package/dist/chunks/{schema-g46t4tqm.js → state-4m5yfwrs.js} +12 -12
- package/dist/chunks/{schema-fhz5gfgy.js → state-4n607a2z.js} +5 -5
- package/dist/chunks/{schema-5epte933.js → state-4pa8nav4.js} +3 -3
- package/dist/chunks/{schema-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{schema-r71qq8yj.js → state-4xpke3ff.js} +15 -15
- package/dist/chunks/{schema-thswf6hg.js → state-4yhfmhtq.js} +38 -38
- package/dist/chunks/{schema-78tqvked.js → state-52gbbbb2.js} +36 -36
- package/dist/chunks/{schema-r94pvvab.js → state-54ma36ye.js} +4 -4
- package/dist/chunks/{schema-3chxap05.js → state-54z56z4r.js} +8 -8
- package/dist/chunks/{schema-xmgjmham.js → state-551azpvx.js} +24 -24
- package/dist/chunks/{schema-hd4remjx.js → state-55ehdx5d.js} +20 -20
- package/dist/chunks/{schema-fjb6gf5c.js → state-5gt3f0n7.js} +35 -35
- package/dist/chunks/{schema-b4sr5cxy.js → state-5h69wz8x.js} +4 -4
- package/dist/chunks/{schema-bghdypt9.js → state-5k5r4c8x.js} +11 -11
- package/dist/chunks/{schema-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{schema-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-6zaqt7dr.js → state-5w4b35rv.js} +9 -9
- package/dist/chunks/{schema-ymaah0de.js → state-5y60f30r.js} +29 -29
- package/dist/chunks/{schema-5yzzbxa7.js → state-5yzzbxa7.js} +1 -1
- package/dist/chunks/{schema-qcy2fs5h.js → state-5zqdgy8b.js} +27 -27
- package/dist/chunks/{schema-ca5q3sa4.js → state-611ehfjv.js} +6 -6
- package/dist/chunks/{schema-02g264nc.js → state-62k0yxbf.js} +16 -16
- package/dist/chunks/{schema-1v4g0mnm.js → state-67yqhhje.js} +20 -20
- package/dist/chunks/{schema-pxcy2v4k.js → state-686nxd57.js} +6 -6
- package/dist/chunks/{schema-4n4r02ph.js → state-6bjn4za1.js} +23 -23
- package/dist/chunks/{schema-3v4eqn68.js → state-6cpepfj3.js} +18 -18
- package/dist/chunks/{schema-8zv3wp18.js → state-6fhb81wd.js} +19 -19
- package/dist/chunks/{schema-4erjtqpw.js → state-6pygarpm.js} +3 -3
- package/dist/chunks/{schema-8jzt4s7q.js → state-6rhevr55.js} +43 -43
- package/dist/chunks/{schema-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-f75zav2x.js → state-71az546q.js} +2 -2
- package/dist/chunks/{schema-z208n99h.js → state-77f8qgj3.js} +13 -13
- package/dist/chunks/{schema-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-fcrkznn8.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-npa44ypb.js → state-7j27yge6.js} +23 -23
- package/dist/chunks/{schema-jtr36q24.js → state-7jy1nsxc.js} +13 -13
- package/dist/chunks/{schema-hdnjgwej.js → state-7pg6bb3s.js} +27 -27
- package/dist/chunks/{schema-7bda4q4e.js → state-7q0e42ms.js} +6 -6
- package/dist/chunks/{schema-t0ghfsqf.js → state-7rghpwat.js} +35 -35
- package/dist/chunks/{schema-21wwxtv3.js → state-7st03jgk.js} +19 -19
- package/dist/chunks/{schema-69ct9x9k.js → state-7x6rk6r1.js} +12 -12
- package/dist/chunks/{schema-cznmaky0.js → state-80jhpvy9.js} +30 -30
- package/dist/chunks/{schema-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{schema-sxmar18p.js → state-89zyxthc.js} +19 -19
- package/dist/chunks/{schema-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-kr1ymz84.js → state-8hrcrd79.js} +29 -29
- package/dist/chunks/{schema-gaphvq12.js → state-8hts1srz.js} +8 -8
- package/dist/chunks/{schema-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-kwa05qgn.js → state-8mps3fwf.js} +16 -16
- package/dist/chunks/{schema-xzgm84yq.js → state-9031p0b2.js} +5 -5
- package/dist/chunks/{schema-kt27ghqn.js → state-918mtgee.js} +5 -5
- package/dist/chunks/{schema-xm8y3y9s.js → state-9dgxaq8y.js} +19 -19
- package/dist/chunks/{schema-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
- package/dist/chunks/{schema-2b5wyz52.js → state-9kg8hsmm.js} +11 -11
- package/dist/chunks/{schema-rewxngkf.js → state-9n6qg2a9.js} +32 -32
- package/dist/chunks/{schema-cb8p393h.js → state-9qk2kwmb.js} +16 -16
- package/dist/chunks/{schema-ajbv8hsx.js → state-9ywvhnd6.js} +18 -18
- package/dist/chunks/{schema-a1gpj94z.js → state-a1gpj94z.js} +1 -1
- package/dist/chunks/{schema-vsp1fds9.js → state-a8bn8zg0.js} +21 -21
- package/dist/chunks/{schema-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-ka78afm3.js → state-ad6fy242.js} +7 -7
- package/dist/chunks/{schema-vykevjvn.js → state-aeb4sny1.js} +5 -5
- package/dist/chunks/{schema-n7p1k2qf.js → state-aeggwfyx.js} +7 -7
- package/dist/chunks/{schema-ywmq76e1.js → state-ajhnm1zb.js} +25 -25
- package/dist/chunks/{schema-ma3d88bb.js → state-b0rb4zb4.js} +32 -32
- package/dist/chunks/{schema-yh1w7tjp.js → state-b434f0z0.js} +9 -9
- package/dist/chunks/{schema-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-efxe2svv.js → state-bdpzzc2x.js} +11 -11
- package/dist/chunks/{schema-b703kh14.js → state-bgecxp98.js} +4 -4
- package/dist/chunks/{schema-k1gkpfdk.js → state-bnmr3cva.js} +8 -8
- package/dist/chunks/{schema-abtvfq1n.js → state-bx25mqzy.js} +27 -27
- package/dist/chunks/state-by5v678g.js +18 -0
- package/dist/chunks/{schema-eayw6x4j.js → state-c6b7y4z0.js} +3 -3
- package/dist/chunks/{schema-9795rgjt.js → state-c6dd62wt.js} +4 -4
- package/dist/chunks/{schema-crh2qmpd.js → state-cb71px6m.js} +11 -11
- package/dist/chunks/{schema-t5r5qq5q.js → state-cfcvtgjj.js} +25 -25
- package/dist/chunks/{schema-vfynekpt.js → state-cs141p16.js} +26 -26
- package/dist/chunks/{schema-s0y0yn56.js → state-d7gb4geb.js} +8 -8
- package/dist/chunks/{schema-kb6gw2zp.js → state-d9sgy5v4.js} +4 -4
- package/dist/chunks/{schema-v2m3q5y9.js → state-dabehbb6.js} +7 -7
- package/dist/chunks/{schema-yv6pefj2.js → state-dmw4vz70.js} +17 -17
- package/dist/chunks/{schema-zs6nm7rs.js → state-dn6t15nt.js} +8 -8
- package/dist/chunks/{schema-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-5vnqvhdy.js → state-dqv4y3rf.js} +47 -47
- package/dist/chunks/{schema-g2y161wv.js → state-dy8qh9xy.js} +8 -8
- package/dist/chunks/{schema-rjjkcyvm.js → state-e4atdt0t.js} +48 -48
- package/dist/chunks/{schema-y415rrbf.js → state-edpay1ac.js} +35 -35
- package/dist/chunks/{schema-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-y10cx7wx.js → state-ejxk0zy2.js} +25 -25
- package/dist/chunks/{schema-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-vr3aek46.js → state-f42t7e33.js} +25 -25
- package/dist/chunks/{schema-m3t9151j.js → state-f7ge0a8n.js} +45 -45
- package/dist/chunks/{schema-a2ew8a62.js → state-fdv30zvt.js} +7 -7
- package/dist/chunks/{schema-4922bdcs.js → state-fhb2dsjj.js} +28 -28
- package/dist/chunks/{schema-kvjzkr2v.js → state-fmcqyzhx.js} +9 -9
- package/dist/chunks/{schema-460nts6z.js → state-ft8vrdb0.js} +28 -28
- package/dist/chunks/{schema-4qh5k59y.js → state-fw6msab2.js} +13 -13
- package/dist/chunks/{schema-4vpz4hmt.js → state-fzm7tejx.js} +12 -12
- package/dist/chunks/{schema-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-n8sna2wb.js → state-gh5z95q3.js} +9 -9
- package/dist/chunks/{schema-addxnjmp.js → state-gqtdsdt7.js} +4 -4
- package/dist/chunks/{schema-93qeztph.js → state-gs1dqwms.js} +24 -24
- package/dist/chunks/{schema-3cegwx68.js → state-h2b79v29.js} +2 -2
- package/dist/chunks/{schema-0ce7fh3z.js → state-h3pfkhmz.js} +13 -13
- package/dist/chunks/{schema-bn3rhc52.js → state-h4ckqw4f.js} +11 -11
- package/dist/chunks/{schema-qr2c2ezf.js → state-h6h410qg.js} +61 -61
- package/dist/chunks/{schema-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-tdhpy44v.js → state-h78379q5.js} +46 -46
- package/dist/chunks/{schema-ytk7n60r.js → state-hs3zg9hx.js} +27 -27
- package/dist/chunks/{schema-8byxt7bq.js → state-hv684ge7.js} +184 -184
- package/dist/chunks/{schema-jn24yy65.js → state-hw2pxhp3.js} +98 -98
- package/dist/chunks/{schema-a3c7ahw6.js → state-j34bs4nz.js} +4 -4
- package/dist/chunks/{schema-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-0dqvt60g.js → state-jf701akp.js} +5 -5
- package/dist/chunks/{schema-0t9wd588.js → state-jn0tk1mz.js} +8 -8
- package/dist/chunks/{schema-bskqsgt5.js → state-jnz95558.js} +17 -17
- package/dist/chunks/{schema-bahvtqv2.js → state-jwpv483e.js} +18 -18
- package/dist/chunks/{schema-gva94evv.js → state-jwygkmfq.js} +9 -9
- package/dist/chunks/{schema-eday4pdr.js → state-k1qsfy5p.js} +35 -35
- package/dist/chunks/{schema-m87mmgzw.js → state-k99mds86.js} +36 -36
- package/dist/chunks/{schema-rrpq0de9.js → state-k9t3kwqs.js} +12 -12
- package/dist/chunks/{schema-840fpbhq.js → state-kaywwrt1.js} +5 -5
- package/dist/chunks/{schema-7dcnqvbr.js → state-kkqpbp86.js} +44 -35
- package/dist/chunks/{schema-h74kgs22.js → state-kmb6d1dy.js} +28 -28
- package/dist/chunks/{schema-pm2wwawt.js → state-kss966qf.js} +24 -24
- package/dist/chunks/{schema-6gkjayg0.js → state-ktay9hq4.js} +11 -11
- package/dist/chunks/{schema-45y05w21.js → state-m2pfdawv.js} +4 -4
- package/dist/chunks/{schema-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-2zds0nxm.js → state-m4g7grr3.js} +24 -24
- package/dist/chunks/{schema-7vayj4m5.js → state-m8b1hsph.js} +10 -10
- package/dist/chunks/{schema-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-4zmcj57q.js → state-mak85ys1.js} +15 -15
- package/dist/chunks/{schema-skeejxkf.js → state-maw79xe3.js} +11 -11
- package/dist/chunks/{schema-9ja4ygxc.js → state-mcqz5t5c.js} +21 -21
- package/dist/chunks/{schema-a1jye2k7.js → state-mhrgq2e3.js} +8 -8
- package/dist/chunks/{schema-28qgffdg.js → state-mhz4gg3p.js} +21 -21
- package/dist/chunks/{schema-xea99qfv.js → state-ms5r0hkh.js} +49 -49
- package/dist/chunks/{schema-rp4sdv0x.js → state-mthfcyeq.js} +11 -11
- package/dist/chunks/{schema-j1fsx5qw.js → state-mwh5sg7p.js} +40 -40
- package/dist/chunks/{schema-9c0xcsgg.js → state-mwnn09ds.js} +20 -20
- package/dist/chunks/{schema-2hmemtj6.js → state-myr8fe9c.js} +3 -3
- package/dist/chunks/{schema-47rn6gb0.js → state-mzc2a39c.js} +9 -9
- package/dist/chunks/{schema-pneb2gse.js → state-mzwaxmr6.js} +3 -3
- package/dist/chunks/{schema-6yk1gpns.js → state-n3ky4ns8.js} +2 -2
- package/dist/chunks/{schema-tjtvkmkx.js → state-nb795v0v.js} +5 -5
- package/dist/chunks/{schema-dh3p6hwj.js → state-nc7he5v1.js} +27 -27
- package/dist/chunks/{schema-ppv2hyee.js → state-nv5wzee9.js} +11 -11
- package/dist/chunks/{schema-3k6hnjpv.js → state-nvdmc63m.js} +323 -323
- package/dist/chunks/{schema-p8s02wn2.js → state-p66jwzje.js} +12 -12
- package/dist/chunks/{schema-wy3px6vj.js → state-pb9tkzd3.js} +24 -24
- package/dist/chunks/{schema-rj8ch5sw.js → state-pgz7mtdk.js} +10 -10
- package/dist/chunks/{schema-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{schema-ykt494b9.js → state-pkqb68ka.js} +4 -4
- package/dist/chunks/{schema-r9w3djhf.js → state-prq7hedt.js} +9 -9
- package/dist/chunks/{schema-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
- package/dist/chunks/{schema-pdeqb1sv.js → state-q41dffrp.js} +11 -11
- package/dist/chunks/{schema-zs20n4td.js → state-q5gkxxjb.js} +33 -33
- package/dist/chunks/{schema-jta96yax.js → state-q8bdncf5.js} +9 -9
- package/dist/chunks/{schema-5xtbbr0r.js → state-qcq5ks5d.js} +21 -21
- package/dist/chunks/{schema-aw65rq9m.js → state-qf4tt5n8.js} +5 -5
- package/dist/chunks/{schema-f9bf6ave.js → state-qfqe7b7s.js} +13 -13
- package/dist/chunks/{schema-24xn4nrh.js → state-qh28zxsx.js} +32 -32
- package/dist/chunks/state-qk8sy7r3.js +253 -0
- package/dist/chunks/{schema-cwa6csj7.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{schema-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-qxjc9qry.js → state-qxjc9qry.js} +3 -3
- package/dist/chunks/{schema-tjpmwyed.js → state-r3v0c7hy.js} +5 -5
- package/dist/chunks/{schema-4xr8m0aa.js → state-r8wc69dc.js} +21 -21
- package/dist/chunks/{schema-yp2x3t23.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{schema-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-0enxvnkq.js → state-rg29w5sg.js} +12 -12
- package/dist/chunks/{schema-kt83d922.js → state-rhgq3aa6.js} +22 -22
- package/dist/chunks/{schema-w9cms8xc.js → state-rkkgxmw8.js} +5 -5
- package/dist/chunks/{schema-989f601q.js → state-ryg7eh2t.js} +18 -18
- package/dist/chunks/{schema-wdfmv1rt.js → state-s4e19jsk.js} +43 -43
- package/dist/chunks/{schema-scgrse2b.js → state-scgrse2b.js} +2 -2
- package/dist/chunks/{schema-nh510fz3.js → state-sny9w75j.js} +26 -26
- package/dist/chunks/{schema-k60d36ch.js → state-srp51ndr.js} +20 -20
- package/dist/chunks/{schema-jsczegrp.js → state-t2t1t50a.js} +16 -16
- package/dist/chunks/{schema-erbnzk8y.js → state-t5131vnj.js} +40 -40
- package/dist/chunks/{schema-5gh2y96e.js → state-t7v34wze.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-nvmy2keh.js → state-tb07zrhn.js} +4 -4
- package/dist/chunks/{schema-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{schema-80gr5d03.js → state-tf2qcnq5.js} +11 -11
- package/dist/chunks/{schema-v0es1rhs.js → state-tg7bkhef.js} +7 -7
- package/dist/chunks/{schema-vbfgae2j.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{schema-rczq51rp.js → state-tprb9ykm.js} +8 -8
- package/dist/chunks/{schema-w92k2e0p.js → state-ts23464c.js} +6 -6
- package/dist/chunks/{schema-0ps91a7a.js → state-vccqm5x4.js} +23 -23
- package/dist/chunks/{schema-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-eqv7r0bw.js → state-vfnexndp.js} +6 -6
- package/dist/chunks/{schema-y70rs0tm.js → state-vjps42b3.js} +34 -34
- package/dist/chunks/{schema-82kvrph2.js → state-vyb30c2y.js} +18 -18
- package/dist/chunks/{schema-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-57b9ws8p.js → state-w19d8598.js} +4 -4
- package/dist/chunks/{schema-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-hgtd7sxh.js → state-w9f5rn9p.js} +11 -11
- package/dist/chunks/{schema-n5jf03an.js → state-wcnv1p8x.js} +11 -11
- package/dist/chunks/{schema-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{schema-vqbxe4wk.js → state-wm8vp7b3.js} +16 -16
- package/dist/chunks/{schema-f06qsttd.js → state-wrvjmzy4.js} +54 -54
- package/dist/chunks/{schema-9t7a50xb.js → state-wv396vej.js} +6 -6
- package/dist/chunks/{schema-yp66jxhs.js → state-wxgmpaes.js} +11 -11
- package/dist/chunks/{schema-7yymr8c1.js → state-x62cppxn.js} +18 -18
- package/dist/chunks/{schema-mz7wxez8.js → state-x944hqgj.js} +24 -24
- package/dist/chunks/{schema-9adgdhyd.js → state-xg26vyyk.js} +4 -4
- package/dist/chunks/{schema-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-gd0tnyjc.js → state-xt4njr3s.js} +1 -1
- package/dist/chunks/{schema-jgjgcm7r.js → state-y0rd6mpg.js} +4 -4
- package/dist/chunks/{schema-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-1wn14s7w.js → state-y7hh2tp0.js} +24 -24
- package/dist/chunks/{schema-xr03j6kv.js → state-y88q4kk1.js} +49 -49
- package/dist/chunks/{schema-k5mqd01k.js → state-y9v55n8z.js} +10 -10
- package/dist/chunks/{schema-sfwz2x9n.js → state-yfng7xhx.js} +62 -62
- package/dist/chunks/{schema-ew7x097j.js → state-ykd4jxva.js} +33 -33
- package/dist/chunks/{schema-9yrh9n06.js → state-yndsvvt3.js} +1 -1
- package/dist/chunks/{schema-bv9672m4.js → state-yss3y4q1.js} +13 -13
- package/dist/chunks/{schema-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-t58jyhmh.js → state-z2btvd3q.js} +9 -9
- package/dist/chunks/{schema-2663q2cr.js → state-zh56ev1t.js} +17 -17
- package/dist/chunks/{schema-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-hn57h045.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{schema-rwv28x5t.js → state-zw11p4sz.js} +5 -5
- package/dist/chunks/{schema-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-mhrxr73y.js → state-zz0gef9f.js} +17 -17
- 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 +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- 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 +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/schema-2hm1ng2y.js +0 -253
- package/dist/chunks/schema-pf31ssb9.js +0 -18
- /package/dist/chunks/{schema-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service67,
|
|
4
|
+
node71
|
|
5
|
+
} from "./state-q5gkxxjb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service63,
|
|
18
|
+
node66
|
|
19
|
+
} from "./state-kkqpbp86.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service54,
|
|
22
|
+
node57
|
|
23
|
+
} from "./state-wxgmpaes.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service61,
|
|
29
|
+
node64,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-24dsd3mh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./state-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service50,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer21,
|
|
51
|
+
node: () => node53,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID8,
|
|
62
|
+
modelID: ID7,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID8,
|
|
72
|
+
modelID: ID7,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID8,
|
|
83
|
+
modelID: ID7,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID8,
|
|
94
|
+
modelID: ID7,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID8,
|
|
106
|
+
modelID: ID7,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID8,
|
|
116
|
+
modelID: ID7,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service50 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
235
235
|
return tokenSettings(specifier, credential.access);
|
|
236
236
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
237
237
|
return { auth: "sigv4" };
|
|
238
|
-
if (model.providerID ===
|
|
238
|
+
if (model.providerID === ID8.azure)
|
|
239
239
|
return tokenSettings(specifier, "azure-cli");
|
|
240
240
|
return {};
|
|
241
241
|
};
|
|
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service63;
|
|
275
|
+
const models = yield* Service61;
|
|
276
|
+
const integrations = yield* Service67;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service54;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
281
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
282
282
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
283
283
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
284
284
|
const runtimeInfo = {
|
|
@@ -305,7 +305,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service50.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node53 = makeLocationNode({
|
|
326
|
+
service: Service50,
|
|
327
|
+
layer: layer21,
|
|
328
|
+
deps: [node66, node64, node71, Npm.node, node57]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node53, exports_model_resolver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-62k0yxbf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service41,
|
|
7
|
+
node44
|
|
8
|
+
} from "./state-wrvjmzy4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./state-yfng7xhx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./state-cfcvtgjj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
|
+
layer: () => layer16,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service41;
|
|
42
|
+
const tools = yield* Service82;
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node43 = makeLocationNode({
|
|
124
|
+
service: Service40,
|
|
125
|
+
layer: layer16,
|
|
126
|
+
deps: [node86, node44, node84, node76]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service40, layer16, node43, exports_mcp3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service83,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node87
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service83 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service83.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node87 = makeLocationNode({ service: Service83, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service83, node87, exports_image2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-62k0yxbf.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event21,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info29,
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Service: () => Service79,
|
|
21
|
+
layer: () => layer26,
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event21 } from "@opencode/schema/command";
|
|
28
|
+
var Info29 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service79 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer26 = Layer.effect(Service79, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service80;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info29.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service79.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node83 = makeLocationNode({
|
|
75
|
+
service: Service79,
|
|
76
|
+
layer: layer26,
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info29, NotFoundError11, ExecutionError2, Service79, layer26, node83, exports_command5, Event21 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./state-9qk2kwmb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./state-h78379q5.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-7pg6bb3s.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin26 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin26, exports_reference };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./state-9qk2kwmb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./state-h78379q5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service28
|
|
9
|
+
} from "./state-0s32db7e.js";
|
|
10
10
|
import {
|
|
11
11
|
make11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-a1gpj94z.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
@@ -32,11 +32,11 @@ import { Effect } from "effect";
|
|
|
32
32
|
var Plugin29 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service57;
|
|
36
|
+
const formatter = yield* Service28;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service76;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info19,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info19 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info19, Status3, key2, exports_connection };
|