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.
Files changed (45) hide show
  1. {stacklink_sdk-0.6.3/stacklink_sdk.egg-info → stacklink_sdk-0.6.4}/PKG-INFO +1 -1
  2. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/pyproject.toml +1 -1
  3. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/client.py +1 -1
  4. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/memory.py +9 -2
  5. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4/stacklink_sdk.egg-info}/PKG-INFO +1 -1
  6. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/LICENSE +0 -0
  7. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/README.md +0 -0
  8. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/setup.cfg +0 -0
  9. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/__init__.py +0 -0
  10. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/api_keys.py +0 -0
  11. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/approvals.py +0 -0
  12. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/artifacts.py +0 -0
  13. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/auth_configs.py +0 -0
  14. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/billing.py +0 -0
  15. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/bots.py +0 -0
  16. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/claude_agent.py +0 -0
  17. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/connected_accounts.py +0 -0
  18. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/errors.py +0 -0
  19. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/executions.py +0 -0
  20. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/knowledge.py +0 -0
  21. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/logs.py +0 -0
  22. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/mcp.py +0 -0
  23. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/openai_agents.py +0 -0
  24. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/openai_memory.py +0 -0
  25. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/projects.py +0 -0
  26. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/providers.py +0 -0
  27. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/sessions.py +0 -0
  28. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/tools.py +0 -0
  29. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/triggers.py +0 -0
  30. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/types.py +0 -0
  31. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/webhooks.py +0 -0
  32. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/workbench.py +0 -0
  33. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/workflows.py +0 -0
  34. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink/x_chat.py +0 -0
  35. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/SOURCES.txt +0 -0
  36. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/dependency_links.txt +0 -0
  37. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/requires.txt +0 -0
  38. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/stacklink_sdk.egg-info/top_level.txt +0 -0
  39. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_amazon_seller_provider.py +0 -0
  40. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_client.py +0 -0
  41. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_docs_provider.py +0 -0
  42. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_drive_provider.py +0 -0
  43. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_google_sheets_provider.py +0 -0
  44. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_openai_memory.py +0 -0
  45. {stacklink_sdk-0.6.3 → stacklink_sdk-0.6.4}/tests/test_zoho_books_provider.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stacklink-sdk
3
- Version: 0.6.3
3
+ Version: 0.6.4
4
4
  Summary: Python SDK for Stacklink sessions, tools, MCP, auth, workbench, logs, knowledge, and billing.
5
5
  Author: Stacklink
6
6
  License-Expression: LicenseRef-Proprietary
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "stacklink-sdk"
7
- version = "0.6.3"
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.3"
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
- return self.memory.update(memory_id, {"sessionId": self.session_id, "patch": patch})
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}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stacklink-sdk
3
- Version: 0.6.3
3
+ Version: 0.6.4
4
4
  Summary: Python SDK for Stacklink sessions, tools, MCP, auth, workbench, logs, knowledge, and billing.
5
5
  Author: Stacklink
6
6
  License-Expression: LicenseRef-Proprietary
File without changes
File without changes
File without changes