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.

feat(motion): name npm package and simplify guide publication

罗高79333232c209
diff --git a/.github/scripts/publish-install-guide.mjs b/.github/scripts/publish-install-guide.mjs
index 7bd7330c..3d8854df 100644
--- a/.github/scripts/publish-install-guide.mjs
+++ b/.github/scripts/publish-install-guide.mjs
@@ -62,6 +62,6 @@ export async function publishGuide(directory, config, { run = runFile, fetcher =
}
if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
assert.equal(process.argv.length, 3, 'Usage: publish-install-guide.mjs <generated-guide-directory>');
- for (const name of ['AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY']) assert(process.env[name], `Missing protected environment secret: ${name}`);
+ for (const name of ['AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY']) assert(process.env[name], `Missing publication credential: ${name}`);
await publishGuide(path.resolve(process.argv[2]), { endpoint: process.env.MOTION_R2_ENDPOINT, bucket: process.env.MOTION_R2_BUCKET, publicOrigin: process.env.MOTION_INSTALL_PUBLIC_ORIGIN });
}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4eecee7c..4e21acf5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,15 +23,15 @@ on:
type: boolean
default: false
install_guide_package:
- description: 'Already-published npm package name for an installation guide; empty keeps the ordinary build'
+ description: 'Already-published npm package; must match packages/npm/package.json'
type: string
- default: ''
+ default: '@open-design/motion'
install_guide_version:
description: 'Exact accepted npm version; non-empty selects guide validation instead of rebuilding the application'
type: string
default: ''
upload_install_guide:
- description: 'Publish the verified guide to R2; requires the protected motion-install-docs environment'
+ description: 'Upload the verified guide using the configured repository R2 credentials'
type: boolean
default: false
@@ -183,7 +183,6 @@ jobs:
if: github.event_name == 'workflow_dispatch' && inputs.upload_install_guide == true
runs-on: ubuntu-24.04
timeout-minutes: 10
- environment: motion-install-docs
concurrency:
group: motion-install-guide-${{ needs.install-guide-validation.outputs.channel }}
cancel-in-progress: false
@@ -203,9 +202,9 @@ jobs:
GUIDE_PACKAGE: ${{ inputs.install_guide_package }}
GUIDE_VERSION: ${{ inputs.install_guide_version }}
GUIDE_CHANNEL: ${{ needs.install-guide-validation.outputs.channel }}
- APPROVED_PACKAGE: ${{ vars.MOTION_NPM_PACKAGE }}
run: |
- if [ -z "$APPROVED_PACKAGE" ] || [ "$GUIDE_PACKAGE" != "$APPROVED_PACKAGE" ]; then echo 'Set the approved MOTION_NPM_PACKAGE in the protected publication environment.' >&2; exit 1; fi
+ expected=$(node -p "require('./packages/npm/package.json').name")
+ if [ "$GUIDE_PACKAGE" != "$expected" ]; then echo 'The guide package must match packages/npm/package.json.' >&2; exit 1; fi
tag=test
if [ "$GUIDE_CHANNEL" = stable ]; then tag=latest; fi
actual=$(npm view "$GUIDE_PACKAGE@$tag" version)
diff --git a/docs/npm-installation.md b/docs/npm-installation.md
index 1cd5f537..28efd45a 100644
--- a/docs/npm-installation.md
+++ b/docs/npm-installation.md
@@ -2,7 +2,7 @@
The npm tgz contains the installer, a prebuilt Motion application archive and its pinned release manifest. One `setup` installs the application, eleven public MCP Tools and five Skills for the selected host. No adjacent application archive or `--manifest` is needed. The application runs from a managed, writable directory, never from the npx cache; projects remain outside application/cache directories.
-This branch does not publish packages. `@openmotion/installer` is the current package metadata name, not a claim that this npm scope is owned or a registry version is available. Registry examples apply only after a separately authorized release.
+This branch does not publish packages. `@open-design/motion` is the agreed public package name; npm scope permissions and availability of a registry version still need separate verification. Registry examples apply only after a separately authorized release.
## Requirements and package contents
@@ -19,12 +19,12 @@ npm ci --no-audit --no-fund
npm run package:npm -- dist/npm-test 0.6.4-test.1
```
-The version is an example. Use a new empty output directory for every candidate. Files include `openmotion-installer-<version>.tgz`, the application archive, `release-npm.json` and SHA256 sidecars. Only the tgz is required by a consumer; the remaining files are delivery evidence and the explicit-manifest fallback. Copy the tgz alone to another directory to verify this property.
+The version is an example. Use a new empty output directory for every candidate. Files include `open-design-motion-<version>.tgz`, the application archive, `release-npm.json` and SHA256 sidecars. Only the tgz is required by a consumer; the remaining files are delivery evidence and the explicit-manifest fallback. Copy the tgz alone to another directory to verify this property.
An isolated macOS Codex installation:
```sh
-motion_tgz="/absolute/path/openmotion-installer-0.6.4-test.1.tgz"
+motion_tgz="/absolute/path/open-design-motion-0.6.4-test.1.tgz"
motion_test="$HOME/Library/Application Support/OpenMotion-test/0.6.4-test.1"
mkdir -p "$motion_test/profile" "$motion_test/workspace"
export CODEX_HOME="$motion_test/profile"
@@ -41,7 +41,7 @@ Run `prepare` only after successful setup. Wait for it to finish before starting
Equivalent Windows PowerShell commands:
```powershell
-$motionTgz = 'C:\path\openmotion-installer-0.6.4-test.1.tgz'
+$motionTgz = 'C:\path\open-design-motion-0.6.4-test.1.tgz'
$motionTest = Join-Path $env:LOCALAPPDATA 'OpenMotion-test\0.6.4-test.1'
New-Item -ItemType Directory -Force "$motionTest\profile", "$motionTest\workspace" | Out-Null
$env:CODEX_HOME = "$motionTest\profile"
@@ -82,7 +82,7 @@ There is no automatic fallback from prod to DEV and no `switch-env` CLI. This se
Select `--host codex|claude|deepseek|workbuddy`. `--skills-dir` selects the Codex/Claude/WorkBuddy root; Harness uses its own provider. Executable overrides are `--codex`, `--claude`, `--dsh`; Harness also accepts `--profile`. Isolate host configuration with `CODEX_HOME`, `CLAUDE_CONFIG_DIR`, `DSH_HOME` or `WORKBUDDY_CONFIG_DIR`; `--home` controls the application installation, not the host profile.
-An installation can serve multiple hosts using the same home/data. `install.json.hosts` retains each host. Skill documentation links are rewritten for flat layouts; Codex/Harness retain bundle-relative links. Re-run setup for each installed host when upgrading Skills. Unowned same-name MCP/Skills are refused. Unrelated settings/Skills and existing projects are retained. Registration failure restores the prior install state and Skills; checked application caches remain available for retry.
+The internal ownership marker remains stable across the npm package rename so earlier local installations can be upgraded in place. An installation can serve multiple hosts using the same home/data. `install.json.hosts` retains each host. Skill documentation links are rewritten for flat layouts; Codex/Harness retain bundle-relative links. Re-run setup for each installed host when upgrading Skills. Unowned same-name MCP/Skills are refused. Unrelated settings/Skills and existing projects are retained. Registration failure restores the prior install state and Skills; checked application caches remain available for retry.
## Versions, upgrades and publication boundary
@@ -90,7 +90,7 @@ Explicit builds accept `MAJOR.MINOR.PATCH-test.N[.N]` or `MAJOR.MINOR.PATCH`. CI
Source package manifests remain `private:true`. Only an explicitly versioned **prod** build produces publishable tgz metadata. test artifacts default to the `test` npm tag; stable artifacts default to `stage` so a later authorized registry smoke can precede moving `latest`. Local/default and DEV artifacts remain private. No command here publishes or changes npm tags. See [test and stable acceptance](release-guide.md) for separate maintainer authorization and gates.
-After publication, the intended user entry is `npx --yes --package @openmotion/installer@<exact-version> -- openmotion setup --host codex`, followed by `prepare` and host reconnection. `@test` and `@latest` select channels; acceptance always records the exact resolved version. Installing/running npx alone, publishing a new package or moving a tag does not update an existing managed app.
+After publication, the intended user entry is `npx --yes --package @open-design/motion@<exact-version> -- openmotion setup --host codex`, followed by `prepare` and host reconnection. `@test` and `@latest` select channels; acceptance always records the exact resolved version. Installing/running npx alone, publishing a new package or moving a tag does not update an existing managed app.
Before upgrading, stop your own old MCP connections and incompatible backend, back up projects/configuration, run setup with the new exact tgz and the **same** home/data/Skills paths, prepare and reconnect. Do not terminate unrelated services. Older app directories may remain, but rollback requires a compatible old package and data; back up before an irreversible format change. There is no automatic update or arbitrary-version rollback promise.
@@ -104,4 +104,4 @@ For defects, include exact package/app version, source SHA, OS/CPU, Node/Agent v
## Shared Agent installation entry
-The hosted [installation guide template](install.md) provides the short Agent entry. Ordinary CI retains a candidate preview; the controlled guide mode fetches an already published exact npm version before any R2 upload. Public URLs, environment credentials, channel acceptance and deployment restrictions must be configured separately. See [hosted instruction publication](release-guide.md#hosted-installation-instructions).
+The hosted [installation guide template](install.md) provides the short Agent entry. Ordinary CI retains a candidate preview; the controlled guide mode fetches an already published exact npm version before any R2 upload. Repository R2 configuration, channel acceptance and an executable manual workflow entry are required before upload. See [hosted instruction publication](release-guide.md#hosted-installation-instructions).
diff --git a/docs/product/architecture.md b/docs/product/architecture.md
index 67f97a49..46256057 100644
--- a/docs/product/architecture.md
+++ b/docs/product/architecture.md
@@ -177,13 +177,13 @@ flowchart LR
## Application npm distribution
-The standalone npm tgz contains installer scripts, the prebuilt application archive and its pinned default manifest. Setup needs only that tgz, stages the checked application into a managed writable directory, installs production npm dependencies from its lock and registers the selected host's eleven MCP Tools and five Skills. It never runs the app or writes projects in the npx cache. Node/Agent remain user-provided; FFmpeg, ffprobe and the browser are checked downloads, deferred until prepare or native use. Existing plugin and complete platform ZIP channels remain available.
+The `@open-design/motion` npm tgz contains installer scripts, the prebuilt application archive and its pinned default manifest. Setup needs only that tgz, stages the checked application into a managed writable directory, installs production npm dependencies from its lock and registers the selected host's eleven MCP Tools and five Skills. It never runs the app or writes projects in the npx cache. Node/Agent remain user-provided; FFmpeg, ffprobe and the browser are checked downloads, deferred until prepare or native use. Existing plugin and complete platform ZIP channels remain available.
Explicit test/stable prod builds produce publishable artifact metadata with test/stage defaults; the source manifests and local/DEV artifacts stay private. Packaging does not publish, update users, move main or rename the repository. DEV packages embed their template source, default to a separate installation home and refuse cross-environment reuse. Application, project data, host configuration and dependency cache retain distinct ownership. See [installation](../npm-installation.md) and [test/stable acceptance](../release-guide.md).
## 演进约束
-本地测试包按 mac-arm64 / win-x64 准备固定公开原生依赖。The application npm format is the default; complete platform ZIPs are backups. Native installation, Agent creation and human playback need separate evidence. Projects remain outside the package; ordinary CI builds and validates, and retains candidate installation-guide previews. A separate manual guide mode can verify a published npm version and, only through a configured protected environment, upload versioned/fixed instructions to R2. It does not publish npm or Release assets. The guide path, environment prerequisites and current default-branch dispatch limitation are documented in the release guide. See [package checks](../test-packages.md).
+本地测试包按 mac-arm64 / win-x64 准备固定公开原生依赖。The application npm format is the default; complete platform ZIPs are backups. Native installation, Agent creation and human playback need separate evidence. Projects remain outside the package; ordinary CI builds and validates, and retains candidate installation-guide previews. A separate manual guide mode can verify a published npm version and, through an explicit default-off upload option using repository R2 configuration, upload versioned/fixed instructions to R2. Package-name validation reads the source package metadata; no separate package variable or GitHub Environment is required. It does not publish npm or Release assets. The guide path, repository configuration and current default-branch dispatch limitation are documented in the release guide. See [package checks](../test-packages.md).
已确认方向是继续支持多 Agent 接入、可编辑工程与一个工作区内的发现/制作闭环。
diff --git a/docs/release-guide.md b/docs/release-guide.md
index 5ad9a369..37ea4403 100644
--- a/docs/release-guide.md
+++ b/docs/release-guide.md
@@ -56,14 +56,14 @@ Ordinary npm/prod CI builds generate a **candidate-only** guide and retain it as
The existing `Motion standalone checks` workflow has a separate manual guide mode:
-1. Set `install_guide_package` and an exact `install_guide_version` already published to npm. Leave `upload_install_guide=false` to fetch the registry package with lifecycle scripts disabled, render its guide and retain the result without R2 credentials.
+1. Use `@open-design/motion` (the default `install_guide_package`) and an exact `install_guide_version` already published to npm. Leave `upload_install_guide=false` to fetch the registry package with lifecycle scripts disabled, render its guide and retain the result without R2 credentials.
2. Before promoting an entry, complete registry/package acceptance and select that version through npm `test` or `latest`. A guide publication does not publish npm or move its tags.
-3. An explicitly authorized run with `upload_install_guide=true` enters the protected `motion-install-docs` environment. It checks the approved package name and current npm channel, creates immutable version instructions, verifies the public bytes, saves the prior fixed instructions and conditionally updates the fixed entry. The canonical public URLs must return matching bytes; a cache-busting URL does not prove the fixed entry is current.
+3. An explicitly authorized run with `upload_install_guide=true` uses the repository R2 configuration. It checks the package name against `packages/npm/package.json` and the current npm channel, creates immutable version instructions, verifies the public bytes, saves the prior fixed instructions and conditionally updates the fixed entry. The canonical public URLs must return matching bytes; a cache-busting URL does not prove the fixed entry is current.
4. Test software uses `open-motion/dev/install.md`; stable uses `open-motion/install.md`. Each also has `versions/<exact-version>/install.md` under the same prefix. The `dev` path is the existing proposed software test-channel path, not a switch to DEV template data.
-After publication, the website can give the Agent a short prompt: "Read `<approved-public-origin>/open-motion/install.md`, install OpenMotion MCP and Skills for my current supported Agent host, preserve existing projects/settings, and report installation and preparation results." Use `/open-motion/dev/install.md` for the test software channel. These are path examples until the public origin and publication are verified.
+The configured destination bucket is `open-design-releases` and the public origin is `https://releases.open-design.ai`. After publication, the website can give the Agent a short prompt: "Read `https://releases.open-design.ai/open-motion/install.md`, install OpenMotion MCP and Skills for my current supported Agent host, preserve existing projects/settings, and report installation and preparation results." Use `https://releases.open-design.ai/open-motion/dev/install.md` for the test software channel. These are the configured target URLs, not verified live installation entries.
-Before enabling uploads, an administrator must configure `motion-install-docs` with required reviewers and deployment-branch restrictions for the reviewed publishing branch. The publication step consumes the configured repository Secrets and Variables listed below; PR builds and guide validation do not reference publication secrets. No R2 resource, credential or environment is created by this PR.
+The upload remains a manual, default-off operation using the configured repository Secrets and Variables below. Package identity comes directly from `packages/npm/package.json`; no extra package-name variable or GitHub Environment is required. PR builds and guide validation do not reference publication secrets. No R2 resource or credential is created by this PR.
| GitHub setting | Purpose |
| --- | --- |
@@ -71,7 +71,6 @@ Before enabling uploads, an administrator must configure `motion-install-docs` w
| Variable `CLOUDFLARE_R2_RELEASES_URL` | R2 S3 HTTPS origin, mapped to `MOTION_R2_ENDPOINT` |
| Variable `CLOUDFLARE_R2_RELEASES_BUCKET` | Approved destination bucket, mapped to `MOTION_R2_BUCKET` |
| Variable `CLOUDFLARE_R2_RELEASES_PUBLIC_ORIGIN` | Public HTTPS origin, mapped to `MOTION_INSTALL_PUBLIC_ORIGIN`; routing must already work |
-| Variable `MOTION_NPM_PACKAGE` | Approved public npm package name |
The publisher uses the runner's AWS CLI with conditional writes and short fixed-entry caching. Publication records and prior public instructions are retained for 30 days. If readback fails, the run fails; inspect `publication.json` and the previous bytes before a separately authorized recovery. A network failure during `fixed-write-attempted` may mean the write completed: check storage rather than assuming nothing changed. Restore only the intended guide/channel; this does not downgrade installed clients or migrate projects.
diff --git a/packages/npm/package.json b/packages/npm/package.json
index 30e62d66..e698cc3a 100644
--- a/packages/npm/package.json
+++ b/packages/npm/package.json
@@ -1,5 +1,5 @@
{
- "name": "@openmotion/installer",
+ "name": "@open-design/motion",
"version": "0.6.3-local.1",
"private": true,
"description": "OpenMotion application, MCP and Skills installer for local Agent hosts",
diff --git a/scripts/npm-hosts.mjs b/scripts/npm-hosts.mjs
index 905bcdaf..04f2f6fc 100644
--- a/scripts/npm-hosts.mjs
+++ b/scripts/npm-hosts.mjs
@@ -5,6 +5,7 @@ import os from 'node:os';
import { canonical, readJSON, runFile, withLock, writeJSON } from './runtime-assets.mjs';
export const hosts = ['codex', 'claude', 'deepseek', 'workbuddy'];
+// Keep ownership stable so earlier local installations remain upgradable.
const owner = '@openmotion/installer';
const bundleName = 'dsh-plugin-openmotion-local';
const equalTransport = (actual, expected) => actual?.command === expected.command && JSON.stringify(actual.args) === JSON.stringify(expected.args);
diff --git a/scripts/npm-installer.mjs b/scripts/npm-installer.mjs
index 11f9826a..cba4034e 100644
--- a/scripts/npm-installer.mjs
+++ b/scripts/npm-installer.mjs
@@ -10,6 +10,7 @@ import { canonical, extractArchive, nativeComponents, obtainAsset, readJSON, rel
import { ensureNativeRuntime } from './npm-runtime.mjs';
import { hostPlan, skillTargets, obsoleteSkills, checkSkillOwner, copyHostSkills } from './npm-hosts.mjs';
+// Keep ownership stable so earlier local installations remain upgradable.
export const managedBy = '@openmotion/installer';
const bundledManifest = fileURLToPath(new URL('../payload/release-npm.json', import.meta.url));
const defaultHome = (environment = 'prod') => path.join(process.platform === 'win32' ? process.env.LOCALAPPDATA || os.homedir() : path.join(os.homedir(), '.local/share'), environment === 'dev' ? 'openmotion-dev' : 'openmotion');
diff --git a/tests/install-guide.test.ts b/tests/install-guide.test.ts
index 87396cfd..c4dc527c 100644
--- a/tests/install-guide.test.ts
+++ b/tests/install-guide.test.ts
@@ -7,7 +7,7 @@ import { generateInstallGuide, validateGuideSpec, validateGuideIdentity } from '
import { publishGuide, storagePlan } from '../.github/scripts/publish-install-guide.mjs';
import { runFile } from '../scripts/runtime-assets.mjs';
-const pkg = { name: '@example/motion', version: '0.6.4-test.1', private: false, bin: { openmotion: 'scripts/npm-installer.mjs' } };
+const pkg = { name: '@open-design/motion', version: '0.6.4-test.1', private: false, bin: { openmotion: 'scripts/npm-installer.mjs' } };
const manifest = { schemaVersion: 1, version: pkg.version, templateEnvironment: 'prod', commit: 'a'.repeat(40),
application: { sha256: 'b'.repeat(64) }, locks: { npm: 'c'.repeat(64), native: 'd'.repeat(64) },
runtime: { targets: { mac: { platform: 'darwin', arch: 'arm64', minimumOS: '26.0' } } } };
@@ -96,13 +96,39 @@ test('candidate previews, changed guide bytes and unsafe storage destinations ca
assert.throws(() => storagePlan(record, { ...config, bucket: '../other' }));
});
-test('CI publication stays manual, disabled by default and in the dedicated credential environment', async () => {
+test('CI publication stays manual and default-off, with credentials limited to its upload job', async () => {
const workflow = await readFile(new URL('../.github/workflows/ci.yml', import.meta.url), 'utf8');
assert(workflow.includes('upload_install_guide:') && workflow.includes("type: boolean\n default: false"));
const publish = workflow.split(' publish-install-guide:\n')[1];
assert(publish.includes("github.event_name == 'workflow_dispatch' && inputs.upload_install_guide == true"));
- assert(publish.includes('environment: motion-install-docs') && publish.includes('needs: install-guide-validation'));
+ assert(publish.includes('needs: install-guide-validation'));
+ assert(!publish.includes('environment:'), 'The upload must not depend on an extra GitHub Environment');
assert(publish.includes('Confirm the accepted channel still selects this exact version'));
assert(!workflow.split(' publish-install-guide:\n')[0].includes('secrets.'), 'Build and guide-validation jobs must not consume publication secrets');
assert(workflow.includes('candidate installation guide') && workflow.includes('--candidate'));
});
+
+
+test('the actual upload gate reads the source package and accepted npm tag without an extra variable', async t => {
+ const directory = await mkdtemp(path.join(os.tmpdir(), 'motion-guide-ci-'));
+ t.after(() => rm(directory, { recursive: true, force: true }));
+ const workflow = await readFile(new URL('../.github/workflows/ci.yml', import.meta.url), 'utf8');
+ const step = workflow.split(' - name: Confirm the accepted channel still selects this exact version\n')[1].split(' - name:')[0];
+ const script = step.split(' run: |\n')[1].replace(/^ {10}/gm, '');
+ const packageName = JSON.parse(await readFile(new URL('../packages/npm/package.json', import.meta.url), 'utf8')).name;
+ assert.equal(packageName, pkg.name);
+ const calls = path.join(directory, 'calls');
+ await writeFile(path.join(directory, 'npm'), '#!/bin/sh\nprintf "%s\\n" "$*" >> "$MOTION_GUIDE_CALLS"\nprintf "%s\\n" "$MOTION_GUIDE_ACCEPTED_VERSION"\n', { mode: 0o755 });
+ const env = { ...process.env, PATH: directory + path.delimiter + process.env.PATH,
+ GUIDE_PACKAGE: packageName, GUIDE_VERSION: pkg.version, GUIDE_CHANNEL: 'test',
+ MOTION_GUIDE_CALLS: calls, MOTION_GUIDE_ACCEPTED_VERSION: pkg.version };
+ for (const [channel, version, tag] of [['test', pkg.version, 'test'], ['stable', '0.6.4', 'latest']]) {
+ await writeFile(calls, '');
+ await runFile('bash', ['-c', script], { env: { ...env, GUIDE_CHANNEL: channel, GUIDE_VERSION: version, MOTION_GUIDE_ACCEPTED_VERSION: version } });
+ assert.equal((await readFile(calls, 'utf8')).trim(), `view ${packageName}@${tag} version`);
+ }
+ await writeFile(calls, '');
+ await assert.rejects(runFile('bash', ['-c', script], { env: { ...env, GUIDE_PACKAGE: '@other/motion' } }), /must match packages/);
+ assert.equal(await readFile(calls, 'utf8'), '', 'A wrong package must fail before any registry lookup');
+ await assert.rejects(runFile('bash', ['-c', script], { env: { ...env, MOTION_GUIDE_ACCEPTED_VERSION: '0.6.4-test.99' } }), /does not select this exact version/);
+});
diff --git a/tests/npm-package.test.ts b/tests/npm-package.test.ts
index c19c1041..03b9916f 100644
--- a/tests/npm-package.test.ts
+++ b/tests/npm-package.test.ts
@@ -53,6 +53,7 @@ test('test npm artifacts contain their application, locked manifest and no bundl
assert.equal(embedded.version, version);
assert.equal(await sha256(path.join(bundled, embedded.application.url)), release.application.sha256);
const metadata = await json(path.join(installer, 'package/package.json'));
+ assert.equal(metadata.name, (await json('packages/npm/package.json')).name);
assert.equal(metadata.publishConfig.tag, 'test'); assert.equal(metadata.publishConfig.access, 'public');
assert.equal(metadata.bin.openmotion, 'scripts/npm-installer.mjs');
await readFile(path.join(installer, 'package/LICENSE'));