DEKIT_DATA_DIRnames dekit's data directory on every system, in
place of the one underXDG_DATA_HOMEorLOCALAPPDATA. On Windows
the runners' records move with it, so a service running as SYSTEM can
keep them where an administrator finds themstd.process.exec(cmd, args, {cwd, env}): run the program in another
directory, and set or (withnull) remove environment variables for itpty: falseruns a task on pipes instead of a terminal: its log
holds exactly the bytes it wrote. On Windows a terminal task's log is
ConPTY's redrawn screen, cursor movements and alluser: <name>runs a task as that user on Unix, with its groups and
HOME,USER,LOGNAME,SHELL; the runner must run as rootsession: user | adminruns a task on the desktop of the user signed
in at a Windows console, with their standard or administrator token;
the runner must run as SYSTEM- Windows: every task runs in a job object, so stopping it also stops
the processes it started - Windows: a runner started by a command whose output is being read
(std.process.exec, a captureddekit up) no longer holds that pipe,
which kept the reader waiting forever - The console now runs in
dekitrather than as a task in the
runner; an older runner needsdekit runner upgradebefore the
console can show it - The console shows a service as
STARTINGuntil its ready check
passes, and a task winding down asSTOPPING, instead ofUP(#253) - A group's count in the console takes the tasks that are ready:
services up and jobs done, so a group of finished jobs reads2/2.
A running job shows asRUNNING, a task waiting to restart after a
clean exit asRESTARTING, and a group turns yellow while a task in
it is on its way. A service that exited with 0 shows asDOWN, not
DOWN (0)(#257) - The console shows a task killed by a signal as
DOWN (signal 9)or
FAILED (signal 9), and one that could not run at all asFAILED,
instead ofDOWN; either counts as failed in its group - The console shows a started task that waits for its deps to get ready
asWAITING, instead ofDOWN, and asBLOCKEDwhen a dep won't get
ready by itself, which counts as failed in its group;dekit lsshows
it asidle (waiting on deps)or
idle (blocked by deps). A task's state haswanted: truewhen it is
started or a started task needs it, andlive: truewhile dekit will
run it without anyone acting (#256) - A task keeps its deps up only while its run goes on: once a job is
done, or a task exits and won't be restarted, its deps stop unless
something else needs them, and a task that needs the done job no
longer waits on them. List a dep on every task that uses it projects:in the user config lists your projects: roots, and
~/projects/*for every dir in a folder. The console'sswitchtab (<P>)
shows them, running or notdekit project listshows what the list comes totoggle-all-projects, in the console's commands menu, shows the
tasks of every running project, each under a row of its own; again,
it goes back to one project. It has no default keydekit logs [TARGET...]prints merged task logs with-f,-n,
--since,--no-prefix, and--json- A key binding can be several keys typed one after another, written as
in vim:gg,<C-w>v keymap.globalholds bindings for every focus, over the focus's ownkeymap.<name>is a table of bindings thatopen-tableopens for
the next binding, from any key;send-openersends the keys that
opened it, and<opener>binds them. By default<C-a>in
keymap.globalnow opensleaderinstead of toggling focus directly:
<C-a><Tab>toggles the focus, and<C-a><C-a>sends<C-a>to the
task. User configs that previously unbound or rebound<C-a>in
tasks,term, orterm_copyshould unbind or rebind it in
keymap.globalscroll-to-bottom, bound to<End>, jumps back to the bottom of the
task screen or copy-mode snapshot- Key bindings work on non-Latin layouts: a key that types no ASCII
character counts as the US key in its place, when the terminal
reports it - Restore the terminal's own cursor style at exit instead of leaving
xterm/rxvt with a blinking block (#254) - Fix the console opening on a collapsed folder instead of the first
row (#255). It opens on the first row, a folder or a task, and leaves
a collapsed folder collapsed - RPC:
watch,write_back, andlogsmethods;reloadplan; the
screen-stateevent,scroll-to-bottomscreen command, and
cursor_resetin terminal capabilities