Skip to content

chore(crm): remove the AI agent (service-ai is an enterprise capability) - #2319

Merged
os-zhuang merged 1 commit into
mainfrom
chore/crm-remove-ai-agent
Jun 25, 2026
Merged

chore(crm): remove the AI agent (service-ai is an enterprise capability)#2319
os-zhuang merged 1 commit into
mainfrom
chore/crm-remove-ai-agent

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Why

Same as the showcase (#2317): @objectstack/service-ai is an enterprise capability, so the open-source CRM example shouldn't define an AI agent that requires it.

What

Verification (worktree, fresh runtime)

  • tsc --noEmit clean; all 29 crm tests pass (smoke.test.ts doesn't assert agents, so no test change needed).
  • Boots as a CE shape: services.ai: { enabled: false, status: "unavailable" }, /api/v1/ai/agents404, AIService not in the plugin list.

With this, both open-source examples (showcase + crm) are Community-Edition-shaped — no AI.

🤖 Generated with Claude Code

Mirror the showcase change (#2317): the open-source CRM example shouldn't define
an AI agent that requires the enterprise @objectstack/service-ai runtime.
- delete src/agents/ (SalesAssistantAgent + DealManagementSkill + LookupContactTool)
and its config wiring (agents / skills) plus the unused referenceMetadata export;
- remove the @objectstack/service-ai dependency (added in #2311 to back the agent).
crm now boots as a Community-Edition shape: no AI service registered, discovery
reports services.ai unavailable, /api/v1/ai/agents 404. tsc --noEmit + all 29 crm
tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specBuildingBuildingPreview, CommentJun 25, 2026 5:30am

Request Review

@github-actionsgithub-actionsBot added dependencies Pull requests that update a dependency file size/s labels Jun 25, 2026
@os-zhuang
os-zhuang merged commit eaaa345 into mainJun 25, 2026
15 of 16 checks passed
@os-zhuang
os-zhuang deleted the chore/crm-remove-ai-agent branch June 25, 2026 05:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filesize/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@os-zhuang