Liking cljdoc? Tell your friends :D

vaelii.agents.mcp.server

Production entry point for the Vaelii MCP server.

A4: The production startup path MUST NOT construct a RecordingAuditSink or any in-memory test sink. The A1 adapter is mandatory.

Production entry point for the Vaelii MCP server.

A4: The production startup path MUST NOT construct a RecordingAuditSink
or any in-memory test sink. The A1 adapter is mandatory.
raw docstring

-mainclj

(-main & args)
source

browser-start-optsclj

(browser-start-opts opts)

The opts web/start is given for the browser. :token is present only when --browser-token-file names one; without it the key is absent and the engine reads VAELII_API_TOKEN, which a non-loopback bind requires.

The opts `web/start` is given for the browser. `:token` is present only when
`--browser-token-file` names one; without it the key is absent and the engine
reads `VAELII_API_TOKEN`, which a non-loopback bind requires.
sourceraw docstring

check-browser-bind!clj

(check-browser-bind! browser-opts)

The engine's public-bind rule, applied before any store opens: a non-loopback browser host with no token throws :unauthorized here rather than after the forks are provisioned. The same guard and fallback web/start applies.

The engine's public-bind rule, applied before any store opens: a non-loopback
browser host with no token throws `:unauthorized` here rather than after the
forks are provisioned. The same guard and fallback `web/start` applies.
sourceraw docstring

parse-argsclj

(parse-args args)

The command-line flags -main reads, as an opts map. Unknown words are skipped.

The command-line flags `-main` reads, as an opts map. Unknown words are skipped.
sourceraw docstring

validate-audit-dir-custody!clj

(validate-audit-dir-custody! audit-dir forks-dir state-dir)

P1#5 + P2: the audit journal directory must be an absolute, symlink-free path outside /tmp, and must not equal, contain, or live inside the fork storage or authority state directories. All comparisons are canonical — a symlinked alias of forks-dir is still forks-dir. Throws :startup-failed.

P1#5 + P2: the audit journal directory must be an absolute, symlink-free
path outside /tmp, and must not equal, contain, or live inside the fork
storage or authority state directories. All comparisons are canonical —
a symlinked alias of forks-dir is still forks-dir. Throws :startup-failed.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close