Expand description
Core infrastructure — config, session, auth, logging, error types, protocol.
Modules§
- auth
- OAuth 2.0 Authorization Code + PKCE flow for Anthropic (Claude Pro/Max).
- chain
- Chain pointer management — named bookmarks that auto-advance on compaction.
- config
- error
- logging
- models
- Curated list of Claude models known to work with this CLI. Centralized so the settings dropdown, defaults, and subagent hints agree.
- protocol
- rpc_
dispatch - Pure helper functions for the
synaps rpccommand dispatcher. - rpc_
protocol - RPC protocol types for the
synaps-bridgeparent↔child IPC channel. - session
- session_
index - shell_
config - Shell session configuration — parsed from ~/.synaps-cli/config shell.* keys.
Lives in
coreso thatcore::configcan embed it without a back-edge intotools. - stream_
types - Core streaming event types shared across agent-core (rpc_dispatch) and
the engine layer (runtime, engine). Defined here so
agent-coreis a clean leaf with no upward dependencies into the engine layer. - watcher_
types