@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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-rra832zv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-204s3925.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./instruction-discovery-9fwsy5x7.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instruction-discovery-e4dhw3gc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,28 +30,28 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node77,
|
|
46
|
+
parse: () => parse4,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
54
|
+
var ID12 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info22 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service74;
|
|
78
78
|
const bus = yield* Service86;
|
|
79
|
-
const location = yield*
|
|
79
|
+
const location = yield* Service78;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create3({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service73.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node90, node82] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse4(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
277
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
-
modelID:
|
|
278
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service73, node77, supportsText2, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./instruction-discovery-qzmmayfr.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin27
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin27 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service67;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin23 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin27, exports_websearch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make23,
|
|
22
22
|
read: () => read4,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make23(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make23, combine2, read4, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./instruction-discovery-qzmmayfr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./instruction-discovery-5jbhsptk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin22
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin22 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const output = yield* Service35;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin21 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin22, exports_tool_output };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-rra832zv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node26
|
|
8
|
+
} from "./instruction-discovery-y26daf22.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service64,
|
|
14
|
+
node67
|
|
15
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service49,
|
|
18
|
+
node51
|
|
19
|
+
} from "./instruction-discovery-42cx4vra.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service35,
|
|
22
|
+
node38
|
|
23
|
+
} from "./instruction-discovery-5jbhsptk.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-7pstyfmd.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
35
|
+
Service: () => Service20,
|
|
36
|
+
layer: () => layer10,
|
|
37
37
|
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node24
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
48
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service20 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service22;
|
|
54
|
+
const tools = yield* Service49;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service64;
|
|
57
|
+
const toolOutput = yield* Service35;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,7 +124,7 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service20.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node24 = makeLocationNode({
|
|
148
|
+
service: Service20,
|
|
149
|
+
layer: layer10,
|
|
150
|
+
deps: [node51, node26, node90, node67, node38]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2, name14,
|
|
153
|
+
export { namespace2, name14, Service20, layer10, node24, exports_mcp3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-8n9x2wf6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./instruction-discovery-nvbva47a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-ka7t1p06.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service43
|
|
11
|
+
} from "./instruction-discovery-5nabnb12.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./instruction-discovery-ny8111qj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./instruction-discovery-a9cen3eq.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin38,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin38 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service62;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service43;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent3, Plugin38, exports_write };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./instruction-discovery-9fwsy5x7.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make23,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-n01qhj0y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service26,
|
|
19
|
+
node: () => node29
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service78;
|
|
29
|
+
return Service26.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make23({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make23({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service26, node29, exports_builtins };
|