@opencode/core 0.0.0-dev-21846 → 0.0.0-dev-21856
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 +82 -81
- package/dist/aisdk-native.js +95 -94
- package/dist/aisdk.js +101 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -77
- package/dist/chunks/{event-logger-nhaj4xxd.js → instruction-discovery-022n3vkv.js} +17 -17
- package/dist/chunks/{event-logger-qyq8h28g.js → instruction-discovery-033a0jkt.js} +3 -3
- package/dist/chunks/{event-logger-0frfmztw.js → instruction-discovery-0376xegq.js} +22 -22
- package/dist/chunks/{event-logger-0421tmwc.js → instruction-discovery-0421tmwc.js} +2 -2
- package/dist/chunks/{event-logger-cbet0x81.js → instruction-discovery-0fhwjkjb.js} +11 -11
- package/dist/chunks/{event-logger-6gtvrv8h.js → instruction-discovery-0kf7s4qn.js} +25 -25
- package/dist/chunks/{event-logger-n88dea7h.js → instruction-discovery-0pwrv1px.js} +12 -12
- package/dist/chunks/{event-logger-73mnqw5w.js → instruction-discovery-102edbh2.js} +36 -36
- package/dist/chunks/{event-logger-11hfp36g.js → instruction-discovery-11hfp36g.js} +1 -1
- package/dist/chunks/{event-logger-wgrc01r0.js → instruction-discovery-155gq7f2.js} +23 -23
- package/dist/chunks/{event-logger-xa8ket9v.js → instruction-discovery-1at1dets.js} +11 -11
- package/dist/chunks/{event-logger-hknhs10q.js → instruction-discovery-1hzrtcgn.js} +25 -25
- package/dist/chunks/instruction-discovery-1td35j7c.js +35 -0
- package/dist/chunks/{event-logger-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-zkgq49d1.js → instruction-discovery-1zj1p2f3.js} +4 -4
- package/dist/chunks/{event-logger-w05wnag4.js → instruction-discovery-21k2fbyg.js} +29 -29
- package/dist/chunks/{event-logger-4t3n8c2f.js → instruction-discovery-26fr4g6g.js} +13 -13
- package/dist/chunks/{event-logger-3t73xeyv.js → instruction-discovery-27bs79w9.js} +2 -2
- package/dist/chunks/{event-logger-1ep2p91f.js → instruction-discovery-27w5k9zf.js} +2 -2
- package/dist/chunks/{event-logger-5jh9tc43.js → instruction-discovery-2a026epw.js} +5 -5
- package/dist/chunks/{event-logger-6q890kb9.js → instruction-discovery-2a7mr38d.js} +19 -19
- package/dist/chunks/{event-logger-pkyv6v7h.js → instruction-discovery-2beny6pf.js} +24 -0
- package/dist/chunks/instruction-discovery-2hkmxex7.js +26 -0
- package/dist/chunks/{event-logger-vfk8nfwn.js → instruction-discovery-2n1gkq6v.js} +5 -5
- package/dist/chunks/{event-logger-3thv2gpw.js → instruction-discovery-2nm1jq1n.js} +9 -9
- package/dist/chunks/{event-logger-r9k9rvgq.js → instruction-discovery-2sdff0wq.js} +6 -6
- package/dist/chunks/{event-logger-x10gwh8q.js → instruction-discovery-2whzz79q.js} +12 -12
- package/dist/chunks/{event-logger-vnaj3jez.js → instruction-discovery-2xag3f1q.js} +5 -5
- package/dist/chunks/{event-logger-2z1j29yd.js → instruction-discovery-2z1j29yd.js} +1 -1
- package/dist/chunks/{event-logger-c3k6g37q.js → instruction-discovery-37p9cva5.js} +43 -43
- package/dist/chunks/{event-logger-vykevjvn.js → instruction-discovery-38adaqc0.js} +5 -5
- package/dist/chunks/{event-logger-rwc3n5ha.js → instruction-discovery-3b7gyab6.js} +17 -17
- package/dist/chunks/{event-logger-ayjs7tqn.js → instruction-discovery-3cbjf1nt.js} +2 -2
- package/dist/chunks/{event-logger-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-wbjnsk7h.js → instruction-discovery-3kjng0cn.js} +16 -16
- package/dist/chunks/{event-logger-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-a7t3gcyz.js → instruction-discovery-3t0j5bvp.js} +11 -11
- package/dist/chunks/{event-logger-d6yv52bw.js → instruction-discovery-41t08jwg.js} +27 -27
- package/dist/chunks/{event-logger-95ym8g29.js → instruction-discovery-433qt1rv.js} +21 -21
- package/dist/chunks/{event-logger-km9x3h1g.js → instruction-discovery-48aqrqf8.js} +15 -15
- package/dist/chunks/{event-logger-fp18shrf.js → instruction-discovery-4an0jmbp.js} +84 -84
- package/dist/chunks/{event-logger-n0t68515.js → instruction-discovery-4d42373m.js} +32 -32
- package/dist/chunks/{event-logger-bebkengc.js → instruction-discovery-4e181ey7.js} +20 -20
- package/dist/chunks/{event-logger-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-4xvmh7wp.js → instruction-discovery-4xvmh7wp.js} +3 -3
- package/dist/chunks/{event-logger-p4y4xmr7.js → instruction-discovery-517ec74p.js} +13 -13
- package/dist/chunks/{event-logger-e0s8mshb.js → instruction-discovery-51d3zpkq.js} +3 -3
- package/dist/chunks/{event-logger-kdkvh6j6.js → instruction-discovery-5635a4dp.js} +23 -23
- package/dist/chunks/{event-logger-vc2f17jd.js → instruction-discovery-59z74nnh.js} +31 -31
- package/dist/chunks/{event-logger-88vxspsg.js → instruction-discovery-5hf5hqc3.js} +1 -1
- package/dist/chunks/{event-logger-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-prvq9z82.js → instruction-discovery-5nbjczge.js} +12 -12
- package/dist/chunks/{event-logger-rc3hda0w.js → instruction-discovery-5r5fyt21.js} +9 -9
- package/dist/chunks/{event-logger-ya77m8f0.js → instruction-discovery-5rwvrnjs.js} +3 -3
- package/dist/chunks/{event-logger-67wj9t48.js → instruction-discovery-5xpq01xn.js} +21 -21
- package/dist/chunks/{event-logger-v9ez2kgh.js → instruction-discovery-5zrxpy3q.js} +5 -5
- package/dist/chunks/{event-logger-ndhy1whp.js → instruction-discovery-60cg3xth.js} +19 -19
- package/dist/chunks/{event-logger-82b2vw9r.js → instruction-discovery-65d0br2h.js} +24 -24
- package/dist/chunks/instruction-discovery-69mbd1tk.js +517 -0
- package/dist/chunks/{event-logger-n0xxnytp.js → instruction-discovery-69qfa8nf.js} +8 -8
- package/dist/chunks/{event-logger-kb5kv1ag.js → instruction-discovery-6ek8yrc4.js} +38 -38
- package/dist/chunks/{event-logger-6esdw8yj.js → instruction-discovery-6esdw8yj.js} +1 -1
- package/dist/chunks/{event-logger-cq0qcwjh.js → instruction-discovery-6fe8n112.js} +35 -35
- package/dist/chunks/{event-logger-10e8q939.js → instruction-discovery-6mx77wfc.js} +30 -19
- package/dist/chunks/{event-logger-289gyrhz.js → instruction-discovery-6nb5amhk.js} +23 -23
- package/dist/chunks/{event-logger-6pjqjmy2.js → instruction-discovery-6pjqjmy2.js} +1 -1
- package/dist/chunks/{event-logger-zfpvddwp.js → instruction-discovery-6qcpqwk1.js} +14 -14
- package/dist/chunks/{event-logger-6s12ch92.js → instruction-discovery-6qx0tzjw.js} +50 -50
- package/dist/chunks/{event-logger-q5hva4fp.js → instruction-discovery-6tpjd6jw.js} +29 -29
- package/dist/chunks/{event-logger-h1k6s6xh.js → instruction-discovery-737zpaxg.js} +9 -9
- package/dist/chunks/{event-logger-9jbarwrs.js → instruction-discovery-76xn3a0a.js} +11 -11
- package/dist/chunks/{event-logger-vpn2vt2x.js → instruction-discovery-77va0czz.js} +21 -21
- package/dist/chunks/{event-logger-8qhh5jzz.js → instruction-discovery-787swm9c.js} +6 -6
- package/dist/chunks/{event-logger-8m9m34se.js → instruction-discovery-78apxg9s.js} +5 -5
- package/dist/chunks/{event-logger-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-5e45vhpf.js → instruction-discovery-7ezxcv5k.js} +12 -12
- package/dist/chunks/{event-logger-nkrzvdbv.js → instruction-discovery-7f47qj7q.js} +21 -21
- package/dist/chunks/{event-logger-saczpe3m.js → instruction-discovery-7kcfq5w1.js} +5 -5
- package/dist/chunks/{event-logger-cywaakpa.js → instruction-discovery-7qgp347e.js} +33 -33
- package/dist/chunks/{event-logger-drvbhkez.js → instruction-discovery-7sdtxe0n.js} +4 -4
- package/dist/chunks/{event-logger-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-heqx55qr.js → instruction-discovery-7wmap86a.js} +15 -15
- package/dist/chunks/{event-logger-4vj89p67.js → instruction-discovery-86h3z9z4.js} +21 -21
- package/dist/chunks/{event-logger-d4a3887h.js → instruction-discovery-8e3kbr0h.js} +8 -8
- package/dist/chunks/{event-logger-7vf34ser.js → instruction-discovery-8kgrggzd.js} +32 -32
- package/dist/chunks/{event-logger-py9h89e3.js → instruction-discovery-8maf53x6.js} +7 -7
- package/dist/chunks/{event-logger-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-91rj84md.js → instruction-discovery-91rj84md.js} +1 -1
- package/dist/chunks/{event-logger-9fdvgs2g.js → instruction-discovery-953mc539.js} +56 -56
- package/dist/chunks/{event-logger-ey6fb1hv.js → instruction-discovery-9cw5bcc9.js} +9 -9
- package/dist/chunks/{event-logger-9cx9sm2q.js → instruction-discovery-9cx9sm2q.js} +1 -1
- package/dist/chunks/{event-logger-9qmfk5wg.js → instruction-discovery-9e5xv20g.js} +77 -75
- package/dist/chunks/{event-logger-pes7pnh1.js → instruction-discovery-9fdyqjqc.js} +6 -6
- package/dist/chunks/{event-logger-ne5tn7h3.js → instruction-discovery-9kf0vz67.js} +9 -9
- package/dist/chunks/{event-logger-qq6q1b7k.js → instruction-discovery-9mhsf8fp.js} +51 -51
- package/dist/chunks/{event-logger-jn88007r.js → instruction-discovery-9qcg53ez.js} +9 -9
- package/dist/chunks/{event-logger-w7rnn6qz.js → instruction-discovery-9r4wwjnf.js} +40 -40
- package/dist/chunks/{event-logger-tqzn1cmm.js → instruction-discovery-9rfntryv.js} +4 -4
- package/dist/chunks/{event-logger-j0q0g6fk.js → instruction-discovery-9taragy3.js} +36 -36
- package/dist/chunks/{event-logger-t4tt5jry.js → instruction-discovery-a8n0dctw.js} +9 -9
- package/dist/chunks/{event-logger-b52jg5e6.js → instruction-discovery-a9hesjbw.js} +10 -10
- package/dist/chunks/{event-logger-5mmsp7tb.js → instruction-discovery-abqtacmz.js} +34 -34
- package/dist/chunks/{event-logger-yz0vd65a.js → instruction-discovery-ah33f0p8.js} +36 -36
- package/dist/chunks/{event-logger-034tev2y.js → instruction-discovery-aj7mw0zk.js} +2 -2
- package/dist/chunks/{event-logger-mvx17366.js → instruction-discovery-am41y27b.js} +11 -11
- package/dist/chunks/{event-logger-wmjzvx4b.js → instruction-discovery-an558sqv.js} +4 -4
- package/dist/chunks/{event-logger-b0mv4wxm.js → instruction-discovery-b0mv4wxm.js} +2 -2
- package/dist/chunks/{event-logger-5nnwax6m.js → instruction-discovery-b6vsg801.js} +5 -5
- package/dist/chunks/{event-logger-yfbt421w.js → instruction-discovery-b9mm38pq.js} +9 -9
- package/dist/chunks/{event-logger-61ennm6n.js → instruction-discovery-bjhzkqyk.js} +4 -4
- package/dist/chunks/{event-logger-4a7w6wv5.js → instruction-discovery-bsaevn98.js} +2 -2
- package/dist/chunks/{event-logger-aea1pvgg.js → instruction-discovery-bser62ex.js} +17 -17
- package/dist/chunks/{event-logger-4ancby33.js → instruction-discovery-c21pq9gz.js} +12 -12
- package/dist/chunks/{event-logger-25dytkwn.js → instruction-discovery-c4sx0a9c.js} +10 -10
- package/dist/chunks/{event-logger-0vqmvmc6.js → instruction-discovery-c67yf1m4.js} +6 -6
- package/dist/chunks/{event-logger-rhds2j4j.js → instruction-discovery-c8f2t8jt.js} +8 -8
- package/dist/chunks/{event-logger-t99841tz.js → instruction-discovery-c9faan9k.js} +23 -23
- package/dist/chunks/{event-logger-4px6nfc1.js → instruction-discovery-cs91e4mb.js} +20 -20
- package/dist/chunks/{event-logger-8xp4cmve.js → instruction-discovery-cwbk6kgm.js} +16 -16
- package/dist/chunks/{event-logger-ssfehs1z.js → instruction-discovery-d2887f8n.js} +4 -4
- package/dist/chunks/{event-logger-057356vk.js → instruction-discovery-d4eavzpr.js} +188 -188
- package/dist/chunks/{event-logger-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-jzsjkn6k.js → instruction-discovery-d5kckzmt.js} +30 -30
- package/dist/chunks/{event-logger-g4h361q5.js → instruction-discovery-d5x916ad.js} +10 -10
- package/dist/chunks/{event-logger-76x0exek.js → instruction-discovery-dcg2s03j.js} +7 -7
- package/dist/chunks/{event-logger-5k3987pr.js → instruction-discovery-dd1b5043.js} +4 -4
- package/dist/chunks/{event-logger-9qpt75py.js → instruction-discovery-dhh45h7t.js} +37 -37
- package/dist/chunks/{event-logger-e07q2w5p.js → instruction-discovery-e07q2w5p.js} +1 -1
- package/dist/chunks/{event-logger-ydtzcgmr.js → instruction-discovery-e4mwgxf5.js} +13 -13
- package/dist/chunks/{event-logger-e834z07m.js → instruction-discovery-e834z07m.js} +1 -1
- package/dist/chunks/{event-logger-nsz1fy74.js → instruction-discovery-ecr3e0ye.js} +25 -25
- package/dist/chunks/{event-logger-hrsgjvw9.js → instruction-discovery-ef03wrw5.js} +2 -2
- package/dist/chunks/{event-logger-4eds4t9s.js → instruction-discovery-ekaass4j.js} +12 -12
- package/dist/chunks/{event-logger-cceq80b1.js → instruction-discovery-ekvz5h58.js} +3 -3
- package/dist/chunks/{event-logger-tchdp43j.js → instruction-discovery-epdzwpp6.js} +15 -15
- package/dist/chunks/{event-logger-9s3pgezk.js → instruction-discovery-etbajbke.js} +8 -8
- package/dist/chunks/{event-logger-twza2t12.js → instruction-discovery-eynt3b8t.js} +23 -23
- package/dist/chunks/{event-logger-xbxs7aqn.js → instruction-discovery-ez0126qx.js} +18 -18
- package/dist/chunks/{event-logger-mcc3wv1g.js → instruction-discovery-f0we80a8.js} +23 -23
- package/dist/chunks/{event-logger-k7dc8jec.js → instruction-discovery-famkmqnc.js} +11 -11
- package/dist/chunks/{event-logger-6b1xptt4.js → instruction-discovery-fcxerzst.js} +46 -46
- package/dist/chunks/{event-logger-qw1z0fhm.js → instruction-discovery-fdx01m1w.js} +18 -18
- package/dist/chunks/{event-logger-fffv3p7h.js → instruction-discovery-fffv3p7h.js} +1 -1
- package/dist/chunks/{event-logger-tzzz904k.js → instruction-discovery-fhs2myvw.js} +4 -4
- package/dist/chunks/instruction-discovery-fkpq3x5p.js +36 -0
- package/dist/chunks/{event-logger-zg2q4vaq.js → instruction-discovery-fx0r4jew.js} +23 -23
- package/dist/chunks/{event-logger-g5h9c0rr.js → instruction-discovery-g5h9c0rr.js} +2 -2
- package/dist/chunks/{event-logger-b0r8qt9r.js → instruction-discovery-ge6wgs05.js} +3 -3
- package/dist/chunks/{event-logger-6bsqe872.js → instruction-discovery-gkj1ekva.js} +47 -47
- package/dist/chunks/{event-logger-634jkexk.js → instruction-discovery-gsf91c57.js} +31 -31
- package/dist/chunks/{event-logger-9n3wvgnx.js → instruction-discovery-gwedrbay.js} +9 -9
- package/dist/chunks/{event-logger-jy80eej6.js → instruction-discovery-gwn12nzh.js} +13 -13
- package/dist/chunks/{event-logger-5kgs3fk1.js → instruction-discovery-gx0r2313.js} +3 -3
- package/dist/chunks/{event-logger-r25en75t.js → instruction-discovery-h5wtt78n.js} +4 -4
- package/dist/chunks/{event-logger-pa2c4s26.js → instruction-discovery-hckw3xdg.js} +9 -9
- package/dist/chunks/{event-logger-a0qbyar6.js → instruction-discovery-hdfrs5mg.js} +5 -5
- package/dist/chunks/{event-logger-aeescm8g.js → instruction-discovery-hgv00ze4.js} +3 -3
- package/dist/chunks/{event-logger-fkawc9ah.js → instruction-discovery-hq4adp60.js} +39 -39
- package/dist/chunks/{event-logger-s8v15std.js → instruction-discovery-hs3h4apg.js} +21 -21
- package/dist/chunks/{event-logger-r637f8aj.js → instruction-discovery-htsj1ang.js} +51 -51
- package/dist/chunks/{event-logger-r3kssq7m.js → instruction-discovery-hvqa3p38.js} +32 -32
- package/dist/chunks/{event-logger-7br7hwej.js → instruction-discovery-hvtc9nr8.js} +33 -33
- package/dist/chunks/{event-logger-j113cymg.js → instruction-discovery-j113cymg.js} +1 -1
- package/dist/chunks/{event-logger-5frnvm0n.js → instruction-discovery-j18x68xg.js} +3 -3
- package/dist/chunks/{event-logger-2t440mqh.js → instruction-discovery-j3k0pknh.js} +22 -22
- package/dist/chunks/{event-logger-998yhzzq.js → instruction-discovery-j3t6aztb.js} +24 -5
- package/dist/chunks/{event-logger-tahej59z.js → instruction-discovery-j5djsqge.js} +18 -18
- package/dist/chunks/{event-logger-18g90bpv.js → instruction-discovery-jcqm84fr.js} +9 -9
- package/dist/chunks/{event-logger-kej7228r.js → instruction-discovery-jd0c8nhx.js} +24 -24
- package/dist/chunks/{event-logger-jneg3k74.js → instruction-discovery-jefw9j3y.js} +4 -4
- package/dist/chunks/{event-logger-h5qan5zz.js → instruction-discovery-jj9caqwr.js} +8 -8
- package/dist/chunks/{event-logger-njwdench.js → instruction-discovery-jt4crtef.js} +40 -40
- package/dist/chunks/{event-logger-f2ac5tmy.js → instruction-discovery-jy1vh16h.js} +31 -31
- package/dist/chunks/{event-logger-wa8k00xj.js → instruction-discovery-k3cw2t6y.js} +6 -6
- package/dist/chunks/{event-logger-64dywr2y.js → instruction-discovery-k6tkbc6y.js} +48 -43
- package/dist/chunks/{event-logger-k814nvkf.js → instruction-discovery-k814nvkf.js} +1 -1
- package/dist/chunks/{event-logger-a8rctht8.js → instruction-discovery-kddwcmfq.js} +3 -3
- package/dist/chunks/{event-logger-tdrww98m.js → instruction-discovery-kf4j52hm.js} +15 -15
- package/dist/chunks/{event-logger-kt3bjfbg.js → instruction-discovery-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-69cyzmkx.js → instruction-discovery-kv8jnsbb.js} +32 -32
- package/dist/chunks/{event-logger-nv03640d.js → instruction-discovery-kwwzj9vh.js} +16 -16
- package/dist/chunks/{event-logger-wb47rx5c.js → instruction-discovery-kx4zfn7s.js} +8 -8
- package/dist/chunks/{event-logger-4c7f87vz.js → instruction-discovery-kxtse1qm.js} +27 -27
- package/dist/chunks/{event-logger-1s4n11fn.js → instruction-discovery-kyx40m29.js} +17 -17
- package/dist/chunks/{event-logger-y1adw4ng.js → instruction-discovery-kz5za7wj.js} +4 -4
- package/dist/chunks/{event-logger-m1714858.js → instruction-discovery-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-45fbavme.js → instruction-discovery-m2m1xhfw.js} +16 -16
- package/dist/chunks/{event-logger-fzewdj3f.js → instruction-discovery-m442sk3e.js} +23 -23
- package/dist/chunks/{event-logger-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
- package/dist/chunks/instruction-discovery-me0dhgxs.js +18 -0
- package/dist/chunks/{event-logger-0gy3w5fa.js → instruction-discovery-mgn5vsv9.js} +18 -18
- package/dist/chunks/{event-logger-hfzr0j9k.js → instruction-discovery-mnp40s8y.js} +5 -5
- package/dist/chunks/{event-logger-5mf9fz97.js → instruction-discovery-mqpx0pnx.js} +20 -20
- package/dist/chunks/{event-logger-wnap8sgy.js → instruction-discovery-n01dw1sy.js} +19 -19
- package/dist/chunks/{event-logger-djjzzs3c.js → instruction-discovery-n66c6y3m.js} +6 -6
- package/dist/chunks/{event-logger-nah043kf.js → instruction-discovery-nah043kf.js} +1 -1
- package/dist/chunks/{event-logger-bm89pjym.js → instruction-discovery-nfkqfv71.js} +1 -1
- package/dist/chunks/{event-logger-5hjaztc9.js → instruction-discovery-ngxzfb1c.js} +16 -16
- package/dist/chunks/{event-logger-k4qk1kj8.js → instruction-discovery-nptsc9d0.js} +33 -33
- package/dist/chunks/{event-logger-y75300vz.js → instruction-discovery-nsm20kj3.js} +28 -28
- package/dist/chunks/{event-logger-p015t6z3.js → instruction-discovery-p015t6z3.js} +2 -2
- package/dist/chunks/{event-logger-wk2ypcvz.js → instruction-discovery-p2waepnj.js} +18 -18
- package/dist/chunks/{event-logger-8hvz6q16.js → instruction-discovery-pab4qvhq.js} +1 -1
- package/dist/chunks/{event-logger-d3172bjp.js → instruction-discovery-pdn4k0k5.js} +21 -21
- package/dist/chunks/{event-logger-sp5msjrd.js → instruction-discovery-pjgfana8.js} +52 -32
- package/dist/chunks/{event-logger-6413q3zk.js → instruction-discovery-pjwfm23k.js} +10 -10
- package/dist/chunks/{event-logger-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-w76xjer3.js → instruction-discovery-prd8gnhb.js} +4 -4
- package/dist/chunks/{event-logger-hcr59w2p.js → instruction-discovery-pvk4fgqk.js} +22 -22
- package/dist/chunks/instruction-discovery-q0vbkbrh.js +257 -0
- package/dist/chunks/{event-logger-0e4vqphb.js → instruction-discovery-q0xpyrzg.js} +27 -27
- package/dist/chunks/{event-logger-b61xbwj4.js → instruction-discovery-q2kr01gp.js} +28 -28
- package/dist/chunks/instruction-discovery-q665vn8y.js +107 -0
- package/dist/chunks/{event-logger-fa7r6dwy.js → instruction-discovery-qbhpcaah.js} +5 -5
- package/dist/chunks/{event-logger-v7whx8xf.js → instruction-discovery-qmy3sz40.js} +86 -86
- package/dist/chunks/{event-logger-gen5ckbt.js → instruction-discovery-qn73fphh.js} +16 -16
- package/dist/chunks/{event-logger-r0yr0wbs.js → instruction-discovery-r0yr0wbs.js} +1 -1
- package/dist/chunks/{event-logger-8k393grp.js → instruction-discovery-r14veqnk.js} +11 -11
- package/dist/chunks/{event-logger-40za9wsf.js → instruction-discovery-r41sfy63.js} +6 -6
- package/dist/chunks/{event-logger-r542h3bh.js → instruction-discovery-r542h3bh.js} +1 -1
- package/dist/chunks/{event-logger-jvwxvzq5.js → instruction-discovery-r9afhevh.js} +11 -11
- package/dist/chunks/{event-logger-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-t9trs46v.js → instruction-discovery-rfn832fb.js} +25 -25
- package/dist/chunks/{event-logger-gmws95sr.js → instruction-discovery-rgzr2fj7.js} +19 -19
- package/dist/chunks/{event-logger-rt5dr6hb.js → instruction-discovery-rt5dr6hb.js} +1 -1
- package/dist/chunks/{event-logger-q5fk7xbh.js → instruction-discovery-rvh17fyg.js} +11 -11
- package/dist/chunks/{event-logger-0pq4mv21.js → instruction-discovery-s0yhjk23.js} +13 -13
- package/dist/chunks/{event-logger-qae01say.js → instruction-discovery-s26v1fhy.js} +14 -14
- package/dist/chunks/{event-logger-tx91wa5k.js → instruction-discovery-s4f8ct6t.js} +4 -4
- package/dist/chunks/{event-logger-sa3fpqfw.js → instruction-discovery-sa3fpqfw.js} +2 -2
- package/dist/chunks/{event-logger-f94cdys9.js → instruction-discovery-sa5jcsah.js} +14 -14
- package/dist/chunks/{event-logger-a2e8nfn9.js → instruction-discovery-sc1ejmap.js} +24 -24
- package/dist/chunks/{event-logger-h0k93pkc.js → instruction-discovery-sdaxcxz4.js} +5 -5
- package/dist/chunks/{event-logger-ztc543bw.js → instruction-discovery-sgqd298e.js} +27 -27
- package/dist/chunks/{event-logger-sqjzf8x2.js → instruction-discovery-sqjzf8x2.js} +1 -1
- package/dist/chunks/{event-logger-7xg2jm5b.js → instruction-discovery-szcgc7h4.js} +5 -5
- package/dist/chunks/{event-logger-rne48mmd.js → instruction-discovery-t1113r93.js} +15 -15
- package/dist/chunks/{event-logger-qs988mat.js → instruction-discovery-t4dm2043.js} +4 -4
- package/dist/chunks/{event-logger-93j7xxk9.js → instruction-discovery-taxmasjd.js} +14 -14
- package/dist/chunks/{event-logger-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-hy8c1z76.js → instruction-discovery-tg1vr1qt.js} +8 -8
- package/dist/chunks/{event-logger-27jhhrve.js → instruction-discovery-tnrberjk.js} +11 -11
- package/dist/chunks/{event-logger-6z3vsaar.js → instruction-discovery-trr9ktnj.js} +43 -43
- package/dist/chunks/{event-logger-ncm0ncsp.js → instruction-discovery-twdwv45k.js} +5 -5
- package/dist/chunks/{event-logger-twv2r8f4.js → instruction-discovery-twv2r8f4.js} +2 -2
- package/dist/chunks/{event-logger-wr8mwnrf.js → instruction-discovery-txnzry6p.js} +14 -14
- package/dist/chunks/{event-logger-6zea4kyt.js → instruction-discovery-tyn3bpzc.js} +57 -53
- package/dist/chunks/{event-logger-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-vjd7290y.js → instruction-discovery-v4vn6xq1.js} +12 -12
- package/dist/chunks/{event-logger-8n09hdvs.js → instruction-discovery-v8vd993n.js} +8 -8
- package/dist/chunks/{event-logger-vd3b3yk9.js → instruction-discovery-vd3b3yk9.js} +1 -1
- package/dist/chunks/{event-logger-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-19n355zt.js → instruction-discovery-vqkw0r40.js} +17 -17
- package/dist/chunks/{event-logger-h893gfmr.js → instruction-discovery-vsbgdfbh.js} +16 -16
- package/dist/chunks/{event-logger-z8bwyq4z.js → instruction-discovery-vsnw9jjv.js} +41 -41
- package/dist/chunks/{event-logger-ts7mkfs9.js → instruction-discovery-vx3jgdek.js} +2 -2
- package/dist/chunks/{event-logger-fj25vymk.js → instruction-discovery-vxscg46q.js} +10 -10
- package/dist/chunks/{event-logger-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-76cb1hcw.js → instruction-discovery-w8qtt4th.js} +4 -4
- package/dist/chunks/{event-logger-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-5rcy7env.js → instruction-discovery-wcqnm0th.js} +11 -11
- package/dist/chunks/{event-logger-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-cmxajbhr.js → instruction-discovery-wp4rg1a9.js} +5 -5
- package/dist/chunks/{event-logger-qv7y9773.js → instruction-discovery-wqscedq8.js} +4 -4
- package/dist/chunks/{event-logger-wr3re1en.js → instruction-discovery-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-bhfafqr2.js → instruction-discovery-wwr9hj1b.js} +15 -15
- package/dist/chunks/{event-logger-k75r746g.js → instruction-discovery-x849kq2w.js} +21 -21
- package/dist/chunks/{event-logger-ve27gyda.js → instruction-discovery-x9jz5q9y.js} +16 -16
- package/dist/chunks/{event-logger-sv6eng29.js → instruction-discovery-x9wwpfw9.js} +11 -11
- package/dist/chunks/{event-logger-bstexjd6.js → instruction-discovery-xd9cc171.js} +5 -5
- package/dist/chunks/{event-logger-7vqbbbdp.js → instruction-discovery-xkwgy4cp.js} +38 -38
- package/dist/chunks/{event-logger-hfgk9wzg.js → instruction-discovery-xnh55p1t.js} +7 -7
- package/dist/chunks/{event-logger-3medhgs0.js → instruction-discovery-xsyke37x.js} +4 -4
- package/dist/chunks/{event-logger-yebbjcr2.js → instruction-discovery-y3yaq8m0.js} +16 -16
- package/dist/chunks/{event-logger-g35dgk87.js → instruction-discovery-yb049qzj.js} +9 -9
- package/dist/chunks/{event-logger-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-0bvt8end.js → instruction-discovery-z2gcn5m8.js} +8 -8
- package/dist/chunks/{event-logger-z38nccrw.js → instruction-discovery-z38nccrw.js} +1 -1
- package/dist/chunks/{event-logger-bhy0keew.js → instruction-discovery-z4ee4kj5.js} +23 -23
- package/dist/chunks/{event-logger-pgdy3hk4.js → instruction-discovery-z9fvm9x8.js} +11 -11
- package/dist/chunks/{event-logger-egc7ez8f.js → instruction-discovery-zb7rk5jp.js} +12 -12
- package/dist/chunks/{event-logger-5haskeqf.js → instruction-discovery-zbje3vb8.js} +21 -21
- package/dist/chunks/{event-logger-h0ppebc3.js → instruction-discovery-zdn46m04.js} +8 -8
- package/dist/chunks/{event-logger-8164e27y.js → instruction-discovery-zgtcbref.js} +18 -18
- package/dist/chunks/{event-logger-zkg84ctx.js → instruction-discovery-zkg84ctx.js} +1 -1
- package/dist/chunks/{event-logger-p9f90sj6.js → instruction-discovery-zkwh13gz.js} +28 -28
- package/dist/chunks/{event-logger-fhqt5gkd.js → instruction-discovery-zxds5g97.js} +4 -4
- 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 +86 -85
- package/dist/config/discovery.js +90 -89
- package/dist/config/integration.js +1 -1
- 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 +120 -119
- 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 +121 -120
- package/dist/config/plugin/skill-file.js +110 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -140
- 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 +120 -119
- 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 +122 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -87
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +108 -107
- package/dist/form.js +83 -82
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- 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 +163 -160
- 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 +7 -7
- package/dist/mcp/client.js +97 -96
- package/dist/mcp/index.js +115 -114
- package/dist/mcp/instructions.js +146 -143
- package/dist/mcp/oauth.js +83 -82
- 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 +108 -107
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -92
- 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 +223 -220
- 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 +110 -107
- 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 +126 -125
- 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 +75 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -136
- 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 +6 -6
- 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 +117 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +232 -229
- 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 +104 -103
- package/dist/reference/instructions.js +95 -94
- package/dist/reference.js +97 -96
- package/dist/repository-cache.js +87 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -102
- package/dist/rpc.js +92 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +17 -0
- package/dist/session/command.js +79 -78
- package/dist/session/compaction.js +144 -141
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -225
- package/dist/session/execution.js +136 -133
- package/dist/session/generate.js +172 -169
- package/dist/session/history.js +17 -13
- 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 +3 -3
- package/dist/session/session.js +170 -167
- package/dist/session/shell.js +133 -132
- package/dist/session/skill.js +111 -108
- package/dist/session/sql.js +10 -6
- package/dist/session/stats.js +78 -77
- package/dist/session/store.js +90 -87
- 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 +5 -5
- package/dist/session/title.js +174 -171
- package/dist/session/to-session-error.js +120 -117
- package/dist/session/transfer.js +223 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -216
- 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 +13 -13
- package/dist/shell.js +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +115 -112
- package/dist/skill.js +118 -115
- package/dist/snapshot.js +99 -98
- 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 +145 -142
- package/dist/tool/plugin/edit.js +128 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +132 -129
- package/dist/tool/plugin/grep.js +128 -125
- package/dist/tool/plugin/mcp-resource.js +132 -129
- package/dist/tool/plugin/opencode.js +117 -114
- package/dist/tool/plugin/patch.js +126 -123
- package/dist/tool/plugin/question.js +111 -108
- package/dist/tool/plugin/read.js +133 -130
- package/dist/tool/plugin/shell.js +222 -219
- package/dist/tool/plugin/skill.js +119 -116
- package/dist/tool/plugin/subagent.js +222 -219
- 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 +108 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/database/migration/20261025123711_blob.d.ts +3 -0
- package/dist/types/instance.d.ts +1 -2
- 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/instruction-entry.d.ts +1 -1
- 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 +5 -5
- 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 +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/variant.js +97 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -94
- package/dist/voice.js +91 -90
- package/dist/websearch.js +85 -84
- package/dist/wellknown/plugin.js +81 -80
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -86
- 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 +106 -105
- 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 → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5fjb7ams.js → instruction-discovery-5fjb7ams.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a058387c.js → instruction-discovery-a058387c.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → instruction-discovery-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → instruction-discovery-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -5,6 +5,7 @@ import { Database } from "../database/database.js";
|
|
|
5
5
|
import { Bus } from "../bus.js";
|
|
6
6
|
import { SessionMessage } from "./message.js";
|
|
7
7
|
import { SessionSchema } from "./schema.js";
|
|
8
|
+
import { SessionStored } from "./stored.js";
|
|
8
9
|
export { Compaction, CompactionPayload, Delivery, Info, Item, Move, MovePayload, Synthetic, SyntheticPayload, User, UserPayload, };
|
|
9
10
|
/**
|
|
10
11
|
* Which pending input `promote` may consume: "steer" promotes steers only (a step
|
|
@@ -748,96 +749,20 @@ export declare const projectAdmitted: (db: import("../database/drizzle.js").Effe
|
|
|
748
749
|
*/
|
|
749
750
|
export declare const projectDelivered: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
750
751
|
$client: import("effect/sql/SqlClient").SqlClient;
|
|
751
|
-
}, input: PendingRef) => Effect.Effect<
|
|
752
|
+
}, input: PendingRef) => Effect.Effect<Delivered, never, never>;
|
|
753
|
+
/** A consumed row with its payload as stored, so user file refs reach the message without their blobs. */
|
|
754
|
+
export type Delivered = {
|
|
755
|
+
readonly id: SessionMessage.ID;
|
|
752
756
|
readonly type: "user";
|
|
753
|
-
readonly payload:
|
|
754
|
-
readonly text: string;
|
|
755
|
-
readonly files?: readonly {
|
|
756
|
-
readonly data: string;
|
|
757
|
-
readonly mime: string;
|
|
758
|
-
readonly source: {
|
|
759
|
-
readonly type: "inline";
|
|
760
|
-
} | {
|
|
761
|
-
readonly type: "uri";
|
|
762
|
-
readonly uri: string;
|
|
763
|
-
};
|
|
764
|
-
readonly name?: string | undefined;
|
|
765
|
-
readonly description?: string | undefined;
|
|
766
|
-
readonly mention?: {
|
|
767
|
-
readonly start: number;
|
|
768
|
-
readonly end: number;
|
|
769
|
-
readonly text: string;
|
|
770
|
-
} | undefined;
|
|
771
|
-
}[] | undefined;
|
|
772
|
-
readonly agents?: readonly {
|
|
773
|
-
readonly name: string;
|
|
774
|
-
readonly mention?: {
|
|
775
|
-
readonly start: number;
|
|
776
|
-
readonly end: number;
|
|
777
|
-
readonly text: string;
|
|
778
|
-
} | undefined;
|
|
779
|
-
}[] | undefined;
|
|
780
|
-
readonly skills?: readonly {
|
|
781
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
782
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
783
|
-
readonly text?: string | undefined;
|
|
784
|
-
readonly mention?: {
|
|
785
|
-
readonly start: number;
|
|
786
|
-
readonly end: number;
|
|
787
|
-
readonly text: string;
|
|
788
|
-
} | undefined;
|
|
789
|
-
}[] | undefined;
|
|
790
|
-
readonly metadata?: {
|
|
791
|
-
readonly [x: string]: unknown;
|
|
792
|
-
} | undefined;
|
|
793
|
-
};
|
|
794
|
-
readonly delivery: "queue" | "steer";
|
|
795
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
796
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
797
|
-
readonly time: {
|
|
798
|
-
readonly created: DateTime.Utc;
|
|
799
|
-
};
|
|
757
|
+
readonly payload: SessionStored.UserPayload;
|
|
800
758
|
} | {
|
|
759
|
+
readonly id: SessionMessage.ID;
|
|
801
760
|
readonly type: "synthetic";
|
|
802
|
-
readonly payload:
|
|
803
|
-
readonly text: string;
|
|
804
|
-
readonly description?: string | undefined;
|
|
805
|
-
readonly metadata?: {
|
|
806
|
-
readonly [x: string]: unknown;
|
|
807
|
-
} | undefined;
|
|
808
|
-
};
|
|
809
|
-
readonly delivery: "queue" | "steer";
|
|
810
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
811
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
812
|
-
readonly time: {
|
|
813
|
-
readonly created: DateTime.Utc;
|
|
814
|
-
};
|
|
761
|
+
readonly payload: SyntheticPayload;
|
|
815
762
|
} | {
|
|
816
|
-
readonly
|
|
817
|
-
readonly
|
|
818
|
-
|
|
819
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
820
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
821
|
-
readonly time: {
|
|
822
|
-
readonly created: DateTime.Utc;
|
|
823
|
-
};
|
|
824
|
-
} | {
|
|
825
|
-
readonly type: "move";
|
|
826
|
-
readonly payload: {
|
|
827
|
-
readonly location: {
|
|
828
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
829
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
830
|
-
};
|
|
831
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
832
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
833
|
-
};
|
|
834
|
-
readonly delivery: "queue" | "steer";
|
|
835
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
836
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
837
|
-
readonly time: {
|
|
838
|
-
readonly created: DateTime.Utc;
|
|
839
|
-
};
|
|
840
|
-
}, never, never>;
|
|
763
|
+
readonly id: SessionMessage.ID;
|
|
764
|
+
readonly type: "compaction" | "move";
|
|
765
|
+
};
|
|
841
766
|
export declare const projectCancelled: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
842
767
|
$client: import("effect/sql/SqlClient").SqlClient;
|
|
843
768
|
}, input: PendingRef) => Effect.Effect<undefined, never, never>;
|
|
@@ -945,96 +870,18 @@ export declare const moveIDs: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
945
870
|
}[], never, never>;
|
|
946
871
|
export declare const nextPromotable: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
947
872
|
$client: import("effect/sql/SqlClient").SqlClient;
|
|
948
|
-
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, promotable: Promotable) => Effect.Effect<
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
readonly mime: string;
|
|
955
|
-
readonly source: {
|
|
956
|
-
readonly type: "inline";
|
|
957
|
-
} | {
|
|
958
|
-
readonly type: "uri";
|
|
959
|
-
readonly uri: string;
|
|
960
|
-
};
|
|
961
|
-
readonly name?: string | undefined;
|
|
962
|
-
readonly description?: string | undefined;
|
|
963
|
-
readonly mention?: {
|
|
964
|
-
readonly start: number;
|
|
965
|
-
readonly end: number;
|
|
966
|
-
readonly text: string;
|
|
967
|
-
} | undefined;
|
|
968
|
-
}[] | undefined;
|
|
969
|
-
readonly agents?: readonly {
|
|
970
|
-
readonly name: string;
|
|
971
|
-
readonly mention?: {
|
|
972
|
-
readonly start: number;
|
|
973
|
-
readonly end: number;
|
|
974
|
-
readonly text: string;
|
|
975
|
-
} | undefined;
|
|
976
|
-
}[] | undefined;
|
|
977
|
-
readonly skills?: readonly {
|
|
978
|
-
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
979
|
-
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
980
|
-
readonly text?: string | undefined;
|
|
981
|
-
readonly mention?: {
|
|
982
|
-
readonly start: number;
|
|
983
|
-
readonly end: number;
|
|
984
|
-
readonly text: string;
|
|
985
|
-
} | undefined;
|
|
986
|
-
}[] | undefined;
|
|
987
|
-
readonly metadata?: {
|
|
988
|
-
readonly [x: string]: unknown;
|
|
989
|
-
} | undefined;
|
|
990
|
-
};
|
|
991
|
-
readonly delivery: "queue" | "steer";
|
|
992
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
993
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
994
|
-
readonly time: {
|
|
995
|
-
readonly created: DateTime.Utc;
|
|
996
|
-
};
|
|
997
|
-
} | {
|
|
998
|
-
readonly type: "synthetic";
|
|
999
|
-
readonly payload: {
|
|
1000
|
-
readonly text: string;
|
|
1001
|
-
readonly description?: string | undefined;
|
|
1002
|
-
readonly metadata?: {
|
|
1003
|
-
readonly [x: string]: unknown;
|
|
1004
|
-
} | undefined;
|
|
1005
|
-
};
|
|
1006
|
-
readonly delivery: "queue" | "steer";
|
|
1007
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1008
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1009
|
-
readonly time: {
|
|
1010
|
-
readonly created: DateTime.Utc;
|
|
1011
|
-
};
|
|
1012
|
-
} | {
|
|
1013
|
-
readonly type: "compaction";
|
|
1014
|
-
readonly payload: {};
|
|
1015
|
-
readonly delivery: "queue" | "steer";
|
|
1016
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1017
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1018
|
-
readonly time: {
|
|
1019
|
-
readonly created: DateTime.Utc;
|
|
1020
|
-
};
|
|
873
|
+
}, sessionID: string & import("effect/Brand").Brand<"SessionID">, promotable: Promotable) => Effect.Effect<Promotion | undefined, never, never>;
|
|
874
|
+
/** What a boundary decides on: prompts are promoted by id, so only a move's payload is read. */
|
|
875
|
+
export type Promotion = {
|
|
876
|
+
readonly id: SessionMessage.ID;
|
|
877
|
+
readonly type: "user" | "synthetic" | "compaction";
|
|
878
|
+
readonly delivery: Delivery;
|
|
1021
879
|
} | {
|
|
880
|
+
readonly id: SessionMessage.ID;
|
|
1022
881
|
readonly type: "move";
|
|
1023
|
-
readonly
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
1027
|
-
};
|
|
1028
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
1029
|
-
readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
|
|
1030
|
-
};
|
|
1031
|
-
readonly delivery: "queue" | "steer";
|
|
1032
|
-
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1033
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
1034
|
-
readonly time: {
|
|
1035
|
-
readonly created: DateTime.Utc;
|
|
1036
|
-
};
|
|
1037
|
-
} | undefined, never, never>;
|
|
882
|
+
readonly delivery: Delivery;
|
|
883
|
+
readonly payload: MovePayload;
|
|
884
|
+
};
|
|
1038
885
|
/** Which pending rows count: "input" means any item in either delivery mode. */
|
|
1039
886
|
export type Scope = "input" | Delivery;
|
|
1040
887
|
export declare const has: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
|
|
@@ -49,4 +49,4 @@ export interface Interface {
|
|
|
49
49
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/InstructionEntry", Interface>;
|
|
50
50
|
export declare class Service extends Service_base {
|
|
51
51
|
}
|
|
52
|
-
export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"
|
|
52
|
+
export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"global">>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export * as SessionRecentText from "./recent-text.js";
|
|
2
2
|
import type { SessionMessage } from "./message.js";
|
|
3
|
+
import type { SessionStored } from "./stored.js";
|
|
3
4
|
/**
|
|
4
5
|
* The text of the messages a summary compaction kept verbatim. History rebuilds it from `metadata.keepID`;
|
|
5
6
|
* compactions written before that reference carry the text they stored.
|
|
6
7
|
*/
|
|
7
8
|
export declare const kept: (message: SessionMessage.CompactionCompleted) => string;
|
|
8
9
|
/** One message as the recent, verbatim part of a summary shows it. Empty for messages that part leaves out. */
|
|
9
|
-
export declare const messageToText: (message: SessionMessage.Info) => string;
|
|
10
|
+
export declare const messageToText: (message: SessionMessage.Info | SessionStored.User) => string;
|
|
10
11
|
export declare const truncateToolOutput: (value: string) => string;
|
|
11
12
|
export declare const serializeToolContent: (content: ReadonlyArray<SessionMessage.ToolStateCompleted["content"][number]>) => string;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { SessionMessage } from "./message.js";
|
|
2
2
|
import type { FileDiff } from "@opencode/schema/file-diff";
|
|
3
3
|
import type { SessionSchema } from "./schema.js";
|
|
4
|
+
import type { SessionStored } from "./stored.js";
|
|
4
5
|
import type { CompactionPayload, MovePayload, SyntheticPayload, UserPayload } from "@opencode/schema/session-inbox";
|
|
5
6
|
import type { RevertV1 } from "@opencode/schema/session-revert";
|
|
6
7
|
import type { Schema } from "effect";
|
|
7
8
|
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
8
|
-
type SessionMessageData = DistributiveOmit<(typeof SessionMessage.Info)["Encoded"],
|
|
9
|
+
type SessionMessageData = DistributiveOmit<Exclude<(typeof SessionMessage.Info)["Encoded"], {
|
|
10
|
+
readonly type: "user";
|
|
11
|
+
}> | (typeof SessionStored.User)["Encoded"], "type" | "id">;
|
|
9
12
|
export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
10
13
|
name: "session_v2";
|
|
11
14
|
schema: undefined;
|
|
@@ -899,7 +902,7 @@ export declare const SessionInboxTable: import("drizzle-orm/sqlite-core").SQLite
|
|
|
899
902
|
name: string;
|
|
900
903
|
tableName: "session_inbox";
|
|
901
904
|
dataType: "object json";
|
|
902
|
-
data: CompactionPayload | MovePayload | SyntheticPayload | UserPayload;
|
|
905
|
+
data: CompactionPayload | MovePayload | SyntheticPayload | SessionStored.UserPayload;
|
|
903
906
|
driverParam: string;
|
|
904
907
|
notNull: true;
|
|
905
908
|
hasDefault: false;
|
|
@@ -1191,4 +1194,194 @@ export declare const InstructionStateTable: import("drizzle-orm/sqlite-core").SQ
|
|
|
1191
1194
|
};
|
|
1192
1195
|
dialect: 'sqlite';
|
|
1193
1196
|
}>;
|
|
1197
|
+
export declare const BlobTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1198
|
+
name: "blob";
|
|
1199
|
+
schema: undefined;
|
|
1200
|
+
columns: {
|
|
1201
|
+
hash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1202
|
+
name: string;
|
|
1203
|
+
tableName: "blob";
|
|
1204
|
+
dataType: "string";
|
|
1205
|
+
data: string;
|
|
1206
|
+
driverParam: string;
|
|
1207
|
+
notNull: true;
|
|
1208
|
+
hasDefault: false;
|
|
1209
|
+
isPrimaryKey: true;
|
|
1210
|
+
isAutoincrement: false;
|
|
1211
|
+
hasRuntimeDefault: false;
|
|
1212
|
+
enumValues: [string, ...string[]];
|
|
1213
|
+
baseColumn: never;
|
|
1214
|
+
identity: undefined;
|
|
1215
|
+
generated: undefined;
|
|
1216
|
+
}, {}>;
|
|
1217
|
+
mime: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1218
|
+
name: string;
|
|
1219
|
+
tableName: "blob";
|
|
1220
|
+
dataType: "string";
|
|
1221
|
+
data: string;
|
|
1222
|
+
driverParam: string;
|
|
1223
|
+
notNull: true;
|
|
1224
|
+
hasDefault: false;
|
|
1225
|
+
isPrimaryKey: false;
|
|
1226
|
+
isAutoincrement: false;
|
|
1227
|
+
hasRuntimeDefault: false;
|
|
1228
|
+
enumValues: [string, ...string[]];
|
|
1229
|
+
baseColumn: never;
|
|
1230
|
+
identity: undefined;
|
|
1231
|
+
generated: undefined;
|
|
1232
|
+
}, {}>;
|
|
1233
|
+
bytes: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1234
|
+
name: string;
|
|
1235
|
+
tableName: "blob";
|
|
1236
|
+
dataType: "number int53";
|
|
1237
|
+
data: number;
|
|
1238
|
+
driverParam: number;
|
|
1239
|
+
notNull: true;
|
|
1240
|
+
hasDefault: false;
|
|
1241
|
+
isPrimaryKey: false;
|
|
1242
|
+
isAutoincrement: false;
|
|
1243
|
+
hasRuntimeDefault: false;
|
|
1244
|
+
enumValues: undefined;
|
|
1245
|
+
baseColumn: never;
|
|
1246
|
+
identity: undefined;
|
|
1247
|
+
generated: undefined;
|
|
1248
|
+
}, {}>;
|
|
1249
|
+
width: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1250
|
+
name: string;
|
|
1251
|
+
tableName: "blob";
|
|
1252
|
+
dataType: "number int53";
|
|
1253
|
+
data: number;
|
|
1254
|
+
driverParam: number;
|
|
1255
|
+
notNull: false;
|
|
1256
|
+
hasDefault: false;
|
|
1257
|
+
isPrimaryKey: false;
|
|
1258
|
+
isAutoincrement: false;
|
|
1259
|
+
hasRuntimeDefault: false;
|
|
1260
|
+
enumValues: undefined;
|
|
1261
|
+
baseColumn: never;
|
|
1262
|
+
identity: undefined;
|
|
1263
|
+
generated: undefined;
|
|
1264
|
+
}, {}>;
|
|
1265
|
+
height: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1266
|
+
name: string;
|
|
1267
|
+
tableName: "blob";
|
|
1268
|
+
dataType: "number int53";
|
|
1269
|
+
data: number;
|
|
1270
|
+
driverParam: number;
|
|
1271
|
+
notNull: false;
|
|
1272
|
+
hasDefault: false;
|
|
1273
|
+
isPrimaryKey: false;
|
|
1274
|
+
isAutoincrement: false;
|
|
1275
|
+
hasRuntimeDefault: false;
|
|
1276
|
+
enumValues: undefined;
|
|
1277
|
+
baseColumn: never;
|
|
1278
|
+
identity: undefined;
|
|
1279
|
+
generated: undefined;
|
|
1280
|
+
}, {}>;
|
|
1281
|
+
data: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1282
|
+
name: string;
|
|
1283
|
+
tableName: "blob";
|
|
1284
|
+
dataType: "object buffer";
|
|
1285
|
+
data: Buffer<ArrayBufferLike>;
|
|
1286
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
1287
|
+
notNull: true;
|
|
1288
|
+
hasDefault: false;
|
|
1289
|
+
isPrimaryKey: false;
|
|
1290
|
+
isAutoincrement: false;
|
|
1291
|
+
hasRuntimeDefault: false;
|
|
1292
|
+
enumValues: undefined;
|
|
1293
|
+
baseColumn: never;
|
|
1294
|
+
identity: undefined;
|
|
1295
|
+
generated: undefined;
|
|
1296
|
+
}, {}>;
|
|
1297
|
+
time_created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1298
|
+
name: string;
|
|
1299
|
+
tableName: "blob";
|
|
1300
|
+
dataType: "number int53";
|
|
1301
|
+
data: number;
|
|
1302
|
+
driverParam: number;
|
|
1303
|
+
notNull: true;
|
|
1304
|
+
hasDefault: true;
|
|
1305
|
+
isPrimaryKey: false;
|
|
1306
|
+
isAutoincrement: false;
|
|
1307
|
+
hasRuntimeDefault: true;
|
|
1308
|
+
enumValues: undefined;
|
|
1309
|
+
baseColumn: never;
|
|
1310
|
+
identity: undefined;
|
|
1311
|
+
generated: undefined;
|
|
1312
|
+
}, {}>;
|
|
1313
|
+
};
|
|
1314
|
+
dialect: 'sqlite';
|
|
1315
|
+
}>;
|
|
1316
|
+
export declare const BlobRefTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1317
|
+
name: "blob_ref";
|
|
1318
|
+
schema: undefined;
|
|
1319
|
+
columns: {
|
|
1320
|
+
session_id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1321
|
+
name: string;
|
|
1322
|
+
tableName: "blob_ref";
|
|
1323
|
+
dataType: "string";
|
|
1324
|
+
data: string & import("effect/Brand").Brand<"SessionID">;
|
|
1325
|
+
driverParam: string;
|
|
1326
|
+
notNull: true;
|
|
1327
|
+
hasDefault: false;
|
|
1328
|
+
isPrimaryKey: false;
|
|
1329
|
+
isAutoincrement: false;
|
|
1330
|
+
hasRuntimeDefault: false;
|
|
1331
|
+
enumValues: [string, ...string[]];
|
|
1332
|
+
baseColumn: never;
|
|
1333
|
+
identity: undefined;
|
|
1334
|
+
generated: undefined;
|
|
1335
|
+
}, {}>;
|
|
1336
|
+
message_id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1337
|
+
name: string;
|
|
1338
|
+
tableName: "blob_ref";
|
|
1339
|
+
dataType: "string";
|
|
1340
|
+
data: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1341
|
+
driverParam: string;
|
|
1342
|
+
notNull: true;
|
|
1343
|
+
hasDefault: false;
|
|
1344
|
+
isPrimaryKey: false;
|
|
1345
|
+
isAutoincrement: false;
|
|
1346
|
+
hasRuntimeDefault: false;
|
|
1347
|
+
enumValues: [string, ...string[]];
|
|
1348
|
+
baseColumn: never;
|
|
1349
|
+
identity: undefined;
|
|
1350
|
+
generated: undefined;
|
|
1351
|
+
}, {}>;
|
|
1352
|
+
hash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1353
|
+
name: string;
|
|
1354
|
+
tableName: "blob_ref";
|
|
1355
|
+
dataType: "string";
|
|
1356
|
+
data: string;
|
|
1357
|
+
driverParam: string;
|
|
1358
|
+
notNull: true;
|
|
1359
|
+
hasDefault: false;
|
|
1360
|
+
isPrimaryKey: false;
|
|
1361
|
+
isAutoincrement: false;
|
|
1362
|
+
hasRuntimeDefault: false;
|
|
1363
|
+
enumValues: [string, ...string[]];
|
|
1364
|
+
baseColumn: never;
|
|
1365
|
+
identity: undefined;
|
|
1366
|
+
generated: undefined;
|
|
1367
|
+
}, {}>;
|
|
1368
|
+
seq: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1369
|
+
name: string;
|
|
1370
|
+
tableName: "blob_ref";
|
|
1371
|
+
dataType: "number int53";
|
|
1372
|
+
data: number;
|
|
1373
|
+
driverParam: number;
|
|
1374
|
+
notNull: true;
|
|
1375
|
+
hasDefault: false;
|
|
1376
|
+
isPrimaryKey: false;
|
|
1377
|
+
isAutoincrement: false;
|
|
1378
|
+
hasRuntimeDefault: false;
|
|
1379
|
+
enumValues: undefined;
|
|
1380
|
+
baseColumn: never;
|
|
1381
|
+
identity: undefined;
|
|
1382
|
+
generated: undefined;
|
|
1383
|
+
}, {}>;
|
|
1384
|
+
};
|
|
1385
|
+
dialect: 'sqlite';
|
|
1386
|
+
}>;
|
|
1194
1387
|
export {};
|