IAddon for the VS Code vessel. Construction is pure; initialize! starts a hive-vessel.executor.sse bridge on loopback (token-gated, every browser Origin refused), writes the discovery file the extension reads, builds the hive-vessel target and hands it to an injected :vessel/register-target-fn.
IAddon for the VS Code vessel. Construction is pure; initialize! starts a hive-vessel.executor.sse bridge on loopback (token-gated, every browser Origin refused), writes the discovery file the extension reads, builds the hive-vessel target and hands it to an injected :vessel/register-target-fn.
(addon-ctor config)hive-addon.mount constructor: config -> uninitialized IAddon.
hive-addon.mount constructor: config -> uninitialized IAddon.
(bridge-of a)The hive-vessel.executor.sse bridge of an initialized ADDON, or nil.
The hive-vessel.executor.sse bridge of an initialized ADDON, or nil.
(discovery-path xdg-runtime-dir)Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).
Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).
(make-addon)(make-addon seed)Uninitialized IAddon. No bridge, file or registry mutation occurs.
Uninitialized IAddon. No bridge, file or registry mutation occurs.
(new-token)32 hex chars from a SecureRandom.
32 hex chars from a SecureRandom.
(parse-reply raw)A window's raw POST body as a string-keyed map; an unparseable body becomes a failed reply.
A window's raw POST body as a string-keyed map; an unparseable body becomes a failed reply.
(replies a)Parsed replies retained by an initialized ADDON's bridge (latest 100), or nil.
Parsed replies retained by an initialized ADDON's bridge (latest 100), or nil.
(target b)hive-vessel target executing :json natives through the sse BRIDGE.
hive-vessel target executing :json natives through the sse BRIDGE.
IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil before initialize! and after shutdown!.
IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil before initialize! and after shutdown!.
(vessel-target a)The hive-vessel target of an initialized ADDON, or nil.
The hive-vessel target of an initialized ADDON, or nil.
(write-private! path content)Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.
Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |