Main client for interacting with the Copilot CLI.
The CopilotClient manages the connection to the Copilot CLI server and provides methods to create and manage conversation sessions. It can either spawn a CLI server process or connect to an existing server.
Main client for interacting with the Copilot CLI. The CopilotClient manages the connection to the Copilot CLI server and provides methods to create and manage conversation sessions. It can either spawn a CLI server process or connect to an existing server.
Idiomatic helpers for defining Copilot tools.
Provides define-tool (function) and deftool (macro) for concise
tool definitions with automatic result normalisation.
Idiomatic helpers for defining Copilot tools. Provides `define-tool` (function) and `deftool` (macro) for concise tool definitions with automatic result normalisation.
JSON-RPC 2.0 client with Content-Length framing over stdio or TCP streams.
JSON-RPC 2.0 client with Content-Length framing over stdio or TCP streams.
A CopilotSession maintains conversation state, handles events, and manages
tool execution. Sessions are created via copilot.client/create-session!
or resumed via copilot.client/resume-session!.
A CopilotSession maintains conversation state, handles events, and manages tool execution. Sessions are created via `copilot.client/create-session!` or resumed via `copilot.client/resume-session!`.
Canonical data shapes used throughout the Copilot Clojure SDK.
All maps use kebab-case keywords internally. Conversion to/from camelCase JSON happens at the transport boundary (see copilot.json-rpc).
Canonical data shapes used throughout the Copilot Clojure SDK. All maps use kebab-case keywords internally. Conversion to/from camelCase JSON happens at the transport boundary (see copilot.json-rpc).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |