Commit 7ae969e
chore(showcase): remove the AI agent (service-ai is an enterprise capability) (#2317)
* chore: bump objectui to 8a3b351a5a32
fix(console): gate the AI surface on the service-ai capability, not the agent catalog (#1992)
objectui@8a3b351a5a320e6769a1616e85a6fd05aabd3279
* chore(showcase): remove the AI agent — service-ai is an enterprise capability
The showcase defined a `showcase_assistant` agent + a skill + two tools, all of
which need the enterprise `@objectstack/service-ai` runtime to be served. The
open-source showcase shouldn't require an enterprise capability, so drop the AI
block entirely:
- delete `src/agents/index.ts` (agent + skill + tools) and its config wiring
(`agents` / `skills` / `tools`);
- remove the `@objectstack/service-ai` dependency (added in #2311 to back the
agent — no longer needed);
- drop the descriptive `ai` entry from the coverage map and update the seed test
(`agents.length` 1 → 0).
The showcase now boots as a Community-Edition shape: no AI service is registered,
discovery reports `services.ai` unavailable, and `/api/v1/ai/agents` 404s — so
the console hides its AI surface. `tsc --noEmit` + all 39 showcase tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent c2f1605 commit 7ae969e
7 files changed
Lines changed: 2 additions & 72 deletions
File tree
- examples/app-showcase
- src
- agents
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | 179 | | |
186 | 180 | | |
187 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments