feat: add /ego-mgr slash command and rename pcexec to pc-exec
Changes: 1. Add /ego-mgr slash command with subcommands: - get, set, list, delete, add-column, add-public-column, show - Uses pcExec to call ego-mgr binary with proper env vars 2. Rename pcexec → pc-exec throughout codebase: - Tool name: pcexec → pc-exec - Function exports: pcexec → pcExec, pcexecSync → pcExecSync - Updated all references in skills and plugin files 3. Translate all Chinese text to English: - ego-mgr-slash.ts responses - slash-commands.ts responses - SKILL.md files remain in English
This commit is contained in:
@@ -201,9 +201,9 @@ async function replaceSecretMgrGets(
|
||||
}
|
||||
|
||||
/**
|
||||
* Safe exec wrapper that handles pass_mgr get commands and sanitizes output.
|
||||
* Safe exec wrapper that handles secret-mgr get commands and sanitizes output.
|
||||
*/
|
||||
export async function pcexec(
|
||||
export async function pcExec(
|
||||
command: string,
|
||||
options: PcExecOptions = {},
|
||||
): Promise<PcExecResult> {
|
||||
@@ -297,9 +297,9 @@ export async function pcexec(
|
||||
|
||||
/**
|
||||
* Synchronous version — password substitution is NOT supported here
|
||||
* (use async pcexec for pass_mgr integration).
|
||||
* (use async pcExec for secret-mgr integration).
|
||||
*/
|
||||
export function pcexecSync(
|
||||
export function pcExecSync(
|
||||
command: string,
|
||||
options: PcExecOptions = {},
|
||||
): PcExecResult {
|
||||
@@ -336,4 +336,4 @@ export function pcexecSync(
|
||||
}
|
||||
}
|
||||
|
||||
export default pcexec;
|
||||
export default pcExec;
|
||||
|
||||
Reference in New Issue
Block a user