Add temi OpenAPI scenario runner demo - #3
Conversation
|
@chengwei11414-hue is attempting to deploy a commit to the robotemi's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
🟡 Changes recommended
There are correctness issues that likely break npm run dev (CSP/HMR) and a TypeScript type error + inconsistent error rethrow behavior that should be fixed before merging.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a new client-only Vite/TypeScript demo (“temi OpenAPI scenario runner”) that walks an operator through verifying a token, discovering robots, composing/validating a sequence, playing it, polling status, and stopping the run.
Changes:
- Introduces a standalone demo app (Vite config, TS config, package manifests, README, static assets).
- Implements API client, request orchestration + timeline logging, discovery/composition, and run lifecycle management.
- Adds the UI entrypoint and a full CSS stylesheet for the demo experience.
File summaries
| File | Description |
|---|---|
| demos/temi-openapi-scenario-runner/vite.config.mts | Vite build/root configuration for the demo. |
| demos/temi-openapi-scenario-runner/tsconfig.json | Strict TS configuration for the demo sources. |
| demos/temi-openapi-scenario-runner/package.json | Demo package metadata + scripts/deps. |
| demos/temi-openapi-scenario-runner/package-lock.json | Locked dependency tree for reproducible installs. |
| demos/temi-openapi-scenario-runner/README.md | Local run instructions + token safety guidance. |
| demos/temi-openapi-scenario-runner/.gitignore | Ignores build output and local install artifacts. |
| demos/temi-openapi-scenario-runner/index.html | Demo HTML shell + CSP meta. |
| demos/temi-openapi-scenario-runner/logo.svg | Demo branding asset. |
| demos/temi-openapi-scenario-runner/src/api.ts | Browser API client + error typing + token redaction. |
| demos/temi-openapi-scenario-runner/src/orchestrator.ts | Request orchestration, abort/timeout handling, timeline integration. |
| demos/temi-openapi-scenario-runner/src/timeline.ts | Timeline event model + safe request/response/error summaries. |
| demos/temi-openapi-scenario-runner/src/run-state.ts | Run state machine and transition validation. |
| demos/temi-openapi-scenario-runner/src/discovery.ts | Verification/robot discovery controller + action readiness logic. |
| demos/temi-openapi-scenario-runner/src/composer.ts | Scenario composition + validation orchestration and local validation. |
| demos/temi-openapi-scenario-runner/src/lifecycle.ts | Play/poll/stop lifecycle management and observation inference. |
| demos/temi-openapi-scenario-runner/src/main.ts | UI wiring and event handling for the demo. |
| demos/temi-openapi-scenario-runner/src/styles.css | Full styling for the demo UI. |
Review details
Files not reviewed (1)
- demos/temi-openapi-scenario-runner/package-lock.json: Generated file
- Files reviewed: 15/17 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
2fec3b3 to
f0c039f
Compare
f0c039f to
8e1d805
Compare
No description provided.