@opencode/core 0.0.0-dev-20782 → 0.0.0-dev-20783
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 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → skill-02nrjc1r.js} +8 -8
- package/dist/chunks/{instruction-discovery-gge0vm43.js → skill-03g2t9hw.js} +8 -8
- package/dist/chunks/{instruction-discovery-yfhn5nrx.js → skill-04cccj5a.js} +12 -12
- package/dist/chunks/{instruction-discovery-0stc2z4v.js → skill-04w8c0ba.js} +19 -19
- package/dist/chunks/{instruction-discovery-q5mm4580.js → skill-06jffbs3.js} +19 -19
- package/dist/chunks/{instruction-discovery-z6qhsg7w.js → skill-070wkmva.js} +33 -33
- package/dist/chunks/{instruction-discovery-x0jg5t32.js → skill-07eh7qw4.js} +13 -13
- package/dist/chunks/{instruction-discovery-4cdv1at0.js → skill-0jta6v3t.js} +13 -13
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-gj71zhbs.js → skill-0r3c1bmw.js} +5 -5
- package/dist/chunks/{instruction-discovery-8n1xcq6q.js → skill-0rkq89b0.js} +20 -20
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-gf7945dc.js → skill-0vpaabdz.js} +12 -12
- package/dist/chunks/{instruction-discovery-2wdw534y.js → skill-13zfdqkn.js} +8 -8
- package/dist/chunks/{instruction-discovery-vx3jgdek.js → skill-143qq2q9.js} +3 -3
- package/dist/chunks/{instruction-discovery-686tktas.js → skill-1b6q68c3.js} +11 -11
- package/dist/chunks/{instruction-discovery-1dvck2a7.js → skill-1dvck2a7.js} +2 -2
- package/dist/chunks/{instruction-discovery-e9ga1v8m.js → skill-1k80zed8.js} +5 -5
- package/dist/chunks/{instruction-discovery-8sze2n9a.js → skill-1p07q0wb.js} +8 -8
- package/dist/chunks/{instruction-discovery-cqchcp8x.js → skill-1pn8hfyw.js} +22 -22
- package/dist/chunks/{instruction-discovery-1tbv6vyw.js → skill-1tbv6vyw.js} +3 -3
- package/dist/chunks/{instruction-discovery-sw89crrp.js → skill-1tegpzkj.js} +48 -48
- package/dist/chunks/{instruction-discovery-1ygqh575.js → skill-1ygqh575.js} +2 -2
- package/dist/chunks/{instruction-discovery-d858xzj7.js → skill-277eer69.js} +4 -4
- package/dist/chunks/{instruction-discovery-44ak30pa.js → skill-29qym6xz.js} +4 -4
- package/dist/chunks/{instruction-discovery-qkmtz0t6.js → skill-2jy61na5.js} +7 -7
- package/dist/chunks/{instruction-discovery-0jwsre1p.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-t7n9q6bq.js → skill-2vs2nh1n.js} +4 -4
- package/dist/chunks/{instruction-discovery-s69ykywc.js → skill-2xsrshre.js} +3 -3
- package/dist/chunks/{instruction-discovery-z4p89hhw.js → skill-2z1v9gjs.js} +30 -30
- package/dist/chunks/{instruction-discovery-feetnjr6.js → skill-358bewed.js} +40 -40
- package/dist/chunks/{instruction-discovery-syz74wzn.js → skill-3b53nk28.js} +5 -5
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → skill-3hwn7j4h.js} +5 -5
- package/dist/chunks/{instruction-discovery-8b5rhhee.js → skill-3n6qd5yb.js} +1 -1
- package/dist/chunks/{instruction-discovery-ncjwbx8b.js → skill-3njy147n.js} +26 -26
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-kyktj0vd.js → skill-3y9bq3t8.js} +6 -6
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-r3q6pmcz.js → skill-40ptwz48.js} +6 -6
- package/dist/chunks/{instruction-discovery-6caak1jq.js → skill-479k0gs5.js} +14 -14
- package/dist/chunks/{instruction-discovery-rzzn19w1.js → skill-485qxas3.js} +9 -9
- package/dist/chunks/{instruction-discovery-zsr4wwhv.js → skill-4j4tgtq5.js} +4 -4
- package/dist/chunks/{instruction-discovery-af40zjcf.js → skill-4qhq17ss.js} +23 -23
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instruction-discovery-50mzsvk4.js → skill-50mzsvk4.js} +1 -1
- package/dist/chunks/{instruction-discovery-nj2dn555.js → skill-52v53gqf.js} +35 -35
- package/dist/chunks/{instruction-discovery-r94pvvab.js → skill-54ma36ye.js} +4 -4
- package/dist/chunks/{instruction-discovery-y7bnjqap.js → skill-561ssg1x.js} +4 -4
- package/dist/chunks/{instruction-discovery-xfkkasph.js → skill-57b9ws8p.js} +7 -7
- package/dist/chunks/{instruction-discovery-0vbd7zxx.js → skill-58sep7qz.js} +12 -12
- package/dist/chunks/{instruction-discovery-v23r60sg.js → skill-58vc7jc3.js} +11 -11
- package/dist/chunks/{instruction-discovery-a11hgr5e.js → skill-5b4dqe4n.js} +25 -25
- package/dist/chunks/{instruction-discovery-y6wkewnn.js → skill-5cj392th.js} +41 -41
- package/dist/chunks/{instruction-discovery-rv5n7j43.js → skill-5gbtv9te.js} +94 -94
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-c2kcpa0d.js → skill-6707cyp3.js} +17 -17
- package/dist/chunks/{instruction-discovery-akv18b54.js → skill-674dsst4.js} +36 -36
- package/dist/chunks/{instruction-discovery-bxvqbgr6.js → skill-67j1ykj9.js} +9 -9
- package/dist/chunks/{instruction-discovery-8a6ws7jr.js → skill-6b8kbxwq.js} +9 -9
- package/dist/chunks/{instruction-discovery-8stx3s0r.js → skill-6cw3zjxa.js} +35 -35
- package/dist/chunks/{instruction-discovery-4434d9q2.js → skill-6g7e4dd5.js} +9 -9
- package/dist/chunks/{instruction-discovery-602dh00x.js → skill-6krh7jxd.js} +6 -6
- package/dist/chunks/{instruction-discovery-z2k32cdp.js → skill-6mp9tdn9.js} +41 -41
- package/dist/chunks/{instruction-discovery-2geymwnw.js → skill-6qpmcf3t.js} +40 -40
- package/dist/chunks/{instruction-discovery-sezbf1v0.js → skill-6ty2jb9x.js} +9 -9
- package/dist/chunks/{instruction-discovery-ckj0avjx.js → skill-6vv39ctp.js} +5 -5
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-tf0c2awf.js → skill-6yzz6ydy.js} +24 -24
- package/dist/chunks/{instruction-discovery-71az546q.js → skill-71az546q.js} +2 -2
- package/dist/chunks/{instruction-discovery-73tb2d7t.js → skill-73tb2d7t.js} +1 -1
- package/dist/chunks/{instruction-discovery-rp2ppsw4.js → skill-77w2ws7p.js} +25 -25
- package/dist/chunks/{instruction-discovery-x4fwsepj.js → skill-7ab8v4x8.js} +67 -67
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-c7w2daa3.js → skill-7fctep6b.js} +13 -13
- package/dist/chunks/{instruction-discovery-4j5x2wz8.js → skill-7pk0apss.js} +10 -10
- package/dist/chunks/{instruction-discovery-50q9psn3.js → skill-7x2z0ng4.js} +24 -24
- package/dist/chunks/{instruction-discovery-963fmf73.js → skill-82n5twj0.js} +35 -35
- package/dist/chunks/{instruction-discovery-w1eejvng.js → skill-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-c8dqtw9g.js → skill-8awwapf3.js} +35 -35
- package/dist/chunks/{instruction-discovery-rz911c4y.js → skill-8c7secgm.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/skill-8dhds0dv.js +26 -0
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-ze5v0a14.js → skill-8mfdap3f.js} +8 -8
- package/dist/chunks/{instruction-discovery-pb85jpk7.js → skill-8x58wqts.js} +20 -20
- package/dist/chunks/{instruction-discovery-y1tpmgde.js → skill-93j9r8vr.js} +9 -9
- package/dist/chunks/{instruction-discovery-9wfzrxmy.js → skill-9a1bht1a.js} +4 -4
- package/dist/chunks/{instruction-discovery-9e5bzkjp.js → skill-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instruction-discovery-5yzzbxa7.js → skill-9hn6k4tm.js} +8 -8
- package/dist/chunks/{instruction-discovery-e9z206xw.js → skill-9kdvs0qs.js} +20 -20
- package/dist/chunks/{instruction-discovery-5pyjqqve.js → skill-9pa8tak9.js} +2 -2
- package/dist/chunks/{instruction-discovery-qqynch2e.js → skill-9tqbbpx7.js} +8 -8
- package/dist/chunks/{instruction-discovery-xmqf1fmd.js → skill-9vxq3aev.js} +23 -23
- package/dist/chunks/{instruction-discovery-aaet6srn.js → skill-a28va38p.js} +8 -8
- package/dist/chunks/{instruction-discovery-mreyc66c.js → skill-a4rf0zrw.js} +34 -34
- package/dist/chunks/skill-a9m7pnx7.js +513 -0
- package/dist/chunks/{instruction-discovery-wjz06c0c.js → skill-afv5k542.js} +16 -16
- package/dist/chunks/{instruction-discovery-89bb6baa.js → skill-ahd542yp.js} +8 -8
- package/dist/chunks/{instruction-discovery-ystf5kkg.js → skill-akepvz7y.js} +5 -5
- package/dist/chunks/{instruction-discovery-k3wb8j43.js → skill-amkdz55e.js} +22 -22
- package/dist/chunks/{instruction-discovery-zyc9an2m.js → skill-ar95rhcv.js} +25 -25
- package/dist/chunks/{instruction-discovery-hq1vq67z.js → skill-at2p4n3p.js} +55 -55
- package/dist/chunks/{instruction-discovery-bm9y40sw.js → skill-b9m9jd47.js} +4 -4
- package/dist/chunks/{instruction-discovery-avcq3x7p.js → skill-be66sdnk.js} +28 -28
- package/dist/chunks/{instruction-discovery-b08h51y8.js → skill-bfj3mgeh.js} +23 -23
- package/dist/chunks/{instruction-discovery-qkf3nnpx.js → skill-brak4p4d.js} +3 -3
- package/dist/chunks/{instruction-discovery-ykqrqqm6.js → skill-bsadxmtb.js} +18 -18
- package/dist/chunks/{instruction-discovery-44cwas1f.js → skill-bsx3ef4h.js} +11 -11
- package/dist/chunks/{instruction-discovery-0we0h601.js → skill-bvyrej0j.js} +11 -11
- package/dist/chunks/{instruction-discovery-1k2smawz.js → skill-c0v64yz3.js} +20 -20
- package/dist/chunks/{instruction-discovery-r9w3djhf.js → skill-c227t32y.js} +2 -2
- package/dist/chunks/{instruction-discovery-h4wwbfpj.js → skill-c22p0fvq.js} +10 -10
- package/dist/chunks/{instruction-discovery-qq85v7zp.js → skill-catzw522.js} +11 -11
- package/dist/chunks/{instruction-discovery-fqyzxfb3.js → skill-cen1dnrb.js} +19 -19
- package/dist/chunks/{instruction-discovery-360mpsp8.js → skill-cr3znner.js} +11 -11
- package/dist/chunks/{instruction-discovery-kfab6w5x.js → skill-cr9n7mfv.js} +3 -3
- package/dist/chunks/{instruction-discovery-f51fnx13.js → skill-csj3nndk.js} +5 -5
- package/dist/chunks/{instruction-discovery-a75c3n10.js → skill-cvk1gt9h.js} +23 -23
- package/dist/chunks/{instruction-discovery-m8w6th39.js → skill-cwa6csj7.js} +9 -9
- package/dist/chunks/{instruction-discovery-n2rqx0tz.js → skill-d2zsdd4d.js} +22 -22
- package/dist/chunks/{instruction-discovery-3y377wv9.js → skill-db2wf4at.js} +4 -4
- package/dist/chunks/{instruction-discovery-3zb3e7qp.js → skill-dx79gnp7.js} +21 -21
- package/dist/chunks/{instruction-discovery-r96p2y56.js → skill-dx8p2nff.js} +9 -9
- package/dist/chunks/skill-e0q146ww.js +253 -0
- package/dist/chunks/{instruction-discovery-10r2mgvp.js → skill-e337rshx.js} +5 -5
- package/dist/chunks/{instruction-discovery-6k2hc147.js → skill-e6kg2nsz.js} +4 -4
- package/dist/chunks/{instruction-discovery-9w7chaj1.js → skill-e8jkaw67.js} +13 -13
- package/dist/chunks/{instruction-discovery-cdpzxgfg.js → skill-ebjs1f3d.js} +33 -33
- package/dist/chunks/{instruction-discovery-synadcw7.js → skill-ed1z33yj.js} +47 -47
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-x4mjcayf.js → skill-ejdjv965.js} +11 -11
- package/dist/chunks/{instruction-discovery-bpf208j3.js → skill-en5h7jeg.js} +11 -11
- package/dist/chunks/{instruction-discovery-m59p890d.js → skill-etg2w4gs.js} +10 -10
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-xg6qg3nm.js → skill-ew2ppw2e.js} +6 -6
- package/dist/chunks/{instruction-discovery-rxkxex79.js → skill-f63q8jpn.js} +9 -9
- package/dist/chunks/{instruction-discovery-n7akkzww.js → skill-f6c7zxgy.js} +35 -35
- package/dist/chunks/{instruction-discovery-kvjzkr2v.js → skill-faj2svbs.js} +9 -9
- package/dist/chunks/{instruction-discovery-smdct0jd.js → skill-fbh9pqtx.js} +1 -1
- package/dist/chunks/{instruction-discovery-5dnsm7b1.js → skill-fkxxfd9n.js} +32 -32
- package/dist/chunks/{instruction-discovery-49eq2tc2.js → skill-fm4cwmp6.js} +10 -10
- package/dist/chunks/{instruction-discovery-0xezjjjn.js → skill-fqtvmpfq.js} +8 -8
- package/dist/chunks/{instruction-discovery-7ryxxm4b.js → skill-frhb8ew0.js} +45 -45
- package/dist/chunks/{instruction-discovery-cfxa9as9.js → skill-g79ggcnn.js} +25 -25
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-65b4pyhp.js → skill-gdyarp84.js} +9 -9
- package/dist/chunks/{instruction-discovery-6nsn052z.js → skill-ge8vx2at.js} +9 -9
- package/dist/chunks/{instruction-discovery-3hmxmgkr.js → skill-gse9956c.js} +4 -4
- package/dist/chunks/{instruction-discovery-e8529jhe.js → skill-gv54abtn.js} +14 -14
- package/dist/chunks/{instruction-discovery-eb5z6jr7.js → skill-gz9w2prw.js} +25 -25
- package/dist/chunks/{instruction-discovery-h2b79v29.js → skill-h2b79v29.js} +2 -2
- package/dist/chunks/{instruction-discovery-chrxq3ex.js → skill-h5crbhmb.js} +20 -20
- package/dist/chunks/{instruction-discovery-1tjztkak.js → skill-h6vf0ja8.js} +1 -1
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-31xfzrxg.js → skill-h7s7r6s9.js} +5 -5
- package/dist/chunks/{instruction-discovery-27zpda9y.js → skill-h9s33j2f.js} +10 -10
- package/dist/chunks/{instruction-discovery-k5ycpxe4.js → skill-hbtj3vsv.js} +4 -4
- package/dist/chunks/{instruction-discovery-f62qkzqr.js → skill-hbyhqfhs.js} +5 -5
- package/dist/chunks/{instruction-discovery-1r358xma.js → skill-hddss928.js} +7 -7
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → skill-hgz4x7wa.js} +4 -4
- package/dist/chunks/{instruction-discovery-pb4fdh5c.js → skill-hp0b1pmt.js} +18 -18
- package/dist/chunks/{instruction-discovery-5fnjcay5.js → skill-hpvzebmm.js} +24 -24
- package/dist/chunks/skill-ht5y0zrb.js +18 -0
- package/dist/chunks/{instruction-discovery-57dh3qy1.js → skill-hvferw5v.js} +88 -88
- package/dist/chunks/{instruction-discovery-8swzzhdb.js → skill-hwyt46md.js} +9 -9
- package/dist/chunks/{instruction-discovery-d2q60j7m.js → skill-hyqf44qd.js} +15 -15
- package/dist/chunks/{instruction-discovery-btgar8yp.js → skill-j2p13e9j.js} +5 -5
- package/dist/chunks/{instruction-discovery-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-xvg5nvxt.js → skill-j6adbkc7.js} +1 -1
- package/dist/chunks/{instruction-discovery-np756ma8.js → skill-jehq231j.js} +26 -26
- package/dist/chunks/{instruction-discovery-17mpb7fd.js → skill-js8wertj.js} +12 -12
- package/dist/chunks/{instruction-discovery-34qpsr95.js → skill-jvw9kwwj.js} +17 -17
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → skill-jwcy2c2z.js} +4 -4
- package/dist/chunks/{instruction-discovery-79vj9ttj.js → skill-k1591j5w.js} +22 -22
- package/dist/chunks/{instruction-discovery-9av7h1n2.js → skill-k9bkx1zz.js} +11 -11
- package/dist/chunks/{instruction-discovery-t2vr066h.js → skill-k9cay8kk.js} +7 -7
- package/dist/chunks/{instruction-discovery-857eprax.js → skill-kb1jjea1.js} +4 -4
- package/dist/chunks/{instruction-discovery-ta6js1ab.js → skill-khjasm6z.js} +13 -13
- package/dist/chunks/{instruction-discovery-2as4tx64.js → skill-kqj1wybc.js} +5 -5
- package/dist/chunks/{instruction-discovery-zhz6d7qj.js → skill-krsmb9br.js} +20 -20
- package/dist/chunks/{instruction-discovery-yhq47pcp.js → skill-ktw141zw.js} +6 -6
- package/dist/chunks/{instruction-discovery-ycjk77ae.js → skill-kys722cf.js} +17 -17
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-p2783dtm.js → skill-m4sg2fj5.js} +13 -13
- package/dist/chunks/{instruction-discovery-tm3atzj4.js → skill-m8xkxnzs.js} +43 -43
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-6qskr82s.js → skill-maqy4c71.js} +20 -20
- package/dist/chunks/{instruction-discovery-5th9bftb.js → skill-mb5k0437.js} +49 -28
- package/dist/chunks/{instruction-discovery-wxbrt247.js → skill-mnsdmbv8.js} +33 -33
- package/dist/chunks/{instruction-discovery-0ged7w62.js → skill-mp9rkdz7.js} +21 -21
- package/dist/chunks/{instruction-discovery-f4284ta9.js → skill-msbzkdgs.js} +9 -9
- package/dist/chunks/{instruction-discovery-gh15yn4h.js → skill-p1qmfaz3.js} +24 -24
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → skill-ph5whc14.js} +5 -5
- package/dist/chunks/{instruction-discovery-x34zhfjm.js → skill-pj2hw229.js} +25 -25
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-9bvphjpv.js → skill-pnb89dtp.js} +8 -8
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instruction-discovery-z8bhx33c.js → skill-q2frhkde.js} +34 -34
- package/dist/chunks/{instruction-discovery-7rna5akc.js → skill-q5bsz0vw.js} +32 -32
- package/dist/chunks/{instruction-discovery-9b00c1fb.js → skill-qa7075pb.js} +5 -5
- package/dist/chunks/{instruction-discovery-t323t0gb.js → skill-qcgvqcx7.js} +26 -26
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-gdgw3x5a.js → skill-qx29skc5.js} +28 -28
- package/dist/chunks/{instruction-discovery-zpj5ct35.js → skill-r4cw7mx5.js} +15 -15
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-xrx0vcgk.js → skill-rj9txymb.js} +18 -18
- package/dist/chunks/{instruction-discovery-s5zmf07f.js → skill-rqzc1cst.js} +19 -19
- package/dist/chunks/{instruction-discovery-79edx0mb.js → skill-s9vwt7sq.js} +5 -5
- package/dist/chunks/{instruction-discovery-scgrse2b.js → skill-scgrse2b.js} +2 -2
- package/dist/chunks/{instruction-discovery-8xfrtn2e.js → skill-skv2z4tm.js} +60 -60
- package/dist/chunks/{instruction-discovery-68vyckmv.js → skill-sp8122mt.js} +23 -23
- package/dist/chunks/{instruction-discovery-tcay1cqt.js → skill-sxzvkvgj.js} +6 -6
- package/dist/chunks/{instruction-discovery-g4f17vch.js → skill-t1wsc1h6.js} +3 -3
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → skill-t2fc4mz5.js} +4 -4
- package/dist/chunks/{instruction-discovery-axjmkx9q.js → skill-t8wv525n.js} +49 -49
- package/dist/chunks/{instruction-discovery-cqs6vem1.js → skill-t98cn88e.js} +15 -15
- package/dist/chunks/{instruction-discovery-t2jc4d6d.js → skill-taqj60ds.js} +36 -36
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-63fhbdq2.js → skill-tg951fdk.js} +33 -33
- package/dist/chunks/{instruction-discovery-pgnspfd3.js → skill-tv7tv5a0.js} +11 -11
- package/dist/chunks/{instruction-discovery-60p1zxrk.js → skill-v0p69kbt.js} +35 -35
- package/dist/chunks/{instruction-discovery-t5yd8hbr.js → skill-v1msdc2e.js} +45 -45
- package/dist/chunks/{instruction-discovery-gn494k17.js → skill-v3s0gpe2.js} +33 -33
- package/dist/chunks/{instruction-discovery-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-q83947zm.js → skill-vktyeyg6.js} +186 -186
- package/dist/chunks/{instruction-discovery-sv19v7sb.js → skill-vnvshc90.js} +15 -15
- package/dist/chunks/{instruction-discovery-3ax2ysvz.js → skill-vq2x1gvt.js} +11 -11
- package/dist/chunks/{instruction-discovery-y8vrn31s.js → skill-vrrn8f4d.js} +13 -13
- package/dist/chunks/{instruction-discovery-a1ct5nee.js → skill-vsja4zwp.js} +27 -27
- package/dist/chunks/{instruction-discovery-pwtcwx0t.js → skill-vym1cadz.js} +7 -7
- package/dist/chunks/{instruction-discovery-fcr3mt8k.js → skill-vzdahvpe.js} +4 -4
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-n61x7dr3.js → skill-w113ygr5.js} +16 -16
- package/dist/chunks/{instruction-discovery-1kemzmpx.js → skill-w2c8f02a.js} +9 -9
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-vd95wqeb.js → skill-w4y2b1bh.js} +20 -20
- package/dist/chunks/{instruction-discovery-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-4xpgt2w9.js → skill-wh6zw745.js} +5 -5
- package/dist/chunks/{instruction-discovery-rwp39ykb.js → skill-wkmwept5.js} +11 -11
- package/dist/chunks/{instruction-discovery-0m8hv4nh.js → skill-wnz7j1fm.js} +11 -11
- package/dist/chunks/{instruction-discovery-at8ypwft.js → skill-x3y19w6y.js} +50 -50
- package/dist/chunks/{instruction-discovery-xk4rh883.js → skill-x861zb6t.js} +2 -2
- package/dist/chunks/{instruction-discovery-fd3yny95.js → skill-x9mpd4db.js} +15 -15
- package/dist/chunks/{instruction-discovery-6ws5tars.js → skill-xq59p7zw.js} +13 -13
- package/dist/chunks/{instruction-discovery-8vsr9pta.js → skill-xrpv627y.js} +10 -10
- package/dist/chunks/{instruction-discovery-he27pt63.js → skill-xt4njr3s.js} +1 -1
- package/dist/chunks/{instruction-discovery-8tj7q0dk.js → skill-xxcr61zh.js} +15 -15
- package/dist/chunks/{instruction-discovery-qxjc9qry.js → skill-xyafkbt0.js} +3 -3
- package/dist/chunks/{instruction-discovery-q0fzxeza.js → skill-xzzfknmp.js} +13 -13
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-w7vtn5sw.js → skill-y5fhf6z7.js} +17 -17
- package/dist/chunks/{instruction-discovery-h0xvqqwh.js → skill-ydhxanhm.js} +5 -5
- package/dist/chunks/{instruction-discovery-4rkyb0s7.js → skill-yejs50np.js} +11 -11
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-bcmjx010.js → skill-ys6pq9md.js} +30 -30
- package/dist/chunks/{instruction-discovery-wcham18f.js → skill-ytph8xz7.js} +3 -3
- package/dist/chunks/{instruction-discovery-cqmz66tp.js → skill-yyf5mnjx.js} +6 -6
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-kkna0xt5.js → skill-z3w57r3v.js} +5 -5
- package/dist/chunks/{instruction-discovery-aecw5y3e.js → skill-z4xxkr3n.js} +2 -2
- package/dist/chunks/{instruction-discovery-hv4axfbz.js → skill-z5cmew6x.js} +24 -24
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-9tw9cr0p.js → skill-zrt7fk07.js} +37 -37
- package/dist/chunks/{instruction-discovery-1swkvkvd.js → skill-zs4thy15.js} +5 -5
- package/dist/chunks/{instruction-discovery-egtbwj3m.js → skill-zt541pk1.js} +12 -12
- package/dist/chunks/{instruction-discovery-j9ckj638.js → skill-zwdw4kt6.js} +7 -7
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-mjxe5z4k.js → skill-zz99enan.js} +32 -32
- package/dist/chunks/{instruction-discovery-nh9cv99v.js → skill-zzg514gs.js} +10 -10
- 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 +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +204 -204
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +3 -3
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +92 -92
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- 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 +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-4n467418.js +0 -26
- package/dist/chunks/instruction-discovery-gvycgm0h.js +0 -253
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-nhyhg56g.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-js8wertj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./skill-x3y19w6y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./skill-at2p4n3p.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service33,
|
|
15
|
+
node36
|
|
16
|
+
} from "./skill-gz9w2prw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service33;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service73;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service27,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node36, node32, node86, node77]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service27, layer11, node31, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./skill-js8wertj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer26,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer26 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer26 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer26, deps: [node86] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer26, node82, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./skill-y5fhf6z7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./skill-rj9txymb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./skill-amkdz55e.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFound3
|
|
15
|
+
} from "./skill-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-07eh7qw4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service51;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
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.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -76,14 +76,14 @@ var Plugin29 = {
|
|
|
76
76
|
limit: input.limit
|
|
77
77
|
});
|
|
78
78
|
const requested = yield* access.authorizeRead(input.path, context);
|
|
79
|
-
const result = yield* read(requested).pipe(Effect.map((content) => ({ content, target: requested, path: input.path })), Effect.catchIf((error) => error instanceof
|
|
79
|
+
const result = yield* read(requested).pipe(Effect.map((content) => ({ content, target: requested, path: input.path })), Effect.catchIf((error) => error instanceof NotFound3, () => Effect.gen(function* () {
|
|
80
80
|
const alternate = yield* alternatePath(requested.absolute).pipe(Effect.orElseSucceed(() => {
|
|
81
81
|
return;
|
|
82
82
|
}));
|
|
83
83
|
if (!alternate)
|
|
84
84
|
return yield* missing(input.path, requested.absolute);
|
|
85
85
|
const target = yield* access.authorizeRead(alternate, context, { siblingOf: requested });
|
|
86
|
-
const content = yield* read(target).pipe(Effect.catchIf((error) => error instanceof
|
|
86
|
+
const content = yield* read(target).pipe(Effect.catchIf((error) => error instanceof NotFound3, () => missing(input.path, requested.absolute)));
|
|
87
87
|
if (content.type === "list-page")
|
|
88
88
|
return yield* missing(input.path, requested.absolute);
|
|
89
89
|
return {
|
|
@@ -113,7 +113,7 @@ var Plugin29 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name5, Input5, Plugin21, toModelContent3, exports_read };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service56
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-vrrn8f4d.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./skill-y5fhf6z7.js";
|
|
10
10
|
import {
|
|
11
11
|
Service55
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-taqj60ds.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-0jta6v3t.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./skill-6b8kbxwq.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-e6kg2nsz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill3 = {};
|
|
30
30
|
__export(exports_skill3, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin49
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin49 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
42
|
const config = yield* Service55;
|
|
43
|
-
const discovery = yield*
|
|
43
|
+
const discovery = yield* Service13;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
47
|
const watcher = yield* Service56;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
@@ -176,4 +176,4 @@ var Plugin41 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin49, exports_skill3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-v1msdc2e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./skill-y5fhf6z7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node77
|
|
14
|
+
} from "./skill-at2p4n3p.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
|
+
node: () => node53,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service51 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service73;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service51.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node83, node77] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service51, resolvePath2, node53, exports_file_access };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./skill-js8wertj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./skill-77w2ws7p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./skill-gz9w2prw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service37
|
|
12
|
+
} from "./skill-wkmwept5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-ktw141zw.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-j2p13e9j.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-ytph8xz7.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-scgrse2b.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -56,10 +56,10 @@ var INPUT_INCOMPLETE = {
|
|
|
56
56
|
message: "Tool call arguments were not completed and were not executed. Re-issue the tool call with complete arguments."
|
|
57
57
|
};
|
|
58
58
|
var make8 = Effect.gen(function* () {
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service82;
|
|
60
60
|
const llm = yield* LLMClient.Service;
|
|
61
|
-
const snapshots = yield*
|
|
62
|
-
const toolOutput = yield*
|
|
61
|
+
const snapshots = yield* Service52;
|
|
62
|
+
const toolOutput = yield* Service37;
|
|
63
63
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
64
64
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
65
65
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -75,7 +75,7 @@ var make8 = Effect.gen(function* () {
|
|
|
75
75
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
76
76
|
const executeTool = (call) => {
|
|
77
77
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
78
|
-
return new
|
|
78
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
79
79
|
return input.prepared.executeTool({
|
|
80
80
|
sessionID: input.sessionID,
|
|
81
81
|
agent: input.agent,
|