@opencode/core 0.0.0-dev-20038 → 0.0.0-dev-20039
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{skill-pzacy225.js → persistent-pty-09r2qp1t.js} +34 -34
- package/dist/chunks/{skill-nq7qbqzc.js → persistent-pty-0evkspfq.js} +9 -9
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{skill-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-82cjnjjm.js → persistent-pty-0rdt631y.js} +23 -23
- package/dist/chunks/{skill-4n607a2z.js → persistent-pty-0ryd0fps.js} +5 -5
- package/dist/chunks/{skill-p57dvf2n.js → persistent-pty-0z8vjex2.js} +9 -9
- package/dist/chunks/{skill-3prtm72b.js → persistent-pty-152c24g9.js} +17 -17
- package/dist/chunks/{skill-mwvsmt3f.js → persistent-pty-178h7bcz.js} +10 -10
- package/dist/chunks/{skill-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-bvtqrzkz.js → persistent-pty-1d4pa8k8.js} +23 -23
- package/dist/chunks/{skill-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-1kxby9vs.js → persistent-pty-1g3wfhvf.js} +12 -12
- package/dist/chunks/{skill-0j7qrmec.js → persistent-pty-1nfy4m2r.js} +11 -11
- package/dist/chunks/{skill-06fpybe0.js → persistent-pty-1s9w9x7p.js} +11 -11
- package/dist/chunks/{skill-1sz13pgv.js → persistent-pty-1xpex35t.js} +4 -4
- package/dist/chunks/{skill-3trgmge8.js → persistent-pty-1ywjfj99.js} +14 -14
- package/dist/chunks/{skill-j3g2v1be.js → persistent-pty-1za7na14.js} +14 -14
- package/dist/chunks/{skill-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{skill-b64pa8pr.js → persistent-pty-23k7adzm.js} +11 -11
- package/dist/chunks/{skill-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{skill-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-brnbh3wc.js → persistent-pty-2c3gf4hg.js} +21 -21
- package/dist/chunks/{skill-63c4jth9.js → persistent-pty-2gc9tj0a.js} +29 -29
- package/dist/chunks/{skill-djszqvmq.js → persistent-pty-2mq1h16s.js} +9 -9
- package/dist/chunks/{skill-ktswn2xr.js → persistent-pty-2qmn5bfe.js} +4 -4
- package/dist/chunks/{skill-nrqs9f76.js → persistent-pty-302vxrt0.js} +3 -3
- package/dist/chunks/{skill-dqbrne9y.js → persistent-pty-31jp5918.js} +18 -18
- package/dist/chunks/{skill-a2ew8a62.js → persistent-pty-34rkz0x9.js} +7 -7
- package/dist/chunks/persistent-pty-39c607zz.js +252 -0
- package/dist/chunks/{skill-21s6yy3m.js → persistent-pty-3d7gjx2p.js} +24 -24
- package/dist/chunks/{skill-v1tkfmx4.js → persistent-pty-3eye3e08.js} +25 -25
- package/dist/chunks/{skill-ydzgzrmr.js → persistent-pty-3fbhsscp.js} +5 -5
- package/dist/chunks/{skill-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-ed7hynkb.js → persistent-pty-3zwwaknr.js} +4 -4
- package/dist/chunks/{skill-805hba50.js → persistent-pty-40xjt1qy.js} +89 -89
- package/dist/chunks/{skill-2211ny1y.js → persistent-pty-485sy19s.js} +32 -32
- package/dist/chunks/{skill-zyj756k8.js → persistent-pty-4bdz3rrf.js} +7 -7
- package/dist/chunks/{skill-86qzxe6p.js → persistent-pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{skill-7ge4ak7p.js → persistent-pty-4bp47sa2.js} +6 -6
- package/dist/chunks/{skill-p54mb0t0.js → persistent-pty-4prhbtb1.js} +19 -19
- package/dist/chunks/{skill-bmvvfwz1.js → persistent-pty-4ssabby3.js} +5 -5
- package/dist/chunks/{skill-0m0tvs7x.js → persistent-pty-4y303w9z.js} +4 -4
- package/dist/chunks/{skill-54tcyq79.js → persistent-pty-54tcyq79.js} +2 -2
- package/dist/chunks/{skill-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
- package/dist/chunks/{skill-0a7n14cc.js → persistent-pty-5a8mqqmd.js} +93 -93
- package/dist/chunks/{skill-d1nkx38v.js → persistent-pty-5bjmhyyh.js} +11 -11
- package/dist/chunks/{skill-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{skill-dcmhd26j.js → persistent-pty-5hvymspb.js} +3 -3
- package/dist/chunks/{skill-r1bf57pa.js → persistent-pty-5nqt8hga.js} +23 -23
- package/dist/chunks/{skill-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-3092rspq.js → persistent-pty-5wcec76y.js} +14 -14
- package/dist/chunks/{skill-kkmdswye.js → persistent-pty-5x17qhbs.js} +13 -13
- package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
- package/dist/chunks/{skill-6r9vc294.js → persistent-pty-641h1r3m.js} +44 -44
- package/dist/chunks/{skill-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{skill-gy7z5ezd.js → persistent-pty-66v7kmb1.js} +12 -12
- package/dist/chunks/{skill-0pky1d45.js → persistent-pty-6ffyb2hm.js} +30 -30
- package/dist/chunks/{skill-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-yp63r6ne.js → persistent-pty-6netbxjb.js} +11 -11
- package/dist/chunks/{skill-84vtzxcb.js → persistent-pty-6qfwct6s.js} +13 -13
- package/dist/chunks/{skill-mznae9x0.js → persistent-pty-757kp7m4.js} +175 -175
- package/dist/chunks/{skill-hah2psrv.js → persistent-pty-761rsftx.js} +24 -24
- package/dist/chunks/{skill-mc6rmvyt.js → persistent-pty-77r8rc3a.js} +3 -3
- package/dist/chunks/{skill-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-7dqw4kz8.js → persistent-pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{skill-aw8s6wvc.js → persistent-pty-7en68zcv.js} +3 -3
- package/dist/chunks/{skill-48twmav6.js → persistent-pty-7rjejn76.js} +22 -22
- package/dist/chunks/{skill-b1r5q4bs.js → persistent-pty-7sz88z04.js} +18 -18
- package/dist/chunks/{skill-r3c4069c.js → persistent-pty-7tgakezr.js} +1 -1
- package/dist/chunks/{skill-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-wfdm2xdz.js → persistent-pty-8dzh1cd7.js} +44 -44
- package/dist/chunks/{skill-d78bs0zk.js → persistent-pty-8h8zbh46.js} +15 -15
- package/dist/chunks/{skill-4a0d1ank.js → persistent-pty-8kjkx24x.js} +16 -16
- package/dist/chunks/{skill-aa7my7vj.js → persistent-pty-8ttcxa5h.js} +20 -20
- package/dist/chunks/{skill-9hn6k4tm.js → persistent-pty-8v6pyhej.js} +8 -8
- package/dist/chunks/{skill-55tgstys.js → persistent-pty-8vp3gjhy.js} +31 -31
- package/dist/chunks/{skill-455avmjk.js → persistent-pty-91mzt8hr.js} +10 -10
- package/dist/chunks/{skill-7jf4mmmx.js → persistent-pty-93fybsct.js} +38 -38
- package/dist/chunks/{skill-vcrsed51.js → persistent-pty-93wh6as2.js} +27 -27
- package/dist/chunks/{skill-4h27wmgr.js → persistent-pty-95ct4mzm.js} +15 -15
- package/dist/chunks/{skill-q6drrbz2.js → persistent-pty-97k8mqqv.js} +41 -41
- package/dist/chunks/{skill-dqms7t99.js → persistent-pty-9bmaysqm.js} +22 -22
- package/dist/chunks/{skill-wywgyawp.js → persistent-pty-9naypetk.js} +46 -46
- package/dist/chunks/{skill-cd64xwqy.js → persistent-pty-9syv1v4t.js} +26 -26
- package/dist/chunks/{skill-b4exqj80.js → persistent-pty-9t3ensh9.js} +13 -13
- package/dist/chunks/{skill-y5d6nff0.js → persistent-pty-9vvedye8.js} +28 -28
- package/dist/chunks/{skill-wz5tj16h.js → persistent-pty-9w4ppqge.js} +5 -5
- package/dist/chunks/{skill-25jaxmbj.js → persistent-pty-9xxvhx1n.js} +28 -28
- package/dist/chunks/{skill-a4z1vf6d.js → persistent-pty-a2dnpcep.js} +25 -25
- package/dist/chunks/{skill-m1n5efdw.js → persistent-pty-a507s7rw.js} +17 -17
- package/dist/chunks/{skill-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-659sfxq9.js → persistent-pty-ajzsbz6h.js} +11 -11
- package/dist/chunks/{skill-600wd4ax.js → persistent-pty-as71pn4z.js} +12 -12
- package/dist/chunks/{skill-v2k9d9n6.js → persistent-pty-avm76bfr.js} +9 -9
- package/dist/chunks/{skill-11dqjexa.js → persistent-pty-b0dgvpy7.js} +9 -9
- package/dist/chunks/{skill-1ed2t66p.js → persistent-pty-b0vhkd8y.js} +4 -4
- package/dist/chunks/{skill-9376sdmt.js → persistent-pty-b50cy11c.js} +5 -5
- package/dist/chunks/{skill-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-bjtzbw4r.js → persistent-pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{skill-9sejfsrr.js → persistent-pty-c3836xxs.js} +42 -42
- package/dist/chunks/{skill-g352dv7q.js → persistent-pty-c7tt9wkp.js} +4 -4
- package/dist/chunks/{skill-j5a3x2sz.js → persistent-pty-chfqtgk8.js} +4 -4
- package/dist/chunks/{skill-5cmxdwv8.js → persistent-pty-csdaj16z.js} +3 -3
- package/dist/chunks/{skill-0h03nx8e.js → persistent-pty-d3v66745.js} +8 -8
- package/dist/chunks/{skill-36tcapyb.js → persistent-pty-d7xkg5ac.js} +9 -9
- package/dist/chunks/{skill-57ez7d0k.js → persistent-pty-d9s573fh.js} +2 -2
- package/dist/chunks/persistent-pty-ddnkdez9.js +503 -0
- package/dist/chunks/{skill-e7cskxq6.js → persistent-pty-dj7qp1vz.js} +29 -29
- package/dist/chunks/{skill-fd1fd4ba.js → persistent-pty-dqkpw5fd.js} +24 -24
- package/dist/chunks/{skill-rh2ber99.js → persistent-pty-e9p00fqr.js} +11 -11
- package/dist/chunks/{skill-sajztd9s.js → persistent-pty-eb46v86n.js} +51 -51
- package/dist/chunks/{skill-c1t7y3na.js → persistent-pty-ee954pm5.js} +8 -8
- package/dist/chunks/{skill-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-d9mt4ydz.js → persistent-pty-ep9py3fj.js} +8 -8
- package/dist/chunks/{skill-b9g232j2.js → persistent-pty-epz0536n.js} +13 -13
- package/dist/chunks/{skill-zm0hqsdq.js → persistent-pty-erg9a3bf.js} +11 -11
- package/dist/chunks/{skill-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{skill-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-hpefyvy7.js → persistent-pty-evbwcqsm.js} +29 -29
- package/dist/chunks/{skill-z6qjqr0m.js → persistent-pty-exft5dyr.js} +13 -13
- package/dist/chunks/{skill-038gxnxw.js → persistent-pty-f3pajhn5.js} +29 -29
- package/dist/chunks/{skill-g31wgms3.js → persistent-pty-f71as8r2.js} +16 -16
- package/dist/chunks/{skill-9xhrrz51.js → persistent-pty-f73djwtn.js} +20 -20
- package/dist/chunks/persistent-pty-fddeqz3x.js +26 -0
- package/dist/chunks/{skill-pfvt33xv.js → persistent-pty-fker3sdp.js} +19 -19
- package/dist/chunks/{skill-j45nn1c3.js → persistent-pty-fpgew61y.js} +32 -32
- package/dist/chunks/{skill-9qtvyvpe.js → persistent-pty-fpym893h.js} +29 -29
- package/dist/chunks/{skill-zjw2h6jc.js → persistent-pty-fx5d5dst.js} +5 -5
- package/dist/chunks/{skill-qj8eh1ht.js → persistent-pty-g190xswt.js} +4 -4
- package/dist/chunks/{skill-wdt1rpm2.js → persistent-pty-g1mth37h.js} +4 -4
- package/dist/chunks/{skill-y5cm6nea.js → persistent-pty-gckqvg4d.js} +12 -12
- package/dist/chunks/{skill-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-mxvtkdv6.js → persistent-pty-gfstbejf.js} +9 -9
- package/dist/chunks/{skill-gfvb90ym.js → persistent-pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{skill-xz5d9f71.js → persistent-pty-gj7rap3q.js} +28 -28
- package/dist/chunks/{skill-3w0fmcng.js → persistent-pty-gqchpbtd.js} +5 -5
- package/dist/chunks/{skill-w9tfzppv.js → persistent-pty-gv8cj7t2.js} +8 -8
- package/dist/chunks/{skill-wpjrrg58.js → persistent-pty-gzyn60n2.js} +11 -11
- package/dist/chunks/{skill-hbk6swqr.js → persistent-pty-h0np5xxv.js} +9 -9
- package/dist/chunks/{skill-rsa0f4ve.js → persistent-pty-h3z0pqmp.js} +41 -41
- package/dist/chunks/{skill-9gj9ptyy.js → persistent-pty-h67gkhys.js} +7 -7
- package/dist/chunks/{skill-nzyhnfxz.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{skill-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-n6dn13hr.js → persistent-pty-h8y73a77.js} +3 -3
- package/dist/chunks/{skill-epnnwhzd.js → persistent-pty-haq7tc4w.js} +15 -15
- package/dist/chunks/{skill-j0txe9sg.js → persistent-pty-hb9mtrsd.js} +43 -43
- package/dist/chunks/{skill-p7a39gy5.js → persistent-pty-hq8zt1th.js} +6 -6
- package/dist/chunks/{skill-1ef4qfgr.js → persistent-pty-hv7wtjqq.js} +7 -7
- package/dist/chunks/{skill-qp3v07n2.js → persistent-pty-hz84tk5e.js} +5 -5
- package/dist/chunks/{skill-kkc85mgk.js → persistent-pty-j2r8stxx.js} +26 -26
- package/dist/chunks/{skill-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-m6caffc0.js → persistent-pty-jc6epbw5.js} +20 -20
- package/dist/chunks/{skill-6rjq4ad6.js → persistent-pty-jva4mgym.js} +4 -4
- package/dist/chunks/{skill-bbc4tthw.js → persistent-pty-jvv91we3.js} +23 -23
- package/dist/chunks/{skill-tsvh53gt.js → persistent-pty-k11tdke4.js} +33 -33
- package/dist/chunks/{skill-6ysrkrkr.js → persistent-pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{skill-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{skill-9ct16sxg.js → persistent-pty-k3vs3y4h.js} +11 -11
- package/dist/chunks/{skill-ddde2jbf.js → persistent-pty-k5cpcgxv.js} +15 -15
- package/dist/chunks/{skill-qv362tpw.js → persistent-pty-k7jk5gbc.js} +5 -5
- package/dist/chunks/{skill-fkjmw100.js → persistent-pty-k9kj6xed.js} +2 -2
- package/dist/chunks/{skill-b60sv5ex.js → persistent-pty-kdvbsvbn.js} +29 -29
- package/dist/chunks/{skill-m5xc954w.js → persistent-pty-kej12pt8.js} +16 -16
- package/dist/chunks/{skill-k2vy3q29.js → persistent-pty-khxsha55.js} +9 -9
- package/dist/chunks/{skill-gtzevx44.js → persistent-pty-kkf5t9v2.js} +6 -6
- package/dist/chunks/{skill-4kg3wx8r.js → persistent-pty-kmpsdvkf.js} +5 -5
- package/dist/chunks/{skill-fytx2caw.js → persistent-pty-kpdf6701.js} +15 -15
- package/dist/chunks/{skill-k1094w2b.js → persistent-pty-kwkpr234.js} +20 -20
- package/dist/chunks/{skill-xqyr0kmf.js → persistent-pty-kxf5mmhn.js} +17 -17
- package/dist/chunks/{skill-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-tgs0j305.js → persistent-pty-m8qv6hfv.js} +13 -13
- package/dist/chunks/{skill-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-vng8e5bg.js → persistent-pty-mnvesx1a.js} +20 -20
- package/dist/chunks/{skill-gnjjzrdy.js → persistent-pty-mpc99crn.js} +18 -18
- package/dist/chunks/{skill-nd9hw607.js → persistent-pty-mqr4rx34.js} +35 -35
- package/dist/chunks/{skill-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{skill-s7bhq6mc.js → persistent-pty-n18pptkj.js} +11 -11
- package/dist/chunks/{skill-bz1aa729.js → persistent-pty-nbbm23k4.js} +37 -37
- package/dist/chunks/{skill-2np8p05j.js → persistent-pty-nevrz7qv.js} +56 -56
- package/dist/chunks/{skill-s9wjjtzf.js → persistent-pty-nf5zeerk.js} +32 -32
- package/dist/chunks/{skill-hgfzt47m.js → persistent-pty-ng6c26h7.js} +11 -11
- package/dist/chunks/{skill-8ztv5h5g.js → persistent-pty-nj40d921.js} +43 -43
- package/dist/chunks/{skill-1p79b18y.js → persistent-pty-nne8jnth.js} +8 -8
- package/dist/chunks/{skill-kjrbxs1n.js → persistent-pty-nq1pkwqs.js} +26 -26
- package/dist/chunks/{skill-tk21shqt.js → persistent-pty-ny0wv14t.js} +5 -5
- package/dist/chunks/{skill-pf2hb43r.js → persistent-pty-p0b4ytnr.js} +6 -6
- package/dist/chunks/{skill-bmert760.js → persistent-pty-p1y2rvb9.js} +25 -25
- package/dist/chunks/{skill-4wmcspnr.js → persistent-pty-p6m6n2kf.js} +33 -33
- package/dist/chunks/{skill-kmq6mhp1.js → persistent-pty-pg9p756q.js} +14 -14
- package/dist/chunks/{skill-t1jc3wjt.js → persistent-pty-ph2thkmn.js} +17 -17
- package/dist/chunks/{skill-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{skill-0g4vbkq9.js → persistent-pty-ps64rfj0.js} +1 -1
- package/dist/chunks/{skill-psazpmmj.js → persistent-pty-psazpmmj.js} +2 -2
- package/dist/chunks/{skill-xt6ks7x5.js → persistent-pty-q3qrmh0v.js} +5 -5
- package/dist/chunks/{skill-vwkn2sem.js → persistent-pty-q7t2zg9s.js} +14 -14
- package/dist/chunks/{skill-qa89nc5s.js → persistent-pty-qjgk3hk8.js} +15 -15
- package/dist/chunks/{skill-b3es7jwq.js → persistent-pty-qr8yt3hn.js} +6 -6
- package/dist/chunks/{skill-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-b6syrwy2.js → persistent-pty-qvb3nf84.js} +8 -8
- package/dist/chunks/{skill-5a29nm2w.js → persistent-pty-qvfh85cq.js} +18 -18
- package/dist/chunks/{skill-dgy0zd7z.js → persistent-pty-qxw86d5h.js} +2 -2
- package/dist/chunks/{skill-mq3cmg74.js → persistent-pty-qy83mrsx.js} +46 -46
- package/dist/chunks/{skill-xw8jxh7d.js → persistent-pty-qynyj9jq.js} +7 -7
- package/dist/chunks/{skill-vmwh049b.js → persistent-pty-r0cp9c3a.js} +6 -6
- package/dist/chunks/{skill-r9n2gbfa.js → persistent-pty-r5ae9j8d.js} +9 -9
- package/dist/chunks/{skill-a28b3rq6.js → persistent-pty-r70v011a.js} +22 -22
- package/dist/chunks/{skill-72sbmkpb.js → persistent-pty-ragc7st3.js} +11 -11
- package/dist/chunks/{skill-h4jnxhkz.js → persistent-pty-rczq51rp.js} +6 -6
- package/dist/chunks/{skill-53fyba40.js → persistent-pty-rdecwvm0.js} +4 -4
- package/dist/chunks/{skill-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-zeh9ct20.js → persistent-pty-rq775frq.js} +2 -2
- package/dist/chunks/{skill-6gpxker2.js → persistent-pty-rs345c40.js} +3 -3
- package/dist/chunks/{skill-4yx4ch8z.js → persistent-pty-rsdvdc68.js} +30 -30
- package/dist/chunks/{skill-ybc8xz90.js → persistent-pty-s1njw3xh.js} +16 -16
- package/dist/chunks/{skill-a2qe2ev9.js → persistent-pty-s5met55r.js} +8 -8
- package/dist/chunks/{skill-eaj1djv9.js → persistent-pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{skill-myn8tnag.js → persistent-pty-sa41km02.js} +21 -21
- package/dist/chunks/{skill-x99qfz02.js → persistent-pty-sgmsychm.js} +10 -10
- package/dist/chunks/{skill-gf0t83ey.js → persistent-pty-sqgn58gm.js} +32 -32
- package/dist/chunks/{skill-c6hp3pdp.js → persistent-pty-sqt5xxjz.js} +25 -25
- package/dist/chunks/{skill-6gnm5ehv.js → persistent-pty-swsp7ypn.js} +11 -11
- package/dist/chunks/{skill-510m7gjw.js → persistent-pty-t3swkhbg.js} +5 -5
- package/dist/chunks/{skill-af04s6ss.js → persistent-pty-t4mbtemh.js} +5 -5
- package/dist/chunks/{skill-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-m177v21q.js → persistent-pty-tdph6ben.js} +57 -57
- package/dist/chunks/{skill-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{skill-27tdkxxq.js → persistent-pty-te34bjm9.js} +13 -13
- package/dist/chunks/{skill-965ggptx.js → persistent-pty-tgcnk5sw.js} +12 -12
- package/dist/chunks/{skill-70q87p13.js → persistent-pty-tmx59f2z.js} +13 -13
- package/dist/chunks/{skill-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-nsft68r9.js → persistent-pty-tx323b0h.js} +2 -2
- package/dist/chunks/{skill-vmgq4x8b.js → persistent-pty-tyqkzprt.js} +2 -2
- package/dist/chunks/{skill-7rfgs20b.js → persistent-pty-v2thg54p.js} +6 -6
- package/dist/chunks/{skill-956y4h3p.js → persistent-pty-v8jkds5f.js} +73 -73
- package/dist/chunks/{skill-hfypw2dz.js → persistent-pty-v8vgje16.js} +8 -8
- package/dist/chunks/{skill-6zn80krx.js → persistent-pty-vay5kkzq.js} +11 -11
- package/dist/chunks/{skill-ryjr88wf.js → persistent-pty-vc5d3pth.js} +8 -8
- package/dist/chunks/{skill-0ex7bte1.js → persistent-pty-vd1ke7dk.js} +17 -17
- package/dist/chunks/{skill-954pj15k.js → persistent-pty-ve2hxe32.js} +11 -11
- package/dist/chunks/{skill-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-vncycja5.js → persistent-pty-vncycja5.js} +1 -1
- package/dist/chunks/{skill-9cyfspf3.js → persistent-pty-vtxr0yy2.js} +5 -5
- package/dist/chunks/{skill-122w83js.js → persistent-pty-vvetkfbd.js} +27 -27
- package/dist/chunks/{skill-8eve1412.js → persistent-pty-vww9cphx.js} +13 -13
- package/dist/chunks/{skill-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-meb31nx3.js → persistent-pty-w64kqnqf.js} +12 -12
- package/dist/chunks/{skill-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{skill-wmfgk8ym.js → persistent-pty-wfdd4dw9.js} +5 -5
- package/dist/chunks/{skill-kt2kw9ad.js → persistent-pty-wkpqecqd.js} +24 -24
- package/dist/chunks/{skill-cn1v2m3x.js → persistent-pty-wnys78fq.js} +8 -8
- package/dist/chunks/{skill-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-kqr1y863.js → persistent-pty-x5w4k6wc.js} +20 -20
- package/dist/chunks/{skill-w4s3h4gx.js → persistent-pty-x8e1q2wf.js} +1 -1
- package/dist/chunks/{skill-9yyts0fm.js → persistent-pty-x8etfcjj.js} +9 -9
- package/dist/chunks/{skill-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{skill-77g5fd73.js → persistent-pty-xw4y9se0.js} +12 -12
- package/dist/chunks/{skill-kkys2nbr.js → persistent-pty-xxc173qm.js} +28 -28
- package/dist/chunks/{skill-ypx73geg.js → persistent-pty-y16p1w2y.js} +9 -9
- package/dist/chunks/{skill-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-63752er2.js → persistent-pty-y6440ej8.js} +48 -48
- package/dist/chunks/{skill-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{skill-efayeezr.js → persistent-pty-yde6vznn.js} +4 -4
- package/dist/chunks/{skill-630e1s9z.js → persistent-pty-yn1bvpb4.js} +26 -26
- package/dist/chunks/{skill-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-gv6a8nnw.js → persistent-pty-yyb7tjpc.js} +2 -2
- package/dist/chunks/{skill-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-ddt2bs9e.js → persistent-pty-zav06jzw.js} +4 -4
- package/dist/chunks/{skill-zw803gw2.js → persistent-pty-zhc2jp5c.js} +10 -10
- package/dist/chunks/{skill-hjy7jdp6.js → persistent-pty-zkrvy30v.js} +31 -31
- package/dist/chunks/{skill-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-0483ns04.js → persistent-pty-zs8c84j9.js} +22 -22
- package/dist/chunks/{skill-7q2awb7k.js → persistent-pty-zxc6d5jg.js} +21 -21
- package/dist/chunks/{skill-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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/id/id.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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/skill-16sntq5h.js +0 -503
- package/dist/chunks/skill-gbadjzag.js +0 -4
- package/dist/chunks/skill-jcn1d825.js +0 -26
- package/dist/chunks/skill-th30gvj6.js +0 -252
- package/dist/chunks/skill-vnkjks7b.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-f71as8r2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node74
|
|
8
|
+
} from "./persistent-pty-6qfwct6s.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service24 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service70;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service24.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node27 = makeLocationNode({
|
|
188
|
+
service: Service24,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node74]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node27, exports_websearch3, Event7 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./persistent-pty-3d7gjx2p.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./persistent-pty-v8vgje16.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-chfqtgk8.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./persistent-pty-hb9mtrsd.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin4
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin4 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service58;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin35 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin4, exports_agent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin41 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin18 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin41, exports_mcp_codemode_exclusion };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tx323b0h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./persistent-pty-qjgk3hk8.js";
|
|
10
10
|
import {
|
|
11
11
|
Service7
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-w64kqnqf.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./persistent-pty-152c24g9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-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: () => Input3,
|
|
36
|
+
Plugin: () => Plugin22,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
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 name3 = "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 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin22 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service61;
|
|
63
63
|
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
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: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin27 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name3, Input3, Plugin22, toModelContent2, exports_read };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tx323b0h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./persistent-pty-zxc6d5jg.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./persistent-pty-qvfh85cq.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-vvetkfbd.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service62
|
|
26
|
+
} from "./persistent-pty-tdph6ben.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./persistent-pty-qjgk3hk8.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin32,
|
|
41
|
+
name: () => name12,
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name12 = "grep";
|
|
48
|
+
var Input12 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin32 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service54;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service61;
|
|
93
|
+
const permission = yield* Service62;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name12,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input12,
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name12,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin23 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin23 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name12, Input12, Output8, toModelContent6, Plugin32, exports_grep };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service13,
|
|
10
|
+
node: () => node15
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service13, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service13.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service13, node15, exports_managed_policy };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./persistent-pty-9bmaysqm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./persistent-pty-hb9mtrsd.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-2qmn5bfe.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin19 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service58;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service59;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin44 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin19, exports_compatibility };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./persistent-pty-8kjkx24x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions2 = {};
|
|
20
20
|
__export(exports_instructions2, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service30,
|
|
22
22
|
SkillInstructions: () => exports_instructions2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node34
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service39;
|
|
67
|
+
return Service30.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node42] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service30, node34, exports_instructions2 };
|