@opencode/core 0.0.0-dev-19312 → 0.0.0-dev-19313
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 +69 -69
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{instance-00mqm9kf.js → agent-00mqm9kf.js} +1 -1
- package/dist/chunks/{instance-pew7ynfp.js → agent-01bntpam.js} +14 -14
- package/dist/chunks/{instance-gzq8gx27.js → agent-03vttnt3.js} +20 -20
- package/dist/chunks/{instance-ezw0c3qh.js → agent-05pscnh1.js} +7 -7
- package/dist/chunks/{instance-f8j8gcy8.js → agent-0ckg8k8v.js} +28 -28
- package/dist/chunks/{instance-yk2ak6d8.js → agent-0f71bw51.js} +4 -4
- package/dist/chunks/{instance-ztj0rm6a.js → agent-0gpt21h9.js} +25 -25
- package/dist/chunks/{instance-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → agent-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-dv0zdqte.js → agent-0qj9mag8.js} +31 -31
- package/dist/chunks/{instance-a4cxjx0n.js → agent-0vdhx4n4.js} +16 -16
- package/dist/chunks/{instance-a9r0cd7h.js → agent-0xtda7eg.js} +14 -14
- package/dist/chunks/{instance-hfkm0xqc.js → agent-145gf29f.js} +43 -43
- package/dist/chunks/{instance-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-1dfhrqqs.js → agent-1dfhrqqs.js} +2 -2
- package/dist/chunks/{instance-ktndeztc.js → agent-1j8z698y.js} +29 -29
- package/dist/chunks/{instance-q47s3gkn.js → agent-1ph7jn3s.js} +44 -44
- package/dist/chunks/{instance-yz0abg76.js → agent-1rc6tasv.js} +27 -27
- package/dist/chunks/{instance-3dfxe9v5.js → agent-1v81bbrf.js} +28 -28
- package/dist/chunks/{instance-1ygqh575.js → agent-1ygqh575.js} +2 -2
- package/dist/chunks/{instance-21r38tys.js → agent-21r38tys.js} +1 -1
- package/dist/chunks/{instance-z8db85t7.js → agent-22szkbee.js} +13 -13
- package/dist/chunks/{instance-fw2hnj19.js → agent-231geeb1.js} +15 -15
- package/dist/chunks/{instance-6h73sxmp.js → agent-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-gsx0ryk4.js → agent-2bt6bea8.js} +9 -9
- package/dist/chunks/{instance-t0fxg8b9.js → agent-2f0bjgcj.js} +5 -5
- package/dist/chunks/{instance-9kt49dv5.js → agent-2g1m3br9.js} +2 -2
- package/dist/chunks/{instance-0jwsre1p.js → agent-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-7m5f9412.js → agent-2n295dmf.js} +8 -8
- package/dist/chunks/{instance-wtkjyqjf.js → agent-2pqfh10d.js} +22 -22
- package/dist/chunks/{instance-xqrmy91b.js → agent-2vbg8t8g.js} +6 -6
- package/dist/chunks/{instance-3c0qrp0f.js → agent-2yvkj6w5.js} +10 -10
- package/dist/chunks/{instance-nd0sb1nf.js → agent-3bbjx6wh.js} +7 -7
- package/dist/chunks/{instance-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-02prr92s.js → agent-3sy8tw0f.js} +25 -25
- package/dist/chunks/{instance-nq2fgdnn.js → agent-3tfhdg6x.js} +27 -27
- package/dist/chunks/{instance-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-cgd1k2r0.js → agent-3xgyx5eq.js} +9 -9
- package/dist/chunks/{instance-shh6fz4q.js → agent-3ythc6yv.js} +4 -4
- package/dist/chunks/{instance-rb9420nd.js → agent-4033vwmp.js} +8 -8
- package/dist/chunks/{instance-4066mr2m.js → agent-4066mr2m.js} +1 -1
- package/dist/chunks/{instance-15gnn6as.js → agent-45hfn423.js} +8 -8
- package/dist/chunks/{instance-bzk45x5e.js → agent-45mpmcw4.js} +4 -4
- package/dist/chunks/{instance-jq8ys055.js → agent-45qp2fn0.js} +6 -6
- package/dist/chunks/{instance-xdec0jgj.js → agent-4by5vbfj.js} +21 -21
- package/dist/chunks/{instance-m12hp6p6.js → agent-4y75heh9.js} +6 -6
- package/dist/chunks/{instance-vg40sz7m.js → agent-564eveaw.js} +43 -43
- package/dist/chunks/{instance-1rvhnqv5.js → agent-5apey9pa.js} +33 -33
- package/dist/chunks/{instance-dk87e9as.js → agent-5c8t33yb.js} +20 -20
- package/dist/chunks/{instance-5daktx2q.js → agent-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-5gadzevc.js → agent-5gadzevc.js} +2 -2
- package/dist/chunks/{instance-ze5v0a14.js → agent-5r1zsdx9.js} +8 -8
- package/dist/chunks/{instance-eq4db09p.js → agent-5sq3p9qn.js} +9 -9
- package/dist/chunks/{instance-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-p0p3027a.js → agent-5vybg4pe.js} +14 -14
- package/dist/chunks/{instance-ytkdpvbf.js → agent-5yyy0sjd.js} +25 -25
- package/dist/chunks/{instance-669tq793.js → agent-669tq793.js} +1 -1
- package/dist/chunks/{instance-xa73t4nm.js → agent-6bbap9ky.js} +11 -11
- package/dist/chunks/{instance-s4anq1bw.js → agent-6ea2fwcg.js} +8 -8
- package/dist/chunks/{instance-sy1rfask.js → agent-6jdywn81.js} +8 -8
- package/dist/chunks/{instance-6msgmcgs.js → agent-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-3pbjq009.js → agent-6n88yxkj.js} +8 -8
- package/dist/chunks/{instance-yxbx8b1t.js → agent-6qssrhkr.js} +18 -18
- package/dist/chunks/{instance-x6xh22k9.js → agent-6tbk88br.js} +40 -40
- package/dist/chunks/{instance-ejt8n6vs.js → agent-70arhk5y.js} +12 -12
- package/dist/chunks/{instance-71q4at8m.js → agent-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-rh63tm4e.js → agent-72tn9ghv.js} +5 -5
- package/dist/chunks/{instance-penyehcw.js → agent-76m6mzhc.js} +13 -13
- package/dist/chunks/{instance-79r1wrqa.js → agent-79r1wrqa.js} +1 -1
- package/dist/chunks/{instance-nb6xeg3e.js → agent-7b0aybmk.js} +17 -17
- package/dist/chunks/{instance-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-cr3arcjg.js → agent-7qfvhy0h.js} +27 -27
- package/dist/chunks/{instance-2y34zzjz.js → agent-7w3s9kd0.js} +4 -4
- package/dist/chunks/{instance-81swgkk7.js → agent-81swgkk7.js} +2 -2
- package/dist/chunks/{instance-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-947c2fz4.js → agent-8e6k2rp7.js} +31 -31
- package/dist/chunks/{instance-8p4f9s12.js → agent-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-gebtr55s.js → agent-8ryk0bb9.js} +5 -5
- package/dist/chunks/{instance-qfp8jhvv.js → agent-915t83ht.js} +11 -11
- package/dist/chunks/{instance-wyypj47g.js → agent-9hywtg09.js} +17 -17
- package/dist/chunks/{instance-d94csp47.js → agent-9rq455fz.js} +25 -25
- package/dist/chunks/{instance-a1bz86dw.js → agent-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-aaet6srn.js → agent-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-y86t833z.js → agent-aj0w44rj.js} +26 -26
- package/dist/chunks/{instance-2aw5j9c6.js → agent-aja2rctz.js} +13 -13
- package/dist/chunks/{instance-0fkpnkf8.js → agent-aqr1mwz2.js} +48 -48
- package/dist/chunks/{instance-58gx7bcb.js → agent-aym12p6z.js} +23 -23
- package/dist/chunks/{instance-t2fc4mz5.js → agent-b27vhd2z.js} +4 -4
- package/dist/chunks/{instance-n4dpz9gx.js → agent-b2agky1f.js} +4 -4
- package/dist/chunks/{instance-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-0tdqy1rc.js → agent-bf6eak48.js} +32 -32
- package/dist/chunks/{instance-bha4atvq.js → agent-bha4atvq.js} +4 -4
- package/dist/chunks/{instance-akjy133e.js → agent-bnb5rs4k.js} +2 -2
- package/dist/chunks/{instance-fzz1ppzm.js → agent-bnbv6b5n.js} +4 -4
- package/dist/chunks/{instance-sgmah1tz.js → agent-c1a8f3t9.js} +11 -11
- package/dist/chunks/{instance-fypqkx2y.js → agent-c3gv5cfs.js} +37 -37
- package/dist/chunks/{instance-c3kepfq8.js → agent-c3kepfq8.js} +1 -1
- package/dist/chunks/{instance-1vy6qrvb.js → agent-c8mmaqea.js} +74 -74
- package/dist/chunks/{instance-pkvxpfqr.js → agent-ceb6atr1.js} +24 -24
- package/dist/chunks/{instance-cfpkc3c9.js → agent-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-ax3qdz20.js → agent-cgk552px.js} +26 -26
- package/dist/chunks/{instance-wqzt12sf.js → agent-cjm3vder.js} +9 -9
- package/dist/chunks/{instance-s3jy48p4.js → agent-cmnyk72k.js} +292 -292
- package/dist/chunks/{instance-x3et2xth.js → agent-cmwkp3r5.js} +6 -6
- package/dist/chunks/{instance-ze5ksjrg.js → agent-cpsvvjyv.js} +11 -11
- package/dist/chunks/{instance-v376vfgk.js → agent-d0xy13x7.js} +12 -12
- package/dist/chunks/{instance-dc76j9wz.js → agent-dc76j9wz.js} +1 -1
- package/dist/chunks/{instance-dcj77ap2.js → agent-dcj77ap2.js} +1 -1
- package/dist/chunks/{instance-jvf3yq6v.js → agent-ddt2bs9e.js} +4 -4
- package/dist/chunks/{instance-x0p4cgaw.js → agent-dgzt8w1j.js} +17 -17
- package/dist/chunks/{instance-zj91daq9.js → agent-dnt2jfde.js} +6 -6
- package/dist/chunks/{instance-y71avatq.js → agent-dpkg50ah.js} +4 -4
- package/dist/chunks/{instance-eaj1djv9.js → agent-eaj1djv9.js} +1 -1
- package/dist/chunks/{instance-9zvjyx10.js → agent-eatb2y4f.js} +23 -23
- package/dist/chunks/{instance-81k2kmnv.js → agent-eb5dpmq2.js} +17 -17
- package/dist/chunks/{instance-4kmdsgf5.js → agent-edq66y4v.js} +12 -12
- package/dist/chunks/{instance-qqrhxv6c.js → agent-ekqqfmy5.js} +22 -22
- package/dist/chunks/{instance-mhkvc446.js → agent-eq1pz5kg.js} +3 -3
- package/dist/chunks/{instance-1q81et77.js → agent-ercvaeqx.js} +14 -14
- package/dist/chunks/{instance-3162azsb.js → agent-etkt3jwn.js} +14 -14
- package/dist/chunks/{instance-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-z00pjy0h.js → agent-extxb87z.js} +11 -11
- package/dist/chunks/{instance-tvm9pjcv.js → agent-eyw6npvg.js} +13 -13
- package/dist/chunks/{instance-xmsv29db.js → agent-ezmxp2fw.js} +6 -6
- package/dist/chunks/{instance-f828m53h.js → agent-f828m53h.js} +2 -2
- package/dist/chunks/{instance-g4qa8rgv.js → agent-f8714f1t.js} +9 -9
- package/dist/chunks/{instance-mvevne1d.js → agent-fd02r9vy.js} +9 -9
- package/dist/chunks/{instance-bk92phqe.js → agent-fekpn3rj.js} +3 -3
- package/dist/chunks/{instance-tvyjn9ew.js → agent-fjyjdt51.js} +13 -13
- package/dist/chunks/{instance-498gcqgt.js → agent-fmedx4fv.js} +73 -73
- package/dist/chunks/{instance-e1kjazt8.js → agent-fpfadbbs.js} +18 -18
- package/dist/chunks/{instance-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-jq2qsjbc.js → agent-fzh26kez.js} +18 -18
- package/dist/chunks/{instance-k5hc94bg.js → agent-g28z69c7.js} +8 -8
- package/dist/chunks/{instance-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-ff0htmxq.js → agent-ghk9cxjs.js} +6 -6
- package/dist/chunks/{instance-wexgdxw3.js → agent-gky1ebs4.js} +9 -9
- package/dist/chunks/{instance-3cwqxzyd.js → agent-gsxcz76a.js} +22 -22
- package/dist/chunks/{instance-e0s0m8tm.js → agent-gv2384cn.js} +31 -31
- package/dist/chunks/{instance-th5km1p3.js → agent-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-h03wrkyp.js → agent-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-hgk2hpch.js → agent-h5cfsnd1.js} +11 -11
- package/dist/chunks/{instance-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-jjk7qn2b.js → agent-h7ag1f4n.js} +4 -4
- package/dist/chunks/{instance-k2z98nwc.js → agent-hdffb4y3.js} +21 -21
- package/dist/chunks/{instance-e82z9tr0.js → agent-hjt4xg1x.js} +7 -7
- package/dist/chunks/agent-ht5y0zrb.js +18 -0
- package/dist/chunks/{instance-p4eg0sk5.js → agent-j2k3e7kv.js} +8 -8
- package/dist/chunks/{instance-j56e64zr.js → agent-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-ttjyywkc.js → agent-j8th8m9t.js} +13 -13
- package/dist/chunks/{instance-dd8myhb5.js → agent-jn1he9vc.js} +26 -26
- package/dist/chunks/{instance-q04dv65n.js → agent-jqnz4664.js} +6 -6
- package/dist/chunks/{instance-s11dp4cj.js → agent-jrt7bcbp.js} +39 -39
- package/dist/chunks/{instance-smefw2pd.js → agent-jt9bk02p.js} +9 -9
- package/dist/chunks/{instance-f3ngv102.js → agent-k2h4r4s0.js} +4 -4
- package/dist/chunks/{instance-ah5t6eey.js → agent-k3z06zj8.js} +11 -11
- package/dist/chunks/{instance-1tjg7tvh.js → agent-k79tzb9n.js} +5 -5
- package/dist/chunks/{instance-k7d0894y.js → agent-k7d0894y.js} +3 -3
- package/dist/chunks/{instance-avgac2hf.js → agent-kdf9acwq.js} +13 -13
- package/dist/chunks/{instance-kg06axw8.js → agent-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-kmv022h3.js → agent-kmv022h3.js} +1 -1
- package/dist/chunks/{instance-zmbrasps.js → agent-knt3nv8b.js} +14 -14
- package/dist/chunks/{instance-aead911t.js → agent-kt4dv5sv.js} +19 -19
- package/dist/chunks/{instance-8pngxq2x.js → agent-kt5w8vxh.js} +10 -10
- package/dist/chunks/{instance-ydgpny73.js → agent-kwrj4bhx.js} +64 -64
- package/dist/chunks/{instance-rzsfqk7r.js → agent-m7datmk4.js} +22 -22
- package/dist/chunks/{instance-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-jx1r5ssp.js → agent-maqbyd0v.js} +3 -3
- package/dist/chunks/{instance-mkcjrzeh.js → agent-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-fncmky5k.js → agent-mkrd6xay.js} +7 -7
- package/dist/chunks/{instance-85nckw6s.js → agent-mm86a3mw.js} +6 -6
- package/dist/chunks/{instance-ftqydj17.js → agent-msmh6kw4.js} +8 -8
- package/dist/chunks/{instance-j5c3q8h5.js → agent-mxfqwjtw.js} +6 -6
- package/dist/chunks/{instance-j2m4m1t4.js → agent-mye54dae.js} +29 -29
- package/dist/chunks/{instance-qk6tq941.js → agent-n3ah63sv.js} +2 -2
- package/dist/chunks/{instance-53x3k2qp.js → agent-n7v28ze5.js} +4 -4
- package/dist/chunks/{instance-w1w0h0f3.js → agent-nfbznntq.js} +15 -15
- package/dist/chunks/{instance-z5szsvcr.js → agent-nfnqtnrv.js} +8 -8
- package/dist/chunks/{instance-76myzc3f.js → agent-p28nmw69.js} +4 -4
- package/dist/chunks/{instance-p72z5xx6.js → agent-p72z5xx6.js} +2 -2
- package/dist/chunks/{instance-2bb7w9kh.js → agent-pd73jete.js} +10 -10
- package/dist/chunks/{instance-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-hjkq1yva.js → agent-pkhmkcjw.js} +13 -13
- package/dist/chunks/{instance-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{instance-bct739vz.js → agent-pmr4s4kc.js} +4 -4
- package/dist/chunks/{instance-6p1mk903.js → agent-pvhhpkrd.js} +47 -47
- package/dist/chunks/{instance-jzqz1400.js → agent-pwjvtgsd.js} +20 -20
- package/dist/chunks/agent-qapv375x.js +4 -0
- package/dist/chunks/{instance-qcfsefxz.js → agent-qcfsefxz.js} +2 -2
- package/dist/chunks/{instance-m51efdwf.js → agent-qd28dtkm.js} +3 -3
- package/dist/chunks/{instance-eh1hkw2t.js → agent-qgj181pa.js} +43 -43
- package/dist/chunks/{instance-n1wztqq6.js → agent-qpt75jd3.js} +2 -2
- package/dist/chunks/{instance-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-j15mfg1p.js → agent-r33ff4dw.js} +4 -4
- package/dist/chunks/{instance-hm0vq5pv.js → agent-rb6q1sz1.js} +5 -5
- package/dist/chunks/{instance-za6kma0e.js → agent-rcvxh0jb.js} +15 -15
- package/dist/chunks/{instance-rfnzy394.js → agent-rfnzy394.js} +1 -1
- package/dist/chunks/{instance-0fh0h7pk.js → agent-rpkzk8t6.js} +22 -22
- package/dist/chunks/{instance-jj4bmggp.js → agent-rsfm3p45.js} +8 -8
- package/dist/chunks/{instance-a64ekrmv.js → agent-rw2atv5h.js} +7 -7
- package/dist/chunks/{instance-rz0qknjf.js → agent-rz0qknjf.js} +1 -1
- package/dist/chunks/{instance-3y6p9bpe.js → agent-sf54pryb.js} +32 -32
- package/dist/chunks/{instance-8jpcqb93.js → agent-sqpsd4tc.js} +7 -7
- package/dist/chunks/{instance-p44d8wdy.js → agent-sra9araw.js} +5 -5
- package/dist/chunks/{instance-8qhww77c.js → agent-sv2dresp.js} +9 -9
- package/dist/chunks/{instance-5kptn8c0.js → agent-t0x5rdq8.js} +9 -9
- package/dist/chunks/{instance-t69nnh3p.js → agent-t69nnh3p.js} +1 -1
- package/dist/chunks/agent-t8evbnyf.js +247 -0
- package/dist/chunks/{instance-n41t7tqk.js → agent-t8tthf19.js} +19 -19
- package/dist/chunks/{instance-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-m5m2byhr.js → agent-tbvmpry9.js} +20 -20
- package/dist/chunks/{instance-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-1j6kaabx.js → agent-tdqs3pre.js} +11 -11
- package/dist/chunks/{instance-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{instance-fdrxk5eh.js → agent-tmehws9p.js} +13 -13
- package/dist/chunks/{instance-0fmyca4z.js → agent-tmv1344r.js} +33 -33
- package/dist/chunks/{instance-6bma3c50.js → agent-tpw2t7ss.js} +5 -5
- package/dist/chunks/{instance-cq53x2q6.js → agent-trcqvecf.js} +9 -9
- package/dist/chunks/{instance-mscy8054.js → agent-tv1ckk6f.js} +9 -9
- package/dist/chunks/{instance-tvtrv512.js → agent-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-33dwjbkd.js → agent-v0mb9n88.js} +11 -11
- package/dist/chunks/{instance-vwkptsq1.js → agent-v4025nqw.js} +18 -18
- package/dist/chunks/{instance-pmar23ha.js → agent-v6byyd4w.js} +18 -18
- package/dist/chunks/{instance-50tjd5x0.js → agent-vbh1ypv3.js} +46 -46
- package/dist/chunks/{instance-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-qy5as2cw.js → agent-vg9wvx5r.js} +5 -5
- package/dist/chunks/{instance-fd5dxjst.js → agent-vjj3a5vm.js} +15 -15
- package/dist/chunks/{instance-01m43tcd.js → agent-vt1ntypg.js} +6 -6
- package/dist/chunks/{instance-vzcthcp8.js → agent-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-w1k39n5e.js → agent-w1k39n5e.js} +1 -1
- package/dist/chunks/{instance-9e5nbte5.js → agent-w1r7b0c2.js} +19 -19
- package/dist/chunks/{instance-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-yjptyezs.js → agent-wbkyxrgf.js} +5 -5
- package/dist/chunks/{instance-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{instance-e9cy62py.js → agent-wdby5any.js} +4 -4
- package/dist/chunks/{instance-v3hh4rxq.js → agent-wdgktj1s.js} +11 -11
- package/dist/chunks/{instance-8f3y3fjc.js → agent-we20acdp.js} +9 -9
- package/dist/chunks/{instance-s216njt5.js → agent-wjevpkyy.js} +7 -7
- package/dist/chunks/{instance-nfv8fav6.js → agent-wpsa4a75.js} +31 -31
- package/dist/chunks/{instance-wt8d0ad1.js → agent-wzd9e1mh.js} +17 -17
- package/dist/chunks/{instance-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-x43y2vfs.js → agent-x43y2vfs.js} +2 -2
- package/dist/chunks/{instance-dqnm4g3a.js → agent-xnvn8fy3.js} +12 -12
- package/dist/chunks/{instance-hskvv487.js → agent-xp8dkk78.js} +26 -26
- package/dist/chunks/{instance-szm1m0zv.js → agent-xvbwxx90.js} +23 -23
- package/dist/chunks/{instance-hwh1rkay.js → agent-xxf16dbw.js} +1 -1
- package/dist/chunks/{instance-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-wpk4n09p.js → agent-y69m1bmv.js} +26 -26
- package/dist/chunks/{instance-4wjenyrf.js → agent-y7793xqn.js} +8 -8
- package/dist/chunks/{instance-p0qtp96g.js → agent-y843vjgg.js} +26 -26
- package/dist/chunks/{instance-9jdakqgh.js → agent-ygkgm02b.js} +12 -12
- package/dist/chunks/{instance-pjbxazhx.js → agent-yjnh3t2j.js} +27 -27
- package/dist/chunks/{instance-f2n192rq.js → agent-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-p64wmhee.js → agent-yq62dd86.js} +31 -31
- package/dist/chunks/{instance-ytp6sm1e.js → agent-yqw0kn6c.js} +30 -30
- package/dist/chunks/{instance-yrhqyw5v.js → agent-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → agent-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-0wzmrwkd.js → agent-yvse0e0q.js} +16 -16
- package/dist/chunks/{instance-4000ta01.js → agent-yyzejswp.js} +10 -10
- package/dist/chunks/{instance-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-s9d0w252.js → agent-z2t3hhhz.js} +16 -16
- package/dist/chunks/{instance-60z2cpgg.js → agent-z4bb8yc5.js} +3 -3
- package/dist/chunks/{instance-z63w68vq.js → agent-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-z7xj2rat.js → agent-z7xj2rat.js} +1 -1
- package/dist/chunks/{instance-g88n7je5.js → agent-z82vs6a1.js} +10 -10
- package/dist/chunks/{instance-je42t0w9.js → agent-z8c5q07m.js} +32 -32
- package/dist/chunks/{instance-0wyznna1.js → agent-z9mkyr21.js} +134 -134
- package/dist/chunks/{instance-zeh9ct20.js → agent-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-z1f4gy9p.js → agent-zerdtc7d.js} +4 -4
- package/dist/chunks/{instance-eeqcfs9e.js → agent-zf76dbgv.js} +11 -11
- package/dist/chunks/{instance-q0pbtp0k.js → agent-zgx3f8b2.js} +9 -9
- package/dist/chunks/{instance-stc7m7tv.js → agent-zj1vzqje.js} +26 -26
- package/dist/chunks/{instance-16aytt1n.js → agent-zmyx8htp.js} +5 -5
- package/dist/chunks/{instance-8ytfm0cx.js → agent-zn8hc1sy.js} +13 -13
- package/dist/chunks/{instance-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +4 -4
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +70 -70
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +94 -94
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +1 -1
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- 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 +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/instance-1x11rq2a.js +0 -18
- package/dist/chunks/instance-c6pebpj5.js +0 -247
- package/dist/chunks/instance-z926abd4.js +0 -4
- /package/dist/chunks/{instance-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-2f04pwep.js → agent-2f04pwep.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → agent-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a1tpkmh4.js → agent-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → agent-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → agent-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → agent-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → agent-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./agent-d0xy13x7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./agent-wpsa4a75.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
15
|
node81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-bnb5rs4k.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service64,
|
|
19
|
+
node67
|
|
20
|
+
} from "./agent-hdffb4y3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service54,
|
|
24
|
+
node57
|
|
25
|
+
} from "./agent-3tfhdg6x.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service53,
|
|
34
|
+
node56
|
|
35
|
+
} from "./agent-7qfvhy0h.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service31,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured2,
|
|
66
|
+
layer: () => layer13,
|
|
67
|
+
node: () => node35
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options2 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
178
|
+
const environment = yield* Service64;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service54;
|
|
181
|
+
const integration = yield* Service53;
|
|
182
|
+
const credentials = yield* Service67;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID6.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service31.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured2(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node81,
|
|
712
|
+
service: Service31,
|
|
713
|
+
layer: layer13(options),
|
|
714
|
+
deps: [node81, node67, node84, node57, node56, node71]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node35 = configured2();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options2, layer13, configured2, node35, exports_mcp4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./agent-d0xy13x7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-bnb5rs4k.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info7,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service43,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service76;
|
|
53
|
-
const bus = yield*
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service43.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node46 = makeLocationNode({
|
|
165
|
+
service: Service43,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node, node81,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service43, node46, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-4y75heh9.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-z4bb8yc5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info20
|
|
7
|
+
} from "./agent-k2h4r4s0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info19
|
|
10
|
+
} from "./agent-6n88yxkj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info18
|
|
13
|
+
} from "./agent-2f0bjgcj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info16
|
|
16
|
+
} from "./agent-b27vhd2z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info14
|
|
19
|
+
} from "./agent-7w3s9kd0.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info17
|
|
25
|
+
} from "./agent-r33ff4dw.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info21
|
|
28
|
+
} from "./agent-sra9araw.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info15
|
|
34
|
+
} from "./agent-wbkyxrgf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info13
|
|
40
|
+
} from "./agent-pmr4s4kc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./agent-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info12,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info12 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info19), plan: Schema.optional(Info19) }), [Schema.Record(Schema.String, Info19)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info19),
|
|
119
|
+
build: Schema.optional(Info19),
|
|
120
|
+
general: Schema.optional(Info19),
|
|
121
|
+
explore: Schema.optional(Info19),
|
|
122
|
+
title: Schema.optional(Info19),
|
|
123
|
+
summary: Schema.optional(Info19),
|
|
124
|
+
compaction: Schema.optional(Info19)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info19)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info21, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info14).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info17).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info20),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info18).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info12, exports_config2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-sqpsd4tc.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry4,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info17,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info17, exports_lsp };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-xxf16dbw.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-4y75heh9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-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: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service41,
|
|
3
|
+
node44,
|
|
4
|
+
canonical3
|
|
5
|
+
} from "./agent-yyzejswp.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service38,
|
|
8
|
+
node41
|
|
9
|
+
} from "./agent-ghk9cxjs.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-t8evbnyf.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service41, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -32,21 +32,21 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
32
32
|
}, { idleTimeToLive: Duration.infinity });
|
|
33
33
|
const map = {
|
|
34
34
|
...inner,
|
|
35
|
-
get: (ref) => inner.get(
|
|
36
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
37
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
35
|
+
get: (ref) => inner.get(canonical3(ref)),
|
|
36
|
+
contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
|
|
37
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
|
|
38
38
|
invalidate: (ref) => Effect.suspend(() => {
|
|
39
|
-
const key =
|
|
39
|
+
const key = canonical3(ref);
|
|
40
40
|
MutableHashMap.remove(booting, key);
|
|
41
41
|
return inner.invalidate(key);
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node41.replace(Layer.succeed(Service38, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node44.replace(Layer.succeed(Service41, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|