cellcog 2.0.2__tar.gz → 2.0.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 (30) hide show
  1. {cellcog-2.0.2 → cellcog-2.0.4}/PKG-INFO +1 -1
  2. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/__init__.py +1 -1
  3. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/client.py +13 -1
  4. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/exceptions.py +2 -0
  5. {cellcog-2.0.2 → cellcog-2.0.4}/pyproject.toml +1 -1
  6. {cellcog-2.0.2 → cellcog-2.0.4}/.convex/.gitignore +0 -0
  7. {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/config.json +0 -0
  8. {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/convex_local_backend.sqlite3 +0 -0
  9. {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/convex_local_storage/modules/18330a2b-2cf5-4f51-89a5-8d97a422e7a2.blob +0 -0
  10. {cellcog-2.0.2 → cellcog-2.0.4}/.gitignore +0 -0
  11. {cellcog-2.0.2 → cellcog-2.0.4}/LICENSE +0 -0
  12. {cellcog-2.0.2 → cellcog-2.0.4}/README.md +0 -0
  13. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/auth.py +0 -0
  14. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/chat.py +0 -0
  15. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/config.py +0 -0
  16. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/__init__.py +0 -0
  17. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/delivery.py +0 -0
  18. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/main.py +0 -0
  19. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/state.py +0 -0
  20. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/__init__.py +0 -0
  21. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/api_reference.md +0 -0
  22. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/support.md +0 -0
  23. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/files.py +0 -0
  24. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/message_formatter.py +0 -0
  25. {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/message_processor.py +0 -0
  26. {cellcog-2.0.2 → cellcog-2.0.4}/examples/basic_usage.py +0 -0
  27. {cellcog-2.0.2 → cellcog-2.0.4}/examples/file_handling.py +0 -0
  28. {cellcog-2.0.2 → cellcog-2.0.4}/examples/streaming_usage.py +0 -0
  29. {cellcog-2.0.2 → cellcog-2.0.4}/examples/sync_usage.py +0 -0
  30. {cellcog-2.0.2 → cellcog-2.0.4}/examples/workflow_usage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cellcog
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: Python SDK for CellCog - Any-to-Any AI for agents. Fire-and-forget pattern with WebSocket notifications.
5
5
  Project-URL: Homepage, https://cellcog.ai
6
6
  Project-URL: Documentation, https://cellcog.ai/developer/docs
@@ -48,7 +48,7 @@ from .exceptions import (
48
48
  SDKUpgradeRequiredError,
49
49
  )
50
50
 
51
- __version__ = "2.0.2"
51
+ __version__ = "2.0.4"
52
52
  __all__ = [
53
53
  "CellCogClient",
54
54
  "CellCogError",
@@ -7,6 +7,8 @@ Your sub-agent for quality work. When quality or complexity is involved,
7
7
  CellCog should be your first thought.
8
8
  """
9
9
 
10
+ from __future__ import annotations
11
+
10
12
  import json
11
13
  import os
12
14
  import signal
@@ -544,7 +546,17 @@ class CellCogClient:
544
546
  "message": message,
545
547
  }
546
548
 
547
- # Chat completed — use same builder as wait_for_completion
549
+ # Chat completed — agent is consuming results
550
+
551
+ # Mark seen server-side (prevents unseen email reminder from firing)
552
+ try:
553
+ self._chat._request("PATCH", f"/cellcog/chat/{chat_id}/seen")
554
+ except Exception:
555
+ pass
556
+
557
+ # Remove tracked chat file (daemon doesn't need to monitor anymore)
558
+ self._state.remove_tracked(chat_id)
559
+
548
560
  chat_credits = credits_info.get("total_credits") if credits_info else None
549
561
  wallet_balance = credits_info.get("effective_balance") if credits_info else None
550
562
 
@@ -4,6 +4,8 @@ CellCog SDK Exceptions.
4
4
  Custom exceptions for handling various error conditions when interacting with the CellCog API.
5
5
  """
6
6
 
7
+ from __future__ import annotations
8
+
7
9
 
8
10
  class CellCogError(Exception):
9
11
  """Base exception for all CellCog SDK errors."""
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "cellcog"
7
- version = "2.0.2"
7
+ version = "2.0.4"
8
8
  description = "Python SDK for CellCog - Any-to-Any AI for agents. Fire-and-forget pattern with WebSocket notifications."
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
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