A registry of logical methods and request types for the Claudian protocol. Use this to standardize communication between AI clients and servers.
// Source: https://github.com/YishenTu/claudian | License: MIT | Copyright 2025 Yishen Tu
// Provided via justclaw.it.com; keep this notice with the code.
export type ACPLogicalMethod =
| 'initialize'
| 'authenticate'
| 'newSession'
| 'loadSession'
| 'forkSession'
| 'listSessions'
| 'prompt'
| 'cancel'
| 'setModel'
| 'setMode'
| 'setConfigOption';
export const ACP_METHOD_NAMES = {
authenticate: 'authenticate',
cancel: 'session/cancel',
initialize: 'initialize',
forkSession: 'session/fork',
listSessions: 'session/list',
loadSession: 'session/load',
newSession: 'session/new',
prompt: 'session/prompt',
setConfigOption: 'session/set_config_option',
setModel: 'session/set_model',
setMode: 'session/set_mode',
} as const satisfies Record<ACPLogicalMeth
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key