From f4aec8390e2eaee653c0c19796e2407fead9dcb0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 19:30:57 +0000 Subject: [PATCH 1/9] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index d0d7b46e..752ab0c2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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-baf6a5d07b9a303fea39ea29b6b010be699a4d65e4063821a157520b6cb1210f.yml +openapi_spec_hash: dad57a5d9f17d13eef6bce8ae36b2871 config_hash: 11e84d884a86d2db0411c35fae6e9121 From 8464f0a130897c7aea93529edeeffce38f88cd6b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 00:30:58 +0000 Subject: [PATCH 2/9] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 752ab0c2..968626d1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-baf6a5d07b9a303fea39ea29b6b010be699a4d65e4063821a157520b6cb1210f.yml -openapi_spec_hash: dad57a5d9f17d13eef6bce8ae36b2871 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-c2acdd2627c6975337c50fe513c7bc72723561d89c167ce6fd6a8b7b30199985.yml +openapi_spec_hash: 138b76c9920619f0d51af5cd0a251a68 config_hash: 11e84d884a86d2db0411c35fae6e9121 From 49bdccd4fdc1b3c62027248eda993a9cf8c9b2d1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 06:31:00 +0000 Subject: [PATCH 3/9] feat(api): api update --- .stats.yml | 4 ++-- tests/api_resources/test_memories.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 968626d1..c08341be 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-c2acdd2627c6975337c50fe513c7bc72723561d89c167ce6fd6a8b7b30199985.yml -openapi_spec_hash: 138b76c9920619f0d51af5cd0a251a68 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-7e0b3ac5f7ed4d2322f6b23a6627efbb98567e020337b62d447993cbe6303797.yml +openapi_spec_hash: 3cafd2b018e355707e594ad761fccedd config_hash: 11e84d884a86d2db0411c35fae6e9121 diff --git a/tests/api_resources/test_memories.py b/tests/api_resources/test_memories.py index 554fc4b1..125b2809 100644 --- a/tests/api_resources/test_memories.py +++ b/tests/api_resources/test_memories.py @@ -294,7 +294,7 @@ def test_method_search_with_all_params(self, client: Hyperspell) -> None: query="What does Hyperspell do?", answer=True, effort="minimal", - max_results=0, + max_results=1, options={ "after": parse_datetime("2019-12-27T18:11:19.117Z"), "answer_model": "llama-3.1", @@ -310,7 +310,7 @@ def test_method_search_with_all_params(self, client: Hyperspell) -> None: "label_ids": ["string"], "weight": 0, }, - "max_results": 200, + "max_results": 1, "memory_types": ["procedure"], "notion": { "notion_page_ids": ["string"], @@ -700,7 +700,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncHyperspell query="What does Hyperspell do?", answer=True, effort="minimal", - max_results=0, + max_results=1, options={ "after": parse_datetime("2019-12-27T18:11:19.117Z"), "answer_model": "llama-3.1", @@ -716,7 +716,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncHyperspell "label_ids": ["string"], "weight": 0, }, - "max_results": 200, + "max_results": 1, "memory_types": ["procedure"], "notion": { "notion_page_ids": ["string"], From 15d8cfc3d564355cd058543b37d042a10a88e7d7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 02:31:06 +0000 Subject: [PATCH 4/9] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index c08341be..dc742b85 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-7e0b3ac5f7ed4d2322f6b23a6627efbb98567e020337b62d447993cbe6303797.yml -openapi_spec_hash: 3cafd2b018e355707e594ad761fccedd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-63838008d705c1c64e253e141dc60a2fbc726a73f687eb72384ce4c6565bbb2a.yml +openapi_spec_hash: 6c5e0019161c23f729cdc68cab611af7 config_hash: 11e84d884a86d2db0411c35fae6e9121 From 84130bc05e477085395fe108dd476ecbab8598b2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 07:30:56 +0000 Subject: [PATCH 5/9] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index dc742b85..4185d7ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-63838008d705c1c64e253e141dc60a2fbc726a73f687eb72384ce4c6565bbb2a.yml -openapi_spec_hash: 6c5e0019161c23f729cdc68cab611af7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-fe187a01f8c7a590613cf79e254d9ec1378ad63beab5cd54c792210ff93e3577.yml +openapi_spec_hash: e667d75af26b5af597259fb5e7e5f3ac config_hash: 11e84d884a86d2db0411c35fae6e9121 From 4ccb38dc420caa004ad859076d76b9efa0d77267 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 16:30:49 +0000 Subject: [PATCH 6/9] feat(api): api update --- .stats.yml | 4 ++-- src/hyperspell/types/shared/conversation.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4185d7ce..b938b04d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-fe187a01f8c7a590613cf79e254d9ec1378ad63beab5cd54c792210ff93e3577.yml -openapi_spec_hash: e667d75af26b5af597259fb5e7e5f3ac +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-8e296fefed446d1949777be352a67727953fc7c3b3da5271543dfee9b6f72c06.yml +openapi_spec_hash: f0c49fdb847f21cd0e1e11eb9317bdd5 config_hash: 11e84d884a86d2db0411c35fae6e9121 diff --git a/src/hyperspell/types/shared/conversation.py b/src/hyperspell/types/shared/conversation.py index 96552797..00c0564b 100644 --- a/src/hyperspell/types/shared/conversation.py +++ b/src/hyperspell/types/shared/conversation.py @@ -32,6 +32,8 @@ class Conversation(BaseModel): text: Optional[str] = None + title: Optional[str] = None + type: Optional[Literal["conversation"]] = None From d88a068f34707fe1acb91da6b09bd732884bdb1d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 17:30:53 +0000 Subject: [PATCH 7/9] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b938b04d..0fea8d75 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-8e296fefed446d1949777be352a67727953fc7c3b3da5271543dfee9b6f72c06.yml -openapi_spec_hash: f0c49fdb847f21cd0e1e11eb9317bdd5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-8a5ff8769b9b9baf4b23812ef8b705768950bba407d89e3f9df1430ace7e7270.yml +openapi_spec_hash: 2dcf053b4aa1491a8475e817b4e82294 config_hash: 11e84d884a86d2db0411c35fae6e9121 From 09bda8af02ef7f4701b7b8ecb9faf7a539253794 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 22:30:56 +0000 Subject: [PATCH 8/9] feat(api): api update --- .stats.yml | 4 ++-- src/hyperspell/resources/connections.py | 20 ++++++++++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0fea8d75..cf84cc22 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 31 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-8a5ff8769b9b9baf4b23812ef8b705768950bba407d89e3f9df1430ace7e7270.yml -openapi_spec_hash: 2dcf053b4aa1491a8475e817b4e82294 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-c6d875e737e219a871e8b945c02e39a888341117e5c96380cfbe4b460607e46f.yml +openapi_spec_hash: f25b658100881b5cecad370fc5893f43 config_hash: 11e84d884a86d2db0411c35fae6e9121 diff --git a/src/hyperspell/resources/connections.py b/src/hyperspell/resources/connections.py index f266c681..a31a48ad 100644 --- a/src/hyperspell/resources/connections.py +++ b/src/hyperspell/resources/connections.py @@ -72,8 +72,14 @@ def revoke( timeout: float | httpx.Timeout | None | NotGiven = not_given, ) -> ConnectionRevokeResponse: """ - 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). Args: extra_headers: Send extra headers @@ -146,8 +152,14 @@ async def revoke( timeout: float | httpx.Timeout | None | NotGiven = not_given, ) -> ConnectionRevokeResponse: """ - 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). Args: extra_headers: Send extra headers From 897f534e2e0bd036c05e7e77b423df14a6cc46ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 22:31:22 +0000 Subject: [PATCH 9/9] release: 0.39.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 10 ++++++++++ pyproject.toml | 2 +- src/hyperspell/_version.py | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8ea07c9a..1b5dc400 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.38.0" + ".": "0.39.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cff83dc..f8ded19e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.39.0 (2026-06-24) + +Full Changelog: [v0.38.0...v0.39.0](https://github.com/hyperspell/python-sdk/compare/v0.38.0...v0.39.0) + +### Features + +* **api:** api update ([09bda8a](https://github.com/hyperspell/python-sdk/commit/09bda8af02ef7f4701b7b8ecb9faf7a539253794)) +* **api:** api update ([4ccb38d](https://github.com/hyperspell/python-sdk/commit/4ccb38dc420caa004ad859076d76b9efa0d77267)) +* **api:** api update ([49bdccd](https://github.com/hyperspell/python-sdk/commit/49bdccd4fdc1b3c62027248eda993a9cf8c9b2d1)) + ## 0.38.0 (2026-06-18) Full Changelog: [v0.37.0...v0.38.0](https://github.com/hyperspell/python-sdk/compare/v0.37.0...v0.38.0) diff --git a/pyproject.toml b/pyproject.toml index 8ac832e5..4e562c96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hyperspell" -version = "0.38.0" +version = "0.39.0" description = "The official Python library for the hyperspell API" dynamic = ["readme"] license = "MIT" diff --git a/src/hyperspell/_version.py b/src/hyperspell/_version.py index db685eed..0cdc859c 100644 --- a/src/hyperspell/_version.py +++ b/src/hyperspell/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "hyperspell" -__version__ = "0.38.0" # x-release-please-version +__version__ = "0.39.0" # x-release-please-version