ext-apps/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 4ff22d0097
Fix build errors in examples (#180)
* Update `package.json`

* Add TypeScript type checking to example build scripts

Add `tsc --noEmit &&` before `vite build` in all example `package.json`
files to catch type errors during builds. Previously, type errors
in `server.ts` files were not detected because Vite/Bun transpile
without type checking.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Make `_meta` optional in `McpUiAppResourceConfig`

The `_meta` and `ui` properties were required, causing TypeScript errors
when calling `registerAppResource()` without providing metadata.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix Zod type compatibility in `registerAppTool()`

Use `ZodRawShapeCompat | AnySchema` from SDK's `zod-compat` module
instead of raw `ZodRawShape` to resolve type errors when examples
pass `ZodObject` schemas to `registerAppTool()`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Remove unused imports in example apps

- `basic-server-react`: Remove unused `McpUiResourceTeardownResult`
- `customer-segmentation-server`: Remove unused `PostMessageTransport`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix CI git install test for fork PRs

Use `github.event.pull_request.head.repo.full_name` to correctly
reference the fork repository when testing git installs from PRs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:17:23 +00:00
..
basic-host Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
basic-server-react Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
basic-server-vanillajs Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
budget-allocator-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
cohort-heatmap-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
customer-segmentation-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
qr-server feat: add server helpers, make connect() to default to parent post transport (#165) 2025-12-16 21:25:26 +00:00
scenario-modeler-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
shared tests: add Playwright E2E tests with screenshot golden testing (+ fix examples session handling) (#115) 2025-12-13 20:57:27 +00:00
system-monitor-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
threejs-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
wiki-explorer-server Fix build errors in examples (#180) 2025-12-18 11:17:23 +00:00
run-all.ts refactor(examples): use concurrently API for proper process cleanup (#128) 2025-12-11 14:04:39 +01:00