In this paper we present a high-gain free-electron-laser (FEL) oscillator scheme composed of two oscillators that are ideally coupled unidirectionally, with the coupled signal power flowing from the master to the amplifier oscillator. Electron bunches driving the oscillators are in perfect synchronization with the optical pulses building up within the respective cavities. The scheme is applied to a 100 MeV range superconducting energy recovery linac FEL. The computed mJ level, ultrashort pulse (<10 cycles) output in the midinfrared region indicates the potential of the proposed FEL oscillator scheme in driving upfrequency conversion processes in the x-ray region, enabling tunable, high average brightness, attosecond scale coherent soft/hard x-ray sources.