Defines the JSON-RPC schema and methods for agent-client communication. Use this to ensure type-safe, standardized messaging between AI agents and their host applications.
// Source: https://github.com/BradGroux/veritas-kanban | License: MIT | Copyright 2026 Digital Meld
// Provided via justclaw.it.com; keep this notice with the code.
export const ACP_PROTOCOL_VERSION = 1 as const;
export const ACP_PROTOCOL_ID = 'acp/v1' as const;
export const ACP_RUNTIME_PROFILE_SCHEMA_VERSION = 'acp-runtime-profile/v1' as const;
export const ACP_METHODS = {
agent: {
initialize: 'initialize',
sessionNew: 'session/new',
sessionLoad: 'session/load',
sessionResume: 'session/resume',
sessionFork: 'session/fork',
sessionClose: 'session/close',
sessionPrompt: 'session/prompt',
sessionCancel: 'session/cancel',
},
client: {
sessionUpdate: 'session/update',
requestPermission: 'session/request_permission',
},
} as const;
export type A
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key