@impractical-ai/motion 0.1.3 → 0.1.5
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 +18 -6
- package/assets/impractical/SKILL.md +7 -5
- package/dist/api-KD6BNKBQ.js +30 -0
- package/dist/chunk-7724464Z.js +236 -0
- package/dist/{chunk-G56RK3HD.js → chunk-DMAQPSA4.js} +198 -306
- package/dist/chunk-JDN3QHCX.js +98 -0
- package/dist/commands-Y35XPDVH.js +1510 -0
- package/dist/index.js +84 -1554
- package/dist/{stdio-VWTZOK6D.js → stdio-ZFPBM6Z6.js} +371 -382
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
};
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all)
|
|
13
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from))
|
|
18
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
19
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
24
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
25
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
26
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
27
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
28
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
29
|
+
mod
|
|
30
|
+
));
|
|
31
|
+
|
|
32
|
+
// package.json
|
|
33
|
+
var package_default = {
|
|
34
|
+
name: "@impractical-ai/motion",
|
|
35
|
+
version: "0.1.5",
|
|
36
|
+
private: false,
|
|
37
|
+
description: "Create and refine Impractical Motion videos from coding agents and the terminal.",
|
|
38
|
+
homepage: "https://github.com/Openpod/impractical-motion#readme",
|
|
39
|
+
repository: {
|
|
40
|
+
type: "git",
|
|
41
|
+
url: "git+https://github.com/Openpod/impractical-motion.git"
|
|
42
|
+
},
|
|
43
|
+
bugs: {
|
|
44
|
+
url: "https://github.com/Openpod/impractical-motion/issues"
|
|
45
|
+
},
|
|
46
|
+
license: "UNLICENSED",
|
|
47
|
+
type: "module",
|
|
48
|
+
files: [
|
|
49
|
+
"dist",
|
|
50
|
+
"assets",
|
|
51
|
+
"README.md"
|
|
52
|
+
],
|
|
53
|
+
bin: {
|
|
54
|
+
impractical: "dist/index.js"
|
|
55
|
+
},
|
|
56
|
+
engines: {
|
|
57
|
+
node: ">=22"
|
|
58
|
+
},
|
|
59
|
+
scripts: {
|
|
60
|
+
build: 'node ../scripts/build-engine-dts.mjs && rm -rf dist && esbuild src/index.ts --bundle --platform=node --format=esm --target=node22 --splitting --outdir=dist --external:playwright-core --banner:js="#!/usr/bin/env node" && chmod +x dist/index.js',
|
|
61
|
+
typecheck: "tsc --noEmit",
|
|
62
|
+
test: "npm run build && esbuild tests/onboarding.test.ts tests/mcp-tools.test.ts tests/mcp-frames.test.ts tests/engine-dts.test.ts tests/mcp-connect.test.ts tests/mcp-longpoll.test.ts --bundle --platform=node --format=esm --packages=external --outdir=dist --out-extension:.js=.mjs && node --test dist/onboarding.test.mjs dist/mcp-tools.test.mjs dist/mcp-frames.test.mjs dist/engine-dts.test.mjs dist/mcp-connect.test.mjs dist/mcp-longpoll.test.mjs",
|
|
63
|
+
prepack: "npm run build"
|
|
64
|
+
},
|
|
65
|
+
publishConfig: {
|
|
66
|
+
access: "public"
|
|
67
|
+
},
|
|
68
|
+
devDependencies: {
|
|
69
|
+
esbuild: "^0.25.0",
|
|
70
|
+
typescript: "^5.6.3"
|
|
71
|
+
},
|
|
72
|
+
dependencies: {
|
|
73
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
74
|
+
"playwright-core": "^1.55.1",
|
|
75
|
+
zod: "^4.4.3"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
// src/constants.ts
|
|
80
|
+
if (package_default.name !== "@impractical-ai/motion" || typeof package_default.version !== "string" || !package_default.version) {
|
|
81
|
+
throw new Error("The packaged CLI manifest is missing valid release metadata");
|
|
82
|
+
}
|
|
83
|
+
var PRODUCTION_APP_URL = "https://motion.impractical.ai";
|
|
84
|
+
var PRODUCTION_SUPABASE_URL = "https://uaxjweednprtbhbceify.supabase.co";
|
|
85
|
+
var PACKAGE_NAME = "@impractical-ai/motion";
|
|
86
|
+
var PACKAGE_VERSION = package_default.version;
|
|
87
|
+
var PACKAGE_COMMAND = `npx --yes ${PACKAGE_NAME}`;
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
__commonJS,
|
|
91
|
+
__export,
|
|
92
|
+
__toESM,
|
|
93
|
+
PRODUCTION_APP_URL,
|
|
94
|
+
PRODUCTION_SUPABASE_URL,
|
|
95
|
+
PACKAGE_NAME,
|
|
96
|
+
PACKAGE_VERSION,
|
|
97
|
+
PACKAGE_COMMAND
|
|
98
|
+
};
|