@opencode/core 0.0.0-dev-21146 → 0.0.0-dev-21163
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 +83 -83
- 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/{vcs-8rmdhntn.js → snapshot-03phhxcy.js} +13 -13
- package/dist/chunks/{vcs-5sfesdw0.js → snapshot-04ryjj00.js} +9 -9
- package/dist/chunks/{vcs-j3d5nbs4.js → snapshot-077jc6hy.js} +19 -19
- package/dist/chunks/{vcs-kwtqw3j5.js → snapshot-0ekyh4s7.js} +32 -32
- package/dist/chunks/{vcs-s6s28q4s.js → snapshot-0v80x1f6.js} +1 -1
- package/dist/chunks/{vcs-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-48kw51zw.js → snapshot-143qq2q9.js} +3 -3
- package/dist/chunks/{vcs-97z2hkt0.js → snapshot-16x4r2s1.js} +16 -16
- package/dist/chunks/{vcs-80dpjhve.js → snapshot-1b80kj0v.js} +17 -17
- package/dist/chunks/{vcs-8xns6cym.js → snapshot-210p74nv.js} +6 -6
- package/dist/chunks/{vcs-r68q3s4m.js → snapshot-26q7jvhr.js} +57 -57
- package/dist/chunks/{vcs-h83yk2y4.js → snapshot-2erqmtdk.js} +35 -35
- package/dist/chunks/{vcs-rhkez347.js → snapshot-2mxt17n5.js} +3 -3
- package/dist/chunks/{vcs-9zty5rse.js → snapshot-2n9dancj.js} +3 -3
- package/dist/chunks/{vcs-tt3gk2hg.js → snapshot-2nsmqgb6.js} +6 -6
- package/dist/chunks/{vcs-h9ee4ay8.js → snapshot-2ny3jh00.js} +10 -10
- package/dist/chunks/{vcs-jpjzdj5e.js → snapshot-2nykmre5.js} +9 -9
- package/dist/chunks/{vcs-q00c4awt.js → snapshot-347v34hz.js} +5 -5
- package/dist/chunks/{vcs-mp4qxw6g.js → snapshot-34f31van.js} +23 -23
- package/dist/chunks/{vcs-3wf7q6bz.js → snapshot-36e2pc4w.js} +5 -5
- package/dist/chunks/{vcs-7f7xarc5.js → snapshot-3a56ctkk.js} +14 -14
- package/dist/chunks/{vcs-hryxb5j9.js → snapshot-3b09jk82.js} +22 -22
- package/dist/chunks/{vcs-8vp8ms1f.js → snapshot-3b5z0erk.js} +11 -11
- package/dist/chunks/{vcs-ad7yv9ps.js → snapshot-3dp5zkcc.js} +18 -18
- package/dist/chunks/{vcs-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-q5e7cmwt.js → snapshot-3g8j9he4.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-81gy7124.js → snapshot-3raex6t0.js} +8 -8
- package/dist/chunks/{vcs-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3r77nd71.js → snapshot-3sxvetjy.js} +22 -22
- package/dist/chunks/{vcs-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-b64vyrm8.js → snapshot-3wd8382n.js} +5 -5
- package/dist/chunks/{vcs-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-q480dng8.js → snapshot-40v9kngq.js} +9 -9
- package/dist/chunks/{vcs-jh5tayqa.js → snapshot-415az79b.js} +9 -9
- package/dist/chunks/{vcs-gdba7vhj.js → snapshot-435smvjz.js} +27 -27
- package/dist/chunks/snapshot-4k437ew3.js +257 -0
- package/dist/chunks/{vcs-x9393rm3.js → snapshot-4wwf6t92.js} +6 -6
- package/dist/chunks/{vcs-4wmtqrjk.js → snapshot-4y0vwgtn.js} +20 -20
- package/dist/chunks/{vcs-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-ehbypev1.js → snapshot-58s85cax.js} +11 -11
- package/dist/chunks/{vcs-1m2f403b.js → snapshot-5g4kkmpn.js} +13 -13
- package/dist/chunks/{vcs-ad9vfe7v.js → snapshot-5haf30hz.js} +39 -39
- package/dist/chunks/{vcs-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-xb1dd94r.js → snapshot-5vty9d1v.js} +5 -5
- package/dist/chunks/snapshot-619r8v3y.js +18 -0
- package/dist/chunks/{vcs-tfdh6zwb.js → snapshot-6283stes.js} +22 -22
- package/dist/chunks/{vcs-9dc26gag.js → snapshot-62b0hcmy.js} +11 -11
- package/dist/chunks/{vcs-abvqh95p.js → snapshot-63rftvt3.js} +16 -16
- package/dist/chunks/{vcs-6827pfxn.js → snapshot-6827pfxn.js} +1 -1
- package/dist/chunks/{vcs-2ptg3bmb.js → snapshot-6hqckrrx.js} +12 -12
- package/dist/chunks/{vcs-cehqmkb3.js → snapshot-6k8an2y9.js} +35 -35
- package/dist/chunks/{vcs-2nv43n21.js → snapshot-6panyeh0.js} +21 -21
- package/dist/chunks/{vcs-w92k2e0p.js → snapshot-6pc27hjz.js} +4 -4
- package/dist/chunks/{vcs-gnvdf0wp.js → snapshot-6wh7xaz2.js} +11 -11
- package/dist/chunks/{vcs-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-775gj3j1.js → snapshot-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-b89yz0b9.js → snapshot-78zkn3vy.js} +24 -24
- package/dist/chunks/{vcs-2qdx6azk.js → snapshot-79y18c4v.js} +28 -28
- package/dist/chunks/{vcs-dfe9hveg.js → snapshot-7azh8zbv.js} +30 -30
- package/dist/chunks/{vcs-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-kgen349b.js → snapshot-7bxgp08m.js} +8 -8
- package/dist/chunks/{vcs-2k8khapm.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-8brep9q6.js → snapshot-7j7jdcww.js} +44 -44
- package/dist/chunks/{vcs-k09kgf8n.js → snapshot-7q4bfbvn.js} +7 -7
- package/dist/chunks/{vcs-zw35eza6.js → snapshot-7qet95x0.js} +27 -27
- package/dist/chunks/{vcs-edrmdtr5.js → snapshot-7sbkp4xb.js} +7 -7
- package/dist/chunks/{vcs-7m5m5jke.js → snapshot-84htwe8c.js} +86 -86
- package/dist/chunks/{vcs-5qw1qf7f.js → snapshot-84jw3qpq.js} +29 -29
- package/dist/chunks/{vcs-cq8x2qcv.js → snapshot-85gwbv31.js} +21 -21
- package/dist/chunks/{vcs-n8d6b0h1.js → snapshot-8bqq47bs.js} +4 -4
- package/dist/chunks/{vcs-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-jafbawgm.js → snapshot-8n55hgev.js} +19 -19
- package/dist/chunks/{vcs-nd5sp1qb.js → snapshot-8pz94dzf.js} +23 -23
- package/dist/chunks/{vcs-pa8pe2x7.js → snapshot-8v6pyhej.js} +8 -8
- package/dist/chunks/{vcs-yt1wm0kv.js → snapshot-8xdzhf48.js} +29 -29
- package/dist/chunks/{vcs-j09zfasm.js → snapshot-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-z549t6rh.js → snapshot-94jw5d4f.js} +17 -17
- package/dist/chunks/{vcs-grvpncm1.js → snapshot-94qkbmw6.js} +8 -8
- package/dist/chunks/{vcs-rb76ar9w.js → snapshot-9esz1w1b.js} +15 -15
- package/dist/chunks/{vcs-8zjew81e.js → snapshot-9m2243zx.js} +11 -11
- package/dist/chunks/{vcs-65bcgfe5.js → snapshot-9msepacv.js} +12 -12
- package/dist/chunks/{vcs-rqa1jxse.js → snapshot-9pa8tak9.js} +2 -2
- package/dist/chunks/{vcs-kpg1m8t3.js → snapshot-a1njnwz6.js} +3 -3
- package/dist/chunks/{vcs-7ammp6jq.js → snapshot-a8aatv38.js} +9 -9
- package/dist/chunks/{vcs-a9463qhm.js → snapshot-adjewt1g.js} +17 -17
- package/dist/chunks/{vcs-hamnfq9w.js → snapshot-aeg5ttrh.js} +19 -19
- package/dist/chunks/{vcs-rtx8gp8q.js → snapshot-akmtzpb0.js} +8 -8
- package/dist/chunks/{vcs-ts0qsapt.js → snapshot-b03ryzq6.js} +1 -1
- package/dist/chunks/{vcs-4pnpkh9b.js → snapshot-b21nzxaa.js} +4 -4
- package/dist/chunks/{vcs-2xdh0w28.js → snapshot-b674v2dg.js} +5 -5
- package/dist/chunks/{vcs-azbp20h0.js → snapshot-bf7csrhb.js} +15 -15
- package/dist/chunks/{vcs-1bmjn0qh.js → snapshot-bfegkxfd.js} +8 -8
- package/dist/chunks/{vcs-hmx0v4sv.js → snapshot-bm6m2f01.js} +26 -26
- package/dist/chunks/{vcs-mv3hx7wz.js → snapshot-bmr56wjg.js} +4 -4
- package/dist/chunks/{vcs-ex7a9pd4.js → snapshot-bqk1xv54.js} +11 -11
- package/dist/chunks/{vcs-bzeyqsqd.js → snapshot-bzeyqsqd.js} +1 -1
- package/dist/chunks/{vcs-ceym1m06.js → snapshot-bzpwbrxf.js} +43 -43
- package/dist/chunks/{vcs-ejdah8af.js → snapshot-bzsrs4wb.js} +10 -10
- package/dist/chunks/{vcs-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-wk5ynb9y.js → snapshot-c5ed65gp.js} +10 -10
- package/dist/chunks/{vcs-he2nw4qg.js → snapshot-c6xh4c6j.js} +6 -6
- package/dist/chunks/{vcs-adcbecv9.js → snapshot-camn9k3d.js} +27 -27
- package/dist/chunks/{vcs-r3326x5w.js → snapshot-cd9wyv5p.js} +30 -30
- package/dist/chunks/{vcs-wcz4m97v.js → snapshot-chsa9tsb.js} +11 -11
- package/dist/chunks/{vcs-rhjkgpdp.js → snapshot-cm0xwavf.js} +18 -18
- package/dist/chunks/{vcs-s5w5sk8q.js → snapshot-cqjagng5.js} +24 -24
- package/dist/chunks/{vcs-2brbfv95.js → snapshot-d0btjp9b.js} +22 -22
- package/dist/chunks/{vcs-z50bbtke.js → snapshot-d3718gj5.js} +35 -35
- package/dist/chunks/{vcs-7a1x16pz.js → snapshot-d3twtd49.js} +13 -13
- package/dist/chunks/{vcs-4k37zksp.js → snapshot-d49pgqdb.js} +22 -15
- package/dist/chunks/{vcs-bvnpfp3z.js → snapshot-d4fh8taq.js} +5 -5
- package/dist/chunks/{vcs-30mhpgxs.js → snapshot-dec9hyae.js} +16 -16
- package/dist/chunks/{vcs-erzsj0mh.js → snapshot-dg21j1ns.js} +45 -45
- package/dist/chunks/{vcs-47d3hhcw.js → snapshot-djsc6asp.js} +50 -50
- package/dist/chunks/{vcs-57b9ws8p.js → snapshot-drwq78ky.js} +5 -5
- package/dist/chunks/{vcs-0996nyz8.js → snapshot-dxcm25gw.js} +9 -9
- package/dist/chunks/{vcs-xsehs0a5.js → snapshot-e3jt2v5b.js} +14 -14
- package/dist/chunks/{vcs-h0qq8ekr.js → snapshot-e6ekz585.js} +27 -27
- package/dist/chunks/{vcs-6za9as0y.js → snapshot-e9hx7ajy.js} +28 -28
- package/dist/chunks/{vcs-vpaq98fd.js → snapshot-ebm4wmmx.js} +6 -6
- package/dist/chunks/{vcs-r2z489rp.js → snapshot-ed1g29hy.js} +3 -3
- package/dist/chunks/{vcs-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-76rvckpe.js → snapshot-eh6ej367.js} +5 -5
- package/dist/chunks/{vcs-c7p7a7j5.js → snapshot-en2e8yfm.js} +20 -20
- package/dist/chunks/{vcs-ngzs6e41.js → snapshot-eqyse9qm.js} +7 -7
- package/dist/chunks/{vcs-f64fhgym.js → snapshot-erbqd3nv.js} +43 -43
- package/dist/chunks/{vcs-hsjvmpjh.js → snapshot-es4zr9pq.js} +5 -5
- package/dist/chunks/{vcs-e831pqd4.js → snapshot-f9693ket.js} +21 -21
- package/dist/chunks/{vcs-fcy631f0.js → snapshot-fcy631f0.js} +1 -1
- package/dist/chunks/{vcs-j6ktnsbj.js → snapshot-fj7gaszw.js} +12 -12
- package/dist/chunks/{vcs-d04ep358.js → snapshot-fj8d9ky6.js} +11 -11
- package/dist/chunks/{vcs-j155qw97.js → snapshot-fn366g0y.js} +25 -25
- package/dist/chunks/{vcs-djszqvmq.js → snapshot-ft3hqk2c.js} +9 -9
- package/dist/chunks/{vcs-xzr22cff.js → snapshot-g1b1wp2e.js} +10 -10
- package/dist/chunks/snapshot-g34gxbpj.js +26 -0
- package/dist/chunks/{vcs-x02v9a5q.js → snapshot-g4k7z9cy.js} +21 -21
- package/dist/chunks/{vcs-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-2kvxf011.js → snapshot-ggw6bs31.js} +17 -17
- package/dist/chunks/{vcs-ebm4tzgj.js → snapshot-gj8ct3zv.js} +61 -61
- package/dist/chunks/{vcs-d48vtfkp.js → snapshot-gpk600j1.js} +17 -17
- package/dist/chunks/{vcs-cjas8764.js → snapshot-gv3y5r8d.js} +9 -9
- package/dist/chunks/{vcs-jspyb5ws.js → snapshot-gxaq7zhw.js} +18 -18
- package/dist/chunks/{vcs-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-et2e1h9f.js → snapshot-h7abwd3r.js} +38 -38
- package/dist/chunks/{vcs-h7s7r6s9.js → snapshot-h7s7r6s9.js} +2 -2
- package/dist/chunks/{vcs-bzj29kaw.js → snapshot-hat53091.js} +30 -30
- package/dist/chunks/{vcs-jsxqsx0n.js → snapshot-hfqhg2b8.js} +17 -17
- package/dist/chunks/{vcs-v0es1rhs.js → snapshot-hg3614cy.js} +9 -9
- package/dist/chunks/{vcs-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-pb8dwz7w.js → snapshot-hkw38179.js} +16 -16
- package/dist/chunks/{vcs-hx8eac1e.js → snapshot-hmpj5xfy.js} +21 -21
- package/dist/chunks/{vcs-ftr1c4rp.js → snapshot-hsxaxx1c.js} +34 -34
- package/dist/chunks/{vcs-4wnvd88j.js → snapshot-hvq4weyw.js} +15 -15
- package/dist/chunks/{vcs-herv1ssr.js → snapshot-j0cf4nzm.js} +19 -19
- package/dist/chunks/{vcs-980tmrvd.js → snapshot-jf7ekgm9.js} +8 -8
- package/dist/chunks/{vcs-75njnrkn.js → snapshot-jm9njkm8.js} +5 -5
- package/dist/chunks/{vcs-y71avatq.js → snapshot-jwcy2c2z.js} +4 -4
- package/dist/chunks/{vcs-xgavnq5y.js → snapshot-k1gpp38j.js} +20 -20
- package/dist/chunks/{vcs-fxaymqdw.js → snapshot-khmqacep.js} +4 -4
- package/dist/chunks/{vcs-2k71kv7p.js → snapshot-kkp8zx71.js} +4 -4
- package/dist/chunks/{vcs-7rqfkqhf.js → snapshot-kqnkx5cp.js} +11 -11
- package/dist/chunks/{vcs-wg81ww38.js → snapshot-kqx1b4hy.js} +4 -4
- package/dist/chunks/{vcs-qpg6w652.js → snapshot-ktd4dqz2.js} +14 -14
- package/dist/chunks/{vcs-598793za.js → snapshot-kv4b22ns.js} +16 -16
- package/dist/chunks/{vcs-kwb1v3vj.js → snapshot-kwb1v3vj.js} +1 -1
- package/dist/chunks/{vcs-75s7wgst.js → snapshot-kyd66f1c.js} +36 -36
- package/dist/chunks/{vcs-e8a70fkn.js → snapshot-m0ke1azk.js} +28 -28
- package/dist/chunks/{vcs-9ygnwxdy.js → snapshot-m14r162y.js} +9 -9
- package/dist/chunks/{vcs-6qgxhkbs.js → snapshot-m1rtee8r.js} +37 -37
- package/dist/chunks/{vcs-e76kv9r4.js → snapshot-m2hjyvdx.js} +10 -10
- package/dist/chunks/{vcs-59vq7jwt.js → snapshot-m7dmhh8f.js} +13 -13
- package/dist/chunks/{vcs-k48z585g.js → snapshot-m8jd5x1y.js} +23 -23
- package/dist/chunks/{vcs-fmgfccbv.js → snapshot-m9gt5bdn.js} +16 -16
- package/dist/chunks/{vcs-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-2wqny664.js → snapshot-mc5t502r.js} +15 -15
- package/dist/chunks/{vcs-vhtct6e1.js → snapshot-mj4y2amk.js} +27 -27
- package/dist/chunks/{vcs-9xqqbe8y.js → snapshot-mk05kat5.js} +24 -24
- package/dist/chunks/{vcs-g06fws8c.js → snapshot-mwky8rtw.js} +326 -326
- package/dist/chunks/{vcs-f29mbr7f.js → snapshot-n1n192bv.js} +4 -4
- package/dist/chunks/{vcs-tknpztrq.js → snapshot-n1nekz5z.js} +29 -29
- package/dist/chunks/{vcs-5txqckpk.js → snapshot-n6s2wxqy.js} +8 -8
- package/dist/chunks/{vcs-rj76dryd.js → snapshot-n9h5d100.js} +11 -11
- package/dist/chunks/{vcs-dpgfepa2.js → snapshot-n9j93z9k.js} +46 -46
- package/dist/chunks/{vcs-q7zdm6cd.js → snapshot-nakxk70k.js} +14 -14
- package/dist/chunks/{vcs-gd2a0djy.js → snapshot-ndy2c9ss.js} +45 -45
- package/dist/chunks/{vcs-wvegr0zq.js → snapshot-nrt5px6v.js} +28 -28
- package/dist/chunks/{vcs-senh1ymy.js → snapshot-nxrgqcj9.js} +30 -30
- package/dist/chunks/{vcs-cc4sr3ev.js → snapshot-p32gghmn.js} +11 -11
- package/dist/chunks/{vcs-d7x0sh0y.js → snapshot-phz50fbd.js} +9 -9
- package/dist/chunks/{vcs-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-2ktf0ed2.js → snapshot-pnaxc6j9.js} +8 -8
- package/dist/chunks/{vcs-nrmy76bf.js → snapshot-pym14gm6.js} +58 -58
- package/dist/chunks/{vcs-1kv699hc.js → snapshot-q1a6xb3r.js} +5 -5
- package/dist/chunks/{vcs-wsgzkcd8.js → snapshot-q1szfc13.js} +4 -4
- package/dist/chunks/{vcs-xcmt9mrd.js → snapshot-q1wtg1gk.js} +11 -11
- package/dist/chunks/{vcs-w3dhkr7s.js → snapshot-q2w9h836.js} +40 -40
- package/dist/chunks/{vcs-3gw50k8p.js → snapshot-q6y0t2xd.js} +19 -19
- package/dist/chunks/{vcs-1n0nm9w2.js → snapshot-q9317srt.js} +18 -18
- package/dist/chunks/{vcs-e81cdst3.js → snapshot-qh0k1p1d.js} +33 -33
- package/dist/chunks/{vcs-emzsebxx.js → snapshot-qhphvxes.js} +8 -8
- package/dist/chunks/{vcs-7b694530.js → snapshot-qmh7t0e0.js} +17 -17
- package/dist/chunks/{vcs-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-7fktw67x.js → snapshot-qq5jvte1.js} +3 -3
- package/dist/chunks/{vcs-k044rnme.js → snapshot-qr1s19a1.js} +3 -3
- package/dist/chunks/{vcs-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-a34g06ew.js → snapshot-qtv1rbvp.js} +14 -14
- package/dist/chunks/{vcs-9c3np669.js → snapshot-qvb3nf84.js} +8 -8
- package/dist/chunks/{vcs-je441zhh.js → snapshot-qxwd849a.js} +18 -18
- package/dist/chunks/{vcs-p6kzsr9t.js → snapshot-r0rvp0ej.js} +42 -42
- package/dist/chunks/{vcs-ym9jpkzj.js → snapshot-r682d5ha.js} +3 -3
- package/dist/chunks/{vcs-yp2x3t23.js → snapshot-r8xr0va3.js} +4 -4
- package/dist/chunks/{vcs-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-eaj1djv9.js → snapshot-rhjbct0v.js} +8 -8
- package/dist/chunks/{vcs-5sb7v2bz.js → snapshot-rhzmt3es.js} +27 -27
- package/dist/chunks/{vcs-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-h9pnpq88.js → snapshot-rk7s9xkn.js} +4 -4
- package/dist/chunks/{vcs-wmgxscf8.js → snapshot-rntct4v8.js} +43 -43
- package/dist/chunks/{vcs-p3kgnf5t.js → snapshot-s2yckgzf.js} +5 -5
- package/dist/chunks/{vcs-z6cxpfvh.js → snapshot-s9d01kr9.js} +3 -3
- package/dist/chunks/{vcs-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-xhe73wxa.js → snapshot-scmhh9pc.js} +11 -11
- package/dist/chunks/{vcs-qw2emvzh.js → snapshot-sdwcvaj2.js} +1 -1
- package/dist/chunks/{vcs-ccz5nm0t.js → snapshot-snk2tj6r.js} +28 -28
- package/dist/chunks/{vcs-exgc4hav.js → snapshot-syp4sv4b.js} +4 -4
- package/dist/chunks/{vcs-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-6j8d4b1t.js → snapshot-t9kr6xs7.js} +17 -17
- package/dist/chunks/{vcs-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-5ysnvr2w.js → snapshot-tmf823cr.js} +4 -4
- package/dist/chunks/{vcs-b19gxw0d.js → snapshot-tn3z2tca.js} +24 -24
- package/dist/chunks/{vcs-g4xpbx56.js → snapshot-tyaq71bb.js} +30 -30
- package/dist/chunks/{vcs-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-c8bydgjz.js → snapshot-v6gb7zv2.js} +6 -6
- package/dist/chunks/{vcs-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-95mk99zn.js → snapshot-v8v7jg08.js} +82 -82
- package/dist/chunks/{vcs-1fa231af.js → snapshot-v8xncc8s.js} +23 -23
- package/dist/chunks/{vcs-j7g3a2jg.js → snapshot-vaxg751d.js} +7 -7
- package/dist/chunks/{vcs-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-w1eejvng.js → snapshot-w1eejvng.js} +1 -1
- package/dist/chunks/{vcs-a4kkw1ve.js → snapshot-w2q8zjmz.js} +27 -27
- package/dist/chunks/{vcs-5fykfdj7.js → snapshot-w39jehkq.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-r43136zw.js → snapshot-w5na3y5v.js} +18 -18
- package/dist/chunks/{vcs-y7w40fc7.js → snapshot-wd0x6d30.js} +8 -8
- package/dist/chunks/{vcs-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-35ng7dkh.js → snapshot-wr7ps67x.js} +5 -5
- package/dist/chunks/{vcs-7tr2cnxk.js → snapshot-wygkcgsy.js} +46 -46
- package/dist/chunks/{vcs-3g2077ja.js → snapshot-wz6jmfs0.js} +9 -9
- package/dist/chunks/{vcs-gqtdsdt7.js → snapshot-x661k3y3.js} +4 -4
- package/dist/chunks/{vcs-tt8gc4fv.js → snapshot-xfktpdj6.js} +6 -6
- package/dist/chunks/{vcs-d6r4q70c.js → snapshot-xgz548nj.js} +39 -39
- package/dist/chunks/{vcs-61j35jca.js → snapshot-xhg5qrkn.js} +28 -28
- package/dist/chunks/{vcs-tegajz6t.js → snapshot-xrgc67sb.js} +2 -2
- package/dist/chunks/{vcs-wp94nyg3.js → snapshot-xshtvwne.js} +4 -4
- package/dist/chunks/{vcs-1dsct1s0.js → snapshot-xspp19dx.js} +28 -28
- package/dist/chunks/{vcs-b83pwr38.js → snapshot-xsredejr.js} +177 -177
- package/dist/chunks/{vcs-k9emm29s.js → snapshot-xtahemgj.js} +12 -12
- package/dist/chunks/{vcs-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-jh3nbz6s.js → snapshot-y3zkdgh7.js} +26 -26
- package/dist/chunks/{vcs-701thcs8.js → snapshot-y9jvxck8.js} +15 -15
- package/dist/chunks/{vcs-hftdtzqq.js → snapshot-yfa5tj4a.js} +17 -17
- package/dist/chunks/{vcs-g5maccdw.js → snapshot-yt82vp1a.js} +4 -4
- package/dist/chunks/{vcs-6cera4bt.js → snapshot-ytwc37vz.js} +35 -35
- package/dist/chunks/{vcs-bjx1sjef.js → snapshot-ywt8jp22.js} +9 -9
- package/dist/chunks/{vcs-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-8whnpkne.js → snapshot-z4qtxhqf.js} +15 -15
- package/dist/chunks/{vcs-hzedaa6h.js → snapshot-z8y4g21a.js} +12 -12
- package/dist/chunks/{vcs-dhmh7aw6.js → snapshot-zee1rnkq.js} +4 -4
- package/dist/chunks/{vcs-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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 +369 -369
- 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 +95 -95
- 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 +92 -92
- 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 +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- 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 +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +123 -123
- 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 +125 -125
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +2 -2
- 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 +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- 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 +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/vcs-bv44jw4t.js +0 -26
- package/dist/chunks/vcs-by5v678g.js +0 -18
- package/dist/chunks/vcs-c8hk0g2y.js +0 -257
- /package/dist/chunks/{vcs-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./snapshot-9msepacv.js";
|
|
5
5
|
import {
|
|
6
6
|
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node54
|
|
18
|
+
} from "./snapshot-4y0vwgtn.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node49
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service50;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node49 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node54]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info6, Service45, node49, exports_reference2, Event8 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-scmhh9pc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./snapshot-9msepacv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
9
|
+
Event18,
|
|
10
10
|
Service74
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-cqjagng5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-hat53091.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-6k8an2y9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID8,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./snapshot-hsxaxx1c.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-c6xh4c6j.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID10.openai;
|
|
47
|
+
var integrationID = ID11.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,7 +179,7 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
182
|
+
const bus = yield* Service83;
|
|
183
183
|
const credentials = yield* Service74;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID11.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID10.openai, ID8.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-wr7ps67x.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-2n9dancj.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./snapshot-9msepacv.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-camn9k3d.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./snapshot-kqx1b4hy.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./snapshot-1b80kj0v.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./snapshot-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -279,7 +279,7 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
282
|
+
const bus = yield* Service83;
|
|
283
283
|
const db = (yield* Service86).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node90] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node35, exports_projector };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-6k8an2y9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-hsxaxx1c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID10.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node12
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node12 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node12, bound2, exports_instance2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./snapshot-9msepacv.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID13,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer28,
|
|
29
|
+
node: () => node79,
|
|
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 Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID13 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID13
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID13
|
|
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: ID13
|
|
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: ID13,
|
|
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 Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
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 NotFoundError10({ 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 ?? ID13.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(Service73, 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 Service75.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node79 = makeLocationNode({ service: Service75, 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 { ID13, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer28, node79, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|