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.
- {cellcog-2.0.2 → cellcog-2.0.4}/PKG-INFO +1 -1
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/__init__.py +1 -1
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/client.py +13 -1
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/exceptions.py +2 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/pyproject.toml +1 -1
- {cellcog-2.0.2 → cellcog-2.0.4}/.convex/.gitignore +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/config.json +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/convex_local_backend.sqlite3 +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/.convex/local/default/convex_local_storage/modules/18330a2b-2cf5-4f51-89a5-8d97a422e7a2.blob +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/.gitignore +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/LICENSE +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/README.md +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/auth.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/chat.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/config.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/__init__.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/delivery.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/main.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/daemon/state.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/__init__.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/api_reference.md +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/docs/support.md +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/files.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/message_formatter.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/cellcog/message_processor.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/examples/basic_usage.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/examples/file_handling.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/examples/streaming_usage.py +0 -0
- {cellcog-2.0.2 → cellcog-2.0.4}/examples/sync_usage.py +0 -0
- {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.
|
|
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
|
|
@@ -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 —
|
|
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,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cellcog"
|
|
7
|
-
version = "2.0.
|
|
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
|
|
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
|