@opencode/core 0.0.0-dev-19593 → 0.0.0-dev-19594
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/agent.js +67 -67
- package/dist/aisdk.js +5 -5
- package/dist/app.js +7 -7
- package/dist/bus.js +57 -57
- package/dist/catalog.js +65 -65
- package/dist/chunks/{mime-gnwbrhke.js → mime-0q847seh.js} +9 -9
- package/dist/chunks/{mime-rk0rec3h.js → mime-0qxam8dj.js} +5 -5
- package/dist/chunks/{mime-c8v5kc65.js → mime-0rh963zz.js} +16 -16
- package/dist/chunks/{mime-60n7bf9e.js → mime-0rn7bd2y.js} +1 -1
- package/dist/chunks/{mime-f14wgmqf.js → mime-133n9d2d.js} +6 -6
- package/dist/chunks/{mime-j1ydts1m.js → mime-13a7a1wx.js} +27 -27
- package/dist/chunks/{mime-522twr50.js → mime-1cbk4m95.js} +14 -14
- package/dist/chunks/{mime-8gz95mnd.js → mime-1eaf0dqh.js} +6 -6
- package/dist/chunks/{mime-rr42dmak.js → mime-1p086jrz.js} +10 -10
- package/dist/chunks/{mime-qwnx8exk.js → mime-1qy9swdm.js} +13 -13
- package/dist/chunks/{mime-5r3v2435.js → mime-1vh2jpye.js} +25 -25
- package/dist/chunks/{mime-sge7677j.js → mime-2cv161v0.js} +20 -20
- package/dist/chunks/{mime-x9yfajt1.js → mime-2fz3ddp8.js} +15 -15
- package/dist/chunks/{mime-9v7b1t0y.js → mime-2ge8dzt3.js} +19 -19
- package/dist/chunks/{mime-3v1f2d9y.js → mime-2gwea9g5.js} +16 -16
- package/dist/chunks/{mime-pkm3pkx5.js → mime-2ht41vc1.js} +8 -8
- package/dist/chunks/{mime-1rr79kmz.js → mime-2nm7ty4g.js} +8 -8
- package/dist/chunks/{mime-h7xbcxh5.js → mime-2p6q1z9q.js} +7 -7
- package/dist/chunks/{mime-ddt2bs9e.js → mime-2vs2nh1n.js} +3 -3
- package/dist/chunks/{mime-7k089n9a.js → mime-2wyn68kt.js} +88 -88
- package/dist/chunks/{mime-zmyxeed4.js → mime-2x58g7fm.js} +36 -36
- package/dist/chunks/{mime-wrqsgs34.js → mime-35vdht0v.js} +1 -1
- package/dist/chunks/{mime-6ph579g1.js → mime-3bxse654.js} +9 -9
- package/dist/chunks/{mime-s3w38y65.js → mime-3djbw1yw.js} +18 -18
- package/dist/chunks/{mime-yq15jsfs.js → mime-3gjcsfkp.js} +23 -23
- package/dist/chunks/{mime-0dd32wke.js → mime-3zygn6db.js} +18 -18
- package/dist/chunks/{mime-pzy0y0v9.js → mime-420zfhbw.js} +9 -9
- package/dist/chunks/{mime-ypdxe0g3.js → mime-444p8hwk.js} +4 -4
- package/dist/chunks/{mime-8jqmzt62.js → mime-4780s8zr.js} +7 -7
- package/dist/chunks/{mime-25c3bv42.js → mime-4xgk073c.js} +30 -30
- package/dist/chunks/{mime-d942djzc.js → mime-50spkatp.js} +1 -1
- package/dist/chunks/{mime-xzzqdqzt.js → mime-52xa8h0k.js} +15 -15
- package/dist/chunks/{mime-fcj6b5ej.js → mime-59c8rz3w.js} +17 -17
- package/dist/chunks/{mime-g9wvjw5e.js → mime-5cbe66kg.js} +15 -15
- package/dist/chunks/{mime-tqkrwgse.js → mime-5frpvc34.js} +1 -1
- package/dist/chunks/{mime-6ecentyg.js → mime-5r46t150.js} +6 -6
- package/dist/chunks/{mime-9adpk5qf.js → mime-5w49rw7h.js} +16 -16
- package/dist/chunks/{mime-428y0mtg.js → mime-5y1dhwgz.js} +9 -9
- package/dist/chunks/{mime-7n2xhmm7.js → mime-5yeq06a0.js} +8 -8
- package/dist/chunks/{mime-yhnrb9df.js → mime-64mdbckw.js} +19 -19
- package/dist/chunks/{mime-71pc8m80.js → mime-6heswp50.js} +7 -7
- package/dist/chunks/{mime-7x9wdesj.js → mime-6pg9yxyn.js} +25 -25
- package/dist/chunks/{mime-rk95q894.js → mime-6sm2335y.js} +8 -8
- package/dist/chunks/{mime-2z24jnne.js → mime-6stpc6jq.js} +39 -39
- package/dist/chunks/{mime-jt9z208x.js → mime-704h20fa.js} +11 -11
- package/dist/chunks/{mime-zdzzr9rq.js → mime-73zec2db.js} +11 -11
- package/dist/chunks/{mime-n7w7dj2n.js → mime-79j0w79y.js} +18 -18
- package/dist/chunks/{mime-z2st3mnt.js → mime-7dt64zzx.js} +29 -29
- package/dist/chunks/{mime-n9gzpzcc.js → mime-7fejhyaj.js} +31 -31
- package/dist/chunks/{mime-1fqx7y25.js → mime-7fkzzjzh.js} +16 -16
- package/dist/chunks/{mime-793krves.js → mime-7jryds9y.js} +7 -7
- package/dist/chunks/{mime-dhwr7h25.js → mime-818pfwc9.js} +9 -9
- package/dist/chunks/{mime-zcqf6png.js → mime-81rrwt6s.js} +5 -5
- package/dist/chunks/{mime-tpw6cwsb.js → mime-844ef7ks.js} +7 -7
- package/dist/chunks/{mime-nk4x76k7.js → mime-870jgjkc.js} +28 -28
- package/dist/chunks/{mime-m0e07c1q.js → mime-8bnrj9ah.js} +7 -7
- package/dist/chunks/{mime-p1rhzz4x.js → mime-8na3ps9f.js} +14 -14
- package/dist/chunks/{mime-7dn07k07.js → mime-8pcfc58d.js} +30 -30
- package/dist/chunks/{mime-nvxqht09.js → mime-8q7cq0y1.js} +2 -2
- package/dist/chunks/{mime-hfk58y1y.js → mime-8qh7f6m5.js} +25 -25
- package/dist/chunks/{mime-kpj3v0jx.js → mime-8x7bs8k4.js} +7 -7
- package/dist/chunks/{mime-wce6r091.js → mime-9eafbtjx.js} +3 -3
- package/dist/chunks/{mime-sae7gfvb.js → mime-9fk0tq8j.js} +9 -9
- package/dist/chunks/{mime-a14tmfw2.js → mime-9h8p7dc2.js} +22 -22
- package/dist/chunks/{mime-mk0f86h1.js → mime-a6wxbqrd.js} +18 -18
- package/dist/chunks/{mime-vknx877p.js → mime-adtd93wp.js} +24 -24
- package/dist/chunks/{mime-1nq040z3.js → mime-ahxwejs5.js} +3 -3
- package/dist/chunks/{mime-exmx9z86.js → mime-anxsz8s7.js} +12 -12
- package/dist/chunks/{mime-6tjahags.js → mime-axyhzpge.js} +19 -19
- package/dist/chunks/{mime-d8d1pk1w.js → mime-b0dn0kc2.js} +20 -20
- package/dist/chunks/{mime-k3a2w7sd.js → mime-b11403r6.js} +1 -1
- package/dist/chunks/{mime-a9pbgtwm.js → mime-bbrkv54p.js} +20 -20
- package/dist/chunks/{mime-hnr5yq9h.js → mime-bgxcxs0p.js} +3 -3
- package/dist/chunks/mime-bhcmsjc5.js +26 -0
- package/dist/chunks/{mime-244ce5kg.js → mime-c3s2gn8c.js} +6 -6
- package/dist/chunks/{mime-18e56dsp.js → mime-c5gn303e.js} +3 -3
- package/dist/chunks/{mime-8zve7j1r.js → mime-cc31018j.js} +28 -28
- package/dist/chunks/{mime-hsyde07s.js → mime-cfpeewsf.js} +15 -15
- package/dist/chunks/{mime-vkxpz7g2.js → mime-cq37gk0t.js} +1 -1
- package/dist/chunks/{mime-sxr8e92x.js → mime-d2q9jptv.js} +38 -38
- package/dist/chunks/{mime-efemqsg6.js → mime-d6k63gab.js} +55 -55
- package/dist/chunks/{mime-wxg5n4nt.js → mime-dagq8swk.js} +85 -85
- package/dist/chunks/{mime-yxmrz8pz.js → mime-dec7wy2e.js} +34 -34
- package/dist/chunks/{mime-7n7hfnea.js → mime-dvfrh357.js} +2 -2
- package/dist/chunks/{mime-3e6fhmkh.js → mime-e07961mt.js} +16 -16
- package/dist/chunks/{mime-7mawc3w3.js → mime-e6prdszb.js} +30 -30
- package/dist/chunks/{mime-7mny09t0.js → mime-eatzh2k7.js} +10 -10
- package/dist/chunks/{mime-pdxxk7hn.js → mime-edtxp2z3.js} +1 -1
- package/dist/chunks/{mime-t2p9dx1c.js → mime-eq6c3fte.js} +3 -3
- package/dist/chunks/{mime-wwxdkha1.js → mime-eqde16p0.js} +14 -14
- package/dist/chunks/{mime-was7srj9.js → mime-et0rkxxj.js} +6 -6
- package/dist/chunks/{mime-3xfqjwf0.js → mime-f0r94znb.js} +6 -6
- package/dist/chunks/{mime-ndqxs5js.js → mime-f160myny.js} +2 -2
- package/dist/chunks/{mime-mzs7jtbe.js → mime-f565jxke.js} +20 -20
- package/dist/chunks/{mime-r0e9nadw.js → mime-f640cp8s.js} +4 -4
- package/dist/chunks/{mime-19dhad8j.js → mime-fr161fk4.js} +1 -1
- package/dist/chunks/{mime-6yr30ss5.js → mime-fvhxsqzp.js} +8 -8
- package/dist/chunks/{mime-6e67y2h6.js → mime-fvx6fngr.js} +15 -15
- package/dist/chunks/{mime-vsp1fds9.js → mime-g190xswt.js} +20 -20
- package/dist/chunks/{mime-mv4qg2g8.js → mime-g2v8q978.js} +64 -64
- package/dist/chunks/{mime-89fvnp0w.js → mime-g3vtg5jq.js} +11 -11
- package/dist/chunks/{mime-0jez15af.js → mime-g95881nk.js} +4 -4
- package/dist/chunks/{mime-p2ab4s2r.js → mime-gb2e7tdd.js} +3 -3
- package/dist/chunks/{mime-k5ysc9y0.js → mime-gcb8mzse.js} +49 -49
- package/dist/chunks/{mime-ycn09wbg.js → mime-gsy31vka.js} +6 -6
- package/dist/chunks/{mime-2bg24y81.js → mime-gv2jqw69.js} +12 -12
- package/dist/chunks/{mime-th5km1p3.js → mime-gv6a8nnw.js} +3 -3
- package/dist/chunks/{mime-gg6k7kh9.js → mime-h4xx3q8r.js} +42 -42
- package/dist/chunks/{mime-2swfdtqq.js → mime-h752p31j.js} +10 -10
- package/dist/chunks/{mime-ex7fppdg.js → mime-hbbajkb6.js} +38 -38
- package/dist/chunks/{mime-y598pph1.js → mime-hcv4nqeb.js} +7 -7
- package/dist/chunks/{mime-mkyvxn7c.js → mime-hr15y0yn.js} +2 -2
- package/dist/chunks/{mime-p8vshhkt.js → mime-hs2a3b3x.js} +7 -7
- package/dist/chunks/{mime-84f9n64y.js → mime-hssj4d10.js} +30 -30
- package/dist/chunks/{mime-6f9xqzex.js → mime-hwfrndnj.js} +12 -12
- package/dist/chunks/{mime-gqz15p6p.js → mime-j3y0vmp2.js} +13 -13
- package/dist/chunks/{mime-9jn58xvx.js → mime-jgs57335.js} +26 -26
- package/dist/chunks/{mime-n0t0kfwn.js → mime-jyzy5bh9.js} +26 -26
- package/dist/chunks/{mime-xyf1yhas.js → mime-k30yspdv.js} +8 -8
- package/dist/chunks/{mime-tp988bqa.js → mime-ke3mc4hq.js} +10 -10
- package/dist/chunks/{mime-mc7r38pz.js → mime-kn0whz0h.js} +19 -19
- package/dist/chunks/{mime-xf8yqmad.js → mime-kpvyk30t.js} +8 -8
- package/dist/chunks/{mime-599ntear.js → mime-kpzqjmdf.js} +9 -9
- package/dist/chunks/{mime-g6jvm51t.js → mime-ky1z1t7f.js} +17 -17
- package/dist/chunks/{mime-rbtn8dzz.js → mime-m1mf6fzk.js} +33 -33
- package/dist/chunks/{mime-7wj5bpvf.js → mime-m6mq2hjy.js} +1 -1
- package/dist/chunks/{mime-jjs74g98.js → mime-m86bnw2c.js} +7 -7
- package/dist/chunks/{mime-syx98vxf.js → mime-mdwr1hje.js} +5 -5
- package/dist/chunks/{mime-mgfyp3pg.js → mime-mez6c9p4.js} +12 -12
- package/dist/chunks/{mime-csf2jhsg.js → mime-mfhfdr54.js} +3 -3
- package/dist/chunks/{mime-rjasbbd6.js → mime-mx7czsbd.js} +23 -23
- package/dist/chunks/{mime-sat34sqy.js → mime-njct8jvz.js} +7 -7
- package/dist/chunks/{mime-thfnv5gc.js → mime-njhyngta.js} +1 -1
- package/dist/chunks/{mime-hwyw3hyr.js → mime-pa86c6bb.js} +4 -4
- package/dist/chunks/{mime-j935v87r.js → mime-paphc93g.js} +2 -2
- package/dist/chunks/{mime-vp7npndj.js → mime-pdcjakb6.js} +44 -44
- package/dist/chunks/{mime-qg6c32m5.js → mime-pfm8588r.js} +9 -9
- package/dist/chunks/{mime-43fjnve3.js → mime-ppg8cm88.js} +142 -142
- package/dist/chunks/{mime-mq0v60k6.js → mime-prkz2p0b.js} +8 -8
- package/dist/chunks/{mime-mhxmw1gn.js → mime-pt4bgws9.js} +13 -13
- package/dist/chunks/{mime-qkma89m6.js → mime-pt5fe4wm.js} +12 -12
- package/dist/chunks/{mime-a7ymv1f3.js → mime-q5r46mjj.js} +19 -19
- package/dist/chunks/{mime-9fk3d21e.js → mime-qbx47xy2.js} +6 -6
- package/dist/chunks/{mime-58426wyj.js → mime-qc2jvtz9.js} +13 -13
- package/dist/chunks/{mime-aq5y8b9e.js → mime-qd153e6s.js} +7 -7
- package/dist/chunks/{mime-4x2wqn1j.js → mime-qharf8gs.js} +18 -18
- package/dist/chunks/{mime-cjwramev.js → mime-qk0gpxf2.js} +5 -5
- package/dist/chunks/{mime-zp6fq2c5.js → mime-qkdjfw93.js} +12 -12
- package/dist/chunks/{mime-az6rvz1x.js → mime-qmd9v6g9.js} +23 -23
- package/dist/chunks/{mime-mvfsc1pv.js → mime-r5x6zcsm.js} +2 -2
- package/dist/chunks/{mime-z1jvgbj7.js → mime-r65rh87v.js} +12 -12
- package/dist/chunks/{mime-6w1gr0yw.js → mime-r9asyhme.js} +13 -13
- package/dist/chunks/{mime-4m405q6x.js → mime-ra43e7fd.js} +31 -31
- package/dist/chunks/{mime-0gdmqesm.js → mime-rhjbct0v.js} +3 -3
- package/dist/chunks/{mime-0m2e9swf.js → mime-rm1v9tpv.js} +29 -29
- package/dist/chunks/{mime-cp31e4n6.js → mime-rqkpr08e.js} +50 -50
- package/dist/chunks/{mime-6xm8j45g.js → mime-rr835zjc.js} +13 -13
- package/dist/chunks/{mime-z7haez8t.js → mime-s140sdf9.js} +7 -7
- package/dist/chunks/{mime-rw5ambcd.js → mime-sd8yy5r9.js} +9 -9
- package/dist/chunks/{mime-60w3gzyt.js → mime-seam05pa.js} +10 -10
- package/dist/chunks/{mime-y87sds1v.js → mime-skgd961f.js} +34 -34
- package/dist/chunks/{mime-apaaqhj0.js → mime-sm7k231e.js} +10 -10
- package/dist/chunks/{mime-806j49yq.js → mime-sxz6gkc3.js} +6 -6
- package/dist/chunks/{mime-29zjypxj.js → mime-sy5x3wzp.js} +20 -20
- package/dist/chunks/{mime-3w0fmcng.js → mime-t0fxg8b9.js} +3 -3
- package/dist/chunks/{mime-94np39z2.js → mime-t0x5rdq8.js} +7 -7
- package/dist/chunks/{mime-9s1hrf4j.js → mime-t2qnazqa.js} +24 -24
- package/dist/chunks/{mime-y5hshd3q.js → mime-t92h3xfh.js} +25 -25
- package/dist/chunks/{mime-3j8sdtpz.js → mime-t9zs3egg.js} +3 -3
- package/dist/chunks/{mime-89znhe33.js → mime-tcezcvh9.js} +3 -3
- package/dist/chunks/{mime-a7fxnse5.js → mime-tdjcx4hx.js} +23 -23
- package/dist/chunks/{mime-ffxj81eb.js → mime-tfwtnexv.js} +9 -9
- package/dist/chunks/{mime-tyqa4rq3.js → mime-tpnhe26j.js} +9 -9
- package/dist/chunks/{mime-b9bv6qq3.js → mime-tqtqm0tk.js} +20 -20
- package/dist/chunks/{mime-1h8wvx6q.js → mime-tr59z4r6.js} +16 -16
- package/dist/chunks/{mime-rw09cprj.js → mime-tst7fck9.js} +6 -6
- package/dist/chunks/{mime-qxad6akg.js → mime-tt0d903s.js} +31 -31
- package/dist/chunks/{mime-p11mj9nc.js → mime-txhedez9.js} +25 -25
- package/dist/chunks/{mime-yad4qhb5.js → mime-v2rhk2e4.js} +17 -17
- package/dist/chunks/{mime-n4aaschn.js → mime-v4xb0e1g.js} +6 -6
- package/dist/chunks/{mime-8nk5pr3x.js → mime-vc4e6k4r.js} +3 -3
- package/dist/chunks/{mime-8j0zrhvt.js → mime-vv47xjan.js} +17 -17
- package/dist/chunks/{mime-pva5nxfr.js → mime-w3zbj2ne.js} +42 -42
- package/dist/chunks/{mime-efv4s0g0.js → mime-w4arg62q.js} +3 -3
- package/dist/chunks/{mime-t9kjr4z5.js → mime-wa22fvar.js} +14 -14
- package/dist/chunks/{mime-en53wcfr.js → mime-wjf2ryf5.js} +15 -15
- package/dist/chunks/{mime-3ey5ve5m.js → mime-wwgj97ya.js} +14 -14
- package/dist/chunks/{mime-jy2v93y2.js → mime-wyd5qy3e.js} +12 -12
- package/dist/chunks/{mime-1k3djte8.js → mime-wzv25m25.js} +9 -9
- package/dist/chunks/mime-x0mt5qzb.js +247 -0
- package/dist/chunks/{mime-0pt4f7ej.js → mime-xj7p06cz.js} +9 -9
- package/dist/chunks/{mime-9t6fn9sm.js → mime-xkanz2ea.js} +7 -7
- package/dist/chunks/{mime-aqtq9wzx.js → mime-xmvk2ac6.js} +5 -5
- package/dist/chunks/{mime-vgx6weyf.js → mime-xn5rvdk3.js} +7 -7
- package/dist/chunks/{mime-47jk2x7b.js → mime-xtdnnkz9.js} +21 -21
- package/dist/chunks/{mime-rpw1jzq2.js → mime-y1x7r325.js} +30 -30
- package/dist/chunks/{mime-dpkg50ah.js → mime-y71avatq.js} +3 -3
- package/dist/chunks/{mime-3nv94yae.js → mime-ye34jjbw.js} +20 -20
- package/dist/chunks/{mime-f2n192rq.js → mime-yp2x3t23.js} +3 -3
- package/dist/chunks/{mime-s4enseaf.js → mime-yrznvahk.js} +1 -1
- package/dist/chunks/{mime-d2aac7k2.js → mime-yt0fqk68.js} +3 -3
- package/dist/chunks/{mime-mvtk1eek.js → mime-ywcdcbeh.js} +10 -10
- package/dist/chunks/{mime-8v4hj3yf.js → mime-z053jb5k.js} +17 -17
- package/dist/chunks/{mime-7136dx6n.js → mime-z16ek00m.js} +296 -296
- package/dist/chunks/{mime-sbwhh814.js → mime-z4y4a432.js} +14 -14
- package/dist/chunks/{mime-6mn0csek.js → mime-z5e4xs1g.js} +7 -7
- package/dist/chunks/{mime-29x78va6.js → mime-z63w68vq.js} +4 -4
- package/dist/chunks/{mime-08vesxpc.js → mime-zb37mv0v.js} +3 -3
- package/dist/chunks/{mime-7t2a4rxe.js → mime-zfyh5k5p.js} +30 -30
- package/dist/chunks/{mime-t0kymgeb.js → mime-zjw2f83e.js} +58 -58
- package/dist/chunks/{mime-7kppz51p.js → mime-zqbh65n6.js} +22 -22
- package/dist/chunks/{mime-233vw3g8.js → mime-zyyezbff.js} +11 -11
- package/dist/chunks/{mime-msr7tfg3.js → mime-zyyy8fjh.js} +10 -10
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +69 -69
- package/dist/config/discovery.js +62 -62
- package/dist/config/normalize.js +14 -14
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +172 -172
- package/dist/config/plugin/compaction.js +128 -128
- package/dist/config/plugin/compatibility.js +108 -108
- package/dist/config/plugin/formatter.js +91 -91
- package/dist/config/plugin/image.js +90 -90
- package/dist/config/plugin/instruction.js +67 -67
- package/dist/config/plugin/location-watcher.js +90 -90
- package/dist/config/plugin/mcp.js +96 -96
- package/dist/config/plugin/policy.js +89 -89
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +92 -92
- package/dist/config/plugin/shell.js +92 -92
- package/dist/config/plugin/skill-file.js +76 -76
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +90 -90
- package/dist/config/plugin/source.js +92 -92
- package/dist/config/plugin/tool-output.js +91 -91
- package/dist/config/plugin/websearch.js +90 -90
- package/dist/config/plugin/worktree.js +93 -93
- package/dist/config/variable.js +2 -2
- package/dist/config.js +93 -93
- package/dist/credential.js +65 -65
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +224 -224
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +67 -67
- package/dist/environment/index.js +69 -69
- package/dist/event-logger.js +14 -14
- package/dist/file-access.js +79 -79
- package/dist/file-mutation.js +68 -68
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +184 -184
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +76 -76
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +12 -12
- package/dist/filesystem.js +81 -81
- package/dist/form.js +64 -64
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +67 -67
- package/dist/generate.js +75 -75
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +6 -6
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +304 -304
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +65 -65
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +62 -62
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +58 -58
- package/dist/location-mutation.js +31 -31
- package/dist/location-service-map.js +66 -66
- package/dist/location-services.js +302 -302
- package/dist/location.js +65 -65
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +95 -95
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +64 -64
- package/dist/modal/models.js +6 -6
- package/dist/model-resolver.js +68 -68
- package/dist/model.js +5 -5
- package/dist/models-dev.js +68 -68
- package/dist/permission/saved.js +62 -62
- package/dist/permission.js +88 -88
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +177 -177
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +278 -278
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +59 -59
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/plan.js +77 -77
- package/dist/plugin/provider/azure.js +92 -92
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +90 -90
- package/dist/plugin/provider/digitalocean.js +62 -62
- package/dist/plugin/provider/github-copilot.js +64 -64
- package/dist/plugin/provider/gitlab.js +2 -2
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +93 -93
- package/dist/plugin/provider/modal.js +63 -63
- package/dist/plugin/provider/ollama.js +93 -93
- package/dist/plugin/provider/openai.js +61 -61
- package/dist/plugin/provider/opencode.js +62 -62
- package/dist/plugin/provider/openrouter.js +2 -2
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/snowflake-cortex.js +92 -92
- package/dist/plugin/provider/vllm.js +93 -93
- package/dist/plugin/provider/xai.js +61 -61
- package/dist/plugin/provider.js +124 -124
- package/dist/plugin/sdk.js +60 -60
- package/dist/plugin/skill.js +107 -107
- package/dist/plugin/supervisor.js +294 -294
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +64 -64
- package/dist/plugin/vcs/hg.js +64 -64
- package/dist/plugin/warming.js +88 -88
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +183 -183
- package/dist/project/schema.js +5 -5
- package/dist/project.js +66 -66
- package/dist/pty.js +62 -62
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +62 -62
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +64 -64
- package/dist/session/command.js +57 -57
- package/dist/session/compaction.js +104 -104
- package/dist/session/context.js +120 -120
- package/dist/session/diff.js +64 -64
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +118 -118
- package/dist/session/execution.js +103 -103
- package/dist/session/generate.js +121 -121
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +65 -65
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +72 -72
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +104 -104
- package/dist/session/projector.js +62 -62
- package/dist/session/prompt.js +79 -79
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +65 -65
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +187 -187
- package/dist/session/runner/model.js +70 -70
- package/dist/session/runner/retry.js +89 -89
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +136 -136
- package/dist/session/shell.js +100 -100
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/title.js +123 -123
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +116 -116
- package/dist/session.js +184 -184
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +103 -103
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +82 -82
- package/dist/skill.js +85 -85
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +92 -92
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +95 -95
- package/dist/tool/plugin/grep.js +95 -95
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +92 -92
- package/dist/tool/plugin/question.js +78 -78
- package/dist/tool/plugin/read.js +96 -96
- package/dist/tool/plugin/shell.js +179 -179
- package/dist/tool/plugin/skill.js +88 -88
- package/dist/tool/plugin/subagent.js +178 -178
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +83 -83
- package/dist/tool/plugin/write.js +92 -92
- package/dist/tool/read-filesystem.js +73 -73
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +2 -2
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +67 -67
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +58 -58
- package/dist/wellknown.js +61 -61
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +60 -60
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +293 -293
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/mime-5wm2rtqk.js +0 -247
- package/dist/chunks/mime-89qrc0yw.js +0 -26
- /package/dist/chunks/{mime-8mw9dy87.js → mime-cga0myw9.js} +0 -0
- /package/dist/chunks/{mime-11qgt1va.js → mime-kx4bd44t.js} +0 -0
- /package/dist/chunks/{mime-q6yya7b3.js → mime-rf80fxgj.js} +0 -0
- /package/dist/chunks/{mime-7f5wqp31.js → mime-stk15n3e.js} +0 -0
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./mime-
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./mime-kn0whz0h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./mime-
|
|
11
|
+
Content2
|
|
12
|
+
} from "./mime-4xgk073c.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
15
|
} from "./mime-3smtnn6g.js";
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node11,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service63;
|
|
331
|
+
return Service8.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node11 = makeLocationNode({ service: Service8, layer, deps: [node67] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node11, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./mime-
|
|
2
|
+
Service76
|
|
3
|
+
} from "./mime-z4y4a432.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./mime-
|
|
5
|
+
Service65
|
|
6
|
+
} from "./mime-cfpeewsf.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./mime-
|
|
9
|
+
Service30
|
|
10
|
+
} from "./mime-rqkpr08e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin42 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service65;
|
|
200
|
+
const mcp = yield* Service30;
|
|
201
|
+
const bus = yield* Service76;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin42, exports_command2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./mime-
|
|
2
|
+
Service48
|
|
3
|
+
} from "./mime-pdcjakb6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./mime-
|
|
5
|
+
Service30
|
|
6
|
+
} from "./mime-rqkpr08e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin9,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service48;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin9, register2, exports_mcp };
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node65
|
|
3
|
+
} from "./mime-6pg9yxyn.js";
|
|
4
|
+
import {
|
|
5
|
+
node76
|
|
6
|
+
} from "./mime-hcv4nqeb.js";
|
|
7
|
+
import {
|
|
8
|
+
node80
|
|
9
|
+
} from "./mime-9h8p7dc2.js";
|
|
10
|
+
import {
|
|
11
|
+
node78
|
|
12
|
+
} from "./mime-79j0w79y.js";
|
|
13
|
+
import {
|
|
14
|
+
node77
|
|
15
|
+
} from "./mime-3djbw1yw.js";
|
|
16
|
+
import {
|
|
17
|
+
node73
|
|
18
|
+
} from "./mime-jgs57335.js";
|
|
19
|
+
import {
|
|
20
|
+
node70,
|
|
21
|
+
boundNode2
|
|
22
|
+
} from "./mime-cfpeewsf.js";
|
|
23
|
+
import {
|
|
24
|
+
configured8,
|
|
25
|
+
node52
|
|
26
|
+
} from "./mime-pdcjakb6.js";
|
|
27
|
+
import {
|
|
28
|
+
node67
|
|
29
|
+
} from "./mime-kn0whz0h.js";
|
|
30
|
+
import {
|
|
31
|
+
node66
|
|
32
|
+
} from "./mime-qkdjfw93.js";
|
|
33
|
+
import {
|
|
34
|
+
node56
|
|
35
|
+
} from "./mime-0rh963zz.js";
|
|
36
|
+
import {
|
|
37
|
+
node18
|
|
38
|
+
} from "./mime-zfyh5k5p.js";
|
|
39
|
+
import {
|
|
40
|
+
node17
|
|
41
|
+
} from "./mime-4xgk073c.js";
|
|
42
|
+
import {
|
|
43
|
+
node75
|
|
44
|
+
} from "./mime-rm1v9tpv.js";
|
|
45
|
+
import {
|
|
46
|
+
node74
|
|
47
|
+
} from "./mime-qmd9v6g9.js";
|
|
48
|
+
import {
|
|
49
|
+
node84
|
|
50
|
+
} from "./mime-4780s8zr.js";
|
|
51
|
+
import {
|
|
52
|
+
node34
|
|
53
|
+
} from "./mime-rqkpr08e.js";
|
|
54
|
+
import {
|
|
55
|
+
Service42,
|
|
56
|
+
node45
|
|
57
|
+
} from "./mime-81rrwt6s.js";
|
|
58
|
+
import {
|
|
59
|
+
node33
|
|
60
|
+
} from "./mime-eqde16p0.js";
|
|
61
|
+
import {
|
|
62
|
+
node85
|
|
63
|
+
} from "./mime-qd153e6s.js";
|
|
64
|
+
import {
|
|
65
|
+
node62
|
|
66
|
+
} from "./mime-d6k63gab.js";
|
|
67
|
+
import {
|
|
68
|
+
node44
|
|
69
|
+
} from "./mime-pt5fe4wm.js";
|
|
70
|
+
import {
|
|
71
|
+
configured10,
|
|
72
|
+
node55
|
|
73
|
+
} from "./mime-txhedez9.js";
|
|
74
|
+
import {
|
|
75
|
+
node28
|
|
76
|
+
} from "./mime-2fz3ddp8.js";
|
|
77
|
+
import {
|
|
78
|
+
node83
|
|
79
|
+
} from "./mime-sy5x3wzp.js";
|
|
80
|
+
import {
|
|
81
|
+
node27
|
|
82
|
+
} from "./mime-8qh7f6m5.js";
|
|
83
|
+
import {
|
|
84
|
+
node57
|
|
85
|
+
} from "./mime-tdjcx4hx.js";
|
|
86
|
+
import {
|
|
87
|
+
node25
|
|
88
|
+
} from "./mime-v2rhk2e4.js";
|
|
89
|
+
import {
|
|
90
|
+
node60
|
|
91
|
+
} from "./mime-adtd93wp.js";
|
|
92
|
+
import {
|
|
93
|
+
node29
|
|
94
|
+
} from "./mime-axyhzpge.js";
|
|
95
|
+
import {
|
|
96
|
+
node24
|
|
97
|
+
} from "./mime-dagq8swk.js";
|
|
98
|
+
import {
|
|
99
|
+
node49
|
|
100
|
+
} from "./mime-zqbh65n6.js";
|
|
101
|
+
import {
|
|
102
|
+
node41
|
|
103
|
+
} from "./mime-wjf2ryf5.js";
|
|
104
|
+
import {
|
|
105
|
+
node39
|
|
106
|
+
} from "./mime-2nm7ty4g.js";
|
|
107
|
+
import {
|
|
108
|
+
node37
|
|
109
|
+
} from "./mime-gcb8mzse.js";
|
|
110
|
+
import {
|
|
111
|
+
node42
|
|
112
|
+
} from "./mime-e07961mt.js";
|
|
113
|
+
import {
|
|
114
|
+
node36
|
|
115
|
+
} from "./mime-ye34jjbw.js";
|
|
116
|
+
import {
|
|
117
|
+
node21
|
|
118
|
+
} from "./mime-jyzy5bh9.js";
|
|
119
|
+
import {
|
|
120
|
+
node35
|
|
121
|
+
} from "./mime-hbbajkb6.js";
|
|
122
|
+
import {
|
|
123
|
+
node20
|
|
124
|
+
} from "./mime-gv2jqw69.js";
|
|
125
|
+
import {
|
|
126
|
+
node4
|
|
127
|
+
} from "./mime-tt0d903s.js";
|
|
128
|
+
import {
|
|
129
|
+
node61
|
|
130
|
+
} from "./mime-5w49rw7h.js";
|
|
131
|
+
import {
|
|
132
|
+
node8,
|
|
133
|
+
bound2
|
|
134
|
+
} from "./mime-844ef7ks.js";
|
|
135
|
+
import {
|
|
136
|
+
node14
|
|
137
|
+
} from "./mime-1vh2jpye.js";
|
|
138
|
+
import {
|
|
139
|
+
node13
|
|
140
|
+
} from "./mime-f565jxke.js";
|
|
141
|
+
import {
|
|
142
|
+
node11
|
|
143
|
+
} from "./mime-wwgj97ya.js";
|
|
144
|
+
import {
|
|
145
|
+
node6
|
|
146
|
+
} from "./mime-6stpc6jq.js";
|
|
147
|
+
import {
|
|
148
|
+
node5
|
|
149
|
+
} from "./mime-2gwea9g5.js";
|
|
150
|
+
import {
|
|
151
|
+
node16
|
|
152
|
+
} from "./mime-pt4bgws9.js";
|
|
153
|
+
import {
|
|
154
|
+
node3
|
|
155
|
+
} from "./mime-870jgjkc.js";
|
|
156
|
+
import {
|
|
157
|
+
node2
|
|
158
|
+
} from "./mime-g2v8q978.js";
|
|
159
|
+
import {
|
|
160
|
+
__export
|
|
161
|
+
} from "./mime-9rqn6x4v.js";
|
|
162
|
+
|
|
163
|
+
// src/instance.ts
|
|
164
|
+
var exports_instance = {};
|
|
165
|
+
__export(exports_instance, {
|
|
166
|
+
Instance: () => exports_instance,
|
|
167
|
+
Service: () => Service42,
|
|
168
|
+
graph: () => graph2,
|
|
169
|
+
layer: () => layer2,
|
|
170
|
+
node: () => node45
|
|
171
|
+
});
|
|
172
|
+
import { Effect, Layer } from "effect";
|
|
173
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
174
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
175
|
+
var nodes = [
|
|
176
|
+
node70,
|
|
177
|
+
node67,
|
|
178
|
+
node52,
|
|
179
|
+
node65,
|
|
180
|
+
node73,
|
|
181
|
+
node57,
|
|
182
|
+
node42,
|
|
183
|
+
node21,
|
|
184
|
+
node78,
|
|
185
|
+
node77,
|
|
186
|
+
node75,
|
|
187
|
+
node76,
|
|
188
|
+
node20,
|
|
189
|
+
node85,
|
|
190
|
+
node8,
|
|
191
|
+
node6,
|
|
192
|
+
node5,
|
|
193
|
+
node35,
|
|
194
|
+
node18,
|
|
195
|
+
node17,
|
|
196
|
+
node41,
|
|
197
|
+
node16,
|
|
198
|
+
node37,
|
|
199
|
+
node60,
|
|
200
|
+
node28,
|
|
201
|
+
node55,
|
|
202
|
+
node61,
|
|
203
|
+
node66,
|
|
204
|
+
node56,
|
|
205
|
+
node34,
|
|
206
|
+
node62,
|
|
207
|
+
node83,
|
|
208
|
+
node39,
|
|
209
|
+
node84,
|
|
210
|
+
node29,
|
|
211
|
+
node25,
|
|
212
|
+
node33,
|
|
213
|
+
node80,
|
|
214
|
+
node74,
|
|
215
|
+
node11,
|
|
216
|
+
node27,
|
|
217
|
+
node13,
|
|
218
|
+
node44,
|
|
219
|
+
node14,
|
|
220
|
+
node3,
|
|
221
|
+
node24,
|
|
222
|
+
node49,
|
|
223
|
+
node2,
|
|
224
|
+
node36,
|
|
225
|
+
node4
|
|
226
|
+
];
|
|
227
|
+
var graph2 = LayerNode.group(nodes);
|
|
228
|
+
var vanillaReplacements = [
|
|
229
|
+
node52.replace(configured8({ project: false, global: false })),
|
|
230
|
+
node55.replace(configured10({ project: false, global: false }))
|
|
231
|
+
];
|
|
232
|
+
function layer2(ref, options = {}) {
|
|
233
|
+
const startedAt = performance.now();
|
|
234
|
+
const replacements = [
|
|
235
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
+
...options.replacements ?? [],
|
|
237
|
+
node70.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
+
node8.replace(bound2(options.plugins ?? []))
|
|
239
|
+
];
|
|
240
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
+
directory: ref.directory,
|
|
242
|
+
workspaceID: ref.workspaceID,
|
|
243
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
+
})));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./mime-
|
|
3
|
+
} from "./mime-z5e4xs1g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./mime-
|
|
5
|
+
Service76
|
|
6
|
+
} from "./mime-z4y4a432.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./mime-
|
|
9
|
+
Event19
|
|
10
|
+
} from "./mime-7fejhyaj.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./mime-
|
|
14
|
+
} from "./mime-79j0w79y.js";
|
|
15
15
|
import {
|
|
16
16
|
ID18
|
|
17
17
|
} from "./mime-33n3bzdy.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./mime-
|
|
20
|
+
} from "./mime-c3s2gn8c.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
23
|
} from "./mime-pjvnvgmy.js";
|
|
@@ -115,7 +115,7 @@ var oauth = {
|
|
|
115
115
|
var DigitalOceanPlugin2 = define({
|
|
116
116
|
id: "opencode.provider.digitalocean",
|
|
117
117
|
effect: Effect.fn(function* (ctx) {
|
|
118
|
-
const bus = yield*
|
|
118
|
+
const bus = yield* Service76;
|
|
119
119
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
120
120
|
const loading = Semaphore.makeUnsafe(1);
|
|
121
121
|
const loaded = { routers: [] };
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
gitExecutable2
|
|
10
10
|
} from "./mime-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./mime-
|
|
12
|
+
Service65
|
|
13
|
+
} from "./mime-cfpeewsf.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./mime-
|
|
16
|
+
} from "./mime-ye34jjbw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -21,17 +21,17 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin32 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service65;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin32, exports_git };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./mime-
|
|
3
|
+
} from "./mime-z5e4xs1g.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./mime-
|
|
6
|
+
Service74
|
|
7
|
+
} from "./mime-7fejhyaj.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./mime-
|
|
11
|
+
} from "./mime-79j0w79y.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18
|
|
14
14
|
} from "./mime-33n3bzdy.js";
|
|
@@ -68,7 +68,7 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
71
|
+
const credentials = yield* Service74;
|
|
72
72
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service34,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node38
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service34 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service34, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service34.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service55, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node38 = makeGlobalNode({ service: Service34, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service34, node38, exports_environment };
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./mime-
|
|
7
|
-
import {
|
|
8
|
-
Info19
|
|
9
|
-
} from "./mime-dhwr7h25.js";
|
|
6
|
+
} from "./mime-g190xswt.js";
|
|
10
7
|
import {
|
|
11
8
|
Info15
|
|
12
|
-
} from "./mime-
|
|
9
|
+
} from "./mime-818pfwc9.js";
|
|
10
|
+
import {
|
|
11
|
+
Info12
|
|
12
|
+
} from "./mime-t0fxg8b9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./mime-
|
|
14
|
+
Info13
|
|
15
|
+
} from "./mime-sxz6gkc3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./mime-
|
|
17
|
+
Info17
|
|
18
|
+
} from "./mime-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
21
|
} from "./mime-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./mime-
|
|
23
|
+
Info10
|
|
24
|
+
} from "./mime-bgxcxs0p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./mime-
|
|
26
|
+
Info8
|
|
27
|
+
} from "./mime-d2q9jptv.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./mime-
|
|
36
|
+
} from "./mime-b11403r6.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|