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,12 +1,12 @@
|
|
|
1
1
|
import { type TerminalPilotCommandServices } from "./runtime.js";
|
|
2
|
-
export declare const resize: import("
|
|
3
|
-
readonly cols: import("
|
|
4
|
-
readonly rows: import("
|
|
5
|
-
readonly session: import("
|
|
2
|
+
export declare const resize: import("toolcraft").Command<TerminalPilotCommandServices, import("toolcraft-schema").ObjectSchema<{
|
|
3
|
+
readonly cols: import("toolcraft-schema").NumberSchema;
|
|
4
|
+
readonly rows: import("toolcraft-schema").NumberSchema;
|
|
5
|
+
readonly session: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").StringSchema>;
|
|
6
6
|
}>, undefined, undefined> & {
|
|
7
|
-
readonly
|
|
8
|
-
readonly cols: import("
|
|
9
|
-
readonly rows: import("
|
|
10
|
-
readonly session: import("
|
|
7
|
+
readonly __agentKitCommandTypeInfo: import("toolcraft").CommandTypeInfo<"resize", import("toolcraft-schema").ObjectSchema<{
|
|
8
|
+
readonly cols: import("toolcraft-schema").NumberSchema;
|
|
9
|
+
readonly rows: import("toolcraft-schema").NumberSchema;
|
|
10
|
+
readonly session: import("toolcraft-schema").OptionalSchema<import("toolcraft-schema").StringSchema>;
|
|
11
11
|
}>, undefined, readonly ["cli", "mcp", "sdk"]>;
|
|
12
12
|
};
|
package/dist/commands/resize.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// ../
|
|
1
|
+
// ../toolcraft/src/index.ts
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
|
|
4
|
-
// ../
|
|
4
|
+
// ../toolcraft-schema/src/index.ts
|
|
5
5
|
function assertValidEnumValues(values) {
|
|
6
6
|
if (values.length === 0) {
|
|
7
7
|
throw new Error("Enum schema requires at least one value");
|
|
@@ -60,9 +60,9 @@ var S = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
// ../
|
|
64
|
-
var commandConfigSymbol = /* @__PURE__ */ Symbol("
|
|
65
|
-
var commandSourcePathSymbol = /* @__PURE__ */ Symbol("
|
|
63
|
+
// ../toolcraft/src/index.ts
|
|
64
|
+
var commandConfigSymbol = /* @__PURE__ */ Symbol("toolcraft.command.config");
|
|
65
|
+
var commandSourcePathSymbol = /* @__PURE__ */ Symbol("toolcraft.command.sourcePath");
|
|
66
66
|
var UserError = class extends Error {
|
|
67
67
|
constructor(message) {
|
|
68
68
|
super(message);
|
|
@@ -140,7 +140,7 @@ function inferCommandSourcePath() {
|
|
|
140
140
|
if (candidate === void 0) {
|
|
141
141
|
continue;
|
|
142
142
|
}
|
|
143
|
-
if (candidate.includes("/packages/
|
|
143
|
+
if (candidate.includes("/packages/toolcraft/src/index.ts") || candidate.includes("/packages/toolcraft/dist/index.js") || candidate.includes("/node_modules/toolcraft/dist/index.js")) {
|
|
144
144
|
continue;
|
|
145
145
|
}
|
|
146
146
|
return candidate;
|