Files
copilotkit__copilotkit/showcase/shared/constraints.yaml
Ran Shem Tov 071ff0b3a4 fix(showcase): register mastra-only features in the registry + constraints
The mastra manifest declares three Mastra-only demos (background-agents,
observational-memory, browser-use) that were never added to the shared
feature registry, so generate-registry.ts rejected the manifest with
"Unknown feature ID" and the constraint validator rejected them as not
allowed by any declared generative_ui approach.

- Add the three features to showcase/shared/feature-registry.json.
- Allow them under constrained-explicit in showcase/shared/constraints.yaml.
- Update the generate-catalog cross-join count assertions (50 features x
  20 integrations = 1000 cells; total_cells 980; LGP 50 = 37 wired + 1
  stub + 10 unshipped + 2 unsupported) — the three Mastra-only features
  are unshipped for every other integration.
2026-07-02 23:02:19 +02:00

92 lines
2.2 KiB
YAML

# Constraint tables for the Showcase Decision Tree.
# Generative UI: allowlist-based (demo must appear in `allowed` list)
# Interaction Modality: denylist-based (all allowed unless in `excluded` list)
generative_ui:
constrained-declarative:
allowed:
- beautiful-chat
- cli-start
- agent-config
- agentic-chat
- chat-customization-css
- tool-rendering-default-catchall
- tool-rendering-custom-catchall
- frontend-tools
- frontend-tools-async
- gen-ui-tool-based
- useComponent
- multimodal
- suggestions
- shared-state-read-write
- readonly-state-agent-context
- shared-state-streaming
- subagents
- voice
- auth
excluded:
- tool-rendering
- hitl-in-chat
- hitl-in-app
- gen-ui-interrupt
constrained-explicit:
allowed:
- beautiful-chat
- cli-start
- agent-config
- agentic-chat
- chat-customization-css
- tool-rendering-default-catchall
- tool-rendering-custom-catchall
- tool-rendering-reasoning-chain
- agentic-chat-reasoning
- reasoning-default-render
- reasoning-default
- reasoning-custom
- prebuilt-sidebar
- prebuilt-popup
- chat-slots
- headless-simple
- headless-complete
- frontend-tools
- frontend-tools-async
- gen-ui-tool-based
- gen-ui-interrupt
- interrupt-headless
- gen-ui-agent
- hitl-in-chat
- hitl-in-chat-booking
- hitl-in-app
- hitl
- declarative-gen-ui
- a2ui-fixed-schema
- a2ui-recovery
- mcp-apps
- tool-rendering
- useComponent
- multimodal
- suggestions
- shared-state-read-write
- shared-state-read
- readonly-state-agent-context
- shared-state-streaming
- subagents
- voice
- auth
- byoc-hashbrown
- byoc-json-render
- declarative-hashbrown
- declarative-json-render
- open-gen-ui
- open-gen-ui-advanced
- background-agents
- observational-memory
- browser-use
interaction_modalities:
headless:
excluded:
- voice
# sidebar, embedded, popup, chat: no exclusions