V1.3.0 #14
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
codetease/mep!14
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upgrade
curlandexecprompt so they're not experimental anymore.In this commit:
clear()method inCurlPromptto robustly reset cursor and screen state before launching sub-prompts.editHeadersandeditBodyto useclear()and force a full re-render upon return.In this commit:
Refactors
CurlPromptto use a Strategy pattern for generating shell-specific command strings.ShellStrategyinterface and implementations forBash,PowerShell, andCmd.curl-utils.tsto encapsulate shell logic.CurlPromptto auto-detect platform (defaults to PowerShell on Windows).@ -0,0 +1,43 @@export type ShellType = 'bash' | 'powershell' | 'cmd';Incomplete string escaping or encoding
This does not escape backslash characters in the input.
Show more details
In this commit:
inherit/ignorestdio withpipeto capture output streams.Ctrl+Csafely by killing the child process and rejecting the promise.stdoutandstderrto the error object on failure for better debugging.I'll do more tests with
execprompt.@ -0,0 +31,4 @@await MepCLI.exec({message: "Building project...",command: `node -e "${script.replace(/\n/g, ' ').replace(/"/g, '\\"')}"`Incomplete string escaping or encoding
This does not escape backslash characters in the input.
Show more details