Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.39.0"
".": "0.40.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 31
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-e57add0181eb2a057f8416eaf4020dd5b3042431342a51e3d4dc39af4a41aced.yml
openapi_spec_hash: d0d66b814ebe56ac7c0135f9f3aab616
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-5fa01d1d8f236b2c961d0f6db2af161f3d67bf0f9eeee741e452b90095d0031f.yml
openapi_spec_hash: 82e8a4badd2628e82fddb09c4bbdf7a2
config_hash: 11e84d884a86d2db0411c35fae6e9121
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.40.0 (2026-06-25)

Full Changelog: [v0.39.0...v0.40.0](https://github.com/hyperspell/node-sdk/compare/v0.39.0...v0.40.0)

### Features

* **api:** api update ([5d62e04](https://github.com/hyperspell/node-sdk/commit/5d62e04bd9fa16047c80d027e520a94d822f93e8))
* **api:** api update ([bab5ed7](https://github.com/hyperspell/node-sdk/commit/bab5ed73ce7358ab3d3a15e9560337d578c4cec5))
* **api:** api update ([7b4c29a](https://github.com/hyperspell/node-sdk/commit/7b4c29a946e26c7375669ce46789359c14bed550))

## 0.39.0 (2026-06-18)

Full Changelog: [v0.38.0...v0.39.0](https://github.com/hyperspell/node-sdk/compare/v0.38.0...v0.39.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperspell/hyperspell",
"version": "0.39.0",
"version": "0.40.0",
"description": "The official TypeScript library for the Hyperspell API",
"author": "Hyperspell <hello@hyperspell.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "@hyperspell/hyperspell-mcp",
"version": "0.39.0",
"version": "0.40.0",
"description": "The official MCP Server for the Hyperspell API",
"author": {
"name": "Hyperspell",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperspell/hyperspell-mcp",
"version": "0.39.0",
"version": "0.40.0",
"description": "The official MCP Server for the Hyperspell API",
"author": "Hyperspell <hello@hyperspell.com>",
"types": "dist/index.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions packages/mcp-server/src/local-docs-search.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const newMcpServer = async ({
new McpServer(
{
name: 'hyperspell_hyperspell_api',
version: '0.39.0',
version: '0.40.0',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
10 changes: 8 additions & 2 deletions src/resources/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ export class Connections extends APIResource {
}

/**
* Revokes Hyperspell's access the given provider and deletes all stored
* credentials and indexed data.
* Revoke Hyperspell's access to a provider and delete this user's stored data.
*
* The external OAuth/Unified revoke and the (potentially large) data purge run in
* a background Temporal workflow; this returns `202 Accepted` immediately. A heavy
* provider — a Gmail account can carry hundreds of thousands of chunks — plus a
* slow third-party revoke would otherwise outrun the request timeout: the old
* synchronous path "timed out" for the caller while still finishing server-side,
* making the outcome invisible. Idempotent per (app, user, provider).
*/
revoke(connectionID: string, options?: RequestOptions): APIPromise<ConnectionRevokeResponse> {
return this._client.delete(path`/connections/${connectionID}/revoke`, options);
Expand Down
2 changes: 2 additions & 0 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ export interface Conversation {

text?: string | null;

title?: string | null;

type?: 'conversation';
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.39.0'; // x-release-please-version
export const VERSION = '0.40.0'; // x-release-please-version
4 changes: 2 additions & 2 deletions tests/api-resources/memories.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('resource memories', () => {
query: 'What does Hyperspell do?',
answer: true,
effort: 'minimal',
max_results: 0,
max_results: 1,
options: {
after: '2019-12-27T18:11:19.117Z',
answer_model: 'llama-3.1',
Expand All @@ -171,7 +171,7 @@ describe('resource memories', () => {
google_calendar: { calendar_id: 'calendar_id', weight: 0 },
google_drive: { weight: 0 },
google_mail: { label_ids: ['string'], weight: 0 },
max_results: 200,
max_results: 1,
memory_types: ['procedure'],
notion: { notion_page_ids: ['string'], weight: 0 },
recency_half_life_days: 1,
Expand Down
Loading