causal-logic-engine 2.21.0__tar.gz → 3__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.
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/PKG-INFO +2 -12
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_engine/client.py +7 -2
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/PKG-INFO +2 -12
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/setup.py +1 -1
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_engine/__init__.py +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_engine/exceptions.py +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/SOURCES.txt +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/dependency_links.txt +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/requires.txt +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/top_level.txt +0 -0
- {causal_logic_engine-2.21.0 → causal-logic-engine-3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: causal-logic-engine
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3
|
|
4
4
|
Summary: The official Python SDK for the multi-tenant Causal Logic Engine API.
|
|
5
5
|
Home-page: https://causal-logic-engine.onrender.com
|
|
6
6
|
Author: Ben Denholm
|
|
@@ -10,15 +10,5 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3.8
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
|
-
Requires-Dist: requests>=2.25.0
|
|
14
|
-
Dynamic: author
|
|
15
|
-
Dynamic: author-email
|
|
16
|
-
Dynamic: classifier
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: home-page
|
|
20
|
-
Dynamic: requires-dist
|
|
21
|
-
Dynamic: requires-python
|
|
22
|
-
Dynamic: summary
|
|
23
13
|
|
|
24
14
|
Sovereign Cognitive API Client.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# causal-engine-sdk/causal_engine/client.py
|
|
1
2
|
import os
|
|
2
3
|
import requests
|
|
3
4
|
from typing import List, Dict, Any, Optional
|
|
@@ -76,11 +77,15 @@ class CausalClient:
|
|
|
76
77
|
return self._handle_response(response)
|
|
77
78
|
|
|
78
79
|
def list_files(self) -> List[Dict[str, Any]]:
|
|
79
|
-
"""
|
|
80
|
+
"""
|
|
81
|
+
Lists all active files in your secure workspace registry.
|
|
82
|
+
Resolves both flat list keys and structured directory registries.
|
|
83
|
+
"""
|
|
80
84
|
url = f"{self.base_url}/api/document/list"
|
|
81
85
|
response = requests.get(url, headers=self.headers)
|
|
82
86
|
data = self._handle_response(response)
|
|
83
|
-
|
|
87
|
+
# 🎯 BUG FIX: Resolves both "documents" and "directory_registry" keys seamlessly
|
|
88
|
+
return data.get("documents", data.get("directory_registry", []))
|
|
84
89
|
|
|
85
90
|
def execute_mcp_tool(self, tool_name: str, parameters: Dict[str, Any]) -> Dict[str, Any]:
|
|
86
91
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: causal-logic-engine
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3
|
|
4
4
|
Summary: The official Python SDK for the multi-tenant Causal Logic Engine API.
|
|
5
5
|
Home-page: https://causal-logic-engine.onrender.com
|
|
6
6
|
Author: Ben Denholm
|
|
@@ -10,15 +10,5 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3.8
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
|
-
Requires-Dist: requests>=2.25.0
|
|
14
|
-
Dynamic: author
|
|
15
|
-
Dynamic: author-email
|
|
16
|
-
Dynamic: classifier
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: home-page
|
|
20
|
-
Dynamic: requires-dist
|
|
21
|
-
Dynamic: requires-python
|
|
22
|
-
Dynamic: summary
|
|
23
13
|
|
|
24
14
|
Sovereign Cognitive API Client.
|
|
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name="causal-logic-engine", # Changed to be unique
|
|
7
|
-
version="
|
|
7
|
+
version="3", # 🎯 UPGRADED TO UCOS CURRENT ARCHITECTURE
|
|
8
8
|
author="Ben Denholm",
|
|
9
9
|
author_email="bendenholm1@outlook.com",
|
|
10
10
|
description="The official Python SDK for the multi-tenant Causal Logic Engine API.",
|
|
File without changes
|
|
File without changes
|
{causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/requires.txt
RENAMED
|
File without changes
|
{causal_logic_engine-2.21.0 → causal-logic-engine-3}/causal_logic_engine.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|