diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-11 22:48:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-11 22:48:06 +0300 |
| commit | 1c45c52c722f562c39c024f2a09fa37f57337d8a (patch) | |
| tree | 1128c3529a3f473a7caa51e3abd12c887e580624 /pi/agent/extensions/agent-plan-mode/utils.ts | |
| parent | dfbd14c57697b02af04f37252aa500fecaa37d6a (diff) | |
remove the path
Diffstat (limited to 'pi/agent/extensions/agent-plan-mode/utils.ts')
| -rw-r--r-- | pi/agent/extensions/agent-plan-mode/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pi/agent/extensions/agent-plan-mode/utils.ts b/pi/agent/extensions/agent-plan-mode/utils.ts index f388dff..8652333 100644 --- a/pi/agent/extensions/agent-plan-mode/utils.ts +++ b/pi/agent/extensions/agent-plan-mode/utils.ts @@ -1,12 +1,12 @@ /** Shown in prompts/docs for Pi skills and extensions (task CLI). */ -export const DO_CLI_REF = "~/go/bin/ask"; +export const DO_CLI_REF = "ask"; export function resolveDoExecutable(): string { return `${process.env.HOME ?? ""}/go/bin/ask`; } /** Full path and bare name for `ask`; legacy `do` prefixes still match old prompts/scripts. */ -const DO_INVOCATION_PREFIXES = ["~/go/bin/ask", "ask", "~/go/bin/do", "do"] as const; +const DO_INVOCATION_PREFIXES = ["ask", "ask", "~/go/bin/do", "do"] as const; /** Recognize task CLI invocations (prefer `ask`; `do` kept for backward compatibility). */ export function matchDoInvocation(trimmed: string): { rest: string } | undefined { |
