@opencode/core 0.0.0-dev-20640 → 0.0.0-dev-20644
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 +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{kv-pgdq0m2s.js → reference-04j0x0ww.js} +6 -6
- package/dist/chunks/{kv-wh3mwy9y.js → reference-05xfxpq7.js} +5 -5
- package/dist/chunks/{kv-04bfvmpq.js → reference-0aacj8rv.js} +3 -3
- package/dist/chunks/{kv-hcbveym2.js → reference-0anetptk.js} +11 -11
- package/dist/chunks/{kv-8bk2q5by.js → reference-0ev02b6f.js} +16 -16
- package/dist/chunks/{kv-rf80fxgj.js → reference-0nde5ztd.js} +5 -5
- package/dist/chunks/{kv-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-9kf9wkxz.js → reference-0skng5dr.js} +7 -7
- package/dist/chunks/{kv-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{kv-g549jxts.js → reference-10pc31tr.js} +42 -42
- package/dist/chunks/{kv-3ehr1n9z.js → reference-1a1xd1b3.js} +36 -36
- package/dist/chunks/{kv-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-d1ve849e.js → reference-1et4t6yv.js} +20 -20
- package/dist/chunks/reference-1sb9m88v.js +253 -0
- package/dist/chunks/{kv-bx744vwq.js → reference-1xmbdwss.js} +5 -5
- package/dist/chunks/{kv-mfqp6xfm.js → reference-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-3pbt6ms1.js → reference-2194chap.js} +15 -15
- package/dist/chunks/{kv-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-ryj782zy.js → reference-2avx1wba.js} +11 -11
- package/dist/chunks/{kv-g1sxm558.js → reference-2eegacq4.js} +8 -8
- package/dist/chunks/{kv-0y3sqs0q.js → reference-2mq34jqw.js} +2 -2
- package/dist/chunks/{kv-hmkvz94f.js → reference-2p2thyt8.js} +14 -14
- package/dist/chunks/{kv-g4sw2epc.js → reference-2wgr0bg0.js} +31 -31
- package/dist/chunks/{kv-1k745sen.js → reference-2zztsz65.js} +8 -8
- package/dist/chunks/{kv-6xtnp6pv.js → reference-3470gd9h.js} +16 -16
- package/dist/chunks/{kv-150yg2gd.js → reference-3801kdgp.js} +5 -5
- package/dist/chunks/{kv-h2b79v29.js → reference-3cegwx68.js} +2 -2
- package/dist/chunks/{kv-hydafzv0.js → reference-3eescsqs.js} +45 -45
- package/dist/chunks/{kv-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-qqmhc4xj.js → reference-3g9wyfya.js} +42 -42
- package/dist/chunks/{kv-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-bkvz5s71.js → reference-4dz5bemh.js} +4 -4
- package/dist/chunks/{kv-n72xc886.js → reference-4eekcfr3.js} +42 -42
- package/dist/chunks/{kv-vy4j84c5.js → reference-4qyddrjz.js} +12 -12
- package/dist/chunks/{kv-1f7zsz3w.js → reference-4qzt904k.js} +33 -33
- package/dist/chunks/{kv-4mtsj6py.js → reference-4r3amq6s.js} +17 -17
- package/dist/chunks/{kv-4ts7tf6z.js → reference-4ts7tf6z.js} +2 -2
- package/dist/chunks/{kv-hq1swd7v.js → reference-50eqagw9.js} +5 -5
- package/dist/chunks/{kv-xve1yjb3.js → reference-52jg0a30.js} +15 -15
- package/dist/chunks/{kv-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-xvc4631w.js → reference-5c42fwyc.js} +13 -13
- package/dist/chunks/{kv-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-tpw6cwsb.js → reference-5xtgfte3.js} +8 -8
- package/dist/chunks/reference-619r8v3y.js +18 -0
- package/dist/chunks/{kv-aa77x952.js → reference-61q39vzt.js} +22 -22
- package/dist/chunks/{kv-5pyjqqve.js → reference-63db42yp.js} +2 -2
- package/dist/chunks/{kv-bwaap7p9.js → reference-6c09zaff.js} +1 -1
- package/dist/chunks/{kv-6858qs0d.js → reference-6jc1b2h3.js} +13 -13
- package/dist/chunks/{kv-apeyh75a.js → reference-6jsvsf2v.js} +43 -43
- package/dist/chunks/{kv-50jx1ftv.js → reference-6t2k45be.js} +17 -17
- package/dist/chunks/{kv-y8wcetdn.js → reference-6v23mrsw.js} +11 -11
- package/dist/chunks/{kv-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{kv-r7kk08kn.js → reference-6zr4h8f4.js} +20 -20
- package/dist/chunks/{kv-90rwhrb1.js → reference-7223d1z5.js} +13 -13
- package/dist/chunks/{kv-a8vnbk5s.js → reference-72kjf32t.js} +41 -41
- package/dist/chunks/{kv-a1gpj94z.js → reference-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-e8wga5c8.js → reference-76kk80dz.js} +24 -24
- package/dist/chunks/{kv-ew12th47.js → reference-7aj7xv8n.js} +16 -16
- package/dist/chunks/{kv-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-3axgwepp.js → reference-7rpx7sq4.js} +26 -26
- package/dist/chunks/{kv-9y0z6c2k.js → reference-7sq9ks3h.js} +8 -8
- package/dist/chunks/{kv-0mxj9fd6.js → reference-7zpbt3aj.js} +9 -9
- package/dist/chunks/{kv-606mcbpt.js → reference-83t40xbf.js} +27 -27
- package/dist/chunks/{kv-00zna71j.js → reference-83xsvayb.js} +3 -3
- package/dist/chunks/{kv-144xedv6.js → reference-84gzjtx2.js} +37 -37
- package/dist/chunks/{kv-1dvck2a7.js → reference-84h8c373.js} +2 -2
- package/dist/chunks/{kv-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{kv-n2srvep7.js → reference-86qzxe6p.js} +4 -4
- package/dist/chunks/{kv-018bn4f4.js → reference-87jy24nc.js} +15 -15
- package/dist/chunks/{kv-yhgbfdfr.js → reference-88ywh4qk.js} +10 -10
- package/dist/chunks/{kv-vpjxjfws.js → reference-8bdbvaz4.js} +4 -4
- package/dist/chunks/{kv-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-mrwm8afd.js → reference-8mwpm1an.js} +15 -15
- package/dist/chunks/{kv-x61eq3et.js → reference-8t7rhgz3.js} +14 -14
- package/dist/chunks/{kv-dpfrkhds.js → reference-8tqdxazn.js} +8 -8
- package/dist/chunks/{kv-qvy3y2q7.js → reference-94xjc4x3.js} +32 -32
- package/dist/chunks/{kv-314vn2g9.js → reference-9angfs7f.js} +14 -14
- package/dist/chunks/{kv-fsh2y1zv.js → reference-9edtgxtv.js} +30 -30
- package/dist/chunks/{kv-c6sqj817.js → reference-9k28mjf9.js} +4 -4
- package/dist/chunks/{kv-pnedbpq6.js → reference-9vqr2gqg.js} +11 -11
- package/dist/chunks/{kv-jpqeh2wc.js → reference-a3c7ahw6.js} +4 -4
- package/dist/chunks/{kv-nrdmrqsx.js → reference-a8bn8zg0.js} +4 -4
- package/dist/chunks/{kv-n9tt80yh.js → reference-aabqg1yt.js} +5 -5
- package/dist/chunks/{kv-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-zcrspsvn.js → reference-afdssyjb.js} +4 -4
- package/dist/chunks/{kv-qqgnk5sa.js → reference-ag4901q7.js} +6 -6
- package/dist/chunks/{kv-f9pxsqr6.js → reference-ajgzqw9a.js} +4 -4
- package/dist/chunks/{kv-amzhydp5.js → reference-amzhydp5.js} +3 -3
- package/dist/chunks/{kv-zsp613gn.js → reference-b251r90g.js} +325 -325
- package/dist/chunks/{kv-9yev5r92.js → reference-b64x0h7w.js} +62 -62
- package/dist/chunks/{kv-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-qh99jyhd.js → reference-b7mddd13.js} +45 -45
- package/dist/chunks/{kv-hcbpprgx.js → reference-b8cf1jne.js} +1 -1
- package/dist/chunks/{kv-jg575x7y.js → reference-bpmpjnmg.js} +35 -35
- package/dist/chunks/{kv-0fgqvstr.js → reference-bpy139ph.js} +11 -11
- package/dist/chunks/{kv-a92h78km.js → reference-bvc4cg79.js} +5 -5
- package/dist/chunks/{kv-9hwaqfsw.js → reference-bx0gyb4h.js} +5 -5
- package/dist/chunks/{kv-r3s59a3c.js → reference-by0ebg82.js} +24 -24
- package/dist/chunks/{kv-0dm71e41.js → reference-bzh6v3xd.js} +15 -15
- package/dist/chunks/{kv-6w1vezwk.js → reference-c5pjp08j.js} +19 -19
- package/dist/chunks/{kv-n4grcdw5.js → reference-cag15tqf.js} +16 -16
- package/dist/chunks/{kv-jktqzjpa.js → reference-cfsekr6v.js} +8 -8
- package/dist/chunks/{kv-sfxc0p81.js → reference-cftre4vt.js} +34 -34
- package/dist/chunks/{kv-qe26s0zb.js → reference-cq9vh2fv.js} +8 -8
- package/dist/chunks/{kv-xm2v5ye2.js → reference-cqdnmg2r.js} +11 -11
- package/dist/chunks/{kv-re39fj6q.js → reference-cvnd2j5s.js} +3 -3
- package/dist/chunks/{kv-dpnnxfwt.js → reference-cyya37fe.js} +9 -9
- package/dist/chunks/{kv-291skbwy.js → reference-cznc04wa.js} +6 -6
- package/dist/chunks/{kv-9phyjc4n.js → reference-d3tcrfr2.js} +11 -11
- package/dist/chunks/{kv-906tg66d.js → reference-d8h4y8x2.js} +11 -11
- package/dist/chunks/{kv-g3ndzw54.js → reference-db7cgdsw.js} +54 -54
- package/dist/chunks/{kv-qfhmckpv.js → reference-dcb7qyjw.js} +14 -14
- package/dist/chunks/{kv-v2p84kh2.js → reference-defjrdcv.js} +88 -88
- package/dist/chunks/{kv-ygws11mx.js → reference-dkg05a5w.js} +25 -25
- package/dist/chunks/{kv-q2pzxhp3.js → reference-dppwmjh0.js} +7 -7
- package/dist/chunks/{kv-brsymgq7.js → reference-dvc89yjx.js} +8 -8
- package/dist/chunks/{kv-xr5yvd35.js → reference-dwajttkg.js} +8 -8
- package/dist/chunks/{kv-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-zsr4wwhv.js → reference-f29mbr7f.js} +4 -4
- package/dist/chunks/{kv-fhq4beaq.js → reference-f3bkb0dd.js} +25 -25
- package/dist/chunks/{kv-3v7e0nj5.js → reference-f43c2727.js} +22 -22
- package/dist/chunks/{kv-71az546q.js → reference-f75zav2x.js} +2 -2
- package/dist/chunks/{kv-ct739ed2.js → reference-fhyq4rkh.js} +36 -36
- package/dist/chunks/{kv-5h5wp7dv.js → reference-fpswryxc.js} +16 -16
- package/dist/chunks/{kv-n37c4crj.js → reference-ftjf86m5.js} +9 -9
- package/dist/chunks/{kv-wwctf8pa.js → reference-fvqj4f3c.js} +11 -11
- package/dist/chunks/{kv-w19d8598.js → reference-g5w8qwbj.js} +7 -7
- package/dist/chunks/{kv-v1m0bgap.js → reference-g9s62h09.js} +33 -33
- package/dist/chunks/{kv-f87x761z.js → reference-g9y2cd3z.js} +14 -14
- package/dist/chunks/{kv-b1vjxa7a.js → reference-gcrbmep4.js} +7 -7
- package/dist/chunks/{kv-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-k70p9jzb.js → reference-gh5z95q3.js} +9 -9
- package/dist/chunks/{kv-weef4h0t.js → reference-gjnvnc4y.js} +27 -27
- package/dist/chunks/{kv-6ze8z48e.js → reference-gpp0brcr.js} +5 -5
- package/dist/chunks/{kv-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
- package/dist/chunks/{kv-89xk2mrn.js → reference-gtzbc217.js} +21 -21
- package/dist/chunks/{kv-hxxy4jtt.js → reference-gvt3vmzy.js} +5 -5
- package/dist/chunks/{kv-gxxkvswg.js → reference-gwzp9a94.js} +7 -7
- package/dist/chunks/{kv-ryd2rdzb.js → reference-h4ckqw4f.js} +8 -8
- package/dist/chunks/{kv-28r17msq.js → reference-h5brs6ad.js} +18 -18
- package/dist/chunks/{kv-n0571dh0.js → reference-h6d45qjv.js} +18 -18
- package/dist/chunks/{kv-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/reference-hbxrrpsy.js +26 -0
- package/dist/chunks/{kv-tnxzcmvm.js → reference-he0vrkkp.js} +4 -4
- package/dist/chunks/{kv-s2xdefjk.js → reference-hgc4p3n8.js} +12 -12
- package/dist/chunks/{kv-05jdtgp8.js → reference-hgvy4kar.js} +10 -10
- package/dist/chunks/{kv-nhkczpkc.js → reference-hndc3k9c.js} +9 -9
- package/dist/chunks/{kv-htjphyk5.js → reference-ht8cmbj4.js} +17 -17
- package/dist/chunks/{kv-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-t1nf5an5.js → reference-jc4g2yrv.js} +11 -11
- package/dist/chunks/{kv-sppc6c79.js → reference-je2kf47w.js} +5 -5
- package/dist/chunks/{kv-ee8xpbar.js → reference-jnrqkn6c.js} +30 -30
- package/dist/chunks/{kv-tsq8mx3a.js → reference-jnvd0kyr.js} +9 -9
- package/dist/chunks/{kv-q95kjj2t.js → reference-jpdp1vnh.js} +24 -24
- package/dist/chunks/{kv-d5q12aqz.js → reference-k6tv6mb5.js} +4 -4
- package/dist/chunks/{kv-9e5bzkjp.js → reference-kb9j3d72.js} +3 -3
- package/dist/chunks/{kv-6r5yv9td.js → reference-kvffqfe9.js} +29 -29
- package/dist/chunks/{kv-qj944938.js → reference-m2wppme0.js} +19 -19
- package/dist/chunks/{kv-tdhpb3v5.js → reference-m39cm8ca.js} +15 -15
- package/dist/chunks/{kv-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-xbq5pdxh.js → reference-m4c3aw93.js} +29 -29
- package/dist/chunks/{kv-qey3k095.js → reference-m6rwzraj.js} +3 -3
- package/dist/chunks/{kv-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-as8ynvdv.js → reference-mhb1xyd0.js} +26 -26
- package/dist/chunks/{kv-c1eyt60v.js → reference-mp7381ha.js} +20 -20
- package/dist/chunks/{kv-hp04rdxh.js → reference-mszqqr5a.js} +8 -8
- package/dist/chunks/{kv-y2vqkag3.js → reference-nbgrff9b.js} +6 -6
- package/dist/chunks/{kv-y6d2apqa.js → reference-nfpgxjj6.js} +12 -12
- package/dist/chunks/{kv-3fj5q6bc.js → reference-nhsamrrc.js} +43 -43
- package/dist/chunks/{kv-11nb2wm6.js → reference-nk5qe5vz.js} +21 -21
- package/dist/chunks/{kv-r8xr0va3.js → reference-nkf980df.js} +4 -4
- package/dist/chunks/{kv-07t56emn.js → reference-ns7haffg.js} +85 -85
- package/dist/chunks/{kv-ebwqfc2a.js → reference-nx7bjzyg.js} +5 -5
- package/dist/chunks/{kv-dpkg50ah.js → reference-nxm207yx.js} +4 -4
- package/dist/chunks/{kv-50202j3g.js → reference-p9yds72b.js} +32 -32
- package/dist/chunks/{kv-2cwhkz2n.js → reference-pakybbh2.js} +19 -19
- package/dist/chunks/{kv-2fcn0a3n.js → reference-pg4qvhje.js} +24 -24
- package/dist/chunks/{kv-at6chbkf.js → reference-pgp5awqq.js} +23 -23
- package/dist/chunks/{kv-6w9b2v2t.js → reference-pj60644h.js} +11 -11
- package/dist/chunks/{kv-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{kv-53dxyvp1.js → reference-pqwyxwmm.js} +13 -13
- package/dist/chunks/{kv-91xts6ft.js → reference-prryrcpd.js} +54 -54
- package/dist/chunks/{kv-q0xm7vwc.js → reference-q0xm7vwc.js} +2 -2
- package/dist/chunks/{kv-797efr59.js → reference-q3m1smny.js} +13 -13
- package/dist/chunks/{kv-4hsstsq2.js → reference-q538z9pc.js} +18 -18
- package/dist/chunks/{kv-pyfe26s8.js → reference-qbe3snec.js} +10 -10
- package/dist/chunks/{kv-kykapc73.js → reference-qc6fgdwa.js} +16 -16
- package/dist/chunks/{kv-qgn6gcr1.js → reference-qgn6gcr1.js} +1 -1
- package/dist/chunks/{kv-n43tnyyv.js → reference-qjeyhcp2.js} +30 -30
- package/dist/chunks/{kv-2sejkfem.js → reference-qmqgtz8f.js} +9 -9
- package/dist/chunks/{kv-ff79g11c.js → reference-qmrj7qv4.js} +23 -23
- package/dist/chunks/{kv-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-qxjc9qry.js → reference-qxjc9qry.js} +3 -3
- package/dist/chunks/{kv-zyk1yjk8.js → reference-qygbw77c.js} +5 -5
- package/dist/chunks/{kv-8cseh6jw.js → reference-r0xwa5b9.js} +16 -16
- package/dist/chunks/{kv-dje26vdb.js → reference-r0yjwmba.js} +6 -6
- package/dist/chunks/{kv-7c9bbt45.js → reference-r656bzgr.js} +4 -4
- package/dist/chunks/{kv-jn9040r2.js → reference-r8kdp16q.js} +32 -32
- package/dist/chunks/{kv-ef5xnz50.js → reference-rb1fbfth.js} +22 -22
- package/dist/chunks/{kv-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-ncnm8wen.js → reference-rk1r2hx8.js} +1 -1
- package/dist/chunks/{kv-5rmvjxjt.js → reference-rkekhv0x.js} +20 -20
- package/dist/chunks/{kv-k318agvy.js → reference-rm3eewz3.js} +6 -6
- package/dist/chunks/{kv-ygz7vdjy.js → reference-rmg5xfkv.js} +20 -20
- package/dist/chunks/{kv-cghk8e58.js → reference-rnht7zsd.js} +20 -20
- package/dist/chunks/{kv-kpg2gynq.js → reference-rpqbf71x.js} +28 -28
- package/dist/chunks/{kv-rqwx90yh.js → reference-rpwhq6pb.js} +3 -3
- package/dist/chunks/{kv-sanedfh0.js → reference-rrk1042z.js} +32 -32
- package/dist/chunks/{kv-0gscdz11.js → reference-s3pmgr9t.js} +44 -44
- package/dist/chunks/{kv-q7fq4b4a.js → reference-s8w3rjvj.js} +30 -30
- package/dist/chunks/{kv-bebjmbk5.js → reference-scsdzjr7.js} +12 -12
- package/dist/chunks/{kv-gk37k7rf.js → reference-sgdqa063.js} +35 -35
- package/dist/chunks/{kv-vn72gsba.js → reference-sqvzcy4n.js} +4 -4
- package/dist/chunks/{kv-vx3jgdek.js → reference-ss358qx3.js} +3 -3
- package/dist/chunks/{kv-t11fnep0.js → reference-t11fnep0.js} +4 -4
- package/dist/chunks/{kv-t6vsspdg.js → reference-t2fc4mz5.js} +7 -7
- package/dist/chunks/{kv-0knbg5a8.js → reference-t2ykdevs.js} +8 -8
- package/dist/chunks/{kv-qdq3033d.js → reference-tah2dmcr.js} +15 -15
- package/dist/chunks/{kv-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-8aj500b4.js → reference-td55a9w2.js} +23 -23
- package/dist/chunks/{kv-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{kv-a5wq81es.js → reference-tdw7b37v.js} +17 -17
- package/dist/chunks/{kv-4mwpykj0.js → reference-tegs1ycp.js} +6 -6
- package/dist/chunks/{kv-3dnqr9q0.js → reference-tmcwaswb.js} +10 -10
- package/dist/chunks/{kv-fkzjdf45.js → reference-tqcqmy0z.js} +176 -176
- package/dist/chunks/{kv-2qkz3cac.js → reference-tvy4pmrp.js} +3 -3
- package/dist/chunks/{kv-vz9np6hr.js → reference-ty1kjgn1.js} +38 -38
- package/dist/chunks/{kv-vk34wx83.js → reference-tyvap7pe.js} +32 -32
- package/dist/chunks/{kv-v2yhfrn9.js → reference-v01fwtwf.js} +10 -10
- package/dist/chunks/{kv-fpecnkgp.js → reference-v0es1rhs.js} +9 -9
- package/dist/chunks/{kv-wmnwwwhc.js → reference-v9bgj935.js} +20 -20
- package/dist/chunks/{kv-59j91h7p.js → reference-veanqdwt.js} +18 -18
- package/dist/chunks/{kv-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-6443pe5d.js → reference-vpt24r21.js} +11 -11
- package/dist/chunks/{kv-504addgz.js → reference-vptjzd05.js} +12 -12
- package/dist/chunks/{kv-ey7zsb2z.js → reference-vvx487fg.js} +5 -5
- package/dist/chunks/{kv-q3djzwyg.js → reference-vyfd576n.js} +22 -22
- package/dist/chunks/{kv-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-wh6zw745.js → reference-w39jehkq.js} +5 -5
- package/dist/chunks/{kv-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-5thf4vwx.js → reference-w4xhwz3h.js} +11 -11
- package/dist/chunks/{kv-nt69khzf.js → reference-w62h0ejf.js} +16 -16
- package/dist/chunks/{kv-fz64p049.js → reference-wbtfkyzq.js} +19 -19
- package/dist/chunks/{kv-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{kv-1bf59rb9.js → reference-wfb8b895.js} +9 -9
- package/dist/chunks/{kv-9t7a50xb.js → reference-wv396vej.js} +6 -6
- package/dist/chunks/{kv-2xd3k6k6.js → reference-wz3q2ckh.js} +22 -22
- package/dist/chunks/{kv-rhvgmpzm.js → reference-x0agx93m.js} +5 -5
- package/dist/chunks/{kv-de52ckkz.js → reference-xf0nr9dv.js} +4 -4
- package/dist/chunks/{kv-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-ad98q5fk.js → reference-xm3t5kx7.js} +4 -4
- package/dist/chunks/{kv-mae0k732.js → reference-xrzsv9ds.js} +9 -9
- package/dist/chunks/{kv-yd0qngcd.js → reference-y07dqpd7.js} +13 -13
- package/dist/chunks/{kv-yhq47pcp.js → reference-y0ty5fha.js} +6 -6
- package/dist/chunks/{kv-bezhzanq.js → reference-y15vpdnr.js} +9 -9
- package/dist/chunks/{kv-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-r101cspy.js → reference-yaj5ebgj.js} +48 -48
- package/dist/chunks/{kv-tk8acvkq.js → reference-ybdpay6p.js} +17 -17
- package/dist/chunks/{kv-s1vq5vjj.js → reference-yfs5p2ka.js} +4 -4
- package/dist/chunks/{kv-y2g779vb.js → reference-ykw2g6qf.js} +20 -20
- package/dist/chunks/{kv-drmw43ea.js → reference-yt62qj12.js} +30 -30
- package/dist/chunks/{kv-1qa15gwt.js → reference-yww0r5a3.js} +15 -15
- package/dist/chunks/{kv-evpcrbn2.js → reference-yy493xsn.js} +20 -20
- package/dist/chunks/{kv-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-vnnhbf40.js → reference-za77p82n.js} +6 -6
- package/dist/chunks/{kv-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-3m2w0hrx.js → reference-zzpvks7y.js} +36 -36
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +363 -363
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- 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 +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- 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 +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- 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 +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- 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 +74 -74
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +3 -3
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- 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 +128 -128
- 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 +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +74 -74
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/kv-4639mgfq.js +0 -26
- package/dist/chunks/kv-789vsg7z.js +0 -253
- package/dist/chunks/kv-dxj72tfx.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./reference-f43c2727.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./reference-r0xwa5b9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./reference-6jsvsf2v.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-61q39vzt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./reference-gh5z95q3.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-rm3eewz3.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin44
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin44 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service45;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service46;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin16 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin44, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured5,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node46,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node46 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer17, configured5, node46, exports_app };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./reference-r0xwa5b9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
make22,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-wv396vej.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-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: () => Service33,
|
|
19
|
+
node: () => node37
|
|
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 Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service78;
|
|
29
|
+
return Service33.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make22({
|
|
32
|
-
key:
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
40
|
make22({
|
|
41
|
-
key:
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service33, node37, exports_builtins };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-w4xhwz3h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-he0vrkkp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./reference-9edtgxtv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-jnrqkn6c.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-rrk1042z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./reference-yt62qj12.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-pjvnvgmy.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/chatgpt.ts
|
|
31
31
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -37,8 +37,8 @@ var issuer = "https://auth.openai.com";
|
|
|
37
37
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
38
38
|
var resource = "https://api.openai.com/v1";
|
|
39
39
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
40
|
-
var providerID =
|
|
41
|
-
var integrationID =
|
|
40
|
+
var providerID = ID8.openai;
|
|
41
|
+
var integrationID = ID9.make("openai");
|
|
42
42
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
43
43
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
44
44
|
var fallbackModels = new Set([
|
|
@@ -174,7 +174,7 @@ var ChatGPTPlugin2 = define({
|
|
|
174
174
|
id: "opencode.provider.chatgpt",
|
|
175
175
|
effect: Effect.fn(function* (ctx) {
|
|
176
176
|
const bus = yield* Service83;
|
|
177
|
-
const credentials = yield*
|
|
177
|
+
const credentials = yield* Service70;
|
|
178
178
|
const loading = Semaphore.makeUnsafe(1);
|
|
179
179
|
let chatgpt;
|
|
180
180
|
let source;
|
|
@@ -189,7 +189,7 @@ var ChatGPTPlugin2 = define({
|
|
|
189
189
|
yield* ctx.integration.transform((editor) => {
|
|
190
190
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
191
191
|
});
|
|
192
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
192
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
|
|
193
193
|
const value = entry.value;
|
|
194
194
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
195
195
|
return Effect.void;
|
|
@@ -249,7 +249,7 @@ var ChatGPTPlugin2 = define({
|
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function headers(app) {
|
|
@@ -306,7 +306,7 @@ function deriveModels2(remote, existing) {
|
|
|
306
306
|
const found = byID.get(model.modelID);
|
|
307
307
|
return found ? [deriveModel(found, model)] : [];
|
|
308
308
|
}),
|
|
309
|
-
...remote.filter((model) => !known.has(
|
|
309
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID8.openai, ID7.make(model.slug))))
|
|
310
310
|
];
|
|
311
311
|
}
|
|
312
312
|
function deriveModel(remote, previous) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-w4xhwz3h.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin9 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin26 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin26 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin9, exports_firecrawl };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-w4xhwz3h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-he0vrkkp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./reference-9edtgxtv.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-jnrqkn6c.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./reference-dvc89yjx.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-rrk1042z.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-yt62qj12.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID3,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-qmrj7qv4.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID3
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID9.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service25;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID9.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID8.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID8.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-b8cf1jne.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-r0yjwmba.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin30,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin30 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin46 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin30, exports_opencode };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-rrk1042z.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-yt62qj12.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|