@opencode/core 0.0.0-dev-20249 → 0.0.0-dev-20251
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-5n3w7w9q.js → repository-cache-00gdp0v0.js} +6 -6
- package/dist/chunks/{location-activity-kcpj4n48.js → repository-cache-04ck8k4k.js} +8 -8
- package/dist/chunks/{location-activity-wpf825w3.js → repository-cache-08fsgfkc.js} +48 -48
- package/dist/chunks/{location-activity-dq7g0m2g.js → repository-cache-095hcjf8.js} +33 -33
- package/dist/chunks/{location-activity-hevfjdd2.js → repository-cache-0afkxwjn.js} +6 -6
- package/dist/chunks/{location-activity-fv24634s.js → repository-cache-0hpw93d1.js} +23 -23
- package/dist/chunks/{location-activity-e5gbwpdw.js → repository-cache-0mwb83qr.js} +32 -32
- package/dist/chunks/{location-activity-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-wbkyxrgf.js → repository-cache-0r7yqxbf.js} +5 -5
- package/dist/chunks/{location-activity-xjeq8bvs.js → repository-cache-0s740jay.js} +26 -26
- package/dist/chunks/{location-activity-1hqp4yhx.js → repository-cache-0thq5hk7.js} +12 -12
- package/dist/chunks/{location-activity-a4sqpv8w.js → repository-cache-0zjqpmkz.js} +37 -37
- package/dist/chunks/{location-activity-ga6fan7w.js → repository-cache-16612zrn.js} +11 -11
- package/dist/chunks/{location-activity-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-0gjmdtxg.js → repository-cache-1sjktwpq.js} +13 -13
- package/dist/chunks/{location-activity-xcjaeq7k.js → repository-cache-1zdwmq57.js} +27 -27
- package/dist/chunks/{location-activity-kpewm0pp.js → repository-cache-204cfetq.js} +8 -8
- package/dist/chunks/{location-activity-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-hdzjhqr6.js → repository-cache-21v4w11m.js} +16 -16
- package/dist/chunks/{location-activity-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-xa9wygja.js → repository-cache-2dfz3822.js} +10 -10
- package/dist/chunks/{location-activity-2pa0jjc4.js → repository-cache-2dxkyvt9.js} +12 -12
- package/dist/chunks/{location-activity-ahd542yp.js → repository-cache-2hr5nhwa.js} +8 -8
- package/dist/chunks/{location-activity-vpvxm0qy.js → repository-cache-2j284yp4.js} +13 -13
- package/dist/chunks/{location-activity-dexe5x4p.js → repository-cache-2wq7vqp7.js} +11 -11
- package/dist/chunks/{location-activity-cbnr75ht.js → repository-cache-33189bft.js} +9 -9
- package/dist/chunks/{location-activity-b865kx8x.js → repository-cache-341masja.js} +14 -14
- package/dist/chunks/{location-activity-et4fhn49.js → repository-cache-38mz08fy.js} +29 -29
- package/dist/chunks/{location-activity-26k5cyqx.js → repository-cache-3b681mbx.js} +85 -85
- package/dist/chunks/{location-activity-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-ka05w473.js → repository-cache-3gz738r3.js} +8 -8
- package/dist/chunks/{location-activity-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-55c57zs4.js → repository-cache-3kjs2g8p.js} +11 -11
- package/dist/chunks/{location-activity-e6gsh30d.js → repository-cache-3nxcgc5r.js} +4 -4
- package/dist/chunks/{location-activity-j3tac8rj.js → repository-cache-3s2gfese.js} +19 -19
- package/dist/chunks/{location-activity-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-6pkj5grj.js → repository-cache-42qtvhfk.js} +3 -3
- package/dist/chunks/{location-activity-hj6fcrxw.js → repository-cache-4bw5k2yb.js} +7 -7
- package/dist/chunks/{location-activity-22sd1qqc.js → repository-cache-4e8vs6eh.js} +8 -8
- package/dist/chunks/{location-activity-wxfw16zk.js → repository-cache-4hecv8b8.js} +18 -18
- package/dist/chunks/{location-activity-yd8wbh55.js → repository-cache-4jrabxkn.js} +25 -25
- package/dist/chunks/repository-cache-4jx8qdh8.js +252 -0
- package/dist/chunks/{location-activity-jaak92tj.js → repository-cache-4nzedb29.js} +9 -9
- package/dist/chunks/{location-activity-bgsmen1g.js → repository-cache-4v283kbg.js} +3 -3
- package/dist/chunks/{location-activity-ey3ha4js.js → repository-cache-4vqxrrhv.js} +24 -24
- package/dist/chunks/{location-activity-d0451ks6.js → repository-cache-53nswxx3.js} +9 -9
- package/dist/chunks/{location-activity-mfy27tej.js → repository-cache-54k930pp.js} +10 -10
- package/dist/chunks/{location-activity-1ygqh575.js → repository-cache-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-activity-amzhydp5.js → repository-cache-56pvw0gc.js} +19 -19
- package/dist/chunks/{location-activity-2fgn2we9.js → repository-cache-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-activity-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-y0n45tja.js → repository-cache-5heeksrv.js} +26 -26
- package/dist/chunks/{location-activity-kzp9zm5q.js → repository-cache-5jkg60m6.js} +35 -35
- package/dist/chunks/{location-activity-t9ry9eb3.js → repository-cache-5k1wcgjw.js} +3 -3
- package/dist/chunks/{location-activity-792jbbde.js → repository-cache-5k7m0c6w.js} +10 -10
- package/dist/chunks/{location-activity-dwvzh0g2.js → repository-cache-5qkxfyep.js} +6 -6
- package/dist/chunks/{location-activity-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-n1ka8r9d.js → repository-cache-5xpznt2d.js} +4 -4
- package/dist/chunks/{location-activity-82a973mw.js → repository-cache-5y5fcek4.js} +13 -13
- package/dist/chunks/{location-activity-v4qfxnag.js → repository-cache-607q5haz.js} +12 -12
- package/dist/chunks/{location-activity-52z785nj.js → repository-cache-624wfwgz.js} +15 -15
- package/dist/chunks/{location-activity-5s5cjcj1.js → repository-cache-6446sh3b.js} +24 -24
- package/dist/chunks/{location-activity-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-dqsw1vz6.js → repository-cache-676jamrs.js} +16 -16
- package/dist/chunks/{location-activity-cq3yby3s.js → repository-cache-6d5yn9z3.js} +7 -7
- package/dist/chunks/{location-activity-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-rpveba7r.js → repository-cache-711hbc5w.js} +15 -15
- package/dist/chunks/{location-activity-73tb2d7t.js → repository-cache-73tb2d7t.js} +1 -1
- package/dist/chunks/{location-activity-93r80qa9.js → repository-cache-74he466x.js} +43 -43
- package/dist/chunks/{location-activity-gsqtgdec.js → repository-cache-783mvqzv.js} +15 -15
- package/dist/chunks/{location-activity-tgc9kse0.js → repository-cache-7969rh3q.js} +11 -11
- package/dist/chunks/{location-activity-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-qgn6gcr1.js → repository-cache-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-activity-hd8jt5qg.js → repository-cache-7esjthxw.js} +1 -1
- package/dist/chunks/{location-activity-j5jfxbva.js → repository-cache-7gqwc1b4.js} +14 -14
- package/dist/chunks/{location-activity-xvp1j2dc.js → repository-cache-7pr2hkwv.js} +5 -5
- package/dist/chunks/{location-activity-dqky8k4e.js → repository-cache-7sw46hvh.js} +3 -3
- package/dist/chunks/{location-activity-wex19r3q.js → repository-cache-7wf5zjhs.js} +54 -54
- package/dist/chunks/{location-activity-5wgca1hz.js → repository-cache-810dpybx.js} +10 -10
- package/dist/chunks/{location-activity-tdhe5xga.js → repository-cache-818pfwc9.js} +8 -8
- package/dist/chunks/{location-activity-k4dd9b3k.js → repository-cache-82m37mnf.js} +15 -15
- package/dist/chunks/{location-activity-wv5fs872.js → repository-cache-8btz10n0.js} +43 -43
- package/dist/chunks/{location-activity-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-f95d4cya.js → repository-cache-8dbf0tjh.js} +20 -20
- package/dist/chunks/{location-activity-tjzmcvwf.js → repository-cache-8fscv17v.js} +27 -27
- package/dist/chunks/{location-activity-ewvgzyem.js → repository-cache-8rvetdvw.js} +13 -13
- package/dist/chunks/{location-activity-d56mnafw.js → repository-cache-8tkd114c.js} +9 -9
- package/dist/chunks/{location-activity-xxxym934.js → repository-cache-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-activity-hb3510gt.js → repository-cache-8w20q39n.js} +10 -10
- package/dist/chunks/{location-activity-zk8c4w5t.js → repository-cache-92azg307.js} +5 -5
- package/dist/chunks/{location-activity-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-activity-rdbs0tt8.js → repository-cache-94js9ang.js} +28 -28
- package/dist/chunks/{location-activity-hhc8k5d5.js → repository-cache-95rsh2yr.js} +11 -11
- package/dist/chunks/{location-activity-r688vq8x.js → repository-cache-9dxvb26p.js} +11 -11
- package/dist/chunks/{location-activity-e8snqq2r.js → repository-cache-9q2zkxzw.js} +7 -7
- package/dist/chunks/{location-activity-3z59ka3t.js → repository-cache-9z3rd8yt.js} +11 -11
- package/dist/chunks/{location-activity-x0b0awdg.js → repository-cache-9zy2j2cw.js} +16 -16
- package/dist/chunks/{location-activity-p305v1nf.js → repository-cache-a2rma4s4.js} +20 -20
- package/dist/chunks/{location-activity-0cpfg001.js → repository-cache-a2w1s5qp.js} +48 -48
- package/dist/chunks/{location-activity-9kmbd9mt.js → repository-cache-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-activity-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-0f9akkc9.js → repository-cache-ann71p2r.js} +10 -10
- package/dist/chunks/{location-activity-wqpd61v1.js → repository-cache-avz58b7a.js} +21 -21
- package/dist/chunks/{location-activity-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-qdbakdjh.js → repository-cache-b7b4ctej.js} +5 -5
- package/dist/chunks/{location-activity-hfja1tsc.js → repository-cache-b7evj62n.js} +24 -24
- package/dist/chunks/{location-activity-pvs6fqv6.js → repository-cache-bc1drp7w.js} +21 -21
- package/dist/chunks/{location-activity-cmwkp3r5.js → repository-cache-br0tr5aq.js} +8 -8
- package/dist/chunks/{location-activity-r12j57sn.js → repository-cache-c80bcpkz.js} +5 -5
- package/dist/chunks/{location-activity-g8f1nww0.js → repository-cache-ccd57ky6.js} +15 -15
- package/dist/chunks/{location-activity-ct4mjmkm.js → repository-cache-cd6bmxb7.js} +18 -18
- package/dist/chunks/{location-activity-j7twtagn.js → repository-cache-cdf7n074.js} +9 -9
- package/dist/chunks/{location-activity-4z3jq6v9.js → repository-cache-cenxd33d.js} +32 -32
- package/dist/chunks/{location-activity-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-activity-hkfg6fzm.js → repository-cache-cr07tj7n.js} +5 -5
- package/dist/chunks/{location-activity-cgfzvakx.js → repository-cache-cssfr7rf.js} +33 -33
- package/dist/chunks/{location-activity-p0gwq84d.js → repository-cache-d5h09cnz.js} +3 -3
- package/dist/chunks/{location-activity-w9yg01yk.js → repository-cache-d6tzdhy2.js} +11 -11
- package/dist/chunks/{location-activity-1kggeejj.js → repository-cache-daxk1szt.js} +26 -26
- package/dist/chunks/{location-activity-xf0nr9dv.js → repository-cache-dbv05mm3.js} +4 -4
- package/dist/chunks/{location-activity-dh670703.js → repository-cache-de0jw3qm.js} +10 -10
- package/dist/chunks/{location-activity-6pzy1a9a.js → repository-cache-de5yg9f9.js} +15 -15
- package/dist/chunks/{location-activity-y71avatq.js → repository-cache-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-qgrqny45.js → repository-cache-dsd739fb.js} +20 -20
- package/dist/chunks/{location-activity-sy8g0x3h.js → repository-cache-dvzrxbsj.js} +25 -25
- package/dist/chunks/{location-activity-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-activity-r9t00hsy.js → repository-cache-ednp5hmx.js} +8 -8
- package/dist/chunks/{location-activity-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-x2wb27pg.js → repository-cache-eh2mspr1.js} +15 -15
- package/dist/chunks/{location-activity-m8xjcd8p.js → repository-cache-engkf0xy.js} +6 -6
- package/dist/chunks/{location-activity-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-7mbd7k1y.js → repository-cache-ex6p1v7c.js} +6 -6
- package/dist/chunks/{location-activity-kjhjjdm4.js → repository-cache-eypvmx01.js} +17 -17
- package/dist/chunks/{location-activity-syf57q56.js → repository-cache-f29mbr7f.js} +4 -4
- package/dist/chunks/repository-cache-f2zhp4xq.js +26 -0
- package/dist/chunks/{location-activity-krrw8gsp.js → repository-cache-fbhw4wv7.js} +20 -20
- package/dist/chunks/{location-activity-z1x1gfhs.js → repository-cache-fd1wgf4c.js} +22 -22
- package/dist/chunks/{location-activity-rbr1ba9y.js → repository-cache-fdjyeynq.js} +6 -6
- package/dist/chunks/{location-activity-9hdv76r7.js → repository-cache-fqnfbc6e.js} +15 -15
- package/dist/chunks/{location-activity-a1wt7dn2.js → repository-cache-frqnjdcx.js} +24 -24
- package/dist/chunks/{location-activity-543samen.js → repository-cache-fzytvzc7.js} +16 -16
- package/dist/chunks/{location-activity-mjymc32g.js → repository-cache-g190xswt.js} +4 -4
- package/dist/chunks/{location-activity-p0zhhjrw.js → repository-cache-g56bqvsh.js} +34 -34
- package/dist/chunks/{location-activity-cwa6csj7.js → repository-cache-g6q9qykm.js} +9 -9
- package/dist/chunks/{location-activity-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-t7tyx60j.js → repository-cache-ger7gmny.js} +27 -27
- package/dist/chunks/{location-activity-cdmv03c1.js → repository-cache-gfj9m061.js} +13 -13
- package/dist/chunks/{location-activity-p1884n00.js → repository-cache-gp490jqz.js} +8 -8
- package/dist/chunks/{location-activity-bex4hgfv.js → repository-cache-gqbzbbqn.js} +11 -11
- package/dist/chunks/{location-activity-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-5zfnesw8.js → repository-cache-h4kyasgq.js} +27 -27
- package/dist/chunks/{location-activity-y3bb7t5e.js → repository-cache-h4ps4sj8.js} +7 -7
- package/dist/chunks/{location-activity-nxrarche.js → repository-cache-h4txc3jc.js} +5 -5
- package/dist/chunks/{location-activity-y5zh0atg.js → repository-cache-h62cd3wx.js} +6 -6
- package/dist/chunks/{location-activity-h6r3nrb9.js → repository-cache-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-activity-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-3v15n266.js → repository-cache-hpm09z4s.js} +22 -22
- package/dist/chunks/{location-activity-jnwhj7yt.js → repository-cache-hre11n8q.js} +9 -9
- package/dist/chunks/{location-activity-cjmgsq5e.js → repository-cache-hv03xkvj.js} +14 -14
- package/dist/chunks/{location-activity-mgnybjyp.js → repository-cache-j4jqcffg.js} +47 -47
- package/dist/chunks/{location-activity-9gc7vjkx.js → repository-cache-j4mm37g8.js} +4 -4
- package/dist/chunks/{location-activity-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-0996nyz8.js → repository-cache-j58c5xyq.js} +9 -9
- package/dist/chunks/{location-activity-mf9m2v67.js → repository-cache-jexxy024.js} +3 -3
- package/dist/chunks/{location-activity-kwjgkwej.js → repository-cache-jjjjkqdk.js} +18 -18
- package/dist/chunks/{location-activity-f73rjn58.js → repository-cache-jvf3yq6v.js} +4 -4
- package/dist/chunks/{location-activity-nraks1dr.js → repository-cache-jzy4k8ae.js} +12 -12
- package/dist/chunks/{location-activity-k1qrnqst.js → repository-cache-k1qrnqst.js} +1 -1
- package/dist/chunks/{location-activity-nzks3jc8.js → repository-cache-k3c624dm.js} +3 -3
- package/dist/chunks/{location-activity-w3h9rmhg.js → repository-cache-k8rhextm.js} +46 -46
- package/dist/chunks/{location-activity-yarc8zna.js → repository-cache-kyabrh60.js} +23 -23
- package/dist/chunks/{location-activity-zdbhsfnw.js → repository-cache-kzeadhdf.js} +15 -15
- package/dist/chunks/{location-activity-cx34d9wd.js → repository-cache-m0vw8bcc.js} +11 -11
- package/dist/chunks/{location-activity-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-3g74j2m4.js → repository-cache-m6t25yxw.js} +45 -45
- package/dist/chunks/{location-activity-6s622yr1.js → repository-cache-m76ak856.js} +12 -12
- package/dist/chunks/{location-activity-fp4vakyq.js → repository-cache-m90fhazv.js} +28 -28
- package/dist/chunks/{location-activity-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-gn3n43j7.js → repository-cache-mae0jmk3.js} +18 -18
- package/dist/chunks/{location-activity-4n830rq0.js → repository-cache-mb5ynwt8.js} +27 -27
- package/dist/chunks/{location-activity-c2b0a5hv.js → repository-cache-mcyyrr5k.js} +19 -19
- package/dist/chunks/{location-activity-0c4a10mq.js → repository-cache-mecya7nw.js} +9 -9
- package/dist/chunks/{location-activity-ys6jnmbc.js → repository-cache-mksgfzgs.js} +8 -8
- package/dist/chunks/{location-activity-rmjn6g9n.js → repository-cache-mmm9tkaz.js} +20 -20
- package/dist/chunks/{location-activity-xhysamsz.js → repository-cache-mmvzmsg4.js} +10 -10
- package/dist/chunks/{location-activity-nrewq54w.js → repository-cache-mp442rew.js} +24 -24
- package/dist/chunks/{location-activity-07770t2t.js → repository-cache-mqzwkyay.js} +6 -6
- package/dist/chunks/{location-activity-8kp1k5ps.js → repository-cache-ms63ke08.js} +28 -28
- package/dist/chunks/{location-activity-2px4r9gg.js → repository-cache-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-activity-g1q0qwac.js → repository-cache-mzppa8ta.js} +33 -33
- package/dist/chunks/{location-activity-sxhaxdsn.js → repository-cache-naa9ps5d.js} +8 -8
- package/dist/chunks/{location-activity-4v89dqmj.js → repository-cache-nb9cp8r9.js} +14 -14
- package/dist/chunks/{location-activity-nysy6sp5.js → repository-cache-nhwg6c1p.js} +2 -2
- package/dist/chunks/{location-activity-xfsbkaye.js → repository-cache-njd2epf3.js} +89 -89
- package/dist/chunks/{location-activity-q5t0te5a.js → repository-cache-nqnxh7mc.js} +6 -6
- package/dist/chunks/{location-activity-07wfsmpr.js → repository-cache-p9r301nf.js} +4 -4
- package/dist/chunks/{location-activity-tcgrsnf7.js → repository-cache-pbn1wd6z.js} +1 -1
- package/dist/chunks/{location-activity-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-q2b1ymqp.js → repository-cache-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-activity-nscznvay.js → repository-cache-pnv527nz.js} +9 -9
- package/dist/chunks/{location-activity-2eabpvfh.js → repository-cache-pp9kfcev.js} +15 -15
- package/dist/chunks/{location-activity-6pc27hjz.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{location-activity-yad8aem9.js → repository-cache-q5862mkf.js} +50 -50
- package/dist/chunks/{location-activity-d35a5v29.js → repository-cache-q68kj198.js} +15 -15
- package/dist/chunks/{location-activity-wsy9hj9j.js → repository-cache-q8a22tjh.js} +147 -147
- package/dist/chunks/{location-activity-zhk4zx0p.js → repository-cache-q8ha9487.js} +35 -35
- package/dist/chunks/{location-activity-zrv7nm7e.js → repository-cache-qbf4b4ne.js} +36 -36
- package/dist/chunks/repository-cache-qc068m1q.js +18 -0
- package/dist/chunks/{location-activity-trpnn8yx.js → repository-cache-qc3t3aka.js} +10 -10
- package/dist/chunks/{location-activity-qs4mz5f3.js → repository-cache-qfr8erz8.js} +2 -2
- package/dist/chunks/{location-activity-2xgpccdx.js → repository-cache-qj04qr5m.js} +16 -16
- package/dist/chunks/{location-activity-1r0mgmnx.js → repository-cache-qmys0th1.js} +28 -28
- package/dist/chunks/{location-activity-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-cvcab3e7.js → repository-cache-qy8njgtj.js} +1 -1
- package/dist/chunks/{location-activity-29m2xxjn.js → repository-cache-r6ryweq5.js} +14 -14
- package/dist/chunks/{location-activity-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-427t97hr.js → repository-cache-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-a3c7ahw6.js → repository-cache-rk7s9xkn.js} +4 -4
- package/dist/chunks/{location-activity-tp8se8yv.js → repository-cache-rt54a6x5.js} +13 -13
- package/dist/chunks/{location-activity-t550f9t1.js → repository-cache-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-activity-z3nay82g.js → repository-cache-scv7p57g.js} +9 -9
- package/dist/chunks/{location-activity-911tzt7k.js → repository-cache-t1ap8zfg.js} +3 -3
- package/dist/chunks/{location-activity-1kq3kam5.js → repository-cache-t2ctsxfp.js} +26 -26
- package/dist/chunks/{location-activity-4c1fyqzy.js → repository-cache-t984fh1y.js} +40 -40
- package/dist/chunks/{location-activity-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/repository-cache-te7y3fhr.js +507 -0
- package/dist/chunks/{location-activity-x1h4eq31.js → repository-cache-tmvara0k.js} +5 -5
- package/dist/chunks/{location-activity-tz2bjj40.js → repository-cache-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-activity-y2ytve36.js → repository-cache-tpp3t0gy.js} +24 -24
- package/dist/chunks/{location-activity-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-t6w37xe3.js → repository-cache-v2907cfy.js} +32 -32
- package/dist/chunks/{location-activity-fdv30zvt.js → repository-cache-v5dkyp31.js} +7 -7
- package/dist/chunks/{location-activity-vffygzrk.js → repository-cache-vbdvtmb9.js} +35 -35
- package/dist/chunks/{location-activity-8dm8w275.js → repository-cache-vbq8pb5b.js} +16 -16
- package/dist/chunks/{location-activity-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-m82hpr9q.js → repository-cache-vj03c95h.js} +42 -42
- package/dist/chunks/{location-activity-gcb0pgp4.js → repository-cache-vjjxy6yb.js} +6 -6
- package/dist/chunks/{location-activity-n4r1a76v.js → repository-cache-vkbpj0nk.js} +3 -3
- package/dist/chunks/{location-activity-bwjpedc6.js → repository-cache-vsk39x9d.js} +24 -24
- package/dist/chunks/{location-activity-wgrwsfrd.js → repository-cache-vtvqn5z4.js} +20 -20
- package/dist/chunks/{location-activity-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{location-activity-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-activity-nbcz365w.js → repository-cache-wd844a8w.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-v9xtk2pv.js → repository-cache-whb4syhh.js} +34 -34
- package/dist/chunks/{location-activity-y79j09dr.js → repository-cache-wqr5pdt5.js} +21 -21
- package/dist/chunks/{location-activity-xz8qpa4w.js → repository-cache-wsb67xeh.js} +11 -11
- package/dist/chunks/{location-activity-v9s04r34.js → repository-cache-wvjcvcce.js} +11 -11
- package/dist/chunks/{location-activity-xs2kjjdj.js → repository-cache-wyy8ccsm.js} +1 -1
- package/dist/chunks/{location-activity-y65d65xc.js → repository-cache-wzkj2gsv.js} +25 -25
- package/dist/chunks/{location-activity-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-drwq78ky.js → repository-cache-xfkkasph.js} +4 -4
- package/dist/chunks/{location-activity-e8d32q1s.js → repository-cache-xgacp4m0.js} +5 -5
- package/dist/chunks/{location-activity-xkntkrq7.js → repository-cache-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-hv8pj2g2.js → repository-cache-xs7kd0ff.js} +4 -4
- package/dist/chunks/{location-activity-aeszd35j.js → repository-cache-xsm8rsnb.js} +20 -20
- package/dist/chunks/{location-activity-7gh5yy3z.js → repository-cache-xyq4pa26.js} +17 -17
- package/dist/chunks/{location-activity-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-k545rb98.js → repository-cache-y98nvmkd.js} +10 -10
- package/dist/chunks/{location-activity-qsb7s0x5.js → repository-cache-ydybzatt.js} +10 -10
- package/dist/chunks/{location-activity-1acjjqhc.js → repository-cache-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-activity-tdj3v69k.js → repository-cache-ypx6w206.js} +64 -64
- package/dist/chunks/{location-activity-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-fvyecsnj.js → repository-cache-ytvanp1b.js} +6 -6
- package/dist/chunks/{location-activity-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
- package/dist/chunks/{location-activity-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-e5642x4e.js → repository-cache-z7nxtzsb.js} +8 -8
- package/dist/chunks/{location-activity-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-3m3dt5rv.js → repository-cache-zprs8td4.js} +23 -23
- package/dist/chunks/{location-activity-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-rh4j9zs2.js → repository-cache-zvxrxhcq.js} +9 -9
- package/dist/chunks/{location-activity-89f9fm0d.js → repository-cache-zx6r7hdw.js} +4 -4
- package/dist/chunks/{location-activity-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-84t1kn2d.js → repository-cache-zz56t2w7.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- 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 +66 -66
- 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 +370 -370
- 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 +70 -70
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- 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 +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- 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 +78 -78
- 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 +161 -161
- 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 +350 -350
- 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 +6 -6
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +8 -8
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +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/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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-activity-3gtr08hr.js +0 -252
- package/dist/chunks/location-activity-ayng3qtk.js +0 -26
- package/dist/chunks/location-activity-ht5y0zrb.js +0 -18
- package/dist/chunks/location-activity-pazdmjb1.js +0 -507
- /package/dist/chunks/{location-activity-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-3nxcgc5r.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Service76,
|
|
12
|
+
node80,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-xyq4pa26.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./repository-cache-vbq8pb5b.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_provider3, {
|
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service75,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node79,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service76;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
349
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
-
return
|
|
350
|
+
return Service75.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-3kjs2g8p.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin36 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin3 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin3 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin36, exports_parallel };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./repository-cache-607q5haz.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-3nxcgc5r.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./repository-cache-vbq8pb5b.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info21,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service68,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info21, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info21));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service68.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node72 = makeLocationNode({
|
|
168
|
+
service: Service68,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info21, Mode2, DiffError2, Service68, node72, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./repository-cache-m90fhazv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./repository-cache-74he466x.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-ex6p1v7c.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service52;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID6.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make8();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-3nxcgc5r.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node64,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node64 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node64, exports_driver };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./repository-cache-wqr5pdt5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./repository-cache-vbq8pb5b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./repository-cache-74he466x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service51,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-56pvw0gc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service28
|
|
17
|
+
} from "./repository-cache-njd2epf3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make4
|
|
20
|
+
} from "./repository-cache-9dxvb26p.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin6
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin6 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service52;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin35 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service51;
|
|
60
|
+
const sessions = yield* Service28;
|
|
61
|
+
const agents = yield* Service74;
|
|
62
|
+
const subagents = yield* make4;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin35 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin6, exports_command };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service45 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service45, node47, exports_service2 };
|