@opencode/core 0.0.0-dev-1289 → 0.0.0-dev-1290
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +248 -248
- package/dist/bus.js +84 -84
- package/dist/chunks/{skill-wqqxb4v6.js → shell-02jtd6tm.js} +41 -41
- package/dist/chunks/{skill-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{skill-qps79ava.js → shell-036h8fdp.js} +59 -59
- package/dist/chunks/{skill-q6wt2jfg.js → shell-041v5tdm.js} +19 -19
- package/dist/chunks/{skill-2ak45mg4.js → shell-07bwg3ag.js} +26 -26
- package/dist/chunks/{skill-0ahs07zn.js → shell-0ahs07zn.js} +1 -1
- package/dist/chunks/{skill-fsdb1zbj.js → shell-0nhh32tw.js} +39 -39
- package/dist/chunks/{skill-7v7any5x.js → shell-0x1mgtk1.js} +5 -5
- package/dist/chunks/{skill-qe287z11.js → shell-10gr9x6r.js} +7 -7
- package/dist/chunks/{skill-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{skill-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-fngenedm.js → shell-1ht684zy.js} +10 -10
- package/dist/chunks/{skill-agvaa458.js → shell-1kc3dxqe.js} +16 -16
- package/dist/chunks/{skill-ymtpamqc.js → shell-1kjevvsj.js} +29 -29
- package/dist/chunks/{skill-hm2py80f.js → shell-1kydnfe0.js} +17 -17
- package/dist/chunks/{skill-be5dwegh.js → shell-1sktch6z.js} +4 -4
- package/dist/chunks/{skill-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-1yped5qa.js → shell-1yped5qa.js} +1 -1
- package/dist/chunks/{skill-8fqxwxn3.js → shell-1z8rd4y7.js} +82 -82
- package/dist/chunks/{skill-c2wf8p69.js → shell-1zwszevj.js} +12 -12
- package/dist/chunks/{skill-5vjp84j8.js → shell-272251ye.js} +35 -35
- package/dist/chunks/{skill-nc9nvr4s.js → shell-2752nbda.js} +20 -20
- package/dist/chunks/{skill-fvvxvqrp.js → shell-2axadjqp.js} +29 -29
- package/dist/chunks/{skill-tfvg6qv8.js → shell-2bjcmpmd.js} +27 -27
- package/dist/chunks/{skill-hretfjjx.js → shell-2c6sxtb9.js} +2 -2
- package/dist/chunks/{skill-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
- package/dist/chunks/{skill-yexs5h3k.js → shell-2hd8jcxt.js} +7 -7
- package/dist/chunks/{skill-jq10t2yk.js → shell-2hgs491h.js} +12 -12
- package/dist/chunks/{skill-r2c71qh7.js → shell-2j1p6fst.js} +25 -25
- package/dist/chunks/{skill-2prt43t7.js → shell-2prt43t7.js} +1 -1
- package/dist/chunks/{skill-hfefzga6.js → shell-2rr4ndnk.js} +21 -21
- package/dist/chunks/{skill-31xqt7sv.js → shell-2vy30qsk.js} +9 -9
- package/dist/chunks/{skill-7qt0z06e.js → shell-2x1v243r.js} +3 -3
- package/dist/chunks/shell-2xwbf6wj.js +273 -0
- package/dist/chunks/{skill-3c0dxjfp.js → shell-30rhazf7.js} +19 -19
- package/dist/chunks/{skill-cy1b0p56.js → shell-372fjf10.js} +16 -16
- package/dist/chunks/{skill-3adw4bt5.js → shell-3adw4bt5.js} +2 -2
- package/dist/chunks/{skill-nv2c5e9q.js → shell-3beq3wdw.js} +3 -3
- package/dist/chunks/{skill-6rppfpp9.js → shell-3d2mm3vx.js} +6 -6
- package/dist/chunks/{skill-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-7edbn8tw.js → shell-3k3qn6df.js} +33 -33
- package/dist/chunks/{skill-pd7731ad.js → shell-3n05fcw1.js} +21 -21
- package/dist/chunks/{skill-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{skill-r17fbvme.js → shell-3qgwywyc.js} +4 -4
- package/dist/chunks/{skill-3jr5rejc.js → shell-3wtd29rm.js} +18 -18
- package/dist/chunks/{skill-an8ygpdc.js → shell-3wy9pjwk.js} +16 -16
- package/dist/chunks/{skill-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{skill-d4y36rsf.js → shell-40z5th0b.js} +41 -41
- package/dist/chunks/{skill-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{skill-dn30q06y.js → shell-49qe5vn3.js} +9 -9
- package/dist/chunks/{skill-yqw7crqm.js → shell-4c2herfy.js} +19 -19
- package/dist/chunks/{skill-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{skill-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
- package/dist/chunks/{skill-5ns414kb.js → shell-4gmbvmjy.js} +4 -4
- package/dist/chunks/{skill-q9xvkj9c.js → shell-4k15ewm4.js} +56 -56
- package/dist/chunks/{skill-qqt05yh5.js → shell-4mc83bbn.js} +11 -11
- package/dist/chunks/{skill-vk3m6b26.js → shell-4pfgtjx9.js} +39 -39
- package/dist/chunks/{skill-tgekmjc5.js → shell-4tqh0wa0.js} +18 -18
- package/dist/chunks/{skill-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-9rg25ym8.js → shell-5580khtc.js} +5 -5
- package/dist/chunks/{skill-j10zz1gx.js → shell-581gww9a.js} +23 -23
- package/dist/chunks/{skill-ygt3ykv7.js → shell-5a8bvt48.js} +18 -18
- package/dist/chunks/{skill-nckms97z.js → shell-5ajstdpj.js} +3 -3
- package/dist/chunks/{skill-4tz7xwxy.js → shell-5ap0fmqs.js} +44 -44
- package/dist/chunks/{skill-p61qhw8k.js → shell-5fhygy7x.js} +8 -8
- package/dist/chunks/{skill-08bsz23m.js → shell-5fvnbb7g.js} +21 -21
- package/dist/chunks/{skill-zrgq9bxr.js → shell-5g3sqtzq.js} +13 -13
- package/dist/chunks/{skill-ek8dn5z5.js → shell-5hk26ct8.js} +4 -4
- package/dist/chunks/{skill-f7hvrhxd.js → shell-5k30pa83.js} +8 -8
- package/dist/chunks/{skill-ggysf3xd.js → shell-5kjh3fp2.js} +8 -8
- package/dist/chunks/{skill-wwsaayej.js → shell-5kx0tcwv.js} +11 -11
- package/dist/chunks/{skill-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-m8gcf2xa.js → shell-5pe9a1ah.js} +372 -372
- package/dist/chunks/{skill-835yhg2j.js → shell-5rwvcsk1.js} +20 -20
- package/dist/chunks/{skill-s47rahr7.js → shell-5whx36p1.js} +4 -4
- package/dist/chunks/{skill-87kxp3gn.js → shell-5yydhn6j.js} +11 -11
- package/dist/chunks/{skill-xtyr0vxr.js → shell-64qpjjtt.js} +4 -4
- package/dist/chunks/{skill-dvqmnp87.js → shell-68awjq2g.js} +4 -4
- package/dist/chunks/{skill-nmff4vdb.js → shell-6ajzzf30.js} +15 -15
- package/dist/chunks/{skill-gz501xkt.js → shell-6n1a95p2.js} +21 -21
- package/dist/chunks/{skill-ftxxn22b.js → shell-6x377egw.js} +12 -12
- package/dist/chunks/{skill-btahyfxn.js → shell-70fr565a.js} +18 -18
- package/dist/chunks/{skill-34ba9yd5.js → shell-71sysy2y.js} +9 -9
- package/dist/chunks/{skill-v5mpdfnz.js → shell-757br8qe.js} +3 -3
- package/dist/chunks/{skill-28qvn9pn.js → shell-764k30td.js} +16 -16
- package/dist/chunks/{skill-4ysjccq4.js → shell-79f993sj.js} +190 -190
- package/dist/chunks/{skill-29a9ydt5.js → shell-7b24kfpk.js} +6 -6
- package/dist/chunks/{skill-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-05yr16e8.js → shell-7kr13cwj.js} +30 -30
- package/dist/chunks/{skill-a8janbyh.js → shell-7m6fmr2n.js} +18 -18
- package/dist/chunks/{skill-8t9j0vbh.js → shell-7rg6wp20.js} +34 -34
- package/dist/chunks/{skill-5wyy7px7.js → shell-7rwwc7c6.js} +29 -29
- package/dist/chunks/{skill-9ftwcsef.js → shell-7s8ymmn3.js} +3 -3
- package/dist/chunks/{skill-e73pe703.js → shell-7tgrc4pb.js} +3 -3
- package/dist/chunks/{skill-7tx5zndv.js → shell-7tx5zndv.js} +2 -2
- package/dist/chunks/{skill-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{skill-cac5zsrz.js → shell-7wm1zxcp.js} +10 -10
- package/dist/chunks/{skill-775hqbnd.js → shell-80mg3ag8.js} +3 -3
- package/dist/chunks/{skill-80pdk984.js → shell-80pdk984.js} +1 -1
- package/dist/chunks/{skill-fshvyy3a.js → shell-80x6bn8s.js} +16 -16
- package/dist/chunks/{skill-85jq8dht.js → shell-85jq8dht.js} +1 -1
- package/dist/chunks/{skill-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{skill-73ff1310.js → shell-8bcc8xgx.js} +3 -3
- package/dist/chunks/{skill-knq5zpdc.js → shell-8bzbvxx5.js} +8 -8
- package/dist/chunks/{skill-8kjyvwy5.js → shell-8kjyvwy5.js} +1 -1
- package/dist/chunks/{skill-azm68axa.js → shell-8ks4m3f8.js} +13 -13
- package/dist/chunks/{skill-6t4etqyq.js → shell-8rdgdyq1.js} +13 -13
- package/dist/chunks/{skill-4kyzazf2.js → shell-8rkwdy0x.js} +35 -35
- package/dist/chunks/{skill-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
- package/dist/chunks/{skill-akkwce2p.js → shell-8tqnf2bj.js} +35 -35
- package/dist/chunks/{skill-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/shell-8x060fmy.js +18 -0
- package/dist/chunks/{skill-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
- package/dist/chunks/{skill-6ham7n9z.js → shell-937z30ry.js} +1 -1
- package/dist/chunks/shell-954nhh0r.js +35 -0
- package/dist/chunks/{skill-4akzktj1.js → shell-9ajdwvay.js} +6 -6
- package/dist/chunks/{skill-8j0yh7pe.js → shell-9d8ym846.js} +15 -15
- package/dist/chunks/{skill-3cn35h12.js → shell-9ggbr50n.js} +8 -8
- package/dist/chunks/{skill-hf0tdtbj.js → shell-9gj0vyre.js} +8 -8
- package/dist/chunks/{skill-mpd68p8f.js → shell-9jv0p77m.js} +20 -20
- package/dist/chunks/{skill-e5653pfs.js → shell-9k2g0ym6.js} +8 -8
- package/dist/chunks/{skill-r46m9nfb.js → shell-9mg7wdw4.js} +7 -7
- package/dist/chunks/{skill-dkbn087s.js → shell-9pgwy7mp.js} +3 -3
- package/dist/chunks/{skill-7f85nwz0.js → shell-9pj7rt5g.js} +8 -8
- package/dist/chunks/{skill-8y07vnq7.js → shell-9qsncqnw.js} +5 -5
- package/dist/chunks/{skill-0hcfp01c.js → shell-9ssz4sbn.js} +19 -19
- package/dist/chunks/{skill-qqqy4pp5.js → shell-a0v1tzpz.js} +61 -61
- package/dist/chunks/{skill-xeda3fwf.js → shell-a7tnx6tz.js} +6 -6
- package/dist/chunks/{skill-aeh58v89.js → shell-afmrm9jp.js} +22 -22
- package/dist/chunks/{skill-agje4kmn.js → shell-agje4kmn.js} +1 -1
- package/dist/chunks/{skill-vq2xywmt.js → shell-amf76w9b.js} +4 -4
- package/dist/chunks/{skill-awms6726.js → shell-an3v1ppn.js} +8 -8
- package/dist/chunks/{skill-yjweffhj.js → shell-aw3y0msm.js} +17 -17
- package/dist/chunks/{skill-p8hfdmeg.js → shell-aw40mjd5.js} +15 -15
- package/dist/chunks/{skill-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-w95rpqs7.js → shell-b5ye62tg.js} +13 -13
- package/dist/chunks/{skill-zbrfe41p.js → shell-b6nv4j0d.js} +44 -44
- package/dist/chunks/{skill-7h0xs0hp.js → shell-bfpzgz6w.js} +5 -5
- package/dist/chunks/{skill-czx08qs3.js → shell-bmve9sd3.js} +9 -9
- package/dist/chunks/{skill-e19by0tj.js → shell-bq43x4h4.js} +32 -32
- package/dist/chunks/{skill-r4yhzkx5.js → shell-bsfkzme1.js} +9 -9
- package/dist/chunks/{skill-de5yb26h.js → shell-bwy1nbck.js} +8 -8
- package/dist/chunks/{skill-a1qwck5h.js → shell-c1sfsxsr.js} +8 -8
- package/dist/chunks/{skill-jbwkk6ab.js → shell-c4amkny1.js} +7 -7
- package/dist/chunks/{skill-vt2d6wap.js → shell-c5zvymhv.js} +4 -4
- package/dist/chunks/{skill-9nkjg9qd.js → shell-cg3fcpn4.js} +6 -6
- package/dist/chunks/{skill-mq4p7hh6.js → shell-cg9h77xb.js} +21 -21
- package/dist/chunks/{skill-yp0zdv5j.js → shell-cj92zmqh.js} +35 -35
- package/dist/chunks/{skill-8hfctyyf.js → shell-ckk44cdz.js} +7 -7
- package/dist/chunks/{skill-gjc357wv.js → shell-cm8m770w.js} +31 -31
- package/dist/chunks/{skill-r3w0e376.js → shell-cnajk3fc.js} +2 -2
- package/dist/chunks/{skill-23vqynnw.js → shell-ct0vk1dd.js} +16 -16
- package/dist/chunks/{skill-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{skill-ynmhxp6r.js → shell-d13dydqg.js} +26 -26
- package/dist/chunks/{skill-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-hg6rfv73.js → shell-daknqgt1.js} +11 -11
- package/dist/chunks/{skill-tp0950fn.js → shell-dhzvbg85.js} +11 -11
- package/dist/chunks/{skill-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{skill-yf5veaxj.js → shell-dz72rk26.js} +12 -12
- package/dist/chunks/{skill-e71bb87j.js → shell-e174pryb.js} +8 -8
- package/dist/chunks/{skill-jegr924z.js → shell-e78r2htc.js} +7 -7
- package/dist/chunks/{skill-za64yvk4.js → shell-e7v33rxr.js} +15 -15
- package/dist/chunks/{skill-rmb0d2he.js → shell-e9gkae3p.js} +5 -5
- package/dist/chunks/{skill-583rqj1m.js → shell-eab5a047.js} +6 -6
- package/dist/chunks/{skill-brjmya0n.js → shell-eadhmztq.js} +12 -12
- package/dist/chunks/{skill-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{skill-vjzgscs0.js → shell-erw1n1n0.js} +10 -10
- package/dist/chunks/{skill-tf9r37f3.js → shell-etrnj9s7.js} +11 -11
- package/dist/chunks/{skill-m0v1nx60.js → shell-exc0wzcc.js} +43 -43
- package/dist/chunks/{skill-v64ytr12.js → shell-f0nrrz8m.js} +18 -18
- package/dist/chunks/{skill-w0ee2s96.js → shell-f2nnq1r4.js} +3 -3
- package/dist/chunks/{skill-m9hanyrx.js → shell-ffbj9x3w.js} +4 -4
- package/dist/chunks/{skill-prq7xxp2.js → shell-fg9p65nk.js} +6 -6
- package/dist/chunks/{skill-bne54h0r.js → shell-fjzamaa5.js} +9 -9
- package/dist/chunks/{skill-fnrhryqq.js → shell-fnrhryqq.js} +1 -1
- package/dist/chunks/{skill-y4rcg1v2.js → shell-fqndkgn5.js} +28 -28
- package/dist/chunks/{skill-x3f35jkj.js → shell-ft0tgf2k.js} +54 -53
- package/dist/chunks/{skill-tq2659cf.js → shell-fvbnqws7.js} +10 -10
- package/dist/chunks/{skill-je1tg5nn.js → shell-fxzjpcmt.js} +31 -31
- package/dist/chunks/{skill-1hvbzqf7.js → shell-g3rhqpf5.js} +7 -7
- package/dist/chunks/{skill-tp1jb13k.js → shell-g4txs7zc.js} +7 -7
- package/dist/chunks/{skill-sf9y72b7.js → shell-g5ajqn12.js} +4 -4
- package/dist/chunks/{skill-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{skill-09p6mc78.js → shell-geh962y4.js} +17 -17
- package/dist/chunks/{skill-me1931mg.js → shell-ghfv61hj.js} +88 -88
- package/dist/chunks/{skill-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{skill-ba5f9dy2.js → shell-gmemj5zs.js} +4 -4
- package/dist/chunks/{skill-85af6g8v.js → shell-gncv9nvm.js} +35 -35
- package/dist/chunks/{skill-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{skill-aq35kh2d.js → shell-h2n6s98n.js} +15 -15
- package/dist/chunks/{skill-55zmf6ag.js → shell-h4wgpeav.js} +12 -12
- package/dist/chunks/{skill-ge7emkab.js → shell-hb1x6x0z.js} +12 -12
- package/dist/chunks/{skill-tsma5p3r.js → shell-hd06affw.js} +12 -12
- package/dist/chunks/{skill-2gtjxgkn.js → shell-hfzkpyfn.js} +19 -19
- package/dist/chunks/{skill-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
- package/dist/chunks/{skill-yepd7x5v.js → shell-hj0xet7m.js} +5 -5
- package/dist/chunks/{skill-a4da54ev.js → shell-hrahdv8w.js} +21 -21
- package/dist/chunks/{skill-vytp7mpm.js → shell-hv5xef7n.js} +8 -8
- package/dist/chunks/{skill-160yv0cs.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{skill-hyx6bsx1.js → shell-hztb2r9y.js} +15 -15
- package/dist/chunks/{skill-wq2ewmay.js → shell-j213mr59.js} +11 -11
- package/dist/chunks/{skill-jht64jd1.js → shell-j376ae4e.js} +7 -7
- package/dist/chunks/{skill-s12vsefe.js → shell-j8vxazm1.js} +6 -6
- package/dist/chunks/{skill-jm70asfg.js → shell-jm70asfg.js} +1 -1
- package/dist/chunks/{skill-ex1vgm7n.js → shell-jx447tda.js} +11 -11
- package/dist/chunks/{skill-twhtcdx9.js → shell-jxd6f16v.js} +4 -4
- package/dist/chunks/{skill-zwy29mpq.js → shell-k5pg2vff.js} +5 -5
- package/dist/chunks/{skill-e70s1wcj.js → shell-k6vxp0a4.js} +12 -12
- package/dist/chunks/{skill-81hek7th.js → shell-k7789h1b.js} +15 -15
- package/dist/chunks/{skill-b3q1hvtg.js → shell-k7zh4qxb.js} +28 -28
- package/dist/chunks/{skill-hgfjmfwb.js → shell-k8e4adbp.js} +16 -16
- package/dist/chunks/{skill-g9cxvqjb.js → shell-kagsm6zy.js} +16 -16
- package/dist/chunks/{skill-7m5e46d0.js → shell-kasxvdxm.js} +4 -4
- package/dist/chunks/{skill-02ya0pww.js → shell-kaxn7z09.js} +4 -4
- package/dist/chunks/{skill-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{skill-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{skill-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{skill-sqfxeqqz.js → shell-m2h1jkgr.js} +19 -19
- package/dist/chunks/{skill-m4p4r8nc.js → shell-m4p4r8nc.js} +1 -1
- package/dist/chunks/{skill-m90tx7mw.js → shell-m90tx7mw.js} +1 -1
- package/dist/chunks/{skill-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{skill-1wemxep9.js → shell-mw9xdda0.js} +36 -36
- package/dist/chunks/{skill-7g6gbmjs.js → shell-mwnxvxbk.js} +14 -5
- package/dist/chunks/{skill-brzabmq1.js → shell-mx1gj7nh.js} +13 -13
- package/dist/chunks/{skill-bdv8sqrq.js → shell-mym403hh.js} +1 -1
- package/dist/chunks/{skill-0dxcp800.js → shell-n5bh3gbw.js} +5 -5
- package/dist/chunks/{skill-jqavjjfa.js → shell-n6b4qgy2.js} +29 -29
- package/dist/chunks/{skill-amnfdvvn.js → shell-n9tts9fd.js} +32 -32
- package/dist/chunks/{skill-0aayx17d.js → shell-nggd68pp.js} +42 -42
- package/dist/chunks/{skill-tqfrgt2r.js → shell-nhdzyn4z.js} +7 -7
- package/dist/chunks/{skill-f8jh51n5.js → shell-nnnm13xp.js} +15 -15
- package/dist/chunks/{skill-y282amyv.js → shell-nt0p6bwp.js} +11 -11
- package/dist/chunks/{skill-s685wf85.js → shell-ntdvbcs0.js} +8 -8
- package/dist/chunks/{skill-ysz78v0j.js → shell-p0b45h9y.js} +36 -36
- package/dist/chunks/{skill-v91vrv4c.js → shell-p59sgmrh.js} +23 -23
- package/dist/chunks/{skill-5zrxpy3q.js → shell-p7vhpwh8.js} +5 -5
- package/dist/chunks/{skill-yn6596c6.js → shell-pb50psz6.js} +16 -16
- package/dist/chunks/{skill-dn7vvezt.js → shell-pearrrbc.js} +26 -26
- package/dist/chunks/{skill-rvj3hvfb.js → shell-pjdtbhha.js} +36 -36
- package/dist/chunks/{skill-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{skill-yb1yhpzz.js → shell-pmvcj5s4.js} +23 -23
- package/dist/chunks/{skill-xw4tt3tz.js → shell-pq0bpjxc.js} +25 -25
- package/dist/chunks/{skill-6bfdh9pc.js → shell-pq303be6.js} +32 -32
- package/dist/chunks/{skill-efzcx815.js → shell-ptvgvc4z.js} +2 -2
- package/dist/chunks/{skill-d2c0n8v1.js → shell-pvzkbksm.js} +5 -5
- package/dist/chunks/{skill-hdv5g955.js → shell-q4patx0z.js} +23 -23
- package/dist/chunks/{skill-530hs2vb.js → shell-qazjmsnp.js} +34 -34
- package/dist/chunks/{skill-3g1z23tk.js → shell-qhrxe0vb.js} +18 -18
- package/dist/chunks/{skill-6f9dv887.js → shell-qmrpjht5.js} +9 -9
- package/dist/chunks/{skill-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{skill-70mjyt55.js → shell-qpr57af0.js} +25 -25
- package/dist/chunks/{skill-2n72a457.js → shell-qq7aj88b.js} +31 -31
- package/dist/chunks/{skill-16rc6ajx.js → shell-qva942db.js} +40 -40
- package/dist/chunks/{skill-rj5kxn5x.js → shell-r81r4p67.js} +25 -25
- package/dist/chunks/{skill-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{skill-94e33dpz.js → shell-rj7jtxy8.js} +3 -3
- package/dist/chunks/{skill-2pvj0daj.js → shell-rkq0saay.js} +20 -20
- package/dist/chunks/{skill-z4xz3wht.js → shell-rq907yb1.js} +5 -5
- package/dist/chunks/{skill-qtspk4m2.js → shell-rteg8arh.js} +32 -32
- package/dist/chunks/{skill-kr3b8h6a.js → shell-rz0bdam7.js} +24 -24
- package/dist/chunks/{skill-ad21tgm2.js → shell-s1ba0vj0.js} +4 -4
- package/dist/chunks/{skill-4gbxgzcf.js → shell-s2kx8gr8.js} +11 -11
- package/dist/chunks/{skill-vxt7wgpd.js → shell-s5n6q5ds.js} +5 -5
- package/dist/chunks/{skill-v8srm5qp.js → shell-s9zs2xcc.js} +22 -22
- package/dist/chunks/{skill-4t6cjxmd.js → shell-sa5ymv28.js} +5 -5
- package/dist/chunks/{skill-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{skill-jmv33hj0.js → shell-sh2rytp3.js} +41 -41
- package/dist/chunks/{skill-gjnyez1s.js → shell-sj9zktea.js} +3 -3
- package/dist/chunks/{skill-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{skill-6bh0kand.js → shell-t08bqacs.js} +9 -9
- package/dist/chunks/{skill-h6k4j8gr.js → shell-t1yc66r4.js} +12 -12
- package/dist/chunks/{skill-xxschbft.js → shell-t54kw4zq.js} +7 -7
- package/dist/chunks/{skill-g3cqzqfs.js → shell-t6r3642g.js} +3 -3
- package/dist/chunks/{skill-78p2h4ex.js → shell-t8erkws8.js} +5 -5
- package/dist/chunks/{skill-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
- package/dist/chunks/{skill-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-6fc6gbqb.js → shell-tfphg607.js} +16 -16
- package/dist/chunks/{skill-37xrvzda.js → shell-thvcez77.js} +16 -16
- package/dist/chunks/{skill-e6eza9pa.js → shell-tj2sjr5c.js} +11 -11
- package/dist/chunks/{skill-3mqsw1x6.js → shell-tsrkkeqa.js} +24 -24
- package/dist/chunks/{skill-ha27dm6a.js → shell-tt5wt9yz.js} +23 -23
- package/dist/chunks/{skill-ttz31trp.js → shell-ttz31trp.js} +2 -2
- package/dist/chunks/{skill-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
- package/dist/chunks/{skill-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{skill-3ex1ss0s.js → shell-tz8eqr11.js} +9 -9
- package/dist/chunks/{skill-wjj5qqhg.js → shell-v04yavvf.js} +32 -32
- package/dist/chunks/{skill-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-ek2c450p.js → shell-v39gqq5m.js} +7 -7
- package/dist/chunks/{skill-wvj9vwam.js → shell-v4v9657q.js} +5 -5
- package/dist/chunks/{skill-34ddrjeh.js → shell-v6wbag8k.js} +22 -22
- package/dist/chunks/{skill-z4jgq3cs.js → shell-va9hr0w3.js} +66 -66
- package/dist/chunks/{skill-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{skill-s26c8eb5.js → shell-vmxsyvj6.js} +4 -4
- package/dist/chunks/{skill-41zfhcvv.js → shell-vmyr72m2.js} +24 -24
- package/dist/chunks/{skill-vq0qa3sh.js → shell-vq0qa3sh.js} +2 -2
- package/dist/chunks/{skill-vcgw1cs3.js → shell-vsgxp1k0.js} +23 -23
- package/dist/chunks/{skill-x2zvk9pn.js → shell-vvztb4kx.js} +6 -6
- package/dist/chunks/{skill-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-zg2162m8.js → shell-w4g7at0m.js} +22 -22
- package/dist/chunks/{skill-w4xw9ac5.js → shell-w4xw9ac5.js} +2 -2
- package/dist/chunks/{skill-f80thpwy.js → shell-w75qynz4.js} +6 -6
- package/dist/chunks/{skill-yqveydy6.js → shell-w76xjer3.js} +4 -4
- package/dist/chunks/{skill-w35wzz9x.js → shell-w79nt68w.js} +4 -4
- package/dist/chunks/{skill-tnh26vfm.js → shell-w8s7kw9w.js} +4 -4
- package/dist/chunks/{skill-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{skill-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{skill-kxpf5d23.js → shell-why81pqx.js} +17 -17
- package/dist/chunks/{skill-gck0w74f.js → shell-wmqsmj2z.js} +14 -14
- package/dist/chunks/{skill-qycm87ym.js → shell-wrr9v7mg.js} +5 -5
- package/dist/chunks/{skill-0p8shtje.js → shell-wrym42g3.js} +28 -28
- package/dist/chunks/{skill-japaj4n9.js → shell-wz6tsw30.js} +11 -11
- package/dist/chunks/{skill-vmqe41cb.js → shell-wzfa06mn.js} +4 -4
- package/dist/chunks/{skill-xkb4z5m5.js → shell-x3fp8cfn.js} +4 -4
- package/dist/chunks/{skill-qxnwwp4f.js → shell-xb8t2nmd.js} +46 -46
- package/dist/chunks/{skill-bstexjd6.js → shell-xd9cc171.js} +5 -5
- package/dist/chunks/{skill-p8rnc9ff.js → shell-xdjtm0yc.js} +11 -11
- package/dist/chunks/{skill-963hk181.js → shell-xe6pezxp.js} +7 -7
- package/dist/chunks/{skill-s6m5tnzx.js → shell-xfjjrkn6.js} +18 -18
- package/dist/chunks/{skill-5h0a6q0s.js → shell-xq0rqgfp.js} +40 -40
- package/dist/chunks/{skill-w84yb85h.js → shell-xs87htzy.js} +21 -21
- package/dist/chunks/{skill-n320gsn2.js → shell-xvn8mnch.js} +4 -4
- package/dist/chunks/{skill-00pmfkn2.js → shell-y8xyk16v.js} +5 -5
- package/dist/chunks/{skill-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-xp7vz6kd.js → shell-ybws1qgk.js} +9 -9
- package/dist/chunks/{skill-cdxrxhxa.js → shell-ye88az5n.js} +10 -10
- package/dist/chunks/{skill-0sasm2mj.js → shell-yew5a929.js} +27 -27
- package/dist/chunks/shell-ymjwz6zw.js +26 -0
- package/dist/chunks/{skill-sac6s26t.js → shell-yqa6mfj0.js} +95 -95
- package/dist/chunks/{skill-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{skill-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{skill-brv6mkyx.js → shell-yybgvvmq.js} +4 -4
- package/dist/chunks/{skill-pekznmtf.js → shell-yyz5p1rz.js} +17 -17
- package/dist/chunks/{skill-z0wbgq7s.js → shell-z0wbgq7s.js} +1 -1
- package/dist/chunks/{skill-nmtv1yff.js → shell-z139d152.js} +14 -14
- package/dist/chunks/{skill-tavdr0cm.js → shell-z623dwd7.js} +30 -30
- package/dist/chunks/{skill-j9nxzz3g.js → shell-ze75qvmd.js} +3 -3
- package/dist/chunks/{skill-ms7w2f0p.js → shell-ze7xdjdc.js} +53 -53
- package/dist/chunks/{skill-qq8nxmq8.js → shell-zfnf49qv.js} +5 -5
- package/dist/chunks/{skill-44x3a7d0.js → shell-zgnkmp4d.js} +11 -11
- package/dist/chunks/{skill-j56v13vn.js → shell-zr9ah954.js} +18 -18
- package/dist/chunks/{skill-teycsgxm.js → shell-zs5kbm43.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +132 -132
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.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 +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +3 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +116 -116
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +5 -5
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +113 -113
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +256 -256
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +277 -277
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- 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 +7 -7
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +104 -104
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +167 -167
- package/dist/types/mime.d.ts +1 -0
- package/dist/usage-limits.js +98 -98
- package/dist/util/canonical-json.js +1 -1
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/skill-4fd97kgc.js +0 -35
- package/dist/chunks/skill-na4j4pj3.js +0 -26
- package/dist/chunks/skill-qmh7vbk2.js +0 -18
- package/dist/chunks/skill-v1engfwd.js +0 -273
- /package/dist/chunks/{skill-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{skill-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-7rvsyqjv.js → shell-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9ceax7yg.js → shell-9ceax7yg.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-ade8csyh.js → shell-ade8csyh.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{skill-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{skill-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{skill-v2dnd5dt.js → shell-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{skill-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
- /package/dist/chunks/{skill-zz5vv3aq.js → shell-zz5vv3aq.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./shell-cg9h77xb.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./shell-mw9xdda0.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./shell-ze7xdjdc.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-3beq3wdw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service93
|
|
17
|
+
} from "./shell-6ajzzf30.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./shell-40z5th0b.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./shell-yqa6mfj0.js";
|
|
26
26
|
import {
|
|
27
27
|
Service8
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-aw3y0msm.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/subagent.ts
|
|
34
34
|
var exports_subagent = {};
|
|
35
35
|
__export(exports_subagent, {
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin47,
|
|
39
39
|
SubagentTool: () => exports_subagent,
|
|
40
|
-
description: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
description: () => description5,
|
|
41
|
+
name: () => name8
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
44
44
|
import { Effect, Predicate, Schema } from "effect";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "subagent";
|
|
46
46
|
var backgroundResult = (sessionID) => ({
|
|
47
47
|
sessionID,
|
|
48
48
|
status: "running",
|
|
@@ -54,7 +54,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
54
54
|
].join(`
|
|
55
55
|
`)
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Input8 = Schema.Struct({
|
|
58
58
|
agent: Schema.String.annotate({
|
|
59
59
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
60
60
|
}),
|
|
@@ -67,12 +67,12 @@ var Input3 = Schema.Struct({
|
|
|
67
67
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var
|
|
70
|
+
var Output6 = Schema.Struct({
|
|
71
71
|
sessionID: SessionSchema2.ID,
|
|
72
72
|
status: Schema.Literal("running"),
|
|
73
73
|
output: Schema.String
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var description5 = [
|
|
76
76
|
"Spawns an agent in a child session to work on the specified task.",
|
|
77
77
|
"Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
|
|
78
78
|
"Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll, or proactively check on the child's progress.",
|
|
@@ -80,15 +80,15 @@ var description2 = [
|
|
|
80
80
|
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Plugin47 = {
|
|
84
84
|
id: "opencode.tool.subagent",
|
|
85
85
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
86
|
-
const sessions = yield*
|
|
87
|
-
const jobs = yield*
|
|
88
|
-
const agents = yield*
|
|
89
|
-
const config = yield*
|
|
90
|
-
const permission = yield*
|
|
91
|
-
const models = yield*
|
|
86
|
+
const sessions = yield* Service30;
|
|
87
|
+
const jobs = yield* Service93;
|
|
88
|
+
const agents = yield* Service66;
|
|
89
|
+
const config = yield* Service78;
|
|
90
|
+
const permission = yield* Service63;
|
|
91
|
+
const models = yield* Service82;
|
|
92
92
|
const subagents = yield* Service8;
|
|
93
93
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
94
94
|
const ref = yield* Effect.try({
|
|
@@ -111,11 +111,11 @@ var Plugin20 = {
|
|
|
111
111
|
return ref;
|
|
112
112
|
});
|
|
113
113
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
114
|
-
name:
|
|
114
|
+
name: name8,
|
|
115
115
|
options: { codemode: false },
|
|
116
|
-
description:
|
|
117
|
-
input:
|
|
118
|
-
output:
|
|
116
|
+
description: description5,
|
|
117
|
+
input: Input8,
|
|
118
|
+
output: Output6,
|
|
119
119
|
execute: (input, context) => Effect.gen(function* () {
|
|
120
120
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
121
121
|
let current = parent;
|
|
@@ -135,7 +135,7 @@ var Plugin20 = {
|
|
|
135
135
|
if (agent.mode === "primary")
|
|
136
136
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
137
137
|
yield* permission.assert({
|
|
138
|
-
action:
|
|
138
|
+
action: name8,
|
|
139
139
|
resources: [agent.id],
|
|
140
140
|
save: [agent.id],
|
|
141
141
|
...invocation2(context)
|
|
@@ -185,7 +185,7 @@ var Plugin20 = {
|
|
|
185
185
|
})))
|
|
186
186
|
})).pipe(Effect.orDie);
|
|
187
187
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
188
|
-
if (event.tool !==
|
|
188
|
+
if (event.tool !== name8 || !Predicate.isObject(event.input))
|
|
189
189
|
return;
|
|
190
190
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
191
191
|
return;
|
|
@@ -197,13 +197,13 @@ var Plugin20 = {
|
|
|
197
197
|
event.input = input;
|
|
198
198
|
}));
|
|
199
199
|
const hook = (event) => Effect.gen(function* () {
|
|
200
|
-
const tool = event.tools[
|
|
200
|
+
const tool = event.tools[name8];
|
|
201
201
|
if (!tool)
|
|
202
202
|
return;
|
|
203
203
|
const selected = yield* agents.resolve(event.agent);
|
|
204
204
|
if (!selected)
|
|
205
205
|
return;
|
|
206
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
206
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
207
207
|
if (available.length === 0)
|
|
208
208
|
return;
|
|
209
209
|
tool.description = [
|
|
@@ -220,4 +220,4 @@ var Plugin20 = {
|
|
|
220
220
|
})
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
export {
|
|
223
|
+
export { name8, Input8, Output6, description5, Plugin47, exports_subagent };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-mwnxvxbk.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./shell-40z5th0b.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input6,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin45,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description3,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name6
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
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.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input12 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input6.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin45 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service63;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name6,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description3,
|
|
131
|
+
input: Input6,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin33 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name6,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin33 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name6,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, MAX_REDIRECTS2, Plugin45, extractTextFromHTML2, exports_webfetch };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-3qgwywyc.js";
|
|
4
4
|
import {
|
|
5
5
|
match3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-1aqsckx4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-954nhh0r.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-581gww9a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-2bjcmpmd.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
16
|
submit2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-z0wbgq7s.js";
|
|
18
18
|
import {
|
|
19
19
|
mergeOverlay2,
|
|
20
20
|
mergeHeaders2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-m90tx7mw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
ID16
|
|
24
|
+
} from "./shell-7kr13cwj.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-nhdzyn4z.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-fvbnqws7.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./shell-a7tnx6tz.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/openai.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -58,7 +58,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
58
58
|
}));
|
|
59
59
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
60
60
|
var browser = (app) => ({
|
|
61
|
-
integrationID:
|
|
61
|
+
integrationID: ID17.make("openai"),
|
|
62
62
|
method: {
|
|
63
63
|
id: browserMethodID,
|
|
64
64
|
type: "oauth",
|
|
@@ -132,7 +132,7 @@ function addressInUse(error) {
|
|
|
132
132
|
return "code" in error && error.code === "EADDRINUSE";
|
|
133
133
|
}
|
|
134
134
|
var headless = (app) => ({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID17.make("openai"),
|
|
136
136
|
method: {
|
|
137
137
|
id: headlessMethodID,
|
|
138
138
|
type: "oauth",
|
|
@@ -190,9 +190,9 @@ var OpenAIPlugin2 = define({
|
|
|
190
190
|
editor.method.update(headless(ctx.app));
|
|
191
191
|
});
|
|
192
192
|
yield* load();
|
|
193
|
-
const configured = yield* configuredSettings2(
|
|
193
|
+
const configured = yield* configuredSettings2(ID16.openai);
|
|
194
194
|
yield* ctx.provider.transform((providers) => {
|
|
195
|
-
const item = providers.get(
|
|
195
|
+
const item = providers.get(ID16.openai);
|
|
196
196
|
if (!item)
|
|
197
197
|
return;
|
|
198
198
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -212,7 +212,7 @@ var OpenAIPlugin2 = define({
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
yield* ctx.model.transform((models) => {
|
|
215
|
-
for (const model of models.list(
|
|
215
|
+
for (const model of models.list(ID16.openai)) {
|
|
216
216
|
models.update(model.providerID, model.id, (draft) => {
|
|
217
217
|
if (!chatgpt)
|
|
218
218
|
return;
|
|
@@ -249,12 +249,12 @@ var OpenAIPlugin2 = define({
|
|
|
249
249
|
}));
|
|
250
250
|
evt.headers.originator = "opencode";
|
|
251
251
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID16.openai });
|
|
253
253
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
254
254
|
delete evt.options.maxTokens;
|
|
255
255
|
});
|
|
256
256
|
for (const name of ["context", "compaction"])
|
|
257
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
257
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID16.openai });
|
|
258
258
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
259
259
|
})
|
|
260
260
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2,
|
|
3
3
|
insertBatches2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-jm70asfg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service69,
|
|
7
7
|
enabled3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-qhrxe0vb.js";
|
|
9
9
|
import {
|
|
10
10
|
BlobTable2,
|
|
11
11
|
BlobRefTable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-mb7mbhnz.js";
|
|
13
13
|
import {
|
|
14
14
|
refHash2,
|
|
15
15
|
ref2,
|
|
16
16
|
FileRef2,
|
|
17
17
|
ToolFileRef2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-fg9p65nk.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/blob.ts
|
|
24
24
|
var exports_blob = {};
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service89,
|
|
8
|
+
node91
|
|
9
|
+
} from "./shell-k8e4adbp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node55
|
|
13
|
+
} from "./shell-p59sgmrh.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event11,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError6,
|
|
34
|
+
Service: () => Service52,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node54
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content3 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event11 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service52 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service89;
|
|
102
|
+
const search = yield* Service53;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service52.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError6({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node54 = makeLocationNode({
|
|
163
|
+
service: Service52,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node91, node55]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service52, node54, exports_filesystem, Entry2, Match2, Submatch2 };
|