Package Exports
- @a5c-ai/comm-adapter
- @a5c-ai/comm-adapter/automation
- @a5c-ai/comm-adapter/browser
- @a5c-ai/comm-adapter/kanban
Readme
@a5c-ai/comm-adapter
This README is the canonical package documentation for @a5c-ai/comm-adapter.
Canonical package doc path: packages/adapters/core/README.md.
The repository reference mirror lives at docs/adapters/reference/01-core-types-and-client.md and
should match this file for package identity, runtime dependencies, and import guidance.
@a5c-ai/comm-adapter is the public Node.js core runtime package at
packages/adapters/core/ for adapters. It ships:
- the main Node entrypoint with
AgentMuxClient,createClient, normalized events, run/session/config/auth/plugin contracts, provider and hook helpers, workspace services, and atomic filesystem helpers @a5c-ai/comm-adapter/browserfor browser-safe type exports plusclassifyTool@a5c-ai/comm-adapter/kanbanfor kanban/project/workspace planning types and helpers@a5c-ai/comm-adapter/automationfor automation rule, trigger, routing, and execution record types
Install
npm install @a5c-ai/comm-adapterRequires Node.js >=20.9.0.
This package is published as ESM. The export map exposes import, require, and
default conditions, but they all resolve to the same ESM build. Use import
from ESM projects. From CommonJS, load it with await import('@a5c-ai/comm-adapter')
instead of expecting a separate CJS bundle.
Runtime dependencies are part of the package contract:
@a5c-ai/atlas/catalogprovides the harness image catalog plus host-detection rules and metadata used by invocation and host helpers@a5c-ai/adapters-observabilityprovides the structured logging and telemetry primitives used by the client, auth/session flows, and run-handle implementation
Usage
import {
createClient,
resolveProvider,
resolveRunOptions,
type AuthMethodDescriptor,
type PluginInfo,
} from '@a5c-ai/comm-adapter';
const client = createClient();import { classifyTool, type AgentEvent } from '@a5c-ai/comm-adapter/browser';
import { buildKanbanProjectBoard } from '@a5c-ai/comm-adapter/kanban';
import { type AutomationRule } from '@a5c-ai/comm-adapter/automation';The public surface is grouped around:
- client/runtime entry points such as
AgentMuxClientandcreateClient - run, auth, hook, provider, and capability contracts such as
RunOptions,AuthMethodDescriptor,HookRegistration, andProviderConfig - plugin contracts such as
PluginInfo,PluginListing, andPluginBrowseOptions - workspace, merge, and filesystem helpers such as
WorkspaceService,resolveRunOptions, andwriteFileAtomic
The supported public import seams are:
@a5c-ai/comm-adapter@a5c-ai/comm-adapter/browser@a5c-ai/comm-adapter/kanban@a5c-ai/comm-adapter/automation
Release Verification
Use the package-local release checks to confirm the documented export map still matches the packed package surface:
npm run build --workspace=@a5c-ai/comm-adapter
npm run test --workspace=@a5c-ai/comm-adapter
npm run verify:release --workspace=@a5c-ai/comm-adapter
npm pack --json --dry-run --workspace=@a5c-ai/comm-adapterRelease reviewers should be able to confirm from this README that the package
intentionally publishes the root, browser, kanban, and automation
subpaths and that all of them remain backed by dist/*.js and dist/*.d.ts
artifacts.
Docs
License
MIT © a5c-ai