@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./location-f4y3d2yt.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-94e33dpz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./location-mjye3rax.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make17
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make17 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service75;
|
|
36
|
+
const watcher = yield* Service76;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make17, LoadError2, exports_module };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-rbnrb63z.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
ID18,
|
|
14
|
-
Service82,
|
|
15
|
-
node85,
|
|
16
|
-
Event18
|
|
17
|
-
} from "./app-gwz0wrrb.js";
|
|
11
|
+
} from "./location-q65mdntm.js";
|
|
18
12
|
import {
|
|
13
|
+
ID20,
|
|
19
14
|
Service86,
|
|
20
|
-
node89
|
|
21
|
-
|
|
15
|
+
node89,
|
|
16
|
+
Event19
|
|
17
|
+
} from "./location-629vq7qf.js";
|
|
18
|
+
import {
|
|
19
|
+
Service83,
|
|
20
|
+
node86
|
|
21
|
+
} from "./location-0fcqkqe0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_provider4, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node85,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -580,7 +580,7 @@ var Transport2 = Provider.Transport;
|
|
|
580
580
|
var Settings2 = Provider.Settings;
|
|
581
581
|
var Info25 = Provider.Info;
|
|
582
582
|
|
|
583
|
-
class
|
|
583
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
584
584
|
}
|
|
585
585
|
var definitions = new WeakMap;
|
|
586
586
|
function index(providerID, models) {
|
|
@@ -593,10 +593,10 @@ function index(providerID, models) {
|
|
|
593
593
|
definitions.set(models, indexes);
|
|
594
594
|
return result;
|
|
595
595
|
}
|
|
596
|
-
var layer = Layer.effect(
|
|
596
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
597
597
|
const bus = yield* Service89;
|
|
598
|
-
const integrations = yield*
|
|
599
|
-
const location = yield*
|
|
598
|
+
const integrations = yield* Service86;
|
|
599
|
+
const location = yield* Service83;
|
|
600
600
|
const state = create4({
|
|
601
601
|
name: "provider",
|
|
602
602
|
initial: () => new Map,
|
|
@@ -688,7 +688,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
688
688
|
const available = Array.from(records.values()).filter((record) => {
|
|
689
689
|
if (record.provider.activation === "disabled")
|
|
690
690
|
return false;
|
|
691
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
691
|
+
const integration = byID.get(record.provider.integrationID ?? ID20.make(record.provider.id));
|
|
692
692
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
693
693
|
return false;
|
|
694
694
|
if (record.provider.activation === "enabled")
|
|
@@ -714,8 +714,8 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
714
714
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
715
715
|
});
|
|
716
716
|
});
|
|
717
|
-
yield* bus.subscribe([
|
|
718
|
-
return
|
|
717
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
718
|
+
return Service82.of({
|
|
719
719
|
transform: state.transform,
|
|
720
720
|
reload: state.reload,
|
|
721
721
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -724,7 +724,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
724
724
|
snapshot
|
|
725
725
|
});
|
|
726
726
|
}));
|
|
727
|
-
var
|
|
727
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node92, node89, node86] });
|
|
728
728
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
729
729
|
const module = yield* Effect2.tryPromise({
|
|
730
730
|
try: () => {
|
|
@@ -746,4 +746,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
746
746
|
return module;
|
|
747
747
|
});
|
|
748
748
|
|
|
749
|
-
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25,
|
|
749
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service82, node85, exports_provider4, Event17 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID20,
|
|
6
|
+
Service86,
|
|
7
|
+
node89
|
|
8
|
+
} from "./location-629vq7qf.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service16,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer10,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node18
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,12 +37,12 @@ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer10 = Layer.effect(
|
|
42
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service86;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID20.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -81,12 +81,12 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
81
81
|
...access
|
|
82
82
|
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service16.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
86
|
+
var node18 = makeLocationNode({
|
|
87
|
+
service: Service16,
|
|
88
88
|
layer: layer10,
|
|
89
|
-
deps: [
|
|
89
|
+
deps: [node89, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError3,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError3, Service16, layer10, node18, exports_voice };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service54,
|
|
3
|
+
node56
|
|
4
|
+
} from "./location-g3v5zqn8.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make31,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-390xskpw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions6 = {};
|
|
17
|
+
__export(exports_instructions6, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions6,
|
|
19
|
+
Service: () => Service44,
|
|
20
|
+
node: () => node47
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service44 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service54;
|
|
68
|
+
return Service44.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make31({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node47 = makeLocationNode({ service: Service44, layer, deps: [node56] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service44, node47, exports_instructions6 };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service83
|
|
8
|
+
} from "./location-0fcqkqe0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./location-rz41xnze.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./location-8vk3va5c.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-4eqsjcsp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./location-zva2cc2v.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-s3571hbf.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin50,
|
|
42
|
+
name: () => name11,
|
|
43
43
|
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent5 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin50 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service69;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name11, Input11, Applied2, Output7, toModelContent5, Plugin50, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -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/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -2,61 +2,61 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service89,
|
|
4
4
|
node92
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-rbnrb63z.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make31,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-390xskpw.js";
|
|
13
13
|
import {
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event12,
|
|
24
|
+
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options5,
|
|
27
|
+
Service: () => Service56,
|
|
28
|
+
configured: () => configured6,
|
|
29
|
+
layer: () => layer22,
|
|
30
|
+
node: () => node58
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
40
|
+
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event12 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options5 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service56 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service89;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File2(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer23 = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make31({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer23 = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service56.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer23 = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service56,
|
|
107
|
+
layer: layer22(options),
|
|
108
108
|
deps: [node92]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node58 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -140,4 +140,4 @@ ${render([after])}`;
|
|
|
140
140
|
`);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { File2, Event12, Options5, Service56, layer22, configured6, node58, exports_instruction_discovery };
|