Compare commits

..
Author SHA1 Message Date
github-actions[bot] 9af3f999e0 chore: version packages (#109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-13 18:03:21 -06:00
Chris Tate 06b8745da7 v0.6.0 (#108) 2026-02-13 18:00:57 -06:00
11 changed files with 350 additions and 80 deletions
-75
View File
@@ -1,75 +0,0 @@
---
"@json-render/core": minor
"@json-render/react": minor
"@json-render/react-native": minor
"@json-render/codegen": minor
"@json-render/remotion": minor
---
Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
+70
View File
@@ -1,5 +1,75 @@
# @json-render/codegen
## 0.6.0
### Minor Changes
- 06b8745: Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
### Patch Changes
- Updated dependencies [06b8745]
- @json-render/core@0.6.0
## 0.5.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@json-render/codegen",
"version": "0.5.2",
"version": "0.6.0",
"license": "Apache-2.0",
"description": "Utilities for generating code from json-render UI trees",
"keywords": [
+65
View File
@@ -1,5 +1,70 @@
# @json-render/core
## 0.6.0
### Minor Changes
- 06b8745: Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
## 0.5.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@json-render/core",
"version": "0.5.2",
"version": "0.6.0",
"license": "Apache-2.0",
"description": "JSON becomes real things. Define your catalog, register your components, let AI generate.",
"keywords": [
+70
View File
@@ -1,5 +1,75 @@
# @json-render/react-native
## 0.6.0
### Minor Changes
- 06b8745: Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
### Patch Changes
- Updated dependencies [06b8745]
- @json-render/core@0.6.0
## 0.5.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@json-render/react-native",
"version": "0.5.2",
"version": "0.6.0",
"license": "Apache-2.0",
"description": "React Native renderer for @json-render/core. JSON becomes React Native components.",
"keywords": [
+70
View File
@@ -1,5 +1,75 @@
# @json-render/react
## 0.6.0
### Minor Changes
- 06b8745: Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
### Patch Changes
- Updated dependencies [06b8745]
- @json-render/core@0.6.0
## 0.5.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@json-render/react",
"version": "0.5.2",
"version": "0.6.0",
"license": "Apache-2.0",
"description": "React renderer for @json-render/core. JSON becomes React components.",
"keywords": [
+70
View File
@@ -1,5 +1,75 @@
# @json-render/remotion
## 0.6.0
### Minor Changes
- 06b8745: Chat mode (inline GenUI), AI SDK integration, two-way binding, and expression-based visibility/props.
### New: Chat Mode (Inline GenUI)
Two generation modes: **Generate** (JSONL-only, the default) and **Chat** (text + JSONL inline). Chat mode lets AI respond conversationally with embedded UI specs — ideal for chatbots and copilot experiences.
- `catalog.prompt({ mode: "chat" })` generates a chat-aware system prompt
- `pipeJsonRender()` server-side transform separates text from JSONL patches in a mixed stream
- `createJsonRenderTransform()` low-level TransformStream for custom pipelines
### New: AI SDK Integration
First-class Vercel AI SDK support with typed data parts and stream utilities.
- `SpecDataPart` type for `data-spec` stream parts (patch, flat, nested payloads)
- `SPEC_DATA_PART` / `SPEC_DATA_PART_TYPE` constants for type-safe part filtering
- `createMixedStreamParser()` for parsing mixed text + JSONL streams
### New: React Chat Hooks
- `useChatUI()` — full chat hook with message history, streaming, and spec extraction
- `useJsonRenderMessage()` — extract spec + text from a message's parts array
- `buildSpecFromParts()` / `getTextFromParts()` — utilities for working with AI SDK message parts
- `useBoundProp()` — two-way binding hook for `$bindState` / `$bindItem` expressions
### New: Two-Way Binding
Props can now use `$bindState` and `$bindItem` expressions for two-way data binding. The renderer resolves bindings and passes a `bindings` map to components, enabling write-back to state.
### New: Expression-Based Props and Visibility
Replaced string token rewriting with structured expression objects:
- Props: `{ $state: "/path" }`, `{ $item: "field" }`, `{ $index: true }`
- Visibility: `{ $state: "/path", eq: "value" }`, `{ $item: "active" }`, `{ $index: true, gt: 0 }`
- Logic: `{ $and: [...] }`, `{ $or: [...] }`, and implicit AND via arrays
- Comparison operators: `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `not`
### New: Utilities
- `applySpecPatch()` — typed convenience wrapper for applying a single patch to a Spec
- `nestedToFlat()` — convert nested tree specs to flat `{ root, elements }` format
- `resolveBindings()` / `resolveActionParam()` — resolve binding paths and action params
### New: Chat Example
Full-featured chat example (`examples/chat`) with AI agent, tool calls (crypto, GitHub, Hacker News, weather, search), theme toggle, and streaming UI generation.
### Improved: Renderer
- `ElementRenderer` is now `React.memo`'d for better performance in repeat lists
- `emit` is always defined (never `undefined`) — no more optional chaining needed
- Action params are resolved through `resolveActionParam` supporting `$item`, `$index`, `$state`
- Repeat scope now passes the actual item object instead of requiring token rewriting
### Breaking Changes
- **Expressions renamed**: `{ $path }` / `{ path }` replaced by `{ $state }`, `{ $item }`, `{ $index }`
- **Visibility conditions**: `{ path }` → `{ $state }`, `{ and/or/not }` → `{ $and/$or }` with `not` as operator flag
- **DynamicValue**: `{ path: string }` → `{ $state: string }`
- **Repeat field**: `repeat.path` → `repeat.statePath`
- **Action params**: `path` → `statePath` in setState action params
- **Provider props**: `actionHandlers` → `handlers` on `JSONUIProvider`/`ActionProvider`
- **Auth removed**: `AuthState` type and `{ auth }` visibility conditions removed — model auth as regular state
- **Legacy catalog removed**: `createCatalog`, `generateCatalogPrompt`, `generateSystemPrompt`, `ComponentDefinition`, `CatalogConfig`, `SystemPromptOptions` removed
- **React exports removed**: `createRendererFromCatalog`, `rewriteRepeatTokens`
- **Codegen**: `traverseTree` → `traverseSpec`, `SpecVisitor` → `TreeVisitor`
### Patch Changes
- Updated dependencies [06b8745]
- @json-render/core@0.6.0
## 0.5.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@json-render/remotion",
"version": "0.5.2",
"version": "0.6.0",
"license": "Apache-2.0",
"description": "Remotion renderer for @json-render/core. JSON becomes video compositions.",
"keywords": [