terminal-pilot 0.0.7 → 0.0.9
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 +66 -103
- package/dist/cli.js.map +4 -4
- package/dist/commands/close-session.js +33 -81
- package/dist/commands/close-session.js.map +3 -3
- package/dist/commands/create-session.js +33 -81
- package/dist/commands/create-session.js.map +3 -3
- package/dist/commands/fill.js +33 -81
- package/dist/commands/fill.js.map +3 -3
- package/dist/commands/get-session.js +33 -81
- package/dist/commands/get-session.js.map +3 -3
- package/dist/commands/index.js +41 -92
- package/dist/commands/index.js.map +4 -4
- package/dist/commands/install.js +2 -5
- package/dist/commands/install.js.map +4 -4
- package/dist/commands/installer.js +2 -5
- package/dist/commands/installer.js.map +4 -4
- package/dist/commands/list-sessions.js +33 -81
- package/dist/commands/list-sessions.js.map +3 -3
- package/dist/commands/press-key.js +33 -81
- package/dist/commands/press-key.js.map +3 -3
- package/dist/commands/read-history.js +33 -81
- package/dist/commands/read-history.js.map +3 -3
- package/dist/commands/read-screen.js +33 -81
- package/dist/commands/read-screen.js.map +3 -3
- package/dist/commands/resize.js +33 -81
- package/dist/commands/resize.js.map +3 -3
- package/dist/commands/runtime.js +33 -81
- package/dist/commands/runtime.js.map +3 -3
- package/dist/commands/screenshot.js +33 -81
- package/dist/commands/screenshot.js.map +3 -3
- package/dist/commands/send-signal.js +33 -81
- package/dist/commands/send-signal.js.map +3 -3
- package/dist/commands/type.js +33 -81
- package/dist/commands/type.js.map +3 -3
- package/dist/commands/uninstall.js +1 -4
- package/dist/commands/uninstall.js.map +4 -4
- package/dist/commands/wait-for-exit.js +33 -81
- package/dist/commands/wait-for-exit.js.map +3 -3
- package/dist/commands/wait-for.js +33 -81
- package/dist/commands/wait-for.js.map +3 -3
- package/dist/index.js +33 -81
- package/dist/index.js.map +3 -3
- package/dist/terminal-pilot.js +33 -81
- package/dist/terminal-pilot.js.map +3 -3
- package/dist/terminal-session.js +33 -81
- package/dist/terminal-session.js.map +3 -3
- package/dist/testing/cli-repl.js +66 -103
- package/dist/testing/cli-repl.js.map +4 -4
- package/dist/testing/qa-cli.js +66 -103
- package/dist/testing/qa-cli.js.map +4 -4
- package/package.json +1 -1
package/dist/commands/install.js
CHANGED
|
@@ -1061,9 +1061,6 @@ async function executeMutation(mutation, context, options) {
|
|
|
1061
1061
|
import Mustache2 from "mustache";
|
|
1062
1062
|
var originalEscape = Mustache2.escape;
|
|
1063
1063
|
|
|
1064
|
-
// ../agent-skill-config/src/templates.ts
|
|
1065
|
-
import { readFile } from "node:fs/promises";
|
|
1066
|
-
|
|
1067
1064
|
// ../agent-skill-config/src/apply.ts
|
|
1068
1065
|
var UnsupportedAgentError = class extends Error {
|
|
1069
1066
|
constructor(agentId) {
|
|
@@ -1373,7 +1370,7 @@ function defineCommand(config) {
|
|
|
1373
1370
|
import os2 from "node:os";
|
|
1374
1371
|
import path3 from "node:path";
|
|
1375
1372
|
import * as nodeFs from "node:fs/promises";
|
|
1376
|
-
import { readFile
|
|
1373
|
+
import { readFile } from "node:fs/promises";
|
|
1377
1374
|
var DEFAULT_INSTALL_AGENT = "claude-code";
|
|
1378
1375
|
var DEFAULT_INSTALL_SCOPE = "local";
|
|
1379
1376
|
var TERMINAL_PILOT_SKILL_NAME = "terminal-pilot";
|
|
@@ -1423,7 +1420,7 @@ async function loadTerminalPilotTemplate() {
|
|
|
1423
1420
|
];
|
|
1424
1421
|
for (const candidate of candidates) {
|
|
1425
1422
|
try {
|
|
1426
|
-
terminalPilotTemplateCache = await
|
|
1423
|
+
terminalPilotTemplateCache = await readFile(candidate, "utf8");
|
|
1427
1424
|
return terminalPilotTemplateCache;
|
|
1428
1425
|
} catch (error) {
|
|
1429
1426
|
if (!isNotFoundError(error)) {
|