Skip to content

Releases: prismeai/sdk-agents-node

v0.3.0

Choose a tag to compare

@Brokray Brokray released this 26 Oct 18:23

v0.3.0

Breaking: the storage resources move to the Knowledge Bases API, as the Prisme.ai platform retires the /v1/vector_stores and /v1/files storage routes they used. The README has a "Migrating from 0.2" section with the method mapping.

  • client.storage.vectorStores is replaced by client.storage.knowledgeBases, with documents, access and webSources. Existing vector store ids (vs_...) are valid knowledge base ids.
  • client.storage.files uses the storage workspace's files API: upload a file, then attach it with knowledgeBases.documents.add(kbId, { native_file_id }). An upload from a path keeps the file's name; a Blob keeps its own type or takes contentType.
  • files.delete deletes a file the caller uploaded and no document uses (409 while one does). files.list is removed.
  • Storage calls act on behalf of a user and need a bearerToken.
  • Deletes return the server's body: a document or file delete says whether the uploaded file went with it (file_purged, purge_reason); a knowledge base delete runs in the background.
  • access.list, webSources.list and documents.chunks take page and limit; documents.list takes metadata.* filters; documents.sourceUrl resolves a link to a document's source.
  • Fix: require() resolves to the built CommonJS bundle.
  • Fix: the paginator no longer overwrites a caller's page and limit, and keeps paging past a server-capped limit while the response reports more.

v0.2.1

Choose a tag to compare

@aaamarcha aaamarcha released this 10 Apr 08:43

v0.2.1

  • Fix URL construction: replace new URL() relative resolution with simple string concatenation to avoid double-slash edge cases
  • Update default base URL to https://api.studio.prisme.ai/v2

v0.2.0

Choose a tag to compare

@aaamarcha aaamarcha released this 09 Apr 18:05

v0.2.0

  • Remove environment config, use baseURL for self-hosted instances
  • Fix API path format to match production endpoints
  • Full Agent Factory and Storage API coverage

v2.0.1

Choose a tag to compare

@aaamarcha aaamarcha released this 06 Apr 09:14

Fix npm provenance by adding repository field to package.json

v2.0.0

Choose a tag to compare

@aaamarcha aaamarcha released this 06 Apr 09:08

@prisme.ai/sdk v2.0.0

Complete rewrite of the official Prisme.ai Node.js SDK.

Features

  • All Agent Factory resources (agents, messages, conversations, tasks, tools, access, analytics, evaluations, a2a, artifacts, shares, ratings, activity, profiles, orgs)
  • All Storage resources (files, vector stores, skills, stats)
  • HTTP client with retry, timeout, and error mapping
  • SSE streaming support (async iterables)
  • Auto-pagination
  • File upload helpers
  • Full TypeScript types
  • ESM + CJS dual output
  • 263 tests, 99.8% coverage

Install

npm install @prisme.ai/sdk

v0.1.0 - @prisme.ai/sdk-agents

Choose a tag to compare

@aaamarcha aaamarcha released this 06 Apr 09:27

Initial release of @prisme.ai/sdk-agents.

Features

  • Full Agent Factory API coverage (agents, messages, conversations, tasks, tools, access, analytics, evaluations, ratings, A2A, artifacts, shares, activity, profiles, orgs)
  • Full Storage API coverage (files, vector stores, skills, stats)
  • SSE streaming support for messages and A2A
  • Auto-pagination on all list endpoints
  • Typed error hierarchy with retry logic
  • Zero runtime dependencies (native fetch)
  • ESM + CJS dual package