stacklink-sdk 0.6.3__tar.gz → 0.6.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stacklink_sdk-0.6.3/stacklink_sdk.egg-info → stacklink_sdk-0.6.4}/PKG-INFO +1 -1
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/pyproject.toml +1 -1
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/client.py +1 -1
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/memory.py +9 -2
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4/stacklink_sdk.egg-info}/PKG-INFO +1 -1
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/LICENSE +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/README.md +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/setup.cfg +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/__init__.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/api_keys.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/approvals.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/artifacts.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/auth_configs.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/billing.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/bots.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/claude_agent.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/connected_accounts.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/errors.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/executions.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/knowledge.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/logs.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/mcp.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/openai_agents.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/openai_memory.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/projects.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/providers.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/sessions.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/tools.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/triggers.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/types.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/webhooks.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/workbench.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/workflows.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/x_chat.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/SOURCES.txt +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/dependency_links.txt +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/requires.txt +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/top_level.txt +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_amazon_seller_provider.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_client.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_docs_provider.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_drive_provider.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_sheets_provider.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_openai_memory.py +0 -0
- {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_zoho_books_provider.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "stacklink-sdk"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.4"
|
|
8
8
|
description = "Python SDK for Stacklink sessions, tools, MCP, auth, workbench, logs, knowledge, and billing."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "LicenseRef-Proprietary"
|
|
@@ -38,7 +38,7 @@ from .types import Json, Transport
|
|
|
38
38
|
from .webhooks import WebhooksResource
|
|
39
39
|
from .workbench import WorkbenchResource
|
|
40
40
|
|
|
41
|
-
STACKLINK_PYTHON_SDK_VERSION = "0.6.
|
|
41
|
+
STACKLINK_PYTHON_SDK_VERSION = "0.6.4"
|
|
42
42
|
STACKLINK_PYTHON_USER_AGENT = f"stacklink-python/{STACKLINK_PYTHON_SDK_VERSION}"
|
|
43
43
|
|
|
44
44
|
|
|
@@ -232,8 +232,15 @@ class SessionMemoryResource:
|
|
|
232
232
|
def history(self, memory_id: str):
|
|
233
233
|
return self.memory.history(memory_id, sessionId=self.session_id)
|
|
234
234
|
|
|
235
|
-
def update(self, memory_id: str, patch: dict[str, Any]):
|
|
236
|
-
|
|
235
|
+
def update(self, memory_id: str, patch: dict[str, Any], *, consent: dict[str, Any] | None = None, expected_version_id: str | None = None, idempotency_key: str | None = None):
|
|
236
|
+
body: dict[str, Any] = {"sessionId": self.session_id, "patch": patch}
|
|
237
|
+
if consent is not None:
|
|
238
|
+
body["consent"] = consent
|
|
239
|
+
if expected_version_id is not None:
|
|
240
|
+
body["expectedVersionId"] = expected_version_id
|
|
241
|
+
if idempotency_key is not None:
|
|
242
|
+
body["idempotencyKey"] = idempotency_key
|
|
243
|
+
return self.memory.update(memory_id, body)
|
|
237
244
|
|
|
238
245
|
def forget(self, memory_id: str, reason: str | None = None):
|
|
239
246
|
body: dict[str, Any] = {"sessionId": self.session_id}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|