@opencode/core 0.0.0-dev-19885 → 0.0.0-dev-19886
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 +82 -82
- 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/{app-xgpvyysx.js → schema-00kf9hgr.js} +93 -93
- package/dist/chunks/{app-tb9xm78q.js → schema-0g5nqv50.js} +8 -8
- package/dist/chunks/{app-gcq2fxm3.js → schema-0jpk42xm.js} +23 -23
- package/dist/chunks/{app-pps41de9.js → schema-0jpvnn7p.js} +10 -10
- package/dist/chunks/schema-0mesazry.js +4 -0
- package/dist/chunks/{app-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-8n69n882.js → schema-0tzy42a9.js} +8 -8
- package/dist/chunks/{app-d9ytdjw8.js → schema-0vwe55z4.js} +22 -22
- package/dist/chunks/{app-cz4gxkeh.js → schema-0ztt3je3.js} +45 -45
- package/dist/chunks/{app-c38jyzps.js → schema-14h2k2kq.js} +8 -8
- package/dist/chunks/schema-18yxx2zm.js +252 -0
- package/dist/chunks/schema-1d3x4d8x.js +26 -0
- package/dist/chunks/{app-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-ykf0jhfk.js → schema-1f65vsja.js} +24 -24
- package/dist/chunks/{app-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{app-3b1q5j1v.js → schema-23pqda6t.js} +5 -5
- package/dist/chunks/{app-6h73sxmp.js → schema-2402vzrj.js} +5 -5
- package/dist/chunks/{app-26ym7a2d.js → schema-26k5bknw.js} +4 -4
- package/dist/chunks/{app-qfdknrj4.js → schema-27fda2dc.js} +3 -3
- package/dist/chunks/{app-20dk8r1s.js → schema-27nsnsgt.js} +31 -31
- package/dist/chunks/{app-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-79mnhcfn.js → schema-2eegacq4.js} +8 -8
- package/dist/chunks/{app-f5js084j.js → schema-2ew1f5mw.js} +18 -18
- package/dist/chunks/{app-20ycjnd3.js → schema-2hgcm4ge.js} +6 -6
- package/dist/chunks/{app-2k8khapm.js → schema-2k8khapm.js} +1 -1
- package/dist/chunks/{app-yrq83nnf.js → schema-2vvmycb5.js} +14 -14
- package/dist/chunks/{app-vmv0kd87.js → schema-2zb4g7yy.js} +3 -3
- package/dist/chunks/{app-6nshdwd7.js → schema-31j0m047.js} +25 -25
- package/dist/chunks/{app-56gdpj1q.js → schema-33w4ejhs.js} +6 -6
- package/dist/chunks/{app-v62cs5sj.js → schema-35xpfejb.js} +18 -18
- package/dist/chunks/{app-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-yj47cjx3.js → schema-3pjcshv1.js} +15 -15
- package/dist/chunks/{app-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-709xpvx9.js → schema-3xsz3272.js} +12 -12
- package/dist/chunks/{app-aswv42tr.js → schema-430xfz4c.js} +11 -11
- package/dist/chunks/{app-ebe9bak5.js → schema-44h5tttr.js} +4 -4
- package/dist/chunks/{app-7ka5mwj0.js → schema-46dkj1aa.js} +24 -24
- package/dist/chunks/{app-1s3za36d.js → schema-49g14z3y.js} +4 -4
- package/dist/chunks/{app-v19j2x38.js → schema-4ap4625a.js} +10 -10
- package/dist/chunks/{app-d78xx6qz.js → schema-4dgwxax1.js} +23 -23
- package/dist/chunks/{app-x4e5jp7e.js → schema-4dxzcd5q.js} +10 -10
- package/dist/chunks/{app-dgda83gr.js → schema-4hndh7d1.js} +315 -315
- package/dist/chunks/{app-wxtfr31w.js → schema-4s8c6nrb.js} +22 -22
- package/dist/chunks/{app-7vneq8n3.js → schema-53614fhz.js} +10 -10
- package/dist/chunks/{app-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{app-y9p6qzzr.js → schema-5cm2z16n.js} +38 -38
- package/dist/chunks/{app-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{app-0hr54mt4.js → schema-5gz442hs.js} +31 -31
- package/dist/chunks/{app-1a6p2twq.js → schema-5q02cxx3.js} +4 -4
- package/dist/chunks/{app-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{app-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-gs5memm2.js → schema-61bj6qxp.js} +11 -11
- package/dist/chunks/{app-abfe342y.js → schema-620c9p0e.js} +5 -5
- package/dist/chunks/{app-yrhthkpk.js → schema-62dkdkge.js} +31 -31
- package/dist/chunks/{app-nm6tfe9e.js → schema-63zbbs1j.js} +11 -11
- package/dist/chunks/{app-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{app-s1kvmffy.js → schema-6hjx5zpb.js} +9 -9
- package/dist/chunks/{app-v7ax49y9.js → schema-6hwb3kgj.js} +18 -18
- package/dist/chunks/{app-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-68zcn1pn.js → schema-6phpyabk.js} +5 -5
- package/dist/chunks/{app-44zmf7q8.js → schema-6ybjtjh6.js} +39 -39
- package/dist/chunks/{app-h4z1mxff.js → schema-705e2ap1.js} +5 -5
- package/dist/chunks/{app-dsqt3g70.js → schema-715jhr6j.js} +4 -4
- package/dist/chunks/{app-v6h6kk4n.js → schema-77dpymfj.js} +43 -43
- package/dist/chunks/{app-688dcwrg.js → schema-788gb7w8.js} +8 -8
- package/dist/chunks/{app-wks3bq41.js → schema-7atvkj40.js} +30 -30
- package/dist/chunks/{app-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-jw57wrad.js → schema-7erxeq1k.js} +13 -13
- package/dist/chunks/{app-t0b82sn3.js → schema-7stb2mtn.js} +13 -13
- package/dist/chunks/{app-qmznc2j1.js → schema-82dy80yx.js} +28 -28
- package/dist/chunks/{app-5v8q48de.js → schema-87sxhkrx.js} +302 -302
- package/dist/chunks/{app-x2rmejqt.js → schema-89kj8kbd.js} +14 -14
- package/dist/chunks/{app-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-7b4r5at6.js → schema-8gb5m816.js} +15 -15
- package/dist/chunks/{app-dpfenvj7.js → schema-8mrsjb6t.js} +9 -9
- package/dist/chunks/{app-dj2t23y0.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-0tv5m9zy.js → schema-8pje5h6d.js} +15 -15
- package/dist/chunks/{app-bawrj3b9.js → schema-8z86kdgr.js} +2 -2
- package/dist/chunks/{app-tfxsda3f.js → schema-8zxj1h0d.js} +32 -32
- package/dist/chunks/{app-20zx6c52.js → schema-96hmnfjn.js} +20 -20
- package/dist/chunks/{app-1wr3afwe.js → schema-99g1e68g.js} +5 -5
- package/dist/chunks/{app-zc72yjq3.js → schema-9hhss0a2.js} +18 -18
- package/dist/chunks/{app-psst68c8.js → schema-9kn500pz.js} +32 -32
- package/dist/chunks/{app-xhpeghz7.js → schema-9vpczy1a.js} +10 -10
- package/dist/chunks/{app-2fvbvr4z.js → schema-9waxqwzk.js} +13 -13
- package/dist/chunks/{app-3vaynbq5.js → schema-9ydytpw2.js} +3 -3
- package/dist/chunks/{app-7gvwkz6m.js → schema-a1a50ys5.js} +5 -5
- package/dist/chunks/{app-5c4hm403.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-ybgh1m9m.js → schema-a48qxba4.js} +17 -17
- package/dist/chunks/{app-g5zpxqd5.js → schema-a67c24cf.js} +47 -47
- package/dist/chunks/{app-2pnhn36q.js → schema-a8bn8zg0.js} +21 -21
- package/dist/chunks/{app-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{app-fpxm7379.js → schema-ac987dqs.js} +3 -3
- package/dist/chunks/{app-4y9pqhyv.js → schema-ajed71fh.js} +4 -4
- package/dist/chunks/{app-03matkmd.js → schema-am548r7s.js} +20 -20
- package/dist/chunks/{app-876jnmkn.js → schema-asc6r62w.js} +21 -21
- package/dist/chunks/{app-7mvfcvez.js → schema-aw4pcnvy.js} +21 -21
- package/dist/chunks/{app-dw1nbz2e.js → schema-awv3wa2m.js} +11 -11
- package/dist/chunks/{app-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-2pjc63d4.js → schema-b97cbvw3.js} +1 -1
- package/dist/chunks/{app-z6p9zkzw.js → schema-ba2a7ra8.js} +44 -44
- package/dist/chunks/{app-hcz3zddy.js → schema-bgxcxs0p.js} +5 -5
- package/dist/chunks/{app-bg2gq5qa.js → schema-bha4atvq.js} +4 -4
- package/dist/chunks/{app-va20k388.js → schema-bx5rv0r1.js} +15 -15
- package/dist/chunks/{app-y15xkh2n.js → schema-by61nw3t.js} +23 -23
- package/dist/chunks/{app-35w9qdzz.js → schema-c47c9t6q.js} +9 -9
- package/dist/chunks/{app-7hwc72pw.js → schema-c4h0rghh.js} +40 -40
- package/dist/chunks/{app-m0jqrx5p.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-f8wvxc75.js → schema-crd295za.js} +9 -9
- package/dist/chunks/{app-rfjpkbyr.js → schema-crhmmv87.js} +175 -175
- package/dist/chunks/{app-x9qt50vx.js → schema-cv1ac0c6.js} +13 -13
- package/dist/chunks/{app-axtvtek4.js → schema-d216944b.js} +4 -4
- package/dist/chunks/{app-zdb8sah8.js → schema-d8ekvs43.js} +18 -18
- package/dist/chunks/{app-07can071.js → schema-d8j7pmpr.js} +24 -24
- package/dist/chunks/{app-ttsb85y1.js → schema-daqxfzz2.js} +7 -7
- package/dist/chunks/{app-senw7f5q.js → schema-dcyzc3a4.js} +5 -5
- package/dist/chunks/{app-8kefq0e4.js → schema-dgkjxssa.js} +24 -24
- package/dist/chunks/{app-2npqe2nd.js → schema-dhexvm6n.js} +36 -36
- package/dist/chunks/{app-57e9z27j.js → schema-dpahde6h.js} +8 -8
- package/dist/chunks/{app-d883tjw7.js → schema-dqd6nw8h.js} +28 -28
- package/dist/chunks/{app-drwq78ky.js → schema-drwq78ky.js} +1 -1
- package/dist/chunks/{app-g2qchbvm.js → schema-dvym74kg.js} +18 -18
- package/dist/chunks/{app-m3pgw4q9.js → schema-dzx47qqb.js} +24 -24
- package/dist/chunks/{app-9pe371ph.js → schema-e0vrtrrw.js} +11 -11
- package/dist/chunks/{app-png4bzvj.js → schema-e8f72s9g.js} +24 -24
- package/dist/chunks/{app-gh58188p.js → schema-e9j26s5a.js} +18 -18
- package/dist/chunks/{app-0gdmqesm.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{app-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-mm16ex40.js → schema-efx6pn78.js} +9 -9
- package/dist/chunks/{app-swk9pkgd.js → schema-eh3tg283.js} +7 -7
- package/dist/chunks/{app-wt8910j7.js → schema-epqfg76v.js} +13 -13
- package/dist/chunks/{app-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
- package/dist/chunks/{app-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-tn0aqsam.js → schema-evbgk2k8.js} +5 -5
- package/dist/chunks/{app-9n0txh3w.js → schema-f11mwxkr.js} +32 -32
- package/dist/chunks/{app-2f21k4jq.js → schema-f1pvj740.js} +20 -20
- package/dist/chunks/{app-wa17x0f6.js → schema-f68wk4tz.js} +23 -23
- package/dist/chunks/{app-hdnk95c8.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{app-b6mrn51r.js → schema-fg4bngfk.js} +11 -11
- package/dist/chunks/{app-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-8v6pyhej.js → schema-g0445xdp.js} +8 -8
- package/dist/chunks/{app-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-7ekr1ah4.js → schema-gh1qyndc.js} +32 -32
- package/dist/chunks/{app-7hnsdr40.js → schema-gmhayzrc.js} +25 -25
- package/dist/chunks/{app-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-zmnyjegj.js → schema-gw0rdnge.js} +18 -18
- package/dist/chunks/{app-7ghxp6dc.js → schema-gwwb91fp.js} +14 -14
- package/dist/chunks/{app-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-csxzn776.js → schema-hag420rg.js} +12 -12
- package/dist/chunks/{app-rj6d5p5e.js → schema-hbznj76v.js} +3 -3
- package/dist/chunks/{app-06r2eyqd.js → schema-hg46y0kh.js} +6 -6
- package/dist/chunks/{app-q4gtzsax.js → schema-hw0zd49b.js} +26 -26
- package/dist/chunks/{app-sjgwehbe.js → schema-hxgdaxe3.js} +15 -15
- package/dist/chunks/{app-c1ef6zpr.js → schema-hztmyek9.js} +3 -3
- package/dist/chunks/{app-915nf07v.js → schema-j1x1vf2y.js} +11 -11
- package/dist/chunks/{app-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{app-bd9kkww0.js → schema-j59ym81b.js} +18 -18
- package/dist/chunks/{app-kytjdcrv.js → schema-jagm69te.js} +58 -58
- package/dist/chunks/{app-azynnvek.js → schema-jhbs716j.js} +62 -62
- package/dist/chunks/{app-bvfp0cee.js → schema-jkh6xme0.js} +32 -32
- package/dist/chunks/{app-xg9j3gxx.js → schema-jy1h2w15.js} +5 -5
- package/dist/chunks/{app-aky1hhm0.js → schema-k0nnn7te.js} +25 -25
- package/dist/chunks/{app-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{app-grfgd9mf.js → schema-k3yens6r.js} +30 -30
- package/dist/chunks/{app-jzz4kwyh.js → schema-kgaqkgqz.js} +4 -4
- package/dist/chunks/{app-5vt9esmq.js → schema-kgczsn21.js} +21 -21
- package/dist/chunks/{app-knb7evpn.js → schema-knb7evpn.js} +2 -2
- package/dist/chunks/{app-wx5y01fx.js → schema-kxxcztw2.js} +11 -11
- package/dist/chunks/{app-jewzahs7.js → schema-kzc3h1h3.js} +4 -4
- package/dist/chunks/{app-p33jdkfk.js → schema-m0pezh0b.js} +6 -6
- package/dist/chunks/{app-0sa6p4t3.js → schema-m2gwkkre.js} +11 -11
- package/dist/chunks/{app-qbkt3cqr.js → schema-m31hrvtp.js} +14 -14
- package/dist/chunks/{app-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-p29sx5d2.js → schema-m4d3rech.js} +17 -17
- package/dist/chunks/{app-ps5kdaeb.js → schema-m50cybhv.js} +32 -32
- package/dist/chunks/{app-711sgqvm.js → schema-m63dm8t2.js} +9 -9
- package/dist/chunks/{app-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-r5x6zcsm.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{app-zw4pk1bw.js → schema-mjagy123.js} +5 -5
- package/dist/chunks/{app-yy70n6y7.js → schema-mkry9cbt.js} +22 -22
- package/dist/chunks/{app-m85z7vph.js → schema-mtd9q3qz.js} +11 -11
- package/dist/chunks/{app-wxyrkypr.js → schema-mwe9m6y1.js} +12 -12
- package/dist/chunks/{app-tb5xxcc9.js → schema-n41zvqn3.js} +78 -78
- package/dist/chunks/{app-ddt2bs9e.js → schema-n4r3xatb.js} +4 -4
- package/dist/chunks/{app-7w8wfers.js → schema-nd17pecj.js} +27 -27
- package/dist/chunks/{app-zswdvhgs.js → schema-nf9eh295.js} +20 -20
- package/dist/chunks/{app-11823ez3.js → schema-nfey5btx.js} +9 -9
- package/dist/chunks/{app-3m4ehbcm.js → schema-nrphw12n.js} +10 -10
- package/dist/chunks/{app-vy4zg7qh.js → schema-nsarsp7q.js} +12 -12
- package/dist/chunks/{app-m2d0j7c0.js → schema-nscznvay.js} +9 -9
- package/dist/chunks/{app-16rcg4y4.js → schema-nw8j1rps.js} +28 -28
- package/dist/chunks/{app-h2tx7zx9.js → schema-nwmd1prx.js} +22 -22
- package/dist/chunks/{app-vwcr4tjx.js → schema-nwt3vm70.js} +9 -9
- package/dist/chunks/{app-x3qv8ryf.js → schema-p24szhfn.js} +72 -72
- package/dist/chunks/{app-fab6kdz8.js → schema-p42z03n1.js} +24 -24
- package/dist/chunks/{app-39dgwvb1.js → schema-p5m4wkry.js} +27 -27
- package/dist/chunks/{app-g6ckadgp.js → schema-p5wnv3kx.js} +16 -16
- package/dist/chunks/schema-pf31ssb9.js +18 -0
- package/dist/chunks/{app-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{app-6r8xth9q.js → schema-pwkmx0nv.js} +11 -11
- package/dist/chunks/{app-qzjq96ve.js → schema-q01vrhz0.js} +43 -43
- package/dist/chunks/{app-yxms1dgw.js → schema-q2k638zh.js} +27 -27
- package/dist/chunks/{app-thph1k7c.js → schema-qd9qsd3y.js} +32 -32
- package/dist/chunks/{app-y76zn1vz.js → schema-qk3ss27q.js} +5 -5
- package/dist/chunks/{app-cxgg6zzr.js → schema-qm9z9m0p.js} +15 -15
- package/dist/chunks/{app-d4he2qe1.js → schema-qmqgtz8f.js} +9 -9
- package/dist/chunks/{app-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{app-arndb05z.js → schema-r0e90pz6.js} +8 -8
- package/dist/chunks/{app-wq38yxfv.js → schema-r216a26w.js} +1 -1
- package/dist/chunks/{app-zkmmppc2.js → schema-r7w93r7k.js} +10 -10
- package/dist/chunks/{app-yp2x3t23.js → schema-r8xr0va3.js} +4 -4
- package/dist/chunks/{app-d4awevab.js → schema-ra56mcsr.js} +9 -9
- package/dist/chunks/{app-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-5nb2d01r.js → schema-rp4sv622.js} +2 -2
- package/dist/chunks/{app-f6h44vt5.js → schema-rpprv63a.js} +6 -6
- package/dist/chunks/{app-c2k60acp.js → schema-rpz6drrn.js} +17 -17
- package/dist/chunks/{app-2hsx99jb.js → schema-rrx9jv1h.js} +31 -31
- package/dist/chunks/{app-8j10kyg7.js → schema-rw3hxt2z.js} +11 -11
- package/dist/chunks/{app-55y9qcck.js → schema-rxat3bmm.js} +8 -8
- package/dist/chunks/{app-zy4aaz3n.js → schema-rz3ttxsc.js} +3 -3
- package/dist/chunks/{app-8trhq89n.js → schema-s16nvs90.js} +7 -7
- package/dist/chunks/{app-h5gvbxth.js → schema-s5vydnba.js} +16 -16
- package/dist/chunks/{app-7x1nw6gz.js → schema-smeb82kt.js} +12 -12
- package/dist/chunks/{app-nk1wytkm.js → schema-sqg1zh0r.js} +30 -30
- package/dist/chunks/{app-014xdmgp.js → schema-sqwknf6n.js} +27 -27
- package/dist/chunks/{app-57m20ys8.js → schema-svthz80f.js} +5 -5
- package/dist/chunks/{app-ckqwygw2.js → schema-sxqpj4ry.js} +45 -45
- package/dist/chunks/{app-4d4f54qe.js → schema-t8tjryy7.js} +41 -41
- package/dist/chunks/{app-gfpj78pk.js → schema-t9gmmc62.js} +4 -4
- package/dist/chunks/{app-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-p28j5sbe.js → schema-tbz0fdvh.js} +5 -5
- package/dist/chunks/{app-89znhe33.js → schema-tcezcvh9.js} +4 -4
- package/dist/chunks/{app-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{app-rh2h7bz2.js → schema-te5aq0s8.js} +21 -21
- package/dist/chunks/{app-p7a39gy5.js → schema-tegs1ycp.js} +6 -6
- package/dist/chunks/{app-0j8d1df6.js → schema-thp9hxey.js} +3 -3
- package/dist/chunks/{app-y5xn5bba.js → schema-tkef11z1.js} +16 -16
- package/dist/chunks/{app-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{app-9jn97mr4.js → schema-v32h01d6.js} +10 -10
- package/dist/chunks/{app-49yvn64x.js → schema-v4q4m78p.js} +1 -1
- package/dist/chunks/{app-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{app-xapv5k3j.js → schema-vkzh714j.js} +41 -41
- package/dist/chunks/{app-kfpfq9wx.js → schema-vwv45jwz.js} +22 -22
- package/dist/chunks/{app-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-88yxd0gw.js → schema-w16ahr6b.js} +49 -49
- package/dist/chunks/{app-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-01s6r663.js → schema-w3xeasz5.js} +17 -17
- package/dist/chunks/{app-jnmfw45r.js → schema-w71eb5dq.js} +3 -3
- package/dist/chunks/{app-w3jg838k.js → schema-wd6nv646.js} +9 -9
- package/dist/chunks/{app-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{app-fdaj3cxn.js → schema-wjj6t90t.js} +30 -30
- package/dist/chunks/{app-d0zj62h6.js → schema-wkayzp5j.js} +16 -16
- package/dist/chunks/{app-rfdx9aph.js → schema-wkehh1kx.js} +21 -21
- package/dist/chunks/{app-6c2r5v8w.js → schema-wn9776zt.js} +4 -4
- package/dist/chunks/{app-d0kf8th3.js → schema-wv5rnem4.js} +11 -11
- package/dist/chunks/{app-e14sp09f.js → schema-wy0rv5a1.js} +9 -9
- package/dist/chunks/{app-bw1ynhc4.js → schema-x1b0enpz.js} +27 -27
- package/dist/chunks/{app-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-y2nmavtm.js → schema-x3h06d7w.js} +36 -36
- package/dist/chunks/{app-wpm2rk0p.js → schema-xnv6xhp0.js} +8 -8
- package/dist/chunks/{app-x8chr5sc.js → schema-xptk6zwz.js} +31 -31
- package/dist/chunks/{app-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-3e6x224v.js → schema-y4ryaafw.js} +15 -15
- package/dist/chunks/{app-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{app-5mj83k5s.js → schema-y79g4z7g.js} +11 -11
- package/dist/chunks/{app-kca364mm.js → schema-ydbs56mh.js} +8 -8
- package/dist/chunks/{app-k27386pf.js → schema-yfkgz838.js} +27 -27
- package/dist/chunks/{app-bdqrk2vk.js → schema-yq2cczkq.js} +8 -8
- package/dist/chunks/{app-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{app-bdwsy2v9.js → schema-ysht8f4g.js} +4 -4
- package/dist/chunks/{app-d7fy9tms.js → schema-yx64nkv6.js} +31 -31
- package/dist/chunks/{app-nm3p96rh.js → schema-z07ec4ej.js} +28 -28
- package/dist/chunks/{app-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{app-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-1zcc4bn4.js → schema-zfv3dwnm.js} +11 -11
- package/dist/chunks/{app-h6jr292a.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{app-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +131 -131
- 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 +143 -143
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +75 -75
- 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 +1 -1
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +84 -84
- package/dist/instructions/index.js +5 -5
- 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 +103 -103
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- 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 +121 -121
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- 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 +120 -120
- 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 +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 +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 +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +230 -230
- 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 +125 -125
- 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 +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- 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 +214 -214
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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/app-39c2k6vv.js +0 -26
- package/dist/chunks/app-4v7qdvcn.js +0 -18
- package/dist/chunks/app-qtvmxc8s.js +0 -4
- package/dist/chunks/app-rb2dwyb3.js +0 -252
- /package/dist/chunks/{app-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-87sxhkrx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./schema-x3h06d7w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info22.make({
|
|
122
|
+
...Info22.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-hag420rg.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node83
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./app-yrq83nnf.js";
|
|
8
|
+
} from "./schema-2vvmycb5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node53
|
|
12
|
+
} from "./schema-1f65vsja.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service46,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node50
|
|
20
|
+
} from "./schema-9hhss0a2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service77,
|
|
23
|
+
node81
|
|
24
|
+
} from "./schema-2eegacq4.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service32,
|
|
27
|
+
node35
|
|
28
|
+
} from "./schema-0tzy42a9.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-hbznj76v.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service39,
|
|
35
|
+
node43
|
|
36
|
+
} from "./schema-77dpymfj.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./schema-3xsz3272.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service31,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node34
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service31 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service31, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
|
+
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service46;
|
|
94
|
+
const environment = yield* Service49;
|
|
95
|
+
const hooks = yield* Service77;
|
|
96
|
+
const environments = yield* Service32;
|
|
97
|
+
const config = yield* Service39;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service31.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node34 = makeLocationNode({
|
|
320
|
+
service: Service31,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
+
node86,
|
|
323
324
|
node83,
|
|
324
|
-
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node50,
|
|
327
|
+
node53,
|
|
328
|
+
node81,
|
|
329
|
+
node35,
|
|
330
|
+
node43,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service31, cleanup2, node34, exports_shell4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node76
|
|
7
|
+
} from "./schema-9vpczy1a.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-hbznj76v.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
|
+
make: () => make20,
|
|
24
|
+
node: () => node67
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service63 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make20 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service72;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service63.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service63, make20);
|
|
362
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node76] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service63, make20, node67, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-27fda2dc.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-hztmyek9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service36,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node40
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service36 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service36.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service36, node40, exports_image2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-w71eb5dq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./schema-hag420rg.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-26k5bknw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load5
|
|
23
|
+
} from "./schema-rw3hxt2z.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-b97cbvw3.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-82dy80yx.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-wn9776zt.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./schema-2hgcm4ge.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./schema-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./schema-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./schema-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
305
305
|
const state = create3({
|
|
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
621
|
-
deps: [
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
|
+
layer: layer7,
|
|
621
|
+
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./schema-wd6nv646.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./schema-tegs1ycp.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-pf31ssb9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./schema-2eegacq4.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-nfey5btx.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service56
|
|
23
|
+
} from "./schema-dqd6nw8h.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service60;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service77;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service56;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service36;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|