Skip to content

feat: v0.4.0 — data features#4

Merged
23min merged 1 commit intomainfrom
feat/v0.4.0-data-features
Feb 12, 2026
Merged

feat: v0.4.0 — data features#4
23min merged 1 commit intomainfrom
feat/v0.4.0-data-features

Conversation

@23min
Copy link
Owner

@23min 23min commented Feb 12, 2026

Summary

  • FunctionCall — computed dynamic values (formatString, openUrl, required, etc.) usable in any property position
  • TemplateChildList — data-driven children from data model arrays for container components
  • CheckRule — input validation rules with condition (DynamicBoolean) and message for text_field, checkbox, slider
  • Theme — surface theming via createSurface (primaryColor, iconUrl, agentDisplayName)
  • sendDataModel — flag on surface to request client send full data model with every action
  • Path-level updateDataModel — upsert/delete at individual JSON Pointer paths (encoder, server broadcast, socket returns)
  • Debug renderer — updated for FunctionCall display, path ops, TemplateChildList, and theme application

162 tests, 0 failures. 4 new modules, 3 new test files, +1,255 lines.

Test plan

  • mix ci passes (format + compile warnings-as-errors + 162 tests)
  • mix run demo_server.exs — verify new features render in debug view at http://localhost:4000
  • Inspect JSON output manually for wire format correctness

🤖 Generated with Claude Code

…ule, Theme, path ops)

Add computed dynamic values (FunctionCall), data-driven children
(TemplateChildList), input validation (CheckRule), surface theming,
sendDataModel flag, and path-level updateDataModel operations.
162 tests, all passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@23min 23min merged commit caffd5c into main Feb 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant