@opencode/core 0.0.0-dev-19896 → 0.0.0-dev-19898
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-e8mvkq4k.js → repository-03ajav8s.js} +15 -15
- package/dist/chunks/{file-0qad3ttb.js → repository-08e6decx.js} +32 -32
- package/dist/chunks/{file-00af4kh8.js → repository-08v0y3hn.js} +8 -8
- package/dist/chunks/{file-7ygdg4wh.js → repository-0bgghbta.js} +317 -317
- package/dist/chunks/{file-w8vgje9p.js → repository-0ej8hn87.js} +9 -9
- package/dist/chunks/{file-gghxsv2g.js → repository-0fnnvvtf.js} +32 -32
- package/dist/chunks/{file-d93gxzhm.js → repository-0kwr4h1p.js} +16 -16
- package/dist/chunks/{file-tkmzzze4.js → repository-0n0z2jxy.js} +22 -22
- package/dist/chunks/{file-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-h85dz378.js → repository-0pdxzthh.js} +8 -8
- package/dist/chunks/{file-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-haa19701.js → repository-156zzd6s.js} +4 -4
- package/dist/chunks/{file-xm7z07hf.js → repository-16nrxpzh.js} +22 -22
- package/dist/chunks/{file-f8e7pbj3.js → repository-19h9n27t.js} +11 -11
- package/dist/chunks/{file-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-7ahgtxs9.js → repository-1bgmqjfz.js} +18 -18
- package/dist/chunks/{file-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-jfqtm2ew.js → repository-1g7epwpd.js} +7 -7
- package/dist/chunks/{file-gw23creq.js → repository-1k5ynee8.js} +30 -30
- package/dist/chunks/{file-bade5gr5.js → repository-1kzmjx2c.js} +3 -3
- package/dist/chunks/repository-1qq6zhmr.js +26 -0
- package/dist/chunks/{file-xfhar90w.js → repository-1yry28cj.js} +31 -31
- package/dist/chunks/{file-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → repository-2402vzrj.js} +5 -5
- package/dist/chunks/{file-nscznvay.js → repository-24dd53tp.js} +9 -9
- package/dist/chunks/{file-tac0hfxd.js → repository-25dp4z6d.js} +53 -53
- package/dist/chunks/{file-qkxsz2mg.js → repository-27th7jhh.js} +20 -20
- package/dist/chunks/{file-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-hx99ev5f.js → repository-2aj92ezp.js} +15 -15
- package/dist/chunks/{file-sw35dprj.js → repository-2ax7wrr2.js} +5 -5
- package/dist/chunks/{file-ee73fed3.js → repository-2b63vbac.js} +47 -47
- package/dist/chunks/{file-0493g1vy.js → repository-2b9gc1bn.js} +21 -21
- package/dist/chunks/{file-5n76hmjp.js → repository-2gxdjdr0.js} +5 -5
- package/dist/chunks/{file-fcrkznn8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{file-r4xn8cgd.js → repository-32eyc9pz.js} +5 -5
- package/dist/chunks/{file-vykevjvn.js → repository-35ng7dkh.js} +5 -5
- package/dist/chunks/{file-2zqpyx7j.js → repository-3dxbc1k2.js} +3 -3
- package/dist/chunks/{file-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-vx7aa5m2.js → repository-3h63p6gh.js} +27 -27
- package/dist/chunks/{file-s7y6nykf.js → repository-3hcj8h5a.js} +20 -20
- package/dist/chunks/{file-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-ymd9ngfh.js → repository-3r3w1wnb.js} +24 -24
- package/dist/chunks/{file-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-4mg090da.js → repository-3t9hcx1j.js} +27 -27
- package/dist/chunks/{file-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-04k65yr5.js → repository-3wb601pz.js} +5 -5
- package/dist/chunks/{file-2rk3cq7y.js → repository-3xtyrk98.js} +13 -13
- package/dist/chunks/{file-kztag27a.js → repository-40jd367m.js} +26 -26
- package/dist/chunks/{file-ayykrmcz.js → repository-4687882h.js} +32 -32
- package/dist/chunks/{file-x00jkr1b.js → repository-47dd7mnd.js} +44 -44
- package/dist/chunks/{file-2jwpwh9n.js → repository-48dzx0v6.js} +44 -44
- package/dist/chunks/{file-p41fbzgp.js → repository-4bycmxaz.js} +6 -6
- package/dist/chunks/{file-44h5tttr.js → repository-4dgbcxzg.js} +4 -4
- package/dist/chunks/{file-z9k7j840.js → repository-4jegkhqk.js} +14 -14
- package/dist/chunks/{file-pq65tk6f.js → repository-4qhnatmg.js} +7 -7
- package/dist/chunks/{file-4whbgcxk.js → repository-4tvtkt0r.js} +18 -18
- package/dist/chunks/{file-mxvdmhxd.js → repository-4xpxjm9m.js} +11 -11
- package/dist/chunks/{file-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{file-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{file-vsmvdy9p.js → repository-5eqe6y7x.js} +11 -11
- package/dist/chunks/{file-dqezrhz2.js → repository-5nncaxqn.js} +16 -16
- package/dist/chunks/{file-ndqtf2h8.js → repository-5qkxfyep.js} +6 -6
- package/dist/chunks/{file-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{file-n9hnzybb.js → repository-68df76cx.js} +20 -20
- package/dist/chunks/{file-40cw0428.js → repository-6dp2jh4b.js} +4 -4
- package/dist/chunks/{file-78ghsz8c.js → repository-6j0pmg7r.js} +35 -35
- package/dist/chunks/{file-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-hg6thggv.js → repository-6te9s930.js} +23 -23
- package/dist/chunks/{file-jjpeq0x6.js → repository-6zh7xxe6.js} +26 -26
- package/dist/chunks/{file-4ecc57dw.js → repository-747xp0mp.js} +47 -47
- package/dist/chunks/{file-k53nzgjr.js → repository-76sy9xf8.js} +14 -14
- package/dist/chunks/{file-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-6dmrh5a8.js → repository-7j0nqdr6.js} +24 -24
- package/dist/chunks/{file-6xapaz12.js → repository-7j8hvj8b.js} +23 -23
- package/dist/chunks/{file-zhgmxcrc.js → repository-7z2ktkw9.js} +81 -81
- package/dist/chunks/{file-6hkwt5ks.js → repository-84wmtamg.js} +21 -21
- package/dist/chunks/repository-85dxg7gk.js +252 -0
- package/dist/chunks/{file-xqc9z03y.js → repository-8aj7zczc.js} +12 -12
- package/dist/chunks/{file-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-3n6mfbkh.js → repository-8fpgymmv.js} +28 -28
- package/dist/chunks/{file-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-2dw84gmp.js → repository-8r1x53s2.js} +13 -13
- package/dist/chunks/{file-k2ceccft.js → repository-8v20qymr.js} +5 -5
- package/dist/chunks/{file-58b9fvpm.js → repository-8x9d09d3.js} +14 -14
- package/dist/chunks/{file-5eh7kyv5.js → repository-9689nk70.js} +31 -31
- package/dist/chunks/{file-56m60q16.js → repository-97h7kfy1.js} +8 -8
- package/dist/chunks/{file-bv2epnby.js → repository-988jgs45.js} +26 -26
- package/dist/chunks/{file-0e9pe9hx.js → repository-98bk72ht.js} +11 -11
- package/dist/chunks/{file-safzyg6n.js → repository-9c3z8b76.js} +16 -16
- package/dist/chunks/{file-42yzn4t5.js → repository-9e7ete8t.js} +8 -8
- package/dist/chunks/{file-7ynk84wd.js → repository-9e95qk9h.js} +55 -55
- package/dist/chunks/{file-85czmsy6.js → repository-9hrvpbwe.js} +9 -9
- package/dist/chunks/{file-w9nahaws.js → repository-9ptzfgq2.js} +11 -11
- package/dist/chunks/{file-3a13mzqq.js → repository-9tm7cnby.js} +11 -11
- package/dist/chunks/{file-5ydw7gt2.js → repository-9yyq1p31.js} +17 -17
- package/dist/chunks/{file-nbep77rb.js → repository-9zq497jr.js} +15 -15
- package/dist/chunks/{file-5c4hm403.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-0wtnvkaq.js → repository-a358nvtm.js} +9 -9
- package/dist/chunks/{file-y3qff3a1.js → repository-a7csrj9g.js} +5 -5
- package/dist/chunks/{file-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{file-v5gzehfd.js → repository-adkkytg4.js} +3 -3
- package/dist/chunks/{file-p11pfbbp.js → repository-ah0pkc8z.js} +23 -23
- package/dist/chunks/{file-57ez7d0k.js → repository-ajmg8w9c.js} +9 -9
- package/dist/chunks/{file-jca4demv.js → repository-b09hzw3k.js} +2 -2
- package/dist/chunks/{file-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-k13v7s70.js → repository-b79km0je.js} +20 -20
- package/dist/chunks/{file-d7w252zj.js → repository-bfbk1002.js} +28 -28
- package/dist/chunks/{file-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-xhd31qk1.js → repository-cj19zege.js} +5 -5
- package/dist/chunks/{file-y9heqbmp.js → repository-cjjby783.js} +30 -30
- package/dist/chunks/{file-jcemy7wp.js → repository-cmadtng6.js} +66 -66
- package/dist/chunks/{file-2tfmgkzg.js → repository-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-cwa6csj7.js → repository-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-cmwkp3r5.js → repository-czfptnv9.js} +6 -6
- package/dist/chunks/{file-ccfa4wxs.js → repository-d0k1g5nx.js} +6 -6
- package/dist/chunks/{file-3hpdt92y.js → repository-d27vxjpb.js} +13 -13
- package/dist/chunks/{file-p8tq6xht.js → repository-d28d7nnv.js} +20 -20
- package/dist/chunks/{file-mzgjcq6e.js → repository-d3cpk3py.js} +25 -25
- package/dist/chunks/{file-285smrwa.js → repository-d4jrjdy2.js} +7 -7
- package/dist/chunks/{file-d1j0qnxw.js → repository-drr72fqk.js} +18 -18
- package/dist/chunks/{file-3ktbe3hf.js → repository-e5xpd6yj.js} +6 -6
- package/dist/chunks/{file-xvfb9kxe.js → repository-e7hxwpth.js} +7 -7
- package/dist/chunks/{file-targrq6s.js → repository-e9c9m0xn.js} +6 -6
- package/dist/chunks/{file-ygwg1shg.js → repository-e9xyjmyr.js} +6 -6
- package/dist/chunks/{file-5y2rckg7.js → repository-ebahehhd.js} +6 -6
- package/dist/chunks/{file-s0bk0r1z.js → repository-edst9kjn.js} +13 -13
- package/dist/chunks/{file-d0edxsh7.js → repository-eenrddpm.js} +15 -15
- package/dist/chunks/{file-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-2wz5cap4.js → repository-ekgj01x9.js} +10 -10
- package/dist/chunks/{file-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-evbgk2k8.js → repository-evbgk2k8.js} +2 -2
- package/dist/chunks/{file-2kj4nmmg.js → repository-evfkrj3r.js} +27 -27
- package/dist/chunks/{file-vtm79yg5.js → repository-eycga54b.js} +11 -11
- package/dist/chunks/{file-atwefz46.js → repository-f0yxj968.js} +9 -9
- package/dist/chunks/{file-9m9h8fve.js → repository-f3tw885h.js} +5 -5
- package/dist/chunks/{file-hdnk95c8.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{file-px76j0pk.js → repository-fmcqyzhx.js} +9 -9
- package/dist/chunks/{file-p8s1tbxz.js → repository-fn5ac5xw.js} +26 -26
- package/dist/chunks/{file-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-9cvk2t4j.js → repository-gbccyn0s.js} +180 -180
- package/dist/chunks/{file-yrn7vwjt.js → repository-gbjvjkny.js} +11 -11
- package/dist/chunks/{file-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-gfnjd6a9.js → repository-gnx9acxh.js} +5 -5
- package/dist/chunks/{file-yvvvp4gn.js → repository-grxcxy9j.js} +8 -8
- package/dist/chunks/{file-4zn875z0.js → repository-gsep8nmr.js} +35 -35
- package/dist/chunks/{file-a313qmz8.js → repository-gtqq653r.js} +27 -27
- package/dist/chunks/{file-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-dj631km8.js → repository-gxpss1xa.js} +6 -6
- package/dist/chunks/{file-ttzf9e0x.js → repository-gyq044ef.js} +24 -24
- package/dist/chunks/{file-et91bqp9.js → repository-h0kzdnr9.js} +7 -7
- package/dist/chunks/{file-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-6t8a2cxv.js → repository-hc1zqxnq.js} +35 -35
- package/dist/chunks/{file-ead3g9p8.js → repository-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-t4ep399p.js → repository-hqt53cmn.js} +12 -12
- package/dist/chunks/{file-j7t2khjb.js → repository-hqxaqnsz.js} +11 -11
- package/dist/chunks/{file-eq0qfh2k.js → repository-hwm7e8aj.js} +38 -38
- package/dist/chunks/{file-bp02r99k.js → repository-hwvyndb6.js} +4 -4
- package/dist/chunks/{file-y1s26r5f.js → repository-hx4pgqer.js} +20 -20
- package/dist/chunks/{file-5a3rkb7m.js → repository-j3m96k93.js} +21 -21
- package/dist/chunks/{file-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{file-rtkpxbf2.js → repository-j6sswngc.js} +19 -19
- package/dist/chunks/{file-k56qavf2.js → repository-j7fpsdt2.js} +33 -33
- package/dist/chunks/{file-nwswft9z.js → repository-jbj23068.js} +1 -1
- package/dist/chunks/{file-j381zx68.js → repository-jczd64ef.js} +32 -32
- package/dist/chunks/{file-2nr7b2rh.js → repository-jv89nw97.js} +9 -9
- package/dist/chunks/{file-f3ngv102.js → repository-jw80jp6b.js} +4 -4
- package/dist/chunks/{file-t69pkn8h.js → repository-jzpydyb7.js} +14 -14
- package/dist/chunks/{file-3t889vdt.js → repository-k6s7pzm2.js} +24 -24
- package/dist/chunks/{file-ttqh24zm.js → repository-k76fn4kw.js} +4 -4
- package/dist/chunks/{file-k9kj6xed.js → repository-k9kj6xed.js} +2 -2
- package/dist/chunks/{file-kvxz1nnx.js → repository-kcafpss3.js} +10 -10
- package/dist/chunks/{file-4nwvt2ek.js → repository-kd7vez3r.js} +4 -4
- package/dist/chunks/{file-e8nv9k1e.js → repository-kg6v633v.js} +7 -7
- package/dist/chunks/{file-829kak1e.js → repository-khkheph3.js} +7 -7
- package/dist/chunks/{file-d7fqxd0w.js → repository-kmektthr.js} +20 -20
- package/dist/chunks/{file-s6c03qyq.js → repository-m38spqgz.js} +17 -17
- package/dist/chunks/{file-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-8pryv8c2.js → repository-m4wm6chx.js} +29 -29
- package/dist/chunks/{file-df6g96g5.js → repository-m5e6x1g3.js} +5 -5
- package/dist/chunks/{file-c1495ybz.js → repository-m9d03vsf.js} +8 -8
- package/dist/chunks/{file-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-w1k39n5e.js → repository-msq0jde0.js} +4 -4
- package/dist/chunks/{file-j33mnh1x.js → repository-mst8n3qf.js} +25 -25
- package/dist/chunks/{file-dkn9b9f5.js → repository-mtwknp0b.js} +9 -9
- package/dist/chunks/{file-mhstgcjq.js → repository-n63r6n5d.js} +14 -14
- package/dist/chunks/{file-wrxzva30.js → repository-n7349v29.js} +11 -11
- package/dist/chunks/repository-n95b3jav.js +18 -0
- package/dist/chunks/{file-2k71kv7p.js → repository-n9arjmkd.js} +4 -4
- package/dist/chunks/{file-hp7eqkgq.js → repository-ngph99ba.js} +2 -2
- package/dist/chunks/{file-n37c4crj.js → repository-njhqdk9p.js} +8 -8
- package/dist/chunks/{file-rph3zd4r.js → repository-nqnxh7mc.js} +6 -6
- package/dist/chunks/{file-djqf8388.js → repository-nse74gxk.js} +30 -30
- package/dist/chunks/{file-6gchxkvz.js → repository-nt7esxsj.js} +15 -15
- package/dist/chunks/{file-3ythc6yv.js → repository-nw2nz702.js} +4 -4
- package/dist/chunks/{file-3j9bgvtg.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{file-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-p28j5sbe.js → repository-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-4kqngsvt.js → repository-pa6m2t5v.js} +26 -26
- package/dist/chunks/{file-gkbem5z3.js → repository-pbrwaaym.js} +41 -41
- package/dist/chunks/{file-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{file-bem8brcd.js → repository-pqsm87s1.js} +4 -4
- package/dist/chunks/{file-4jc5c4h4.js → repository-pstg3rfm.js} +1 -1
- package/dist/chunks/{file-53bvc5b3.js → repository-q57fswbt.js} +15 -15
- package/dist/chunks/{file-1hbpk5ma.js → repository-q8ypk1e3.js} +12 -12
- package/dist/chunks/repository-qapv375x.js +4 -0
- package/dist/chunks/{file-4091at3p.js → repository-qeg0a57n.js} +4 -4
- package/dist/chunks/{file-63nnbv2k.js → repository-qftbwg1s.js} +1 -1
- package/dist/chunks/{file-g0bdsd7s.js → repository-qgsw5m5h.js} +10 -10
- package/dist/chunks/{file-510m7gjw.js → repository-qjnxxf51.js} +5 -5
- package/dist/chunks/{file-0z78d6d4.js → repository-qng17q6g.js} +9 -9
- package/dist/chunks/{file-vy9gj3hz.js → repository-qnqcwk6h.js} +10 -10
- package/dist/chunks/{file-7bsn99y2.js → repository-qrnms2rq.js} +6 -6
- package/dist/chunks/{file-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{file-bcnbwanc.js → repository-qxp26m5h.js} +17 -17
- package/dist/chunks/{file-d5jzmsg2.js → repository-r1zsm33h.js} +19 -19
- package/dist/chunks/{file-rhraev7y.js → repository-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-64tp9nsp.js → repository-rckqc9qz.js} +27 -27
- package/dist/chunks/{file-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-eaj1djv9.js → repository-rhjbct0v.js} +8 -8
- package/dist/chunks/{file-tzdy52s7.js → repository-rkn40jbr.js} +13 -13
- package/dist/chunks/{file-evsjhyqp.js → repository-rnnxe44a.js} +4 -4
- package/dist/chunks/{file-2mvmpsyq.js → repository-s9fzvpf3.js} +3 -3
- package/dist/chunks/{file-h1a82ttv.js → repository-sktfb2et.js} +32 -32
- package/dist/chunks/{file-vadan2xk.js → repository-smgr690m.js} +12 -12
- package/dist/chunks/{file-h0qt5e5y.js → repository-sndbe2vj.js} +3 -3
- package/dist/chunks/{file-24ez7j11.js → repository-ssx6an5f.js} +10 -10
- package/dist/chunks/{file-bypvmvbc.js → repository-sxe2hh18.js} +5 -5
- package/dist/chunks/{file-xgj79bh7.js → repository-t9fdrpzp.js} +24 -24
- package/dist/chunks/{file-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-wf5bnb3c.js → repository-tdmh7t0y.js} +37 -37
- package/dist/chunks/{file-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{file-a7atmr7r.js → repository-tkk5atn2.js} +20 -20
- package/dist/chunks/{file-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{file-ry1kfgw7.js → repository-tx9qah43.js} +41 -41
- package/dist/chunks/{file-r52efjxa.js → repository-txd4xrw4.js} +43 -43
- package/dist/chunks/{file-dkm5q57s.js → repository-v2p627ht.js} +87 -87
- package/dist/chunks/{file-9d4g2rgm.js → repository-v7wd1yc6.js} +3 -3
- package/dist/chunks/{file-852d7py8.js → repository-v92tbnm7.js} +13 -13
- package/dist/chunks/{file-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{file-an7cqtb7.js → repository-vncycja5.js} +4 -4
- package/dist/chunks/{file-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w1ezb4ke.js → repository-w10e1hs6.js} +16 -16
- package/dist/chunks/{file-tv8tew1t.js → repository-w1s085t3.js} +17 -17
- package/dist/chunks/{file-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-fr6sv4wz.js → repository-w9k1b9tw.js} +23 -23
- package/dist/chunks/{file-m7e4enkd.js → repository-wcjfyzwp.js} +44 -44
- package/dist/chunks/{file-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{file-de9ewzfh.js → repository-wm8pq2ft.js} +14 -14
- package/dist/chunks/{file-dq8nh84r.js → repository-wztfkr7b.js} +15 -15
- package/dist/chunks/{file-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-3149hxjv.js → repository-xa025a22.js} +16 -16
- package/dist/chunks/{file-m6nr1r89.js → repository-xcf3vq4w.js} +11 -11
- package/dist/chunks/{file-636j21cx.js → repository-xfc5qsak.js} +15 -15
- package/dist/chunks/{file-xfkkasph.js → repository-xfkkasph.js} +1 -1
- package/dist/chunks/{file-h41rq5z1.js → repository-xsr3yw12.js} +23 -23
- package/dist/chunks/{file-4brxhqy9.js → repository-xznas7s2.js} +30 -30
- package/dist/chunks/{file-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-as3hmkts.js → repository-y3x7e78c.js} +9 -9
- package/dist/chunks/{file-9xqd5pe1.js → repository-y5fdqert.js} +25 -25
- package/dist/chunks/{file-t1q5pb01.js → repository-y62pexj6.js} +4 -4
- package/dist/chunks/{file-q3t37ft6.js → repository-y6f0p4jw.js} +3 -3
- package/dist/chunks/{file-7qcewr7x.js → repository-y6mpqspj.js} +15 -15
- package/dist/chunks/{file-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{file-5sdemcz3.js → repository-ydgy0jv4.js} +8 -8
- package/dist/chunks/{file-bwm9bx21.js → repository-ygwgyd6z.js} +3 -3
- package/dist/chunks/{file-w2a5z8kt.js → repository-yhhseat7.js} +5 -5
- package/dist/chunks/{file-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-zpyz6kjf.js → repository-z39st4x2.js} +8 -8
- package/dist/chunks/{file-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{file-96vdq9fw.js → repository-z8h8vbg2.js} +15 -15
- package/dist/chunks/{file-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-xxnqwd1r.js → repository-zhfk7ysy.js} +40 -40
- package/dist/chunks/{file-1v56nqpw.js → repository-zncvfkhn.js} +19 -19
- package/dist/chunks/{file-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-2eegacq4.js → repository-zrq8kphx.js} +8 -8
- package/dist/chunks/{file-b1ers0rt.js → repository-ztvvx4d5.js} +15 -15
- package/dist/chunks/{file-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +2 -2
- 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 +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-96byh0hv.js +0 -252
- package/dist/chunks/file-dxj72tfx.js +0 -18
- package/dist/chunks/file-xb0ahqs4.js +0 -26
- /package/dist/chunks/{file-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-3dxbc1k2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-qeg0a57n.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info29,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service82).db;
|
|
55
55
|
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info29, Service75, node78, exports_credential };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-qeg0a57n.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer5, node5, exports_sdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-qeg0a57n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node37
|
|
8
|
+
} from "./repository-wcjfyzwp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./repository-9e95qk9h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service43,
|
|
15
|
+
node47
|
|
16
|
+
} from "./repository-k6s7pzm2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
|
+
layer: () => layer12,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service33;
|
|
42
|
+
const tools = yield* Service43;
|
|
43
43
|
const bus = yield* Service81;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service60;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node36 = makeLocationNode({
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node47, node37, node85, node63]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service32, layer12, node36, exports_mcp3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./repository-3r3w1wnb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service67;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info23 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info23, SessionSchema2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./repository-tkk5atn2.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service41
|
|
13
|
+
} from "./repository-40jd367m.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./repository-9c3z8b76.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin17 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service41;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service47;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin17, exports_instruction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node83,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (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 node83 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./repository-sktfb2et.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID12.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-n7349v29.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin32,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin2 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint2,
|
|
80
|
+
export { endpoint2, Plugin32, exports_tavily };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-y6f0p4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-e5xpd6yj.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cq37gk0t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-msq0jde0.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|