@opencode/core 0.0.0-dev-19846 → 0.0.0-dev-19855
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{project-5r3hq516.js → generate-0gq147r8.js} +17 -17
- package/dist/chunks/{project-1kq8tgzp.js → generate-0kmmcsnv.js} +8 -8
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{project-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{project-xevgfq4n.js → generate-0zrznfxv.js} +17 -17
- package/dist/chunks/{project-0p5z90ds.js → generate-19qb098d.js} +22 -22
- package/dist/chunks/{project-dv1qgsyq.js → generate-1ajx6rf5.js} +8 -8
- package/dist/chunks/{project-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-r1t2j85f.js → generate-1kkcsqyr.js} +29 -29
- package/dist/chunks/{project-vkd0h23s.js → generate-1mdt3y9r.js} +22 -22
- package/dist/chunks/{project-1j8agrvv.js → generate-1yhb7mxs.js} +8 -8
- package/dist/chunks/{project-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{project-ack5b9kg.js → generate-23jpcpdv.js} +22 -22
- package/dist/chunks/{project-j15mfg1p.js → generate-23pqda6t.js} +6 -6
- package/dist/chunks/{project-q5neczsw.js → generate-25dvt1bv.js} +13 -13
- package/dist/chunks/{project-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-81sjjchp.js → generate-2nv59kjc.js} +6 -6
- package/dist/chunks/{project-etj4zdky.js → generate-2rv3v382.js} +30 -30
- package/dist/chunks/{project-cwa6csj7.js → generate-2sejkfem.js} +9 -9
- package/dist/chunks/{project-hfdr1yjj.js → generate-2tfmgkzg.js} +4 -4
- package/dist/chunks/{project-xjnr36r5.js → generate-2yycsk2q.js} +11 -11
- package/dist/chunks/{project-7nbswp8v.js → generate-2zbvw8ym.js} +9 -9
- package/dist/chunks/{project-2e1vq0y7.js → generate-308q9nny.js} +69 -69
- package/dist/chunks/{project-33w4ejhs.js → generate-33w4ejhs.js} +2 -2
- package/dist/chunks/{project-6tw46rbw.js → generate-35z3x0k8.js} +9 -9
- package/dist/chunks/{project-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-ybhbtxjg.js → generate-3ktbe3hf.js} +6 -6
- package/dist/chunks/{project-tdtg4dez.js → generate-3me7xvq2.js} +13 -13
- package/dist/chunks/{project-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-m44bfvz1.js → generate-3w9sxyad.js} +58 -58
- package/dist/chunks/{project-02n9c88k.js → generate-3wwt8ag2.js} +9 -9
- package/dist/chunks/{project-3df1y0p8.js → generate-3wyrrtvb.js} +17 -17
- package/dist/chunks/{project-j8q8jte2.js → generate-3yw61v8w.js} +27 -27
- package/dist/chunks/{project-2h05jbbb.js → generate-428xen5b.js} +6 -6
- package/dist/chunks/{project-pfcen09k.js → generate-43rrycvc.js} +8 -8
- package/dist/chunks/{project-h6r3nrb9.js → generate-44h5tttr.js} +4 -4
- package/dist/chunks/{project-zhq6vg7a.js → generate-4jc5c4h4.js} +1 -1
- package/dist/chunks/{project-wt7cwq24.js → generate-4rn4k3y1.js} +3 -3
- package/dist/chunks/{project-d3r7jxc2.js → generate-4wn4k6h8.js} +43 -43
- package/dist/chunks/{project-wf8n87rb.js → generate-50qqv18y.js} +173 -173
- package/dist/chunks/{project-t6dxs0q6.js → generate-55ntkbd9.js} +20 -20
- package/dist/chunks/{project-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{project-a1bz86dw.js → generate-5c4hm403.js} +3 -3
- package/dist/chunks/{project-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{project-rrc51wka.js → generate-5jjne4g5.js} +7 -7
- package/dist/chunks/{project-mpyeq7xq.js → generate-5k11540m.js} +24 -24
- package/dist/chunks/{project-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-bgpcryq4.js → generate-5y5048hk.js} +5 -5
- package/dist/chunks/{project-8n7qzcm3.js → generate-5yrb1hyq.js} +11 -11
- package/dist/chunks/{project-2ht24x3n.js → generate-61nhyxw9.js} +96 -96
- package/dist/chunks/{project-zq0jz1g1.js → generate-65k90k27.js} +9 -9
- package/dist/chunks/{project-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{project-g1dt0wsk.js → generate-6d9py4x2.js} +28 -28
- package/dist/chunks/{project-yr3xevt1.js → generate-6ddjfwvz.js} +18 -18
- package/dist/chunks/{project-2402vzrj.js → generate-6h73sxmp.js} +5 -5
- package/dist/chunks/{project-ny0ejabc.js → generate-6h96z4ze.js} +20 -20
- package/dist/chunks/{project-hf12faft.js → generate-6km3vgt3.js} +4 -4
- package/dist/chunks/{project-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-art4n687.js → generate-6psvz8ty.js} +44 -44
- package/dist/chunks/{project-684d09rt.js → generate-6vbjb61c.js} +28 -28
- package/dist/chunks/{project-rre8h2tn.js → generate-6wf6y384.js} +25 -25
- package/dist/chunks/{project-sgzwzkja.js → generate-73erw28z.js} +30 -30
- package/dist/chunks/{project-eq1pz5kg.js → generate-73tb2d7t.js} +3 -3
- package/dist/chunks/{project-gnxekzmr.js → generate-749bja2b.js} +18 -18
- package/dist/chunks/{project-50w8bcqe.js → generate-74wqaqcm.js} +9 -9
- package/dist/chunks/{project-x4srw6h4.js → generate-7aq15hb2.js} +15 -15
- package/dist/chunks/{project-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-fcrkznn8.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-09739knt.js → generate-7w4zp1nj.js} +4 -4
- package/dist/chunks/{project-8kw72tn7.js → generate-827wsj90.js} +25 -25
- package/dist/chunks/{project-dskjyb59.js → generate-8bv2nfrp.js} +4 -4
- package/dist/chunks/{project-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-72nbf9pp.js → generate-8fsfkhfw.js} +3 -3
- package/dist/chunks/{project-0340qvks.js → generate-8gj9m7an.js} +15 -15
- package/dist/chunks/{project-prnhk7xm.js → generate-8hb0tesj.js} +1 -1
- package/dist/chunks/{project-t6xa7fbd.js → generate-8qpnwd8f.js} +22 -22
- package/dist/chunks/{project-wxzxtg60.js → generate-9kfkee5r.js} +8 -8
- package/dist/chunks/{project-bcbwapbv.js → generate-9p8ghzvs.js} +6 -6
- package/dist/chunks/{project-pfkswgt7.js → generate-9v6je5c8.js} +4 -4
- package/dist/chunks/generate-9x18tffv.js +252 -0
- package/dist/chunks/generate-9zdhvgqs.js +18 -0
- package/dist/chunks/{project-mwvxd4dr.js → generate-a7y6e3a6.js} +11 -11
- package/dist/chunks/{project-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{project-f3jfe5hw.js → generate-abf6npx4.js} +23 -23
- package/dist/chunks/{project-2jncbks8.js → generate-ad30yrp4.js} +19 -19
- package/dist/chunks/{project-87kbdynr.js → generate-aegj8t8z.js} +16 -16
- package/dist/chunks/{project-0f9afca0.js → generate-af04s6ss.js} +5 -5
- package/dist/chunks/{project-1b59rhj7.js → generate-aktk9sm4.js} +26 -26
- package/dist/chunks/{project-xjy6841a.js → generate-ar4smkw2.js} +19 -19
- package/dist/chunks/{project-m85m39ae.js → generate-as9yt2q1.js} +5 -5
- package/dist/chunks/{project-he710hpz.js → generate-avnnb6ne.js} +6 -6
- package/dist/chunks/{project-szbzb6j5.js → generate-b06f0n62.js} +5 -5
- package/dist/chunks/{project-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-kkj9rsjh.js → generate-b79sd35x.js} +11 -11
- package/dist/chunks/{project-4a6jpjer.js → generate-bxks3rwe.js} +5 -5
- package/dist/chunks/{project-f80scn8v.js → generate-c1np9tvh.js} +12 -12
- package/dist/chunks/{project-j9kntj8d.js → generate-c6vbkewx.js} +31 -31
- package/dist/chunks/{project-mk02b788.js → generate-cav2k78t.js} +38 -38
- package/dist/chunks/{project-b9stce80.js → generate-ckackzkx.js} +23 -23
- package/dist/chunks/{project-7wq30qzy.js → generate-cpvqkx5f.js} +9 -9
- package/dist/chunks/{project-pq12zp18.js → generate-cvqk7wv7.js} +32 -32
- package/dist/chunks/{project-5nbh07yk.js → generate-czy49zar.js} +20 -20
- package/dist/chunks/{project-5v0tmc5d.js → generate-d4xesebd.js} +28 -28
- package/dist/chunks/{project-8qv6fygy.js → generate-d71fyk5e.js} +1 -1
- package/dist/chunks/{project-ve4pfa0n.js → generate-dfe8djrf.js} +4 -4
- package/dist/chunks/{project-k5m0fz1p.js → generate-dgmwn8ez.js} +8 -8
- package/dist/chunks/{project-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
- package/dist/chunks/{project-zz1fy56t.js → generate-dj30mz7y.js} +6 -6
- package/dist/chunks/{project-ht97wvte.js → generate-dj5jbh3k.js} +8 -8
- package/dist/chunks/{project-4rttj77g.js → generate-dqs3j4gr.js} +5 -5
- package/dist/chunks/{project-drwq78ky.js → generate-drwq78ky.js} +1 -1
- package/dist/chunks/{project-a9h8knd5.js → generate-drz9gnx0.js} +11 -11
- package/dist/chunks/{project-jx33ms3p.js → generate-dtx01xgx.js} +34 -34
- package/dist/chunks/{project-rk07zaj4.js → generate-e2erk39a.js} +26 -26
- package/dist/chunks/{project-nk9mvamb.js → generate-e42h5ahx.js} +17 -17
- package/dist/chunks/{project-mwfvmtj3.js → generate-e4ve3fg3.js} +4 -4
- package/dist/chunks/{project-510m7gjw.js → generate-e6hmchc5.js} +5 -5
- package/dist/chunks/{project-1pd75zc4.js → generate-e8q8b5r7.js} +7 -7
- package/dist/chunks/{project-s8d7rejh.js → generate-eaj1djv9.js} +6 -6
- package/dist/chunks/{project-n8rwxk9x.js → generate-ece0bb7d.js} +43 -43
- package/dist/chunks/{project-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-tvs0a824.js → generate-efc3bqfr.js} +11 -11
- package/dist/chunks/{project-9zj7b8kh.js → generate-ehc7wmzq.js} +18 -18
- package/dist/chunks/{project-bm43pffw.js → generate-envn6cbq.js} +24 -24
- package/dist/chunks/{project-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/generate-eszte112.js +26 -0
- package/dist/chunks/{project-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-t809k1vg.js → generate-evcg0f16.js} +12 -12
- package/dist/chunks/{project-py4hfr94.js → generate-evjjx1vq.js} +8 -8
- package/dist/chunks/{project-whd746f3.js → generate-eznat62v.js} +15 -15
- package/dist/chunks/{project-r8xr0va3.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{project-gp173rva.js → generate-fhhct1rs.js} +9 -9
- package/dist/chunks/{project-bz2stzrr.js → generate-fjfjkvsk.js} +7 -7
- package/dist/chunks/{project-knb7evpn.js → generate-fkjmw100.js} +6 -6
- package/dist/chunks/{project-7g46xrmt.js → generate-fr5pngye.js} +37 -37
- package/dist/chunks/{project-3838ekre.js → generate-fwrss4ad.js} +4 -4
- package/dist/chunks/{project-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{project-m3ap3m3h.js → generate-ga4egkhq.js} +5 -5
- package/dist/chunks/{project-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-ptzgakd6.js → generate-gew6kykq.js} +4 -4
- package/dist/chunks/{project-2q8c0gm7.js → generate-gr1f03ws.js} +9 -9
- package/dist/chunks/{project-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-0xqmy87r.js → generate-gvv2c7z7.js} +24 -24
- package/dist/chunks/{project-6ps9zqp2.js → generate-h354z1xq.js} +33 -33
- package/dist/chunks/{project-ft5embp4.js → generate-h694sfcs.js} +7 -7
- package/dist/chunks/{project-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-gjmk74th.js → generate-h896pcm5.js} +6 -6
- package/dist/chunks/{project-6qxcg912.js → generate-ha58ddsa.js} +9 -9
- package/dist/chunks/{project-f828m53h.js → generate-hdnk95c8.js} +2 -2
- package/dist/chunks/{project-czx70qgk.js → generate-hww2tpcj.js} +31 -31
- package/dist/chunks/{project-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{project-rmf7mdc6.js → generate-j5b0023w.js} +16 -16
- package/dist/chunks/{project-f1vhv4y2.js → generate-j7dy6vn2.js} +18 -18
- package/dist/chunks/{project-a3r4dcrj.js → generate-jca4demv.js} +2 -2
- package/dist/chunks/{project-p89rncfr.js → generate-jcyhwa0n.js} +9 -9
- package/dist/chunks/{project-45tdjxr7.js → generate-jne44bes.js} +22 -22
- package/dist/chunks/{project-4cf1csag.js → generate-jv04y93d.js} +39 -39
- package/dist/chunks/{project-yqn39ntr.js → generate-k0b7m8ck.js} +61 -61
- package/dist/chunks/{project-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{project-etbwh060.js → generate-k75ej8z1.js} +11 -11
- package/dist/chunks/{project-3c3ytqpt.js → generate-km0vtszt.js} +53 -53
- package/dist/chunks/{project-74rrnwt7.js → generate-kns1vj7f.js} +12 -12
- package/dist/chunks/{project-f9qeaf72.js → generate-kp2k2y4n.js} +35 -35
- package/dist/chunks/{project-d21ps0yb.js → generate-kxbt8c2v.js} +11 -11
- package/dist/chunks/{project-52571pyr.js → generate-m0gbvpmm.js} +84 -84
- package/dist/chunks/{project-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
- package/dist/chunks/{project-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-jd632q10.js → generate-m833tcjx.js} +17 -17
- package/dist/chunks/{project-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-rc52wyyz.js → generate-mepve0dy.js} +28 -28
- package/dist/chunks/{project-ag0gjjxr.js → generate-meqv6g6e.js} +29 -29
- package/dist/chunks/{project-1j0dje54.js → generate-mfs7rf5z.js} +44 -44
- package/dist/chunks/{project-k2h4r4s0.js → generate-mjymc32g.js} +4 -4
- package/dist/chunks/{project-fxpfvwpz.js → generate-mn09qs46.js} +8 -8
- package/dist/chunks/{project-3ax8ey8r.js → generate-mwdg7gr3.js} +23 -23
- package/dist/chunks/{project-b836arpr.js → generate-mwxyq70t.js} +2 -2
- package/dist/chunks/{project-w1095t62.js → generate-n3mfym48.js} +10 -10
- package/dist/chunks/{project-4kthemsz.js → generate-n8p7g8ff.js} +23 -23
- package/dist/chunks/{project-7bx1sm4z.js → generate-n8phb4a1.js} +24 -24
- package/dist/chunks/{project-mqzwkyay.js → generate-nd37ta7v.js} +8 -8
- package/dist/chunks/{project-qbkfx3nh.js → generate-nqztsxrq.js} +14 -14
- package/dist/chunks/{project-9jw9f6a3.js → generate-nx0wqpae.js} +13 -13
- package/dist/chunks/{project-fc5rx0ss.js → generate-nxma9dwh.js} +36 -36
- package/dist/chunks/{project-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
- package/dist/chunks/{project-x3pygry0.js → generate-pg2n4xn0.js} +26 -26
- package/dist/chunks/{project-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{project-6bfnyyfc.js → generate-pnkm92bb.js} +47 -47
- package/dist/chunks/{project-5xnbcw5n.js → generate-psb5g46b.js} +23 -23
- package/dist/chunks/{project-n7bbcbn9.js → generate-pzbe5kae.js} +34 -34
- package/dist/chunks/{project-p487xezt.js → generate-q3hz49bq.js} +11 -11
- package/dist/chunks/{project-jexxy024.js → generate-q3t37ft6.js} +3 -3
- package/dist/chunks/{project-kt08d52r.js → generate-q5tqy2pa.js} +27 -27
- package/dist/chunks/{project-1znrxg4s.js → generate-q8c34ndx.js} +14 -14
- package/dist/chunks/{project-xhrkwm7p.js → generate-qayav0h2.js} +30 -30
- package/dist/chunks/{project-pnv527nz.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{project-2hnm7rwd.js → generate-qq2a7b2d.js} +6 -6
- package/dist/chunks/{project-3fvk8wgj.js → generate-qr33bsk7.js} +13 -13
- package/dist/chunks/{project-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{project-7dbmnfn4.js → generate-qvb3nf84.js} +8 -8
- package/dist/chunks/{project-89tr5x57.js → generate-r28r364k.js} +35 -35
- package/dist/chunks/{project-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-dqpc7aqh.js → generate-rv45v1t9.js} +11 -11
- package/dist/chunks/{project-mvhgjtyh.js → generate-rw88jhax.js} +13 -13
- package/dist/chunks/{project-rpzhdcbd.js → generate-s0e4x3j4.js} +22 -22
- package/dist/chunks/{project-z0aj456m.js → generate-s26hbv8p.js} +4 -4
- package/dist/chunks/{project-4mjrvyqz.js → generate-s6m25ze6.js} +16 -16
- package/dist/chunks/{project-9y6q7jxd.js → generate-s8n8qvwn.js} +7 -7
- package/dist/chunks/{project-z9cmzz47.js → generate-scf1vc11.js} +10 -10
- package/dist/chunks/{project-6frkz0t9.js → generate-sm4hqy5c.js} +11 -11
- package/dist/chunks/{project-0xvyxy1g.js → generate-sykf9ha3.js} +19 -19
- package/dist/chunks/{project-z3pw5915.js → generate-t0fxg8b9.js} +5 -5
- package/dist/chunks/{project-b27vhd2z.js → generate-t2fc4mz5.js} +4 -4
- package/dist/chunks/{project-83adyyr5.js → generate-tavk7hys.js} +45 -45
- package/dist/chunks/{project-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{project-re4grerh.js → generate-tgvpjzzv.js} +13 -13
- package/dist/chunks/{project-qwjmgwmn.js → generate-thjxzeng.js} +8 -8
- package/dist/chunks/{project-scpykyjp.js → generate-tpky79q6.js} +15 -15
- package/dist/chunks/{project-w382z4ym.js → generate-tq5tpcth.js} +3 -3
- package/dist/chunks/{project-t96rnwez.js → generate-tsxtcmfm.js} +14 -14
- package/dist/chunks/{project-428dsdgf.js → generate-tv1mb0q8.js} +24 -24
- package/dist/chunks/{project-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{project-bxxa70d5.js → generate-v2sqepxp.js} +23 -23
- package/dist/chunks/{project-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{project-dvwx623d.js → generate-vkaf6dfs.js} +31 -31
- package/dist/chunks/{project-y7sgk7fq.js → generate-vvaxxqy4.js} +41 -41
- package/dist/chunks/{project-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-wrn1hqgr.js → generate-w1bs92j7.js} +12 -12
- package/dist/chunks/{project-5c0f1prt.js → generate-w1k39n5e.js} +4 -4
- package/dist/chunks/{project-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{project-81pha9jc.js → generate-wf06wpac.js} +12 -12
- package/dist/chunks/{project-fwwk8vbp.js → generate-wk5z6jzv.js} +9 -9
- package/dist/chunks/{project-beva1xqy.js → generate-wkx6bdd3.js} +35 -35
- package/dist/chunks/{project-65fmhb37.js → generate-wq5k2qjs.js} +9 -9
- package/dist/chunks/{project-kvs24rry.js → generate-wqqvw1c8.js} +5 -5
- package/dist/chunks/{project-6p35vfa4.js → generate-wreftsvd.js} +4 -4
- package/dist/chunks/{project-8czk929k.js → generate-wrgx4w2j.js} +5 -5
- package/dist/chunks/{project-6n88yxkj.js → generate-wssz113n.js} +8 -8
- package/dist/chunks/{project-9nf5h2pw.js → generate-wyg10aaj.js} +26 -26
- package/dist/chunks/{project-7dr66c2p.js → generate-wz5mftv5.js} +21 -21
- package/dist/chunks/{project-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-2re9my94.js → generate-x1xcpfha.js} +5 -5
- package/dist/chunks/{project-sq85k8fn.js → generate-x2540b37.js} +11 -11
- package/dist/chunks/{project-637svkes.js → generate-x58jw002.js} +17 -17
- package/dist/chunks/{project-as8mjwtf.js → generate-xbr0me04.js} +18 -18
- package/dist/chunks/{project-ds1tkbfk.js → generate-xebs09ex.js} +25 -25
- package/dist/chunks/{project-xnyswzzw.js → generate-xp9wpaq4.js} +24 -24
- package/dist/chunks/{project-cmsgpt83.js → generate-xq0xrt9q.js} +25 -25
- package/dist/chunks/{project-hzps6v82.js → generate-xsqbfv8n.js} +6 -6
- package/dist/chunks/{project-mqy0jkn2.js → generate-xwwz9aqf.js} +4 -4
- package/dist/chunks/{project-y31mwd8k.js → generate-xynf7807.js} +15 -15
- package/dist/chunks/{project-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{project-hzwch198.js → generate-y8gwgsgx.js} +11 -11
- package/dist/chunks/{project-ma48de29.js → generate-y906m0ew.js} +5 -5
- package/dist/chunks/{project-cscvjawy.js → generate-yfwz1ge5.js} +19 -19
- package/dist/chunks/{project-wexrd5e5.js → generate-ym7n73vr.js} +299 -299
- package/dist/chunks/{project-31vws00a.js → generate-yn9kt59b.js} +7 -7
- package/dist/chunks/{project-7w3s9kd0.js → generate-yq2cczkq.js} +9 -9
- package/dist/chunks/{project-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{project-entwmdpz.js → generate-yxat9xne.js} +35 -35
- package/dist/chunks/{project-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-eenk6a9p.js → generate-z2xmq33e.js} +5 -5
- package/dist/chunks/{project-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{project-8gxqpgph.js → generate-zav06jzw.js} +4 -4
- package/dist/chunks/{project-qnfry43t.js → generate-zcfwmhvf.js} +47 -47
- package/dist/chunks/{project-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-w2qjgwbm.js → generate-zfw9zvab.js} +18 -18
- package/dist/chunks/{project-xjf4b6a1.js → generate-zh2a5dp2.js} +3 -3
- package/dist/chunks/{project-1jwtn2yg.js → generate-zj4sr8je.js} +5 -5
- package/dist/chunks/{project-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-0t0zwx0v.js → generate-zvc0f6jz.js} +5 -5
- package/dist/chunks/{project-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{project-q8dgzeae.js → generate-zyaxyk36.js} +32 -32
- package/dist/chunks/{project-s0zv74y6.js → generate-zz1cpcq9.js} +28 -28
- package/dist/chunks/{project-pte49nrz.js → generate-zz2a84p4.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +118 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/project-68vj9s6j.js +0 -252
- package/dist/chunks/project-gbadjzag.js +0 -4
- package/dist/chunks/project-m01yfwga.js +0 -26
- package/dist/chunks/project-pf31ssb9.js +0 -18
- /package/dist/chunks/{project-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node55,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node55 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer22, configured10, node55, exports_app };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info30, SessionSchema2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./generate-nqztsxrq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./generate-6ddjfwvz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./generate-8qpnwd8f.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./generate-eznat62v.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Plugin: () => Plugin9,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin9 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service70;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name8,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin10 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name8, Input8, Plugin9, toModelContent4, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./generate-a7y6e3a6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./generate-h896pcm5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-w1k39n5e.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-0kmmcsnv.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-zz1cpcq9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./generate-m0gbvpmm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service50;
|
|
36
|
+
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./generate-s6m25ze6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./generate-d4xesebd.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./generate-nqztsxrq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./generate-3w9sxyad.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service22,
|
|
20
|
+
node25
|
|
21
|
+
} from "./generate-ehc7wmzq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service13,
|
|
31
|
+
node: () => node15
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
38
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service78;
|
|
40
|
+
const location = yield* Service76;
|
|
41
|
+
const permission = yield* Service71;
|
|
42
|
+
const forms = yield* Service67;
|
|
43
|
+
const rpc = yield* Service22;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service13.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node15 = makeLocationNode({
|
|
60
|
+
service: Service13,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [
|
|
62
|
+
deps: [node82, node80, node75, node71, node25]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-5jjne4g5.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-d71fyk5e.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service59,
|
|
3
|
+
node63,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-wq5k2qjs.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node52
|
|
9
|
+
} from "./generate-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./generate-qayav0h2.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9x18tffv.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service59, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node52.replace(Layer.succeed(Service50, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node63.replace(Layer.succeed(Service59, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service41,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service41, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service41.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service58, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node44 = makeGlobalNode({ service: Service41, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service41, node44, exports_environment };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./generate-s6m25ze6.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service65,
|
|
12
|
+
node69,
|
|
13
|
+
Event16
|
|
14
|
+
} from "./generate-c6vbkewx.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-44h5tttr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80
|
|
21
|
+
} from "./generate-nqztsxrq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID9,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service64,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node68,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID9 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info23 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service64 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service78;
|
|
230
|
+
const integrations = yield* Service65;
|
|
231
|
+
const location = yield* Service76;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service64.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node82, node69, node80] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service64, node68, exports_provider3, Event15 };
|