Complete the core agent roadmap: soft KB hits via Task aliases, EventBus-backed view streaming, D4 writeback/workbook navigation, and I3 explicit-super without implicit auto-super. Co-authored-by: Cursor <cursoragent@cursor.com>
500 B
500 B
title: lib/sys — process description: Env, dotenv, cwd, args, exit, exec
lib/sys.mq.md
main
Import lib/sys.mq.md. Functions: env_get, env_set, load_dotenv(optional path), args, cwd, exit(code), exec(cmd), stream_publish(event). load_dotenv does not override existing variables. Under view, exit soft-fails instead of killing the process. stream_publish feeds the view SSE EventBus.
*d = > cwd *
*n = > len d *
n> 0
print text=cwd-ok
print text=cwd-empty