@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
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node54
|
|
4
|
+
} from "./instruction-discovery-3kjng0cn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./instruction-discovery-kwwzj9vh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node53
|
|
12
|
+
} from "./instruction-discovery-htsj1ang.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
|
|
|
36
36
|
class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
38
|
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
39
|
+
const config = yield* Service50;
|
|
40
|
+
const watcher = yield* Service51;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service83;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -73,7 +73,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
73
73
|
var node6 = makeLocationNode({
|
|
74
74
|
service: Service5,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node53, FSUtil.node, node54, node87]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
79
|
service: Service5,
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./instruction-discovery-0pwrv1px.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./instruction-discovery-jy1vh16h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-41t08jwg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./instruction-discovery-q0xpyrzg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./instruction-discovery-abqtacmz.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-1at1dets.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-x9wwpfw9.js";
|
|
31
31
|
import {
|
|
32
32
|
ID10
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-qn73fphh.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID13.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service76;
|
|
168
|
+
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,9 +260,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-6tpjd6jw.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
12
|
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref5,
|
|
15
|
+
Service: () => Service83,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node87,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as Info28, Ref as
|
|
21
|
+
import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service83 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node87 = LayerNode.unbound(Service83, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service83, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service84;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service83.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service83,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node88]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info28,
|
|
43
|
+
export { Info28, Ref5, response2, Service83, node87, boundNode2, exports_location };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-r41sfy63.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin19,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin3 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin19, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./instruction-discovery-kwwzj9vh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./instruction-discovery-zgtcbref.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./instruction-discovery-x849kq2w.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-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
|
+
Service29
|
|
26
|
+
} from "./instruction-discovery-zbje3vb8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-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: () => Input8,
|
|
35
|
+
Plugin: () => Plugin10,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name8,
|
|
38
|
+
toModelContent: () => toModelContent4
|
|
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 name8 = "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 Input8 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin10 = {
|
|
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* Service29;
|
|
61
|
+
const access = yield* Service64;
|
|
62
|
+
const sessionInstructions = yield* Service9;
|
|
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: name8,
|
|
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: Input8,
|
|
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: toModelContent4(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 toModelContent4 = (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 { name8, Input8, Plugin10, toModelContent4, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-ge6wgs05.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-j3t6aztb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
decodeMessageRows2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-6mx77wfc.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-27bs79w9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
26
|
node: () => node71
|
|
27
27
|
});
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service67 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service87;
|
|
60
|
-
return
|
|
60
|
+
return Service67.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,15 +99,15 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
99
99
|
const boundary = anchor ? order === "asc" ? gt(SessionMessageTable2.seq, anchor.seq) : lt(SessionMessageTable2.seq, anchor.seq) : undefined;
|
|
100
100
|
const query = db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, input.sessionID), boundary, input.type === undefined ? undefined : eq(SessionMessageTable2.type, input.type))).orderBy(order === "asc" ? asc(SessionMessageTable2.seq) : desc(SessionMessageTable2.seq));
|
|
101
101
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
102
|
-
return yield*
|
|
102
|
+
return yield* decodeMessageRows2(db, direction === "previous" ? rows.toReversed() : rows);
|
|
103
103
|
}),
|
|
104
104
|
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
105
105
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
106
106
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
if (!row)
|
|
108
|
+
return;
|
|
109
|
+
const [message] = yield* decodeMessageRows2(db, [row]).pipe(Effect.orDie);
|
|
110
|
+
return message && { sessionID: row.session_id, message };
|
|
111
111
|
}),
|
|
112
112
|
listSuspended: Effect.fn("SessionStore.listSuspended")(function* () {
|
|
113
113
|
return yield* db.select({ sessionID: SessionTable2.id }).from(SessionTable2).where(and(isNotNull(SessionTable2.time_suspended), isNull(SessionTable2.parent_id))).all().pipe(Effect.orDie, Effect.map((rows) => rows.map((row) => row.sessionID)));
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var node71 = makeGlobalNode({ service:
|
|
131
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node91] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service67, node71, exports_store };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-38adaqc0.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node76
|
|
4
|
+
} from "./instruction-discovery-c4sx0a9c.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service57,
|
|
20
|
+
make: () => make21,
|
|
21
|
+
node: () => node60
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make21 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service72;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make22 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service57.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make22 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service57, make21);
|
|
360
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node76] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service57, make21, node60, exports_job };
|