@opencode/core 0.0.0-dev-20775 → 0.0.0-dev-20777
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 +66 -66
- package/dist/aisdk-native.js +64 -64
- package/dist/aisdk.js +69 -69
- package/dist/app.js +7 -7
- package/dist/bus.js +52 -52
- package/dist/chunks/{location-f0q4wdtr.js → location-02609e96.js} +13 -13
- package/dist/chunks/{location-x46t862s.js → location-05p4mhbg.js} +6 -6
- package/dist/chunks/location-0gzjc7ft.js +253 -0
- package/dist/chunks/{location-cycet1pr.js → location-15xcwm9t.js} +1 -1
- package/dist/chunks/location-1fq0wp1e.js +26 -0
- package/dist/chunks/{location-jc2mtm7q.js → location-1g5f91mn.js} +29 -29
- package/dist/chunks/{location-hg7mrb4w.js → location-1gmkcf0p.js} +7 -7
- package/dist/chunks/{location-fwh2zgtw.js → location-1h8se44f.js} +10 -10
- package/dist/chunks/{location-g9ak4sjw.js → location-1ts7y3cx.js} +9 -9
- package/dist/chunks/{location-3bv3jwr8.js → location-1v74vwhm.js} +11 -11
- package/dist/chunks/{location-7taj1gp1.js → location-1v9scpnw.js} +17 -17
- package/dist/chunks/{location-x9q78qat.js → location-1z20pv40.js} +15 -15
- package/dist/chunks/{location-7r962cny.js → location-22tdpft4.js} +20 -20
- package/dist/chunks/{location-6x4f2nxf.js → location-24skg3e0.js} +22 -22
- package/dist/chunks/{location-vgbc38w6.js → location-257vwa0c.js} +17 -17
- package/dist/chunks/{location-4t6c5kv5.js → location-283v9wt3.js} +13 -13
- package/dist/chunks/{location-8e1vnns2.js → location-2a084xpy.js} +1 -1
- package/dist/chunks/{location-2sdrxmhf.js → location-2fpnaz5h.js} +19 -19
- package/dist/chunks/{location-rkxa6zgp.js → location-2jy94dam.js} +17 -17
- package/dist/chunks/{location-ted02x33.js → location-2kw5qtk9.js} +39 -39
- package/dist/chunks/{location-yern2px4.js → location-3jpnnrb4.js} +12 -12
- package/dist/chunks/{location-98bzyxjk.js → location-3pxsat6s.js} +21 -21
- package/dist/chunks/{location-95ee23zy.js → location-3qb0mese.js} +1 -1
- package/dist/chunks/{location-kvkh2tnc.js → location-42y5raaz.js} +12 -12
- package/dist/chunks/{location-e4w2kpmf.js → location-44rac60e.js} +12 -12
- package/dist/chunks/{location-qne3fa44.js → location-47jkzegy.js} +3 -3
- package/dist/chunks/{location-e6fsf12c.js → location-47r5a3mx.js} +8 -8
- package/dist/chunks/{location-dxnfbexj.js → location-4b5b0vhn.js} +6 -6
- package/dist/chunks/{location-dyjc66w4.js → location-4bar7sar.js} +28 -28
- package/dist/chunks/{location-aeqpwm0h.js → location-4pedpz6c.js} +11 -11
- package/dist/chunks/{location-2ccvkpx1.js → location-4ts7tf6z.js} +1 -1
- package/dist/chunks/{location-9jvk4y4z.js → location-4vvqa2vj.js} +76 -76
- package/dist/chunks/{location-6yz0wx8n.js → location-4xpgt2w9.js} +3 -3
- package/dist/chunks/{location-7cxwgp8h.js → location-4zxfccqq.js} +16 -16
- package/dist/chunks/{location-cek985gc.js → location-50pnv838.js} +17 -17
- package/dist/chunks/{location-sxzvkvgj.js → location-51f5btjf.js} +5 -5
- package/dist/chunks/{location-4y5nd1mc.js → location-57ehm7c4.js} +19 -19
- package/dist/chunks/{location-ychzzj24.js → location-5h0p9j5c.js} +4 -4
- package/dist/chunks/{location-aymppdes.js → location-5hps0jc8.js} +3 -3
- package/dist/chunks/{location-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-bqgthy8n.js → location-6hcrkmvd.js} +7 -7
- package/dist/chunks/{location-wraxjda7.js → location-6qv3krp1.js} +7 -7
- package/dist/chunks/{location-pw009p93.js → location-6t1m34v8.js} +2 -2
- package/dist/chunks/{location-vc4tj14c.js → location-6tyzbyh4.js} +12 -12
- package/dist/chunks/{location-k8p89crg.js → location-6whpyrs3.js} +40 -40
- package/dist/chunks/{location-8sb414s3.js → location-6zztp22y.js} +42 -42
- package/dist/chunks/{location-wmvjtpcg.js → location-724avf7x.js} +15 -15
- package/dist/chunks/{location-gwfc688y.js → location-73gdyt7p.js} +8 -8
- package/dist/chunks/{location-9ay8cp4x.js → location-77392vks.js} +7 -7
- package/dist/chunks/{location-15z50455.js → location-7am7j62s.js} +7 -7
- package/dist/chunks/{location-y2072sec.js → location-7fyyg3d8.js} +13 -13
- package/dist/chunks/{location-8vd0j1f8.js → location-7wpc5jwh.js} +1 -1
- package/dist/chunks/{location-a1gpj94z.js → location-7yh4e7ss.js} +2 -2
- package/dist/chunks/{location-2rzygbsc.js → location-7z0vcwsq.js} +5 -5
- package/dist/chunks/{location-c9jygpac.js → location-7zz0tb2m.js} +316 -316
- package/dist/chunks/{location-hp2pwxv9.js → location-83vepgva.js} +18 -18
- package/dist/chunks/{location-z5xex4x1.js → location-8b345ry2.js} +6 -6
- package/dist/chunks/{location-0p1raf8m.js → location-8pfsh0gj.js} +21 -21
- package/dist/chunks/{location-qzrn5gaa.js → location-8snddydh.js} +1 -1
- package/dist/chunks/{location-c3k6pm0m.js → location-8y8dfhw6.js} +9 -9
- package/dist/chunks/{location-d1zydk9p.js → location-922xc4bs.js} +13 -13
- package/dist/chunks/{location-e9f9fkm3.js → location-9cwykwg4.js} +30 -30
- package/dist/chunks/{location-rhjbct0v.js → location-9t7a50xb.js} +3 -3
- package/dist/chunks/{location-2pnhn36q.js → location-a8bn8zg0.js} +20 -20
- package/dist/chunks/{location-x375nta7.js → location-ac3dnfkw.js} +5 -5
- package/dist/chunks/{location-x661k3y3.js → location-addxnjmp.js} +3 -3
- package/dist/chunks/{location-7jhf9c6g.js → location-agg46hj7.js} +7 -7
- package/dist/chunks/{location-ba07h9gm.js → location-arz7hw7x.js} +3 -3
- package/dist/chunks/{location-x1ayq2cp.js → location-asvfb1gz.js} +20 -20
- package/dist/chunks/{location-d9hw3rrm.js → location-b3e58hyc.js} +25 -25
- package/dist/chunks/{location-vkzh2jfz.js → location-b4m962yk.js} +20 -20
- package/dist/chunks/{location-f5ca9dwf.js → location-b69x7x7h.js} +2 -2
- package/dist/chunks/{location-1j6m9z8v.js → location-b8d9rq7p.js} +26 -26
- package/dist/chunks/{location-82ztv55b.js → location-bem8en1s.js} +14 -14
- package/dist/chunks/{location-qer0ttcg.js → location-bmq95mvw.js} +3 -3
- package/dist/chunks/{location-5tmy9zrn.js → location-by659cs7.js} +1 -1
- package/dist/chunks/{location-8snsr8xz.js → location-c00fv4ar.js} +13 -13
- package/dist/chunks/{location-rz5rekj6.js → location-c26ps2t9.js} +11 -11
- package/dist/chunks/{location-bhjqanaq.js → location-c5g770ce.js} +7 -7
- package/dist/chunks/{location-gy93zegn.js → location-ch3qpzfg.js} +8 -8
- package/dist/chunks/{location-5jjk48mt.js → location-cnwjz3s5.js} +22 -22
- package/dist/chunks/{location-vfjhn2wd.js → location-cp937pt4.js} +3 -3
- package/dist/chunks/{location-y7h48m45.js → location-crvcnxkj.js} +2 -2
- package/dist/chunks/{location-qccn18aw.js → location-cvmt8rk0.js} +14 -14
- package/dist/chunks/{location-5jx09pxm.js → location-das60bkc.js} +22 -22
- package/dist/chunks/{location-3g10c0nv.js → location-dc34mbvf.js} +1 -1
- package/dist/chunks/{location-rsxcvxxn.js → location-dhddhhrc.js} +9 -9
- package/dist/chunks/{location-ea95x05p.js → location-ds1wy84x.js} +13 -13
- package/dist/chunks/{location-1x11rq2a.js → location-dxj72tfx.js} +4 -4
- package/dist/chunks/{location-bah8gbxw.js → location-dzt4t18k.js} +5 -5
- package/dist/chunks/{location-bprjyzj4.js → location-eba7m2bv.js} +9 -9
- package/dist/chunks/{location-dv5jzpe1.js → location-ejfryj65.js} +2 -2
- package/dist/chunks/{location-21zr8p49.js → location-enppsyr8.js} +1 -1
- package/dist/chunks/{location-e66rkf12.js → location-ep4m400e.js} +16 -16
- package/dist/chunks/{location-a89e0tac.js → location-ermxvwhp.js} +3 -3
- package/dist/chunks/{location-mdp3e6p6.js → location-essarsw2.js} +24 -24
- package/dist/chunks/{location-hjkk9tvw.js → location-etvz4dq0.js} +17 -17
- package/dist/chunks/{location-gspcenjq.js → location-ey3qhexw.js} +5 -5
- package/dist/chunks/{location-j1qv9ecs.js → location-f2332hgj.js} +9 -9
- package/dist/chunks/{location-2rehhz5t.js → location-f2mw6jyj.js} +8 -8
- package/dist/chunks/{location-7bq79643.js → location-f4jsfm31.js} +28 -28
- package/dist/chunks/{location-75bh4ajr.js → location-ffa51ey5.js} +9 -9
- package/dist/chunks/{location-hhd5kg11.js → location-fgkdc7jh.js} +16 -16
- package/dist/chunks/{location-fwbpahwh.js → location-fsvxdad5.js} +2 -2
- package/dist/chunks/{location-gb9b0k6n.js → location-fyb3fekh.js} +11 -11
- package/dist/chunks/{location-830hjgb9.js → location-fzpqnkcj.js} +1 -1
- package/dist/chunks/{location-w6nf2t4d.js → location-g6z45s58.js} +9 -9
- package/dist/chunks/{location-xs9sm4qv.js → location-ge2jb4mz.js} +14 -14
- package/dist/chunks/{location-7p986w0g.js → location-geyqfexr.js} +9 -9
- package/dist/chunks/{location-rdxaq8bh.js → location-gy1mt2vm.js} +11 -11
- package/dist/chunks/{location-yda4wkbn.js → location-h2xnf45v.js} +15 -15
- package/dist/chunks/{location-tc14gx3q.js → location-h4ckqw4f.js} +9 -9
- package/dist/chunks/{location-x3g43msc.js → location-h72xck84.js} +22 -22
- package/dist/chunks/{location-exm7qxnh.js → location-h788nv4n.js} +16 -16
- package/dist/chunks/{location-a2eq7efn.js → location-hfpbvkxs.js} +14 -14
- package/dist/chunks/{location-rzs3gq0x.js → location-hpfvhvya.js} +7 -7
- package/dist/chunks/{location-1yhdpabq.js → location-hzfdd747.js} +10 -10
- package/dist/chunks/{location-kttg2wpw.js → location-j793y9ay.js} +37 -37
- package/dist/chunks/{location-eaezvagx.js → location-j8s9ab9g.js} +7 -7
- package/dist/chunks/{location-tsq3qyw6.js → location-j97mndf0.js} +6 -6
- package/dist/chunks/{location-mk1p5ebg.js → location-jph2mfn8.js} +10 -10
- package/dist/chunks/{location-cadbnk3n.js → location-k2v3a0tj.js} +16 -16
- package/dist/chunks/{location-966y4f2f.js → location-k58rqv26.js} +6 -6
- package/dist/chunks/{location-8a6ws7jr.js → location-k70p9jzb.js} +7 -7
- package/dist/chunks/{location-atrnmt3x.js → location-kf8rbkby.js} +22 -22
- package/dist/chunks/{location-6mkt9mm7.js → location-m46z4pcf.js} +302 -302
- package/dist/chunks/{location-9dpd9382.js → location-m55qy151.js} +8 -8
- package/dist/chunks/{location-wnbbbc1f.js → location-m9an57nd.js} +8 -8
- package/dist/chunks/{location-g9fnv454.js → location-mc5akg63.js} +30 -30
- package/dist/chunks/{location-33w4ejhs.js → location-mfqp6xfm.js} +7 -7
- package/dist/chunks/{location-c529yjm2.js → location-mn8ry2gg.js} +13 -13
- package/dist/chunks/{location-2btnaz5j.js → location-mq882t6m.js} +10 -10
- package/dist/chunks/{location-x4s254pk.js → location-mt66mygc.js} +9 -9
- package/dist/chunks/{location-0r16tc9t.js → location-mt74ad40.js} +6 -6
- package/dist/chunks/{location-46f7t24m.js → location-mw9b1c9f.js} +9 -9
- package/dist/chunks/{location-dq9pghd8.js → location-mye8z46x.js} +17 -17
- package/dist/chunks/{location-1ffbm2jk.js → location-n0kpyt58.js} +8 -8
- package/dist/chunks/{location-32vwv81y.js → location-n7yx15r7.js} +2 -2
- package/dist/chunks/{location-f3nmm34k.js → location-na7ss97r.js} +14 -14
- package/dist/chunks/{location-tgzbhyj9.js → location-np6bm2as.js} +3 -3
- package/dist/chunks/{location-85xxa1xb.js → location-nqxj0yn4.js} +1 -1
- package/dist/chunks/{location-3bnybhwv.js → location-nxpp2y2e.js} +9 -9
- package/dist/chunks/{location-3bc8czyk.js → location-nyqx1cb3.js} +3 -3
- package/dist/chunks/{location-ngkn9htn.js → location-p0cpcvwn.js} +13 -13
- package/dist/chunks/{location-rp0hxcbj.js → location-p3pp3bgs.js} +12 -12
- package/dist/chunks/{location-czfptnv9.js → location-pa8pe2x7.js} +3 -3
- package/dist/chunks/{location-rg98346q.js → location-pbavp9d4.js} +10 -10
- package/dist/chunks/{location-b0cjfwep.js → location-pjvjbv32.js} +10 -10
- package/dist/chunks/{location-1g96y08y.js → location-pnaxc6j9.js} +7 -7
- package/dist/chunks/{location-jhdf29st.js → location-pnzf6mjf.js} +1 -1
- package/dist/chunks/{location-qjskteme.js → location-ppc2pnsb.js} +4 -4
- package/dist/chunks/{location-cy5473yv.js → location-pqxmmrpw.js} +52 -52
- package/dist/chunks/{location-sx4ak346.js → location-py28mc1m.js} +8 -8
- package/dist/chunks/{location-8sze2n9a.js → location-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-0j77ygfz.js → location-q0xm7vwc.js} +4 -4
- package/dist/chunks/{location-tprb9ykm.js → location-qa96c720.js} +7 -7
- package/dist/chunks/{location-3ra60fwk.js → location-qh3vb1tn.js} +8 -8
- package/dist/chunks/{location-w86wbf1j.js → location-qhqe7njz.js} +34 -34
- package/dist/chunks/{location-djszqvmq.js → location-qmqgtz8f.js} +7 -7
- package/dist/chunks/{location-e3bfyvz4.js → location-qmxh83kc.js} +45 -45
- package/dist/chunks/{location-kxg060tx.js → location-qr0pk10y.js} +19 -19
- package/dist/chunks/{location-7s5y6dw1.js → location-qww9nh48.js} +39 -39
- package/dist/chunks/{location-p0aj1n0s.js → location-qxp4d2xp.js} +15 -15
- package/dist/chunks/{location-nw13281a.js → location-r58s4v78.js} +7 -7
- package/dist/chunks/{location-6sqw58ss.js → location-r5atvkz9.js} +8 -8
- package/dist/chunks/{location-3k3te7za.js → location-rb6kc9en.js} +4 -4
- package/dist/chunks/{location-bfdarn04.js → location-rf5ebq4s.js} +22 -22
- package/dist/chunks/{location-3nchn6gg.js → location-rmg8r6ny.js} +8 -8
- package/dist/chunks/{location-6eebjgwm.js → location-rnffhph3.js} +1 -1
- package/dist/chunks/{location-qpg39g1v.js → location-s1rrpmaa.js} +23 -23
- package/dist/chunks/{location-s0828w64.js → location-sdq79vbt.js} +18 -18
- package/dist/chunks/{location-js51bcx5.js → location-sfe13qt9.js} +15 -15
- package/dist/chunks/{location-6jt2mj9c.js → location-smz349yv.js} +25 -25
- package/dist/chunks/{location-ntemkh0x.js → location-spvg49p3.js} +30 -30
- package/dist/chunks/{location-zc6x355b.js → location-sws9dtgm.js} +3 -3
- package/dist/chunks/{location-jfqtm2ew.js → location-t2fc4mz5.js} +3 -3
- package/dist/chunks/{location-8pxk0waf.js → location-t5z5wvj2.js} +4 -4
- package/dist/chunks/{location-s7ng95pt.js → location-t6wbbrfa.js} +24 -24
- package/dist/chunks/{location-qam56xsc.js → location-t7cpp3m0.js} +1 -1
- package/dist/chunks/{location-bf4gbvg4.js → location-t9ew0xaf.js} +7 -7
- package/dist/chunks/{location-v85wqnzs.js → location-t9xcwzrx.js} +13 -13
- package/dist/chunks/{location-ayk9da8a.js → location-ta6y1msd.js} +63 -63
- package/dist/chunks/{location-n21dbq43.js → location-thkbvcgx.js} +1 -1
- package/dist/chunks/{location-ax1c0hpd.js → location-tnr8ce74.js} +27 -27
- package/dist/chunks/{location-8tb93y3v.js → location-tz3m3brz.js} +4 -4
- package/dist/chunks/{location-dca2v3qb.js → location-v7yprycd.js} +8 -8
- package/dist/chunks/{location-756q5zcd.js → location-v8jdkmfs.js} +12 -12
- package/dist/chunks/{location-h12ndvyr.js → location-v9tbcfk2.js} +11 -11
- package/dist/chunks/{location-kpgz6ev9.js → location-vaskyz0h.js} +29 -29
- package/dist/chunks/{location-as7cf5zz.js → location-vn72gsba.js} +1 -1
- package/dist/chunks/{location-3msgmyha.js → location-w0nqy3aq.js} +5 -5
- package/dist/chunks/{location-9de4qsp2.js → location-wb7mg7fb.js} +6 -6
- package/dist/chunks/{location-eye44qas.js → location-wbt9zsn3.js} +7 -7
- package/dist/chunks/{location-da7cwfsq.js → location-wp8xfje7.js} +22 -22
- package/dist/chunks/{location-tkj00vfs.js → location-ws2bx7td.js} +1 -1
- package/dist/chunks/{location-nbrfrcy0.js → location-wt19589t.js} +2 -2
- package/dist/chunks/{location-rza1ksjw.js → location-x2tcbxjk.js} +26 -26
- package/dist/chunks/{location-d8q1c04z.js → location-xfgbrct6.js} +15 -15
- package/dist/chunks/{location-kjms2vrd.js → location-xn2v0njk.js} +9 -9
- package/dist/chunks/{location-z86epv9q.js → location-xpfnkknw.js} +28 -28
- package/dist/chunks/{location-a7jqre2k.js → location-xpg5nf0s.js} +28 -28
- package/dist/chunks/{location-gknjsggn.js → location-xpt096d7.js} +1 -1
- package/dist/chunks/{location-8tt02aa5.js → location-xs12am9p.js} +5 -5
- package/dist/chunks/{location-sejb9e2v.js → location-xvf4b5tc.js} +22 -22
- package/dist/chunks/{location-09asyzbj.js → location-y0hnatt9.js} +13 -13
- package/dist/chunks/{location-asbt5hc3.js → location-y4eq9c7t.js} +9 -9
- package/dist/chunks/{location-4nj4bn9q.js → location-y56ehv6b.js} +3 -3
- package/dist/chunks/{location-mjac82m3.js → location-y7rk29wk.js} +12 -12
- package/dist/chunks/{location-2d0zrvb9.js → location-ya99b1bg.js} +127 -127
- package/dist/chunks/{location-ayf7de5y.js → location-yb1pbjke.js} +23 -23
- package/dist/chunks/{location-19asy4jh.js → location-yjzd8xzf.js} +9 -9
- package/dist/chunks/{location-5dkn69vz.js → location-yrcj3v3g.js} +3 -3
- package/dist/chunks/{location-brwsd5y5.js → location-ywcwnstf.js} +10 -10
- package/dist/chunks/{location-69y7y1vt.js → location-yx4j6h9t.js} +75 -75
- package/dist/chunks/{location-wgrzeraf.js → location-z8nhrpf5.js} +17 -17
- package/dist/chunks/{location-2vs2nh1n.js → location-zcrspsvn.js} +3 -3
- package/dist/chunks/{location-ek753qrj.js → location-zdw14zwb.js} +8 -8
- package/dist/chunks/{location-r23aaksv.js → location-zg3gffzg.js} +1 -1
- package/dist/chunks/{location-b3f8fkhc.js → location-zyk1yjk8.js} +3 -3
- package/dist/chunks/{location-x45ymrje.js → location-zzz4tyg8.js} +25 -25
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +66 -66
- package/dist/config/discovery.js +59 -59
- package/dist/config/normalize.js +72 -72
- package/dist/config/plugin/agent.js +87 -87
- package/dist/config/plugin/command.js +165 -165
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/compatibility.js +103 -103
- package/dist/config/plugin/formatter.js +86 -86
- package/dist/config/plugin/image.js +85 -85
- package/dist/config/plugin/instruction.js +66 -66
- package/dist/config/plugin/location-watcher.js +85 -85
- package/dist/config/plugin/mcp.js +92 -92
- package/dist/config/plugin/policy.js +86 -86
- package/dist/config/plugin/provider.js +85 -85
- package/dist/config/plugin/reference.js +87 -87
- package/dist/config/plugin/shell.js +87 -87
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +106 -106
- package/dist/config/plugin/snapshot.js +85 -85
- package/dist/config/plugin/source.js +88 -88
- package/dist/config/plugin/tool-output.js +86 -86
- package/dist/config/plugin/websearch.js +86 -86
- package/dist/config/plugin/worktree.js +87 -87
- package/dist/config/variable.js +2 -2
- package/dist/config.js +85 -85
- package/dist/credential.js +60 -60
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- 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 +9 -9
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +232 -232
- package/dist/environment/environment.js +67 -67
- package/dist/environment/index.js +69 -69
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +78 -78
- package/dist/file-mutation.js +68 -68
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +177 -177
- package/dist/filesystem/search.js +75 -75
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +8 -8
- package/dist/filesystem.js +78 -78
- package/dist/form.js +59 -59
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +64 -64
- package/dist/generate.js +74 -74
- package/dist/git.js +2 -2
- 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 +74 -74
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +307 -307
- package/dist/instruction-discovery.js +65 -65
- package/dist/instructions/builtins.js +64 -64
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +64 -64
- package/dist/job.js +58 -58
- package/dist/kv.js +52 -52
- package/dist/location-activity.js +51 -51
- package/dist/location-lifecycle.js +81 -81
- package/dist/location-service-map.js +63 -63
- package/dist/location-services.js +306 -306
- package/dist/location.js +58 -58
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +98 -98
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +64 -64
- package/dist/modal/models.js +74 -74
- package/dist/model-resolver.js +73 -73
- package/dist/model.js +71 -71
- package/dist/models-dev.js +81 -81
- package/dist/permission/saved.js +62 -62
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +59 -59
- package/dist/plugin/command.js +74 -74
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +170 -170
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +280 -280
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +70 -70
- package/dist/plugin/module.js +86 -86
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +65 -65
- package/dist/plugin/provider/azure.js +86 -86
- package/dist/plugin/provider/chatgpt.js +67 -67
- package/dist/plugin/provider/cloudflare-ai-gateway.js +83 -83
- package/dist/plugin/provider/cloudflare-workers-ai.js +83 -83
- package/dist/plugin/provider/configured.js +82 -82
- package/dist/plugin/provider/digitalocean.js +67 -67
- package/dist/plugin/provider/github-copilot.js +69 -69
- package/dist/plugin/provider/gitlab.js +67 -67
- package/dist/plugin/provider/google-vertex.js +83 -83
- package/dist/plugin/provider/llmgateway.js +59 -59
- package/dist/plugin/provider/lmstudio.js +86 -86
- package/dist/plugin/provider/local.js +83 -83
- package/dist/plugin/provider/modal.js +67 -67
- package/dist/plugin/provider/ollama.js +86 -86
- package/dist/plugin/provider/openai.js +68 -68
- package/dist/plugin/provider/opencode.js +70 -70
- package/dist/plugin/provider/openrouter.js +66 -66
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/prompt-cache-key.js +65 -65
- package/dist/plugin/provider/sap-ai-core.js +65 -65
- package/dist/plugin/provider/snowflake-cortex.js +84 -84
- package/dist/plugin/provider/vercel.js +65 -65
- package/dist/plugin/provider/vllm.js +86 -86
- package/dist/plugin/provider/xai.js +66 -66
- package/dist/plugin/provider.js +121 -121
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +100 -100
- package/dist/plugin/supervisor.js +298 -298
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/vcs/git.js +63 -63
- package/dist/plugin/vcs/hg.js +63 -63
- package/dist/plugin/verbosity.js +68 -68
- package/dist/plugin/warming.js +84 -84
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +179 -179
- package/dist/project.js +57 -57
- package/dist/provider.js +70 -70
- package/dist/pty.js +67 -67
- package/dist/reference/instructions.js +67 -67
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +60 -60
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +63 -63
- package/dist/session/command.js +57 -57
- package/dist/session/compaction.js +101 -101
- package/dist/session/context.js +117 -117
- package/dist/session/diff.js +63 -63
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +109 -109
- package/dist/session/execution.js +95 -95
- package/dist/session/generate.js +116 -116
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +63 -63
- 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 +71 -71
- package/dist/session/model-request.js +87 -87
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +98 -98
- package/dist/session/projector.js +62 -62
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +64 -64
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +181 -181
- package/dist/session/runner/model.js +69 -69
- package/dist/session/runner/publish-llm-event.js +84 -84
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +92 -92
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +126 -126
- package/dist/session/shell.js +96 -96
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +161 -161
- package/dist/session/title.js +120 -120
- package/dist/session/to-session-error.js +83 -83
- package/dist/session/transfer.js +103 -103
- package/dist/session.js +176 -176
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +8 -8
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +81 -81
- package/dist/skill.js +84 -84
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +97 -97
- package/dist/tool/plugin/edit.js +93 -93
- package/dist/tool/plugin/glob.js +96 -96
- package/dist/tool/plugin/grep.js +92 -92
- package/dist/tool/plugin/mcp-resource.js +89 -89
- package/dist/tool/plugin/opencode.js +83 -83
- package/dist/tool/plugin/patch.js +87 -87
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +91 -91
- package/dist/tool/plugin/shell.js +169 -169
- package/dist/tool/plugin/skill.js +81 -81
- package/dist/tool/plugin/subagent.js +168 -168
- package/dist/tool/plugin/webfetch.js +85 -85
- package/dist/tool/plugin/websearch.js +87 -87
- package/dist/tool/plugin/write.js +95 -95
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +66 -66
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +68 -68
- package/dist/vcs.js +66 -66
- package/dist/websearch.js +64 -64
- package/dist/wellknown/plugin.js +56 -56
- package/dist/wellknown.js +63 -63
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +61 -61
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/strategies.js +65 -65
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/location-5t9rrsta.js +0 -26
- package/dist/chunks/location-hed9jrmp.js +0 -253
- /package/dist/chunks/{location-b564mtnb.js → location-08mjp3pt.js} +0 -0
- /package/dist/chunks/{location-fegk541e.js → location-0t098hqn.js} +0 -0
- /package/dist/chunks/{location-wfyw2gqh.js → location-3xqh13de.js} +0 -0
- /package/dist/chunks/{location-hekf1c5w.js → location-efgnm1d6.js} +0 -0
- /package/dist/chunks/{location-shfh3dfx.js → location-w0pdyb55.js} +0 -0
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./location-
|
|
10
|
+
} from "./location-asvfb1gz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./location-9rqn6x4v.js";
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID4.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-dzt4t18k.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make8 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make8();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-
|
|
2
|
+
ID10,
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-h72xck84.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./location-
|
|
7
|
+
} from "./location-7wpc5jwh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./location-
|
|
9
|
+
Service59
|
|
10
|
+
} from "./location-1g5f91mn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service55,
|
|
13
13
|
args2
|
|
14
|
-
} from "./location-
|
|
14
|
+
} from "./location-6tyzbyh4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./location-
|
|
16
|
+
Service25
|
|
17
|
+
} from "./location-4vvqa2vj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./location-
|
|
19
|
+
make11
|
|
20
|
+
} from "./location-dhddhhrc.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
23
|
} from "./location-8m6m0r52.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin8
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin8 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service59;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin36 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service55;
|
|
60
|
+
const sessions = yield* Service25;
|
|
61
|
+
const agents = yield* Service69;
|
|
62
|
+
const subagents = yield* make11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin36 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin8, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -113,7 +113,7 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make22({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -125,4 +125,4 @@ var make14 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2, update3, make14,
|
|
128
|
+
export { render2, update3, make14, exports_instructions2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./location-
|
|
4
|
+
} from "./location-6t1m34v8.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
7
|
} from "./location-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./location-
|
|
11
|
+
} from "./location-by659cs7.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
14
|
} from "./location-ec1grn59.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./location-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./location-
|
|
20
|
+
} from "./location-arz7hw7x.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service42,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node44,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service42 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service42, make16());
|
|
231
|
+
var node44 = makeGlobalNode({ service: Service42, layer: layer20, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make16, layer20, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./location-
|
|
4
|
+
} from "./location-6t1m34v8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./location-
|
|
8
|
+
} from "./location-by659cs7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./location-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./location-
|
|
14
|
+
} from "./location-j8s9ab9g.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./location-ec1grn59.js";
|
|
@@ -20,77 +20,77 @@ import {
|
|
|
20
20
|
} from "./location-9e5bzkjp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./location-
|
|
23
|
+
} from "./location-vn72gsba.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./location-
|
|
26
|
+
} from "./location-yrcj3v3g.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./location-
|
|
30
|
+
} from "./location-r5atvkz9.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./location-
|
|
32
|
+
Service67,
|
|
33
|
+
node71
|
|
34
|
+
} from "./location-y7rk29wk.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./location-
|
|
36
|
+
Service16,
|
|
37
|
+
node18
|
|
38
|
+
} from "./location-smz349yv.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
41
|
} from "./location-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
43
|
+
Service30,
|
|
44
44
|
node34
|
|
45
|
-
} from "./location-
|
|
45
|
+
} from "./location-n0kpyt58.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./location-
|
|
48
|
+
} from "./location-zzz4tyg8.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./location-
|
|
50
|
+
make5
|
|
51
|
+
} from "./location-zyk1yjk8.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./location-
|
|
54
|
+
} from "./location-ey3qhexw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service8,
|
|
57
|
+
node10,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./location-
|
|
59
|
+
} from "./location-qhqe7njz.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./location-
|
|
61
|
+
Service27,
|
|
62
|
+
node31
|
|
63
|
+
} from "./location-yx4j6h9t.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./location-
|
|
68
|
+
} from "./location-t9xcwzrx.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./location-
|
|
72
|
+
node3
|
|
73
|
+
} from "./location-xvf4b5tc.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./location-
|
|
76
|
+
Service41
|
|
77
|
+
} from "./location-zcrspsvn.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./location-
|
|
79
|
+
node51
|
|
80
|
+
} from "./location-rf5ebq4s.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./location-
|
|
82
|
+
node60
|
|
83
|
+
} from "./location-f2mw6jyj.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./location-
|
|
86
|
+
make3
|
|
87
|
+
} from "./location-mye8z46x.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./location-
|
|
89
|
+
Service31
|
|
90
|
+
} from "./location-dxj72tfx.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./location-
|
|
92
|
+
node23
|
|
93
|
+
} from "./location-bem8en1s.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
96
|
} from "./location-y44na4kk.js";
|
|
@@ -102,24 +102,24 @@ import {
|
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service83;
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
114
|
+
const lifecycle = yield* Service16;
|
|
115
|
+
const store = yield* Service67;
|
|
116
|
+
const context = yield* Service27;
|
|
117
|
+
const modelTransport = yield* Service30;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service8;
|
|
120
|
+
const plugins = yield* Service31;
|
|
121
|
+
const title = yield* Service2;
|
|
122
|
+
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make5(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service41.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node2 = makeLocationNode({
|
|
362
|
+
service: Service41,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
365
|
node87,
|
|
366
|
-
|
|
366
|
+
node18,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
368
|
+
node31,
|
|
369
369
|
node34,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
370
|
+
node71,
|
|
371
|
+
node10,
|
|
372
|
+
node23,
|
|
373
|
+
node3,
|
|
374
|
+
node51,
|
|
375
|
+
node60,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node2, exports_llm };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./location-
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./location-2fpnaz5h.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./location-
|
|
17
|
+
Service76,
|
|
18
|
+
node80
|
|
19
|
+
} from "./location-m46z4pcf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./location-
|
|
21
|
+
Service52,
|
|
22
|
+
node55
|
|
23
|
+
} from "./location-py28mc1m.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service75,
|
|
29
|
+
node79,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./location-
|
|
31
|
+
} from "./location-83vepgva.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./location-9rqn6x4v.js";
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service51,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer23,
|
|
51
|
+
node: () => node54,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service51 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -270,12 +270,12 @@ var causeMessage = (cause) => {
|
|
|
270
270
|
};
|
|
271
271
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
272
272
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
273
|
-
var
|
|
274
|
-
const providers = yield*
|
|
275
|
-
const models = yield*
|
|
276
|
-
const integrations = yield*
|
|
273
|
+
var layer23 = Layer.effect(Service51, Effect.gen(function* () {
|
|
274
|
+
const providers = yield* Service76;
|
|
275
|
+
const models = yield* Service75;
|
|
276
|
+
const integrations = yield* Service77;
|
|
277
277
|
const npm = yield* Npm.Service;
|
|
278
|
-
const aisdk = yield*
|
|
278
|
+
const aisdk = yield* Service52;
|
|
279
279
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
280
280
|
const provider = yield* providers.get(selected.providerID);
|
|
281
281
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -305,7 +305,7 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
305
305
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
return
|
|
308
|
+
return Service51.of({
|
|
309
309
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
310
310
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
311
311
|
if (!selected)
|
|
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
322
322
|
const name = packageName2(packageName);
|
|
323
323
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
service:
|
|
327
|
-
layer:
|
|
328
|
-
deps: [
|
|
325
|
+
var node54 = makeLocationNode({
|
|
326
|
+
service: Service51,
|
|
327
|
+
layer: layer23,
|
|
328
|
+
deps: [node80, node79, node81, Npm.node, node55]
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
331
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node54, exports_model_resolver };
|