Files
marqdo/lib/sys.mq.md
T
cflmyandCursor 2a9fceb51c Land OKF aliases, view SSE, workbook nav, and explicit parent ctor.
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>
2026-08-10 11:58:26 +08:00

768 B

title, description
title description
lib/sys English system wrappers (load_dotenv accepts optional path via host alias)

env_get

+ `name`

> host_env_get name=name

env_set

+ `name`
+ `value`

> host_env_set name=name value=value

load_dotenv

+ `path`=None

Load .env (optional named arg path=). Existing process env is not overridden.

> host_dotenv_load path=path

args

> host_args

cwd

> host_cwd

exit

+ `code`

> host_exit code=code

exec

+ `cmd`
+ `args`=None

> host_exec cmd=cmd args=args

stream_publish

+ `event`

Publish a stream event map onto the process EventBus (marqdo view SSE). No-op when nothing is subscribed.

> host_stream_publish event=event