terminal-pilot 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +22 -26
- package/dist/cli.js.map +3 -3
- package/dist/commands/index.js +9 -14
- package/dist/commands/index.js.map +3 -3
- package/dist/commands/install.js +9 -14
- package/dist/commands/install.js.map +3 -3
- package/dist/commands/installer.js +9 -14
- package/dist/commands/installer.js.map +3 -3
- package/dist/commands/uninstall.js +0 -1
- package/dist/commands/uninstall.js.map +3 -3
- package/dist/testing/cli-repl.js +22 -26
- package/dist/testing/cli-repl.js.map +3 -3
- package/dist/testing/qa-cli.js +22 -26
- package/dist/testing/qa-cli.js.map +3 -3
- package/package.json +2 -1
package/dist/commands/index.js
CHANGED
|
@@ -5529,7 +5529,6 @@ import path8 from "node:path";
|
|
|
5529
5529
|
import os2 from "node:os";
|
|
5530
5530
|
import path9 from "node:path";
|
|
5531
5531
|
import * as nodeFs from "node:fs/promises";
|
|
5532
|
-
import { readFile as readFile2 } from "node:fs/promises";
|
|
5533
5532
|
var DEFAULT_INSTALL_AGENT = "claude-code";
|
|
5534
5533
|
var DEFAULT_INSTALL_SCOPE = "local";
|
|
5535
5534
|
var TERMINAL_PILOT_SKILL_NAME = "terminal-pilot";
|
|
@@ -5572,19 +5571,15 @@ async function loadTerminalPilotTemplate() {
|
|
|
5572
5571
|
if (terminalPilotTemplateCache !== void 0) {
|
|
5573
5572
|
return terminalPilotTemplateCache;
|
|
5574
5573
|
}
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
} catch (error2) {
|
|
5585
|
-
if (!isNotFoundError(error2)) {
|
|
5586
|
-
throw error2;
|
|
5587
|
-
}
|
|
5574
|
+
try {
|
|
5575
|
+
terminalPilotTemplateCache = await nodeFs.readFile(
|
|
5576
|
+
new URL("../templates/terminal-pilot.md", import.meta.url),
|
|
5577
|
+
"utf8"
|
|
5578
|
+
);
|
|
5579
|
+
return terminalPilotTemplateCache;
|
|
5580
|
+
} catch (error2) {
|
|
5581
|
+
if (!isNotFoundError(error2)) {
|
|
5582
|
+
throw error2;
|
|
5588
5583
|
}
|
|
5589
5584
|
}
|
|
5590
5585
|
throw new UserError("terminal-pilot skill template is missing.");
|