@opencode/core 0.0.0-dev-163 → 0.0.0-dev-172
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +81 -81
- package/dist/chunks/{skill-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{skill-vnycbc10.js → schema-04z78z4p.js} +21 -21
- package/dist/chunks/{skill-0a5dxn0x.js → schema-061s75p4.js} +3 -3
- package/dist/chunks/{skill-am9yzy1e.js → schema-090m30xj.js} +36 -36
- package/dist/chunks/{skill-cpvd08na.js → schema-0ahs07zn.js} +4 -4
- package/dist/chunks/{skill-tfmd9fwy.js → schema-0cfns17n.js} +45 -45
- package/dist/chunks/{skill-bamxkp5g.js → schema-0drtew17.js} +36 -36
- package/dist/chunks/schema-0kar9yb6.js +26 -0
- package/dist/chunks/{skill-yhxq0ph1.js → schema-0m3hsgex.js} +30 -30
- package/dist/chunks/{skill-5mnzh5sc.js → schema-0wqwjmtr.js} +11 -11
- package/dist/chunks/{skill-6y7j79mm.js → schema-15j8kqyp.js} +6 -6
- package/dist/chunks/{skill-5qnntnk2.js → schema-1c950baa.js} +5 -5
- package/dist/chunks/{skill-tvmvfkbc.js → schema-1enrjds2.js} +27 -27
- package/dist/chunks/{skill-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-1kn6jdkn.js → schema-1kn6jdkn.js} +1 -1
- package/dist/chunks/{skill-3jcbynxa.js → schema-1m459fdp.js} +10 -10
- package/dist/chunks/{skill-v9wmh59m.js → schema-1rdchn1p.js} +15 -15
- package/dist/chunks/{skill-2dfqqm60.js → schema-1w0tbadz.js} +23 -23
- package/dist/chunks/{skill-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-eb8kyfw1.js → schema-1x5b7tgq.js} +18 -18
- package/dist/chunks/{skill-p7vhpwh8.js → schema-1yq9hg58.js} +5 -5
- package/dist/chunks/{skill-ndec2g7f.js → schema-1yxgftn3.js} +9 -9
- package/dist/chunks/{skill-204s3925.js → schema-204s3925.js} +1 -1
- package/dist/chunks/{skill-8035m94h.js → schema-210pe7vf.js} +41 -41
- package/dist/chunks/{skill-xdf117h8.js → schema-21qby824.js} +318 -318
- package/dist/chunks/{skill-4j373htp.js → schema-269arx00.js} +25 -25
- package/dist/chunks/{skill-qnqasnye.js → schema-26x8chrq.js} +6 -6
- package/dist/chunks/{skill-trcq3z22.js → schema-26z001ty.js} +15 -15
- package/dist/chunks/{skill-essbs1k7.js → schema-2cx4pwwp.js} +13 -13
- package/dist/chunks/{skill-z7efmy73.js → schema-2dah0fcg.js} +5 -5
- package/dist/chunks/{skill-73bccqdv.js → schema-2ha14jpx.js} +5 -5
- package/dist/chunks/{skill-pjvr3qb3.js → schema-2mkw5nnf.js} +22 -22
- package/dist/chunks/{skill-hmk43ts9.js → schema-3cnqskb9.js} +41 -41
- package/dist/chunks/{skill-n1dbvrxa.js → schema-3fbhx6a4.js} +15 -15
- package/dist/chunks/{skill-2bvfvv2f.js → schema-3g3amc73.js} +9 -9
- package/dist/chunks/{skill-kewetrmz.js → schema-3gr2x4rj.js} +20 -20
- package/dist/chunks/{skill-4np0zqes.js → schema-3h3qy8d6.js} +11 -11
- package/dist/chunks/{skill-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-32jh04q0.js → schema-3ng4e935.js} +20 -20
- package/dist/chunks/{skill-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{skill-rxe7p33y.js → schema-3sxgyymf.js} +9 -9
- package/dist/chunks/{skill-6ap3eaze.js → schema-3t4pqd58.js} +16 -16
- package/dist/chunks/{skill-m29vy67z.js → schema-3x9h4h7w.js} +30 -30
- package/dist/chunks/{skill-19sn1tff.js → schema-3zadjdx1.js} +25 -25
- package/dist/chunks/{skill-6mtbmyr8.js → schema-408p671s.js} +90 -90
- package/dist/chunks/{skill-w2eysc6j.js → schema-40za9wsf.js} +9 -9
- package/dist/chunks/{skill-wer98kyb.js → schema-448jnkaf.js} +8 -8
- package/dist/chunks/{skill-hqkbkg9n.js → schema-4ct751ez.js} +29 -29
- package/dist/chunks/{skill-nr1dehp0.js → schema-4dqzxk7p.js} +35 -35
- package/dist/chunks/{skill-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{skill-bcdcevt1.js → schema-4qg5d7zq.js} +3 -3
- package/dist/chunks/{skill-epat7ra2.js → schema-4rzb5v1e.js} +18 -18
- package/dist/chunks/{skill-0ep44wk4.js → schema-4s5pdsz9.js} +6 -6
- package/dist/chunks/{skill-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-5s40rnay.js → schema-50q6hzkb.js} +8 -8
- package/dist/chunks/{skill-05ew005d.js → schema-50w453fn.js} +12 -12
- package/dist/chunks/{skill-v9cr40x8.js → schema-552y5q35.js} +12 -12
- package/dist/chunks/{skill-nkraqmq3.js → schema-5b4vr08c.js} +13 -13
- package/dist/chunks/{skill-1yphnjpe.js → schema-5jnjkx8j.js} +28 -28
- package/dist/chunks/{skill-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-9437wt4d.js → schema-5r72z9dp.js} +8 -8
- package/dist/chunks/{skill-ngz6cn3c.js → schema-5t9jfe1j.js} +18 -18
- package/dist/chunks/{skill-6p4z6825.js → schema-5vwbz2vn.js} +2 -2
- package/dist/chunks/{skill-xpadfym9.js → schema-5wkj2ywt.js} +18 -18
- package/dist/chunks/{skill-5x26af84.js → schema-5x26af84.js} +4 -4
- package/dist/chunks/{skill-pmyeg67v.js → schema-5y2afnr7.js} +29 -29
- package/dist/chunks/{skill-61ennm6n.js → schema-61ennm6n.js} +1 -1
- package/dist/chunks/{skill-s25y11dt.js → schema-63g612mw.js} +3 -3
- package/dist/chunks/{skill-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
- package/dist/chunks/{skill-61qx5y3q.js → schema-6f28nday.js} +40 -40
- package/dist/chunks/{skill-afqm4g5m.js → schema-6n305hg2.js} +9 -9
- package/dist/chunks/{skill-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{skill-770pw0s1.js → schema-770pw0s1.js} +1 -1
- package/dist/chunks/{skill-qk1k47zm.js → schema-7aatzr77.js} +28 -28
- package/dist/chunks/{skill-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-rfy1qsv0.js → schema-7jz89kf0.js} +5 -5
- package/dist/chunks/{skill-h03fjw9b.js → schema-7kxnx84r.js} +32 -32
- package/dist/chunks/{skill-epvvzesw.js → schema-7p1vn3s6.js} +9 -9
- package/dist/chunks/{skill-xm8wrjs5.js → schema-7pa3t2xk.js} +11 -11
- package/dist/chunks/{skill-3rrjy1gv.js → schema-7rm7mm2f.js} +9 -9
- package/dist/chunks/{skill-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-yqh7zqgy.js → schema-7y8v7c8e.js} +11 -11
- package/dist/chunks/{skill-ms1wawne.js → schema-7yh8xe92.js} +21 -21
- package/dist/chunks/{skill-ttqtdfz1.js → schema-8bhq06zm.js} +5 -5
- package/dist/chunks/{skill-7gywx03k.js → schema-8ek83jqy.js} +31 -31
- package/dist/chunks/{skill-bgt8yv0k.js → schema-8eqybnrh.js} +5 -5
- package/dist/chunks/{skill-nd2dg6zm.js → schema-8gz737b7.js} +4 -4
- package/dist/chunks/{skill-8jztxfpf.js → schema-8jztxfpf.js} +1 -1
- package/dist/chunks/{skill-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{skill-90zstvax.js → schema-90zstvax.js} +1 -1
- package/dist/chunks/{skill-zec3dvrx.js → schema-94rrg3vb.js} +50 -50
- package/dist/chunks/{skill-5wcw8brx.js → schema-9e9bdq1p.js} +11 -11
- package/dist/chunks/{skill-zjsdvc9v.js → schema-9exzskw1.js} +74 -74
- package/dist/chunks/{skill-a54tt8tb.js → schema-9kverp60.js} +14 -14
- package/dist/chunks/{skill-g1ay4zd8.js → schema-9r0x1bva.js} +9 -9
- package/dist/chunks/{skill-w2fpj83c.js → schema-9rhy1jhz.js} +35 -35
- package/dist/chunks/{skill-0anyt1n6.js → schema-9z9tayqc.js} +5 -5
- package/dist/chunks/{skill-f8hh9n1c.js → schema-a4qm5kkz.js} +3 -3
- package/dist/chunks/{skill-rby3wm67.js → schema-a6dwmrq2.js} +17 -17
- package/dist/chunks/{skill-wdyn1ab2.js → schema-aa5aqj1j.js} +8 -8
- package/dist/chunks/{skill-b6j6r4ej.js → schema-adrdbcay.js} +17 -17
- package/dist/chunks/{skill-ban6zjwx.js → schema-ae69f5xb.js} +10 -10
- package/dist/chunks/{skill-4cse8p3m.js → schema-afq6afk6.js} +22 -22
- package/dist/chunks/{skill-vq14rzh9.js → schema-ah0gjdxz.js} +43 -43
- package/dist/chunks/{skill-xybtmwwq.js → schema-at9e0pnj.js} +32 -32
- package/dist/chunks/{skill-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-37vw2nj8.js → schema-b0k6q4r7.js} +25 -25
- package/dist/chunks/{skill-b6vsg801.js → schema-b6vsg801.js} +2 -2
- package/dist/chunks/{skill-2kr5775s.js → schema-b8nj54vk.js} +23 -23
- package/dist/chunks/{skill-arbe3xjc.js → schema-b9bpy08a.js} +22 -22
- package/dist/chunks/{skill-y0ha8pg7.js → schema-bhxshkcp.js} +25 -25
- package/dist/chunks/{skill-pr5m753x.js → schema-bkkedvkd.js} +5 -5
- package/dist/chunks/{skill-k4krbr57.js → schema-btbftat3.js} +4 -4
- package/dist/chunks/{skill-1rjhx841.js → schema-btkemy5f.js} +13 -13
- package/dist/chunks/{skill-k4nkwk6k.js → schema-cbrqsbxs.js} +27 -27
- package/dist/chunks/{skill-7bx2zmjp.js → schema-cc9g74x6.js} +7 -7
- package/dist/chunks/{skill-r7eqq3d9.js → schema-ce2ydvyh.js} +46 -46
- package/dist/chunks/{skill-9cxh8y9p.js → schema-chb25f6y.js} +9 -9
- package/dist/chunks/{skill-z0b8nnqv.js → schema-cke2hwj1.js} +14 -14
- package/dist/chunks/{skill-89q2nt0d.js → schema-cr4v66wc.js} +18 -18
- package/dist/chunks/{skill-6pzwfz31.js → schema-ct5fctns.js} +21 -21
- package/dist/chunks/{skill-raytzsm9.js → schema-ctbc3d2x.js} +9 -9
- package/dist/chunks/{skill-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{skill-dpv3c7v6.js → schema-cxn0c79x.js} +15 -15
- package/dist/chunks/{skill-30nyfavy.js → schema-czjbmn1x.js} +3 -3
- package/dist/chunks/{skill-d2887f8n.js → schema-d2887f8n.js} +1 -1
- package/dist/chunks/{skill-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-9nmb08f7.js → schema-d9vx7wx0.js} +15 -15
- package/dist/chunks/{skill-hbjf5446.js → schema-df57mhq9.js} +17 -17
- package/dist/chunks/{skill-znk3jx2t.js → schema-dfxm9epe.js} +28 -28
- package/dist/chunks/{skill-b61v6d5c.js → schema-dh1g62nj.js} +22 -22
- package/dist/chunks/{skill-tjsmtshz.js → schema-dh7yr4e4.js} +24 -24
- package/dist/chunks/{skill-wcx1pj5t.js → schema-dn4sdd79.js} +28 -28
- package/dist/chunks/{skill-3j1m3tq4.js → schema-ds7r37yp.js} +5 -5
- package/dist/chunks/{skill-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{skill-vzv6y601.js → schema-dtjqx0e4.js} +25 -25
- package/dist/chunks/{skill-jchw1kv4.js → schema-e0sctgnq.js} +16 -16
- package/dist/chunks/{skill-en8b94nd.js → schema-e1frhwek.js} +6 -6
- package/dist/chunks/{skill-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{skill-9ca2rzpk.js → schema-e9zqgb96.js} +29 -29
- package/dist/chunks/{skill-fab4ec1x.js → schema-ehb90vmh.js} +15 -15
- package/dist/chunks/{skill-7rqmk5w1.js → schema-ehsb21bg.js} +19 -19
- package/dist/chunks/{skill-rmv4btrj.js → schema-ek1rnzpg.js} +13 -13
- package/dist/chunks/{skill-91kh0p1x.js → schema-f1q86js6.js} +12 -12
- package/dist/chunks/{skill-913wjczz.js → schema-f4bj65gc.js} +1 -1
- package/dist/chunks/{skill-ee9g468w.js → schema-fajmsesy.js} +12 -12
- package/dist/chunks/{skill-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{skill-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
- package/dist/chunks/{skill-nvhett0n.js → schema-fpb1sgsj.js} +18 -18
- package/dist/chunks/{skill-gs87gpdt.js → schema-fv6xxc7y.js} +14 -14
- package/dist/chunks/{skill-wr3re1en.js → schema-fznmdakp.js} +4 -4
- package/dist/chunks/{skill-4az1a8cs.js → schema-g13qewtb.js} +6 -6
- package/dist/chunks/{skill-qz3x11k1.js → schema-g1w8m9xc.js} +177 -177
- package/dist/chunks/{skill-zgmrepvs.js → schema-g9ndtp1p.js} +4 -4
- package/dist/chunks/{skill-gg8p9cgs.js → schema-gg8p9cgs.js} +3 -3
- package/dist/chunks/{skill-j2enqxax.js → schema-gj697h3c.js} +20 -20
- package/dist/chunks/{skill-3f40a73m.js → schema-gjwgtksd.js} +41 -41
- package/dist/chunks/{skill-8qkh3bqb.js → schema-grp5rwdb.js} +8 -8
- package/dist/chunks/{skill-bmw1c1w2.js → schema-h097nhc1.js} +8 -8
- package/dist/chunks/{skill-pm3q2zxn.js → schema-h0ppebc3.js} +8 -8
- package/dist/chunks/{skill-njmbjpvg.js → schema-h1qzytc1.js} +25 -25
- package/dist/chunks/{skill-rag25emf.js → schema-hapd2mq8.js} +37 -37
- package/dist/chunks/{skill-405qk1h7.js → schema-hbmj972w.js} +14 -14
- package/dist/chunks/{skill-q2qaf7wx.js → schema-hc8nqjwe.js} +9 -9
- package/dist/chunks/{skill-hdfrs5mg.js → schema-hdfrs5mg.js} +2 -2
- package/dist/chunks/{skill-m37sd98t.js → schema-hfgk9wzg.js} +4 -4
- package/dist/chunks/{skill-9r049acs.js → schema-hkt99n7n.js} +6 -6
- package/dist/chunks/{skill-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
- package/dist/chunks/{skill-vb80j1wh.js → schema-hqxkkta1.js} +3 -3
- package/dist/chunks/{skill-ztwsgc1d.js → schema-hte5j8rj.js} +61 -61
- package/dist/chunks/{skill-zvp0bfyt.js → schema-hvwz7mjy.js} +5 -5
- package/dist/chunks/{skill-nkd8v4pa.js → schema-j0fb9gww.js} +6 -6
- package/dist/chunks/{skill-fvjhjrzf.js → schema-j2na3mwa.js} +32 -32
- package/dist/chunks/{skill-9k7nxg7x.js → schema-j6rxfpjy.js} +13 -13
- package/dist/chunks/{skill-qw96sn3j.js → schema-j7jb94ac.js} +25 -25
- package/dist/chunks/{skill-ja63h2sr.js → schema-ja63h2sr.js} +2 -2
- package/dist/chunks/{skill-gcjdgkn2.js → schema-jcqm84fr.js} +9 -9
- package/dist/chunks/{skill-5pshy8sw.js → schema-jesqdct3.js} +4 -4
- package/dist/chunks/{skill-jfaecv01.js → schema-jfaecv01.js} +1 -1
- package/dist/chunks/{skill-14zytdp5.js → schema-jj7tzx6g.js} +21 -21
- package/dist/chunks/{skill-3vjmwmxb.js → schema-jrc11jm8.js} +9 -9
- package/dist/chunks/{skill-b3d7ny6a.js → schema-jspw90cp.js} +15 -15
- package/dist/chunks/{skill-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
- package/dist/chunks/{skill-aj5e77t9.js → schema-jzepz2rk.js} +19 -19
- package/dist/chunks/{skill-e44cxw6m.js → schema-k031ef6b.js} +24 -24
- package/dist/chunks/{skill-sp9dvky5.js → schema-k2yq3k02.js} +16 -16
- package/dist/chunks/{skill-ng1eyj3g.js → schema-k624yqda.js} +4 -4
- package/dist/chunks/{skill-a03n3gm8.js → schema-k7b253ks.js} +44 -44
- package/dist/chunks/{skill-k814nvkf.js → schema-k814nvkf.js} +1 -1
- package/dist/chunks/{skill-k9zkdd2y.js → schema-k9zkdd2y.js} +1 -1
- package/dist/chunks/{skill-c8r01r98.js → schema-kbdkx2jg.js} +23 -23
- package/dist/chunks/{skill-vaw3dvy1.js → schema-kf8fsxtd.js} +54 -54
- package/dist/chunks/{skill-9kg5w032.js → schema-kmzgegqq.js} +8 -8
- package/dist/chunks/{skill-kmhtvf6k.js → schema-kprhyz1z.js} +87 -87
- package/dist/chunks/{skill-jsw35a0h.js → schema-kq6ta67e.js} +25 -25
- package/dist/chunks/{skill-ddmr4kyb.js → schema-krr7tknq.js} +9 -9
- package/dist/chunks/{skill-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{skill-pq0kc3ar.js → schema-kxh38scf.js} +27 -27
- package/dist/chunks/{skill-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{skill-wg6jstvf.js → schema-m4f8sh63.js} +25 -25
- package/dist/chunks/{skill-rpmrbcva.js → schema-m8sj5xmd.js} +4 -4
- package/dist/chunks/{skill-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-btb3pt6y.js → schema-mnw2gt42.js} +17 -17
- package/dist/chunks/{skill-qz8ywq1d.js → schema-mpxecfx5.js} +9 -9
- package/dist/chunks/{skill-j6684nar.js → schema-myxan7r3.js} +6 -6
- package/dist/chunks/schema-n3r3rt18.js +18 -0
- package/dist/chunks/{skill-bvczkwhn.js → schema-n5wkbxzm.js} +11 -11
- package/dist/chunks/{skill-mpn128rf.js → schema-nj7fnw38.js} +43 -43
- package/dist/chunks/{skill-wkw52rsc.js → schema-nnhp4nhp.js} +11 -11
- package/dist/chunks/{skill-p015t6z3.js → schema-p015t6z3.js} +2 -2
- package/dist/chunks/{skill-agqd6nxz.js → schema-p7f9amnf.js} +6 -6
- package/dist/chunks/schema-p8c3k4sp.js +257 -0
- package/dist/chunks/{skill-9a8sby2n.js → schema-pe59pxdd.js} +18 -18
- package/dist/chunks/{skill-sykc9y4a.js → schema-pfq1ksym.js} +5 -5
- package/dist/chunks/{skill-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{skill-qdndt55z.js → schema-pq666zke.js} +32 -32
- package/dist/chunks/{skill-97vq97zw.js → schema-py366xq1.js} +9 -9
- package/dist/chunks/{skill-q63cb7ap.js → schema-q63cb7ap.js} +3 -3
- package/dist/chunks/{skill-k3cw2t6y.js → schema-qah7t4da.js} +6 -6
- package/dist/chunks/{skill-aygdtr2v.js → schema-qfdchg71.js} +24 -24
- package/dist/chunks/{skill-wf6trj2q.js → schema-qg7hdk6m.js} +15 -15
- package/dist/chunks/{skill-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{skill-rfk05w8t.js → schema-qpwdfbas.js} +4 -4
- package/dist/chunks/{skill-vtgxp655.js → schema-qsee9sfb.js} +2 -2
- package/dist/chunks/{skill-b29fyxt2.js → schema-qtfmf1tm.js} +21 -21
- package/dist/chunks/{skill-n85dj6ja.js → schema-qyn9kdbg.js} +23 -23
- package/dist/chunks/{skill-tk2afw03.js → schema-qzcxxbs6.js} +38 -38
- package/dist/chunks/{skill-yamg44ys.js → schema-qzzez12v.js} +11 -11
- package/dist/chunks/{skill-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
- package/dist/chunks/{skill-qzsrq0m2.js → schema-r1emyrvf.js} +2 -2
- package/dist/chunks/{skill-r542h3bh.js → schema-r542h3bh.js} +1 -1
- package/dist/chunks/{skill-98qreggg.js → schema-r5wdg4a9.js} +8 -8
- package/dist/chunks/{skill-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-5wxa8xqp.js → schema-rccanh0n.js} +29 -29
- package/dist/chunks/{skill-fmc822pf.js → schema-rk0m1k2s.js} +12 -12
- package/dist/chunks/{skill-sgzfd5gg.js → schema-rmstegws.js} +33 -33
- package/dist/chunks/{skill-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{skill-mx8m5z6n.js → schema-rthtd3fc.js} +35 -35
- package/dist/chunks/{skill-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{skill-eqz11q1g.js → schema-saa9e38s.js} +4 -4
- package/dist/chunks/{skill-s7wsa77y.js → schema-skfxre3x.js} +27 -27
- package/dist/chunks/{skill-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
- package/dist/chunks/{skill-z6yfre4a.js → schema-sqpw74e5.js} +22 -22
- package/dist/chunks/{skill-zxv2n26m.js → schema-srey9s68.js} +13 -13
- package/dist/chunks/{skill-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{skill-n6nq4z64.js → schema-t3b400sf.js} +4 -4
- package/dist/chunks/{skill-ks317rcp.js → schema-t5jqs5j7.js} +2 -2
- package/dist/chunks/{skill-wzy85xvx.js → schema-t78wmv83.js} +24 -24
- package/dist/chunks/{skill-55k6j35k.js → schema-tbn2mnzh.js} +11 -11
- package/dist/chunks/{skill-mn0e9cd8.js → schema-tcsxprfy.js} +21 -21
- package/dist/chunks/{skill-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-d390zwf3.js → schema-tf9r37f3.js} +11 -11
- package/dist/chunks/{skill-ntadaps1.js → schema-tg57hhy1.js} +18 -18
- package/dist/chunks/{skill-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{skill-8fx14zah.js → schema-txbj6sh8.js} +11 -11
- package/dist/chunks/{skill-d8bep251.js → schema-v0jzprfb.js} +14 -14
- package/dist/chunks/{skill-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-e7rv6cb7.js → schema-vqf4085a.js} +14 -14
- package/dist/chunks/{skill-4wwq8aee.js → schema-vyc6s2qb.js} +14 -14
- package/dist/chunks/{skill-2kg89srt.js → schema-w35wzz9x.js} +4 -4
- package/dist/chunks/{skill-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-zccn1z3t.js → schema-w5sf4kaa.js} +8 -8
- package/dist/chunks/{skill-r2rkpkst.js → schema-wahr43z1.js} +4 -4
- package/dist/chunks/{skill-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{skill-ddfxq7x3.js → schema-wfmjjmyz.js} +20 -20
- package/dist/chunks/{skill-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
- package/dist/chunks/{skill-p6dffgb0.js → schema-wv0e3mfz.js} +11 -11
- package/dist/chunks/{skill-yptr342z.js → schema-x9s6m3f5.js} +32 -32
- package/dist/chunks/{skill-ga0fj4ee.js → schema-xc81ym32.js} +9 -9
- package/dist/chunks/{skill-bstexjd6.js → schema-xd9cc171.js} +5 -5
- package/dist/chunks/{skill-1k90x68w.js → schema-xpa3vb6e.js} +17 -17
- package/dist/chunks/{skill-hd3k4wz8.js → schema-xsact9zs.js} +4 -4
- package/dist/chunks/{skill-aq94p1jm.js → schema-xtfsy8hb.js} +7 -7
- package/dist/chunks/{skill-yara3q77.js → schema-yara3q77.js} +2 -2
- package/dist/chunks/{skill-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-9beykft8.js → schema-yfcb8j9k.js} +5 -5
- package/dist/chunks/{skill-pae7shj2.js → schema-yhe5e00v.js} +9 -9
- package/dist/chunks/{skill-ymz7p2c9.js → schema-ymz7p2c9.js} +3 -3
- package/dist/chunks/{skill-pss36gg9.js → schema-yzwnyabz.js} +11 -11
- package/dist/chunks/{skill-z38nccrw.js → schema-z38nccrw.js} +1 -1
- package/dist/chunks/{skill-rmpw1pc8.js → schema-zbrhs51n.js} +33 -33
- package/dist/chunks/{skill-2h215caw.js → schema-zpr60y31.js} +6 -6
- package/dist/chunks/{skill-9fvg35k7.js → schema-zt231353.js} +32 -32
- package/dist/chunks/{skill-xe5v3ymg.js → schema-zzzjcb07.js} +9 -9
- 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 +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- 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 +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +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 +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +158 -158
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +222 -222
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +88 -88
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/skill-86pkm0fq.js +0 -26
- package/dist/chunks/skill-fg9gx7xd.js +0 -257
- package/dist/chunks/skill-z7bdqmx5.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1jakw16s.js → schema-1jakw16s.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4m86bj6y.js → schema-4m86bj6y.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a058387c.js → schema-a058387c.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./schema-kq6ta67e.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./schema-tf9r37f3.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-8gz737b7.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./schema-ce2ydvyh.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin46
|
|
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(Info16);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin46 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
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 Plugin26 = 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(ID11.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 = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin46, exports_agent2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./schema-ce2ydvyh.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service59
|
|
13
|
+
} from "./schema-qfdchg71.js";
|
|
14
14
|
import {
|
|
15
15
|
Service55
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-50q6hzkb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service67
|
|
19
|
+
} from "./schema-0cfns17n.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-j7jb94ac.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service47,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-afq6afk6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service35
|
|
37
|
+
} from "./schema-94rrg3vb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./schema-408p671s.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-qpwdfbas.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./schema-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin23,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin23 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
123
|
+
const sessions = yield* Service21;
|
|
124
124
|
const jobs = yield* Service55;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service59;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service35;
|
|
129
|
+
const shellSelect = yield* Service47;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service67;
|
|
132
|
+
const config = yield* Service71;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin15 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin15 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin15 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin23, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured12,
|
|
11
|
+
layer: () => layer27,
|
|
12
12
|
make: () => make22,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node86,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer27 = (input) => Layer.succeed(Metadata2, make22(input));
|
|
32
|
+
var configured12 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
|
|
33
|
+
var node86 = configured12();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make22, useragent2,
|
|
35
|
+
export { Metadata2, make22, useragent2, layer27, configured12, node86, exports_app };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node39
|
|
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 Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service44, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node39 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node39, exports_environment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service70,
|
|
10
|
+
node: () => node73
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service70 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service70.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service70, node73, exports_hooks };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./schema-0cfns17n.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
|
-
MAX_RESPONSE_BYTES: () =>
|
|
24
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin30,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
|
-
description: () =>
|
|
29
|
+
description: () => description5,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name13
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var name13 = "webfetch";
|
|
38
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
|
-
var
|
|
41
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input13 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input8 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input13.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -103,7 +103,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
103
103
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
104
104
|
});
|
|
105
105
|
}));
|
|
106
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
106
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
107
107
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
108
108
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
109
109
|
var convert = (content, contentType, format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin30 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service67;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name13,
|
|
125
125
|
options: { codemode: false },
|
|
126
|
-
description:
|
|
127
|
-
input:
|
|
126
|
+
description: description5,
|
|
127
|
+
input: Input13,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin10 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name13,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin10 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name13,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name13, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input13, MAX_REDIRECTS2, Plugin30, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./schema-tbn2mnzh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./schema-5t9jfe1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./schema-qah7t4da.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-4s5pdsz9.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./schema-1rdchn1p.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service52
|
|
33
|
+
} from "./schema-7kxnx84r.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service50
|
|
36
|
+
} from "./schema-qzcxxbs6.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./schema-1x5b7tgq.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./schema-04z78z4p.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./schema-hc8nqjwe.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./schema-6n305hg2.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./schema-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make14
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const database = yield*
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
64
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const database = yield* Service86;
|
|
67
|
+
const store = yield* Service69;
|
|
68
|
+
const instances = yield* Service53;
|
|
69
|
+
const execution = yield* Service50;
|
|
70
|
+
const admission = yield* Service52;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError10({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -155,7 +155,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
155
155
|
sessionID: session.id,
|
|
156
156
|
item
|
|
157
157
|
});
|
|
158
|
-
}).pipe(instances.provide(session), Effect.provideService(
|
|
158
|
+
}).pipe(instances.provide(session), Effect.provideService(Service86, database), Effect.provideService(FSUtil.Service, fs));
|
|
159
159
|
}).pipe(Effect.catchTag("SessionInbox.LifecycleConflict", () => new PromptConflictError2({ sessionID, messageID })));
|
|
160
160
|
if (input.resume !== false)
|
|
161
161
|
yield* execution.wake(sessionID);
|
|
@@ -164,7 +164,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service53, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service53, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service86, database), Effect.provideService(Service82, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service82, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ ${error.message}`,
|
|
|
348
348
|
return { forSession };
|
|
349
349
|
});
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make14, exports_session2 };
|