terminal-pilot 0.0.22 → 0.0.23
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 +162 -72
- package/dist/cli.js.map +4 -4
- package/dist/commands/index.d.ts +35 -35
- package/dist/commands/index.js +22 -7
- package/dist/commands/index.js.map +4 -4
- package/dist/commands/install.js +15 -5
- package/dist/commands/install.js.map +4 -4
- package/dist/commands/installer.js +2 -2
- package/dist/commands/installer.js.map +3 -3
- package/dist/commands/screenshot.js +8 -3
- package/dist/commands/screenshot.js.map +4 -4
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/testing/cli-repl.js +162 -72
- package/dist/testing/cli-repl.js.map +4 -4
- package/dist/testing/qa-cli.js +162 -72
- package/dist/testing/qa-cli.js.map +4 -4
- package/node_modules/@poe-code/agent-skill-config/dist/apply.js +2 -4
- package/node_modules/@poe-code/agent-skill-config/dist/bridge-active-skills.js +8 -9
- package/node_modules/@poe-code/agent-skill-config/dist/error-codes.d.ts +1 -0
- package/node_modules/@poe-code/agent-skill-config/dist/error-codes.js +5 -0
- package/node_modules/@poe-code/agent-skill-config/dist/git-exclude.js +4 -6
- package/node_modules/@poe-code/agent-skill-config/dist/templates.js +2 -4
- package/package.json +1 -1
|
@@ -898,7 +898,7 @@ import { createHash, randomUUID as randomUUID3 } from "node:crypto";
|
|
|
898
898
|
import path8 from "node:path";
|
|
899
899
|
|
|
900
900
|
// src/errors.ts
|
|
901
|
-
function
|
|
901
|
+
function hasOwnErrorCode3(error2, code) {
|
|
902
902
|
return error2 instanceof Error && Object.prototype.hasOwnProperty.call(error2, "code") && error2.code === code;
|
|
903
903
|
}
|
|
904
904
|
|
|
@@ -908,7 +908,7 @@ var DEFAULT_INSTALL_SCOPE = "local";
|
|
|
908
908
|
var TERMINAL_PILOT_SKILL_NAME = "terminal-pilot";
|
|
909
909
|
var installableAgents = supportedAgents;
|
|
910
910
|
function isNotFoundError(error2) {
|
|
911
|
-
return
|
|
911
|
+
return hasOwnErrorCode3(error2, "ENOENT");
|
|
912
912
|
}
|
|
913
913
|
function resolveInstallerServices(installer) {
|
|
914
914
|
return {
|