@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-qd28dtkm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./agent-d0xy13x7.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info23,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service67,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node71
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service67 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service67.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event15, Info23, Service67, node71, exports_credential };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-bnb5rs4k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service28
|
|
7
|
+
} from "./agent-ht5y0zrb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service16,
|
|
10
|
+
node20
|
|
11
|
+
} from "./agent-jrt7bcbp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node17
|
|
14
|
+
} from "./agent-5c8t33yb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node4
|
|
17
|
+
} from "./agent-6tbk88br.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node3
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
31
|
const location = yield* Service76;
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
32
|
+
const plugins = yield* Service28;
|
|
33
|
+
const worktrees = yield* Service16;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node3 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node20, node81, node17, node4]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node3, exports_refresh };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-qd28dtkm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./agent-ghk9cxjs.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-w1k39n5e.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-45hfn423.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-1rc6tasv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./agent-fmedx4fv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service38;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service21;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-qd28dtkm.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./agent-d0xy13x7.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-45hfn423.js";
|
|
19
19
|
import {
|
|
20
20
|
Service73,
|
|
21
21
|
node78
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-tpw2t7ss.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node26
|
|
26
|
+
} from "./agent-fmedx4fv.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service7,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,17 +51,17 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service7 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
64
|
+
const context = yield* Service21;
|
|
65
65
|
const store = yield* Service73;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service7.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node10 = makeLocationNode({
|
|
151
|
+
service: Service7,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node84, llmClient2, node26, node78, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service7, isUntitled2, layer5, node10, exports_title };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-qd28dtkm.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./agent-d0xy13x7.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-2f04pwep.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./agent-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service37,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node40,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service37 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service37, make17());
|
|
231
|
+
var node40 = makeGlobalNode({ service: Service37, layer: layer16, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service37, make17, layer16, node40, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-qd28dtkm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./agent-d0xy13x7.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-45hfn423.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-rfnzy394.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-1rc6tasv.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./agent-45mpmcw4.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./agent-mxfqwjtw.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./agent-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./agent-tdstcens.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./agent-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service10,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
60
|
layer: () => layer7,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node13,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
123
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
124
124
|
`).filter((line) => line.startsWith("##"));
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
127
127
|
}
|
|
128
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
129
129
|
var estimateTokens2 = (input) => {
|
|
@@ -291,8 +291,8 @@ var buildPrompt2 = (update) => {
|
|
|
291
291
|
};
|
|
292
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
293
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
294
|
-
var layer7 = Layer.effect(
|
|
295
|
-
const bus = yield*
|
|
294
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
295
|
+
const bus = yield* Service79;
|
|
296
296
|
const llm = yield* LLMClient.Service;
|
|
297
297
|
const db = (yield* Service80).db;
|
|
298
298
|
const state = create3({
|
|
@@ -574,7 +574,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
574
574
|
}
|
|
575
575
|
}));
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service10.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
enabled: () => state.get().auto,
|
|
@@ -583,10 +583,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
583
583
|
compactManual
|
|
584
584
|
});
|
|
585
585
|
}));
|
|
586
|
-
var
|
|
587
|
-
service:
|
|
586
|
+
var node13 = makeLocationNode({
|
|
587
|
+
service: Service10,
|
|
588
588
|
layer: layer7,
|
|
589
|
-
deps: [
|
|
589
|
+
deps: [node84, node85, llmClient2]
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
export {
|
|
592
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|