2.0.1 — Package links and API documentation
- Updated npm repository and issue links to GitHub, and the package homepage to this documentation site.
- Added working documentation, example and support links to the npm README.
- Corrected API descriptions for tool restrictions, custom tool input validation, runtime ownership and file rewind.
1.14.19+cognitio.runtime.4.
Documentation update — September 30, 2026
These are documentation and example improvements for the existing 2.0.0 package; they do not require an SDK upgrade.- Reworked the quickstart into a complete Node.js project with credentials, code, and a run command.
- Added a built-in tools catalog, including tool IDs, model-specific availability, and permission guidance.
- Expanded the cookbooks with complete source code, expected output, and GitHub links.
- Clarified session ownership, cancellation, cleanup, and the distinction between default configuration isolation and an operating-system sandbox.
- Separated the SDK reference from the advanced runtime HTTP protocol.
- Added detailed troubleshooting and support.
- Corrected the session-memory example to use
Session.send(prompt)and documentedSession.interrupt()for cancellation.
2.0.0 — First public Cognitio release
Install the release from npm:Included capabilities
- Agent APIs: reusable
Agentinstances, streamedquery()tasks, and explicitcreateAgentClient()ownership. - Tools: built-in file and shell tools, application callbacks, hosted MCP tools, and external MCP connections.
- Conversations: sessions, resume, fork, streaming events, and cancellation.
- Control: permission rules and callbacks, lifecycle hooks, and subagent delegation.
- Output and state: structured output, eligible-file checkpoints and rewind, and context compaction.
- Operations: multi-provider model selection, usage/cost reporting, and local or remote runtime connections.
Installation and defaults
The package includes matching runtime packages for supported macOS, Linux, and Windows platforms. It supports Node.js 22+ and Bun, and starts locally with isolated configuration and temporary state by default. The bundled runtime compatibility version is1.14.19+cognitio.runtime.4.
Read installation for platform details, runtime defaults for state lifetime, and the v2 migration guide when moving an existing application.