Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 済みの範囲を超えて **未確定 / 未検証** のままの領域:
Expand Down
20 changes: 15 additions & 5 deletions packages/ae-devtools-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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 <checkout>`.
The `fake` session is unaffected.

Expand Down Expand Up @@ -114,7 +124,7 @@ ae-devtools execute <opId> --session a8n --ae-a8n-root <local-a8n-checkout> --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 <ae-a8n checkout>` で override できる。
Expand All @@ -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 <built-ae-a8n>` を指定する。
- `recover` は devtools-cli の run marker
Expand Down
20 changes: 14 additions & 6 deletions packages/ae-devtools-cli/a8n-transport/supervision.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,20 @@
* <sessionDir>/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):
*
Expand Down
4 changes: 2 additions & 2 deletions packages/ae-devtools-cli/docs/adoption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 する。

Expand Down Expand Up @@ -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` で
Expand Down
12 changes: 6 additions & 6 deletions packages/ae-devtools-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/ae-devtools-cli/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/capability-catalog/release-scope.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schema": "ae-devtools.release-scope/v1",
"release": "0.7.0",
"release": "0.8.0",
"supportedRelease": {
"state": "recorded",
"releases": ["26.5"],
Expand Down
Loading