Repository navigation
fix: Windows clipboard paste and companion path handling - #102
Open
braincoded wants to merge 1 commit into
Open
braincoded wants to merge 1 commit into
braincoded wants to merge 1 commit into
Conversation
Replace Unicode inequality with ASCII <> in shipped agentic-fm scripts so Windows clipboard pastes do not mojibake calculations into commented-out formulas. Improve Get agentic-fm path to re-prompt on invalid folders, make Explode XML fall back when ConvertFromFileMakerPath returns ?, and teach the companion native Windows Desktop/repo overrides plus UTF-8 subprocess I/O. Co-authored-by: Cursor <cursoragent@cursor.com>
Author
|
@petrowsky Could you take a look when you have a moment? This hardens Windows clipboard paste (Unicode |
This branch has not been deployed
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
agentic-fmscripts Windows-clipboard-safe by using ASCII<>instead of Unicode≠(avoids mojibake that FileMaker wraps in/* ... */and silently disables).Get agentic-fm pathto clear a bad stored path and re-prompt for the folder instead of only showing an error.Explode XMLfall back to manual/C:/...→/c/...conversion whenConvertFromFileMakerPath(...; 1)returns?on Windows.repo_path_overridehandling, and UTF-8 subprocess I/O forfmparse/fmcontext.automation.json.examplefor Windows overrides; add native Windows clipboard support toclipboard.py.Test plan
python3 agent/scripts/clipboard.py write filemaker/agentic-fm.xmland paste theagentic-fmfolder into a solution; confirmIfcalculations use<>and are not commented outGet agentic-fm path, select the repo root; confirmAGENTIC.FMis valid JSON with a trailing slash pathAGENTIC.FMpath, re-runGet agentic-fm path, confirm it re-promptsautomation.jsonoverrides set, runExplode XMLon Windows and confirmFinished(noexport_file_path is '?')Explode XMLstill work