@opencode/core 0.0.0-dev-21353 → 0.0.0-dev-21357
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{image-5vax2cp3.js → config-0146ehcd.js} +39 -39
- package/dist/chunks/{image-5gaecxeq.js → config-01dnnh97.js} +19 -19
- package/dist/chunks/{image-4728cpmt.js → config-01w2j48t.js} +179 -179
- package/dist/chunks/{image-jkyda9gr.js → config-098mw7j8.js} +19 -19
- package/dist/chunks/{image-2qbg3zpg.js → config-0am8fjdy.js} +23 -23
- package/dist/chunks/{image-t550f9t1.js → config-0gdmqesm.js} +4 -4
- package/dist/chunks/{image-kkf1g7ev.js → config-0k354qyb.js} +36 -36
- package/dist/chunks/{image-46pvfnqm.js → config-0q3gqcca.js} +5 -5
- package/dist/chunks/{image-x5j6pcx9.js → config-0ryw2dh8.js} +19 -19
- package/dist/chunks/{image-0vbcp93d.js → config-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-pgp1nwjn.js → config-0xqyf95c.js} +4 -4
- package/dist/chunks/{image-f6f3rwdv.js → config-11dqjexa.js} +9 -9
- package/dist/chunks/{image-vn5825e0.js → config-11pezjhg.js} +35 -35
- package/dist/chunks/{image-pd4nms9f.js → config-12tcmyxx.js} +26 -26
- package/dist/chunks/{image-4asr5hs3.js → config-15rsdq6e.js} +28 -28
- package/dist/chunks/{image-d1hgjan3.js → config-15wkt9r0.js} +28 -28
- package/dist/chunks/{image-4dc6xvm0.js → config-180t97jp.js} +21 -21
- package/dist/chunks/{image-bzeyqsqd.js → config-1ep4rre3.js} +4 -4
- package/dist/chunks/{image-wjr9rjd7.js → config-1ffvrpkg.js} +9 -9
- package/dist/chunks/{image-ttegwk89.js → config-1h3v5wkf.js} +60 -60
- package/dist/chunks/{image-083vb51a.js → config-1zbharsm.js} +27 -27
- package/dist/chunks/{image-30846h32.js → config-22sd1qqc.js} +7 -7
- package/dist/chunks/{image-p0xc8cbz.js → config-2c9v7a19.js} +24 -24
- package/dist/chunks/{image-518cpg7m.js → config-2dryst3t.js} +8 -8
- package/dist/chunks/{image-01h0gpd0.js → config-2n7mj27j.js} +8 -8
- package/dist/chunks/{image-m88e3v2c.js → config-2s6fx24g.js} +13 -13
- package/dist/chunks/{image-30b6sj23.js → config-2tbjjbgs.js} +16 -16
- package/dist/chunks/{image-zgdtg3bp.js → config-2vvbbmgf.js} +5 -5
- package/dist/chunks/{image-ggrkrqbp.js → config-2y5zvhyc.js} +37 -37
- package/dist/chunks/{image-pvxjgtaj.js → config-32pxjafj.js} +15 -15
- package/dist/chunks/{image-csarmdtz.js → config-3fzp089a.js} +16 -16
- package/dist/chunks/{image-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-pmbsp082.js → config-3hpw86qk.js} +5 -5
- package/dist/chunks/{image-3hwn7j4h.js → config-3hwn7j4h.js} +2 -2
- package/dist/chunks/{image-c3ck1ek2.js → config-3m8ztwev.js} +46 -46
- package/dist/chunks/{image-6kzz2s8v.js → config-3nkcb2f7.js} +24 -24
- package/dist/chunks/{image-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-cafbeayz.js → config-3v7yvdjz.js} +21 -21
- package/dist/chunks/{image-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-cr9wy6w1.js → config-4adxw2q2.js} +6 -6
- package/dist/chunks/{image-nzq7ck9f.js → config-4mwpykj0.js} +6 -6
- package/dist/chunks/{image-3hwtt59p.js → config-4q9d5zmx.js} +33 -33
- package/dist/chunks/{image-sp6vjzv0.js → config-4sgmmrrd.js} +27 -27
- package/dist/chunks/{image-97ymgzak.js → config-4ww92429.js} +93 -93
- package/dist/chunks/{image-80z0vyq9.js → config-4xdpab2z.js} +9 -9
- package/dist/chunks/{image-hstfzaq7.js → config-4ywq529d.js} +9 -9
- package/dist/chunks/{image-xk4cpj8j.js → config-50dha6f4.js} +13 -13
- package/dist/chunks/{image-k2t3b49x.js → config-52jgfbpk.js} +43 -43
- package/dist/chunks/{image-sehrhyyf.js → config-52v926c4.js} +29 -29
- package/dist/chunks/{image-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{image-kjdm35cs.js → config-57myy5jh.js} +5 -5
- package/dist/chunks/{image-axe3mf62.js → config-5epte933.js} +3 -3
- package/dist/chunks/{image-kqv3x6rj.js → config-5fec3t3w.js} +4 -4
- package/dist/chunks/{image-5m9w47nd.js → config-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-wq6k0z11.js → config-5n3frxbd.js} +8 -8
- package/dist/chunks/{image-gt43e7fh.js → config-5pt2mcnr.js} +32 -32
- package/dist/chunks/{image-4k4srkdp.js → config-5qfavyey.js} +21 -21
- package/dist/chunks/{image-7yzy18e4.js → config-5s9rh5zt.js} +27 -27
- package/dist/chunks/{image-q5c54jq2.js → config-5ve7jj82.js} +5 -5
- package/dist/chunks/config-619r8v3y.js +18 -0
- package/dist/chunks/{image-p29tfqw7.js → config-63ak3stf.js} +8 -8
- package/dist/chunks/{image-6827pfxn.js → config-6827pfxn.js} +1 -1
- package/dist/chunks/{image-ma49tmbe.js → config-6drhhcgp.js} +15 -15
- package/dist/chunks/{image-a80hvs68.js → config-6mg66w46.js} +17 -17
- package/dist/chunks/{image-8sze2n9a.js → config-6pc27hjz.js} +2 -2
- package/dist/chunks/{image-jr45emde.js → config-6rk0qtx5.js} +23 -23
- package/dist/chunks/{image-6xb47vfp.js → config-6xb47vfp.js} +1 -1
- package/dist/chunks/{image-775gj3j1.js → config-775gj3j1.js} +2 -2
- package/dist/chunks/{image-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-p44ennw5.js → config-7byx5q39.js} +35 -35
- package/dist/chunks/config-7qbkbymg.js +257 -0
- package/dist/chunks/{image-qxtmr2bd.js → config-7rkcz7sg.js} +4 -4
- package/dist/chunks/{image-jbx0qmp6.js → config-7rsqhaa1.js} +13 -13
- package/dist/chunks/{image-a20pjse5.js → config-7v6vae4w.js} +3 -3
- package/dist/chunks/{image-84txncab.js → config-84txncab.js} +1 -1
- package/dist/chunks/{image-n1n7vh17.js → config-8a27v2a9.js} +6 -6
- package/dist/chunks/{image-kjk76est.js → config-8jqzjjgp.js} +1 -1
- package/dist/chunks/{image-fb3qa2a3.js → config-8m3cssw6.js} +20 -20
- package/dist/chunks/{image-8m6m0r52.js → config-8m6m0r52.js} +1 -1
- package/dist/chunks/{image-8mywswrd.js → config-8mywswrd.js} +1 -1
- package/dist/chunks/{image-tm49qxme.js → config-8p4aw0bd.js} +26 -26
- package/dist/chunks/{image-9jzf0aw1.js → config-8qbxhjh4.js} +16 -16
- package/dist/chunks/{image-jy18cvd3.js → config-8rgyadme.js} +8 -8
- package/dist/chunks/{image-panvc78e.js → config-8ypvz7qz.js} +29 -29
- package/dist/chunks/{image-9zh3v5nb.js → config-9b55rd9h.js} +11 -11
- package/dist/chunks/{image-ymfzg3r4.js → config-9c366hpc.js} +20 -20
- package/dist/chunks/{image-1ajx6rf5.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{image-mvq0hees.js → config-9ndxqh6g.js} +33 -33
- package/dist/chunks/{image-t4ge0q7b.js → config-9ph9narp.js} +11 -11
- package/dist/chunks/{image-1rrzdxsd.js → config-9q85pybg.js} +27 -27
- package/dist/chunks/{image-fs8xzatb.js → config-9qgvjr2e.js} +1 -1
- package/dist/chunks/{image-p24h42ep.js → config-9r3hany2.js} +27 -27
- package/dist/chunks/{image-m05az60r.js → config-9r4817sq.js} +17 -17
- package/dist/chunks/{image-h4ys6t5f.js → config-9yy9ab6f.js} +46 -46
- package/dist/chunks/{image-xj1aydcy.js → config-a01j9zgm.js} +5 -5
- package/dist/chunks/{image-b27vhd2z.js → config-a2ew8a62.js} +4 -4
- package/dist/chunks/{image-nragh1dj.js → config-amaj7c21.js} +9 -9
- package/dist/chunks/{image-0wgykzth.js → config-amv78yhn.js} +26 -26
- package/dist/chunks/{image-qaytfw51.js → config-av20eqx4.js} +11 -11
- package/dist/chunks/{image-f3naraw2.js → config-b0sy7btn.js} +25 -25
- package/dist/chunks/{image-ya42eppp.js → config-b7an2wpv.js} +331 -331
- package/dist/chunks/{image-cefkz2r6.js → config-b89refpb.js} +4 -4
- package/dist/chunks/{image-gavj6vbb.js → config-ba4pvmzc.js} +41 -41
- package/dist/chunks/{image-xq4c3w27.js → config-bcmq4rdz.js} +9 -9
- package/dist/chunks/{image-351565k0.js → config-bjje5kk1.js} +13 -13
- package/dist/chunks/{image-p4vsvt80.js → config-bnaqkdcm.js} +28 -28
- package/dist/chunks/{image-vppcbm3y.js → config-by382cv3.js} +10 -10
- package/dist/chunks/{image-t990ctgk.js → config-bzkayexk.js} +19 -19
- package/dist/chunks/{image-c1fqxshp.js → config-c1fqxshp.js} +3 -3
- package/dist/chunks/{image-1k7anrhw.js → config-c53xjpva.js} +9 -9
- package/dist/chunks/{image-m7hsy9t7.js → config-c6zmkhp3.js} +18 -18
- package/dist/chunks/{image-anrfh71g.js → config-c72jc7ts.js} +6 -6
- package/dist/chunks/{image-amhhbad9.js → config-cac2amd6.js} +44 -44
- package/dist/chunks/{image-efydrm8z.js → config-cgsh41s3.js} +38 -38
- package/dist/chunks/{image-w78vqhg3.js → config-cj7b5bvp.js} +24 -24
- package/dist/chunks/{image-2f6gh5w9.js → config-cja2h5j5.js} +23 -23
- package/dist/chunks/{image-e73frkv9.js → config-cpzrm4es.js} +18 -18
- package/dist/chunks/{image-gyec0xxy.js → config-czx6xwt7.js} +16 -16
- package/dist/chunks/{image-j8yjkxsc.js → config-d7nwkqpz.js} +16 -16
- package/dist/chunks/{image-b2wb4m7c.js → config-d9xej2qg.js} +4 -4
- package/dist/chunks/{image-pwv5f1qj.js → config-dcm3phq5.js} +14 -14
- package/dist/chunks/{image-addxnjmp.js → config-dgpsrprm.js} +4 -4
- package/dist/chunks/{image-n2srvep7.js → config-dj68pnee.js} +4 -4
- package/dist/chunks/{image-jwcy2c2z.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{image-xfkkasph.js → config-drwq78ky.js} +4 -4
- package/dist/chunks/{image-aa1e1jy5.js → config-e1n9zcw9.js} +14 -14
- package/dist/chunks/{image-m2jn1rny.js → config-e411ahfn.js} +12 -12
- package/dist/chunks/{image-5g60a5nh.js → config-e7pp2s8c.js} +11 -11
- package/dist/chunks/{image-ndm49mgb.js → config-e8gmhsy9.js} +74 -74
- package/dist/chunks/{image-zsg2y1wt.js → config-eb2d9dj2.js} +2 -2
- package/dist/chunks/{image-hqk4yetc.js → config-edj4339e.js} +4 -4
- package/dist/chunks/{image-eej6y6fw.js → config-eej6y6fw.js} +2 -2
- package/dist/chunks/{image-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-gmcj73t6.js → config-esa7kqcn.js} +15 -15
- package/dist/chunks/{image-e6sdtbx3.js → config-eyh2h61y.js} +12 -12
- package/dist/chunks/{image-97z0bs43.js → config-f04b7fkv.js} +30 -30
- package/dist/chunks/{image-s42kenf7.js → config-f04qpyrt.js} +26 -26
- package/dist/chunks/{image-vwxanczf.js → config-f4kwc7sz.js} +3 -3
- package/dist/chunks/{image-vt86xne3.js → config-f6ssxvba.js} +31 -31
- package/dist/chunks/{image-6559rxr6.js → config-f8e526k5.js} +6 -6
- package/dist/chunks/{image-7dqw4kz8.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{image-fcy631f0.js → config-fcy631f0.js} +1 -1
- package/dist/chunks/{image-ktmtg3js.js → config-ffxepqpn.js} +30 -30
- package/dist/chunks/{image-8y0yx82m.js → config-fvwy1vyc.js} +4 -4
- package/dist/chunks/{image-bezhzanq.js → config-fw181sc9.js} +9 -9
- package/dist/chunks/{image-khmqacep.js → config-fxaymqdw.js} +4 -4
- package/dist/chunks/{image-zsaz8xqx.js → config-g2yfkae0.js} +48 -48
- package/dist/chunks/{image-n1ppvzbf.js → config-g31rm23e.js} +14 -14
- package/dist/chunks/{image-gjvb00zj.js → config-g3fevjja.js} +18 -18
- package/dist/chunks/{image-dt5mbat4.js → config-g5yn26t0.js} +19 -19
- package/dist/chunks/{image-y1nrmgz3.js → config-g80172w6.js} +17 -17
- package/dist/chunks/{image-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-7zkbhs7g.js → config-gn31e51v.js} +11 -11
- package/dist/chunks/{image-7t4ht595.js → config-gnnqajqc.js} +8 -8
- package/dist/chunks/{image-a7ahas1f.js → config-gxeds83z.js} +49 -49
- package/dist/chunks/{image-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-p3v7df0d.js → config-ha0sjevb.js} +3 -3
- package/dist/chunks/{image-1194cnex.js → config-hbkz9y4g.js} +13 -13
- package/dist/chunks/{image-hgz4x7wa.js → config-hgz4x7wa.js} +1 -1
- package/dist/chunks/{image-bx90z22d.js → config-hqam50bx.js} +20 -20
- package/dist/chunks/{image-eh9fasn9.js → config-j3bw3kw0.js} +30 -30
- package/dist/chunks/{image-g6xanekf.js → config-jcbq9qyv.js} +20 -20
- package/dist/chunks/{image-jmjkmz1e.js → config-jge05sef.js} +3 -3
- package/dist/chunks/{image-1hs8ay8h.js → config-jgmf5dt5.js} +8 -8
- package/dist/chunks/{image-mnrjv27a.js → config-jkcvv5zp.js} +14 -14
- package/dist/chunks/{image-kemp0nh6.js → config-jscyxzwk.js} +4 -4
- package/dist/chunks/{image-ncrh0je9.js → config-jzd62m09.js} +18 -18
- package/dist/chunks/{image-ykyctq8j.js → config-k850gnf2.js} +5 -5
- package/dist/chunks/{image-1kn5hemh.js → config-kcz5hpxv.js} +14 -14
- package/dist/chunks/config-kdcahg00.js +26 -0
- package/dist/chunks/{image-y5x4fqb9.js → config-kstnevy1.js} +3 -3
- package/dist/chunks/{image-kwb1v3vj.js → config-kwb1v3vj.js} +1 -1
- package/dist/chunks/{image-1p1ve7qe.js → config-kxkke69v.js} +9 -9
- package/dist/chunks/{image-1vbha5hz.js → config-kz72sk14.js} +31 -31
- package/dist/chunks/{image-m6pzv6qy.js → config-m5paqf2g.js} +30 -30
- package/dist/chunks/{image-66fmfm27.js → config-m5s739gf.js} +34 -34
- package/dist/chunks/{image-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-maspj1v3.js → config-maspj1v3.js} +1 -1
- package/dist/chunks/{image-fgwq36m4.js → config-mpk95cj2.js} +11 -11
- package/dist/chunks/{image-nvzrxvxc.js → config-mrxs1jjw.js} +23 -23
- package/dist/chunks/{image-96te9d4b.js → config-mtrbqqrq.js} +5 -5
- package/dist/chunks/{image-9gw0rpsb.js → config-mwfpcask.js} +38 -38
- package/dist/chunks/{image-kv5z1x5y.js → config-n0f1vr5p.js} +11 -11
- package/dist/chunks/{image-6qfwa7rm.js → config-n6jsk7we.js} +39 -39
- package/dist/chunks/{image-f1zvn1zp.js → config-nekmryzb.js} +20 -20
- package/dist/chunks/{image-ed1g29hy.js → config-nma959mg.js} +3 -3
- package/dist/chunks/{image-vjftp164.js → config-nn3p50dy.js} +18 -18
- package/dist/chunks/{image-cdxmksqt.js → config-nvcb2me1.js} +11 -11
- package/dist/chunks/{image-ejdpgxfh.js → config-nzxs01ks.js} +16 -16
- package/dist/chunks/{image-dm6x1dpw.js → config-p4g5r354.js} +32 -32
- package/dist/chunks/{image-1tw9c27j.js → config-p6tf2z3c.js} +11 -11
- package/dist/chunks/{image-xkhyfmkz.js → config-p88vvsz3.js} +4 -4
- package/dist/chunks/{image-d9gh4r4w.js → config-pfgcdf6c.js} +5 -5
- package/dist/chunks/{image-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{image-cmdcezg6.js → config-qap5887j.js} +18 -18
- package/dist/chunks/{image-xpsv30eg.js → config-qc37ryp5.js} +14 -14
- package/dist/chunks/{image-s7jracht.js → config-qdm6e7vz.js} +50 -50
- package/dist/chunks/{image-6h1e3r96.js → config-qefw6cfz.js} +14 -14
- package/dist/chunks/{image-qnc92qwc.js → config-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-47jkzegy.js → config-qne3fa44.js} +5 -5
- package/dist/chunks/{image-4hq8n4vp.js → config-qp9tjspb.js} +25 -25
- package/dist/chunks/{image-4emc1x7w.js → config-qpvqe435.js} +48 -48
- package/dist/chunks/{image-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{image-zwcaz485.js → config-qvapsqgq.js} +1 -1
- package/dist/chunks/{image-djz5h4wt.js → config-r19d657x.js} +29 -29
- package/dist/chunks/{image-ft3hqk2c.js → config-r2m716tb.js} +9 -9
- package/dist/chunks/{image-ct0tjryq.js → config-r2mahbrd.js} +20 -20
- package/dist/chunks/{image-m6f686h9.js → config-r5d9wbyh.js} +7 -7
- package/dist/chunks/{image-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-rert0e01.js → config-rert0e01.js} +2 -2
- package/dist/chunks/{image-rj3eygr5.js → config-rj3eygr5.js} +2 -2
- package/dist/chunks/{image-nbh0xpzn.js → config-rmg23tmx.js} +11 -11
- package/dist/chunks/{image-p7zyqd9z.js → config-s0dvnttc.js} +1 -1
- package/dist/chunks/{image-sa8ekw3f.js → config-sa8ekw3f.js} +2 -2
- package/dist/chunks/{image-1zt75xk3.js → config-skhmt099.js} +9 -9
- package/dist/chunks/{image-et5vwysx.js → config-snbmbkyq.js} +12 -12
- package/dist/chunks/{image-syv4x271.js → config-syv4x271.js} +1 -1
- package/dist/chunks/{image-f9vsjar2.js → config-t364h0ga.js} +25 -25
- package/dist/chunks/{image-fhq72wmn.js → config-t8x95368.js} +11 -11
- package/dist/chunks/{image-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{image-f6byfets.js → config-tgnctp9w.js} +13 -13
- package/dist/chunks/{image-t75jmxzf.js → config-tj1mb8k7.js} +21 -21
- package/dist/chunks/{image-tm0kqsz3.js → config-tm0kqsz3.js} +1 -1
- package/dist/chunks/{image-395q6j9z.js → config-tt8gc4fv.js} +6 -6
- package/dist/chunks/{image-tyytaxap.js → config-tyytaxap.js} +1 -1
- package/dist/chunks/{image-nz56sr1f.js → config-v13b12ef.js} +5 -5
- package/dist/chunks/{image-v7p4zvkq.js → config-v7p4zvkq.js} +2 -2
- package/dist/chunks/{image-gvenbtv1.js → config-v9km43zh.js} +51 -51
- package/dist/chunks/{image-5g57z1ma.js → config-vep9yay1.js} +4 -4
- package/dist/chunks/{image-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{image-pmyh7nqh.js → config-vn2b5ja7.js} +13 -13
- package/dist/chunks/{image-erxz9e35.js → config-vpdhx3rn.js} +10 -10
- package/dist/chunks/{image-fec344yp.js → config-vs4d0xe8.js} +15 -15
- package/dist/chunks/{image-wt7tckee.js → config-vt49cx54.js} +16 -16
- package/dist/chunks/{image-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-h9mg0s4d.js → config-w3h4062d.js} +2 -2
- package/dist/chunks/{image-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-d7kj1354.js → config-w9enybe6.js} +7 -7
- package/dist/chunks/{image-r8scfq5x.js → config-w9qd1epz.js} +11 -11
- package/dist/chunks/{image-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{image-b22jz9vm.js → config-wezx3yaj.js} +17 -17
- package/dist/chunks/{image-xzyrnmr3.js → config-wty6bgg7.js} +5 -5
- package/dist/chunks/{image-3hw58eqe.js → config-wymva24z.js} +11 -11
- package/dist/chunks/{image-hypd32sv.js → config-x6pefea0.js} +5 -5
- package/dist/chunks/{image-jjbjr11c.js → config-x7c6yhp3.js} +15 -15
- package/dist/chunks/{image-wsq2zfdz.js → config-x9z4gqn5.js} +11 -11
- package/dist/chunks/{image-kx2jnmha.js → config-xd76gghg.js} +86 -86
- package/dist/chunks/{image-wwj4grbh.js → config-xkyhk0aw.js} +14 -14
- package/dist/chunks/{image-8yewg0d7.js → config-xkzfnk1e.js} +11 -11
- package/dist/chunks/{image-vezscz40.js → config-xsyaf836.js} +11 -11
- package/dist/chunks/{image-yvxf7myb.js → config-y06s3qmd.js} +21 -21
- package/dist/chunks/{image-1h1fsptm.js → config-y0ce904t.js} +30 -30
- package/dist/chunks/{image-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-nc0h3w2m.js → config-y45vxbtn.js} +12 -12
- package/dist/chunks/{image-9c3np669.js → config-y72zmemf.js} +8 -8
- package/dist/chunks/{image-3tfenn25.js → config-ybacsgwy.js} +30 -30
- package/dist/chunks/{image-0yb1y9ej.js → config-ykgnd92y.js} +10 -10
- package/dist/chunks/{image-shq4beby.js → config-ynmknp8q.js} +11 -11
- package/dist/chunks/{image-22r91a23.js → config-ys7bpb1s.js} +11 -11
- package/dist/chunks/{image-cegemc0n.js → config-yswgg9qv.js} +24 -24
- package/dist/chunks/{image-bban3ndt.js → config-yt2d26s8.js} +13 -13
- package/dist/chunks/{image-v210v162.js → config-ywwy23a8.js} +9 -9
- package/dist/chunks/{image-9bh5q6pj.js → config-yz37vbp4.js} +2 -2
- package/dist/chunks/{image-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z18fegx4.js → config-z18fegx4.js} +1 -1
- package/dist/chunks/{image-n8s7bsma.js → config-z348g6gc.js} +20 -20
- package/dist/chunks/{image-wg4qsc1b.js → config-z6z398pq.js} +3 -3
- package/dist/chunks/{image-d1h1yke4.js → config-z88jw627.js} +6 -6
- package/dist/chunks/{image-hm1vmn1k.js → config-z8swzr19.js} +13 -13
- package/dist/chunks/{image-zee1rnkq.js → config-zcrspsvn.js} +4 -4
- package/dist/chunks/{image-dsckepem.js → config-zevtz36z.js} +7 -7
- package/dist/chunks/{image-q5b9end6.js → config-zg7zaxa7.js} +29 -29
- package/dist/chunks/{image-ghepbszt.js → config-zj1j3pwt.js} +14 -14
- package/dist/chunks/{image-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-n86af5gf.js → config-zs3nsmqd.js} +16 -16
- package/dist/chunks/{image-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +74 -74
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- 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 +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/image-4zse7ahf.js +0 -26
- package/dist/chunks/image-j5t1wkep.js +0 -257
- package/dist/chunks/image-jqh9b0xq.js +0 -18
- /package/dist/chunks/{image-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → config-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3t0ybcrp.js → config-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → config-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → config-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → config-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → config-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → config-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-pkyv6v7h.js → config-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{image-pyv0edze.js → config-pyv0edze.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → config-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wjj7prxr.js → config-wjj7prxr.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./config-av20eqx4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node87
|
|
8
|
+
} from "./config-jkcvv5zp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node45
|
|
12
|
+
} from "./config-4mwpykj0.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node82
|
|
20
|
+
} from "./config-gxeds83z.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./config-9r4817sq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service77,
|
|
26
|
+
node80
|
|
27
|
+
} from "./config-x9z4gqn5.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./config-f8e526k5.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./config-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service41
|
|
39
|
+
} from "./config-zcrspsvn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Service66,
|
|
42
42
|
node68
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-e1n9zcw9.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service42,
|
|
48
|
+
node44,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./config-8ypvz7qz.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service40,
|
|
53
|
+
node43
|
|
54
|
+
} from "./config-0146ehcd.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node37
|
|
57
|
+
} from "./config-0am8fjdy.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./config-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service33,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node36
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service33 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service77;
|
|
93
|
+
const store = yield* Service66;
|
|
94
|
+
const execution = yield* Service40;
|
|
95
|
+
const instances = yield* Service43;
|
|
96
|
+
const admission = yield* Service42;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service84;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service33.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node36 = makeGlobalNode({
|
|
167
|
+
service: Service33,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node82,
|
|
173
|
+
node80,
|
|
174
174
|
node68,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
node43,
|
|
176
|
+
node45,
|
|
177
|
+
node44,
|
|
178
|
+
node90,
|
|
179
|
+
node87,
|
|
180
|
+
node37
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service33, node36, exports_move };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./config-jkcvv5zp.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID17,
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service83,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer28,
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID17 = Form.ID;
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID17
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID17
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID17
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID17,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service83 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service83, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID17.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service83.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service83, layer: layer28, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID17, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service83, layer28, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service68,
|
|
10
10
|
node: () => node70
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service68 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service68.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var node70 = makeLocationNode({ service:
|
|
59
|
+
var node70 = makeLocationNode({ service: Service68, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service68, node70, exports_hooks };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node83
|
|
10
|
+
} from "./config-e411ahfn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node81
|
|
14
|
+
} from "./config-9r4817sq.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node41 = makeLocationNode({
|
|
153
|
+
service: Service38,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -172,4 +172,4 @@ function failure(operation, cause) {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error3, Service38, node41, noopLayer2, exports_snapshot2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-1ffvrpkg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin24 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin17, exports_exa };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-w9qd1epz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin18,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin18 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin21 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin18, exports_tavily };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./config-n6jsk7we.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service56,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-by382cv3.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin40
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin40 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service69;
|
|
34
|
+
const managed = yield* Service56;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin2 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin40, exports_policy };
|