Enhance REPL commands and fix file handling issues#9
Merged
Conversation
added 6 commits
May 10, 2026 20:56
…files - FileSystemPlugin: track patch_file'd paths per turn; block write_file on the same path to prevent stale full-file overwrites clobbering applied patches - REPL system prompt: instruct the model not to create unsolicited summary, changelog, or status files
Allows setting MaxOutputTokens per session without restarting. Stored on ReplSessionContext and folded into ChatOptions by BuildChatOptions so it takes effect on the next request. Supports /max-tokens <n>, /max-tokens reset, and /max-tokens (show current value).
When --hitl is active and a shell-approval prompt fires (Allow? y/N), the user types 'y'. If that 'y' lands at the HITL continuation prompt instead (e.g. the user typed quickly after the previous turn), it was being treated as a redirect message, injecting the string "y" into the conversation and triggering a spurious checkpoint + resume cycle. - PromptContinueAsync now treats 'y'/'yes' as Enter (continue), matching user intent and eliminating the accidental redirect. - Prompt label updated: "Enter or y to continue" makes the shortcut discoverable and consistent with shell-approval muscle memory. - PromptShellCommandAsync now prints "Command allowed." on approval so there is a clear visual delimiter before the next prompt appears.
- graph: Entry → EntryNode; edges restructured from nested-per-node to flat Edges list with From/To fields (matches GraphConfig/GraphEdgeConfig) - graph tables: add missing Edges, MaxRetries, From, Parallel, Validators fields; remove non-existent Edges field from GraphNodeConfig; fix ShellFallbackPattern description (RequireWriteFile alternative, not a RequiredCommandPattern fallback) - keyword/statemachine: correct matching description from "strict alone on own line" to relaxed (start-of-line + whitespace/punctuation also fires) - graph: document that it uses strict matching (IsKeywordOnOwnLineStrict), which differs from keyword routing's relaxed IsKeywordOnOwnLine - comparison table and graph→keyword migration note updated accordingly
…8669 The compiler requires an explicit nullable directive in .Designer.cs files even when the project-level <Nullable>enable</Nullable> is set.
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.
No description provided.