@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./agent-d0xy13x7.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-nfbznntq.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured5,
|
|
25
|
+
layer: () => layer18,
|
|
26
|
+
node: () => node50
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service47 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service47.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer18 = makeLayer();
|
|
259
|
+
var configured5 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service47,
|
|
261
|
+
layer: options === undefined ? layer18 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node50 = configured5();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError4, Service47, layer18, configured5, node50, exports_persistent_pty, Handoff2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical2
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical2 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical2, exports_directory };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./agent-d0xy13x7.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./agent-wpsa4a75.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-7qfvhy0h.js";
|
|
12
12
|
import {
|
|
13
13
|
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-t69nnh3p.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/opencode.ts
|
|
19
19
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
43
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
44
44
|
function oauth(http) {
|
|
45
45
|
return {
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID5.make("opencode"),
|
|
47
47
|
method: {
|
|
48
48
|
id: methodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -84,7 +84,7 @@ function oauth(http) {
|
|
|
84
84
|
var OpencodePlugin2 = define({
|
|
85
85
|
id: "opencode.provider.opencode",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
|
-
const bus = yield*
|
|
87
|
+
const bus = yield* Service79;
|
|
88
88
|
const http = yield* HttpClient.HttpClient;
|
|
89
89
|
const loading = Semaphore.makeUnsafe(1);
|
|
90
90
|
let connected = false;
|
|
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
|
|
|
111
111
|
catalog.provider.update(providerID, (provider) => {
|
|
112
112
|
if (source && source.provider !== provider)
|
|
113
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
114
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID5.make("opencode");
|
|
115
115
|
if (item.canonical !== undefined)
|
|
116
116
|
provider.canonical = item.canonical;
|
|
117
117
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
-
yield* bus.subscribe(
|
|
198
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function fetchProviders(http, value) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-dnt2jfde.js";
|
|
4
4
|
import {
|
|
5
5
|
ID11
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-t69nnh3p.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-05pscnh1.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service76,
|
|
18
18
|
node81
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-bnb5rs4k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service66,
|
|
22
|
+
node69
|
|
23
|
+
} from "./agent-y843vjgg.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service64,
|
|
33
|
+
node: () => node67
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service64,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node67,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service64 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service76;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service66;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node67 = makeLocationNode({
|
|
71
|
+
service: Service64,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node81,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node81, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service64, node67, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service28,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service28 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service28, awaitActivation2, exports_service };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-dnt2jfde.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-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: () => Plugin8,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin8 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin6 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin8, exports_tavily };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./agent-d0xy13x7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-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
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node6
|
|
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
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
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 node6 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node6, exports_sdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./agent-d0xy13x7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-tmehws9p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info26,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node75,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event17 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info26 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service70.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node75 = makeLocationNode({
|
|
112
|
+
service: Service70,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
|