Repository navigation
Tags
Tags
Put things where they belong, and say each once Nothing here changes what is shown. vigil-status.el is four files, by what each is for: what is read of a session, with every option (vigil-status-session.el); how it is drawn (vigil-status-views.el); the window beside (vigil-status-detail.el); and the buffer, its commands, its keys and the menu (vigil-status.el). What a command is for is told in one place, vigil-purpose.el: that it only looked, or wrote by its words, is one of its tags, and the three kinds a command is counted and drawn as come from them. Folding is vigil-ui.el's, for the review and the session's buffer alike. Every option is under one group, vigil. Said once where it was said several times: what changed, in a few words; showing a commit; going to a file's line and putting the windows there; a header line; asking git something once; a command of vigil.el's run in the agent's buffer. What nothing used is gone. Renamed, the old names still working: vigil-status-strip-width, the options and predicates of looking and writing, and the two commands that fold. The README's account of M-x vigil is in order, its keys in tables, and its options in one. 0.8.0.
Say what a command was for, and what it goes by An agent's command is seldom one thing. vigil-purpose.el says what one was for, from the command as text: writing code, tests or documentation, by the names of the files that differed after it; testing, checking, version control and setting up, by the programs it runs, which have to be where a program is, and not in what it is told to say. Commands says it of each command and counts them, a prompt's turn is summed up by it, and a timeline draws a run of tests or a check apart. Beside a command is why it was said to be each, the programs it runs and where they are, and of each Python program inside it what it imports, writes, reads and runs and how many assertions it makes: read off its syntax tree by Python's own parser, which is given it to parse and runs none of it. A step keeps the end of what its command printed: where a run of tests says how it went. 0.7.0.
Lay a command out to be read where it is shown whole, and say what sh… …ellcheck says A command beside the list in M-x vigil is laid out as a call's frame lays one out: printed again by shfmt with long chains broken, highlighted as shell, the programs inside it taken out to blocks of their own, formatted and highlighted in their language. Under it is what shellcheck says of it, warnings and errors. In a list, a command its agent did not describe is the command itself on one line, highlighted. What is copied is the command as it was given, and nothing of it is run. 0.6.0.
Tell a write by a command's words as well A redirection to a file, sed -i, or a program that writes, moves or removes files makes a command a write, whatever a snapshot says: that finds writes outside the repository, and writes where no snapshot is kept. One stream sent to another names no file and runs nothing. 0.5.3.
Tell a command that wrote files from one that ran something An agent writes files with commands as much as with its editing tools, and a turn's timeline was all commands. A command after which a snapshot says the files differed is a write: counted apart, and drawn as an edit is. An edit, which takes no time, is drawn where it was made. 0.5.2.
Tell a look from a command An agent reads mostly with shell commands. One whose programs only look, which writes no file with a redirection, and after which no snapshot says the files differed, is a look: counted apart from the commands, drawn as a read in a timeline, and left out of the list of commands unless asked for. The list says of each command whether it ran or wrote, and beside it is the command itself, whole: a step now keeps it. No line is left between one changed file and the next where their diffs are folded. 0.5.1.
Show what is at point beside the list, and each turn as a timeline M-x vigil is lists: a line a prompt, a command, a file, a commit. What the line at point led to is drawn in full in a window beside, which follows point: a prompt's calls and reply, a reply alone, a command, a file's diff, a commit. `v' puts it back under the line. Beside each prompt is its turn as a strip, as long as the turn was among the session's, each character the kind of call that took most of that share of it; the turn at point has the same as wide as its window. Asking a window its width selects it for a moment, which moved point in a buffer being laid out in a window that was not selected: its parts came out in the wrong order. 0.5.0.
Give each prompt what changed after it, and lay prompts and replies o… …ut as blocks A message sent while the agent works is kept under its turn's id, and was taken for the turn's first prompt: the files and lines of the whole turn were beside that one. Each prompt now has what changed between its own snapshot and the next prompt's. A prompt and a reply are each a block with a rule down its left side, filled to vigil-ui-text-width. Status lists its last prompts and the commits the last first. The keymaps are set each time their file is loaded, so that loading it again gives open buffers the new keys. 0.4.1.
Lay the session's buffers out, and show what is changing now M-x vigil and M-x vigil-review are laid out anew, with vigil-ui.el: sheets of labels, tables whose columns are aligned and fitted to the window, text that wraps at words and hangs under where it begins, the views as tabs in the tab line and the session in the header line, a mark at a line's beginning for whether it is folded. A buffer is laid out again when its window's width changes. Every face inherits a standard one. A Changes view (`l', M-x vigil-live, C-c C-w in an agent's buffer): the files that differ since the last prompt, the last written first, and each one's diff. M-x vigil reads its session again as the agent reports, and the Changes view follows the line that is new. C-c C-s in an agent's buffer is M-x vigil. `vigil snapshot --now' gives the last snapshot when the files are as it has them, and keeps no other. 0.4.0.
Say that a call failed, and when Claude Code reports a call that failed as an event of its own, PostToolUseFailure, which the record hook did not listen for: a command that failed was a call with no end, shown as running for good. The hook is now installed on it, and every reader takes it as a call that ended and failed, in the words pi's reports already use. `vigil doctor' says the records are partly on until `vigil setup' is run again. 0.3.1.
PreviousNext