Read the opt-in PUBLIC_LLAMA_CLOUD_API_KEY env var and re-export as
import.meta.env.VITE_LLAMA_CLOUD_API_KEY for the 5 llama_cloud=true UIs.
Server-only LLAMA_CLOUD_API_KEY is no longer the source for client bundles;
deployers must explicitly opt in by setting PUBLIC_*.
* feat: add LLAMA_DEPLOY_SERVER_PORT HMR clientPort to template vite configs
Set hmr.clientPort to LLAMA_DEPLOY_SERVER_PORT when defined, enabling
Vite HMR websocket connections to work through the server proxy.
https://claude.ai/code/session_01Hq5ZQxquwtyJVJ2qw48bbt
* feat: add LLAMA_DEPLOY_SERVER_PORT HMR support to template vite configs
Add hmr.port and hmr.clientPort to all template vite configs so that
Vite HMR websocket connections work through the server proxy. When
LLAMA_DEPLOY_SERVER_PORT is set, clientPort directs the browser's HMR
websocket to connect via the proxy server port.
Bump patch versions for all affected templates.
https://claude.ai/code/session_01Hq5ZQxquwtyJVJ2qw48bbt
---------
Co-authored-by: Claude <noreply@anthropic.com>
* fix: pin @llamaindex/ui to ~3.6.1 to avoid breaking changes in minors
Changed from ^x.y.z (caret) to ~3.6.1 (tilde) versioning for
@llamaindex/ui dependency across all template UI packages to prevent
breaking changes from minor version bumps.
* chore: bump template versions for @llamaindex/ui update
Incremented patch versions for all templates with updated UI dependency:
- basic-ui: 0.2.4 → 0.2.5
- classify-extract-sec: 0.2.6 → 0.2.7
- data-extraction: 0.3.7 → 0.3.8
- document-qa: 0.2.6 → 0.2.7
- extract-basic: 0.1.6 → 0.1.7
- extract-reconcile-invoice: 0.3.2 → 0.3.3
- showcase: 0.3.1 → 0.3.2
* fix: revert document-qa and basic-ui to @llamaindex/ui ^2.1.1
These templates still use v2 of the UI package, so keeping them on their
original caret range and reverting their version bumps.
---------
Co-authored-by: Claude <noreply@anthropic.com>