Commit Graph
51 Commits
Author SHA1 Message Date
Chris Tate c3c0a36f20 better visual (#206) 2026-03-11 12:16:51 -05:00
Chris Tate dc9e9d17f3 rename modes (#197)
* rename modes

* improvements

* fixes

* fix homepage
2026-03-10 15:07:47 -05:00
Chris Tate fa47b08869 update header font (#136) 2026-02-22 15:51:54 -06:00
Chris Tate 5ccb109c08 use visual-json (#135)
* use visual-json

* fix lint
2026-02-22 15:42:29 -06:00
Chris Tate ba9ffa3c91 update star count (#120) 2026-02-18 09:21:04 -06:00
Chris Tate ddae61805e inline mode (#107)
* ai sdk

* chat

* move more to lib

* fixes

* refactor

* fixes

* streamdown

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* data-spec

* fixes

* sortable

* github

* tools

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* tables

* fixes

* fixes

* rename to chat

* fixes docs

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fix lint

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2026-02-13 17:53:03 -06:00
Chris Tate fd8c7a489f fix missing close button on mobile (#102) 2026-02-11 14:55:24 -06:00
Chris Tate 68ba7c6d7d sidebar chat (#100)
* fix chat height

* fixes

* fixes

* fixes

* sidebar

* fix
2026-02-11 11:41:05 -06:00
Chris Tate 5b4fcaa349 chat improvements (#93)
* better chat

* fixes

* fix lint

* chat fixes
2026-02-09 11:15:57 -06:00
Chris Tate 2b3f3a723f better chat (#92)
* better chat

* fixes

* fix lint
2026-02-09 09:44:29 -06:00
Chris Tate 801708a128 react-native and other things (#81)
* react native

* fixes

* pop/push

* fixes

* rename data -> state

* remove . tsbuildinfo

* fixes

* fixes

* user prompt

* fixes

* $id

* combine catalog.ts

* better actions

* repeat

* fix docs

* fixes

* fixes

* fixes

* better stream

* catalog

* fixes

* fixes

* fixes

* dialog

* sonner

* accordion

* catalog on homepage

* fixes

* more catalog

* fixes

* fixes

* refactor

* mv

* 404

* fixes

* nested

* fixes

* fixes

* fixes

* fixes

* mobile playground

* mdx

* fix mdx

* fixes

* streamdown

* fixes

* use haiku

* fixes

* great

* fixes

* fix ...

* fixes

* fixes

* fix build

* fix lint

* fix lint

* fix lint

* fix tests
2026-02-09 01:31:46 -06:00
Chris Tate 1eb6212dd7 fix json patch (#78) 2026-02-07 12:09:53 -06:00
Chris Tate 711e79b069 remove key/parentKey from flat specs (#77) 2026-02-07 11:46:16 -06:00
Chris Tate f004caf95e combine docs nav (#61) 2026-02-05 10:22:51 -06:00
Chris Tate 72d6468e70 redirect for /docs/registry (#60) 2026-02-05 10:13:26 -06:00
Chris Tate c1b1aaaddb custom schema system (#56)
* add rate limits

* fix lint

* better

generate prompt

update examples

* fixes

* fixes

* new api

* update docs

* fixes

* fixes

* generated prompt

* Add tests for catalog validation and prompt generation

- Test generateSystemPrompt with components, actions, custom rules
- Test new defineCatalog API from schema system
- Test catalog.prompt() method with custom rules
- Test catalog.validate() for valid and invalid specs
- Test catalog.zodSchema() for custom validation
- Test catalog.jsonSchema() for structured outputs
- Add tests for nested specs with children
- Add tests for rejecting invalid component types

* Fix lint: pass children as nested elements in renderer

Change from children={...} prop to nested children pattern
to satisfy react/no-children-prop rule.

* Fix lint errors in dashboard and web apps

- Disable react/prop-types in both eslint configs (TypeScript handles this)
- Allow styled-jsx 'jsx' property in dashboard
- Add DATABASE_URL to turbo env allowlist
- Remove unused drizzle-orm imports (and, sql)
- Suppress unused variable warnings where intentional

* Add server entry point for @json-render/remotion

The main package entry includes React components that require
client-side context (React.createContext). This causes build
failures when importing in server-side API routes.

Added `@json-render/remotion/server` entry point that exports
only schema and catalog definitions without React dependencies:
- schema, RemotionSchema, RemotionSpec
- standardComponentDefinitions, standardTransitionDefinitions
- standardEffectDefinitions
- Type exports for catalogs

Updated remotion example to import from /server in catalog.ts

* Make dashboard database connection lazy-initialized

The database connection threw an error at module load time if
DATABASE_URL was not set, causing builds to fail in CI where
the database is not available.

Changed to lazy initialization using a Proxy so the error only
occurs when the database is actually used at runtime, not at
build time.

* Fix previousSpec property name and lazy rate limiting

- Fix property name mismatch: playground now passes previousSpec
  instead of previousTree to match what useUIStream hook expects
- Make rate limiting lazy-initialized to avoid runtime errors when
  Redis env vars (KV_REST_API_URL, KV_REST_API_TOKEN) are not set
- Rate limiting gracefully becomes a no-op when Redis is unavailable
2026-02-05 03:59:56 -06:00
Chris Tate a48f6d665d add rate limits (#46)
* add rate limits

* fix lint
2026-01-25 13:37:03 -06:00
Chris Tate 06235798e1 ui fixes (#41) 2026-01-21 13:55:17 -06:00
Chris Tate e323d263d0 add playground (#40)
* add playground

* update title
2026-01-21 13:46:52 -06:00
Chris Tate 75ab55f178 fix header (#38) 2026-01-21 12:18:42 -06:00
Chris Tate af9dd04085 codegen (#15)
* codegen

* fixes

* fix lint

* address feedback
2026-01-16 22:10:07 -06:00
Yogesh Khutwad a6db3df2ae fix: improve alert readability in dark mode (#6) 2026-01-16 11:14:43 -06:00
Shiven Aggarwal e7c78a8302 fix: prevent horizontal overflow on mobile (#4) 2026-01-16 10:41:23 -06:00
Chris Tate 4f36dfb625 more doc improvements 2026-01-14 22:04:58 -06:00
Chris Tate b3d089ebad fix docs menu 2026-01-14 22:01:36 -06:00
Chris Tate a6bf3ef3da format 2026-01-14 18:19:57 -06:00
Chris Tate b5ccdc92de simple example 2026-01-14 17:10:30 -06:00
Chris Tate c5cdd784be fix zoom 2026-01-14 17:01:16 -06:00
Chris Tate 68927fab79 fixes 2026-01-14 16:40:44 -06:00
Chris Tate 05fa9f9582 expand 2026-01-14 16:38:09 -06:00
Chris Tate 1b5facd804 fixes 2026-01-14 16:32:32 -06:00
Chris Tate b153a11f0c fixes 2026-01-14 16:29:55 -06:00
Chris Tate b1c2a016d0 fixes 2026-01-14 16:27:02 -06:00
Chris Tate 5eaca7151f fixes 2026-01-14 16:09:14 -06:00
Chris Tate 13b722672a fixes 2026-01-14 16:08:31 -06:00
Chris Tate cfdcdb410a improvements 2026-01-14 16:06:22 -06:00
Chris Tate 6a62971bd1 real demo 2026-01-14 15:55:43 -06:00
Chris Tate 61cc11d8fa smarter ai 2026-01-14 15:44:16 -06:00
Chris Tate 55ab12e08a fixes 2026-01-14 15:23:29 -06:00
Chris Tate 331dfc2b59 fixes 2026-01-14 13:46:47 -06:00
Chris Tate f34e6ad3e6 fixes 2026-01-14 13:45:28 -06:00
Chris Tate 7c708116de fixes 2026-01-14 13:41:51 -06:00
Chris Tate b82ff22680 model 2026-01-14 13:38:19 -06:00
Chris Tate 241a8107aa maxlength 2026-01-14 13:35:15 -06:00
Chris Tate 71ee3cc5d5 real demo 2026-01-14 13:33:33 -06:00
Chris Tate ea62ae126f fixes 2026-01-14 13:26:47 -06:00
Chris Tate a0c1bbaa77 improvements 2026-01-14 12:59:21 -06:00
Chris Tate e5df7c3f1d fixes 2026-01-14 12:57:59 -06:00
Chris Tate ee3bfd41e5 fixes 2026-01-14 12:54:34 -06:00
Chris Tate 7ddbc78d74 remove playground 2026-01-14 12:51:56 -06:00