@opencode/core 0.0.0-dev-81 → 0.0.0-dev-85
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-034tev2y.js → instruction-discovery-034tev2y.js} +2 -2
- package/dist/chunks/{generate-mvj3t52g.js → instruction-discovery-0cpsvkfc.js} +7 -7
- package/dist/chunks/{generate-3bpzsehq.js → instruction-discovery-0jq4q1p2.js} +15 -15
- package/dist/chunks/{generate-500djfy4.js → instruction-discovery-0nvskcjk.js} +25 -25
- package/dist/chunks/{generate-wfwbmxj9.js → instruction-discovery-0pk0a4bb.js} +21 -21
- package/dist/chunks/{generate-1yebjb7n.js → instruction-discovery-0qa86xwk.js} +23 -23
- package/dist/chunks/{generate-1w4xpz6a.js → instruction-discovery-0tnetv23.js} +29 -29
- package/dist/chunks/{generate-ne4tt1ep.js → instruction-discovery-0vp9s6f9.js} +9 -9
- package/dist/chunks/{generate-11hfp36g.js → instruction-discovery-11hfp36g.js} +1 -1
- package/dist/chunks/{generate-t1fs0nta.js → instruction-discovery-1aepsj9z.js} +8 -8
- package/dist/chunks/{generate-mfrr2svg.js → instruction-discovery-1dwvcqns.js} +25 -25
- package/dist/chunks/{generate-wresbwaf.js → instruction-discovery-1eeyyfsn.js} +3 -3
- package/dist/chunks/{generate-wncvwmyx.js → instruction-discovery-1emdzzkr.js} +70 -70
- package/dist/chunks/{generate-1ep2p91f.js → instruction-discovery-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-20ax9mvp.js → instruction-discovery-1hs61ayd.js} +17 -17
- package/dist/chunks/{generate-njamm2cm.js → instruction-discovery-1j1ma7kd.js} +10 -10
- package/dist/chunks/{generate-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-raxq219f.js → instruction-discovery-1ywsh6b9.js} +19 -19
- package/dist/chunks/{generate-204s3925.js → instruction-discovery-204s3925.js} +1 -1
- package/dist/chunks/{generate-p869v6ff.js → instruction-discovery-26x8chrq.js} +6 -6
- package/dist/chunks/{generate-x2jb7586.js → instruction-discovery-27h8nq2q.js} +10 -10
- package/dist/chunks/{generate-ez1g32xq.js → instruction-discovery-294jph37.js} +5 -5
- package/dist/chunks/{generate-x8kf0qe2.js → instruction-discovery-2jm5ms20.js} +32 -32
- package/dist/chunks/{generate-fvw7fpk2.js → instruction-discovery-2m0svkb3.js} +9 -9
- package/dist/chunks/{generate-vcvg2s1w.js → instruction-discovery-2wqj22kd.js} +9 -9
- package/dist/chunks/{generate-2gp0ejb3.js → instruction-discovery-2z2261gz.js} +15 -15
- package/dist/chunks/{generate-t2hws329.js → instruction-discovery-32hbtqx1.js} +4 -4
- package/dist/chunks/{generate-54x4knwr.js → instruction-discovery-38k6nkcd.js} +14 -14
- package/dist/chunks/{generate-2k5h4fp7.js → instruction-discovery-3an2h7zk.js} +1 -1
- package/dist/chunks/{generate-0yrgkn6z.js → instruction-discovery-3c7hxhsq.js} +15 -15
- package/dist/chunks/{generate-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-0vpw1p67.js → instruction-discovery-3k4eq6ay.js} +19 -19
- package/dist/chunks/{generate-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-a5rsj065.js → instruction-discovery-3yy4cqsx.js} +24 -24
- package/dist/chunks/{generate-w2eysc6j.js → instruction-discovery-40za9wsf.js} +9 -9
- package/dist/chunks/{generate-gnef790b.js → instruction-discovery-41865php.js} +40 -40
- package/dist/chunks/{generate-aed20f0x.js → instruction-discovery-42cx4vra.js} +25 -25
- package/dist/chunks/{generate-gwx54z98.js → instruction-discovery-4kr7f4hz.js} +22 -22
- package/dist/chunks/{generate-cpnzy11t.js → instruction-discovery-4m39ffq2.js} +14 -14
- package/dist/chunks/{generate-4pyp9zr9.js → instruction-discovery-4pyp9zr9.js} +1 -1
- package/dist/chunks/{generate-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-6yfzf5e6.js → instruction-discovery-5b3jskfa.js} +4 -4
- package/dist/chunks/{generate-5h88a2js.js → instruction-discovery-5bgjyvxg.js} +27 -27
- package/dist/chunks/{generate-3n7cxz37.js → instruction-discovery-5ccfq05q.js} +24 -24
- package/dist/chunks/{generate-qaf4nrm9.js → instruction-discovery-5f43ww3k.js} +15 -15
- package/dist/chunks/{generate-4p3cqz3x.js → instruction-discovery-5jbhsptk.js} +11 -11
- package/dist/chunks/{generate-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-63mgg1rp.js → instruction-discovery-5nabnb12.js} +15 -15
- package/dist/chunks/{generate-1yq9hg58.js → instruction-discovery-5zrxpy3q.js} +5 -5
- package/dist/chunks/{generate-h2vbff59.js → instruction-discovery-613qqnzk.js} +11 -11
- package/dist/chunks/{generate-jh3ekwcy.js → instruction-discovery-680724q2.js} +14 -14
- package/dist/chunks/{generate-6esdw8yj.js → instruction-discovery-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-vdpapx9q.js → instruction-discovery-6mpwyd8c.js} +13 -13
- package/dist/chunks/{generate-w8qtt4th.js → instruction-discovery-76cb1hcw.js} +4 -4
- package/dist/chunks/{generate-72sg82ve.js → instruction-discovery-79brk8yc.js} +31 -31
- package/dist/chunks/{generate-e8gkemrs.js → instruction-discovery-7ba1kvb7.js} +18 -18
- package/dist/chunks/{generate-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-nnt30w3v.js → instruction-discovery-7d154cfc.js} +10 -10
- package/dist/chunks/{generate-dfrvr67t.js → instruction-discovery-7hke258b.js} +4 -4
- package/dist/chunks/{generate-ntp0m708.js → instruction-discovery-7pcnyccf.js} +32 -32
- package/dist/chunks/{generate-xgh8r5md.js → instruction-discovery-7pstyfmd.js} +17 -17
- package/dist/chunks/{generate-a38kcqy6.js → instruction-discovery-7rjk5fac.js} +4 -4
- package/dist/chunks/{generate-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-5zch7wr3.js → instruction-discovery-7ymg3bcy.js} +28 -28
- package/dist/chunks/{generate-g9h88g1w.js → instruction-discovery-823phfb1.js} +9 -9
- package/dist/chunks/{generate-79nptycn.js → instruction-discovery-828jwtgn.js} +3 -3
- package/dist/chunks/{generate-my4zabxr.js → instruction-discovery-8n9x2wf6.js} +2 -2
- package/dist/chunks/{generate-71wjfbxa.js → instruction-discovery-8rbhtgaf.js} +30 -30
- package/dist/chunks/{generate-szcgc7h4.js → instruction-discovery-8wc2fpae.js} +5 -5
- package/dist/chunks/{generate-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-zh7bbm8x.js → instruction-discovery-8yhc7zrg.js} +9 -9
- package/dist/chunks/{generate-90zstvax.js → instruction-discovery-90zstvax.js} +1 -1
- package/dist/chunks/{generate-w43zhwmv.js → instruction-discovery-9fwsy5x7.js} +17 -17
- package/dist/chunks/{generate-09a8m3xd.js → instruction-discovery-9qcg53ez.js} +9 -9
- package/dist/chunks/{generate-spqbgcqv.js → instruction-discovery-9s3pg80w.js} +1 -1
- package/dist/chunks/{generate-v7bnf05s.js → instruction-discovery-9v36js8k.js} +20 -20
- package/dist/chunks/{generate-p1vte9h6.js → instruction-discovery-9zrz05pf.js} +11 -11
- package/dist/chunks/{generate-vgx7atgj.js → instruction-discovery-a1ctfybt.js} +40 -40
- package/dist/chunks/{generate-zmwx25fz.js → instruction-discovery-a5g15581.js} +2 -2
- package/dist/chunks/{generate-40smdzyz.js → instruction-discovery-a9cen3eq.js} +25 -25
- package/dist/chunks/{generate-zqy7k0qn.js → instruction-discovery-aaft7q2k.js} +7 -7
- package/dist/chunks/{generate-as0atjke.js → instruction-discovery-ac1m65en.js} +88 -88
- package/dist/chunks/{generate-hdfrs5mg.js → instruction-discovery-af0k6e03.js} +9 -9
- package/dist/chunks/{generate-qp6mrnfa.js → instruction-discovery-af79ean3.js} +7 -7
- package/dist/chunks/{generate-k0ysn4xj.js → instruction-discovery-aq6cyz91.js} +35 -35
- package/dist/chunks/{generate-53antfq0.js → instruction-discovery-arq1yqkc.js} +36 -36
- package/dist/chunks/{generate-ayjs7tqn.js → instruction-discovery-ayjs7tqn.js} +2 -2
- package/dist/chunks/instruction-discovery-azz85zj6.js +517 -0
- package/dist/chunks/{generate-fbbqkjna.js → instruction-discovery-b1tz3sp7.js} +16 -16
- package/dist/chunks/{generate-j3x9csx9.js → instruction-discovery-b34e6aj5.js} +17 -17
- package/dist/chunks/{generate-njwjh564.js → instruction-discovery-b3ysgcgm.js} +4 -4
- package/dist/chunks/{generate-b6vsg801.js → instruction-discovery-b6vsg801.js} +2 -2
- package/dist/chunks/{generate-9t2khtsw.js → instruction-discovery-b9fw4xdr.js} +11 -11
- package/dist/chunks/instruction-discovery-bgqvkj0f.js +257 -0
- package/dist/chunks/{generate-zskc75ww.js → instruction-discovery-bp2kawj6.js} +15 -15
- package/dist/chunks/{generate-1q5awywt.js → instruction-discovery-btec747f.js} +5 -5
- package/dist/chunks/{generate-9r6pmcfc.js → instruction-discovery-c33mp5kd.js} +34 -34
- package/dist/chunks/{generate-gbqwd2zm.js → instruction-discovery-c41kdn9j.js} +16 -16
- package/dist/chunks/{generate-rcbjwvze.js → instruction-discovery-c5kjsz6q.js} +4 -4
- package/dist/chunks/{generate-1ce0rtfx.js → instruction-discovery-cchmky4n.js} +4 -4
- package/dist/chunks/{generate-wr0x8q8w.js → instruction-discovery-cekdpe72.js} +13 -13
- package/dist/chunks/{generate-ksdhek8b.js → instruction-discovery-cjevvpkz.js} +22 -22
- package/dist/chunks/{generate-nvfej1dx.js → instruction-discovery-cspsqq65.js} +56 -56
- package/dist/chunks/{generate-03efvwc7.js → instruction-discovery-cv02ekq1.js} +12 -12
- package/dist/chunks/{generate-cwrgdav8.js → instruction-discovery-cwrgdav8.js} +2 -2
- package/dist/chunks/{generate-40ykd73j.js → instruction-discovery-czkk2md7.js} +5 -5
- package/dist/chunks/{generate-ssfehs1z.js → instruction-discovery-d2887f8n.js} +4 -4
- package/dist/chunks/{generate-zw4834mw.js → instruction-discovery-d4qkn5y3.js} +26 -26
- package/dist/chunks/{generate-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-yrxdp6ww.js → instruction-discovery-d84x41tm.js} +54 -54
- package/dist/chunks/{generate-crfddmzc.js → instruction-discovery-ddv2mw00.js} +8 -8
- package/dist/chunks/{generate-8ekhwd22.js → instruction-discovery-df15hqy6.js} +8 -8
- package/dist/chunks/{generate-q174ee3q.js → instruction-discovery-dhkm6j2g.js} +9 -9
- package/dist/chunks/{generate-m2th4j2b.js → instruction-discovery-dqcgys99.js} +7 -7
- package/dist/chunks/{generate-dt77769w.js → instruction-discovery-dt77769w.js} +1 -1
- package/dist/chunks/{generate-e38cwtn4.js → instruction-discovery-dtvrzahv.js} +14 -14
- package/dist/chunks/{generate-7w1eqnvf.js → instruction-discovery-dxmx8bx1.js} +32 -32
- package/dist/chunks/{generate-301e04c8.js → instruction-discovery-dzercy8j.js} +14 -14
- package/dist/chunks/{generate-h5j7qrbp.js → instruction-discovery-e4dhw3gc.js} +23 -23
- package/dist/chunks/{generate-e834z07m.js → instruction-discovery-e834z07m.js} +1 -1
- package/dist/chunks/{generate-s7jh2bt2.js → instruction-discovery-ey9q43yp.js} +10 -10
- package/dist/chunks/{generate-cr86k73f.js → instruction-discovery-f01y088k.js} +5 -5
- package/dist/chunks/{generate-1d6rqfwz.js → instruction-discovery-f7b3yq4m.js} +11 -11
- package/dist/chunks/{generate-fffv3p7h.js → instruction-discovery-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-fg9p65nk.js → instruction-discovery-fg9p65nk.js} +2 -2
- package/dist/chunks/{generate-2xh3b742.js → instruction-discovery-fk6vzymk.js} +6 -6
- package/dist/chunks/{generate-gbnxd7gn.js → instruction-discovery-fq2tdc7j.js} +10 -10
- package/dist/chunks/{generate-p7snmzw9.js → instruction-discovery-gbs8zdek.js} +2 -2
- package/dist/chunks/{generate-6twykydk.js → instruction-discovery-gcjdgkn2.js} +9 -9
- package/dist/chunks/{generate-gg8p9cgs.js → instruction-discovery-gg8p9cgs.js} +3 -3
- package/dist/chunks/{generate-zs3j1aq1.js → instruction-discovery-gp2wddyf.js} +11 -11
- package/dist/chunks/{generate-91p4ggbh.js → instruction-discovery-h04cnvmy.js} +20 -20
- package/dist/chunks/{generate-zavmbsdh.js → instruction-discovery-h0ppebc3.js} +8 -8
- package/dist/chunks/{generate-zbwtxs0r.js → instruction-discovery-h3vzy4ka.js} +20 -20
- package/dist/chunks/{generate-csmn30a6.js → instruction-discovery-h5ynnaae.js} +16 -16
- package/dist/chunks/{generate-8y4jps98.js → instruction-discovery-hfgk9wzg.js} +4 -4
- package/dist/chunks/{generate-mfxp7adw.js → instruction-discovery-hjtcgwwy.js} +11 -11
- package/dist/chunks/{generate-tgwbm25x.js → instruction-discovery-hmyvp2rk.js} +13 -13
- package/dist/chunks/{generate-gqvm7anc.js → instruction-discovery-hndccpk4.js} +22 -22
- package/dist/chunks/{generate-hpg1pkwy.js → instruction-discovery-hpg1pkwy.js} +1 -1
- package/dist/chunks/{generate-hfj3jdg6.js → instruction-discovery-hrtnmq5m.js} +20 -20
- package/dist/chunks/{generate-6ak84kja.js → instruction-discovery-htgck597.js} +3 -3
- package/dist/chunks/{generate-21gczqff.js → instruction-discovery-hvkp93rf.js} +12 -12
- package/dist/chunks/{generate-wa8k00xj.js → instruction-discovery-hvvf9qw8.js} +6 -6
- package/dist/chunks/{generate-2zp4fvvj.js → instruction-discovery-hwh6evq5.js} +34 -34
- package/dist/chunks/{generate-nmtbp73c.js → instruction-discovery-j0cz3t38.js} +2 -2
- package/dist/chunks/{generate-7wemp1j9.js → instruction-discovery-j769ea62.js} +3 -3
- package/dist/chunks/{generate-36639cz4.js → instruction-discovery-j7xe0krd.js} +19 -19
- package/dist/chunks/{generate-jfaecv01.js → instruction-discovery-jfaecv01.js} +1 -1
- package/dist/chunks/{generate-kn76f024.js → instruction-discovery-jfbasxex.js} +28 -28
- package/dist/chunks/{generate-aq5yna8t.js → instruction-discovery-jhpqsnsy.js} +21 -21
- package/dist/chunks/{generate-j9e1a4db.js → instruction-discovery-jkn3ed2k.js} +11 -11
- package/dist/chunks/{generate-jtnps1zs.js → instruction-discovery-jtnps1zs.js} +2 -2
- package/dist/chunks/{generate-m32vg8vz.js → instruction-discovery-jtxvztab.js} +17 -17
- package/dist/chunks/{generate-22b1x2mz.js → instruction-discovery-jwmzhdh0.js} +20 -20
- package/dist/chunks/{generate-b5kdkb71.js → instruction-discovery-k5nryg5q.js} +17 -17
- package/dist/chunks/instruction-discovery-k62y2wy8.js +18 -0
- package/dist/chunks/{generate-k814nvkf.js → instruction-discovery-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-fhc9sedx.js → instruction-discovery-k8q25bjh.js} +8 -8
- package/dist/chunks/{generate-2r5swsc6.js → instruction-discovery-ka7t1p06.js} +13 -13
- package/dist/chunks/{generate-htfy1f57.js → instruction-discovery-kb55mmjg.js} +10 -10
- package/dist/chunks/{generate-25rhbghy.js → instruction-discovery-kffcn31a.js} +5 -5
- package/dist/chunks/{generate-ds023f62.js → instruction-discovery-kgk2rv7w.js} +47 -47
- package/dist/chunks/{generate-8hesv9dy.js → instruction-discovery-kh00rq9s.js} +14 -14
- package/dist/chunks/{generate-vyv0j8nn.js → instruction-discovery-khyy6kd5.js} +19 -19
- package/dist/chunks/{generate-160yv0cs.js → instruction-discovery-kmzgegqq.js} +8 -8
- package/dist/chunks/{generate-kt3bjfbg.js → instruction-discovery-kt3bjfbg.js} +1 -1
- package/dist/chunks/{generate-1p5r6cjt.js → instruction-discovery-ktczfv9w.js} +37 -37
- package/dist/chunks/{generate-y3pzht0c.js → instruction-discovery-ktj8frj4.js} +5 -5
- package/dist/chunks/{generate-m1714858.js → instruction-discovery-m1714858.js} +1 -1
- package/dist/chunks/{generate-kkdts8xr.js → instruction-discovery-m1epfjq1.js} +12 -12
- package/dist/chunks/{generate-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-zs7h2624.js → instruction-discovery-mdgn3m5p.js} +28 -28
- package/dist/chunks/{generate-7h4tq4n1.js → instruction-discovery-mq4wmfyx.js} +11 -11
- package/dist/chunks/{generate-xt0z8zst.js → instruction-discovery-n01qhj0y.js} +4 -4
- package/dist/chunks/{generate-k0gkqvt1.js → instruction-discovery-n98387tj.js} +11 -11
- package/dist/chunks/{generate-770pw0s1.js → instruction-discovery-nah043kf.js} +4 -4
- package/dist/chunks/{generate-54vd48rk.js → instruction-discovery-nmn21yyg.js} +31 -31
- package/dist/chunks/{generate-bh1et42v.js → instruction-discovery-np7r7vht.js} +6 -6
- package/dist/chunks/{generate-8n33y3k3.js → instruction-discovery-npchzmkf.js} +32 -32
- package/dist/chunks/{generate-k3yt60zb.js → instruction-discovery-nrzgv5fb.js} +16 -16
- package/dist/chunks/{generate-f0wnzmyw.js → instruction-discovery-nvbva47a.js} +24 -24
- package/dist/chunks/{generate-khsakms0.js → instruction-discovery-nxgn2x81.js} +35 -35
- package/dist/chunks/{generate-vzd7w2ek.js → instruction-discovery-ny8111qj.js} +42 -42
- package/dist/chunks/{generate-pbbktnbz.js → instruction-discovery-nz7ydnky.js} +4 -4
- package/dist/chunks/{generate-tkcrbpkc.js → instruction-discovery-nzs7qp78.js} +6 -6
- package/dist/chunks/{generate-p015t6z3.js → instruction-discovery-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-kd4chd64.js → instruction-discovery-p0tsr9h6.js} +7 -7
- package/dist/chunks/{generate-f62s2454.js → instruction-discovery-p1th5zhm.js} +19 -19
- package/dist/chunks/{generate-c5gtzg91.js → instruction-discovery-p3t7kmpe.js} +16 -16
- package/dist/chunks/{generate-9nzqwf7d.js → instruction-discovery-p4gyfc1r.js} +11 -11
- package/dist/chunks/{generate-njmvt0nj.js → instruction-discovery-p64tz3wb.js} +2 -2
- package/dist/chunks/{generate-2jrrfqe1.js → instruction-discovery-p7f9amnf.js} +6 -6
- package/dist/chunks/{generate-y0nfsw3x.js → instruction-discovery-pbm40fwr.js} +13 -13
- package/dist/chunks/{generate-9c8mgkwd.js → instruction-discovery-phn0t9kc.js} +21 -21
- package/dist/chunks/{generate-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{generate-apyew4sh.js → instruction-discovery-ppvk44vh.js} +17 -17
- package/dist/chunks/{generate-1hkqnyxs.js → instruction-discovery-pwzvsy7a.js} +5 -5
- package/dist/chunks/{generate-brk3g9gh.js → instruction-discovery-qc86dbtb.js} +21 -21
- package/dist/chunks/{generate-q18as39h.js → instruction-discovery-qeee0212.js} +28 -28
- package/dist/chunks/{generate-cy3hxfvf.js → instruction-discovery-qk1yqe57.js} +7 -7
- package/dist/chunks/{generate-mqe7nf5n.js → instruction-discovery-qkqjbc48.js} +3 -3
- package/dist/chunks/{generate-6712xt67.js → instruction-discovery-qmacqh3c.js} +8 -8
- package/dist/chunks/{generate-qp7r0hxv.js → instruction-discovery-qp7r0hxv.js} +1 -1
- package/dist/chunks/{generate-5n5cq6dk.js → instruction-discovery-qwn0xhwk.js} +5 -5
- package/dist/chunks/{generate-6f3v2fef.js → instruction-discovery-qzmmayfr.js} +46 -46
- package/dist/chunks/{generate-r0yr0wbs.js → instruction-discovery-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-q9k672yb.js → instruction-discovery-r246dpnk.js} +11 -11
- package/dist/chunks/{generate-wdccw9aa.js → instruction-discovery-r3bafmem.js} +9 -9
- package/dist/chunks/{generate-0brwp79y.js → instruction-discovery-r3e3nyxn.js} +14 -14
- package/dist/chunks/{generate-r542h3bh.js → instruction-discovery-r542h3bh.js} +1 -1
- package/dist/chunks/{generate-9d7mqhyt.js → instruction-discovery-r5fjfn5p.js} +9 -9
- package/dist/chunks/{generate-9w44n7hp.js → instruction-discovery-r6fvgzn7.js} +43 -43
- package/dist/chunks/{generate-axp9e7dj.js → instruction-discovery-r7dh50dd.js} +17 -17
- package/dist/chunks/{generate-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-wfxkb6jf.js → instruction-discovery-rdywkxba.js} +10 -10
- package/dist/chunks/{generate-j08vsdds.js → instruction-discovery-re1vrb27.js} +11 -11
- package/dist/chunks/{generate-jsq7ewwj.js → instruction-discovery-rh9wspnh.js} +184 -184
- package/dist/chunks/{generate-qsh779tg.js → instruction-discovery-rra832zv.js} +4 -4
- package/dist/chunks/{generate-jhbdwcm4.js → instruction-discovery-rrzt70xg.js} +29 -29
- package/dist/chunks/{generate-rfy1qsv0.js → instruction-discovery-rt3m59k8.js} +5 -5
- package/dist/chunks/{generate-rt5dr6hb.js → instruction-discovery-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-138apfz4.js → instruction-discovery-s53p457m.js} +36 -36
- package/dist/chunks/{generate-w35wzz9x.js → instruction-discovery-s7kyse9r.js} +4 -4
- package/dist/chunks/{generate-sa3fpqfw.js → instruction-discovery-sa3fpqfw.js} +2 -2
- package/dist/chunks/{generate-7x1s9yws.js → instruction-discovery-scdtkf7x.js} +24 -24
- package/dist/chunks/{generate-yw016jnw.js → instruction-discovery-sd49ss65.js} +24 -24
- package/dist/chunks/{generate-6dwbj699.js → instruction-discovery-sgnxyr26.js} +18 -18
- package/dist/chunks/{generate-pcty9z1k.js → instruction-discovery-snb901t2.js} +4 -4
- package/dist/chunks/{generate-g3t4yj1z.js → instruction-discovery-sqbd8axt.js} +11 -11
- package/dist/chunks/{generate-q526re3s.js → instruction-discovery-sqjqkxh5.js} +3 -3
- package/dist/chunks/{generate-sqjzf8x2.js → instruction-discovery-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-svcy3p9a.js → instruction-discovery-svcy3p9a.js} +1 -1
- package/dist/chunks/{generate-wwpqwb19.js → instruction-discovery-sx9mwydm.js} +35 -35
- package/dist/chunks/{generate-be81zkxx.js → instruction-discovery-sxqn6tf9.js} +2 -2
- package/dist/chunks/{generate-qcxq8hjc.js → instruction-discovery-szhjew6d.js} +23 -23
- package/dist/chunks/instruction-discovery-t09xj51a.js +26 -0
- package/dist/chunks/{generate-8essger0.js → instruction-discovery-t11dbw9k.js} +9 -9
- package/dist/chunks/{generate-20yb03sy.js → instruction-discovery-t6sdddkm.js} +33 -33
- package/dist/chunks/{generate-251v4ac3.js → instruction-discovery-t73vrz80.js} +26 -26
- package/dist/chunks/{generate-v5ahc3ch.js → instruction-discovery-tb5zevkv.js} +15 -15
- package/dist/chunks/{generate-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-zcxysqg2.js → instruction-discovery-trddy46m.js} +10 -10
- package/dist/chunks/{generate-k0n1bgzs.js → instruction-discovery-tt9rt96j.js} +13 -13
- package/dist/chunks/{generate-twssxy5n.js → instruction-discovery-twssxy5n.js} +2 -2
- package/dist/chunks/{generate-4tqs0jzk.js → instruction-discovery-tx91wa5k.js} +4 -4
- package/dist/chunks/{generate-4x344z2c.js → instruction-discovery-tyxs0a4x.js} +2 -2
- package/dist/chunks/{generate-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
- package/dist/chunks/{generate-5p98y19k.js → instruction-discovery-v2wa3hm1.js} +88 -88
- package/dist/chunks/{generate-g7e5n1s9.js → instruction-discovery-v3bc0gzs.js} +23 -23
- package/dist/chunks/{generate-mr14th8x.js → instruction-discovery-v4wde3zy.js} +14 -14
- package/dist/chunks/{generate-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-afb5aatv.js → instruction-discovery-vmzmvncy.js} +6 -6
- package/dist/chunks/{generate-3p1ghjfc.js → instruction-discovery-vssebgbw.js} +3 -3
- package/dist/chunks/{generate-9t0hde1r.js → instruction-discovery-vtnateyr.js} +3 -3
- package/dist/chunks/{generate-d5drkmka.js → instruction-discovery-w040xt49.js} +16 -16
- package/dist/chunks/{generate-j9krqxqk.js → instruction-discovery-w0kz34dd.js} +11 -11
- package/dist/chunks/{generate-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-zxxmr6sq.js → instruction-discovery-wbst3c7q.js} +5 -5
- package/dist/chunks/{generate-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{generate-8g8pwsx1.js → instruction-discovery-wfrhkzrr.js} +15 -15
- package/dist/chunks/{generate-0j37w4ym.js → instruction-discovery-wmcrta7z.js} +1 -1
- package/dist/chunks/{generate-wnhgecwx.js → instruction-discovery-wnhgecwx.js} +1 -1
- package/dist/chunks/{generate-xjrcb2hz.js → instruction-discovery-wr0pphdg.js} +4 -4
- package/dist/chunks/{generate-wr3re1en.js → instruction-discovery-wr3re1en.js} +1 -1
- package/dist/chunks/{generate-kwvnq2ts.js → instruction-discovery-wsedqd4z.js} +18 -18
- package/dist/chunks/{generate-4gry5n0p.js → instruction-discovery-wth30mf5.js} +8 -8
- package/dist/chunks/{generate-z72vmst9.js → instruction-discovery-xd0qykp3.js} +18 -18
- package/dist/chunks/{generate-bstexjd6.js → instruction-discovery-xd9cc171.js} +5 -5
- package/dist/chunks/{generate-br8sx1gf.js → instruction-discovery-xt05dbmf.js} +27 -27
- package/dist/chunks/{generate-cnf0gdnp.js → instruction-discovery-xzxxp67t.js} +48 -48
- package/dist/chunks/{generate-dcqept39.js → instruction-discovery-y26daf22.js} +51 -51
- package/dist/chunks/{generate-67scqdth.js → instruction-discovery-y91k91d6.js} +14 -14
- package/dist/chunks/{generate-akqe8dt6.js → instruction-discovery-y94tr38g.js} +16 -16
- package/dist/chunks/{generate-yara3q77.js → instruction-discovery-yara3q77.js} +2 -2
- package/dist/chunks/{generate-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-w8gkdedy.js → instruction-discovery-yf10knd4.js} +11 -11
- package/dist/chunks/{generate-bbba65ws.js → instruction-discovery-yhcj1t3x.js} +24 -24
- package/dist/chunks/{generate-m3vm7evr.js → instruction-discovery-yjeyjw9f.js} +28 -28
- package/dist/chunks/{generate-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z38nccrw.js → instruction-discovery-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-zcvy3frr.js → instruction-discovery-z4xn0qmv.js} +14 -14
- package/dist/chunks/{generate-c3e7yfrv.js → instruction-discovery-z6vs1tpd.js} +11 -11
- package/dist/chunks/{generate-zgkm4kzm.js → instruction-discovery-zgkm4kzm.js} +3 -3
- package/dist/chunks/{generate-pzgm482x.js → instruction-discovery-zhnqdeny.js} +48 -48
- package/dist/chunks/{generate-mqwrzhmg.js → instruction-discovery-zn56k3bg.js} +16 -16
- package/dist/chunks/{generate-1gpknkjr.js → instruction-discovery-zvtb8gc6.js} +1 -1
- package/dist/chunks/{generate-61ennm6n.js → instruction-discovery-zzdv5d93.js} +4 -4
- 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 +91 -91
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- 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 +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- 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 +373 -373
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- 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 +370 -370
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +166 -166
- 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 +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- 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 +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- 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 +343 -343
- 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 +121 -121
- 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/cohere.js +2 -2
- 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/factory.js +1 -1
- 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 +128 -128
- 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-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- 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/vercel.js +98 -98
- 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 +178 -178
- 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 +362 -362
- 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 +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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- 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 +162 -162
- 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 +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- 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 +155 -155
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +79 -79
- 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 +215 -215
- 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 +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +97 -97
- 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 +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +154 -154
- 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 +157 -157
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/todo.js +139 -139
- 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 +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +5 -5
- 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 +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- 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/generate-47mgcevd.js +0 -18
- package/dist/chunks/generate-cwbxe8yb.js +0 -517
- package/dist/chunks/generate-f8t92yxe.js +0 -26
- package/dist/chunks/generate-q331f19b.js +0 -257
- /package/dist/chunks/{generate-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1jakw16s.js → instruction-discovery-1jakw16s.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4m86bj6y.js → instruction-discovery-4m86bj6y.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5w3e23ze.js → instruction-discovery-5w3e23ze.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → instruction-discovery-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-beh6qq61.js → instruction-discovery-beh6qq61.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cqv5kn06.js → instruction-discovery-cqv5kn06.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fkpq3x5p.js → instruction-discovery-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jwr30sdr.js → instruction-discovery-jwr30sdr.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-ncqqe42p.js → instruction-discovery-ncqqe42p.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-p71gwv9c.js → instruction-discovery-p71gwv9c.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./instruction-discovery-y26daf22.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-7pstyfmd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin37
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin37 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service22;
|
|
29
|
+
const permission = yield* Service64;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin10 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin37, exports_mcp_resource };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
9
|
Service55
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-pbm40fwr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin46,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin46 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const skills = yield* Service55;
|
|
51
|
-
const permission = yield*
|
|
51
|
+
const permission = yield* Service64;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin4 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description3, toModelOutput2, Plugin46, exports_skill3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-1eeyyfsn.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-11hfp36g.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node76
|
|
18
|
+
} from "./instruction-discovery-32hbtqx1.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID11,
|
|
31
|
+
Info: () => Info21,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service72,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node75
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID11 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID11,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info22 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID11,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service72 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service72,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node76]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info21({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service72.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID11.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node75 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID11, Info21, NotFound2, CreateConflict2, Service72, configured9, node75, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./instruction-discovery-9fwsy5x7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-mdgn3m5p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./instruction-discovery-qzmmayfr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./instruction-discovery-nvbva47a.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-fk6vzymk.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service67;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service63);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service78);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./instruction-discovery-jhpqsnsy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service82;
|
|
57
|
+
const permission = yield* Service64;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name15, description6,
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-1jakw16s.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-jfaecv01.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./instruction-discovery-qzmmayfr.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./instruction-discovery-nvbva47a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./instruction-discovery-b1tz3sp7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service62,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-a9cen3eq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service85,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-3k4eq6ay.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service30
|
|
37
|
+
} from "./instruction-discovery-kgk2rv7w.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service16
|
|
40
|
+
} from "./instruction-discovery-v2wa3hm1.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./instruction-discovery-af79ean3.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin40,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name5
|
|
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 name5 = "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 Input5 = 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 Plugin40 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service16;
|
|
124
|
+
const jobs = yield* Service42;
|
|
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* Service63;
|
|
127
|
+
const access = yield* Service62;
|
|
128
|
+
const shell = yield* Service30;
|
|
129
|
+
const shellSelect = yield* Service85;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service64;
|
|
132
|
+
const config = yield* Service67;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin3 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin3 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name5,
|
|
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 Plugin3 = {
|
|
|
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: name5,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input5,
|
|
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 Plugin3 = {
|
|
|
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 NotFoundError3({ 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: name5,
|
|
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[name5];
|
|
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 { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin40, exports_shell2 };
|