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.
Files changed (82) hide show
  1. package/package.json +2 -2
  2. package/runtime/docs/cep/host-after-effects.md +57 -0
  3. package/runtime/docs/cep/host-premiere.md +84 -0
  4. package/runtime/docs/{host.md → cep/host.md} +34 -16
  5. package/runtime/docs/{README.md → common/README.md} +9 -7
  6. package/runtime/docs/{assets.md → common/assets.md} +16 -2
  7. package/runtime/docs/{licensing.md → common/licensing.md} +1 -1
  8. package/runtime/docs/{panels.md → common/panels.md} +5 -5
  9. package/runtime/docs/{storage.md → common/storage.md} +5 -5
  10. package/runtime/docs/{updates.md → common/updates.md} +1 -1
  11. package/runtime/package.json +1 -1
  12. package/runtime/src/host.js +1 -1
  13. package/runtime/src/updates.js +1 -1
  14. package/src/build/build.js +7 -7
  15. package/src/build/html.js +1 -1
  16. package/src/build/jsx.js +2 -2
  17. package/src/build/runtime.js +3 -3
  18. package/src/check/check.js +3 -3
  19. package/src/check/types.js +2 -2
  20. package/src/cli.js +5 -5
  21. package/src/commands/add.js +8 -3
  22. package/src/commands/check.js +3 -3
  23. package/src/commands/dev.js +2 -2
  24. package/src/commands/docs.js +1 -1
  25. package/src/commands/init.js +12 -3
  26. package/src/config.js +1 -1
  27. package/src/dev/cep-link.js +1 -1
  28. package/src/dev/debug-file.js +5 -5
  29. package/src/mcp/extendscript.js +9 -7
  30. package/src/mcp/panels.js +1 -1
  31. package/src/mcp/server.js +2 -2
  32. package/src/mcp/tools/host.js +1 -1
  33. package/src/mcp/tools/panel.js +4 -4
  34. package/src/mcp/tools/project.js +15 -15
  35. package/src/project/add-panel.js +1 -1
  36. package/src/project/docs.js +3 -1
  37. package/src/project/manifest.js +3 -2
  38. package/src/project/project.js +2 -2
  39. package/src/project/template.js +4 -1
  40. package/src/prompt.js +1 -1
  41. package/src/release/installers.js +4 -4
  42. package/src/release/package.js +1 -1
  43. package/src/release/publish.js +1 -1
  44. package/src/targets.js +1 -0
  45. package/src/user-config.js +2 -2
  46. package/template/{AGENTS.md → cep/AGENTS.md} +23 -22
  47. package/template/{README.md → cep/README.md} +9 -9
  48. package/template/{docs → cep/docs}/initial_setup.md +4 -4
  49. package/template/{src → cep/src}/features/home/home.html +4 -4
  50. package/template/{src → cep/src}/features/home/home.js +10 -11
  51. package/template/{src → cep/src}/shared/lib/host-theme.js +3 -3
  52. package/template/{src → cep/src}/shared/lib/view.js +1 -1
  53. package/template/{src → cep/src}/shared/ui/tokens.css +1 -1
  54. package/template/hosts/aeft/AGENTS.host.md +10 -0
  55. package/template/hosts/aeft/jsx/aeft/home.jsx +16 -0
  56. package/template/hosts/ppro/AGENTS.host.md +15 -0
  57. package/template/hosts/ppro/jsx/ppro/home.jsx +20 -0
  58. package/vendor/afterpresets-additions/AfterEffects.d.ts +291 -0
  59. package/vendor/afterpresets-additions/Premiere.d.ts +179 -0
  60. package/vendor/types-for-adobe/Premiere/24.0/index.d.ts +2567 -0
  61. package/vendor/types-for-adobe/README.md +8 -4
  62. package/template/jsx/home.jsx +0 -17
  63. /package/runtime/docs/{boot.md → common/boot.md} +0 -0
  64. /package/template/{.mcp.json → cep/.mcp.json} +0 -0
  65. /package/template/{gitignore → cep/gitignore} +0 -0
  66. /package/template/{package.json → cep/package.json} +0 -0
  67. /package/template/{src → cep/src}/features/home/home.css +0 -0
  68. /package/template/{src → cep/src}/features/license-screen/license-screen.css +0 -0
  69. /package/template/{src → cep/src}/features/license-screen/license-screen.html +0 -0
  70. /package/template/{src → cep/src}/features/license-screen/license-screen.js +0 -0
  71. /package/template/{src → cep/src}/features/update-screen/update-screen.css +0 -0
  72. /package/template/{src → cep/src}/features/update-screen/update-screen.html +0 -0
  73. /package/template/{src → cep/src}/features/update-screen/update-screen.js +0 -0
  74. /package/template/{src → cep/src}/panels/main/index.html +0 -0
  75. /package/template/{src → cep/src}/panels/main/main.js +0 -0
  76. /package/template/{src → cep/src}/shared/lib/dom.js +0 -0
  77. /package/template/{src → cep/src}/shared/lib/markdown.js +0 -0
  78. /package/template/{src → cep/src}/shared/ui/base.css +0 -0
  79. /package/template/{src → cep/src}/shared/ui/button.css +0 -0
  80. /package/template/{src → cep/src}/shared/ui/card.css +0 -0
  81. /package/template/{src → cep/src}/shared/ui/field.css +0 -0
  82. /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 change `AE_TYPES` in
9
- `src/check/types.js` if the version folder changes.
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.
@@ -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