@opencode/core 0.0.0-dev-481 → 0.0.0-dev-482
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +247 -247
- package/dist/bus.js +80 -80
- package/dist/chunks/{app-vyzwj7hv.js → location-01pgc6t1.js} +9 -9
- package/dist/chunks/{app-aj7mw0zk.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{app-h0xhqjby.js → location-0f7kkqtf.js} +4 -4
- package/dist/chunks/{app-k483zyxw.js → location-0fcqkqe0.js} +17 -17
- package/dist/chunks/{app-erf9fzfw.js → location-0jkcjdkb.js} +18 -18
- package/dist/chunks/{app-wyzscbnm.js → location-0jpvqtke.js} +12 -12
- package/dist/chunks/{app-0ma9gw4f.js → location-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-b6s5ycsj.js → location-0q8q98et.js} +14 -14
- package/dist/chunks/{app-r1n0s1ac.js → location-0tydawpq.js} +16 -16
- package/dist/chunks/{app-g6p4g6mv.js → location-0vdywerr.js} +27 -27
- package/dist/chunks/{app-wbqzfeen.js → location-0wgmn1kb.js} +21 -21
- package/dist/chunks/{app-czy8szj2.js → location-0xqbsrqr.js} +354 -354
- package/dist/chunks/{app-7wm6fjb2.js → location-1a140ev3.js} +6 -6
- package/dist/chunks/{app-1aqsckx4.js → location-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-z080rjh6.js → location-1cdwtwnn.js} +4 -4
- package/dist/chunks/{app-27w5k9zf.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-d4by6qpt.js → location-1jshsnt4.js} +11 -11
- package/dist/chunks/{app-sr8x3p00.js → location-1nresfvs.js} +20 -20
- package/dist/chunks/{app-q391cchf.js → location-1serdbm0.js} +36 -36
- package/dist/chunks/{app-r17y8811.js → location-1smrtfhf.js} +40 -40
- package/dist/chunks/{app-1v2g13eq.js → location-1v2g13eq.js} +4 -4
- package/dist/chunks/{app-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-v9ez2kgh.js → location-1yq9hg58.js} +5 -5
- package/dist/chunks/{app-s5hy498g.js → location-1zda8fgz.js} +13 -13
- package/dist/chunks/{app-f5hyk6e9.js → location-23mg205d.js} +30 -30
- package/dist/chunks/{app-8b3vzgkx.js → location-25h84942.js} +4 -4
- package/dist/chunks/{app-43ynt425.js → location-27rfk046.js} +26 -26
- package/dist/chunks/{app-w6adzdws.js → location-2axvd6s3.js} +88 -88
- package/dist/chunks/{app-v0t96s7a.js → location-2kg89srt.js} +4 -4
- package/dist/chunks/{app-2p60zmnr.js → location-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-qgk9wbmt.js → location-2sck34ne.js} +19 -19
- package/dist/chunks/{app-wjnwerxx.js → location-2vytr4qs.js} +22 -22
- package/dist/chunks/{app-s72x33aq.js → location-37356421.js} +20 -20
- package/dist/chunks/{app-2hg7qvzt.js → location-38ys11y3.js} +5 -5
- package/dist/chunks/{app-rchz5kjx.js → location-390xskpw.js} +4 -4
- package/dist/chunks/{app-45a1n0rj.js → location-3dvadycf.js} +21 -21
- package/dist/chunks/{app-x48k7f96.js → location-3fqv35td.js} +13 -13
- package/dist/chunks/{app-y9dbkkt2.js → location-3gbdv6d6.js} +29 -29
- package/dist/chunks/{app-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-nv2s17h7.js → location-3jcyqs0x.js} +47 -47
- package/dist/chunks/{app-q0ez1hrk.js → location-3r0vrc21.js} +7 -7
- package/dist/chunks/{app-2kj7f5bg.js → location-3ryz99p0.js} +7 -7
- package/dist/chunks/{app-y3e9w5j4.js → location-3sm8rpg8.js} +12 -12
- package/dist/chunks/{app-s7s2w16j.js → location-3t9tbebp.js} +39 -39
- package/dist/chunks/{app-13am0myr.js → location-3w8s8xp3.js} +59 -59
- package/dist/chunks/{app-40y6dtc2.js → location-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-gtse556r.js → location-43s7a0t3.js} +3 -3
- package/dist/chunks/{app-44pmzq9c.js → location-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-9av120cb.js → location-484j8fpd.js} +20 -20
- package/dist/chunks/{app-4dx1dgte.js → location-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-11pmnyyq.js → location-4eqsjcsp.js} +13 -13
- package/dist/chunks/{app-4f25tdd0.js → location-4f25tdd0.js} +1 -1
- package/dist/chunks/{app-7ey693cm.js → location-4k2smf6b.js} +3 -3
- package/dist/chunks/{app-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-6s3jfmgb.js → location-4trnm1hn.js} +11 -11
- package/dist/chunks/{app-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{app-8sb7jtsn.js → location-50emzza2.js} +9 -9
- package/dist/chunks/{app-f1y0a070.js → location-512tdftc.js} +1 -1
- package/dist/chunks/{app-prwg2e47.js → location-52g8y578.js} +7 -7
- package/dist/chunks/{app-40za9wsf.js → location-5enarcya.js} +6 -6
- package/dist/chunks/{app-a1dwv91k.js → location-5gesekxb.js} +8 -8
- package/dist/chunks/{app-24sxtq8k.js → location-5gfssad4.js} +6 -6
- package/dist/chunks/{app-jy6h2y3j.js → location-5kwzkdf2.js} +16 -16
- package/dist/chunks/{app-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-b6vsg801.js → location-5nnwax6m.js} +5 -5
- package/dist/chunks/{app-j06ysx93.js → location-5pqzpska.js} +11 -11
- package/dist/chunks/{app-dv2k300y.js → location-5tc3n98b.js} +26 -26
- package/dist/chunks/{app-y70svyf1.js → location-5zvrjgbk.js} +15 -15
- package/dist/chunks/{app-gwz0wrrb.js → location-629vq7qf.js} +28 -28
- package/dist/chunks/{app-t7wtafck.js → location-671yt1fh.js} +11 -11
- package/dist/chunks/location-6bshxcsx.js +18 -0
- package/dist/chunks/{app-q94qz23g.js → location-6dk0e5c5.js} +50 -50
- package/dist/chunks/{app-9wje21dv.js → location-6narqht5.js} +12 -12
- package/dist/chunks/{app-g1e2r5aa.js → location-6ss6ngz0.js} +4 -4
- package/dist/chunks/{app-3xg6wq2g.js → location-6w51fm74.js} +13 -13
- package/dist/chunks/{app-76cb1hcw.js → location-76cb1hcw.js} +1 -1
- package/dist/chunks/{app-80mg3ag8.js → location-775hqbnd.js} +3 -3
- package/dist/chunks/{app-4medx3yc.js → location-78z55vz9.js} +8 -8
- package/dist/chunks/{app-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-8g403b55.js → location-7e31cxcq.js} +24 -24
- package/dist/chunks/{app-pq46x9ny.js → location-7k96bt42.js} +8 -8
- package/dist/chunks/{app-7kr66rt3.js → location-7kr66rt3.js} +1 -1
- package/dist/chunks/{app-xfdj8ybq.js → location-7tt9v2zf.js} +32 -32
- package/dist/chunks/{app-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → location-7weczvnd.js} +1 -1
- package/dist/chunks/{app-4am3819x.js → location-7xxafhkb.js} +32 -32
- package/dist/chunks/{app-9cgaya5j.js → location-805dh4kb.js} +16 -16
- package/dist/chunks/{app-navg70v8.js → location-80ebm126.js} +13 -13
- package/dist/chunks/{app-89287pr7.js → location-89287pr7.js} +1 -1
- package/dist/chunks/{app-8cg7mtm3.js → location-8cg7mtm3.js} +1 -1
- package/dist/chunks/{app-2zydp9t3.js → location-8j03m598.js} +6 -6
- package/dist/chunks/{app-g7mcj942.js → location-8req33qf.js} +62 -62
- package/dist/chunks/{app-7qrph824.js → location-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-qpe5m7rp.js → location-8vk3va5c.js} +15 -15
- package/dist/chunks/{app-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-90zstvax.js → location-90zstvax.js} +1 -1
- package/dist/chunks/{app-1vbrkdbs.js → location-94e33dpz.js} +3 -3
- package/dist/chunks/{app-dgmx8s6q.js → location-970zrxzb.js} +18 -18
- package/dist/chunks/{app-af8dd66m.js → location-988q4p70.js} +4 -4
- package/dist/chunks/{app-whq4nd4h.js → location-9abj58ej.js} +13 -13
- package/dist/chunks/{app-q9csfq1d.js → location-9d2m9w7e.js} +9 -9
- package/dist/chunks/{app-hetycfaa.js → location-9e6160nv.js} +41 -41
- package/dist/chunks/{app-9kkkhnvp.js → location-9f7zehfv.js} +7 -7
- package/dist/chunks/{app-5ftq3225.js → location-9km3nys4.js} +5 -5
- package/dist/chunks/{app-26wfx3k0.js → location-9qqfewpb.js} +4 -4
- package/dist/chunks/{app-3ab9az2f.js → location-9xfh3qx1.js} +11 -11
- package/dist/chunks/{app-xavgr0sn.js → location-a0rbws35.js} +21 -21
- package/dist/chunks/{app-b37ymw5d.js → location-a42agwqf.js} +17 -17
- package/dist/chunks/{app-js4hvacx.js → location-a5hjg2v1.js} +35 -35
- package/dist/chunks/{app-bprvspg8.js → location-a5m75t4w.js} +11 -11
- package/dist/chunks/{app-9vajtycf.js → location-ac9tw622.js} +16 -16
- package/dist/chunks/{app-q7zpym3n.js → location-add59bdf.js} +2 -2
- package/dist/chunks/{app-3cbjf1nt.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-yq2mt5qr.js → location-aza0qgdg.js} +3 -3
- package/dist/chunks/{app-w0gbs4kg.js → location-badf1jx5.js} +36 -36
- package/dist/chunks/{app-9rqhy0gk.js → location-bb3pv0r8.js} +5 -5
- package/dist/chunks/{app-kfd17r3s.js → location-bbmkcywa.js} +5 -5
- package/dist/chunks/{app-sch7yt7r.js → location-bd27wa44.js} +21 -21
- package/dist/chunks/{app-xznfvz6c.js → location-bdtb8h02.js} +12 -12
- package/dist/chunks/{app-5xfk76mk.js → location-bfwvr4qd.js} +86 -86
- package/dist/chunks/{app-bhfd478d.js → location-bhfd478d.js} +1 -1
- package/dist/chunks/{app-jyntrgsj.js → location-bn5c4xpj.js} +48 -48
- package/dist/chunks/{app-weahyj5x.js → location-bnzx9dwt.js} +5 -5
- package/dist/chunks/{app-n3bkb5q1.js → location-bpmnncyw.js} +5 -5
- package/dist/chunks/{app-xksw6ev0.js → location-brv6mkyx.js} +4 -4
- package/dist/chunks/{app-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{app-2n05qsag.js → location-bvffa3bg.js} +4 -4
- package/dist/chunks/{app-z4sah7cn.js → location-c09c9xx3.js} +12 -12
- package/dist/chunks/{app-x2eb1s38.js → location-c13b592v.js} +23 -23
- package/dist/chunks/{app-rz032gsk.js → location-cavp24mx.js} +17 -17
- package/dist/chunks/{app-9c645kx6.js → location-chgv8zg3.js} +2 -2
- package/dist/chunks/{app-wy3njjma.js → location-cpf1ce0h.js} +18 -18
- package/dist/chunks/{app-13aj6xfg.js → location-csmfmyj6.js} +33 -33
- package/dist/chunks/{app-vt4r9rmy.js → location-ctmpqb7w.js} +9 -9
- package/dist/chunks/{app-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-rhg1wx68.js → location-cz3wcpwd.js} +27 -27
- package/dist/chunks/{app-6m70gvhx.js → location-d3074txc.js} +10 -10
- package/dist/chunks/{app-2am13szv.js → location-d390zwf3.js} +8 -8
- package/dist/chunks/{app-gn8tkhbf.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-catycsjd.js → location-d573hr5k.js} +11 -11
- package/dist/chunks/{app-bfmts8p1.js → location-d9tv0j4w.js} +8 -8
- package/dist/chunks/{app-rj7j5fvs.js → location-dg5naf6e.js} +4 -4
- package/dist/chunks/{app-3nmxyean.js → location-ds54zjme.js} +5 -5
- package/dist/chunks/{app-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{app-57zkss3n.js → location-dvn4vb83.js} +14 -14
- package/dist/chunks/{app-4pc43vs5.js → location-dxdc95em.js} +3 -3
- package/dist/chunks/{app-prha7nnz.js → location-dzxh8mds.js} +10 -10
- package/dist/chunks/{app-n8ahjr4j.js → location-e3rsyggn.js} +15 -15
- package/dist/chunks/{app-yqveydy6.js → location-e45fk36t.js} +4 -4
- package/dist/chunks/{app-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{app-19gkfjnk.js → location-eavcrtrz.js} +2 -2
- package/dist/chunks/{app-2db5e21y.js → location-efd7k9cd.js} +5 -5
- package/dist/chunks/location-epzk50yp.js +26 -0
- package/dist/chunks/{app-eqw4pqj1.js → location-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-n4k1ey5b.js → location-ew5p7j1s.js} +3 -3
- package/dist/chunks/{app-ead32ctt.js → location-ewa1ec51.js} +4 -4
- package/dist/chunks/{app-t4f7c3ht.js → location-f4y3d2yt.js} +18 -18
- package/dist/chunks/{app-y5x79gp6.js → location-fc12czj4.js} +3 -3
- package/dist/chunks/{app-hxjfpgt3.js → location-fc7r79k5.js} +8 -8
- package/dist/chunks/{app-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-prq7xxp2.js → location-fg9p65nk.js} +6 -6
- package/dist/chunks/{app-mgvq6ne3.js → location-fgj5a68r.js} +21 -21
- package/dist/chunks/{app-yef98r2t.js → location-fygak80s.js} +3 -3
- package/dist/chunks/{app-b3hbd1md.js → location-g2mgh60t.js} +18 -18
- package/dist/chunks/{app-8dxpscf2.js → location-g3v5zqn8.js} +24 -24
- package/dist/chunks/{app-6tvaezwq.js → location-g5by8gkj.js} +6 -6
- package/dist/chunks/{app-19w73m0f.js → location-gate3zxc.js} +11 -11
- package/dist/chunks/{app-gbjdnr5j.js → location-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-8qbdxarg.js → location-gcwte8wz.js} +32 -32
- package/dist/chunks/{app-71jkfa4r.js → location-gedds2h4.js} +4 -4
- package/dist/chunks/{app-qfwh95mr.js → location-ghv8rcpm.js} +15 -15
- package/dist/chunks/{app-g8dgshm1.js → location-gjzp0g0k.js} +8 -8
- package/dist/chunks/{app-23b5bwtt.js → location-gnf80hfn.js} +5 -5
- package/dist/chunks/{app-11v4hymh.js → location-gse8hrf9.js} +7 -7
- package/dist/chunks/{app-gxs71cxp.js → location-gxs71cxp.js} +1 -1
- package/dist/chunks/{app-5af0c4bz.js → location-gyckkmpa.js} +15 -15
- package/dist/chunks/{app-fefx1jcc.js → location-h7xy8a2s.js} +3 -3
- package/dist/chunks/{app-rnbnz8pk.js → location-hdreqhvr.js} +6 -6
- package/dist/chunks/{app-jy1f4pdx.js → location-hm0x9a2y.js} +5 -5
- package/dist/chunks/{app-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
- package/dist/chunks/{app-3gqs30ps.js → location-hpgfvtnm.js} +19 -19
- package/dist/chunks/{app-hfzv1g6g.js → location-hv45qt1z.js} +29 -29
- package/dist/chunks/{app-fk0rpprw.js → location-hyevg830.js} +17 -17
- package/dist/chunks/{app-kse531ts.js → location-hz1m7hmp.js} +6 -6
- package/dist/chunks/{app-h2ff2q30.js → location-j1n85xqv.js} +8 -8
- package/dist/chunks/{app-bg9cnzs0.js → location-j6qjs6cp.js} +28 -28
- package/dist/chunks/{app-ze75qvmd.js → location-j9nxzz3g.js} +3 -3
- package/dist/chunks/{app-qrkmc1kp.js → location-jget9c6q.js} +11 -11
- package/dist/chunks/{app-jtnps1zs.js → location-jtnps1zs.js} +2 -2
- package/dist/chunks/{app-750t9xmf.js → location-jv56tjdv.js} +21 -21
- package/dist/chunks/{app-90pvm6py.js → location-jwaey7ys.js} +11 -11
- package/dist/chunks/{app-ka1mq67y.js → location-jx1cej34.js} +16 -16
- package/dist/chunks/{app-p5w1jxhv.js → location-jy4bs43h.js} +20 -20
- package/dist/chunks/{app-gk56h2xy.js → location-k892zkmz.js} +21 -21
- package/dist/chunks/{app-xfssnbs4.js → location-k8zhcgth.js} +17 -17
- package/dist/chunks/{app-33fs0phy.js → location-k9g0cjwj.js} +5 -5
- package/dist/chunks/{app-zvg8q0fs.js → location-k9swty0g.js} +5 -5
- package/dist/chunks/{app-76ggf0cd.js → location-kbjg1c6q.js} +12 -12
- package/dist/chunks/{app-7ncdpmyj.js → location-kee5eaqe.js} +15 -15
- package/dist/chunks/{app-k8bdr0d0.js → location-kh9rtkn7.js} +20 -20
- package/dist/chunks/{app-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-ck4dpv2q.js → location-ktsssdpw.js} +31 -31
- package/dist/chunks/{app-kzczzf4v.js → location-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{app-h9hc66h4.js → location-m528r48h.js} +4 -4
- package/dist/chunks/{app-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-8z6m94af.js → location-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-rgzbxrk5.js → location-mf853z88.js} +7 -7
- package/dist/chunks/{app-z7a53n6z.js → location-mje1y6t4.js} +6 -6
- package/dist/chunks/{app-99a9crdx.js → location-mjhey12a.js} +11 -11
- package/dist/chunks/{app-afwnmwkf.js → location-mjye3rax.js} +49 -49
- package/dist/chunks/{app-kpfh6gak.js → location-mv3cjvqe.js} +20 -20
- package/dist/chunks/{app-ydejkx0z.js → location-n2tjkr8q.js} +4 -4
- package/dist/chunks/{app-q9qzw55y.js → location-nbcpa24h.js} +6 -6
- package/dist/chunks/{app-cpg2sjfp.js → location-nbw5wvhd.js} +21 -21
- package/dist/chunks/{app-kbsfb6et.js → location-nd6ydzwa.js} +1 -1
- package/dist/chunks/{app-dztesnfv.js → location-nhk04w5x.js} +21 -21
- package/dist/chunks/{app-nv1v3ewx.js → location-nkhc0b8e.js} +23 -23
- package/dist/chunks/{app-93xmyh8q.js → location-nn2nd58t.js} +5 -5
- package/dist/chunks/{app-ghkxye21.js → location-nq8md5pc.js} +43 -43
- package/dist/chunks/{app-847k13tf.js → location-nrczc6t4.js} +16 -16
- package/dist/chunks/{app-psbj456r.js → location-nrzjm3wv.js} +18 -18
- package/dist/chunks/{app-wvr8xscb.js → location-nyxvvj5y.js} +4 -4
- package/dist/chunks/{app-wq1xd5na.js → location-ph23jcdx.js} +11 -11
- package/dist/chunks/{app-33vee48d.js → location-phsdbd2h.js} +40 -40
- package/dist/chunks/{app-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{app-62beg8mw.js → location-px88z4yq.js} +19 -19
- package/dist/chunks/{app-np51zkq5.js → location-q08pa1nj.js} +32 -32
- package/dist/chunks/{app-jhwp234h.js → location-q65mdntm.js} +4 -4
- package/dist/chunks/{app-fdtp6zbm.js → location-qaxfcnsv.js} +11 -11
- package/dist/chunks/{app-a5fx33f2.js → location-qj27ec1j.js} +6 -6
- package/dist/chunks/{app-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-0qdw55z7.js → location-qqf3gkjm.js} +11 -11
- package/dist/chunks/{app-qqvy8y24.js → location-qqvy8y24.js} +1 -1
- package/dist/chunks/{app-k3cx6fhe.js → location-qsdghx1p.js} +4 -4
- package/dist/chunks/{app-wfs84ra6.js → location-r17fbvme.js} +4 -4
- package/dist/chunks/{app-nr7cqb9h.js → location-r9w18wee.js} +9 -9
- package/dist/chunks/{app-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-82fxv0dw.js → location-rbnrb63z.js} +4 -4
- package/dist/chunks/{app-5fz99wkv.js → location-rktfw7eb.js} +6 -6
- package/dist/chunks/{app-r1fnsf7p.js → location-rmv7fhs4.js} +6 -6
- package/dist/chunks/{app-kz92qt34.js → location-rrym2d7k.js} +9 -9
- package/dist/chunks/{app-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-3jqetb86.js → location-rv7pwnv1.js} +19 -19
- package/dist/chunks/{app-62fftzdq.js → location-rw9z8c7r.js} +15 -15
- package/dist/chunks/{app-wd6ygds7.js → location-rxzbcqxf.js} +2 -2
- package/dist/chunks/{app-9hqxgecf.js → location-rz41xnze.js} +24 -24
- package/dist/chunks/{app-x2kh5z67.js → location-rzgk87mw.js} +23 -23
- package/dist/chunks/{app-ae65egk4.js → location-s2pfznc4.js} +6 -6
- package/dist/chunks/{app-qczyd0hm.js → location-s3571hbf.js} +25 -25
- package/dist/chunks/location-s8wwhb0c.js +109 -0
- package/dist/chunks/{app-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{app-sbya78hr.js → location-sbya78hr.js} +1 -1
- package/dist/chunks/{app-2cdjxzfg.js → location-sbz71ybr.js} +3 -3
- package/dist/chunks/{app-mxhv6w83.js → location-sk97y4pa.js} +8 -8
- package/dist/chunks/{app-sj4xjt7y.js → location-snhk3d40.js} +27 -27
- package/dist/chunks/{app-dzws43fd.js → location-spwvyatr.js} +10 -10
- package/dist/chunks/{app-0j7gp832.js → location-sqjzf8x2.js} +4 -4
- package/dist/chunks/{app-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-t0zfenmz.js → location-swedj7af.js} +23 -23
- package/dist/chunks/{app-szwm4crx.js → location-szwm4crx.js} +4 -4
- package/dist/chunks/{app-zkket41r.js → location-t6fwc9q0.js} +24 -24
- package/dist/chunks/{app-ysampvvb.js → location-t8erkws8.js} +5 -5
- package/dist/chunks/{app-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-ghqvcpnh.js → location-tdrhngm4.js} +15 -15
- package/dist/chunks/{app-5z1m43a3.js → location-tenkbk6f.js} +9 -9
- package/dist/chunks/{app-mj1xqs5a.js → location-tfn5dkze.js} +35 -35
- package/dist/chunks/{app-hy8c1z76.js → location-tg1vr1qt.js} +8 -8
- package/dist/chunks/{app-3nnrz6f6.js → location-tmc7xdjs.js} +4 -4
- package/dist/chunks/{app-tr8x705m.js → location-tr8x705m.js} +1 -1
- package/dist/chunks/{app-3k6see7r.js → location-tv15tdwr.js} +25 -25
- package/dist/chunks/{app-bmgv8h6w.js → location-tvzzcc9t.js} +12 -12
- package/dist/chunks/{app-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{app-k44x9x7y.js → location-txkgt4s1.js} +52 -52
- package/dist/chunks/{app-87ef3s8z.js → location-tyc6z1sz.js} +33 -33
- package/dist/chunks/{app-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-6xgrzf3v.js → location-v5kg2n5y.js} +4 -4
- package/dist/chunks/{app-ts7bpkbv.js → location-v6cyb2p5.js} +3 -3
- package/dist/chunks/{app-hz7a74th.js → location-v8114j4p.js} +32 -32
- package/dist/chunks/{app-ge0ek74f.js → location-vex3khmr.js} +31 -31
- package/dist/chunks/{app-fhwn87jp.js → location-vj50rhab.js} +8 -8
- package/dist/chunks/{app-vjf35v1f.js → location-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-sgfxw3p2.js → location-vkp5tjg3.js} +79 -79
- package/dist/chunks/{app-ndpzex15.js → location-vkx30h9m.js} +14 -14
- package/dist/chunks/{app-1njtx4es.js → location-vnjc296t.js} +3 -3
- package/dist/chunks/{app-n17wdgkv.js → location-vp2t5zgg.js} +33 -33
- package/dist/chunks/{app-2emepb4b.js → location-vr233qkz.js} +29 -29
- package/dist/chunks/location-vz06f061.js +261 -0
- package/dist/chunks/{app-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-dbf6dzq1.js → location-w563xz5b.js} +9 -9
- package/dist/chunks/{app-wf5k0dcb.js → location-w9b0ha22.js} +34 -34
- package/dist/chunks/{app-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{app-nx4vzyjd.js → location-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-vf5rezts.js → location-wm4pme2q.js} +10 -10
- package/dist/chunks/{app-wnhgecwx.js → location-wnhgecwx.js} +1 -1
- package/dist/chunks/{app-8jw7n1ah.js → location-wq4p4nz0.js} +12 -12
- package/dist/chunks/{app-93n7n3x8.js → location-wq4rsx08.js} +21 -21
- package/dist/chunks/{app-w687dnns.js → location-wr3re1en.js} +4 -4
- package/dist/chunks/{app-722vxske.js → location-wwa90kkq.js} +9 -9
- package/dist/chunks/{app-7zggx0n1.js → location-wzjdj14d.js} +6 -6
- package/dist/chunks/{app-s55t9t0j.js → location-wzzmpzmb.js} +56 -56
- package/dist/chunks/{app-cfg1rk1c.js → location-x1bzrmrv.js} +30 -30
- package/dist/chunks/{app-5tgs095n.js → location-x2h3wh5t.js} +28 -28
- package/dist/chunks/{app-qnt4ewtn.js → location-x8b2j0eq.js} +9 -9
- package/dist/chunks/{app-jmx08cdn.js → location-xdff7p3p.js} +18 -18
- package/dist/chunks/{app-gkqc8wt9.js → location-xh5xpxzv.js} +11 -11
- package/dist/chunks/{app-whhbv2ev.js → location-xjbsd7zy.js} +9 -9
- package/dist/chunks/location-xn7cqzsq.js +16 -0
- package/dist/chunks/{app-28ma8gfj.js → location-xnvebmwh.js} +183 -183
- package/dist/chunks/{app-20mc4p3b.js → location-xshjxwsy.js} +14 -14
- package/dist/chunks/{app-f851hg2k.js → location-xv6tcr0w.js} +20 -20
- package/dist/chunks/{app-0z1kk8n9.js → location-xym735jc.js} +8 -8
- package/dist/chunks/{app-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-8px3ddj4.js → location-ynygqj77.js} +1 -1
- package/dist/chunks/{app-yr705xyq.js → location-yr705xyq.js} +1 -1
- package/dist/chunks/{app-7t9chrae.js → location-ys7rp9j6.js} +11 -11
- package/dist/chunks/{app-j6z15evp.js → location-ytjw7m49.js} +7 -7
- package/dist/chunks/{app-2gd46ww5.js → location-ytkajd2z.js} +31 -31
- package/dist/chunks/{app-yvtc2x31.js → location-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-ggqsw24s.js → location-yzddgs9q.js} +21 -21
- package/dist/chunks/{app-tkp5adq0.js → location-z3deh3n3.js} +18 -18
- package/dist/chunks/{app-qfz6bxfd.js → location-z5v37w21.js} +4 -4
- package/dist/chunks/{app-pyz2pf6w.js → location-z6cfvfba.js} +6 -6
- package/dist/chunks/{app-8fzjfj5n.js → location-z838ayja.js} +2 -2
- package/dist/chunks/{app-xrj14re7.js → location-zmh55w6z.js} +8 -8
- package/dist/chunks/{app-v7zvx5ny.js → location-zrm3sqe8.js} +38 -38
- package/dist/chunks/{app-6mzrbse0.js → location-zsxzvz5w.js} +35 -35
- package/dist/chunks/{app-0asq6p20.js → location-zt6jbzn6.js} +10 -10
- package/dist/chunks/{app-hahgtam6.js → location-zva2cc2v.js} +45 -45
- package/dist/chunks/{app-kp2338hr.js → location-zyfhsknv.js} +9 -9
- package/dist/chunks/{app-wyya4zt2.js → location-zyne38h8.js} +9 -9
- package/dist/chunks/{app-jk9ctt2d.js → location-zzdpwr6m.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +147 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +142 -142
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +431 -431
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +244 -244
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +422 -422
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +419 -419
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/connection.js +105 -105
- package/dist/mcp/index.js +123 -123
- package/dist/mcp/instructions.js +182 -182
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +116 -116
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +237 -237
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +398 -398
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -137
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +155 -155
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +234 -234
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +406 -406
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +248 -248
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +242 -242
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +250 -250
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +199 -199
- package/dist/session/diff.js +101 -101
- 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 +244 -244
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +251 -251
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +230 -230
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +238 -238
- package/dist/session/usage.js +1 -1
- package/dist/session.js +236 -236
- package/dist/shared-cache.js +5 -5
- 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 +7 -7
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +179 -179
- package/dist/tool/plugin/artifact.js +229 -229
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +164 -164
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +240 -240
- package/dist/tool/plugin/mcp-resource.js +163 -163
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +248 -248
- package/dist/tool/plugin/shell.js +236 -236
- package/dist/tool/plugin/skill.js +151 -151
- package/dist/tool/plugin/subagent.js +235 -235
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +162 -162
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/codemode/fetch.d.ts +1 -0
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/app-5tqhmh96.js +0 -72
- package/dist/chunks/app-cpdsp3va.js +0 -16
- package/dist/chunks/app-essehzfx.js +0 -26
- package/dist/chunks/app-me1613fs.js +0 -261
- package/dist/chunks/app-qmh7vbk2.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → location-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-1pevy3nx.js → location-1pevy3nx.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → location-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → location-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-dbht28n9.js → location-dbht28n9.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → location-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → location-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → location-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → location-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → location-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → location-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-0fcqkqe0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service61,
|
|
10
|
+
node63
|
|
11
|
+
} from "./location-g2mgh60t.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service52,
|
|
25
|
+
configured: () => configured5,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node54
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service52 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service83;
|
|
57
|
+
const ripgrep = yield* Service61;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service52.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service52, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service83;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service50, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service52.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service50, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service83;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured5(options) {
|
|
211
|
+
return makeLocationNode({ service: Service52, layer: layer(options), deps: [node86, node63] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node54 = configured5();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service52, makeFffLayer2, fffLayer2, configured5, node54, exports_search };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-f4y3d2yt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-mjye3rax.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-8j03m598.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-yvtc2x31.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin7
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin7 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service75;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service76;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin7, exports_compatibility };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89,
|
|
6
6
|
node92
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rbnrb63z.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service87,
|
|
11
|
+
node90
|
|
12
|
+
} from "./location-kh9rtkn7.js";
|
|
13
13
|
import {
|
|
14
|
-
Service86,
|
|
15
|
-
node89
|
|
16
|
-
} from "./app-k483zyxw.js";
|
|
17
|
-
import {
|
|
18
|
-
Service62,
|
|
19
|
-
node63
|
|
20
|
-
} from "./app-9hqxgecf.js";
|
|
21
|
-
import {
|
|
22
|
-
ID19,
|
|
23
14
|
Service83,
|
|
24
15
|
node86
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./location-0fcqkqe0.js";
|
|
17
|
+
import {
|
|
18
|
+
Service69,
|
|
19
|
+
node71
|
|
20
|
+
} from "./location-rz41xnze.js";
|
|
21
|
+
import {
|
|
22
|
+
ID22,
|
|
23
|
+
Service88,
|
|
24
|
+
node91
|
|
25
|
+
} from "./location-rzgk87mw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID20,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service86,
|
|
34
|
+
node89
|
|
35
|
+
} from "./location-629vq7qf.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make26
|
|
38
|
+
} from "./location-9f7zehfv.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/mcp/index.ts
|
|
44
44
|
var exports_mcp4 = {};
|
|
45
45
|
__export(exports_mcp4, {
|
|
46
46
|
Mcp: () => exports_mcp4,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Options: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Options: () => Options4,
|
|
49
49
|
PromptsChanged: () => PromptsChanged2,
|
|
50
50
|
Resource: () => Resource2,
|
|
51
51
|
ResourceCatalog: () => ResourceCatalog2,
|
|
52
52
|
ResourceContent: () => ResourceContent2,
|
|
53
53
|
ResourceTemplate: () => ResourceTemplate2,
|
|
54
54
|
ServerName: () => ServerName2,
|
|
55
|
-
Service: () =>
|
|
55
|
+
Service: () => Service41,
|
|
56
56
|
Status: () => Status3,
|
|
57
57
|
ToolCallError: () => ToolCallError2,
|
|
58
|
-
configured: () =>
|
|
59
|
-
layer: () =>
|
|
60
|
-
node: () =>
|
|
58
|
+
configured: () => configured4,
|
|
59
|
+
layer: () => layer18,
|
|
60
|
+
node: () => node44
|
|
61
61
|
});
|
|
62
62
|
import { Mcp } from "@opencode/schema/mcp";
|
|
63
63
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -75,7 +75,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
75
75
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
76
76
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
79
79
|
server: ServerName2
|
|
80
80
|
}) {
|
|
81
81
|
get message() {
|
|
@@ -108,21 +108,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
108
108
|
var endpointLoads = makeUnsafe2();
|
|
109
109
|
var cloneConfig = (config) => structuredClone(config);
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
112
112
|
}
|
|
113
|
-
var
|
|
113
|
+
var Options4 = Schema.Struct({
|
|
114
114
|
clientInfo: Schema.optional(Schema.Struct({
|
|
115
115
|
name: Schema.String,
|
|
116
116
|
version: Schema.String
|
|
117
117
|
}))
|
|
118
118
|
});
|
|
119
|
-
var
|
|
120
|
-
const location = yield*
|
|
121
|
-
const environment = yield*
|
|
119
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
120
|
+
const location = yield* Service83;
|
|
121
|
+
const environment = yield* Service69;
|
|
122
122
|
const bus = yield* Service89;
|
|
123
|
-
const forms = yield*
|
|
124
|
-
const integration = yield*
|
|
125
|
-
const credentials = yield*
|
|
123
|
+
const forms = yield* Service88;
|
|
124
|
+
const integration = yield* Service86;
|
|
125
|
+
const credentials = yield* Service87;
|
|
126
126
|
const root = yield* Effect.scope;
|
|
127
127
|
const fork = yield* FiberSet.makeRuntime();
|
|
128
128
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -138,7 +138,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
138
138
|
return;
|
|
139
139
|
const remote = entry.config;
|
|
140
140
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
141
|
-
const integrationID =
|
|
141
|
+
const integrationID = ID20.make(suffix);
|
|
142
142
|
entry.integrationID = integrationID;
|
|
143
143
|
owned.add(integrationID);
|
|
144
144
|
const methodID = MethodID2.make(suffix);
|
|
@@ -154,7 +154,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
154
154
|
method: { id: methodID, type: "oauth", label: name },
|
|
155
155
|
authorize: () => Effect.gen(function* () {
|
|
156
156
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
157
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
157
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service87, credentials));
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}).pipe(Scope.provide(scope));
|
|
@@ -162,19 +162,19 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
162
162
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
163
163
|
const entry = entries.get(name);
|
|
164
164
|
if (!entry)
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new NotFoundError6({ server: name });
|
|
166
166
|
return { name, entry };
|
|
167
167
|
});
|
|
168
168
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
169
169
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
170
170
|
return;
|
|
171
171
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
172
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
172
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service87, credentials));
|
|
173
173
|
});
|
|
174
174
|
const elicitation = {
|
|
175
175
|
create: (input) => Effect.gen(function* () {
|
|
176
176
|
if (input.params.mode === "url") {
|
|
177
|
-
const formID =
|
|
177
|
+
const formID = ID22.create();
|
|
178
178
|
const elicitationID = input.params.elicitationId;
|
|
179
179
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
180
180
|
if (key)
|
|
@@ -225,7 +225,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
225
225
|
status: { status: "pending" },
|
|
226
226
|
startup: Latch.makeUnsafe(),
|
|
227
227
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
228
|
-
connection:
|
|
228
|
+
connection: make26({
|
|
229
229
|
name,
|
|
230
230
|
config,
|
|
231
231
|
directory: location.directory,
|
|
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -475,7 +475,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
475
475
|
}),
|
|
476
476
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
477
477
|
});
|
|
478
|
-
return
|
|
478
|
+
return Service41.of({
|
|
479
479
|
transform: state.transform,
|
|
480
480
|
reload: state.reload,
|
|
481
481
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -621,14 +621,14 @@ function mergeCatalogs(catalogs) {
|
|
|
621
621
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function configured4(options) {
|
|
625
625
|
return makeLocationNode({
|
|
626
|
-
service:
|
|
627
|
-
layer:
|
|
628
|
-
deps: [
|
|
626
|
+
service: Service41,
|
|
627
|
+
layer: layer18(options),
|
|
628
|
+
deps: [node86, node71, node92, node91, node89, node90]
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
|
-
var
|
|
631
|
+
var node44 = configured4();
|
|
632
632
|
function toElicitationField(key, property, required) {
|
|
633
633
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
634
634
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -679,4 +679,4 @@ function toElicitationField(key, property, required) {
|
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
682
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service41, Options4, layer18, configured4, node44, exports_mcp4 };
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-ew5p7j1s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rbnrb63z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError11,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-hdreqhvr.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./location-bdtb8h02.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service47
|
|
33
|
+
} from "./location-rv7pwnv1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service45
|
|
36
|
+
} from "./location-3t9tbebp.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-0tydawpq.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-5kwzkdf2.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./location-01pgc6t1.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
49
|
+
get5
|
|
50
|
+
} from "./location-wq4p4nz0.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
57
57
|
__export(exports_session4, {
|
|
58
58
|
Session: () => exports_session4,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make25
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var make25 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service89;
|
|
66
66
|
const database = yield* Service90;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service71;
|
|
68
|
+
const instances = yield* Service48;
|
|
69
|
+
const execution = yield* Service45;
|
|
70
|
+
const admission = yield* Service47;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError11({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make24 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield*
|
|
196
|
+
const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service89, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ ${error.message}`,
|
|
|
348
348
|
return { forSession };
|
|
349
349
|
});
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make25, exports_session4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kbjg1c6q.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make13 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make15 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make13();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make13, LMStudioPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-3w8s8xp3.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-6agm2x70.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|