@impractical-ai/motion 0.1.13 → 0.1.15
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/README.md +12 -6
- package/assets/impractical/SKILL.md +7 -7
- package/dist/{api-4YQKINQI.js → api-UXWCLV7P.js} +6 -2
- package/dist/{chunk-GAHKKLF3.js → chunk-2VIBS7AS.js} +47 -16
- package/dist/{chunk-PTYSKJ2Y.js → chunk-52D5QRLI.js} +6 -6
- package/dist/{chunk-ZCTJTQB7.js → chunk-TPFRXA7C.js} +80 -11
- package/dist/{commands-NWJK7ANI.js → commands-MJSGITIZ.js} +31 -19
- package/dist/index.js +9 -9
- package/dist/{main-BEONOBG5.js → main-GQ76ZNJB.js} +2 -2
- package/dist/{stdio-PLWZDKDA.js → stdio-LWBKGIWN.js} +1316 -776
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
PACKAGE_VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-52D5QRLI.js";
|
|
5
5
|
import "./chunk-77HVPD4G.js";
|
|
6
6
|
|
|
7
|
-
// src/cli-args.ts
|
|
7
|
+
// cli/src/cli-args.ts
|
|
8
8
|
import { parseArgs } from "node:util";
|
|
9
9
|
var CLI_OPTIONS = {
|
|
10
10
|
key: { type: "string" },
|
|
@@ -48,7 +48,7 @@ function parseCliArgs(args) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
// src/cli-runtime.ts
|
|
51
|
+
// cli/src/cli-runtime.ts
|
|
52
52
|
var HELP = `impractical \u2014 Impractical Motion from your terminal (and your coding agent)
|
|
53
53
|
|
|
54
54
|
Setup
|
|
@@ -65,7 +65,7 @@ Agents
|
|
|
65
65
|
Make videos
|
|
66
66
|
generate --value-prop "..." [--directors d1,d2] [--vibe confident]
|
|
67
67
|
[--code-file app.md] [--brand <slug>] [--asset file ...]
|
|
68
|
-
[--project <id>
|
|
68
|
+
[--project <id>] [--model <id>] [--wait]
|
|
69
69
|
status --project <id> | --jobs <id,id> [--wait]
|
|
70
70
|
export [draftId] [--wait] [--out video.mp4]
|
|
71
71
|
|
|
@@ -157,14 +157,14 @@ async function runCli(args, deps) {
|
|
|
157
157
|
throw new Error(`Unknown command "${[command, ...rest].join(" ")}"`);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// src/index.ts
|
|
160
|
+
// cli/src/index.ts
|
|
161
161
|
runCli(process.argv.slice(2), {
|
|
162
162
|
writeLine: (line) => console.log(line),
|
|
163
|
-
loadCommands: () => import("./commands-
|
|
164
|
-
loadApi: () => import("./api-
|
|
165
|
-
loadMcp: () => import("./stdio-
|
|
163
|
+
loadCommands: () => import("./commands-MJSGITIZ.js"),
|
|
164
|
+
loadApi: () => import("./api-UXWCLV7P.js"),
|
|
165
|
+
loadMcp: () => import("./stdio-LWBKGIWN.js")
|
|
166
166
|
}).catch(async (error) => {
|
|
167
|
-
const { ApiError } = await import("./api-
|
|
167
|
+
const { ApiError } = await import("./api-UXWCLV7P.js");
|
|
168
168
|
if (error instanceof ApiError) {
|
|
169
169
|
console.error(`Error (${error.status} from ${error.fn}): ${error.message}`);
|
|
170
170
|
if (error.status === 429) console.error("Weekly MCP allowance reached. Upgrade or wait for Monday UTC.");
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
__require
|
|
5
5
|
} from "./chunk-77HVPD4G.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/esbuild/lib/main.js
|
|
7
|
+
// cli/node_modules/esbuild/lib/main.js
|
|
8
8
|
var require_main = __commonJS({
|
|
9
|
-
"node_modules/esbuild/lib/main.js"(exports, module) {
|
|
9
|
+
"cli/node_modules/esbuild/lib/main.js"(exports, module) {
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
12
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|