Declarative /draft … slash tree.
Drafts are OPT-IN. By default a session works directly in the user's
real cwd (trunk). /draft new <label> clones cwd into an isolated
draft (an isolated workspace named <label>) and enters it; /draft apply
lands the draft's changes into cwd and leaves the draft; /draft abandon discards it and leaves. The header shows <label> (DRAFT)
while you're in one.
/draft show whether you're on trunk or in a draft /draft new <label> clone cwd into a draft named <label>, enter it /draft apply land the draft's changes into cwd, leave the draft /draft abandon [why] discard the draft, leave it /draft-blank <label> like /draft new, but the draft starts EMPTY — no files from the current HEAD are carried in
Filesystem (/cd) — session-scoped, every channel. What the jail ALLOWS is
derived from config (jail.filesystem in vis.yml, global or project); /cd
moves the session's PRIMARY LIVE root within that grant:
/cd [path] show / CHANGE the session's filesystem root
Vis owns no git lifecycle — apply copies the changed files into the
user's real cwd, uncommitted. Handlers are PURE w.r.t. the channel.
Declarative `/draft …` slash tree.
Drafts are OPT-IN. By default a session works directly in the user's
real cwd (trunk). `/draft new <label>` clones cwd into an isolated
draft (an isolated workspace named `<label>`) and enters it; `/draft apply`
lands the draft's changes into cwd and leaves the draft; `/draft
abandon` discards it and leaves. The header shows `<label> (DRAFT)`
while you're in one.
/draft show whether you're on trunk or in a draft
/draft new <label> clone cwd into a draft named <label>, enter it
/draft apply land the draft's changes into cwd, leave the draft
/draft abandon [why] discard the draft, leave it
/draft-blank <label> like /draft new, but the draft starts EMPTY —
no files from the current HEAD are carried in
Filesystem (`/cd`) — session-scoped, every channel. What the jail ALLOWS is
derived from config (`jail.filesystem` in vis.yml, global or project); `/cd`
moves the session's PRIMARY LIVE root within that grant:
/cd [path] show / CHANGE the session's filesystem root
Vis owns no git lifecycle — `apply` copies the changed files into the
user's real cwd, uncommitted. Handlers are PURE w.r.t. the channel.Declarative slash specs vec hooked onto foundation-core's manifest
via :ext/slash-commands. Capability checks happen when commands run.
Declarative slash specs vec hooked onto foundation-core's manifest via `:ext/slash-commands`. Capability checks happen when commands run.
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 |