Workspace examples
Start from small test, trigger and sanitizer examples in a local Ansight workspace.
Create a workspace with the installed CLI so it supplies the matching schemas,
TypeScript declarations and authoring templates. Use ansight workspace init help
for initialization options. The examples below are optional starting points;
replace com.example.app with your app’s bundle or package ID before running them.
| Example | Copy into your workspace |
|---|---|
| Complete onboarding | ansight/tests/complete-onboarding.json |
| Load a scene | ansight/tests/load-3d-guides.json |
| Capture application errors | ansight/triggers/capture-application-errors.ts |
| Sanitize personal data | ansight/sanitizers/pii-default.ts |
| Track sign-in responsiveness | ansight/trends/login-responsiveness.json |
| Track scene memory | ansight/trends/load-3d-guides-memory.json |
Review every sample before running it. Configure the app-specific tools, selectors and telemetry channels required by the sample. Local workspace authoring needs no Ansight account. Tests that use a model require a signed-in Ansight account; Ansight authorizes the run and brokers the model connection. A local OpenAI API key is not used for test execution.
See tests, triggers, sanitizers and trends for configuration and execution instructions. The sample source uses PolyForm Shield 1.0.0.