Skip to content

Code-first video & image, rendered natively on WebGPU.

chore: remove node-svg and node-lottie

okanaslfbc1136ebe2d
diff --git a/nodes/node-lottie/CHANGELOG.md b/nodes/node-lottie/CHANGELOG.md
deleted file mode 100644
index dfbb2b5e..00000000
--- a/nodes/node-lottie/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# @framefields/node-lottie
-
-## 2.0.6
-
-## 2.0.5
-
-## 2.0.4
-
-## 2.0.3
-
-## 2.0.2
-
-## 2.0.1
-
-## 2.0.0
-
-## 1.4.3
-
-## 1.4.2
-
-## 1.4.1
-
-## 1.4.0
-
-## 1.3.2
-
-## 1.3.1
-
-### Patch Changes
-
-- init
diff --git a/nodes/node-lottie/package.json b/nodes/node-lottie/package.json
deleted file mode 100644
index 3732b38c..00000000
--- a/nodes/node-lottie/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@framefields/node-lottie",
- "version": "2.0.6",
- "license": "Apache-2.0",
- "private": false,
- "framefields": {
- "type": "Lottie",
- "kind": "source"
- },
- "type": "module",
- "module": "./dist/index.mjs",
- "types": "./dist/index.d.mts",
- "exports": {
- ".": {
- "types": "./dist/index.d.mts",
- "development": "./src/index.ts",
- "import": "./dist/index.mjs",
- "default": "./dist/index.mjs"
- }
- },
- "scripts": {
- "build": "tsdown",
- "dev": "tsdown --watch",
- "clean": "rm -rf dist",
- "test": "vitest run --passWithNoTests"
- },
- "dependencies": {
- "@framefields/core": "workspace:*",
- "zod": "^4.3.6"
- },
- "devDependencies": {
- "@framefields/tsconfig": "workspace:*",
- "@types/node": "^24.1.0",
- "tsdown": "^0.19.0",
- "typescript": "^5.8.3",
- "vitest": "^4.1.5"
- },
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/nodes/node-lottie/src/index.ts b/nodes/node-lottie/src/index.ts
deleted file mode 100644
index 5617266c..00000000
--- a/nodes/node-lottie/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./shared/index.js";
diff --git a/nodes/node-lottie/src/shared/config.ts b/nodes/node-lottie/src/shared/config.ts
deleted file mode 100644
index df1ea1a7..00000000
--- a/nodes/node-lottie/src/shared/config.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import {
- createOutputItemSchema,
- MultiOutputGenericSchema,
- VirtualMediaDataSchema,
-} from "@framefields/core";
-import { z } from "zod";
-
-export const LOTTIE_NODE_MODELS = [
- "gpt-5.6-terra",
- "gpt-5.6-luna",
- "gpt-5.6-sol",
- "google/gemini-3.8-flash",
- "anthropic/claude-fable-5.1",
-] as const;
-
-export const MAX_REFERENCE_IMAGES = 8;
-
-export const LottieNodeConfigSchema = z
- .object({
- model: z.enum(LOTTIE_NODE_MODELS).default("gpt-5.6-terra"),
- width: z.number().int().min(16).max(4096).default(512),
- height: z.number().int().min(16).max(4096).default(512),
- fps: z.number().int().min(12).max(60).default(24),
- durationSeconds: z.number().min(0.5).max(30).default(2),
- })
- .strict();
-
-export type LottieNodeConfig = z.infer<typeof LottieNodeConfigSchema>;
-
-export const LottieResultSchema = MultiOutputGenericSchema(
- createOutputItemSchema(z.literal("Lottie"), VirtualMediaDataSchema),
-);
-
-export type LottieResult = z.infer<typeof LottieResultSchema>;
diff --git a/nodes/node-lottie/src/shared/index.ts b/nodes/node-lottie/src/shared/index.ts
deleted file mode 100644
index d1bc97e8..00000000
--- a/nodes/node-lottie/src/shared/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./config.js";
diff --git a/nodes/node-lottie/tsconfig.json b/nodes/node-lottie/tsconfig.json
deleted file mode 100644
index 5a0b963f..00000000
--- a/nodes/node-lottie/tsconfig.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "extends": "@framefields/tsconfig/node-library.json",
- "compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "@/*": ["./src/*"]
- },
- "experimentalDecorators": true,
- "emitDecoratorMetadata": true
- },
- "include": ["src"]
-}
diff --git a/nodes/node-lottie/tsdown.config.ts b/nodes/node-lottie/tsdown.config.ts
deleted file mode 100644
index 9e6e1c1d..00000000
--- a/nodes/node-lottie/tsdown.config.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { defineConfig } from "tsdown";
-
-export default defineConfig({
- entry: {
- index: "src/index.ts",
- },
- format: ["esm"],
- dts: true,
- clean: true,
- sourcemap: true,
- treeshake: true,
-});
diff --git a/nodes/node-svg/CHANGELOG.md b/nodes/node-svg/CHANGELOG.md
deleted file mode 100644
index 699716a0..00000000
--- a/nodes/node-svg/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# @framefields/node-svg
-
-## 2.0.6
-
-## 2.0.5
-
-## 2.0.4
-
-## 2.0.3
-
-## 2.0.2
-
-## 2.0.1
-
-## 2.0.0
-
-## 1.4.3
-
-## 1.4.2
-
-## 1.4.1
-
-## 1.4.0
-
-## 1.3.2
-
-## 1.3.1
-
-### Patch Changes
-
-- init
diff --git a/nodes/node-svg/package.json b/nodes/node-svg/package.json
deleted file mode 100644
index 19dfc508..00000000
--- a/nodes/node-svg/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@framefields/node-svg",
- "version": "2.0.6",
- "license": "Apache-2.0",
- "private": false,
- "framefields": {
- "type": "Svg",
- "kind": "source"
- },
- "type": "module",
- "module": "./dist/index.mjs",
- "types": "./dist/index.d.mts",
- "exports": {
- ".": {
- "types": "./dist/index.d.mts",
- "development": "./src/index.ts",
- "import": "./dist/index.mjs",
- "default": "./dist/index.mjs"
- }
- },
- "scripts": {
- "build": "tsdown",
- "dev": "tsdown --watch",
- "clean": "rm -rf dist",
- "test": "vitest run --passWithNoTests"
- },
- "dependencies": {
- "@framefields/core": "workspace:*",
- "zod": "^4.3.6"
- },
- "devDependencies": {
- "@framefields/tsconfig": "workspace:*",
- "@types/node": "^24.1.0",
- "tsdown": "^0.19.0",
- "typescript": "^5.8.3",
- "vitest": "^4.1.5"
- },
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/nodes/node-svg/src/index.ts b/nodes/node-svg/src/index.ts
deleted file mode 100644
index 5617266c..00000000
--- a/nodes/node-svg/src/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./shared/index.js";
diff --git a/nodes/node-svg/src/shared/config.ts b/nodes/node-svg/src/shared/config.ts
deleted file mode 100644
index 82a762fd..00000000
--- a/nodes/node-svg/src/shared/config.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-import {
- createOutputItemSchema,
- MultiOutputGenericSchema,
- VirtualMediaDataSchema,
-} from "@framefields/core";
-import { z } from "zod";
-
-export const SVG_NODE_MODELS = [
- "fal-ai/recraft/v4.1/text-to-vector",
- "fal-ai/recraft/v4.1/pro/text-to-vector",
-] as const;
-
-export const SVG_PRESET_SIZES = [
- "square_hd",
- "square",
- "portrait_4_3",
- "portrait_16_9",
- "landscape_4_3",
- "landscape_16_9",
-] as const;
-
-export const SVG_PRESET_DIMENSIONS: Record<
- (typeof SVG_PRESET_SIZES)[number],
- { width: number; height: number }
-> = {
- square_hd: { width: 1024, height: 1024 },
- square: { width: 512, height: 512 },
- portrait_4_3: { width: 768, height: 1024 },
- portrait_16_9: { width: 576, height: 1024 },
- landscape_4_3: { width: 1024, height: 768 },
- landscape_16_9: { width: 1024, height: 576 },
-};
-
-export const SVG_SIZES = [...SVG_PRESET_SIZES, "custom"] as const;
-
-export const SvgNodeConfigSchema = z
- .object({
- model: z
- .enum(SVG_NODE_MODELS)
- .default("fal-ai/recraft/v4.1/text-to-vector"),
- imageSize: z
- .union([
- z.enum(SVG_PRESET_SIZES),
- z.object({
- width: z.number().int().min(64).max(2048),
- height: z.number().int().min(64).max(2048),
- }),
- ])
- .default("square_hd"),
- colors: z
- .array(
- z
- .string()
- .regex(
- /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,
- "must be a valid hex color starting with #",
- ),
- )
- .max(10)
- .default([]),
- backgroundColor: z
- .string()
- .regex(
- /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,
- "must be a valid hex color starting with #",
- )
- .nullable()
- .default(null),
- })
- .strict();
-
-export type SvgNodeConfig = z.infer<typeof SvgNodeConfigSchema>;
-
-export const SvgResultSchema = MultiOutputGenericSchema(
- createOutputItemSchema(z.literal("SVG"), VirtualMediaDataSchema),
-);
-
-export type SvgResult = z.infer<typeof SvgResultSchema>;
diff --git a/nodes/node-svg/src/shared/index.ts b/nodes/node-svg/src/shared/index.ts
deleted file mode 100644
index d1bc97e8..00000000
--- a/nodes/node-svg/src/shared/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./config.js";
diff --git a/nodes/node-svg/tsconfig.json b/nodes/node-svg/tsconfig.json
deleted file mode 100644
index 5a0b963f..00000000
--- a/nodes/node-svg/tsconfig.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "extends": "@framefields/tsconfig/node-library.json",
- "compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "@/*": ["./src/*"]
- },
- "experimentalDecorators": true,
- "emitDecoratorMetadata": true
- },
- "include": ["src"]
-}
diff --git a/nodes/node-svg/tsdown.config.ts b/nodes/node-svg/tsdown.config.ts
deleted file mode 100644
index 9e6e1c1d..00000000
--- a/nodes/node-svg/tsdown.config.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { defineConfig } from "tsdown";
-
-export default defineConfig({
- entry: {
- index: "src/index.ts",
- },
- format: ["esm"],
- dts: true,
- clean: true,
- sourcemap: true,
- treeshake: true,
-});
diff --git a/plugins/framefields/skills/framefields-effects/references/effects-catalog.md b/plugins/framefields/skills/framefields-effects/references/effects-catalog.md
index b47816c4..755f92b0 100644
--- a/plugins/framefields/skills/framefields-effects/references/effects-catalog.md
+++ b/plugins/framefields/skills/framefields-effects/references/effects-catalog.md
@@ -1010,4 +1010,4 @@ new Modulate({ hue: 0, brightness: 1.0, contrast: 1.0 });
Beyond these classes, the engine ships node plugins under `nodes/` (audio DSP, generators,
signal maths, vision). Each is a package named `@framefields/node-<name>`:
-`node-apply-lut`, `node-audio-compressor`, `node-audio-delay`, `node-audio-fade`, `node-audio-noise-gate`, `node-audio-parametric-eq`, `node-audio-reverb`, `node-audio-signal-extractor`, `node-blur`, `node-camera-parallax-3d`, `node-canvas-generator`, `node-caption-editor`, `node-caption-generator`, `node-channel-merger`, `node-channel-splitter`, `node-color-balance`, `node-colorkey`, `node-compositor`, `node-corner-pin`, `node-crop`, `node-curves`, `node-deflicker`, `node-displacement-map`, `node-extract-frame`, `node-extract-lut`, `node-film-grain`, `node-flip`, `node-gradient-map`, `node-halftone-screen`, `node-high-pass`, `node-kenburns`, `node-layer-style`, `node-levels`, `node-liquify`, `node-lottie`, `node-mask-math`, `node-mesh-warp`, `node-modulate`, `node-noise-generator`, `node-paint`, `node-patch-heal`, `node-procedural-vfx`, `node-refine-edge`, `node-refraction-caustics`, `node-relight-3d`, `node-resizer-scaler`, `node-selective-color`, `node-shadows-highlights`, `node-shape-generator`, `node-signal-gate`, `node-signal-math`, `node-signal`, `node-stereo-panning`, `node-svg`, `node-text`, `node-tile-offset`, `node-unsharp-mask`, `node-vignette`, `node-vision`
+`node-apply-lut`, `node-audio-compressor`, `node-audio-delay`, `node-audio-fade`, `node-audio-noise-gate`, `node-audio-parametric-eq`, `node-audio-reverb`, `node-audio-signal-extractor`, `node-blur`, `node-camera-parallax-3d`, `node-canvas-generator`, `node-caption-editor`, `node-caption-generator`, `node-channel-merger`, `node-channel-splitter`, `node-color-balance`, `node-colorkey`, `node-compositor`, `node-corner-pin`, `node-crop`, `node-curves`, `node-deflicker`, `node-displacement-map`, `node-extract-frame`, `node-extract-lut`, `node-film-grain`, `node-flip`, `node-gradient-map`, `node-halftone-screen`, `node-high-pass`, `node-kenburns`, `node-layer-style`, `node-levels`, `node-liquify`, `node-mask-math`, `node-mesh-warp`, `node-modulate`, `node-noise-generator`, `node-paint`, `node-patch-heal`, `node-procedural-vfx`, `node-refine-edge`, `node-refraction-caustics`, `node-relight-3d`, `node-resizer-scaler`, `node-selective-color`, `node-shadows-highlights`, `node-shape-generator`, `node-signal-gate`, `node-signal-math`, `node-signal`, `node-stereo-panning`, `node-text`, `node-tile-offset`, `node-unsharp-mask`, `node-vignette`, `node-vision`
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index eb06dbca..bdac2fc5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1374,31 +1374,6 @@ importers:
specifier: ^0.4.0
version: 0.4.0
- nodes/node-lottie:
- dependencies:
- '@framefields/core':
- specifier: workspace:*
- version: link:../../packages/core
- zod:
- specifier: ^4.3.6
- version: 4.3.6
- devDependencies:
- '@framefields/tsconfig':
- specifier: workspace:*
- version: link:../../packages/tsconfig
- '@types/node':
- specifier: ^24.1.0
- version: 24.10.14
- tsdown:
- specifier: ^0.19.0
- typescript:
- specifier: ^5.8.3
- version: 5.8.3
- vitest:
- specifier: ^4.1.11
-
nodes/node-mask-math:
dependencies:
'@framefields/core':
@@ -1942,31 +1917,6 @@ importers:
specifier: ^4.1.11
- nodes/node-svg:
- dependencies:
- '@framefields/core':
- specifier: workspace:*
- version: link:../../packages/core
- zod:
- specifier: ^4.3.6
- version: 4.3.6
- devDependencies:
- '@framefields/tsconfig':
- specifier: workspace:*
- version: link:../../packages/tsconfig
- '@types/node':
- specifier: ^24.1.0
- version: 24.10.14
- tsdown:
- specifier: ^0.19.0
- typescript:
- specifier: ^5.8.3
- version: 5.8.3
- vitest:
- specifier: ^4.1.11
-
nodes/node-text:
dependencies:
'@framefields/node-sdk':