Skip to content

feat: headless artifact SDK + artifact-kit & team-activity MCP tools#114

Merged
milstan merged 1 commit into
mainfrom
milstan/cold-call-component-library
Jun 22, 2026
Merged

feat: headless artifact SDK + artifact-kit & team-activity MCP tools#114
milstan merged 1 commit into
mainfrom
milstan/cold-call-component-library

Conversation

@milstan

@milstan milstan commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Adds @leadbay/components, a headless artifact SDK (vanilla view-models: field/action/resource/list plus domain helpers like outreach/leadHistory/enrichment/teamActivity) so the user's Claude in cowork can build interactive HTML artifacts that call Leadbay, with the agent owning 100% of the markup and the SDK owning the data lifecycle (populate-from-API, loading/error, validation, polling, request sequencing, a 30s call timeout, and the report_outreach verification + _triggered_by footguns). Two new always-on read tools ship with it: leadbay_artifact_kit (serves the runtime + a usage guide the agent reads to assemble an artifact) and leadbay_team_activity (per-rep activity KPIs + trend, wrapping /kpi/users + /kpi/trends, the web Dashboard-Manager data). It is validated by agent-dogfood tests where an independent agent builds a working cold-call sheet and a manager dashboard from the guide alone and jsdom asserts the real tool calls fire with the right args, and a new components:check drift guard plus the existing routing / composite-file / workflows audits keep registration honest. Also bumps mcp 0.21.3 to 0.22.0 (the release trigger), core to 0.8.4, and updates CHANGELOG + server.json; 939 tests green, rebased onto current main.

🤖 Generated with Claude Code

…y tools

Add @leadbay/components: vanilla view-models (field/action/resource/list plus
domain helpers like outreach/leadHistory/enrichment/teamActivity) for building
interactive cowork HTML artifacts. The agent owns 100% of markup; the SDK owns
the data lifecycle (populate-from-API, value/loading/error, validation, polling,
the report_outreach verification + _triggered_by footguns).

New always-on read tools: leadbay_artifact_kit (serves the runtime + usage guide)
and leadbay_team_activity (per-rep activity KPIs, wraps /kpi/users + /kpi/trends).
Build emits a minified runtime into core; a components:check drift guard fails CI
if it goes stale.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@milstan milstan merged commit 8af2598 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant