eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
1 lines • 421 B
JavaScript
const LOG_DISPLAY_MODES=[`all`,`stderr`,`sandbox`,`none`],LOG_DISPLAY_MODE_CYCLE=[`none`,`all`,`stderr`,`sandbox`];function parseLogDisplayMode(e){return LOG_DISPLAY_MODES.find(t=>t===e)}function nextLogDisplayMode(e){let t=LOG_DISPLAY_MODE_CYCLE.indexOf(e);return LOG_DISPLAY_MODE_CYCLE[(t+1)%LOG_DISPLAY_MODE_CYCLE.length]??`none`}export{LOG_DISPLAY_MODES,LOG_DISPLAY_MODE_CYCLE,nextLogDisplayMode,parseLogDisplayMode};