@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
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SessionMessage2
|
|
3
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
4
|
+
import {
|
|
5
|
+
__export
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
|
+
|
|
8
|
+
// src/session/stored.ts
|
|
9
|
+
var exports_stored = {};
|
|
10
|
+
__export(exports_stored, {
|
|
11
|
+
File: () => File2,
|
|
12
|
+
FileRef: () => FileRef2,
|
|
13
|
+
Ref: () => Ref3,
|
|
14
|
+
SessionStored: () => exports_stored,
|
|
15
|
+
ToolFileRef: () => ToolFileRef2,
|
|
16
|
+
User: () => User3,
|
|
17
|
+
UserPayload: () => UserPayload3,
|
|
18
|
+
refHash: () => refHash2
|
|
19
|
+
});
|
|
20
|
+
import { Schema } from "effect";
|
|
21
|
+
import { FileAttachment } from "@opencode/schema/prompt";
|
|
22
|
+
import { optional } from "@opencode/schema/schema";
|
|
23
|
+
import { UserPayload as InboxUserPayload } from "@opencode/schema/session-inbox";
|
|
24
|
+
import { Tool } from "@opencode/schema/tool";
|
|
25
|
+
var Ref3 = Schema.String.check(Schema.isPattern(/^media:[0-9a-f]{64}$/));
|
|
26
|
+
var refHash2 = (ref) => ref.slice("media:".length);
|
|
27
|
+
var { data: _, ...attachment } = FileAttachment.fields;
|
|
28
|
+
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref3 });
|
|
29
|
+
var File2 = Schema.Union([FileAttachment, FileRef2]);
|
|
30
|
+
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref3 });
|
|
31
|
+
var files = Schema.Array(File2).pipe(optional);
|
|
32
|
+
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
33
|
+
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
34
|
+
|
|
35
|
+
export { Ref3, refHash2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-jefw9j3y.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-j3t6aztb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service86,
|
|
4
|
+
node90
|
|
5
|
+
} from "./instruction-discovery-0pwrv1px.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make23,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-jefw9j3y.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
File: () => File3,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
26
|
Options: () => Options7,
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
27
|
+
Service: () => Service73,
|
|
28
|
+
configured: () => configured10,
|
|
29
|
+
layer: () => layer27,
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File3 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
40
|
+
var Files = Schema.Array(File3);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event14 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
45
|
var Options7 = Schema.Struct({
|
|
@@ -47,16 +47,16 @@ var Options7 = Schema.Struct({
|
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer27 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service86;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File3(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer25 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make23({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer25 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service73.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer25 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured10(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service73,
|
|
107
|
+
layer: layer27(options),
|
|
108
|
+
deps: [node90]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node77 = configured10();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { File3, Event14, Options7, Service73, layer27, configured10, node77, exports_instruction_discovery };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service74,
|
|
3
|
+
node78,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-0fhwjkjb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service38,
|
|
8
|
+
node40
|
|
9
|
+
} from "./instruction-discovery-k3cw2t6y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service16
|
|
12
|
+
} from "./instruction-discovery-102edbh2.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-q0vbkbrh.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service74, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service16);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node40.replace(Layer.succeed(Service38, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node78.replace(Layer.succeed(Service74, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-vx3jgdek.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./instruction-discovery-41t08jwg.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID13.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node86,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service82 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service82.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service82, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node86 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service82, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured11, node86, exports_select };
|
|
@@ -115,6 +115,28 @@ var schema = {
|
|
|
115
115
|
\`commands\` text
|
|
116
116
|
);
|
|
117
117
|
`);
|
|
118
|
+
yield* tx.run(`
|
|
119
|
+
CREATE TABLE \`blob_ref\` (
|
|
120
|
+
\`session_id\` text NOT NULL,
|
|
121
|
+
\`message_id\` text NOT NULL,
|
|
122
|
+
\`hash\` text NOT NULL,
|
|
123
|
+
\`seq\` integer NOT NULL,
|
|
124
|
+
CONSTRAINT \`blob_ref_pk\` PRIMARY KEY(\`session_id\`, \`message_id\`, \`hash\`),
|
|
125
|
+
CONSTRAINT \`fk_blob_ref_session_id_session_v2_id_fk\` FOREIGN KEY (\`session_id\`) REFERENCES \`session_v2\`(\`id\`) ON DELETE CASCADE,
|
|
126
|
+
CONSTRAINT \`fk_blob_ref_hash_blob_hash_fk\` FOREIGN KEY (\`hash\`) REFERENCES \`blob\`(\`hash\`) ON DELETE CASCADE
|
|
127
|
+
);
|
|
128
|
+
`);
|
|
129
|
+
yield* tx.run(`
|
|
130
|
+
CREATE TABLE \`blob\` (
|
|
131
|
+
\`hash\` text PRIMARY KEY,
|
|
132
|
+
\`mime\` text NOT NULL,
|
|
133
|
+
\`bytes\` integer NOT NULL,
|
|
134
|
+
\`width\` integer,
|
|
135
|
+
\`height\` integer,
|
|
136
|
+
\`data\` blob NOT NULL,
|
|
137
|
+
\`time_created\` integer NOT NULL
|
|
138
|
+
);
|
|
139
|
+
`);
|
|
118
140
|
yield* tx.run(`
|
|
119
141
|
CREATE TABLE \`instruction_blob\` (
|
|
120
142
|
\`hash\` text PRIMARY KEY,
|
|
@@ -242,6 +264,8 @@ var schema = {
|
|
|
242
264
|
yield* tx.run(`CREATE UNIQUE INDEX \`event_aggregate_seq_idx\` ON \`event\` (\`aggregate_id\`,\`seq\`);`);
|
|
243
265
|
yield* tx.run(`CREATE INDEX \`event_aggregate_type_seq_idx\` ON \`event\` (\`aggregate_id\`,\`type\`,\`seq\`);`);
|
|
244
266
|
yield* tx.run(`CREATE UNIQUE INDEX \`permission_project_action_resource_idx\` ON \`permission\` (\`project_id\`,\`action\`,\`resource\`);`);
|
|
267
|
+
yield* tx.run(`CREATE INDEX \`blob_ref_hash_idx\` ON \`blob_ref\` (\`hash\`);`);
|
|
268
|
+
yield* tx.run(`CREATE INDEX \`blob_ref_session_seq_idx\` ON \`blob_ref\` (\`session_id\`,\`seq\`);`);
|
|
245
269
|
yield* tx.run(`CREATE INDEX \`session_inbox_session_delivery_seq_idx\` ON \`session_inbox\` (\`session_id\`,\`delivery\`,\`enqueued_seq\`);`);
|
|
246
270
|
yield* tx.run(`CREATE UNIQUE INDEX \`session_inbox_session_enqueued_seq_idx\` ON \`session_inbox\` (\`session_id\`,\`enqueued_seq\`);`);
|
|
247
271
|
yield* tx.run(`CREATE UNIQUE INDEX \`session_message_session_seq_idx\` ON \`session_message\` (\`session_id\`,\`seq\`);`);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin19
|
|
3
|
+
} from "./instruction-discovery-kx4zfn7s.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin21
|
|
6
|
+
} from "./instruction-discovery-2nm1jq1n.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin18
|
|
9
|
+
} from "./instruction-discovery-9cw5bcc9.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin20
|
|
12
|
+
} from "./instruction-discovery-8e3kbr0h.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin17
|
|
15
|
+
} from "./instruction-discovery-737zpaxg.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin19,
|
|
20
|
+
Plugin21,
|
|
21
|
+
Plugin18,
|
|
22
|
+
Plugin20,
|
|
23
|
+
Plugin17
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9r4wwjnf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin31 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin31, exports_plan };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-x9wwpfw9.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin21 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin9 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin9 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin21, exports_firecrawl };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-rfn832fb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID7.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-q0xpyrzg.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-abqtacmz.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./instruction-discovery-htsj1ang.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
14
|
resolve3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-ekvz5h58.js";
|
|
16
16
|
import {
|
|
17
17
|
Document2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-e07q2w5p.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-6pjqjmy2.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/provider.ts
|
|
27
27
|
var exports_provider = {};
|
|
28
28
|
__export(exports_provider, {
|
|
29
29
|
ConfigProviderPlugin: () => exports_provider,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin37,
|
|
31
31
|
integrate: () => integrate2
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Money } from "@opencode/schema/money";
|
|
35
35
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Plugin37 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service50;
|
|
40
40
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
41
|
yield* ctx.integration.transform((integrations) => {
|
|
42
42
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -247,4 +247,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export {
|
|
250
|
+
export { Plugin37, integrate2, exports_provider };
|