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_*.
- extract-reconcile-invoice: index_contract.py called files.get_file /
files.read_file_content / files.upload_file (v1 SDK surface removed in
v2), breaking every Upload Contract click. Switched to files.list +
files.get + files.create.
- Added test_index_contract_workflow and test_metadata_workflow to
exercise the full v2 surface (files.list, files.get, pipelines.upsert,
pipelines.documents.upsert, configurations.retrieve).
- document-parsing and invoice-extraction had only placeholder tests —
wired up llama-cloud-fake and added parametrized tests covering every
tier/mode. invoice-extraction's test drives the HIL step.
- Bumped requires-python to >=3.12 on both (fake floor).
* 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>
* Update readmes on UI starters to link to datasets and be a little more explanatory
* Update README.md
* Update README.md
* Fix typo, version
* version
* feat: add a llm-based workflow representation/viz package
* feat: add static analysis and adapt LLM analysis
* ci: lint and format
* docs: readme nits
* feat: tune json repr and move it into coding-agent package
* ci: lint and format
* fix: safe loading env variables with os.getenv instead of os.environ in templates
* chore: use dedent in python templating