Repository navigation
fix: the command line proves itself with a per-run key - #40
Merged
Merged
Conversation
…h start, not by its name The engine makes a new key on each start and writes it to cli.key in its data folder (mode 0600, created new, removed on stop). ./formvis cli reads it and sends it; only a request with that key skips the Ask question for convert_file and run_command. The X-Formvis-Client header names the caller and skips nothing. tool.call run_command in serve needs yes, as command.run does. The manual says what the command line is and is not asked about.
…s the engine does The engine reads FORMVIS_DATA_DIR and FORMVIS_PORTABLE from backend/.env when the environment does not set them; the command line now does the same when it looks for cli.key. The wiki's Agents page says what the key skips.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
How to ship