@opencode/core 0.0.0-dev-21090 → 0.0.0-dev-21091
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/{vcs-4krvf5ba.js → image-04z6nezy.js} +15 -15
- package/dist/chunks/{vcs-7v1gzfyf.js → image-081djepm.js} +11 -11
- package/dist/chunks/{vcs-d75q966c.js → image-0eb84y8j.js} +1 -1
- package/dist/chunks/{vcs-d7d9ad3n.js → image-0k0s692t.js} +25 -25
- package/dist/chunks/{vcs-7bsx1ry9.js → image-0rwxa9ey.js} +86 -86
- package/dist/chunks/{vcs-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-2eegacq4.js → image-0xezjjjn.js} +8 -8
- package/dist/chunks/{vcs-h9pnpq88.js → image-0xqyf95c.js} +4 -4
- package/dist/chunks/{vcs-s7nn2292.js → image-1046cdpg.js} +8 -8
- package/dist/chunks/{vcs-gvve46pf.js → image-16wh86dq.js} +33 -33
- package/dist/chunks/{vcs-h8dz2c4h.js → image-19qccr11.js} +19 -19
- package/dist/chunks/{vcs-arhwhgqd.js → image-19y54p6j.js} +45 -45
- package/dist/chunks/{vcs-5rj3mv0t.js → image-1jyvck4s.js} +26 -26
- package/dist/chunks/image-1ypxswfj.js +26 -0
- package/dist/chunks/{vcs-t0dx2bc9.js → image-279wehye.js} +9 -9
- package/dist/chunks/{vcs-fm1m477c.js → image-2fa5xe54.js} +9 -9
- package/dist/chunks/{vcs-tg194zmv.js → image-2gw59dk5.js} +29 -29
- package/dist/chunks/{vcs-bg27ae0c.js → image-2q498whs.js} +27 -27
- package/dist/chunks/{vcs-mkx2ttns.js → image-2xr2vtfc.js} +3 -3
- package/dist/chunks/{vcs-v3gykj2b.js → image-2y09pkms.js} +27 -27
- package/dist/chunks/{vcs-t0rz6gdy.js → image-2zx826rp.js} +9 -9
- package/dist/chunks/{vcs-z6wjd818.js → image-3ev9jan1.js} +15 -15
- package/dist/chunks/{vcs-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → image-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-8g3qgpf1.js → image-3wy9q2ff.js} +14 -14
- package/dist/chunks/{vcs-1j3bjd53.js → image-3xyjyf4x.js} +13 -13
- package/dist/chunks/{vcs-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-1vwtzdj4.js → image-4r1pyas3.js} +25 -25
- package/dist/chunks/{vcs-m9hn89qh.js → image-4y8khg4w.js} +8 -8
- package/dist/chunks/{vcs-hhyv66vq.js → image-518cpg7m.js} +5 -5
- package/dist/chunks/{vcs-0q18bxrk.js → image-540gcx95.js} +20 -20
- package/dist/chunks/{vcs-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-j7730hrj.js → image-574rbgy6.js} +194 -194
- package/dist/chunks/{vcs-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-e80seqcp.js → image-5rzwp8tz.js} +3 -3
- package/dist/chunks/{vcs-pjmxkyqt.js → image-5syfpggs.js} +13 -13
- package/dist/chunks/{vcs-zfaw4smh.js → image-62c33b3b.js} +33 -33
- package/dist/chunks/{vcs-k7emraq6.js → image-67dvq108.js} +19 -19
- package/dist/chunks/{vcs-t1798742.js → image-6a51wk2t.js} +11 -11
- package/dist/chunks/{vcs-rn966cgg.js → image-6bgs5b73.js} +1 -1
- package/dist/chunks/{vcs-1qdqkxpq.js → image-6nmzk97v.js} +9 -9
- package/dist/chunks/{vcs-ch4j2txv.js → image-6nzsaszg.js} +48 -48
- package/dist/chunks/{vcs-0jzxgpre.js → image-6rqh4v4r.js} +5 -5
- package/dist/chunks/{vcs-5ae1r4gq.js → image-6w7mw3fn.js} +18 -18
- package/dist/chunks/{vcs-6xb47vfp.js → image-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-wh6zw745.js → image-6yz0wx8n.js} +5 -5
- package/dist/chunks/{vcs-y2cmk695.js → image-72cp5kz5.js} +16 -16
- package/dist/chunks/{vcs-7bn1501h.js → image-745k84g0.js} +18 -18
- package/dist/chunks/{vcs-775gj3j1.js → image-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-sz15zhhw.js → image-7cx595n2.js} +9 -9
- package/dist/chunks/{vcs-4c8bw516.js → image-7s2tn799.js} +8 -8
- package/dist/chunks/{vcs-dhtde4h3.js → image-7v1ahg2p.js} +11 -11
- package/dist/chunks/{vcs-18z0v07s.js → image-7x6t7wg7.js} +16 -16
- package/dist/chunks/{vcs-nq4re8e2.js → image-7xv9akm7.js} +6 -6
- package/dist/chunks/{vcs-m7gnmmyh.js → image-835agder.js} +38 -38
- package/dist/chunks/{vcs-19s2fqfj.js → image-83q71n9j.js} +46 -46
- package/dist/chunks/{vcs-43rt8h4d.js → image-84erndqx.js} +27 -27
- package/dist/chunks/{vcs-127b9nq3.js → image-85xxa1xb.js} +2 -2
- package/dist/chunks/{vcs-wb385ffg.js → image-89j27xq7.js} +19 -19
- package/dist/chunks/{vcs-by3gdc7v.js → image-8a65477g.js} +20 -20
- package/dist/chunks/{vcs-f4f3a5as.js → image-8atjvr0x.js} +5 -5
- package/dist/chunks/{vcs-5habnm2g.js → image-8jrxbtg6.js} +11 -11
- package/dist/chunks/{vcs-8m6m0r52.js → image-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-g7xyvbka.js → image-8p15vr8a.js} +14 -14
- package/dist/chunks/{vcs-csp53sav.js → image-8x8j0yap.js} +7 -7
- package/dist/chunks/{vcs-f29mbr7f.js → image-8zp79j7j.js} +4 -4
- package/dist/chunks/{vcs-jkp0d30b.js → image-909p1r3q.js} +6 -6
- package/dist/chunks/{vcs-fhfy5s6e.js → image-94rzz9dj.js} +20 -20
- package/dist/chunks/{vcs-pq222b1b.js → image-95ey77n3.js} +5 -5
- package/dist/chunks/{vcs-ptqwx5rb.js → image-966xcppd.js} +11 -11
- package/dist/chunks/{vcs-1w6gf0cw.js → image-9aj7p764.js} +13 -13
- package/dist/chunks/{vcs-fb9m6ydh.js → image-9dzfwx4y.js} +26 -26
- package/dist/chunks/{vcs-d5gsdn35.js → image-9mxketag.js} +15 -15
- package/dist/chunks/{vcs-s3wk3r14.js → image-9r18qga4.js} +19 -19
- package/dist/chunks/image-9sh4wc5j.js +18 -0
- package/dist/chunks/{vcs-pqj3ybk7.js → image-9xpdrvzd.js} +24 -24
- package/dist/chunks/{vcs-heyh6jzr.js → image-a10jyz28.js} +17 -17
- package/dist/chunks/{vcs-v3xvvxpg.js → image-a46cv4z3.js} +4 -4
- package/dist/chunks/{vcs-t2fc4mz5.js → image-a46v4e4v.js} +4 -4
- package/dist/chunks/{vcs-db2wf4at.js → image-addxnjmp.js} +4 -4
- package/dist/chunks/{vcs-823ayy9s.js → image-ar9nxm8h.js} +3 -3
- package/dist/chunks/{vcs-5yn6r0n4.js → image-b4ytdsdb.js} +11 -11
- package/dist/chunks/{vcs-dq6909bw.js → image-b85ppfpz.js} +29 -29
- package/dist/chunks/{vcs-mhq9k3ye.js → image-b8grsam5.js} +12 -12
- package/dist/chunks/{vcs-mtpeagzc.js → image-ba07h9gm.js} +3 -3
- package/dist/chunks/{vcs-art2axj3.js → image-bg5qxte4.js} +22 -22
- package/dist/chunks/{vcs-q45sm6sg.js → image-c3bsqtn4.js} +6 -6
- package/dist/chunks/{vcs-c41wscbt.js → image-c41wscbt.js} +2 -2
- package/dist/chunks/{vcs-d7e9n652.js → image-c51m09sf.js} +10 -10
- package/dist/chunks/{vcs-az3wfet9.js → image-c5dk9r45.js} +17 -17
- package/dist/chunks/{vcs-c8ax2afj.js → image-c8ax2afj.js} +2 -2
- package/dist/chunks/{vcs-v2c9qtsr.js → image-c9q3vnb9.js} +3 -3
- package/dist/chunks/{vcs-fkf6zyfw.js → image-cbbskyw7.js} +16 -16
- package/dist/chunks/{vcs-h3eq3wxh.js → image-ccv531x6.js} +29 -29
- package/dist/chunks/{vcs-q8da793h.js → image-cejh8q6x.js} +5 -5
- package/dist/chunks/{vcs-gnhcdg60.js → image-cgehhed8.js} +11 -11
- package/dist/chunks/{vcs-ds2mmwsg.js → image-ck0ahkdp.js} +8 -8
- package/dist/chunks/{vcs-p37cw4rj.js → image-cmwkp3r5.js} +8 -8
- package/dist/chunks/{vcs-58vvbsjc.js → image-cpaezgg9.js} +14 -14
- package/dist/chunks/{vcs-av8ggcpn.js → image-cr6jv0zw.js} +9 -9
- package/dist/chunks/{vcs-bxqk5pf5.js → image-d7x0sh0y.js} +9 -9
- package/dist/chunks/{vcs-apvpgmhb.js → image-dkn0tc5a.js} +15 -15
- package/dist/chunks/{vcs-dpkg50ah.js → image-dpkg50ah.js} +1 -1
- package/dist/chunks/{vcs-dqxsqydv.js → image-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-2n1evyaw.js → image-dvjnpnmr.js} +4 -4
- package/dist/chunks/{vcs-je7vdbxa.js → image-dvp6q8nc.js} +4 -4
- package/dist/chunks/{vcs-y8wcetdn.js → image-dx0ahrbs.js} +11 -11
- package/dist/chunks/{vcs-4d5g7m08.js → image-dzv6z3nv.js} +23 -23
- package/dist/chunks/{vcs-d4d95nja.js → image-e2g53q4x.js} +31 -31
- package/dist/chunks/{vcs-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
- package/dist/chunks/{vcs-92y88g0e.js → image-e5cz6503.js} +28 -28
- package/dist/chunks/{vcs-9k44apjz.js → image-eaezvagx.js} +6 -6
- package/dist/chunks/{vcs-31zt7qyg.js → image-edde5z9g.js} +4 -4
- package/dist/chunks/{vcs-eej6y6fw.js → image-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-2k71kv7p.js → image-ermxvwhp.js} +4 -4
- package/dist/chunks/{vcs-3nztywv0.js → image-ert554c2.js} +3 -3
- package/dist/chunks/{vcs-es1vcfrp.js → image-es1vcfrp.js} +3 -3
- package/dist/chunks/{vcs-yp2x3t23.js → image-f2n192rq.js} +4 -4
- package/dist/chunks/{vcs-k0hf9h70.js → image-f2xmdf3m.js} +33 -33
- package/dist/chunks/{vcs-y9pm85ea.js → image-f2xrkry4.js} +5 -5
- package/dist/chunks/{vcs-enxqk933.js → image-fbxcfbhw.js} +12 -12
- package/dist/chunks/{vcs-4ydbyere.js → image-fcg8e6zw.js} +27 -27
- package/dist/chunks/{vcs-qgn6gcr1.js → image-fcrkznn8.js} +5 -5
- package/dist/chunks/{vcs-0dxda6wm.js → image-fdfberf4.js} +17 -17
- package/dist/chunks/{vcs-t1mrp0f6.js → image-ffmwyp5t.js} +24 -24
- package/dist/chunks/{vcs-s9y49c2a.js → image-ffrjfzxj.js} +27 -27
- package/dist/chunks/{vcs-q6jv56dm.js → image-fftfc9n3.js} +11 -11
- package/dist/chunks/{vcs-g7h2bfk9.js → image-fge41av7.js} +39 -39
- package/dist/chunks/{vcs-5da754zx.js → image-fgvexpd5.js} +16 -16
- package/dist/chunks/{vcs-tnk7t7t2.js → image-fhk40at7.js} +8 -8
- package/dist/chunks/{vcs-svd0csbg.js → image-fjrwj4dh.js} +11 -11
- package/dist/chunks/{vcs-v0es1rhs.js → image-fpecnkgp.js} +9 -9
- package/dist/chunks/{vcs-7216kww2.js → image-ftags092.js} +8 -8
- package/dist/chunks/{vcs-hy2k72j3.js → image-fzhznhar.js} +17 -17
- package/dist/chunks/{vcs-d1bq990r.js → image-g13qewtb.js} +6 -6
- package/dist/chunks/{vcs-6nk55t52.js → image-g2t3205b.js} +11 -11
- package/dist/chunks/{vcs-wtcpwh1v.js → image-g7smqvkv.js} +13 -13
- package/dist/chunks/{vcs-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-rmm45jmv.js → image-gebtr55s.js} +5 -5
- package/dist/chunks/{vcs-fsmrx7wj.js → image-gkhwkypf.js} +3 -3
- package/dist/chunks/{vcs-5q1ts2r2.js → image-gm1yg2fx.js} +32 -32
- package/dist/chunks/{vcs-jmvbxkqa.js → image-gmzh79z0.js} +33 -33
- package/dist/chunks/{vcs-6y363cnc.js → image-gsd91cb6.js} +18 -18
- package/dist/chunks/{vcs-nkwsh8ra.js → image-h05dbkvd.js} +24 -24
- package/dist/chunks/{vcs-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-h7s7r6s9.js → image-h7s7r6s9.js} +2 -2
- package/dist/chunks/{vcs-3bz6jbep.js → image-heaaqgh2.js} +19 -19
- package/dist/chunks/{vcs-hgz4x7wa.js → image-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-1tzcq8vg.js → image-hny6mp3r.js} +12 -12
- package/dist/chunks/{vcs-pyg4v0b6.js → image-hqhp0zxs.js} +4 -4
- package/dist/chunks/{vcs-2be3phb8.js → image-hr3293e7.js} +50 -50
- package/dist/chunks/{vcs-j09zfasm.js → image-j09zfasm.js} +3 -3
- package/dist/chunks/{vcs-319vnc98.js → image-j1a93cmz.js} +10 -10
- package/dist/chunks/{vcs-v4bdyehr.js → image-j3yq8fpf.js} +3 -3
- package/dist/chunks/{vcs-prq7hedt.js → image-j58c5xyq.js} +9 -9
- package/dist/chunks/{vcs-bt13wqvf.js → image-jfdmtmg6.js} +13 -13
- package/dist/chunks/{vcs-ch0pqn08.js → image-jtj1926r.js} +30 -30
- package/dist/chunks/{vcs-v6vn5ath.js → image-jvarv5bd.js} +5 -5
- package/dist/chunks/{vcs-6pc27hjz.js → image-jws6fkes.js} +4 -4
- package/dist/chunks/{vcs-akqk8sab.js → image-jyjec5pm.js} +14 -14
- package/dist/chunks/{vcs-hq3c8me3.js → image-khmqacep.js} +4 -4
- package/dist/chunks/{vcs-1a8ktyjq.js → image-kkn7ws9g.js} +23 -23
- package/dist/chunks/{vcs-t7n9q6bq.js → image-kne8f3cn.js} +4 -4
- package/dist/chunks/{vcs-38cyd7xn.js → image-krs90jtp.js} +42 -42
- package/dist/chunks/{vcs-2yj5gmrs.js → image-ksy27m6e.js} +16 -16
- package/dist/chunks/{vcs-w0ssh3pt.js → image-ktha64xk.js} +30 -30
- package/dist/chunks/{vcs-kwb1v3vj.js → image-kwb1v3vj.js} +1 -1
- package/dist/chunks/{vcs-0qwr82av.js → image-m1j82gc8.js} +9 -9
- package/dist/chunks/{vcs-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → image-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-q81e6e52.js → image-mrk6y76n.js} +47 -47
- package/dist/chunks/{vcs-g6c119kf.js → image-mw2qnv88.js} +14 -14
- package/dist/chunks/{vcs-3pvdjm5j.js → image-n25s19e1.js} +28 -28
- package/dist/chunks/{vcs-yjqtt1cv.js → image-ncmskqm9.js} +28 -28
- package/dist/chunks/{vcs-q5e7cmwt.js → image-nffbc6ps.js} +1 -1
- package/dist/chunks/{vcs-0srdfgy4.js → image-nh4vn03t.js} +17 -17
- package/dist/chunks/{vcs-cadbg4sy.js → image-nv1b5k1c.js} +27 -27
- package/dist/chunks/{vcs-t8jsa4ak.js → image-p2wwr8p8.js} +10 -10
- package/dist/chunks/{vcs-b56v87ry.js → image-p576d4qv.js} +21 -21
- package/dist/chunks/{vcs-gfbk7smj.js → image-p5bmeykx.js} +15 -15
- package/dist/chunks/{vcs-z3nay82g.js → image-patgj9rf.js} +9 -9
- package/dist/chunks/{vcs-170vahvn.js → image-pd34x519.js} +27 -27
- package/dist/chunks/{vcs-h0qchysd.js → image-pfj67fg4.js} +4 -4
- package/dist/chunks/{vcs-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-pqmz6dky.js → image-q79vsnwe.js} +61 -61
- package/dist/chunks/{vcs-yqszpe78.js → image-qee9mpvn.js} +8 -8
- package/dist/chunks/{vcs-m8w6th39.js → image-qmqgtz8f.js} +9 -9
- package/dist/chunks/{vcs-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-9hwaqfsw.js → image-qne3fa44.js} +5 -5
- package/dist/chunks/{vcs-drwq78ky.js → image-qqeeq2t9.js} +7 -7
- package/dist/chunks/{vcs-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-1yev72pe.js → image-qv6830gq.js} +4 -4
- package/dist/chunks/{vcs-mtvcw9es.js → image-r0few3ax.js} +30 -30
- package/dist/chunks/{vcs-rbktzctt.js → image-r16x646x.js} +11 -11
- package/dist/chunks/{vcs-k27xt7ry.js → image-r7k25w34.js} +7 -7
- package/dist/chunks/{vcs-ckwspcdn.js → image-rb6mvra4.js} +11 -11
- package/dist/chunks/{vcs-fm3teyf1.js → image-rb92wex5.js} +35 -35
- package/dist/chunks/{vcs-18we5d9c.js → image-rbymen3s.js} +12 -12
- package/dist/chunks/{vcs-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-kg3ax5tf.js → image-rjv0vddj.js} +23 -23
- package/dist/chunks/{vcs-jd79yvzz.js → image-rprrnsfw.js} +14 -14
- package/dist/chunks/{vcs-wphn742c.js → image-s5svvxfm.js} +15 -15
- package/dist/chunks/{vcs-1b7p55fh.js → image-sf1dt84k.js} +22 -22
- package/dist/chunks/{vcs-d5a9s76z.js → image-shzt3z96.js} +43 -43
- package/dist/chunks/{vcs-ma0s28yw.js → image-snnw5c4p.js} +23 -23
- package/dist/chunks/{vcs-0v0pyw62.js → image-sp12pjmn.js} +18 -18
- package/dist/chunks/{vcs-skks9s4z.js → image-syr192rg.js} +32 -32
- package/dist/chunks/{vcs-syv4x271.js → image-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-5gf219r9.js → image-syxkbb8f.js} +9 -9
- package/dist/chunks/{vcs-afmm5gaa.js → image-t1p086vr.js} +47 -47
- package/dist/chunks/{vcs-eaj1djv9.js → image-t550f9t1.js} +8 -8
- package/dist/chunks/{vcs-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-s08hmh2a.js → image-tfzq26g2.js} +5 -5
- package/dist/chunks/image-tgxfzkrj.js +257 -0
- package/dist/chunks/{vcs-062mzbat.js → image-thxr1frd.js} +28 -28
- package/dist/chunks/{vcs-r1dr75fd.js → image-tjpa9jgn.js} +34 -34
- package/dist/chunks/{vcs-srcgm7xk.js → image-tjx5t8cc.js} +25 -25
- package/dist/chunks/{vcs-tkb22qbm.js → image-tkb22qbm.js} +2 -2
- package/dist/chunks/{vcs-zqhrtt0r.js → image-tkr6ya0q.js} +47 -47
- package/dist/chunks/{vcs-tm0kqsz3.js → image-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-7wt7n4c2.js → image-tncq06mt.js} +34 -34
- package/dist/chunks/{vcs-gd8zcssc.js → image-tpdvj8mx.js} +20 -20
- package/dist/chunks/{vcs-anwpkc7v.js → image-tqs9ssh0.js} +35 -35
- package/dist/chunks/{vcs-j14sx99p.js → image-tymxjf8w.js} +33 -33
- package/dist/chunks/{vcs-tyytaxap.js → image-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-qtj63ewy.js → image-v04qmwtc.js} +22 -22
- package/dist/chunks/{vcs-kfq0fmcg.js → image-v6vgdbff.js} +4 -4
- package/dist/chunks/{vcs-v7p4zvkq.js → image-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-3rnq2hvc.js → image-v7sppjwq.js} +34 -34
- package/dist/chunks/{vcs-gmkrnerc.js → image-v80w40ac.js} +2 -2
- package/dist/chunks/{vcs-c10etmdf.js → image-v8g91bp1.js} +73 -73
- package/dist/chunks/{vcs-kkzyx7d0.js → image-v8jp7vks.js} +3 -3
- package/dist/chunks/{vcs-y1m3tgzf.js → image-va9g07yc.js} +11 -11
- package/dist/chunks/{vcs-685yht8q.js → image-vbqydmka.js} +5 -5
- package/dist/chunks/{vcs-b12fh71z.js → image-vc7fmfhz.js} +12 -12
- package/dist/chunks/{vcs-7n1j9gnc.js → image-vd28783h.js} +49 -49
- package/dist/chunks/{vcs-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-r5px93g5.js → image-vk246djg.js} +44 -44
- package/dist/chunks/{vcs-d7qmz1za.js → image-vmdfjjwf.js} +335 -335
- package/dist/chunks/{vcs-ppypx2rj.js → image-vrnsnrnj.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-m00zf5ta.js → image-w18pp0kz.js} +40 -40
- package/dist/chunks/{vcs-w1eejvng.js → image-w1eejvng.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-3s66nbf6.js → image-w5ycgj4a.js} +9 -9
- package/dist/chunks/{vcs-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-bjx1sjef.js → image-wjr9rjd7.js} +6 -6
- package/dist/chunks/{vcs-fxghr99k.js → image-wy01p12j.js} +14 -14
- package/dist/chunks/{vcs-rsy79zvm.js → image-wy9rnf8k.js} +19 -19
- package/dist/chunks/{vcs-cra9xn29.js → image-x0xndzx5.js} +15 -15
- package/dist/chunks/{vcs-qtwrkahe.js → image-x8nxgcfe.js} +85 -85
- package/dist/chunks/{vcs-g4cqakph.js → image-x9e7cbzg.js} +28 -28
- package/dist/chunks/{vcs-xqj022zq.js → image-xz2a68b8.js} +19 -19
- package/dist/chunks/{vcs-d5wj306p.js → image-y075rgnc.js} +15 -15
- package/dist/chunks/{vcs-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-qhaw4ccy.js → image-y325ckfn.js} +48 -48
- package/dist/chunks/{vcs-tr4247da.js → image-ymxzm9aj.js} +11 -11
- package/dist/chunks/{vcs-hz0wbvxf.js → image-yzzz00s0.js} +34 -34
- package/dist/chunks/{vcs-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-ejbm6scf.js → image-z333y2sp.js} +13 -13
- package/dist/chunks/{vcs-aa567zw8.js → image-z44d18ne.js} +11 -11
- package/dist/chunks/{vcs-qp8d43x6.js → image-zebe4ma2.js} +14 -14
- package/dist/chunks/{vcs-hjv75zfy.js → image-zhe2v8hw.js} +24 -24
- package/dist/chunks/{vcs-76rvckpe.js → image-zjtrsxny.js} +5 -5
- package/dist/chunks/{vcs-nhsyhwak.js → image-zq4ac87r.js} +19 -19
- package/dist/chunks/{vcs-ddsvs477.js → image-zq8ezvkj.js} +7 -7
- package/dist/chunks/{vcs-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-scgrse2b.js → image-zyk1yjk8.js} +5 -5
- package/dist/chunks/{vcs-96d9snmg.js → image-zztsqn7y.js} +5 -5
- 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 +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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.js +137 -137
- 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 +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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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 +358 -358
- package/dist/instruction-discovery.js +86 -86
- 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 +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -355
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- 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 +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- 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 +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 +4 -4
- 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 +214 -214
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- 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 +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 +93 -93
- 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 +135 -135
- 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 +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- 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 +127 -127
- package/dist/session/projector.js +86 -86
- 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 +224 -224
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- 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 +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +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 +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/vcs-4v7qdvcn.js +0 -18
- package/dist/chunks/vcs-cek0m7h8.js +0 -257
- package/dist/chunks/vcs-p81xz5ag.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → image-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → image-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./image-fbxcfbhw.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./image-16wh86dq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./image-f2xmdf3m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./image-tqs9ssh0.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-rbymen3s.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node89
|
|
10
|
+
} from "./image-vc7fmfhz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./image-72cp5kz5.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service39,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node42,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service39 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service50, 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 Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node42 = makeLocationNode({
|
|
153
|
+
service: Service39,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node89, Global.node, node83]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.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 { ID5, Error3,
|
|
175
|
+
export { ID5, Error3, Service39, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./image-f2xmdf3m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./image-tqs9ssh0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service59,
|
|
23
|
+
node62
|
|
24
|
+
} from "./image-8jrxbtg6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service75,
|
|
30
|
+
node79,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./image-tncq06mt.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./image-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service58,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer24,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node61,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID13.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var layer24 = Layer.effect(
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer24 = Layer.effect(Service58, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service76;
|
|
276
|
+
const models = yield* Service75;
|
|
277
|
+
const integrations = yield* Service77;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service59;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer24 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service58.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
326
|
+
var node61 = makeLocationNode({
|
|
327
|
+
service: Service58,
|
|
328
328
|
layer: layer24,
|
|
329
|
-
deps: [
|
|
329
|
+
deps: [node80, node79, node81, Npm.node, node62]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node61, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-2xr2vtfc.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./image-fbxcfbhw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-ba07h9gm.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-es1vcfrp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service44,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node46,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service44 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service86;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service44, make16());
|
|
231
|
+
var node46 = makeGlobalNode({ service: Service44, layer: layer20, deps: [node90, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make16, layer20, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./image-fbxcfbhw.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./image-72cp5kz5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service40,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node43
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service40 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service40, node43, exports_rpc, define2 };
|