diff --git a/README.md b/README.md index 17c245c..79df4ff 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ After Effects の **スクリプト/エクステンション開発そのもの ## 現在の状態 -`packages/ae-devtools-cli`(`@ido-bata/ae-devtools-cli@0.7.0`)として CLI + JSX toolchain + +`packages/ae-devtools-cli`(`@ido-bata/ae-devtools-cli@0.8.0`)として CLI + JSX toolchain + capability catalog + conformance gate が shipped 済み(fake-level 検証 + macOS arm64 / AE 26.5 の verified-real-host 証跡あり。Windows・配布・ 実 editor 受入は未検証)。shipped 済みの範囲を超えて **未確定 / 未検証** のままの領域: diff --git a/packages/ae-devtools-cli/README.md b/packages/ae-devtools-cli/README.md index 6d36848..0f2c56d 100644 --- a/packages/ae-devtools-cli/README.md +++ b/packages/ae-devtools-cli/README.md @@ -12,11 +12,21 @@ fake-level evidence として記録され、real-host 検証済みとは表示 ```sh npm install @ido-bata/ae-devtools-cli # registry latest -npm install @ido-bata/ae-devtools-cli@0.7.0 # this release, once published +npm install @ido-bata/ae-devtools-cli@0.8.0 # this release, once published # tarball / local checkout からも可: -npm install ./ae-devtools-cli-0.7.0.tgz +npm install ./ae-devtools-cli-0.8.0.tgz ``` +### Migrating to 0.8.0 + +- The `@ido-bata/ae-a8n` pin moves to `0.6.0`, which publishes the GUI + supervision contract (`ae.supervisionState()`, `AfterEffects.rebuild()`, + `startDetachedSupervisor()`, `ae-a8n supervise status|watch`, durable + `supervision.json`, `A8N_VERSION`). Consumers keep reading the durable + `ae-a8n.supervision/v1` state file — it remains the cross-version / + attached-session contract — but the public API is now available on the + pinned dependency (#408–#410 consumer integration). + ### Migrating to 0.7.0 - The `@ido-bata/ae-a8n` pin is `0.5.0`, which ships `AfterEffects.attach`. @@ -53,7 +63,7 @@ npm install ./ae-devtools-cli-0.7.0.tgz satisfying the capability contract** (#102 handshake exports + #103/#105 fixes). ae-a8n `<=0.1.0-alpha.2` predates them and is refused up front (`AE_A8N_CONTRACT_UNSUPPORTED`; check `ae-devtools doctor` → - `aeA8n.contractOk`). The pin is `@ido-bata/ae-a8n@0.5.0`; override + `aeA8n.contractOk`). The pin is `@ido-bata/ae-a8n@0.6.0`; override with `--ae-a8n-root `. The `fake` session is unaffected. @@ -114,7 +124,7 @@ ae-devtools execute --session a8n --ae-a8n-root --co 解決される ae-a8n が必要 contract(#102 handshake export。#103/#105 修正を祖先に持つ)を満たさない場合は launch 前に `AE_A8N_CONTRACT_UNSUPPORTED` で refuse される — `ae-devtools doctor` -の `aeA8n.contractOk` で事前確認できる。npm pin は `@ido-bata/ae-a8n@0.5.0` +の `aeA8n.contractOk` で事前確認できる。npm pin は `@ido-bata/ae-a8n@0.6.0` で contract を満たす。`<=0.1.0-alpha.2` を 解決した場合は launch 前に refuse される。別 build を使う場合は `--ae-a8n-root ` で override できる。 @@ -136,7 +146,7 @@ AE / GUI 不要で consumer 環境でも動く。 `observe` / `recover` / `verify-exit` は real-host 前提: - ae-a8n #109(GUI 観測)/#111(GUI lease + dialog class)の export を - 含む ae-a8n が必要。npm pin の `@ido-bata/ae-a8n@0.5.0` はこれらを + 含む ae-a8n が必要。npm pin の `@ido-bata/ae-a8n@0.6.0` はこれらを 同梱するため `--ae-a8n-root` なしで解決される。古い ae-a8n を 使う場合のみ `--ae-a8n-root ` を指定する。 - `recover` は devtools-cli の run marker diff --git a/packages/ae-devtools-cli/a8n-transport/supervision.mjs b/packages/ae-devtools-cli/a8n-transport/supervision.mjs index 30351f7..153f4e2 100644 --- a/packages/ae-devtools-cli/a8n-transport/supervision.mjs +++ b/packages/ae-devtools-cli/a8n-transport/supervision.mjs @@ -15,12 +15,20 @@ * /monitor.lease.json — the monitor lease record * * `sessionDir` is the ae-a8n session root (`slice.sessionRoot` for a8n - * sessions). The published npm `@ido-bata/ae-a8n` (0.5.0) predates the - * supervision API, so this module implements the documented decode / - * health re-evaluation rules itself — the durable FILE is the contract, - * not the npm export surface. When a resolved ae-a8n build DOES export - * `supervisionReport`/`readSupervisionState`, callers may prefer it; - * `supportsSupervisionApi(mod)` reports which path is available. + * sessions). The durable FILE is the contract, not the npm export + * surface: this module deliberately implements the documented decode / + * health re-evaluation rules itself so reads keep working for attached + * sessions, post-mortem session dirs, and `--ae-a8n-root` builds that + * predate or postdate any single npm pin. The pinned + * `@ido-bata/ae-a8n@0.6.0` DOES export the public supervision API + * (`supervisionReport`, `readSupervisionState`, `decodeSupervisionDoc`, + * `evaluateObservationHealth`, `waitForSupervisionPhase`, + * `ae.supervisionState()`); `supportsSupervisionApi(mod)` reports + * whether a resolved build offers it. The local decoder is a + * line-for-line port of ae-a8n `state.ts` — same validation, same + * bounded-wait invariant — and `waitForSupervisionPhase` here adds a + * phase-deadline bound the ae-a8n helper does not have, so it is not a + * drop-in replacement. * * Honesty rules (mirroring ae-a8n state.ts): * diff --git a/packages/ae-devtools-cli/docs/adoption.md b/packages/ae-devtools-cli/docs/adoption.md index 3fac2a4..cc964f9 100644 --- a/packages/ae-devtools-cli/docs/adoption.md +++ b/packages/ae-devtools-cli/docs/adoption.md @@ -21,7 +21,7 @@ npm install --save-dev @ido-bata/ae-devtools-cli `--session a8n` は owned AE session を `@ido-bata/ae-a8n` 経由で使う。 この経路が要求する ae-a8n contract(capability handshake export = ae-a8n#102。#103 extension prelude / #105 LaunchServices 修正を祖先に持つ)を -満たすのは ae-a8n `release-0-2-0` 以降。npm pin は `@ido-bata/ae-a8n@0.5.0` +満たすのは ae-a8n `release-0-2-0` 以降。npm pin は `@ido-bata/ae-a8n@0.6.0` で、これを満たす。`<=0.1.0-alpha.2` を 解決した場合のみ contract gate が launch 前に refuse する。 @@ -173,7 +173,7 @@ tarball install して実行: 必要とする ae-a8n surface(`readGuiSession` / `listAppInstances` / `censusRunnerInSession` / `windowServerCensus` / `MacGuiRecovery` / `MacHostRecovery` / GUI lease 関連 export)は、公開版 - `@ido-bata/ae-a8n@0.5.0` が全て ship しているため、pinned + `@ido-bata/ae-a8n@0.6.0` が全て ship しているため、pinned dependency のまま動作する。`--ae-a8n-root` は別 build / 開発版の ae-a8n を指したい場合の override であり必須ではない。コマンド別に 必要 export が検証され、欠落時は `AE_A8N_SURFACE_MISSING` で diff --git a/packages/ae-devtools-cli/package-lock.json b/packages/ae-devtools-cli/package-lock.json index 8266bd5..6e4efbd 100644 --- a/packages/ae-devtools-cli/package-lock.json +++ b/packages/ae-devtools-cli/package-lock.json @@ -1,15 +1,15 @@ { "name": "@ido-bata/ae-devtools-cli", - "version": "0.7.0", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ido-bata/ae-devtools-cli", - "version": "0.7.0", + "version": "0.8.0", "license": "MIT", "dependencies": { - "@ido-bata/ae-a8n": "0.5.0", + "@ido-bata/ae-a8n": "0.6.0", "acorn": "^8.19.0", "esbuild": "0.28.2", "jsonc-parser": "^3.3.1", @@ -445,9 +445,9 @@ } }, "node_modules/@ido-bata/ae-a8n": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@ido-bata/ae-a8n/-/ae-a8n-0.5.0.tgz", - "integrity": "sha512-/ZtxGdSqvwedt3g0MKN3OZJsROeV+wGNLEMsVqqarWdy7RZxtDAi3fDNrLNNI+Gv7tCQKUCMosp4/JINOTbuxw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@ido-bata/ae-a8n/-/ae-a8n-0.6.0.tgz", + "integrity": "sha512-Xvum7zWGDAjTyqkgajPJqCA6Hx9v83v2atFUplo7GvAD0nmjcEoft79vvQo/3VJji/6DvoJuVrEjumiTyciE+w==", "license": "MIT", "dependencies": { "acorn": "^8.18.0" diff --git a/packages/ae-devtools-cli/package.json b/packages/ae-devtools-cli/package.json index 3246566..531751c 100644 --- a/packages/ae-devtools-cli/package.json +++ b/packages/ae-devtools-cli/package.json @@ -1,6 +1,6 @@ { "name": "@ido-bata/ae-devtools-cli", - "version": "0.7.0", + "version": "0.8.0", "description": "Developer CLI, JSX/TypeScript toolchain, MCP server and extension devkits for After Effects scripting/extension/native development", "type": "module", "engines": { @@ -60,7 +60,7 @@ "check:syntax": "node scripts/check-syntax.mjs" }, "dependencies": { - "@ido-bata/ae-a8n": "0.5.0", + "@ido-bata/ae-a8n": "0.6.0", "acorn": "^8.19.0", "esbuild": "0.28.2", "typescript": "5.9.3", diff --git a/packages/capability-catalog/release-scope.json b/packages/capability-catalog/release-scope.json index d8e0e33..6ae6a9e 100644 --- a/packages/capability-catalog/release-scope.json +++ b/packages/capability-catalog/release-scope.json @@ -1,6 +1,6 @@ { "schema": "ae-devtools.release-scope/v1", - "release": "0.7.0", + "release": "0.8.0", "supportedRelease": { "state": "recorded", "releases": ["26.5"],