types/cma-protocol.ts

sandbase-harness · src/types/cma-protocol.ts · typescript · Apache-2.0
ai

* CMA Protocol Event Types Complete type definitions for the Claude Managed Agents protocol events. Source of truth: Anthropic CMA event specification. Event types use dot notation, grouped by namespace: - user.* — Events sent by the client to the session

// Source: https://github.com/sandbaseai/sandbase-harness | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * CMA Protocol Event Types
 *
 * Complete type definitions for the Claude Managed Agents protocol events.
 * Source of truth: Anthropic CMA event specification.
 *
 * Event types use dot notation, grouped by namespace:
 * - user.*      — Events sent by the client to the session
 * - agent.*     — Events emitted by the agent during execution
 * - session.*   — Session lifecycle status events
 * - span.*      — Observability spans (model request timing)
 */

// ============================================================
// Event Type Enum
// ===============================

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key