@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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2
|
|
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/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./instruction-discovery-9fwsy5x7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service34,
|
|
10
|
+
node37
|
|
11
|
+
} from "./instruction-discovery-wsedqd4z.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./instruction-discovery-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
|
+
configured: () => configured3,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service78;
|
|
57
|
+
const ripgrep = yield* Service34;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -71,7 +71,7 @@ var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
71
71
|
cwd: location.directory,
|
|
72
72
|
pattern: "*",
|
|
73
73
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
74
|
-
exclude: home ? [...
|
|
74
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
75
75
|
onEntry: (entry) => Effect.sync(() => {
|
|
76
76
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
77
77
|
const parts = entry.path.split("/");
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service33.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service33, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service78;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service73, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service33.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service73, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service78;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured3(options) {
|
|
211
|
+
return makeLocationNode({ service: Service33, layer: layer(options), deps: [node82, node37] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node36 = configured3();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service33, makeFffLayer2, fffLayer2, configured3, node36, exports_search };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./instruction-discovery-qeee0212.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer16,
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service44 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer16 = Layer.effect(Service44, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service81;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer11 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer11 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service44.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node46 = makeLocationNode({
|
|
87
|
+
service: Service44,
|
|
88
|
+
layer: layer16,
|
|
89
|
+
deps: [node85, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service44, layer16, node46, exports_voice };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-1eeyyfsn.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make23,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-n01qhj0y.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service25 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make23({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service25.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node28 = makeGlobalNode({ service: Service25, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node28, exports_instruction_entry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node38
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service35 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service35.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node38 = makeLocationNode({
|
|
143
|
+
service: Service35,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service35, node38, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./instruction-discovery-9fwsy5x7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-204s3925.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service43,
|
|
17
|
+
node: () => node45
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service43 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service43.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node45 = makeLocationNode({
|
|
91
|
+
service: Service43,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service43, node45, exports_formatter2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node44
|
|
4
|
+
} from "./instruction-discovery-b1tz3sp7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service16,
|
|
7
|
+
node19
|
|
8
|
+
} from "./instruction-discovery-v2wa3hm1.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
@@ -26,8 +26,8 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
26
26
|
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service16;
|
|
30
|
+
const jobs = yield* Service42;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -67,7 +67,7 @@ var make = Effect.gen(function* () {
|
|
|
67
67
|
var node12 = Node.makeGlobalNode({
|
|
68
68
|
service: Service10,
|
|
69
69
|
layer: Layer.effect(Service10, make),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node19, node44]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-1eeyyfsn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./instruction-discovery-0vp9s6f9.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-k62y2wy8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./instruction-discovery-h0ppebc3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-np7r7vht.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-vmzmvncy.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
29
|
Service55
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-pbm40fwr.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service70;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service50;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|