Skip to content
Merged
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.34.0"
".": "0.35.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 26
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-e94268bb224f0aa46f151c81dba49c8def81c73b48da8a6f31b4f8a60aa5055c.yml
openapi_spec_hash: 2e2f8148f72a724fbafd05c51b7a62c9
config_hash: 9e504d1d5b3c05b3d92cff348f2053df
configured_endpoints: 30
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-b1f2b7cb843e6f4e6123e838ce29cbbaea0a48b1a72057632de1d0d21727c5d8.yml
openapi_spec_hash: 21a354f587a2fe19797860c7b6da81a9
config_hash: 0ed970a9634b33d0af471738b478740d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.35.0 (2026-03-18)

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

### Features

* **api:** api update ([19736d9](https://github.com/hyperspell/node-sdk/commit/19736d924ca2214d031765719dc81dd1eede8eb7))
* **api:** manual updates ([77198d1](https://github.com/hyperspell/node-sdk/commit/77198d1f6abd7ca1261ac38e8147c0306246684f))

## 0.34.0 (2026-03-17)

Full Changelog: [v0.33.0...v0.34.0](https://github.com/hyperspell/node-sdk/compare/v0.33.0...v0.34.0)
Expand Down
2 changes: 2 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ client.parents.children.retrieve('c_456', { parent_id: 'p_123' });

This affects the following methods:

- `client.folders.deletePolicy()`
- `client.memories.update()`
- `client.memories.delete()`
- `client.memories.get()`
Expand Down Expand Up @@ -87,6 +88,7 @@ client.example.list(undefined, { headers: { ... } });

This affects the following methods:

- `client.folders.list()`
- `client.integrations.connect()`
- `client.integrations.slack.list()`
- `client.memories.list()`
Expand Down
16 changes: 16 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ Methods:
- <code title="get /connections/list">client.connections.<a href="./src/resources/connections.ts">list</a>() -> ConnectionListResponse</code>
- <code title="delete /connections/{connection_id}/revoke">client.connections.<a href="./src/resources/connections.ts">revoke</a>(connectionID) -> ConnectionRevokeResponse</code>

# Folders

Types:

- <code><a href="./src/resources/folders.ts">FolderListResponse</a></code>
- <code><a href="./src/resources/folders.ts">FolderDeletePolicyResponse</a></code>
- <code><a href="./src/resources/folders.ts">FolderListPoliciesResponse</a></code>
- <code><a href="./src/resources/folders.ts">FolderSetPoliciesResponse</a></code>

Methods:

- <code title="get /connections/{connection_id}/folders">client.folders.<a href="./src/resources/folders.ts">list</a>(connectionID, { ...params }) -> FolderListResponse</code>
- <code title="delete /connections/{connection_id}/folder-policies/{policy_id}">client.folders.<a href="./src/resources/folders.ts">deletePolicy</a>(policyID, { ...params }) -> FolderDeletePolicyResponse</code>
- <code title="get /connections/{connection_id}/folder-policies">client.folders.<a href="./src/resources/folders.ts">listPolicies</a>(connectionID) -> FolderListPoliciesResponse</code>
- <code title="post /connections/{connection_id}/folder-policies">client.folders.<a href="./src/resources/folders.ts">setPolicies</a>(connectionID, { ...params }) -> FolderSetPoliciesResponse</code>

# Integrations

Types:
Expand Down
33 changes: 33 additions & 0 deletions bin/migration-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,39 @@
"githubRepo": "https://github.com/hyperspell/node-sdk",
"clientClass": "Hyperspell",
"methods": [
{
"base": "folders",
"name": "deletePolicy",
"params": [
{
"type": "param",
"key": "policy_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "connection_id",
"location": "path"
},
{
"type": "param",
"key": "policy_id",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "memories",
"name": "update",
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",
"version": "0.34.0",
"version": "0.35.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-mcp",
"version": "0.34.0",
"version": "0.35.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-mcp",
"version": "0.34.0",
"version": "0.35.0",
"description": "The official MCP Server for the Hyperspell API",
"author": "Hyperspell <hello@hyperspell.com>",
"types": "dist/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions packages/mcp-server/src/code-tool-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ const fuse = new Fuse(
[
'client.connections.list',
'client.connections.revoke',
'client.folders.deletePolicy',
'client.folders.list',
'client.folders.listPolicies',
'client.folders.setPolicies',
'client.integrations.connect',
'client.integrations.list',
'client.integrations.googleCalendar.list',
Expand Down
24 changes: 24 additions & 0 deletions packages/mcp-server/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,30 @@ export const sdkMethods: SdkMethod[] = [
httpMethod: 'delete',
httpPath: '/connections/{connection_id}/revoke',
},
{
clientCallName: 'client.folders.list',
fullyQualifiedName: 'folders.list',
httpMethod: 'get',
httpPath: '/connections/{connection_id}/folders',
},
{
clientCallName: 'client.folders.deletePolicy',
fullyQualifiedName: 'folders.deletePolicy',
httpMethod: 'delete',
httpPath: '/connections/{connection_id}/folder-policies/{policy_id}',
},
{
clientCallName: 'client.folders.listPolicies',
fullyQualifiedName: 'folders.listPolicies',
httpMethod: 'get',
httpPath: '/connections/{connection_id}/folder-policies',
},
{
clientCallName: 'client.folders.setPolicies',
fullyQualifiedName: 'folders.setPolicies',
httpMethod: 'post',
httpPath: '/connections/{connection_id}/folder-policies',
},
{
clientCallName: 'client.integrations.list',
fullyQualifiedName: 'integrations.list',
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const newMcpServer = async (stainlessApiKey: string | undefined) =>
new McpServer(
{
name: 'hyperspell_api',
version: '0.34.0',
version: '0.35.0',
},
{
instructions: await getInstructions(stainlessApiKey),
Expand Down
23 changes: 23 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ import {
EvaluateScoreQueryParams,
EvaluateScoreQueryResponse,
} from './resources/evaluate';
import {
FolderDeletePolicyParams,
FolderDeletePolicyResponse,
FolderListParams,
FolderListPoliciesResponse,
FolderListResponse,
FolderSetPoliciesParams,
FolderSetPoliciesResponse,
Folders,
} from './resources/folders';
import {
Memories,
Memory,
Expand Down Expand Up @@ -803,6 +813,7 @@ export class Hyperspell {
static toFile = Uploads.toFile;

connections: API.Connections = new API.Connections(this);
folders: API.Folders = new API.Folders(this);
integrations: API.Integrations = new API.Integrations(this);
memories: API.Memories = new API.Memories(this);
evaluate: API.Evaluate = new API.Evaluate(this);
Expand All @@ -813,6 +824,7 @@ export class Hyperspell {
}

Hyperspell.Connections = Connections;
Hyperspell.Folders = Folders;
Hyperspell.Integrations = Integrations;
Hyperspell.Memories = Memories;
Hyperspell.Evaluate = Evaluate;
Expand All @@ -833,6 +845,17 @@ export declare namespace Hyperspell {
type ConnectionRevokeResponse as ConnectionRevokeResponse,
};

export {
Folders as Folders,
type FolderListResponse as FolderListResponse,
type FolderDeletePolicyResponse as FolderDeletePolicyResponse,
type FolderListPoliciesResponse as FolderListPoliciesResponse,
type FolderSetPoliciesResponse as FolderSetPoliciesResponse,
type FolderListParams as FolderListParams,
type FolderDeletePolicyParams as FolderDeletePolicyParams,
type FolderSetPoliciesParams as FolderSetPoliciesParams,
};

export {
Integrations as Integrations,
type IntegrationListResponse as IntegrationListResponse,
Expand Down
Loading
Loading