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.

ExampleCopy into your workspace
Complete onboardingansight/tests/complete-onboarding.json
Load a sceneansight/tests/load-3d-guides.json
Capture application errorsansight/triggers/capture-application-errors.ts
Sanitize personal dataansight/sanitizers/pii-default.ts
Track sign-in responsivenessansight/trends/login-responsiveness.json
Track scene memoryansight/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.