Whether polyman runs under an agent runner (POLYMAN_AGENT=1). In agent mode there are no spinners and no progress bars that redraw lines, and colors are off. Any future progress output must check this first.
POLYMAN_AGENT=1
Environment variables to read
True when POLYMAN_AGENT is 1
POLYMAN_AGENT
1
if (isAgentMode()) console.error('step 3 done'); Copy
if (isAgentMode()) console.error('step 3 done');
Whether polyman runs under an agent runner (
POLYMAN_AGENT=1). In agent mode there are no spinners and no progress bars that redraw lines, and colors are off. Any future progress output must check this first.