@opencode/core 0.0.0-dev-88 → 0.0.0-dev-96
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{reference-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
- package/dist/chunks/{reference-z0px8f9y.js → location-lifecycle-0pynqpwf.js} +16 -16
- package/dist/chunks/{reference-3b67h89r.js → location-lifecycle-0qf3mhr8.js} +15 -15
- package/dist/chunks/{reference-n7j2vc45.js → location-lifecycle-0txfsz7g.js} +11 -11
- package/dist/chunks/{reference-j44b1axw.js → location-lifecycle-0yceejvq.js} +7 -7
- package/dist/chunks/{reference-bz017ehz.js → location-lifecycle-0zzhzcdy.js} +17 -17
- package/dist/chunks/{reference-tvj9sf3a.js → location-lifecycle-13dfg3g1.js} +86 -86
- package/dist/chunks/{reference-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-rgd55ngc.js → location-lifecycle-1h498w7a.js} +10 -10
- package/dist/chunks/{reference-1kn6jdkn.js → location-lifecycle-1kn6jdkn.js} +1 -1
- package/dist/chunks/{reference-mt7kez29.js → location-lifecycle-1mf4ycf9.js} +2 -2
- package/dist/chunks/{reference-pqced4qh.js → location-lifecycle-1s4qyrgd.js} +3 -3
- package/dist/chunks/{reference-38xn8s1k.js → location-lifecycle-1s5emn35.js} +7 -7
- package/dist/chunks/{reference-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-5zrxpy3q.js → location-lifecycle-1yq9hg58.js} +5 -5
- package/dist/chunks/{reference-204s3925.js → location-lifecycle-204s3925.js} +1 -1
- package/dist/chunks/{reference-g8x414b0.js → location-lifecycle-2gg8p134.js} +27 -27
- package/dist/chunks/{reference-s5r0ksct.js → location-lifecycle-2j1927g1.js} +2 -2
- package/dist/chunks/{reference-s7kyse9r.js → location-lifecycle-2kg89srt.js} +4 -4
- package/dist/chunks/{reference-zstkhq2e.js → location-lifecycle-2mjmg601.js} +12 -12
- package/dist/chunks/{reference-tpcm2fp0.js → location-lifecycle-2mkh3jee.js} +9 -9
- package/dist/chunks/{reference-89pbwxpj.js → location-lifecycle-2tt341e3.js} +22 -22
- package/dist/chunks/{reference-qkqjbc48.js → location-lifecycle-2zp5a6yg.js} +3 -3
- package/dist/chunks/{reference-gfctfrej.js → location-lifecycle-31dzx4sq.js} +5 -5
- package/dist/chunks/{reference-x6r4fegy.js → location-lifecycle-38zftftk.js} +37 -42
- package/dist/chunks/{reference-p6extme0.js → location-lifecycle-3g3amc73.js} +11 -11
- package/dist/chunks/{reference-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3fehs55v.js → location-lifecycle-3m4mqfgr.js} +12 -12
- package/dist/chunks/{reference-ewvsv6ts.js → location-lifecycle-3n5jkvcw.js} +5 -5
- package/dist/chunks/{reference-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-5s3xscdw.js → location-lifecycle-3pg0cjjn.js} +3 -3
- package/dist/chunks/{reference-jsfpnsxq.js → location-lifecycle-3s6061p5.js} +13 -13
- package/dist/chunks/{reference-s5qs7yse.js → location-lifecycle-3tsagvbz.js} +11 -11
- package/dist/chunks/{reference-03efvwc7.js → location-lifecycle-3vtjh306.js} +12 -12
- package/dist/chunks/{reference-hrz74jgp.js → location-lifecycle-3x8v6y5r.js} +19 -19
- package/dist/chunks/{reference-69yxas2c.js → location-lifecycle-3y8fn22w.js} +1 -1
- package/dist/chunks/{reference-2dhjdcyg.js → location-lifecycle-44e3v4ts.js} +24 -24
- package/dist/chunks/{reference-pcrvzspp.js → location-lifecycle-49nvze50.js} +14 -14
- package/dist/chunks/{reference-454hz5tr.js → location-lifecycle-4es0r967.js} +13 -13
- package/dist/chunks/{reference-ybqgjkz7.js → location-lifecycle-4jbtddcy.js} +32 -32
- package/dist/chunks/{reference-jedme4q7.js → location-lifecycle-4jtw0229.js} +3 -3
- package/dist/chunks/{reference-4pyp9zr9.js → location-lifecycle-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-nbw9vdm7.js → location-lifecycle-4s5pdsz9.js} +6 -6
- package/dist/chunks/{reference-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-9g9k5824.js → location-lifecycle-571c0xa8.js} +50 -50
- package/dist/chunks/{reference-94sxpgen.js → location-lifecycle-593m5q2k.js} +21 -21
- package/dist/chunks/{reference-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-96t7hsnc.js → location-lifecycle-5tsxwx1t.js} +32 -32
- package/dist/chunks/{reference-5x26af84.js → location-lifecycle-5x26af84.js} +4 -4
- package/dist/chunks/{reference-d1v2vbzt.js → location-lifecycle-61ennm6n.js} +4 -4
- package/dist/chunks/{reference-zhhya0q8.js → location-lifecycle-659kt248.js} +3 -3
- package/dist/chunks/{reference-41xwyab1.js → location-lifecycle-66d52wcm.js} +9 -9
- package/dist/chunks/{reference-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
- package/dist/chunks/{reference-6h4mdy29.js → location-lifecycle-6kzw03wj.js} +8 -8
- package/dist/chunks/{reference-g5g1wfe2.js → location-lifecycle-6wwc1h0y.js} +13 -13
- package/dist/chunks/{reference-76cb1hcw.js → location-lifecycle-76cb1hcw.js} +1 -1
- package/dist/chunks/{reference-nah043kf.js → location-lifecycle-770pw0s1.js} +4 -4
- package/dist/chunks/{reference-g7kcex0y.js → location-lifecycle-77ttacwt.js} +6 -6
- package/dist/chunks/{reference-sqrd2s2y.js → location-lifecycle-7apps605.js} +17 -17
- package/dist/chunks/{reference-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-nk9edasy.js → location-lifecycle-7tahwg30.js} +4 -4
- package/dist/chunks/{reference-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-3n0qbat0.js → location-lifecycle-8395ab52.js} +28 -28
- package/dist/chunks/{reference-25ez0182.js → location-lifecycle-89658q1h.js} +14 -14
- package/dist/chunks/{reference-cv45xqq7.js → location-lifecycle-8c9h179s.js} +12 -12
- package/dist/chunks/{reference-h77hjnzn.js → location-lifecycle-8cy6yjnj.js} +3 -3
- package/dist/chunks/{reference-11hfp36g.js → location-lifecycle-8jztxfpf.js} +4 -4
- package/dist/chunks/{reference-arcv912a.js → location-lifecycle-8k95y3xh.js} +14 -14
- package/dist/chunks/{reference-wjfea556.js → location-lifecycle-8m44dcfv.js} +14 -14
- package/dist/chunks/{reference-ja63h2sr.js → location-lifecycle-8wc2fpae.js} +5 -5
- package/dist/chunks/{reference-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-680s3wrb.js → location-lifecycle-90hass2h.js} +18 -18
- package/dist/chunks/{reference-90zstvax.js → location-lifecycle-90zstvax.js} +1 -1
- package/dist/chunks/{reference-n6fd0dvw.js → location-lifecycle-91wahnve.js} +11 -11
- package/dist/chunks/{reference-6ydy7p7m.js → location-lifecycle-9bc1thgt.js} +8 -8
- package/dist/chunks/{reference-25z5brn1.js → location-lifecycle-9csarjst.js} +33 -33
- package/dist/chunks/{reference-gqs0x7cg.js → location-lifecycle-9egyhmwg.js} +25 -25
- package/dist/chunks/{reference-8r8vc63z.js → location-lifecycle-9jq4xrcd.js} +21 -21
- package/dist/chunks/{reference-2gm5wmn4.js → location-lifecycle-9mpb42pn.js} +20 -20
- package/dist/chunks/{reference-xq2971wf.js → location-lifecycle-9vxcaz77.js} +9 -9
- package/dist/chunks/{reference-pen16d07.js → location-lifecycle-a4ww6fpm.js} +6 -6
- package/dist/chunks/{reference-9t00hjd8.js → location-lifecycle-a9k70j1m.js} +54 -54
- package/dist/chunks/{reference-shq9ftks.js → location-lifecycle-afx5ptxw.js} +14 -17
- package/dist/chunks/{reference-m8ekf0nj.js → location-lifecycle-argy1hng.js} +31 -31
- package/dist/chunks/{reference-b42d0mkb.js → location-lifecycle-atr2mg2b.js} +13 -13
- package/dist/chunks/{reference-s333tm96.js → location-lifecycle-ay8at4ts.js} +7 -7
- package/dist/chunks/{reference-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-p1htsza4.js → location-lifecycle-b2es2gxt.js} +32 -32
- package/dist/chunks/{reference-crc01wwg.js → location-lifecycle-b396mz2y.js} +12 -12
- package/dist/chunks/{reference-b6vsg801.js → location-lifecycle-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-wq6y9see.js → location-lifecycle-bff375yx.js} +25 -25
- package/dist/chunks/{reference-0cdqj2ev.js → location-lifecycle-bnbdtabc.js} +17 -17
- package/dist/chunks/{reference-xd9cc171.js → location-lifecycle-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-x7ps9kt0.js → location-lifecycle-by0j0h2p.js} +4 -4
- package/dist/chunks/{reference-7kvr92hx.js → location-lifecycle-bysrz3s4.js} +13 -13
- package/dist/chunks/{reference-f01y088k.js → location-lifecycle-c46s9eb3.js} +5 -5
- package/dist/chunks/{reference-c5m2a8vb.js → location-lifecycle-c5m2a8vb.js} +1 -1
- package/dist/chunks/{reference-tgb8sy1m.js → location-lifecycle-c6p73vp9.js} +9 -9
- package/dist/chunks/{reference-v8qn6gca.js → location-lifecycle-c73btdhw.js} +5 -5
- package/dist/chunks/{reference-thjzaypf.js → location-lifecycle-c89mfdye.js} +11 -11
- package/dist/chunks/{reference-2azy8kv6.js → location-lifecycle-cpvd08na.js} +4 -4
- package/dist/chunks/{reference-cwrgdav8.js → location-lifecycle-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-kkqethq7.js → location-lifecycle-d2887f8n.js} +4 -4
- package/dist/chunks/{reference-8ykqf5wm.js → location-lifecycle-d390zwf3.js} +8 -8
- package/dist/chunks/{reference-1zx9skwy.js → location-lifecycle-d3v7ftdb.js} +15 -15
- package/dist/chunks/{reference-br866c65.js → location-lifecycle-d3y6ws5r.js} +2 -2
- package/dist/chunks/{reference-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-5w1mdqt7.js → location-lifecycle-d8p3t516.js} +4 -4
- package/dist/chunks/{reference-bbs40sma.js → location-lifecycle-da0rp3w3.js} +7 -7
- package/dist/chunks/{reference-r6dv60ab.js → location-lifecycle-dep9axyc.js} +18 -18
- package/dist/chunks/{reference-jz7hkp52.js → location-lifecycle-dkqevyg4.js} +6 -6
- package/dist/chunks/{reference-5vzhy7nz.js → location-lifecycle-drvbhkez.js} +8 -8
- package/dist/chunks/{reference-krp6jf0c.js → location-lifecycle-dssj73nn.js} +23 -23
- package/dist/chunks/{reference-dt77769w.js → location-lifecycle-dt77769w.js} +1 -1
- package/dist/chunks/{reference-m805datt.js → location-lifecycle-e19pjn16.js} +9 -9
- package/dist/chunks/location-lifecycle-e54pjyq4.js +257 -0
- package/dist/chunks/{reference-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
- package/dist/chunks/{reference-3hs7pcyj.js → location-lifecycle-e8x13e29.js} +23 -23
- package/dist/chunks/{reference-9setpf3m.js → location-lifecycle-ec8ztzxh.js} +35 -35
- package/dist/chunks/{reference-bzabcrfb.js → location-lifecycle-efrs1fd0.js} +18 -18
- package/dist/chunks/{reference-yawad64g.js → location-lifecycle-eg9axkz1.js} +25 -25
- package/dist/chunks/{reference-9q3jr3b2.js → location-lifecycle-ehmz4fbd.js} +7 -7
- package/dist/chunks/{reference-ppmjhmdn.js → location-lifecycle-ejpsjfaa.js} +11 -11
- package/dist/chunks/{reference-4c8wr4ge.js → location-lifecycle-ekvcbmhs.js} +20 -20
- package/dist/chunks/{reference-d879sp0e.js → location-lifecycle-er4j9ya8.js} +13 -13
- package/dist/chunks/{reference-03048zfc.js → location-lifecycle-escmp7at.js} +6 -6
- package/dist/chunks/{reference-my6kf17f.js → location-lifecycle-evc6pnny.js} +10 -10
- package/dist/chunks/{reference-a7mpn1ry.js → location-lifecycle-ewc6hp7k.js} +13 -13
- package/dist/chunks/{reference-tp9rrjmz.js → location-lifecycle-fb6xpck4.js} +11 -11
- package/dist/chunks/{reference-tycat656.js → location-lifecycle-fd3xj8kb.js} +10 -10
- package/dist/chunks/{reference-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
- package/dist/chunks/location-lifecycle-ffr2ff94.js +26 -0
- package/dist/chunks/{reference-fg9p65nk.js → location-lifecycle-fg9p65nk.js} +2 -2
- package/dist/chunks/{reference-xzaxbh4c.js → location-lifecycle-fj1gdevc.js} +31 -31
- package/dist/chunks/{reference-5mw9p4pk.js → location-lifecycle-fkk6zjcb.js} +1 -1
- package/dist/chunks/{reference-30bgehjn.js → location-lifecycle-fmkz8025.js} +23 -23
- package/dist/chunks/{reference-ct3g4wzq.js → location-lifecycle-fqh1vcta.js} +33 -33
- package/dist/chunks/{reference-an5ndxtp.js → location-lifecycle-fyfkn899.js} +28 -28
- package/dist/chunks/{reference-wr3re1en.js → location-lifecycle-fznmdakp.js} +4 -4
- package/dist/chunks/{reference-tg363vyk.js → location-lifecycle-g3e9axc6.js} +40 -40
- package/dist/chunks/{reference-6emssh1w.js → location-lifecycle-g93ewfj3.js} +23 -23
- package/dist/chunks/{reference-kksz5w6c.js → location-lifecycle-g9z7txar.js} +40 -40
- package/dist/chunks/{reference-vrcsa8qx.js → location-lifecycle-gcjdgkn2.js} +9 -9
- package/dist/chunks/{reference-gg8p9cgs.js → location-lifecycle-gg8p9cgs.js} +3 -3
- package/dist/chunks/{reference-fcve0v7r.js → location-lifecycle-gzwbakhe.js} +46 -46
- package/dist/chunks/{reference-pjqb08kt.js → location-lifecycle-h30qdrk4.js} +35 -35
- package/dist/chunks/{reference-czpz1tck.js → location-lifecycle-h6f816q8.js} +1 -1
- package/dist/chunks/{reference-zxxmr6sq.js → location-lifecycle-h6gk331h.js} +5 -5
- package/dist/chunks/{reference-efgcrvx2.js → location-lifecycle-hc06g2dd.js} +23 -23
- package/dist/chunks/{reference-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
- package/dist/chunks/{reference-06w9ffrv.js → location-lifecycle-hfgk9wzg.js} +5 -5
- package/dist/chunks/{reference-d0t22gk3.js → location-lifecycle-hhd4jpkv.js} +9 -9
- package/dist/chunks/{reference-tjajrbfk.js → location-lifecycle-hjjzccew.js} +24 -24
- package/dist/chunks/{reference-yj7wwm3n.js → location-lifecycle-hkttqz6k.js} +12 -12
- package/dist/chunks/{reference-cw4hf64h.js → location-lifecycle-hp8bxbqk.js} +14 -14
- package/dist/chunks/{reference-hpg1pkwy.js → location-lifecycle-hpg1pkwy.js} +1 -1
- package/dist/chunks/{reference-4h5tdd52.js → location-lifecycle-hrvanjhp.js} +15 -15
- package/dist/chunks/{reference-h3t1epsy.js → location-lifecycle-hyaaevkq.js} +13 -13
- package/dist/chunks/{reference-4hgd96pp.js → location-lifecycle-hyvndsn3.js} +16 -16
- package/dist/chunks/{reference-ag7cwqnf.js → location-lifecycle-j4fqp8bt.js} +19 -19
- package/dist/chunks/{reference-73nkqsrq.js → location-lifecycle-jcyy662a.js} +21 -21
- package/dist/chunks/{reference-h44kb9zp.js → location-lifecycle-jd7xkz5t.js} +2 -2
- package/dist/chunks/{reference-jfaecv01.js → location-lifecycle-jfaecv01.js} +1 -1
- package/dist/chunks/{reference-1txfxaze.js → location-lifecycle-jpt0aj2d.js} +16 -16
- package/dist/chunks/{reference-jtnps1zs.js → location-lifecycle-jtnps1zs.js} +2 -2
- package/dist/chunks/{reference-fwpsw9b8.js → location-lifecycle-jwck18p0.js} +2 -2
- package/dist/chunks/{reference-9y92s6fj.js → location-lifecycle-k00xdm8z.js} +4 -4
- package/dist/chunks/{reference-mm6f8m5x.js → location-lifecycle-k1y2t7va.js} +8 -8
- package/dist/chunks/{reference-358mwgz7.js → location-lifecycle-k3b4spb7.js} +17 -17
- package/dist/chunks/{reference-kyxjnc3p.js → location-lifecycle-k4jqj58p.js} +37 -72
- package/dist/chunks/{reference-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-pcty9z1k.js → location-lifecycle-k9zkdd2y.js} +4 -4
- package/dist/chunks/{reference-w4p85zmz.js → location-lifecycle-kb5vdnxs.js} +28 -28
- package/dist/chunks/{reference-zd8w5hws.js → location-lifecycle-kbww7t3z.js} +14 -16
- package/dist/chunks/{reference-2yjjj4kt.js → location-lifecycle-krbc0w9j.js} +18 -18
- package/dist/chunks/{reference-82ryrchv.js → location-lifecycle-krv07zrz.js} +16 -16
- package/dist/chunks/{reference-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
- package/dist/chunks/{reference-1r8vjw6b.js → location-lifecycle-kvh94732.js} +27 -27
- package/dist/chunks/{reference-c3q67jfs.js → location-lifecycle-kx4zfn7s.js} +5 -5
- package/dist/chunks/{reference-399x40kv.js → location-lifecycle-kyjvyndz.js} +21 -21
- package/dist/chunks/{reference-w8n31mpc.js → location-lifecycle-kz91psg5.js} +53 -53
- package/dist/chunks/{reference-m1714858.js → location-lifecycle-m1714858.js} +1 -1
- package/dist/chunks/{reference-mmjdt0jh.js → location-lifecycle-m3vdhvvx.js} +42 -42
- package/dist/chunks/{reference-5jbj61xt.js → location-lifecycle-m45g6xk3.js} +54 -54
- package/dist/chunks/{reference-fm1b0qwr.js → location-lifecycle-m956wbx5.js} +11 -11
- package/dist/chunks/{reference-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-y7pnb98a.js → location-lifecycle-mc0mf75j.js} +11 -11
- package/dist/chunks/{reference-gxhmg8t6.js → location-lifecycle-megkghgm.js} +17 -17
- package/dist/chunks/{reference-xhmnf1d5.js → location-lifecycle-mqt19jab.js} +5 -5
- package/dist/chunks/{reference-57jkej76.js → location-lifecycle-mrhsrvyj.js} +6 -6
- package/dist/chunks/{reference-ze844e89.js → location-lifecycle-mxa7x819.js} +38 -38
- package/dist/chunks/{reference-egwex341.js → location-lifecycle-n8r9g462.js} +27 -27
- package/dist/chunks/{reference-eg9rhaxe.js → location-lifecycle-n9j6q2yt.js} +4 -4
- package/dist/chunks/{reference-d7fvpgyy.js → location-lifecycle-ncfhdpxs.js} +32 -32
- package/dist/chunks/{reference-tnxzd87a.js → location-lifecycle-nh37xeqd.js} +15 -15
- package/dist/chunks/{reference-506jcwr5.js → location-lifecycle-nnx5jh0h.js} +16 -16
- package/dist/chunks/{reference-zrvtj653.js → location-lifecycle-nqwjnhn2.js} +31 -31
- package/dist/chunks/{reference-kmyndpj7.js → location-lifecycle-nvqjkgcj.js} +25 -25
- package/dist/chunks/{reference-ytt91gsd.js → location-lifecycle-nzmqqmhf.js} +19 -19
- package/dist/chunks/{reference-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-p22kkxvy.js → location-lifecycle-p8rwbenj.js} +37 -37
- package/dist/chunks/{reference-2ymt8bs9.js → location-lifecycle-p90d1n73.js} +11 -11
- package/dist/chunks/{reference-r6ae345h.js → location-lifecycle-pd78mrea.js} +22 -22
- package/dist/chunks/{reference-qqn6ezee.js → location-lifecycle-pev14w4e.js} +6 -6
- package/dist/chunks/{reference-hm5jv486.js → location-lifecycle-pgckvs8f.js} +4 -4
- package/dist/chunks/{reference-xfeq68e7.js → location-lifecycle-ph7d09sa.js} +9 -9
- package/dist/chunks/{reference-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{reference-3pn96c4m.js → location-lifecycle-pvk8eqah.js} +25 -25
- package/dist/chunks/{reference-5w98pc00.js → location-lifecycle-pwfd0hqt.js} +168 -168
- package/dist/chunks/{reference-x6pyv2yz.js → location-lifecycle-q6yya7b3.js} +5 -5
- package/dist/chunks/{reference-qp7r0hxv.js → location-lifecycle-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-axe3mf62.js → location-lifecycle-qsee9sfb.js} +3 -3
- package/dist/chunks/{reference-bad15fx6.js → location-lifecycle-qxmke217.js} +34 -34
- package/dist/chunks/{reference-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-5enarcya.js → location-lifecycle-r41sfy63.js} +9 -9
- package/dist/chunks/{reference-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
- package/dist/chunks/{reference-4rrtbqfj.js → location-lifecycle-r6609qgj.js} +25 -25
- package/dist/chunks/{reference-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-kcfhzf92.js → location-lifecycle-rgbq3f4j.js} +22 -22
- package/dist/chunks/{reference-xz2wk1pj.js → location-lifecycle-rhenp69m.js} +5 -5
- package/dist/chunks/{reference-xtcsqkmk.js → location-lifecycle-rjj7awg3.js} +20 -20
- package/dist/chunks/{reference-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-aj4pq43j.js → location-lifecycle-s5rnxzx6.js} +67 -67
- package/dist/chunks/{reference-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-3excn5ca.js → location-lifecycle-sjg9an28.js} +46 -46
- package/dist/chunks/{reference-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-svcy3p9a.js → location-lifecycle-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-3j92816q.js → location-lifecycle-t5jqs5j7.js} +2 -2
- package/dist/chunks/{reference-84rb59ph.js → location-lifecycle-t8esk2gp.js} +25 -25
- package/dist/chunks/{reference-bhxpw5jc.js → location-lifecycle-t9qkp5rw.js} +9 -9
- package/dist/chunks/{reference-3dx6tc7y.js → location-lifecycle-tanfvfr0.js} +27 -27
- package/dist/chunks/{reference-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-v5vb5nzm.js → location-lifecycle-thnnvt7z.js} +24 -24
- package/dist/chunks/{reference-ga7vshj9.js → location-lifecycle-tjqje47s.js} +2 -2
- package/dist/chunks/{reference-myczyk40.js → location-lifecycle-tkejj1mv.js} +23 -23
- package/dist/chunks/{reference-8wnreytb.js → location-lifecycle-tspfbqtr.js} +6 -6
- package/dist/chunks/{reference-twssxy5n.js → location-lifecycle-twssxy5n.js} +2 -2
- package/dist/chunks/location-lifecycle-tzjp6t9r.js +511 -0
- package/dist/chunks/{reference-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-160yv0cs.js → location-lifecycle-v5hpj9dd.js} +8 -8
- package/dist/chunks/{reference-vh1bcmy7.js → location-lifecycle-v9rqbzsq.js} +35 -35
- package/dist/chunks/{reference-vsqvcqta.js → location-lifecycle-vaq1yek0.js} +6 -6
- package/dist/chunks/{reference-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-fkdqsftc.js → location-lifecycle-vxw7r75p.js} +11 -11
- package/dist/chunks/{reference-mqz3a5pm.js → location-lifecycle-vzth5496.js} +18 -18
- package/dist/chunks/{reference-m4tvegh7.js → location-lifecycle-vzyfvavq.js} +8 -8
- package/dist/chunks/{reference-05xp378r.js → location-lifecycle-w1dfqh86.js} +13 -13
- package/dist/chunks/{reference-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-jmfq5y88.js → location-lifecycle-w5yxp3hw.js} +6 -6
- package/dist/chunks/{reference-5t6ge795.js → location-lifecycle-w72e71xv.js} +43 -43
- package/dist/chunks/{reference-82ajznqh.js → location-lifecycle-w8tewjsp.js} +29 -29
- package/dist/chunks/{reference-51hjt79c.js → location-lifecycle-w90qadrs.js} +33 -33
- package/dist/chunks/{reference-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wnhgecwx.js → location-lifecycle-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-acp3br9k.js → location-lifecycle-wp3582yg.js} +1 -1
- package/dist/chunks/{reference-hpcmzhc5.js → location-lifecycle-wqsqce1q.js} +25 -25
- package/dist/chunks/{reference-x0y5mag1.js → location-lifecycle-wse1pq25.js} +30 -30
- package/dist/chunks/{reference-480x63m0.js → location-lifecycle-wzagvp0p.js} +15 -15
- package/dist/chunks/{reference-gssxfh3t.js → location-lifecycle-x0fq6v58.js} +25 -25
- package/dist/chunks/{reference-k792040k.js → location-lifecycle-x7zajsph.js} +11 -11
- package/dist/chunks/{reference-2c8v61wj.js → location-lifecycle-xb71yztv.js} +14 -14
- package/dist/chunks/{reference-ydr0r0c4.js → location-lifecycle-xvsw1s9a.js} +16 -16
- package/dist/chunks/{reference-1708cjpw.js → location-lifecycle-xw7793rd.js} +28 -28
- package/dist/chunks/{reference-fbep93ra.js → location-lifecycle-y3ahkf2e.js} +34 -34
- package/dist/chunks/{reference-yara3q77.js → location-lifecycle-yara3q77.js} +2 -2
- package/dist/chunks/{reference-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-yekehd0c.js → location-lifecycle-ybj0t81k.js} +26 -26
- package/dist/chunks/{reference-z052854x.js → location-lifecycle-yj33kabs.js} +13 -13
- package/dist/chunks/location-lifecycle-ymz7p2c9.js +31 -0
- package/dist/chunks/{reference-rcbjwvze.js → location-lifecycle-yqveydy6.js} +4 -4
- package/dist/chunks/{reference-d1vrh39f.js → location-lifecycle-z02rg5r5.js} +3 -3
- package/dist/chunks/{reference-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-g8xxsv15.js → location-lifecycle-z15t4xkz.js} +29 -29
- package/dist/chunks/{reference-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-y73szgh5.js → location-lifecycle-z395qepn.js} +19 -19
- package/dist/chunks/{reference-7rnxwetx.js → location-lifecycle-z4fv3q24.js} +11 -11
- package/dist/chunks/{reference-z7bdqmx5.js → location-lifecycle-z7bdqmx5.js} +1 -1
- package/dist/chunks/{reference-5w1743bk.js → location-lifecycle-zestxctz.js} +34 -34
- package/dist/chunks/{reference-1zjscayb.js → location-lifecycle-zevk5kpf.js} +21 -21
- package/dist/chunks/{reference-zgkm4kzm.js → location-lifecycle-zgkm4kzm.js} +3 -3
- package/dist/chunks/{reference-d2j5hydn.js → location-lifecycle-zh5xqnxh.js} +5 -5
- package/dist/chunks/{reference-hvy79q2t.js → location-lifecycle-zh7bbm8x.js} +9 -9
- package/dist/chunks/{reference-7cd00c8r.js → location-lifecycle-zmtqta5h.js} +87 -87
- package/dist/chunks/{reference-49qz2gqd.js → location-lifecycle-zprh8kn6.js} +48 -48
- package/dist/chunks/{reference-6hta33qf.js → location-lifecycle-ztnvrctf.js} +14 -14
- package/dist/chunks/{reference-jqgvqsjx.js → location-lifecycle-zwa1n2at.js} +14 -14
- package/dist/chunks/{reference-0eq01nmm.js → location-lifecycle-zx29snpc.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +78 -78
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -382
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-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 +372 -373
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -370
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +5 -11
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -128
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -178
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +152 -152
- package/dist/session/projector.js +132 -132
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/policy.d.ts +1 -2
- package/dist/types/managed-policy.d.ts +2 -20
- package/dist/types/plugin/internal.d.ts +2 -3
- package/dist/types/plugin/module.d.ts +1 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/usage-limits.js +95 -95
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -95
- package/dist/voice.js +94 -94
- package/dist/websearch.js +92 -92
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/reference-bk0ke8b9.js +0 -517
- package/dist/chunks/reference-gc4j5hc4.js +0 -59
- package/dist/chunks/reference-htat58eq.js +0 -26
- package/dist/chunks/reference-j75v3e7j.js +0 -257
- package/dist/chunks/reference-w2szm6a4.js +0 -171
- package/dist/plugin/provider/opencode-legacy.js +0 -119
- package/dist/types/plugin/provider/opencode-legacy.d.ts +0 -69
- /package/dist/chunks/{reference-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1jakw16s.js → location-lifecycle-1jakw16s.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4m86bj6y.js → location-lifecycle-4m86bj6y.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → location-lifecycle-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → location-lifecycle-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → location-lifecycle-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → location-lifecycle-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-ncqqe42p.js → location-lifecycle-ncqqe42p.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → location-lifecycle-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-x7zajsph.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-lifecycle-jpt0aj2d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-lifecycle-zestxctz.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-fyfkn899.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-ybj0t81k.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-pev14w4e.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -164,10 +164,10 @@ var headless = (app) => ({
|
|
|
164
164
|
}),
|
|
165
165
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
166
166
|
});
|
|
167
|
-
var
|
|
167
|
+
var OpenAIPlugin2 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
|
-
const bus = yield*
|
|
170
|
+
const bus = yield* Service82;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let chatgpt;
|
|
173
173
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -241,7 +241,7 @@ var OpenAIPlugin3 = define({
|
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
242
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
|
-
yield* bus.subscribe(
|
|
244
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
function headers(contentType, app) {
|
|
@@ -332,4 +332,4 @@ function claim(token) {
|
|
|
332
332
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-lifecycle-rjj7awg3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./location-lifecycle-571c0xa8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input15,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input15 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service63;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input15,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info19 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./location-lifecycle-hjjzccew.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service68;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service67.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./location-lifecycle-zprh8kn6.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin44
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service70;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin16 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin44, exports_websearch2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service86,
|
|
10
|
+
node: () => node90
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service86 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service86.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node90 = makeLocationNode({ service: Service86, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service86, node90, exports_hooks };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service74,
|
|
4
|
+
node78
|
|
5
|
+
} from "./location-lifecycle-fyfkn899.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./location-lifecycle-ybj0t81k.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service55,
|
|
23
|
+
node58
|
|
24
|
+
} from "./location-lifecycle-evc6pnny.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service72,
|
|
30
|
+
node76,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-lifecycle-w90qadrs.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service51,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer23,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node53,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -68,7 +68,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
70
|
providerID: ID13,
|
|
71
|
-
modelID:
|
|
71
|
+
modelID: ID12,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,7 +78,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
80
|
providerID: ID13,
|
|
81
|
-
modelID:
|
|
81
|
+
modelID: ID12,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -89,7 +89,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
91
|
providerID: ID13,
|
|
92
|
-
modelID:
|
|
92
|
+
modelID: ID12,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -100,7 +100,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
102
|
providerID: ID13,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -112,7 +112,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
114
|
providerID: ID13,
|
|
115
|
-
modelID:
|
|
115
|
+
modelID: ID12,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
124
|
providerID: ID13,
|
|
125
|
-
modelID:
|
|
125
|
+
modelID: ID12,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service51 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -300,12 +300,12 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var layer23 = Layer.effect(
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer23 = Layer.effect(Service51, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service73;
|
|
305
|
+
const models = yield* Service72;
|
|
306
|
+
const integrations = yield* Service74;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service55;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -348,7 +348,7 @@ var layer23 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service51.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -371,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
371
371
|
const name = packageName2(packageName);
|
|
372
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
service:
|
|
374
|
+
var node53 = makeLocationNode({
|
|
375
|
+
service: Service51,
|
|
376
376
|
layer: layer23,
|
|
377
|
-
deps: [
|
|
377
|
+
deps: [node77, node76, node78, Npm.node, node58]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node53, exports_model_resolver };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./location-lifecycle-7apps605.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service67,
|
|
10
|
+
node70
|
|
11
|
+
} from "./location-lifecycle-90hass2h.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-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: () => Service57,
|
|
25
|
+
configured: () => configured8,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node60
|
|
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 Service57 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(Service57, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service79;
|
|
57
|
+
const ripgrep = yield* Service67;
|
|
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(Service63, 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 Service57.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(Service57, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service79;
|
|
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(Service63, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service57.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(Service63, 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* Service79;
|
|
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 configured8(options) {
|
|
211
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [node83, node70] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node60 = configured8();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service57, makeFffLayer2, fffLayer2, configured8, node60, exports_search };
|