terminal-pilot 0.0.13 → 0.0.14
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 +20 -125
- package/dist/cli.js.map +4 -4
- package/dist/commands/close-session.d.ts +4 -4
- package/dist/commands/close-session.js +6 -6
- package/dist/commands/close-session.js.map +3 -3
- package/dist/commands/create-session.d.ts +16 -16
- package/dist/commands/create-session.js +6 -6
- package/dist/commands/create-session.js.map +3 -3
- package/dist/commands/fill.d.ts +6 -6
- package/dist/commands/fill.js +6 -6
- package/dist/commands/fill.js.map +3 -3
- package/dist/commands/get-session.d.ts +4 -4
- package/dist/commands/get-session.js +6 -6
- package/dist/commands/get-session.js.map +3 -3
- package/dist/commands/index.d.ts +107 -107
- package/dist/commands/index.js +7 -7
- package/dist/commands/index.js.map +3 -3
- package/dist/commands/install.d.ts +8 -8
- package/dist/commands/install.js +6 -6
- package/dist/commands/install.js.map +3 -3
- package/dist/commands/installer.js +1 -1
- package/dist/commands/installer.js.map +2 -2
- package/dist/commands/list-sessions.d.ts +2 -2
- package/dist/commands/list-sessions.js +6 -6
- package/dist/commands/list-sessions.js.map +3 -3
- package/dist/commands/press-key.d.ts +6 -6
- package/dist/commands/press-key.js +6 -6
- package/dist/commands/press-key.js.map +3 -3
- package/dist/commands/read-history.d.ts +6 -6
- package/dist/commands/read-history.js +6 -6
- package/dist/commands/read-history.js.map +3 -3
- package/dist/commands/read-screen.d.ts +4 -4
- package/dist/commands/read-screen.js +6 -6
- package/dist/commands/read-screen.js.map +3 -3
- package/dist/commands/resize.d.ts +8 -8
- package/dist/commands/resize.js +6 -6
- package/dist/commands/resize.js.map +3 -3
- package/dist/commands/runtime.d.ts +1 -1
- package/dist/commands/runtime.js +1 -1
- package/dist/commands/runtime.js.map +2 -2
- package/dist/commands/screenshot.d.ts +10 -10
- package/dist/commands/screenshot.js +6 -6
- package/dist/commands/screenshot.js.map +3 -3
- package/dist/commands/send-signal.d.ts +6 -6
- package/dist/commands/send-signal.js +6 -6
- package/dist/commands/send-signal.js.map +3 -3
- package/dist/commands/type.d.ts +6 -6
- package/dist/commands/type.js +6 -6
- package/dist/commands/type.js.map +3 -3
- package/dist/commands/uninstall.d.ts +4 -4
- package/dist/commands/uninstall.js +6 -6
- package/dist/commands/uninstall.js.map +3 -3
- package/dist/commands/wait-for-exit.d.ts +6 -6
- package/dist/commands/wait-for-exit.js +6 -6
- package/dist/commands/wait-for-exit.js.map +3 -3
- package/dist/commands/wait-for.d.ts +10 -10
- package/dist/commands/wait-for.js +6 -6
- package/dist/commands/wait-for.js.map +3 -3
- package/dist/testing/cli-repl.js +20 -126
- package/dist/testing/cli-repl.js.map +4 -4
- package/dist/testing/qa-cli.js +20 -126
- package/dist/testing/qa-cli.js.map +4 -4
- package/package.json +3 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { TerminalPilotCommandServices } from "./runtime.js";
|
|
2
|
-
export declare const install: import("
|
|
3
|
-
readonly agent: import("
|
|
4
|
-
readonly local: import("
|
|
5
|
-
readonly global: import("
|
|
2
|
+
export declare const install: import("toolcraft").Command<TerminalPilotCommandServices, import("toolcraft-schema").ObjectSchema<{
|
|
3
|
+
readonly agent: import("toolcraft-schema").EnumSchema<[string, ...string[]]>;
|
|
4
|
+
readonly local: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").BooleanSchema>;
|
|
5
|
+
readonly global: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").BooleanSchema>;
|
|
6
6
|
}>, undefined, {
|
|
7
7
|
agent: string;
|
|
8
8
|
scope: "local" | "global";
|
|
9
9
|
skillPath: string;
|
|
10
10
|
}> & {
|
|
11
|
-
readonly
|
|
12
|
-
readonly agent: import("
|
|
13
|
-
readonly local: import("
|
|
14
|
-
readonly global: import("
|
|
11
|
+
readonly __agentKitCommandTypeInfo: import("toolcraft").CommandTypeInfo<"install", import("toolcraft-schema").ObjectSchema<{
|
|
12
|
+
readonly agent: import("toolcraft-schema").EnumSchema<[string, ...string[]]>;
|
|
13
|
+
readonly local: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").BooleanSchema>;
|
|
14
|
+
readonly global: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").BooleanSchema>;
|
|
15
15
|
}>, {
|
|
16
16
|
agent: string;
|
|
17
17
|
scope: "local" | "global";
|
package/dist/commands/install.js
CHANGED
|
@@ -1235,10 +1235,10 @@ async function installSkill(agentId, skill, options) {
|
|
|
1235
1235
|
return { skillPath: skillFilePath, displayPath };
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
// ../
|
|
1238
|
+
// ../toolcraft/src/index.ts
|
|
1239
1239
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
1240
1240
|
|
|
1241
|
-
// ../
|
|
1241
|
+
// ../toolcraft-schema/src/index.ts
|
|
1242
1242
|
function assertValidEnumValues(values) {
|
|
1243
1243
|
if (values.length === 0) {
|
|
1244
1244
|
throw new Error("Enum schema requires at least one value");
|
|
@@ -1297,9 +1297,9 @@ var S = {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// ../
|
|
1301
|
-
var commandConfigSymbol = /* @__PURE__ */ Symbol("
|
|
1302
|
-
var commandSourcePathSymbol = /* @__PURE__ */ Symbol("
|
|
1300
|
+
// ../toolcraft/src/index.ts
|
|
1301
|
+
var commandConfigSymbol = /* @__PURE__ */ Symbol("toolcraft.command.config");
|
|
1302
|
+
var commandSourcePathSymbol = /* @__PURE__ */ Symbol("toolcraft.command.sourcePath");
|
|
1303
1303
|
var UserError = class extends Error {
|
|
1304
1304
|
constructor(message) {
|
|
1305
1305
|
super(message);
|
|
@@ -1377,7 +1377,7 @@ function inferCommandSourcePath() {
|
|
|
1377
1377
|
if (candidate === void 0) {
|
|
1378
1378
|
continue;
|
|
1379
1379
|
}
|
|
1380
|
-
if (candidate.includes("/packages/
|
|
1380
|
+
if (candidate.includes("/packages/toolcraft/src/index.ts") || candidate.includes("/packages/toolcraft/dist/index.js") || candidate.includes("/node_modules/toolcraft/dist/index.js")) {
|
|
1381
1381
|
continue;
|
|
1382
1382
|
}
|
|
1383
1383
|
return candidate;
|