@opencode/core 0.0.0-dev-21846 → 0.0.0-dev-21852
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 +88 -87
- package/dist/aisdk-native.js +95 -94
- package/dist/aisdk.js +101 -100
- package/dist/app.js +5 -5
- package/dist/bus.js +78 -77
- package/dist/chunks/{event-logger-hcr59w2p.js → integration-020agrc6.js} +12 -12
- package/dist/chunks/{event-logger-qyq8h28g.js → integration-033a0jkt.js} +3 -3
- package/dist/chunks/{event-logger-034tev2y.js → integration-034tev2y.js} +2 -2
- package/dist/chunks/{event-logger-5e45vhpf.js → integration-03efvwc7.js} +12 -12
- package/dist/chunks/{event-logger-hfgk9wzg.js → integration-06w9ffrv.js} +5 -5
- package/dist/chunks/{event-logger-9n3wvgnx.js → integration-0w838cmy.js} +9 -9
- package/dist/chunks/{event-logger-11hfp36g.js → integration-11hfp36g.js} +1 -1
- package/dist/chunks/{event-logger-76x0exek.js → integration-17tscvp9.js} +7 -7
- package/dist/chunks/{event-logger-w05wnag4.js → integration-1ar2r8ht.js} +25 -25
- package/dist/chunks/{event-logger-1ep2p91f.js → integration-1ep2p91f.js} +2 -2
- package/dist/chunks/{event-logger-bm89pjym.js → integration-1n7cfpf3.js} +4 -4
- package/dist/chunks/{event-logger-py9h89e3.js → integration-1pqxvwwm.js} +4 -4
- package/dist/chunks/{event-logger-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-rwc3n5ha.js → integration-1xcpx9pg.js} +9 -9
- package/dist/chunks/{event-logger-pa2c4s26.js → integration-211qv987.js} +9 -9
- package/dist/chunks/{event-logger-qw1z0fhm.js → integration-27vjm38j.js} +16 -16
- package/dist/chunks/{event-logger-nsz1fy74.js → integration-29ceven5.js} +24 -24
- package/dist/chunks/{event-logger-d6yv52bw.js → integration-29fm5e7s.js} +23 -23
- package/dist/chunks/{event-logger-pkyv6v7h.js → integration-2beny6pf.js} +24 -0
- package/dist/chunks/{event-logger-8k393grp.js → integration-2bw432fj.js} +11 -11
- package/dist/chunks/{event-logger-pgdy3hk4.js → integration-2p76qs42.js} +11 -11
- package/dist/chunks/{event-logger-zkgq49d1.js → integration-2r67ppq4.js} +4 -4
- package/dist/chunks/{event-logger-d3172bjp.js → integration-2xbqyp7d.js} +23 -23
- package/dist/chunks/{event-logger-2z1j29yd.js → integration-2z1j29yd.js} +1 -1
- package/dist/chunks/{event-logger-djjzzs3c.js → integration-30147ds3.js} +6 -6
- package/dist/chunks/{event-logger-0421tmwc.js → integration-32s59e8p.js} +9 -9
- package/dist/chunks/{event-logger-v7whx8xf.js → integration-38r8bs6z.js} +93 -93
- package/dist/chunks/{event-logger-27jhhrve.js → integration-396yyrq3.js} +8 -8
- package/dist/chunks/{event-logger-cceq80b1.js → integration-39wcs8g0.js} +6 -6
- package/dist/chunks/{event-logger-xa8ket9v.js → integration-3gef6q7b.js} +3 -3
- package/dist/chunks/{event-logger-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-jzsjkn6k.js → integration-3kns8f35.js} +36 -36
- package/dist/chunks/{event-logger-f94cdys9.js → integration-3qn6bxmp.js} +12 -12
- package/dist/chunks/{event-logger-bebkengc.js → integration-3qq49eqf.js} +31 -31
- package/dist/chunks/{event-logger-bhy0keew.js → integration-3xym5v1x.js} +20 -20
- package/dist/chunks/{event-logger-40za9wsf.js → integration-40za9wsf.js} +2 -2
- package/dist/chunks/{event-logger-ndhy1whp.js → integration-47c5fhww.js} +11 -11
- package/dist/chunks/{event-logger-82b2vw9r.js → integration-47pdn9hb.js} +24 -24
- package/dist/chunks/{event-logger-634jkexk.js → integration-4964swp9.js} +29 -29
- package/dist/chunks/integration-4fv6fqf0.js +107 -0
- package/dist/chunks/{event-logger-ey6fb1hv.js → integration-4fxp20j0.js} +9 -9
- package/dist/chunks/{event-logger-r637f8aj.js → integration-4mw9dk18.js} +45 -45
- package/dist/chunks/{event-logger-tchdp43j.js → integration-4mzbvgrb.js} +10 -10
- package/dist/chunks/{event-logger-4v008n1t.js → integration-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-ydtzcgmr.js → integration-4vx5mm1q.js} +13 -13
- package/dist/chunks/{event-logger-hfzr0j9k.js → integration-4wqc8mqe.js} +5 -5
- package/dist/chunks/{event-logger-4xvmh7wp.js → integration-4xvmh7wp.js} +3 -3
- package/dist/chunks/{event-logger-aea1pvgg.js → integration-4y9xaxd1.js} +22 -22
- package/dist/chunks/{event-logger-0bvt8end.js → integration-4zzr4cvj.js} +8 -8
- package/dist/chunks/{event-logger-ts7mkfs9.js → integration-5epte933.js} +3 -3
- package/dist/chunks/{event-logger-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-zfpvddwp.js → integration-5mxq4ta4.js} +11 -11
- package/dist/chunks/{event-logger-vjd7290y.js → integration-5sdvqbc5.js} +10 -10
- package/dist/chunks/{event-logger-vpn2vt2x.js → integration-5ve839fw.js} +21 -21
- package/dist/chunks/{event-logger-61ennm6n.js → integration-61ennm6n.js} +1 -1
- package/dist/chunks/{event-logger-3medhgs0.js → integration-6be7m0jd.js} +4 -4
- package/dist/chunks/{event-logger-6esdw8yj.js → integration-6esdw8yj.js} +1 -1
- package/dist/chunks/{event-logger-6pjqjmy2.js → integration-6pjqjmy2.js} +1 -1
- package/dist/chunks/{event-logger-4a7w6wv5.js → integration-6pv1cy6c.js} +2 -2
- package/dist/chunks/{event-logger-8m9m34se.js → integration-75kye42g.js} +1 -1
- package/dist/chunks/{event-logger-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
- package/dist/chunks/{event-logger-6413q3zk.js → integration-7at1q1sz.js} +11 -11
- package/dist/chunks/{event-logger-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-prvq9z82.js → integration-8424f1y8.js} +9 -9
- package/dist/chunks/{event-logger-k4qk1kj8.js → integration-84nrg8k2.js} +36 -36
- package/dist/chunks/{event-logger-6gtvrv8h.js → integration-84vzjq21.js} +25 -25
- package/dist/chunks/{event-logger-r3kssq7m.js → integration-85k4gjhb.js} +32 -32
- package/dist/chunks/{event-logger-yz0vd65a.js → integration-8e8b3c1h.js} +25 -25
- package/dist/chunks/{event-logger-cmxajbhr.js → integration-8k8s1td8.js} +5 -5
- package/dist/chunks/{event-logger-r25en75t.js → integration-8qww226p.js} +4 -4
- package/dist/chunks/{event-logger-25dytkwn.js → integration-8qwwe1g8.js} +10 -10
- package/dist/chunks/{event-logger-95ym8g29.js → integration-8r1p9dw6.js} +24 -24
- package/dist/chunks/{event-logger-g35dgk87.js → integration-8s7zz8t5.js} +9 -9
- package/dist/chunks/{event-logger-k75r746g.js → integration-8t0ndcz4.js} +22 -22
- package/dist/chunks/{event-logger-7xg2jm5b.js → integration-8wc2fpae.js} +5 -5
- package/dist/chunks/{event-logger-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-91rj84md.js → integration-91rj84md.js} +1 -1
- package/dist/chunks/{event-logger-5hjaztc9.js → integration-937d7k2b.js} +13 -13
- package/dist/chunks/integration-95r0pv34.js +26 -0
- package/dist/chunks/{event-logger-yfbt421w.js → integration-979273pa.js} +9 -9
- package/dist/chunks/{event-logger-qae01say.js → integration-99wwqk9s.js} +17 -17
- package/dist/chunks/{event-logger-9cx9sm2q.js → integration-9cx9sm2q.js} +1 -1
- package/dist/chunks/{event-logger-5frnvm0n.js → integration-9jxgthx4.js} +3 -3
- package/dist/chunks/{event-logger-q5hva4fp.js → integration-9n1r2pw9.js} +29 -29
- package/dist/chunks/{event-logger-qv7y9773.js → integration-9q8g9sv8.js} +9 -9
- package/dist/chunks/{event-logger-93j7xxk9.js → integration-9w8sfqp5.js} +14 -14
- package/dist/chunks/{event-logger-jy80eej6.js → integration-9wfm676k.js} +13 -13
- package/dist/chunks/{event-logger-t9trs46v.js → integration-9xn0wmwg.js} +18 -18
- package/dist/chunks/{event-logger-p4y4xmr7.js → integration-9zfvqddt.js} +13 -13
- package/dist/chunks/{event-logger-h893gfmr.js → integration-9zjt3hbt.js} +12 -12
- package/dist/chunks/{event-logger-6bsqe872.js → integration-ad07szsv.js} +18 -18
- package/dist/chunks/{event-logger-nhaj4xxd.js → integration-aekg9zan.js} +17 -17
- package/dist/chunks/{event-logger-5k3987pr.js → integration-ag7gfhkv.js} +2 -2
- package/dist/chunks/{event-logger-zg2q4vaq.js → integration-aqnbmf10.js} +28 -28
- package/dist/chunks/{event-logger-ayjs7tqn.js → integration-ayjs7tqn.js} +2 -2
- package/dist/chunks/{event-logger-b0mv4wxm.js → integration-b0mv4wxm.js} +2 -2
- package/dist/chunks/{event-logger-ssfehs1z.js → integration-b1pn0vxn.js} +4 -4
- package/dist/chunks/{event-logger-pes7pnh1.js → integration-b28mnwwt.js} +6 -6
- package/dist/chunks/{event-logger-a8rctht8.js → integration-b2zhd2n2.js} +3 -3
- package/dist/chunks/{event-logger-qs988mat.js → integration-b48f36at.js} +4 -4
- package/dist/chunks/{event-logger-kej7228r.js → integration-b54vbpz4.js} +22 -22
- package/dist/chunks/{event-logger-vnaj3jez.js → integration-b6sd905c.js} +11 -11
- package/dist/chunks/{event-logger-5nnwax6m.js → integration-b6vsg801.js} +5 -5
- package/dist/chunks/{event-logger-y75300vz.js → integration-bp6aks6t.js} +26 -26
- package/dist/chunks/{event-logger-bstexjd6.js → integration-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-4t3n8c2f.js → integration-c41gmgtm.js} +13 -13
- package/dist/chunks/{event-logger-w76xjer3.js → integration-c5kjsz6q.js} +4 -4
- package/dist/chunks/{event-logger-69cyzmkx.js → integration-c6syzxg0.js} +18 -18
- package/dist/chunks/{event-logger-z8bwyq4z.js → integration-c9rahjjk.js} +39 -39
- package/dist/chunks/{event-logger-ve27gyda.js → integration-cc885ppd.js} +16 -16
- package/dist/chunks/{event-logger-9jbarwrs.js → integration-cf90gy8w.js} +11 -11
- package/dist/chunks/{event-logger-ne5tn7h3.js → integration-cmwcv0tb.js} +12 -12
- package/dist/chunks/{event-logger-vfk8nfwn.js → integration-cp67tm0g.js} +2 -2
- package/dist/chunks/{event-logger-j0q0g6fk.js → integration-czar3pqy.js} +35 -35
- package/dist/chunks/{event-logger-d4v9tmah.js → integration-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-rhds2j4j.js → integration-dah0ztmn.js} +8 -8
- package/dist/chunks/{event-logger-6zea4kyt.js → integration-djph8jbj.js} +57 -53
- package/dist/chunks/{event-logger-km9x3h1g.js → integration-dtar1tyk.js} +15 -15
- package/dist/chunks/{event-logger-kb5kv1ag.js → integration-dz3b4k9w.js} +27 -27
- package/dist/chunks/{event-logger-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
- package/dist/chunks/{event-logger-cbet0x81.js → integration-e6z5m6ve.js} +11 -11
- package/dist/chunks/{event-logger-e834z07m.js → integration-e834z07m.js} +1 -1
- package/dist/chunks/{event-logger-1s4n11fn.js → integration-ebpnb18j.js} +20 -20
- package/dist/chunks/{event-logger-k7dc8jec.js → integration-eceqz06v.js} +4 -4
- package/dist/chunks/{event-logger-gmws95sr.js → integration-edg2rgbp.js} +19 -19
- package/dist/chunks/{event-logger-vc2f17jd.js → integration-eeqrcvag.js} +24 -24
- package/dist/chunks/{event-logger-cywaakpa.js → integration-eghc032h.js} +22 -22
- package/dist/chunks/{event-logger-0pq4mv21.js → integration-exkwrvdn.js} +13 -13
- package/dist/chunks/{event-logger-jvwxvzq5.js → integration-f04qf59f.js} +11 -11
- package/dist/chunks/{event-logger-fhqt5gkd.js → integration-fctw3a38.js} +4 -4
- package/dist/chunks/{event-logger-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
- package/dist/chunks/integration-fkpq3x5p.js +36 -0
- package/dist/chunks/{event-logger-nkrzvdbv.js → integration-fpk0xpmh.js} +21 -21
- package/dist/chunks/{event-logger-ncm0ncsp.js → integration-fsd55tzk.js} +3 -3
- package/dist/chunks/{event-logger-5jh9tc43.js → integration-fz11hjpn.js} +3 -3
- package/dist/chunks/{event-logger-g5h9c0rr.js → integration-g5h9c0rr.js} +2 -2
- package/dist/chunks/{event-logger-b0r8qt9r.js → integration-g9ybbf9c.js} +3 -3
- package/dist/chunks/{event-logger-8hvz6q16.js → integration-gag5dgxb.js} +1 -1
- package/dist/chunks/{event-logger-6b1xptt4.js → integration-gd6hkkvy.js} +43 -43
- package/dist/chunks/{event-logger-egc7ez8f.js → integration-gjtbspeb.js} +12 -12
- package/dist/chunks/{event-logger-h0k93pkc.js → integration-gve8fg9f.js} +5 -5
- package/dist/chunks/{event-logger-4ancby33.js → integration-gz8vwskn.js} +6 -6
- package/dist/chunks/{event-logger-5rcy7env.js → integration-h2wze9fg.js} +11 -11
- package/dist/chunks/{event-logger-tx91wa5k.js → integration-h3b857xk.js} +4 -4
- package/dist/chunks/{event-logger-q5fk7xbh.js → integration-h5ejxf76.js} +8 -8
- package/dist/chunks/{event-logger-n0t68515.js → integration-h5g0v9q0.js} +29 -29
- package/dist/chunks/{event-logger-t4tt5jry.js → integration-h7nm3qzm.js} +7 -7
- package/dist/chunks/{event-logger-6q890kb9.js → integration-h84nmtd9.js} +15 -15
- package/dist/chunks/{event-logger-wnap8sgy.js → integration-hdfes35a.js} +19 -19
- package/dist/chunks/{event-logger-a0qbyar6.js → integration-hdfrs5mg.js} +5 -5
- package/dist/chunks/{event-logger-wk2ypcvz.js → integration-hj833na9.js} +12 -12
- package/dist/chunks/{event-logger-bhfafqr2.js → integration-hjscz5zc.js} +24 -24
- package/dist/chunks/{event-logger-gen5ckbt.js → integration-hqqctcky.js} +25 -25
- package/dist/chunks/{event-logger-8n09hdvs.js → integration-j0tgfc8g.js} +8 -8
- package/dist/chunks/{event-logger-j113cymg.js → integration-j113cymg.js} +1 -1
- package/dist/chunks/{event-logger-x10gwh8q.js → integration-j4ha54se.js} +15 -15
- package/dist/chunks/{event-logger-18g90bpv.js → integration-jcqm84fr.js} +9 -9
- package/dist/chunks/{event-logger-jn88007r.js → integration-jn88007r.js} +2 -2
- package/dist/chunks/{event-logger-jneg3k74.js → integration-jneg3k74.js} +1 -1
- package/dist/chunks/{event-logger-45fbavme.js → integration-jp46n186.js} +16 -16
- package/dist/chunks/{event-logger-mcc3wv1g.js → integration-jqcnc8x2.js} +25 -25
- package/dist/chunks/{event-logger-k814nvkf.js → integration-k814nvkf.js} +1 -1
- package/dist/chunks/{event-logger-b52jg5e6.js → integration-kbrwey91.js} +5 -5
- package/dist/chunks/integration-kbz2k1dv.js +517 -0
- package/dist/chunks/{event-logger-fj25vymk.js → integration-kdnw5aby.js} +10 -10
- package/dist/chunks/{event-logger-7vqbbbdp.js → integration-kepp61dh.js} +32 -32
- package/dist/chunks/{event-logger-0vqmvmc6.js → integration-kge26myw.js} +12 -12
- package/dist/chunks/{event-logger-8164e27y.js → integration-kgjda4yp.js} +18 -18
- package/dist/chunks/{event-logger-tdrww98m.js → integration-kkd03qcg.js} +15 -15
- package/dist/chunks/{event-logger-hy8c1z76.js → integration-kmzgegqq.js} +8 -8
- package/dist/chunks/{event-logger-9s3pgezk.js → integration-krx0eses.js} +8 -8
- package/dist/chunks/{event-logger-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-2t440mqh.js → integration-kxx2qr6y.js} +22 -22
- package/dist/chunks/{event-logger-vykevjvn.js → integration-kzdcqyn1.js} +5 -5
- package/dist/chunks/{event-logger-m1714858.js → integration-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-10e8q939.js → integration-m9bb5ktr.js} +32 -21
- package/dist/chunks/{event-logger-sp5msjrd.js → integration-m9tync0b.js} +52 -32
- package/dist/chunks/{event-logger-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{event-logger-wr8mwnrf.js → integration-mc8wzqq3.js} +12 -12
- package/dist/chunks/{event-logger-njwdench.js → integration-mdgmntsx.js} +32 -32
- package/dist/chunks/{event-logger-drvbhkez.js → integration-mj0wev1x.js} +4 -4
- package/dist/chunks/integration-mq5kch5e.js +261 -0
- package/dist/chunks/{event-logger-88vxspsg.js → integration-mt5atg1e.js} +1 -1
- package/dist/chunks/{event-logger-73mnqw5w.js → integration-n37y2xqe.js} +38 -38
- package/dist/chunks/{event-logger-rne48mmd.js → integration-n3v0xqc9.js} +15 -15
- package/dist/chunks/{event-logger-c3k6g37q.js → integration-n7b17ngh.js} +45 -45
- package/dist/chunks/{event-logger-nah043kf.js → integration-nah043kf.js} +1 -1
- package/dist/chunks/{event-logger-tahej59z.js → integration-np0n6qy5.js} +14 -14
- package/dist/chunks/{event-logger-g4h361q5.js → integration-nvzssgbt.js} +10 -10
- package/dist/chunks/{event-logger-p015t6z3.js → integration-p015t6z3.js} +2 -2
- package/dist/chunks/{event-logger-sv6eng29.js → integration-p1vte9h6.js} +7 -7
- package/dist/chunks/{event-logger-tzzz904k.js → integration-p6sewx4m.js} +2 -2
- package/dist/chunks/{event-logger-v9ez2kgh.js → integration-p7vhpwh8.js} +5 -5
- package/dist/chunks/{event-logger-e07q2w5p.js → integration-pcty9z1k.js} +4 -4
- package/dist/chunks/{event-logger-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-h5qan5zz.js → integration-pnwsrq7c.js} +11 -11
- package/dist/chunks/integration-psgg7zsx.js +35 -0
- package/dist/chunks/{event-logger-xbxs7aqn.js → integration-q5qtpxs8.js} +16 -16
- package/dist/chunks/{event-logger-0frfmztw.js → integration-q85ryw70.js} +22 -22
- package/dist/chunks/{event-logger-f2ac5tmy.js → integration-q8hcxtnn.js} +19 -19
- package/dist/chunks/{event-logger-r9k9rvgq.js → integration-q8qga2hx.js} +4 -4
- package/dist/chunks/{event-logger-5mf9fz97.js → integration-qde7gphs.js} +8 -8
- package/dist/chunks/{event-logger-wmjzvx4b.js → integration-qqg9c0kv.js} +4 -4
- package/dist/chunks/{event-logger-heqx55qr.js → integration-qzdhydjz.js} +15 -15
- package/dist/chunks/{event-logger-r0yr0wbs.js → integration-r0yr0wbs.js} +1 -1
- package/dist/chunks/{event-logger-tqzn1cmm.js → integration-r4qqkkn4.js} +4 -4
- package/dist/chunks/{event-logger-r542h3bh.js → integration-r542h3bh.js} +1 -1
- package/dist/chunks/{event-logger-4vj89p67.js → integration-r7kgrqx8.js} +12 -12
- package/dist/chunks/{event-logger-fp18shrf.js → integration-r8yz90q7.js} +89 -89
- package/dist/chunks/{event-logger-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-h0ppebc3.js → integration-rg2b028e.js} +8 -8
- package/dist/chunks/{event-logger-fkawc9ah.js → integration-rq2bpjzx.js} +40 -40
- package/dist/chunks/{event-logger-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
- package/dist/chunks/{event-logger-mvx17366.js → integration-rtdxfwhd.js} +11 -11
- package/dist/chunks/{event-logger-64dywr2y.js → integration-s2yn1ebr.js} +48 -43
- package/dist/chunks/{event-logger-y1adw4ng.js → integration-s5mddk99.js} +4 -4
- package/dist/chunks/{event-logger-hknhs10q.js → integration-s5srxs85.js} +13 -13
- package/dist/chunks/{event-logger-p9f90sj6.js → integration-s6jx0zpa.js} +35 -35
- package/dist/chunks/{event-logger-ztc543bw.js → integration-s6qfrht9.js} +25 -25
- package/dist/chunks/{event-logger-5mmsp7tb.js → integration-s842fs2g.js} +27 -27
- package/dist/chunks/{event-logger-t99841tz.js → integration-s9s2gkss.js} +13 -13
- package/dist/chunks/{event-logger-yebbjcr2.js → integration-s9wcjfta.js} +13 -13
- package/dist/chunks/{event-logger-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
- package/dist/chunks/{event-logger-wa8k00xj.js → integration-sbegqkxp.js} +6 -6
- package/dist/chunks/{event-logger-0gy3w5fa.js → integration-sben8p41.js} +18 -18
- package/dist/chunks/{event-logger-5haskeqf.js → integration-sg9wyb1p.js} +15 -15
- package/dist/chunks/{event-logger-fa7r6dwy.js → integration-shrpye9z.js} +2 -2
- package/dist/chunks/{event-logger-sqjzf8x2.js → integration-sqjzf8x2.js} +1 -1
- package/dist/chunks/{event-logger-d4a3887h.js → integration-sr5f1jrh.js} +8 -8
- package/dist/chunks/{event-logger-4c7f87vz.js → integration-sswqmq9k.js} +27 -27
- package/dist/chunks/{event-logger-b61xbwj4.js → integration-svadk1ak.js} +27 -27
- package/dist/chunks/{event-logger-wb47rx5c.js → integration-sx2sqvt0.js} +8 -8
- package/dist/chunks/{event-logger-cq0qcwjh.js → integration-t02qfhp3.js} +35 -35
- package/dist/chunks/{event-logger-wgrc01r0.js → integration-t9nrn8tw.js} +17 -17
- package/dist/chunks/{event-logger-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-998yhzzq.js → integration-tkn93vs5.js} +24 -5
- package/dist/chunks/{event-logger-3nnrz6f6.js → integration-tmc7xdjs.js} +4 -4
- package/dist/chunks/{event-logger-67wj9t48.js → integration-tq7q91jv.js} +21 -21
- package/dist/chunks/{event-logger-twv2r8f4.js → integration-twv2r8f4.js} +2 -2
- package/dist/chunks/{event-logger-8xp4cmve.js → integration-tyc3jjj7.js} +21 -21
- package/dist/chunks/{event-logger-3t73xeyv.js → integration-tzyd7gqa.js} +2 -2
- package/dist/chunks/{event-logger-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-twza2t12.js → integration-v5b5hy9f.js} +13 -13
- package/dist/chunks/{event-logger-289gyrhz.js → integration-v7s66ynn.js} +25 -25
- package/dist/chunks/{event-logger-vd3b3yk9.js → integration-vd3b3yk9.js} +1 -1
- package/dist/chunks/{event-logger-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-e0s8mshb.js → integration-vfdks6d4.js} +1 -1
- package/dist/chunks/{event-logger-n88dea7h.js → integration-vh8rw469.js} +12 -12
- package/dist/chunks/{event-logger-6z3vsaar.js → integration-vqvgrxkc.js} +30 -30
- package/dist/chunks/{event-logger-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-057356vk.js → integration-w63y7jc6.js} +149 -149
- package/dist/chunks/{event-logger-a2e8nfn9.js → integration-w7nv158z.js} +24 -24
- package/dist/chunks/{event-logger-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-4px6nfc1.js → integration-wcmgka50.js} +16 -16
- package/dist/chunks/{event-logger-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-h1k6s6xh.js → integration-wdgqtx80.js} +7 -7
- package/dist/chunks/{event-logger-wbjnsk7h.js → integration-wjp5677p.js} +20 -20
- package/dist/chunks/{event-logger-5kgs3fk1.js → integration-wqtd6dn9.js} +6 -6
- package/dist/chunks/{event-logger-wr3re1en.js → integration-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-ya77m8f0.js → integration-wrrv2vrv.js} +3 -3
- package/dist/chunks/{event-logger-9qmfk5wg.js → integration-x4mdmgqt.js} +78 -76
- package/dist/chunks/{event-logger-3thv2gpw.js → integration-xcmymt6p.js} +6 -6
- package/dist/chunks/{event-logger-saczpe3m.js → integration-xcn9kzc4.js} +5 -5
- package/dist/chunks/{event-logger-0e4vqphb.js → integration-xdqqne02.js} +26 -26
- package/dist/chunks/{event-logger-a7t3gcyz.js → integration-xp190ez9.js} +11 -11
- package/dist/chunks/{event-logger-9fdvgs2g.js → integration-xrkrh4e6.js} +60 -60
- package/dist/chunks/{event-logger-hrsgjvw9.js → integration-y69ek5zm.js} +2 -2
- package/dist/chunks/{event-logger-qq6q1b7k.js → integration-y9vh8mq3.js} +50 -50
- package/dist/chunks/{event-logger-aeescm8g.js → integration-yb1sx8tf.js} +3 -3
- package/dist/chunks/{event-logger-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-s8v15std.js → integration-ychremax.js} +21 -21
- package/dist/chunks/{event-logger-6s12ch92.js → integration-ydzd92ym.js} +38 -38
- package/dist/chunks/{event-logger-fzewdj3f.js → integration-yjb380yy.js} +20 -20
- package/dist/chunks/{event-logger-w7rnn6qz.js → integration-ys2a3pd2.js} +55 -55
- package/dist/chunks/{event-logger-8qhh5jzz.js → integration-ys7snnnx.js} +6 -6
- package/dist/chunks/{event-logger-9qpt75py.js → integration-ysh7bykt.js} +32 -32
- package/dist/chunks/{event-logger-7vf34ser.js → integration-ysm0ddqf.js} +32 -32
- package/dist/chunks/{event-logger-19n355zt.js → integration-ytyb7gv1.js} +14 -14
- package/dist/chunks/{event-logger-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-z38nccrw.js → integration-z38nccrw.js} +1 -1
- package/dist/chunks/integration-z7bdqmx5.js +18 -0
- package/dist/chunks/{event-logger-kdkvh6j6.js → integration-zd2ed8r9.js} +19 -19
- package/dist/chunks/{event-logger-nv03640d.js → integration-ze9ydt5a.js} +16 -16
- package/dist/chunks/{event-logger-zkg84ctx.js → integration-zkg84ctx.js} +1 -1
- package/dist/chunks/{event-logger-rc3hda0w.js → integration-zr4aet3t.js} +11 -11
- package/dist/chunks/{event-logger-n0xxnytp.js → integration-zxxmr6sq.js} +8 -8
- package/dist/chunks/{event-logger-4eds4t9s.js → integration-zy2zc1p2.js} +3 -3
- package/dist/chunks/{event-logger-7br7hwej.js → integration-zzanzrga.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +88 -87
- package/dist/config/discovery.js +88 -87
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -104
- package/dist/config/plugin/agent.js +119 -118
- package/dist/config/plugin/command.js +217 -214
- package/dist/config/plugin/compaction.js +160 -157
- package/dist/config/plugin/compatibility.js +140 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -117
- package/dist/config/plugin/image.js +119 -118
- package/dist/config/plugin/instruction.js +119 -118
- package/dist/config/plugin/location-watcher.js +119 -118
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +121 -120
- package/dist/config/plugin/provider.js +120 -119
- package/dist/config/plugin/reference.js +121 -120
- package/dist/config/plugin/shell.js +119 -118
- package/dist/config/plugin/skill-file.js +110 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +141 -138
- package/dist/config/plugin/snapshot.js +119 -118
- package/dist/config/plugin/source.js +116 -115
- package/dist/config/plugin/tool-output.js +120 -119
- package/dist/config/plugin/websearch.js +118 -117
- package/dist/config/plugin/worktree.js +121 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -83
- package/dist/database/database.js +71 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +6 -0
- package/dist/database/migration.gen.js +54 -53
- package/dist/database/migration.js +56 -55
- 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 +93 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +379 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +99 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -98
- 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 +79 -78
- package/dist/file-access.js +112 -109
- package/dist/file-mutation.js +100 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +230 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -105
- package/dist/form.js +87 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +93 -92
- package/dist/generate.js +111 -110
- package/dist/git.js +11 -11
- 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 +97 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +370 -367
- package/dist/instruction-discovery.js +89 -88
- package/dist/instructions/builtins.js +93 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +90 -89
- package/dist/job.js +83 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +78 -77
- package/dist/location-activity.js +164 -161
- package/dist/location-lifecycle.js +115 -112
- package/dist/location-service-map.js +92 -91
- package/dist/location-services.js +367 -364
- package/dist/location.js +93 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +97 -96
- package/dist/mcp/index.js +107 -106
- package/dist/mcp/instructions.js +146 -143
- package/dist/mcp/oauth.js +80 -79
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +96 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +97 -96
- package/dist/model-resolver.js +105 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -103
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +123 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +80 -79
- package/dist/plugin/agent.js +79 -78
- package/dist/plugin/command.js +106 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +340 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +102 -101
- package/dist/plugin/module.js +121 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +108 -105
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +96 -95
- package/dist/plugin/provider/azure.js +119 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +119 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +99 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +101 -100
- package/dist/plugin/provider/gitlab.js +99 -98
- package/dist/plugin/provider/google-vertex.js +116 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +83 -82
- package/dist/plugin/provider/lmstudio.js +128 -127
- package/dist/plugin/provider/local.js +125 -124
- package/dist/plugin/provider/modal.js +98 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -127
- package/dist/plugin/provider/openai-context-caps.js +96 -95
- package/dist/plugin/provider/openai.js +119 -118
- package/dist/plugin/provider/opencode-legacy.js +104 -103
- package/dist/plugin/provider/opencode.js +125 -124
- package/dist/plugin/provider/openrouter.js +97 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +84 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +97 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -117
- package/dist/plugin/provider/vercel.js +96 -95
- package/dist/plugin/provider/vllm.js +128 -127
- package/dist/plugin/provider/xai.js +97 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +176 -175
- package/dist/plugin/sdk.js +79 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +92 -91
- package/dist/plugin/vcs/hg.js +92 -91
- package/dist/plugin/verbosity.js +99 -98
- package/dist/plugin/warming.js +115 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +234 -231
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -89
- package/dist/provider.js +101 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -99
- package/dist/reference/instructions.js +95 -94
- package/dist/reference.js +97 -96
- package/dist/repository-cache.js +87 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +101 -100
- package/dist/rpc.js +92 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/blob.js +17 -0
- package/dist/session/command.js +79 -78
- package/dist/session/compaction.js +142 -139
- package/dist/session/context.js +170 -167
- package/dist/session/diff.js +94 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -226
- package/dist/session/execution.js +136 -133
- package/dist/session/generate.js +170 -167
- package/dist/session/history.js +19 -15
- package/dist/session/inbox.js +100 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +105 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +128 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +138 -135
- package/dist/session/projector.js +96 -93
- package/dist/session/prompt.js +113 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +102 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -105
- package/dist/session/runner/publish-llm-event.js +121 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +134 -131
- package/dist/session/runner/to-llm-message.js +16 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -167
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +113 -110
- package/dist/session/sql.js +10 -6
- package/dist/session/stats.js +78 -77
- package/dist/session/store.js +92 -89
- package/dist/session/stored.js +21 -0
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +217 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +172 -169
- package/dist/session/to-session-error.js +120 -117
- package/dist/session/transfer.js +225 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -220
- 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 +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +115 -112
- package/dist/skill.js +114 -111
- package/dist/snapshot.js +95 -94
- 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 +141 -138
- package/dist/tool/plugin/edit.js +126 -123
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +132 -129
- package/dist/tool/plugin/grep.js +132 -129
- package/dist/tool/plugin/mcp-resource.js +132 -129
- package/dist/tool/plugin/opencode.js +117 -114
- package/dist/tool/plugin/patch.js +130 -127
- package/dist/tool/plugin/question.js +109 -106
- package/dist/tool/plugin/read.js +133 -130
- package/dist/tool/plugin/shell.js +220 -217
- package/dist/tool/plugin/skill.js +113 -110
- package/dist/tool/plugin/subagent.js +218 -215
- package/dist/tool/plugin/todo.js +143 -140
- package/dist/tool/plugin/webfetch.js +119 -116
- package/dist/tool/plugin/websearch.js +120 -117
- package/dist/tool/plugin/write.js +130 -127
- package/dist/tool/read-filesystem.js +106 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20261025123711_blob.d.ts +3 -0
- package/dist/types/session/blob.d.ts +881 -0
- package/dist/types/session/history.d.ts +814 -22
- package/dist/types/session/inbox.d.ts +21 -174
- package/dist/types/session/recent-text.d.ts +2 -1
- package/dist/types/session/sql.d.ts +195 -2
- package/dist/types/session/stored.d.ts +460 -0
- package/dist/usage-limits.js +94 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +98 -97
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +99 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -94
- package/dist/voice.js +93 -92
- package/dist/websearch.js +81 -80
- package/dist/wellknown/plugin.js +79 -78
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +95 -94
- package/dist/worktree.js +104 -103
- package/package.json +8 -8
- package/dist/chunks/event-logger-6n5heb68.js +0 -26
- package/dist/chunks/event-logger-9kps6f10.js +0 -261
- package/dist/chunks/event-logger-a610t88q.js +0 -18
- package/dist/chunks/event-logger-gq78s2vv.js +0 -517
- /package/dist/chunks/{event-logger-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5fjb7ams.js → integration-5fjb7ams.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a058387c.js → integration-a058387c.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./event-logger-n88dea7h.js";
|
|
5
1
|
import {
|
|
6
2
|
Service86,
|
|
7
3
|
node90
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./integration-vh8rw469.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./integration-8qwwe1g8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
21
|
ID: () => ID4,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -37,7 +37,7 @@ import { SessionEvent } from "@opencode/schema/session-event";
|
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
@@ -66,8 +66,8 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
66
66
|
class Service21 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
68
|
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
69
|
+
const bus = yield* Service86;
|
|
70
|
+
const kv = yield* Service82;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -187,7 +187,7 @@ function cooldownMillis(value, now) {
|
|
|
187
187
|
var node24 = makeLocationNode({
|
|
188
188
|
service: Service21,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node90, node86]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2, Input14, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node24, exports_websearch3,
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node24, exports_websearch3, Event5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-g9ybbf9c.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-jneg3k74.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-tkn93vs5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node43, exports_service2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9q8g9sv8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./integration-pnwsrq7c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./integration-qqg9c0kv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./integration-4wqc8mqe.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./integration-8wc2fpae.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-b48f36at.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node69
|
|
9
|
+
} from "./integration-47pdn9hb.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-aqnbmf10.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service36,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node39,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service36 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service67;
|
|
335
|
+
return Service36.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node69] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service36, read2, node39, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-xdqqne02.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p1vte9h6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-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: () => Plugin5,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
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/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "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 Plugin5 = 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 Plugin8 = 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(endpoint3).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 Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin5, exports_tavily };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./integration-ze9ydt5a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./integration-kgjda4yp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./integration-8t0ndcz4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-zkg84ctx.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./integration-sg9wyb1p.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input5,
|
|
35
|
+
Plugin: () => Plugin42,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name5,
|
|
38
|
+
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name5 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input5 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin42 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service36;
|
|
61
|
+
const access = yield* Service15;
|
|
62
|
+
const sessionInstructions = yield* Service11;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service83;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name5,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input5,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin50 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent3 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name5, Input5, Plugin42, toModelContent3, exports_read };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-g9ybbf9c.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service86,
|
|
8
|
+
node90
|
|
9
|
+
} from "./integration-vh8rw469.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-m9bb5ktr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node60
|
|
22
|
+
} from "./integration-ebpnb18j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node29
|
|
26
|
+
} from "./integration-r8yz90q7.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer7,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ 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 Service8 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 messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var layer7 = Layer.effect(
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service86;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service25;
|
|
79
|
+
const store = yield* Service58;
|
|
80
80
|
const db = (yield* Service87).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service8.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
165
|
+
var node10 = makeLocationNode({
|
|
166
|
+
service: Service8,
|
|
167
167
|
layer: layer7,
|
|
168
|
-
deps: [
|
|
168
|
+
deps: [node90, llmClient2, node29, node60, node91]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service8, isUntitled2, layer7, node10, exports_title };
|