Release notes · Console SDK
Console SDK Release Notes
Changelog for @cognipeer/console-sdk. For usage, see the Console SDK documentation.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.7.0] - 2026-08-17
Added
- New resources:
client.analytics(usage/overview),client.audit(logs),client.monitoring(inference),client.pii(policy CRUD + detect/redact/…) — additive, no existing method/resource/type changed. client.tracing.listThreads/getThread.- Authoring on existing resources —
agents/tools/mcp/prompts/guardrails/rag/rerankergainedcreate/update/delete(pluspublish/sync/setLatestVersion/refreshToolswhere applicable). metadataon tracing sessions —client.tracing.ingest/startStreamaccept an optionalmetadata: Record<string, string>sibling ofagent, for grouping/reporting spend by arbitrary attribution tags.
Changed
- Default
baseURLis nowhttps://console.cognipeer.com(washttps://api.cognipeer.com). Only affects clients constructed without an explicitbaseURL.
Fixed
client.tools.*routing —list,get,executeand the deprecated agent-tool helpers were missing the/api/client/v1prefix, so every Tools call hit the wrong URL.
[1.6.0] - 2026-07-17
Added
- MCP Hubs discovery client (
client.mcp.hubs.list/get/servers/server) — hub catalog discovery via the MCP Registry envelope, with cursor pagination and tool schemas on the detail view. client.realtime.connect({ runtimeContext })— sends session-scoped downstream auth right after the socket opens, refreshable viaupdateSession.
[1.5.0] - 2026-07-14
Added
- Aegis API (
client.aegis, Enterprise) — enforcement-plane policy evaluation:evaluate()returns anallow/redact/require_approval/sandbox/blockdecision with findings, risk score and a sanitized resource;shields.list()andshields.audit(shieldId)read the enforcement instances and their decision trails. Shields are configured in the Console dashboard (/dashboard/aegis).
[1.4.1] - 2026-07-07
Added
client.sandbox.listeningPorts(id)— TCP ports currently LISTENing inside a sandbox, with aloopbackOnlyflag (a service bound only to 127.0.0.1 must be restarted on 0.0.0.0 to be previewable).SandboxPreviewInfo.allPorts— when true (platform default), any port is previewable throughpreviewUrl(id, port)/ share links, not just the suggested list; the platform provisions an on-demand forwarder for unpublished ports.
[1.4.0] - 2026-07-05
Added
- Web Search API (
client.webSearch) — run searches through Console-configured Web Search instances (Bing, Brave Search, Serper, Tavily, SearxNG, DuckDuckGo):search(...),searchWith(key, ...)for a named instance,include_answer: truefor AI-interpreted answers,providers.list(). - Crawler sync runs —
client.crawler.run(...)/crawlWithCrawler(...)acceptmode: 'sync'and resolve with the finished job plus inline results (CrawlRunSyncResponse, markdown included); new single-URL convenienceclient.crawler.crawlUrl(idOrKey, url).
Fixed
client.crawler.runAdhoc(...)now sendsseeds(the field the server's ad-hoc schema requires) instead ofurls, and exposesengine/maxDepth/maxPages/modeoptions.
[1.3.4] - 2026-07-02
Removed
- Breaking: JS Sandbox API (
client.jsSandbox) and its types (JsSandboxRuntime,JsSandboxExecuteRequest,JsSandboxExecutionResult, …) — the JS Sandbox module was removed from the Console platform. Use the Agent Sandbox (client.sandbox)code/execAPIs for code execution instead. Note: this removal shipped as a patch release, not a major bump — pin an exact version if you still depend onclient.jsSandbox.
[1.3.3] - 2026-06-29
Added
client.sandbox.setPreview(id, { enabled?, public? })— toggle port preview on/off and public (share links) vs. private (login-only), applied live;create()acceptspreviewEnabled/previewPublic;preview()/SandboxPreviewInfonow exposeenabled/public.
[1.3.2] - 2026-06-27
Added
- Sandbox port preview helpers —
sandbox.preview(id)(list previewable ports and their proxy URLs),sandbox.createPreviewLink(id, port, opts?)(session-less, expiring share link),sandbox.previewUrl(id, port, path?)(authenticated proxy path). resourcesoverride (cpuCores/memoryMb/diskMb/pids) onsandbox.create()and on snapshot restore, for sizing a sandbox or a resumed snapshot.
[1.3.1] - 2026-06-24
Added
- Agent Sandbox API (
client.sandbox) — remote runtime containers withexec/code, lifecycle (start/stop/delete), file IO (fs.*and volumeuploadFiles/listFiles/downloadFile),git.*, detachedsessions.*, andsnapshot/fork/restoreSnapshot/waitUntilRunning. - Realtime API (
client.realtime) — WebSocket sessions withconnect/url/twilioStreamUrl, theRealtimeConnectionevent API andrespond()helper, optional voice (STT/TTS) round-trip, and realtime model presets (client.realtime.models).
Changed
- Documented the full API surface on the docs site (previously README-only): Batches, Moderations, Spend & Budgets, Realtime, Agent Sandbox, plus LangChain and OpenTelemetry integration pages.
[1.3.0] - 2026-06-22
Added
- Agent Sandbox API (
client.sandbox) — initial resource for remote runtime containers:create/list/get/delete,exec/code,waitUntilRunning, filesystem (fs.*: list/info/read/write/mkdir/delete/move/find/replace),git.*(clone/status/branches/checkout/add/commit/push/pull/log), and detachedsessions.*. (Lifecyclestart/stop, volume file IO, and snapshot/fork/restore followed in 1.3.1.) reasoning_content/reasoningon chat messages, streamed and non-streamed — reasoning/"thinking" models' chain-of-thought, surfaced end to end including through the LangChain integration (additional_kwargsonAIMessage/AIMessageChunk).
[1.2.0] - 2026-06-03
Added
- Batch API (
client.batches) — OpenAI-compatible async bulk inference:create/list/retrieve/cancel/items/results/resultsRaw. - Moderations API (
client.moderations.create) — OpenAI-compatible content classification backed by guardrails. - Spend API (
client.spend.report) and Budgets API (client.budgets—list/create/update/delete/status).
Removed
client.browserAgents(superseded by thebrowsers/ browser sessions / per-browser MCP split).
[1.1.0] - 2026-05-21
Added
- Audio API (
client.audio.transcriptions,audio.translations,audio.speech). - OCR API (
client.ocr.extract). - Automations API (
client.automations). - Crawler API (
client.crawler+client.crawler.jobs). - JS Sandbox API (
client.jsSandbox). - Reranker API (
client.rerankers, Cohere-compatible). - MCP API (
client.mcp.console,client.mcp.server(key)) with REST + JSON-RPC + SSE helpers. - Tracing streaming (
startStream/appendEvent/endStream) and direct OTLP ingest (ingestOtlp). - File providers (
client.files.providers) and binaryclient.files.download(...).
Changed
HttpClientnow supports binary responses and multipart uploads.- Default
baseURLis the host root. Legacy URLs ending in/api/client/v1are normalised automatically.
Fixed
- URL double-prefix bug when the default
baseURLwas used with resource paths that already include/api/client/v1.
[1.0.6] - 2026-05-14
Added
- Browser automation resources —
client.browsers(profiles),client.browserSessions(Playwright-backed sessions:action/extract/snapshot/screenshot/screenshotLive/pdf/close), andclient.browserMcp(per-browser MCP tool bridge:initialize/listTools). This split superseded the olderclient.browserAgents, which was removed in 1.2.0.
Changed
- Clarified memory API docs/examples (base URL usage, added debug logging) and refined the
MemorySource/MemoryItemStatustypes.
[1.0.5] - 2026-03-25
Housekeeping release. This commit ("Initial public release") is the earliest point in the SDK's public git history; no per-commit detail is available for what changed since 1.0.4.
[1.0.4] - 2026-02-20
Published to npm; no corresponding commit survives in this repository's history — the visible git history begins after this release, at the 1.0.5 snapshot above. No further detail could be grounded in source.
1.0.2 - 2025-10-09
Fixed
- Documentation deployment configuration for GitHub Pages
1.0.0 - 2025-10-08
Added
- Initial release of Cognipeer Console SDK
- Chat completions with streaming support
- Embeddings API
- Vector operations (Pinecone, Chroma, Qdrant)
- File management with markdown conversion
- Agent tracing and observability
- Full TypeScript support
- ESM and CommonJS builds
- Comprehensive documentation
Features
- OpenAI-compatible API
- Type-safe client
- Error handling
- Request/response validation
- Multi-provider support

