@opencode/core 0.0.0-dev-20335 → 0.0.0-dev-20341
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{repository-d3bs9tdw.js → persistent-pty-00vf67kq.js} +9 -9
- package/dist/chunks/persistent-pty-01qtd5dc.js +252 -0
- package/dist/chunks/{repository-95w30yp9.js → persistent-pty-04wpcwjp.js} +17 -17
- package/dist/chunks/{repository-amrnnyta.js → persistent-pty-05hmz687.js} +11 -11
- package/dist/chunks/{repository-tvqfpfee.js → persistent-pty-0aksezd1.js} +6 -6
- package/dist/chunks/{repository-50d9sfsv.js → persistent-pty-0cmajtfh.js} +20 -20
- package/dist/chunks/{repository-16vz77rp.js → persistent-pty-0fq9kbe5.js} +14 -14
- package/dist/chunks/{repository-m7153hwt.js → persistent-pty-0jnnzt4k.js} +32 -32
- package/dist/chunks/{repository-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/persistent-pty-0ntnwng5.js +507 -0
- package/dist/chunks/{repository-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-2hqp8s59.js → persistent-pty-0ymbac85.js} +30 -30
- package/dist/chunks/{repository-wfnh7d6s.js → persistent-pty-14xhwdvx.js} +11 -11
- package/dist/chunks/{repository-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-hm1b0gbb.js → persistent-pty-1fkbnb3h.js} +31 -31
- package/dist/chunks/{repository-4j6xyef2.js → persistent-pty-1jyay2fm.js} +27 -27
- package/dist/chunks/{repository-7yqjxrmz.js → persistent-pty-1nzs1dt7.js} +6 -6
- package/dist/chunks/{repository-kbrbwa51.js → persistent-pty-1v8stjbz.js} +1 -1
- package/dist/chunks/{repository-vy4zg7qh.js → persistent-pty-20zz1ang.js} +8 -8
- package/dist/chunks/{repository-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{repository-arn5xykm.js → persistent-pty-29cwx4ks.js} +2 -2
- package/dist/chunks/{repository-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-dqmwfghx.js → persistent-pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{repository-s3525we2.js → persistent-pty-2h15mtsb.js} +11 -11
- package/dist/chunks/{repository-ph4v5nv3.js → persistent-pty-2nes80nj.js} +11 -11
- package/dist/chunks/{repository-15rs1j4r.js → persistent-pty-2pw9t7y0.js} +15 -15
- package/dist/chunks/{repository-mzrbxmyd.js → persistent-pty-2vjymgz4.js} +11 -11
- package/dist/chunks/{repository-f19qfh98.js → persistent-pty-2w7feyg1.js} +11 -11
- package/dist/chunks/{repository-wzwyn12v.js → persistent-pty-31jg3jzd.js} +10 -10
- package/dist/chunks/{repository-3gxz2t13.js → persistent-pty-32tkr9wa.js} +36 -36
- package/dist/chunks/{repository-k8ard8cz.js → persistent-pty-3878e13v.js} +90 -90
- package/dist/chunks/{repository-v72s44yw.js → persistent-pty-3bkzp6nm.js} +11 -11
- package/dist/chunks/{repository-5t80mpw4.js → persistent-pty-3efxt51q.js} +19 -19
- package/dist/chunks/{repository-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-wr7z7pm1.js → persistent-pty-3fv5zerb.js} +12 -12
- package/dist/chunks/{repository-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-tygebkv4.js → persistent-pty-3vb8825b.js} +19 -19
- package/dist/chunks/{repository-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-n1p8stbd.js → persistent-pty-42mqjpyj.js} +13 -13
- package/dist/chunks/{repository-gmq1kaeg.js → persistent-pty-46pet8gs.js} +15 -15
- package/dist/chunks/{repository-h6qw6arq.js → persistent-pty-4hvfhxsc.js} +17 -17
- package/dist/chunks/{repository-4z58m4b4.js → persistent-pty-4j4tgtq5.js} +4 -4
- package/dist/chunks/{repository-kgf2e1tk.js → persistent-pty-4n3sdfe5.js} +4 -4
- package/dist/chunks/{repository-0zxndn7z.js → persistent-pty-4p2v91mq.js} +15 -15
- package/dist/chunks/{repository-3v0sd91a.js → persistent-pty-4wfraw0w.js} +25 -25
- package/dist/chunks/{repository-tcay1cqt.js → persistent-pty-51f5btjf.js} +6 -6
- package/dist/chunks/{repository-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-ckecvw8r.js → persistent-pty-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-bfm303mw.js → persistent-pty-55zfesz9.js} +11 -11
- package/dist/chunks/{repository-ah8v3g6t.js → persistent-pty-55zqgwvr.js} +11 -11
- package/dist/chunks/{repository-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-ehmk2s93.js → persistent-pty-5cpzvd3j.js} +15 -15
- package/dist/chunks/{repository-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-6qgczjnx.js → persistent-pty-5jqc7mmh.js} +48 -48
- package/dist/chunks/{repository-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-588n7640.js → persistent-pty-5rwf64p2.js} +9 -9
- package/dist/chunks/{repository-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-nsdxmg59.js → persistent-pty-5xq1sedg.js} +47 -47
- package/dist/chunks/{repository-9y6gpmex.js → persistent-pty-64wymc54.js} +12 -12
- package/dist/chunks/{repository-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{repository-7mksp0wg.js → persistent-pty-6b79em31.js} +15 -15
- package/dist/chunks/persistent-pty-6k12j7x1.js +26 -0
- package/dist/chunks/{repository-adpk0erv.js → persistent-pty-6khx4p0d.js} +75 -75
- package/dist/chunks/{repository-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-fdkzaggf.js → persistent-pty-6n8a4jjg.js} +16 -16
- package/dist/chunks/{repository-grmhakfb.js → persistent-pty-6nweqnhb.js} +24 -24
- package/dist/chunks/{repository-14deg24w.js → persistent-pty-6q8zcy5k.js} +11 -11
- package/dist/chunks/{repository-cw8972wq.js → persistent-pty-6vyb99v6.js} +10 -10
- package/dist/chunks/{repository-xew1cczc.js → persistent-pty-6yfg5v83.js} +23 -23
- package/dist/chunks/{repository-f6hq4jm4.js → persistent-pty-6ypennq8.js} +43 -43
- package/dist/chunks/{repository-bkgqdper.js → persistent-pty-72hvh6jh.js} +27 -27
- package/dist/chunks/{repository-ah7atdab.js → persistent-pty-75jb4kyn.js} +12 -12
- package/dist/chunks/{repository-tazp3vs0.js → persistent-pty-784hb5j4.js} +4 -4
- package/dist/chunks/{repository-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-hfdq9xfh.js → persistent-pty-7ews3x9x.js} +41 -41
- package/dist/chunks/{repository-jpa7cehe.js → persistent-pty-7hpm9vff.js} +17 -17
- package/dist/chunks/{repository-rr68r3wr.js → persistent-pty-7j5zvf86.js} +4 -4
- package/dist/chunks/{repository-86m3yb96.js → persistent-pty-811rfafr.js} +26 -26
- package/dist/chunks/{repository-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{repository-zjddxd3j.js → persistent-pty-84y3cxrg.js} +14 -14
- package/dist/chunks/{repository-jkzkeyzq.js → persistent-pty-880ef89g.js} +11 -11
- package/dist/chunks/{repository-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{repository-zvjhkatg.js → persistent-pty-8aaqm6qj.js} +8 -8
- package/dist/chunks/{repository-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-6cnesaz1.js → persistent-pty-8e7wxhqf.js} +36 -36
- package/dist/chunks/{repository-vctgtqyk.js → persistent-pty-8jyzywxv.js} +15 -15
- package/dist/chunks/{repository-kz2hxhwe.js → persistent-pty-8s8r9gf0.js} +19 -19
- package/dist/chunks/{repository-py3kkmfq.js → persistent-pty-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-3hwhnchq.js → persistent-pty-981fg1k8.js} +10 -10
- package/dist/chunks/{repository-qx2z80z2.js → persistent-pty-9b50t81g.js} +6 -6
- package/dist/chunks/{repository-25kp255n.js → persistent-pty-9qb76avw.js} +9 -9
- package/dist/chunks/{repository-x5sf7ath.js → persistent-pty-9v2r64bp.js} +1 -1
- package/dist/chunks/{repository-yqs7fwh1.js → persistent-pty-9vjccf17.js} +6 -6
- package/dist/chunks/{repository-mxr1v1s0.js → persistent-pty-9wncg805.js} +8 -8
- package/dist/chunks/{repository-wpy48h4a.js → persistent-pty-9zrtdmhy.js} +11 -11
- package/dist/chunks/{repository-tjtpwfd8.js → persistent-pty-a0ga5595.js} +11 -11
- package/dist/chunks/{repository-nrsb7t6v.js → persistent-pty-a2yvrr1e.js} +49 -49
- package/dist/chunks/{repository-nng2ktcm.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{repository-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-bnzngw4e.js → persistent-pty-aapjkkww.js} +45 -45
- package/dist/chunks/{repository-a3ftg8j6.js → persistent-pty-ajdjch6h.js} +9 -9
- package/dist/chunks/{repository-tjp7nbbc.js → persistent-pty-apbqs3pw.js} +1 -1
- package/dist/chunks/{repository-ng5pw36k.js → persistent-pty-aq6cef94.js} +10 -10
- package/dist/chunks/{repository-yarqv08n.js → persistent-pty-avvhg6ef.js} +3 -3
- package/dist/chunks/{repository-epd18y3s.js → persistent-pty-azexmtne.js} +6 -6
- package/dist/chunks/{repository-7xyrrtj6.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{repository-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-6asekhfp.js → persistent-pty-b6sgv4g0.js} +25 -25
- package/dist/chunks/{repository-qesg53n6.js → persistent-pty-b95vg044.js} +20 -20
- package/dist/chunks/{repository-4j4dq07s.js → persistent-pty-b985cns1.js} +10 -10
- package/dist/chunks/{repository-44cd2caf.js → persistent-pty-bdhtmqf5.js} +37 -37
- package/dist/chunks/{repository-1bbp1d6c.js → persistent-pty-be3be266.js} +3 -3
- package/dist/chunks/{repository-1gfgk62c.js → persistent-pty-bjmt3h04.js} +8 -8
- package/dist/chunks/{repository-z07pqspn.js → persistent-pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-5kembwtx.js → persistent-pty-bp98ntrt.js} +24 -24
- package/dist/chunks/{repository-177x5hfm.js → persistent-pty-bw6eqvc2.js} +26 -26
- package/dist/chunks/{repository-wwwg9xe9.js → persistent-pty-c1m7agks.js} +15 -15
- package/dist/chunks/{repository-5wtwrezn.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/{repository-rscpm148.js → persistent-pty-chmcxnpv.js} +11 -11
- package/dist/chunks/{repository-hstvm2rm.js → persistent-pty-cj0q7yrn.js} +32 -32
- package/dist/chunks/{repository-eft2fq7z.js → persistent-pty-cjdtr2ds.js} +33 -31
- package/dist/chunks/{repository-n0snsaj8.js → persistent-pty-cjs1c48m.js} +13 -13
- package/dist/chunks/{repository-b78x4hqs.js → persistent-pty-dbkkmbew.js} +10 -10
- package/dist/chunks/{repository-c765mh8b.js → persistent-pty-djszqvmq.js} +9 -9
- package/dist/chunks/{repository-xkntkrq7.js → persistent-pty-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-dnxkq42g.js → persistent-pty-dnxkq42g.js} +1 -1
- package/dist/chunks/{repository-jevn6b1b.js → persistent-pty-dsv4qt6d.js} +16 -16
- package/dist/chunks/{repository-mj08mqq8.js → persistent-pty-dy5mtzz8.js} +11 -11
- package/dist/chunks/{repository-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-n26pg8f3.js → persistent-pty-ect61mw4.js} +12 -12
- package/dist/chunks/{repository-2jb0f4sx.js → persistent-pty-edbn27ge.js} +4 -4
- package/dist/chunks/{repository-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-spzctr33.js → persistent-pty-efm7cqaz.js} +27 -27
- package/dist/chunks/{repository-j77nvagq.js → persistent-pty-efxgthxc.js} +16 -16
- package/dist/chunks/{repository-1nhg81ky.js → persistent-pty-ek57zv8b.js} +17 -17
- package/dist/chunks/{repository-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-y16p1w2y.js → persistent-pty-eye44qas.js} +9 -9
- package/dist/chunks/{repository-w01ghv19.js → persistent-pty-f1as396s.js} +11 -11
- package/dist/chunks/{repository-0d42ryz0.js → persistent-pty-f4xqw7wa.js} +22 -22
- package/dist/chunks/{repository-cp1npnye.js → persistent-pty-f9t0t77v.js} +27 -27
- package/dist/chunks/{repository-7rkyr6sz.js → persistent-pty-fdmgm320.js} +14 -14
- package/dist/chunks/{repository-nq7qbqzc.js → persistent-pty-fhs97t90.js} +9 -9
- package/dist/chunks/{repository-gzbkpp9m.js → persistent-pty-fjvydvzm.js} +4 -4
- package/dist/chunks/{repository-4652gtcq.js → persistent-pty-fq1eaaax.js} +28 -28
- package/dist/chunks/{repository-gc135ar8.js → persistent-pty-fqj9nv8j.js} +8 -8
- package/dist/chunks/{repository-s7ftbfps.js → persistent-pty-fw7a63m3.js} +6 -6
- package/dist/chunks/{repository-p42hj8p8.js → persistent-pty-g0445xdp.js} +8 -8
- package/dist/chunks/{repository-8hgfhrm0.js → persistent-pty-g8jasmdt.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-n9kzwy15.js → persistent-pty-gdgx11yp.js} +10 -10
- package/dist/chunks/{repository-94ek1h2f.js → persistent-pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-9yegeevc.js → persistent-pty-ggr88sj4.js} +18 -18
- package/dist/chunks/{repository-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-6g6nehze.js → persistent-pty-h0n6hth2.js} +32 -32
- package/dist/chunks/{repository-smb3a1vy.js → persistent-pty-h1s4ax7h.js} +13 -13
- package/dist/chunks/{repository-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-8tsdq50x.js → persistent-pty-h90v2x9d.js} +4 -4
- package/dist/chunks/{repository-3556dn8t.js → persistent-pty-hd8vw2pw.js} +1 -1
- package/dist/chunks/{repository-jrvxvghc.js → persistent-pty-hgsmh1nh.js} +16 -16
- package/dist/chunks/{repository-qnqdsnqy.js → persistent-pty-hn4w1bkj.js} +18 -18
- package/dist/chunks/{repository-y0arntg5.js → persistent-pty-hnkth8hh.js} +7 -7
- package/dist/chunks/{repository-njp7nbsm.js → persistent-pty-hr7t50ew.js} +13 -13
- package/dist/chunks/{repository-4crnhx2x.js → persistent-pty-hs14hted.js} +10 -10
- package/dist/chunks/{repository-zcxn7avd.js → persistent-pty-hsz3e5dy.js} +29 -29
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{repository-kye418mf.js → persistent-pty-hym2md94.js} +10 -10
- package/dist/chunks/{repository-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-aqryd466.js → persistent-pty-jcenn4a0.js} +24 -24
- package/dist/chunks/{repository-7w99qc9d.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{repository-ss8nxy6a.js → persistent-pty-jgg5903p.js} +33 -33
- package/dist/chunks/{repository-zbttfwdc.js → persistent-pty-jh34xga3.js} +9 -9
- package/dist/chunks/{repository-bjpa3xan.js → persistent-pty-jhcrq6fy.js} +18 -18
- package/dist/chunks/{repository-gjcmh5na.js → persistent-pty-jk236s1c.js} +32 -32
- package/dist/chunks/{repository-f136476x.js → persistent-pty-jsqbbv53.js} +16 -16
- package/dist/chunks/{repository-y71avatq.js → persistent-pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{repository-bwnx15mf.js → persistent-pty-jxg7w2yt.js} +56 -56
- package/dist/chunks/{repository-x3drdvdf.js → persistent-pty-k2cf7ycz.js} +9 -9
- package/dist/chunks/{repository-6cdq8sz3.js → persistent-pty-k3akrp7q.js} +55 -55
- package/dist/chunks/{repository-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-rgzws67g.js → persistent-pty-k5nxbakh.js} +26 -26
- package/dist/chunks/{repository-806j49yq.js → persistent-pty-k8962brh.js} +7 -7
- package/dist/chunks/{repository-zd30eb5w.js → persistent-pty-k8hpw67k.js} +5 -5
- package/dist/chunks/{repository-esvq6ems.js → persistent-pty-kazy0ayh.js} +1 -1
- package/dist/chunks/{repository-frwzdz0p.js → persistent-pty-kb09e3ps.js} +2 -2
- package/dist/chunks/{repository-xs9p6a56.js → persistent-pty-kt0am480.js} +5 -5
- package/dist/chunks/{repository-gwzjmqr0.js → persistent-pty-kt98sm59.js} +3 -3
- package/dist/chunks/{repository-5amwhyk8.js → persistent-pty-kyktj0vd.js} +6 -6
- package/dist/chunks/{repository-c91ayza2.js → persistent-pty-m142re3c.js} +24 -24
- package/dist/chunks/{repository-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-1wb0x8n3.js → persistent-pty-m3nayt80.js} +8 -8
- package/dist/chunks/{repository-efz4qfm7.js → persistent-pty-m97jxw3r.js} +9 -9
- package/dist/chunks/{repository-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-0mcex0vm.js → persistent-pty-mb8ahhxd.js} +46 -46
- package/dist/chunks/{repository-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-7yh4e7ss.js → persistent-pty-mhkvc446.js} +3 -3
- package/dist/chunks/{repository-qpedwap1.js → persistent-pty-mnxyjaz9.js} +21 -21
- package/dist/chunks/{repository-ytsv5nsm.js → persistent-pty-mwxvj69v.js} +27 -27
- package/dist/chunks/{repository-p3t27j1r.js → persistent-pty-nbwqk53a.js} +16 -16
- package/dist/chunks/{repository-ccmf13nx.js → persistent-pty-nd5pg0jd.js} +15 -15
- package/dist/chunks/{repository-p540ebbs.js → persistent-pty-new922dw.js} +19 -19
- package/dist/chunks/{repository-8q2kdvn6.js → persistent-pty-ng06zct7.js} +27 -27
- package/dist/chunks/{repository-ge62tnff.js → persistent-pty-nyh6yxg3.js} +19 -19
- package/dist/chunks/{repository-nxhqveyz.js → persistent-pty-p44d8wdy.js} +5 -5
- package/dist/chunks/{repository-tx92n959.js → persistent-pty-pcxghkgz.js} +4 -4
- package/dist/chunks/{repository-tft3ktne.js → persistent-pty-pdrz96x4.js} +10 -10
- package/dist/chunks/{repository-espax8zg.js → persistent-pty-pgp1nwjn.js} +4 -4
- package/dist/chunks/{repository-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-7gdfpyqw.js → persistent-pty-pknkq1ya.js} +8 -8
- package/dist/chunks/{repository-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{repository-91869f37.js → persistent-pty-pmth53f6.js} +32 -32
- package/dist/chunks/{repository-dkbdvgew.js → persistent-pty-pqsj7wgp.js} +5 -5
- package/dist/chunks/{repository-wd3x2cqz.js → persistent-pty-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-npkye8kr.js → persistent-pty-pysk3085.js} +151 -151
- package/dist/chunks/{repository-4z2cpt3j.js → persistent-pty-q63sg9wh.js} +14 -14
- package/dist/chunks/{repository-cp7v009q.js → persistent-pty-qfqtz2mg.js} +3 -3
- package/dist/chunks/{repository-vmzvv6jk.js → persistent-pty-qkk4yay7.js} +8 -8
- package/dist/chunks/{repository-jrpxshtx.js → persistent-pty-qkt14v07.js} +35 -35
- package/dist/chunks/{repository-1c5jrzvp.js → persistent-pty-qreq96fy.js} +16 -16
- package/dist/chunks/{repository-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-7x182g3c.js → persistent-pty-qxv5x38a.js} +13 -13
- package/dist/chunks/{repository-8gtajd2c.js → persistent-pty-qy1187xz.js} +37 -37
- package/dist/chunks/{repository-1wwpvd1c.js → persistent-pty-r2cdb093.js} +20 -20
- package/dist/chunks/{repository-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-ej670j8y.js → persistent-pty-rebxb36w.js} +7 -7
- package/dist/chunks/{repository-0k2n229t.js → persistent-pty-rev16gg1.js} +32 -32
- package/dist/chunks/{repository-bjcxr48j.js → persistent-pty-rhe6q90e.js} +25 -25
- package/dist/chunks/{repository-my042x6s.js → persistent-pty-rsjwp548.js} +20 -20
- package/dist/chunks/{repository-ccqvcrpm.js → persistent-pty-s4df5zxh.js} +17 -17
- package/dist/chunks/{repository-1xpch1h6.js → persistent-pty-s4rskdge.js} +9 -9
- package/dist/chunks/{repository-eg45xm7b.js → persistent-pty-s7h7at2m.js} +26 -26
- package/dist/chunks/{repository-ynaczmmt.js → persistent-pty-sd75nvd1.js} +18 -18
- package/dist/chunks/{repository-0gdmqesm.js → persistent-pty-t550f9t1.js} +4 -4
- package/dist/chunks/{repository-r98e92ep.js → persistent-pty-t9zs3egg.js} +4 -4
- package/dist/chunks/{repository-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{repository-sr1f61nh.js → persistent-pty-te9eb2ne.js} +18 -18
- package/dist/chunks/{repository-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-5vh6m982.js → persistent-pty-v2xh51ss.js} +27 -27
- package/dist/chunks/{repository-an4zz5am.js → persistent-pty-v4qes6kb.js} +17 -17
- package/dist/chunks/{repository-z21br254.js → persistent-pty-v8n97m4h.js} +8 -8
- package/dist/chunks/{repository-msvxw073.js → persistent-pty-vaydq29x.js} +48 -48
- package/dist/chunks/{repository-s0wrr388.js → persistent-pty-vdphxgnn.js} +10 -10
- package/dist/chunks/{repository-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-s7ts0s5b.js → persistent-pty-vnqycjs3.js} +34 -34
- package/dist/chunks/{repository-bnhgcfss.js → persistent-pty-vs8k4vg6.js} +25 -25
- package/dist/chunks/{repository-7awdj4ds.js → persistent-pty-vv4wkjrp.js} +8 -8
- package/dist/chunks/{repository-epnzmdpm.js → persistent-pty-vwcfpena.js} +9 -9
- package/dist/chunks/{repository-1sev21en.js → persistent-pty-vz9db08s.js} +4 -4
- package/dist/chunks/{repository-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-4szb5sg6.js → persistent-pty-w936gsj9.js} +11 -11
- package/dist/chunks/{repository-hcz3zddy.js → persistent-pty-wbkyxrgf.js} +5 -5
- package/dist/chunks/{repository-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{repository-fp6c7zsr.js → persistent-pty-wf2zhhrq.js} +32 -32
- package/dist/chunks/{repository-k2mvq2xf.js → persistent-pty-wp1mqwss.js} +3 -3
- package/dist/chunks/{repository-zx9zy5mt.js → persistent-pty-wq4zc2h0.js} +18 -18
- package/dist/chunks/{repository-9cvjrp9p.js → persistent-pty-wvq7e1s4.js} +4 -4
- package/dist/chunks/{repository-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-2p8k3371.js → persistent-pty-x9ate6zv.js} +3 -3
- package/dist/chunks/{repository-6agef5e8.js → persistent-pty-xen1zbvx.js} +2 -2
- package/dist/chunks/{repository-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{repository-swxh916n.js → persistent-pty-xkaxm87r.js} +9 -9
- package/dist/chunks/{repository-b4p19tx4.js → persistent-pty-xvp1j2dc.js} +5 -5
- package/dist/chunks/{repository-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-5xq3t6w1.js → persistent-pty-yabnvfn3.js} +88 -88
- package/dist/chunks/{repository-jfz7kgha.js → persistent-pty-ygxhnps7.js} +17 -17
- package/dist/chunks/{repository-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-ymz6mr5d.js → persistent-pty-yt5c9h39.js} +30 -30
- package/dist/chunks/{repository-8b0rfz7c.js → persistent-pty-yxdp53eh.js} +1 -1
- package/dist/chunks/{repository-qy7g33vm.js → persistent-pty-yy0dcyjw.js} +5 -5
- package/dist/chunks/{repository-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-4enn4tzn.js → persistent-pty-z4szxkd7.js} +9 -9
- package/dist/chunks/{repository-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-embw8kgh.js → persistent-pty-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-87deq66t.js → persistent-pty-zfq801h6.js} +4 -4
- package/dist/chunks/{repository-td8xq64f.js → persistent-pty-zjasv8zh.js} +26 -26
- package/dist/chunks/{repository-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-5hcyjm69.js → persistent-pty-zvs730z4.js} +8 -8
- package/dist/chunks/{repository-7wcp0dp1.js → persistent-pty-zvxz31za.js} +9 -9
- package/dist/chunks/{repository-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-0d66s06f.js → persistent-pty-zyrwm43r.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/repository-b02qhphd.js +0 -252
- package/dist/chunks/repository-enhmk9nd.js +0 -507
- package/dist/chunks/repository-jqh9b0xq.js +0 -18
- package/dist/chunks/repository-xxzmwayv.js +0 -26
- /package/dist/chunks/{repository-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./persistent-pty-84y3cxrg.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-t550f9t1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
node: () => node26
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service23.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make19({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make19({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service23, node26, exports_builtins };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-55zfesz9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./persistent-pty-84y3cxrg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service68,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node70
|
|
13
|
+
} from "./persistent-pty-3efxt51q.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -26,11 +26,11 @@ __export(exports_pty, {
|
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID2,
|
|
28
28
|
Info: () => Info2,
|
|
29
|
-
NotFoundError: () =>
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -44,7 +44,7 @@ var Info2 = Pty.Info;
|
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
48
|
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service68;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node18 = makeLocationNode({
|
|
273
|
+
service: Service16,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node86, node83, node70]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info2, CreateInput2, UpdateInput2,
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node18, exports_pty, Event3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./persistent-pty-5xq1sedg.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service49;
|
|
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 Plugin27 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin2, exports_websearch };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./persistent-pty-5xq1sedg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./persistent-pty-a2yvrr1e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin9,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin9, register2, exports_mcp };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./persistent-pty-jxg7w2yt.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin40,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin40 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin4 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input5, Plugin40, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info13
|
|
7
|
+
} from "./persistent-pty-cavr175a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./persistent-pty-g8jasmdt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info18
|
|
13
|
+
} from "./persistent-pty-2f0bjgcj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info19
|
|
16
|
+
} from "./persistent-pty-k8962brh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info17
|
|
19
|
+
} from "./persistent-pty-fjvydvzm.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info16
|
|
25
|
+
} from "./persistent-pty-1nzs1dt7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info14
|
|
28
|
+
} from "./persistent-pty-p44d8wdy.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info15
|
|
34
|
+
} from "./persistent-pty-wbkyxrgf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./persistent-pty-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info11
|
|
40
|
+
} from "./persistent-pty-t9zs3egg.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info14 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info19)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info11).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info14 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info14, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info17).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info13),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info18).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info14 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./persistent-pty-55zfesz9.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service56,
|
|
17
|
+
node58
|
|
18
|
+
} from "./persistent-pty-jhcrq6fy.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service39,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node42
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service39 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service56;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service39.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node42 = makeLocationNode({
|
|
116
|
+
service: Service39,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node58]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info8, Service39, node42, exports_reference2, Event8 };
|