Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

Merge feature/motion and retain isolated complete-package acceptance

罗高9b188a7562ac
diff --cc .github/workflows/ci.yml
index 86fe451d,dc486f07..ff6c4232
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@@ -84,8 -70,10 +85,10 @@@ jobs
npm run check
npm run typecheck:studio
npm run build:studio
+ npm run build:tracking
+ node --experimental-strip-types --test tests/tracking.test.ts
- name: Validate standalone installation and packaging
- run: node --experimental-strip-types --test tests/install.test.ts tests/npm-installer.test.ts tests/npm-package.test.ts tests/test-package.test.ts tests/source-install.test.ts tests/bootstrap.test.ts tests/mcp-registry.test.ts tests/mcp-runtime.test.ts tests/mcp-upgrade.test.ts tests/preview.test.ts tests/phase1.test.ts tests/adapters.test.ts tests/package.test.ts tests/recreate-measure.test.ts tests/workflow.test.ts tests/catalog.test.ts tests/prism-templates.test.ts tests/extension-boundary.test.ts tests/connections.test.ts
+ run: node --experimental-strip-types --test tests/install.test.ts tests/npm-installer.test.ts tests/npm-package.test.ts tests/test-package.test.ts tests/source-install.test.ts tests/bootstrap.test.ts tests/mcp-registry.test.ts tests/mcp-runtime.test.ts tests/mcp-upgrade.test.ts tests/preview.test.ts tests/phase1.test.ts tests/adapters.test.ts tests/package.test.ts tests/recreate-measure.test.ts tests/workflow.test.ts tests/catalog.test.ts tests/prism-templates.test.ts tests/extension-boundary.test.ts tests/connections.test.ts tests/install-guide.test.ts
- name: Studio regression
run: npm run test:studio -- --maxWorkers=2
- name: Build phase-one ZIP and exercise all public tools
diff --cc scripts/distribution.ts
index 46b1d6ae,ef7c17fc..5b80d96d
--- a/scripts/distribution.ts
+++ b/scripts/distribution.ts
@@@ -8,10 -8,10 +8,10 @@@ const root = fileURLToPath(new URL('../
// New documentation and developer scripts require an explicit distribution decision.
export const distributionDocuments = [
'README.md', 'README.zh-CN.md', 'CONTRIBUTING.md', 'CONTRIBUTING.zh-CN.md', 'AGENTS.md', 'CLAUDE.md', 'docs/README.md',
- 'docs/product/architecture.md', 'docs/product/media-generation-design.md',
+ 'docs/product/architecture.md', 'docs/product/media-generation-design.md', 'tracking/README.md', 'tracking/INTEGRATION.md', 'tracking/posthog-geoip.hog',
'docs/agent-adapters.md', 'docs/browser-runtime.md', 'docs/design-system.md', 'docs/editor-fork.md',
'docs/hyperframes.md', 'docs/mcp-phase1-tools.md', 'docs/model-gateway.md', 'docs/motion-director.md',
- 'docs/motion-extension-scope.md', 'docs/npm-installation.md', 'docs/project-workspace.md',
+ 'docs/motion-extension-scope.md', 'docs/npm-installation.md', 'docs/install.md', 'docs/release-guide.md', 'docs/project-workspace.md',
'docs/repository-migration.md', 'docs/session-architecture.md', 'docs/shared-editor.md',
'docs/README.zh-CN.md', 'docs/usage.md', 'docs/motion-md.md', 'docs/motion-md.zh-CN.md',
'docs/collections/README.md', 'docs/collections/README.zh-CN.md',
diff --cc scripts/smoke-npm-package.mjs
index cfc4c6bd,dcac23f7..4028203e
--- a/scripts/smoke-npm-package.mjs
+++ b/scripts/smoke-npm-package.mjs
@@@ -21,12 -21,10 +21,12 @@@ export async function smokeNpm(filename
const profile = path.join(out, 'codex'), project = path.join(out, 'project'), skills = path.join(project, '.agents/skills');
await mkdir(profile); await mkdir(project);
await writeFile(path.join(profile, 'config.toml'), 'cli_auth_credentials_store = "file"\nmcp_oauth_credentials_store = "file"\n[mcp_servers.unrelated]\ncommand = "keep-this-server"\n');
- const env = { ...process.env, CODEX_HOME: profile, PORT: process.env.PORT || String(await testPort()) };
+ const candidate = path.join(out, 'candidate.tgz');
+ await cp(installer, candidate);
- const env = { ...process.env, npm_config_cache: path.join(out, 'npm-cache'), CODEX_HOME: profile, PORT: process.env.D4_LANE_PORT_RANGE?.split('-')[0] || process.env.SEATS_PORT || process.env.PORT || String(await testPort()) };
++ const env = { ...process.env, npm_config_cache: path.join(out, 'npm-cache'), CODEX_HOME: profile, PORT: process.env.PORT || String(await testPort()) };
for (const key of ['HYPERFRAMES_FFMPEG_PATH', 'HYPERFRAMES_FFPROBE_PATH', 'HYPERFRAMES_BROWSER_PATH', 'FFMPEG_PATH', 'FFPROBE_PATH', 'MOTION_BROWSER_PATH']) delete env[key];
const npm = process.env.npm_execpath || path.join(path.dirname(process.execPath), process.platform === 'win32' ? 'node_modules/npm/bin/npm-cli.js' : '../lib/node_modules/npm/bin/npm-cli.js');
- const setup = [npm, 'exec', '--yes', '--package', installer, '--', 'openmotion', 'setup', '--host', 'codex', '--manifest', filename, '--home', home, '--data-dir', data, '--skills-dir', skills, '--codex', codexJS];
+ const setup = [npm, 'exec', '--yes', '--package', candidate, '--', 'openmotion', 'setup', '--host', 'codex', '--home', home, '--data-dir', data, '--skills-dir', skills, '--codex', codexJS];
console.error('Install final npm artifact into isolated profile: ' + out);
const first = JSON.parse(await runFile(process.execPath, setup, { env, cwd: project }));
const again = JSON.parse(await runFile(process.execPath, setup, { env, cwd: project }));