afterpresets 0.1.0 → 0.2.0
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/package.json +2 -2
- package/runtime/docs/cep/host-after-effects.md +57 -0
- package/runtime/docs/cep/host-premiere.md +84 -0
- package/runtime/docs/{host.md → cep/host.md} +34 -16
- package/runtime/docs/{README.md → common/README.md} +9 -7
- package/runtime/docs/{assets.md → common/assets.md} +16 -2
- package/runtime/docs/{licensing.md → common/licensing.md} +1 -1
- package/runtime/docs/{panels.md → common/panels.md} +5 -5
- package/runtime/docs/{storage.md → common/storage.md} +5 -5
- package/runtime/docs/{updates.md → common/updates.md} +1 -1
- package/runtime/package.json +1 -1
- package/runtime/src/host.js +1 -1
- package/runtime/src/updates.js +1 -1
- package/src/build/build.js +7 -7
- package/src/build/html.js +1 -1
- package/src/build/jsx.js +2 -2
- package/src/build/runtime.js +3 -3
- package/src/check/check.js +3 -3
- package/src/check/types.js +2 -2
- package/src/cli.js +5 -5
- package/src/commands/add.js +8 -3
- package/src/commands/check.js +3 -3
- package/src/commands/dev.js +2 -2
- package/src/commands/docs.js +1 -1
- package/src/commands/init.js +12 -3
- package/src/config.js +1 -1
- package/src/dev/cep-link.js +1 -1
- package/src/dev/debug-file.js +5 -5
- package/src/mcp/extendscript.js +9 -7
- package/src/mcp/panels.js +1 -1
- package/src/mcp/server.js +2 -2
- package/src/mcp/tools/host.js +1 -1
- package/src/mcp/tools/panel.js +4 -4
- package/src/mcp/tools/project.js +15 -15
- package/src/project/add-panel.js +1 -1
- package/src/project/docs.js +3 -1
- package/src/project/manifest.js +3 -2
- package/src/project/project.js +2 -2
- package/src/project/template.js +4 -1
- package/src/prompt.js +1 -1
- package/src/release/installers.js +4 -4
- package/src/release/package.js +1 -1
- package/src/release/publish.js +1 -1
- package/src/targets.js +1 -0
- package/src/user-config.js +2 -2
- package/template/{AGENTS.md → cep/AGENTS.md} +23 -22
- package/template/{README.md → cep/README.md} +9 -9
- package/template/{docs → cep/docs}/initial_setup.md +4 -4
- package/template/{src → cep/src}/features/home/home.html +4 -4
- package/template/{src → cep/src}/features/home/home.js +10 -11
- package/template/{src → cep/src}/shared/lib/host-theme.js +3 -3
- package/template/{src → cep/src}/shared/lib/view.js +1 -1
- package/template/{src → cep/src}/shared/ui/tokens.css +1 -1
- package/template/hosts/aeft/AGENTS.host.md +10 -0
- package/template/hosts/aeft/jsx/aeft/home.jsx +16 -0
- package/template/hosts/ppro/AGENTS.host.md +15 -0
- package/template/hosts/ppro/jsx/ppro/home.jsx +20 -0
- package/vendor/afterpresets-additions/AfterEffects.d.ts +291 -0
- package/vendor/afterpresets-additions/Premiere.d.ts +179 -0
- package/vendor/types-for-adobe/Premiere/24.0/index.d.ts +2567 -0
- package/vendor/types-for-adobe/README.md +8 -4
- package/template/jsx/home.jsx +0 -17
- /package/runtime/docs/{boot.md → common/boot.md} +0 -0
- /package/template/{.mcp.json → cep/.mcp.json} +0 -0
- /package/template/{gitignore → cep/gitignore} +0 -0
- /package/template/{package.json → cep/package.json} +0 -0
- /package/template/{src → cep/src}/features/home/home.css +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.css +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.html +0 -0
- /package/template/{src → cep/src}/features/license-screen/license-screen.js +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.css +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.html +0 -0
- /package/template/{src → cep/src}/features/update-screen/update-screen.js +0 -0
- /package/template/{src → cep/src}/panels/main/index.html +0 -0
- /package/template/{src → cep/src}/panels/main/main.js +0 -0
- /package/template/{src → cep/src}/shared/lib/dom.js +0 -0
- /package/template/{src → cep/src}/shared/lib/markdown.js +0 -0
- /package/template/{src → cep/src}/shared/ui/base.css +0 -0
- /package/template/{src → cep/src}/shared/ui/button.css +0 -0
- /package/template/{src → cep/src}/shared/ui/card.css +0 -0
- /package/template/{src → cep/src}/shared/ui/field.css +0 -0
- /package/template/{src → cep/src}/shared/ui/index.css +0 -0
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# types-for-adobe (vendored subset)
|
|
2
2
|
|
|
3
|
-
After Effects 26.0 and shared ExtendScript declarations from
|
|
3
|
+
After Effects 26.0, Premiere Pro 24.0 (the newest Premiere set) and shared ExtendScript declarations from
|
|
4
4
|
[types-for-adobe](https://github.com/docsforadobe/Types-for-Adobe) 7.2.6 (MIT,
|
|
5
5
|
see LICENSE.md), used only by `ap check --types`. Nothing here ships in a build.
|
|
6
6
|
|
|
7
|
-
To update: `npm pack types-for-adobe`, then copy `AfterEffects/<latest>/index.d.ts
|
|
8
|
-
and the `shared/*.d.ts` files listed here, and
|
|
9
|
-
`src/
|
|
7
|
+
To update: `npm pack types-for-adobe`, then copy `AfterEffects/<latest>/index.d.ts`,
|
|
8
|
+
`Premiere/<latest>/index.d.ts` and the `shared/*.d.ts` files listed here, and
|
|
9
|
+
change `types` in `src/targets.js` if a version folder changes.
|
|
10
|
+
|
|
11
|
+
Newer members that these files lack are generated from the installed apps into
|
|
12
|
+
`../afterpresets-additions/` (see `scripts/host-types/README.md`). Do not edit
|
|
13
|
+
the files here to add them.
|
package/template/jsx/home.jsx
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* STARTER EXAMPLE - delete with src/features/home/.
|
|
2
|
-
* After Effects functions called from the panel with ctx.host.eval(name, args, cb).
|
|
3
|
-
* Each takes JSON-compatible arguments and returns a JSON string. */
|
|
4
|
-
|
|
5
|
-
function getActiveCompSummary() {
|
|
6
|
-
var item = app.project.activeItem;
|
|
7
|
-
if (!item || !(item instanceof CompItem)) {
|
|
8
|
-
return JSON.stringify({ ok: false, message: "Open or select a composition first." });
|
|
9
|
-
}
|
|
10
|
-
return JSON.stringify({
|
|
11
|
-
ok: true,
|
|
12
|
-
name: item.name,
|
|
13
|
-
width: item.width,
|
|
14
|
-
height: item.height,
|
|
15
|
-
layers: item.numLayers
|
|
16
|
-
});
|
|
17
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|