agenticdome-python-sdk 1.2.31__tar.gz → 1.2.33__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.
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/PKG-INFO +28 -28
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/PKG-INFO +28 -28
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/requires.txt +27 -27
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/catalog_snapshot.json +6 -6
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/client.py +28 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/copilot_ir.py +48 -27
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/hook_catalog.py +22 -22
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/onboarding_cli.py +152 -42
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/customer-onboarding.md +14 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/pyproject.toml +28 -28
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/CONTRIBUTING.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/LICENSE +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/MANIFEST.in +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/NOTICE +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/README.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/SECURITY.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/SOURCES.txt +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/dependency_links.txt +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/entry_points.txt +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_python_sdk.egg-info/top_level.txt +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/__init__.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/_framework_firewall.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/_mode.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/agno.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/attestation.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/autogen.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/aws_bedrock.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/claude.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/connect.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/copilot_ir_collector.cjs +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/crewai.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/demo.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/google_adk.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/identity.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/langgraph.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/lifecycle.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/llamaindex.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/mcp_host.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/mcp_http_gateway.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/mcp_rehearsal_server.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/mcp_verification.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/microsoft_agent_framework.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/microsoft_ai_foundry.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/openai_agents.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/outcomes.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/proof.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/pydantic.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/simulation.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/smolagents.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/README.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/agno.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/autogen.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/aws-bedrock.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/claude-agent-sdk.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/crewai.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/custom-python.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/google-adk.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/langgraph.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/llamaindex.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/microsoft-agent-framework.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/microsoft-ai-foundry.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/openai-agents.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/pydanticai.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/frameworks/smolagents.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/mcp-integration.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/performance-evidence.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/docs/runtime-deployment.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/PRODUCTION_INTEGRATION.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/README.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/attack_demo.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/crewai_agenticdome_firewall.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/README.md +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/_shared.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/agno.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/autogen.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/aws_bedrock.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/claude_agent_sdk.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/crewai.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/custom_python.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/google_adk.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/langgraph.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/llamaindex.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/mcp.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/microsoft_agent_framework.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/microsoft_ai_foundry.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/openai_agents.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/pydanticai.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/frameworks/smolagents.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/langgraph_agenticdome_firewall.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/local_simulation_gallery.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/examples/mcp_gateway_action_firewall.py +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/setup.cfg +0 -0
- {agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agenticdome-python-sdk
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.33
|
|
4
4
|
Summary: Official Python SDK for AgenticDome security guardrails, DLP, tool authorization, and multi-agent delegation enforcement.
|
|
5
5
|
Author: AgenticDome
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -33,20 +33,20 @@ Requires-Dist: requests>=2.31.0
|
|
|
33
33
|
Requires-Dist: urllib3>=2.0.0
|
|
34
34
|
Requires-Dist: cryptography>=42.0.0
|
|
35
35
|
Provides-Extra: crewai
|
|
36
|
-
Requires-Dist: crewai<=1.15.
|
|
36
|
+
Requires-Dist: crewai<=1.15.22,>=1.15.5; extra == "crewai"
|
|
37
37
|
Provides-Extra: redis
|
|
38
38
|
Requires-Dist: redis>=4.5.0; extra == "redis"
|
|
39
39
|
Provides-Extra: pop
|
|
40
40
|
Requires-Dist: cryptography>=42.0.0; extra == "pop"
|
|
41
41
|
Provides-Extra: pydanticai
|
|
42
|
-
Requires-Dist: pydantic-ai<=2.
|
|
42
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "pydanticai"
|
|
43
43
|
Requires-Dist: anyio>=4.0.0; extra == "pydanticai"
|
|
44
44
|
Provides-Extra: pydantic
|
|
45
|
-
Requires-Dist: pydantic-ai<=2.
|
|
45
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "pydantic"
|
|
46
46
|
Requires-Dist: anyio>=4.0.0; extra == "pydantic"
|
|
47
47
|
Provides-Extra: langgraph
|
|
48
|
-
Requires-Dist: langgraph<=1.2.
|
|
49
|
-
Requires-Dist: langchain-core<=1.6.
|
|
48
|
+
Requires-Dist: langgraph<=1.2.12,>=1.2.9; extra == "langgraph"
|
|
49
|
+
Requires-Dist: langchain-core<=1.6.5,>=1.5.0; extra == "langgraph"
|
|
50
50
|
Requires-Dist: langchain-openai==1.3.5; extra == "langgraph"
|
|
51
51
|
Requires-Dist: anyio>=4.0.0; extra == "langgraph"
|
|
52
52
|
Provides-Extra: microsoft
|
|
@@ -55,51 +55,51 @@ Requires-Dist: autogen-agentchat==0.7.5; extra == "autogen"
|
|
|
55
55
|
Provides-Extra: microsoft-autogen
|
|
56
56
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "microsoft-autogen"
|
|
57
57
|
Provides-Extra: foundry
|
|
58
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
58
|
+
Requires-Dist: azure-ai-projects<=2.7.0,>=2.3.0; extra == "foundry"
|
|
59
59
|
Requires-Dist: azure-identity==1.25.3; extra == "foundry"
|
|
60
60
|
Provides-Extra: agno
|
|
61
|
-
Requires-Dist: agno<=3.0.
|
|
61
|
+
Requires-Dist: agno<=3.0.11,>=2.8.0; extra == "agno"
|
|
62
62
|
Provides-Extra: openai-agents
|
|
63
|
-
Requires-Dist: openai-agents<=0.22.
|
|
63
|
+
Requires-Dist: openai-agents<=0.22.3,>=0.18.3; extra == "openai-agents"
|
|
64
64
|
Provides-Extra: mcp
|
|
65
65
|
Requires-Dist: mcp<=2.2.0,>=1.26.0; extra == "mcp"
|
|
66
66
|
Provides-Extra: bedrock
|
|
67
|
-
Requires-Dist: boto3<=1.43.
|
|
67
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "bedrock"
|
|
68
68
|
Provides-Extra: aws-bedrock
|
|
69
|
-
Requires-Dist: boto3<=1.43.
|
|
69
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "aws-bedrock"
|
|
70
70
|
Provides-Extra: llamaindex
|
|
71
|
-
Requires-Dist: llama-index<=0.14.
|
|
71
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "llamaindex"
|
|
72
72
|
Provides-Extra: llama-index
|
|
73
|
-
Requires-Dist: llama-index<=0.14.
|
|
73
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "llama-index"
|
|
74
74
|
Provides-Extra: google-adk
|
|
75
|
-
Requires-Dist: google-adk<=2.
|
|
75
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "google-adk"
|
|
76
76
|
Provides-Extra: adk
|
|
77
|
-
Requires-Dist: google-adk<=2.
|
|
77
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "adk"
|
|
78
78
|
Provides-Extra: claude
|
|
79
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
79
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "claude"
|
|
80
80
|
Provides-Extra: claude-agent-sdk
|
|
81
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
81
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "claude-agent-sdk"
|
|
82
82
|
Provides-Extra: smolagents
|
|
83
83
|
Requires-Dist: smolagents==1.26.0; extra == "smolagents"
|
|
84
84
|
Provides-Extra: all
|
|
85
|
-
Requires-Dist: crewai<=1.15.
|
|
85
|
+
Requires-Dist: crewai<=1.15.22,>=1.15.5; extra == "all"
|
|
86
86
|
Requires-Dist: redis>=4.5.0; extra == "all"
|
|
87
87
|
Requires-Dist: cryptography>=42.0.0; extra == "all"
|
|
88
|
-
Requires-Dist: pydantic-ai<=2.
|
|
88
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "all"
|
|
89
89
|
Requires-Dist: anyio>=4.0.0; extra == "all"
|
|
90
|
-
Requires-Dist: langgraph<=1.2.
|
|
91
|
-
Requires-Dist: langchain-core<=1.6.
|
|
90
|
+
Requires-Dist: langgraph<=1.2.12,>=1.2.9; extra == "all"
|
|
91
|
+
Requires-Dist: langchain-core<=1.6.5,>=1.5.0; extra == "all"
|
|
92
92
|
Requires-Dist: langchain-openai==1.3.5; extra == "all"
|
|
93
93
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "all"
|
|
94
|
-
Requires-Dist: agno<=3.0.
|
|
95
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
94
|
+
Requires-Dist: agno<=3.0.11,>=2.8.0; extra == "all"
|
|
95
|
+
Requires-Dist: azure-ai-projects<=2.7.0,>=2.3.0; extra == "all"
|
|
96
96
|
Requires-Dist: azure-identity==1.25.3; extra == "all"
|
|
97
|
-
Requires-Dist: openai-agents<=0.22.
|
|
97
|
+
Requires-Dist: openai-agents<=0.22.3,>=0.18.3; extra == "all"
|
|
98
98
|
Requires-Dist: mcp<=2.2.0,>=1.26.0; extra == "all"
|
|
99
|
-
Requires-Dist: boto3<=1.43.
|
|
100
|
-
Requires-Dist: llama-index<=0.14.
|
|
101
|
-
Requires-Dist: google-adk<=2.
|
|
102
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
99
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "all"
|
|
100
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "all"
|
|
101
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "all"
|
|
102
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "all"
|
|
103
103
|
Requires-Dist: smolagents==1.26.0; extra == "all"
|
|
104
104
|
Provides-Extra: dev
|
|
105
105
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agenticdome-python-sdk
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.33
|
|
4
4
|
Summary: Official Python SDK for AgenticDome security guardrails, DLP, tool authorization, and multi-agent delegation enforcement.
|
|
5
5
|
Author: AgenticDome
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -33,20 +33,20 @@ Requires-Dist: requests>=2.31.0
|
|
|
33
33
|
Requires-Dist: urllib3>=2.0.0
|
|
34
34
|
Requires-Dist: cryptography>=42.0.0
|
|
35
35
|
Provides-Extra: crewai
|
|
36
|
-
Requires-Dist: crewai<=1.15.
|
|
36
|
+
Requires-Dist: crewai<=1.15.22,>=1.15.5; extra == "crewai"
|
|
37
37
|
Provides-Extra: redis
|
|
38
38
|
Requires-Dist: redis>=4.5.0; extra == "redis"
|
|
39
39
|
Provides-Extra: pop
|
|
40
40
|
Requires-Dist: cryptography>=42.0.0; extra == "pop"
|
|
41
41
|
Provides-Extra: pydanticai
|
|
42
|
-
Requires-Dist: pydantic-ai<=2.
|
|
42
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "pydanticai"
|
|
43
43
|
Requires-Dist: anyio>=4.0.0; extra == "pydanticai"
|
|
44
44
|
Provides-Extra: pydantic
|
|
45
|
-
Requires-Dist: pydantic-ai<=2.
|
|
45
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "pydantic"
|
|
46
46
|
Requires-Dist: anyio>=4.0.0; extra == "pydantic"
|
|
47
47
|
Provides-Extra: langgraph
|
|
48
|
-
Requires-Dist: langgraph<=1.2.
|
|
49
|
-
Requires-Dist: langchain-core<=1.6.
|
|
48
|
+
Requires-Dist: langgraph<=1.2.12,>=1.2.9; extra == "langgraph"
|
|
49
|
+
Requires-Dist: langchain-core<=1.6.5,>=1.5.0; extra == "langgraph"
|
|
50
50
|
Requires-Dist: langchain-openai==1.3.5; extra == "langgraph"
|
|
51
51
|
Requires-Dist: anyio>=4.0.0; extra == "langgraph"
|
|
52
52
|
Provides-Extra: microsoft
|
|
@@ -55,51 +55,51 @@ Requires-Dist: autogen-agentchat==0.7.5; extra == "autogen"
|
|
|
55
55
|
Provides-Extra: microsoft-autogen
|
|
56
56
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "microsoft-autogen"
|
|
57
57
|
Provides-Extra: foundry
|
|
58
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
58
|
+
Requires-Dist: azure-ai-projects<=2.7.0,>=2.3.0; extra == "foundry"
|
|
59
59
|
Requires-Dist: azure-identity==1.25.3; extra == "foundry"
|
|
60
60
|
Provides-Extra: agno
|
|
61
|
-
Requires-Dist: agno<=3.0.
|
|
61
|
+
Requires-Dist: agno<=3.0.11,>=2.8.0; extra == "agno"
|
|
62
62
|
Provides-Extra: openai-agents
|
|
63
|
-
Requires-Dist: openai-agents<=0.22.
|
|
63
|
+
Requires-Dist: openai-agents<=0.22.3,>=0.18.3; extra == "openai-agents"
|
|
64
64
|
Provides-Extra: mcp
|
|
65
65
|
Requires-Dist: mcp<=2.2.0,>=1.26.0; extra == "mcp"
|
|
66
66
|
Provides-Extra: bedrock
|
|
67
|
-
Requires-Dist: boto3<=1.43.
|
|
67
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "bedrock"
|
|
68
68
|
Provides-Extra: aws-bedrock
|
|
69
|
-
Requires-Dist: boto3<=1.43.
|
|
69
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "aws-bedrock"
|
|
70
70
|
Provides-Extra: llamaindex
|
|
71
|
-
Requires-Dist: llama-index<=0.14.
|
|
71
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "llamaindex"
|
|
72
72
|
Provides-Extra: llama-index
|
|
73
|
-
Requires-Dist: llama-index<=0.14.
|
|
73
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "llama-index"
|
|
74
74
|
Provides-Extra: google-adk
|
|
75
|
-
Requires-Dist: google-adk<=2.
|
|
75
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "google-adk"
|
|
76
76
|
Provides-Extra: adk
|
|
77
|
-
Requires-Dist: google-adk<=2.
|
|
77
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "adk"
|
|
78
78
|
Provides-Extra: claude
|
|
79
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
79
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "claude"
|
|
80
80
|
Provides-Extra: claude-agent-sdk
|
|
81
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
81
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "claude-agent-sdk"
|
|
82
82
|
Provides-Extra: smolagents
|
|
83
83
|
Requires-Dist: smolagents==1.26.0; extra == "smolagents"
|
|
84
84
|
Provides-Extra: all
|
|
85
|
-
Requires-Dist: crewai<=1.15.
|
|
85
|
+
Requires-Dist: crewai<=1.15.22,>=1.15.5; extra == "all"
|
|
86
86
|
Requires-Dist: redis>=4.5.0; extra == "all"
|
|
87
87
|
Requires-Dist: cryptography>=42.0.0; extra == "all"
|
|
88
|
-
Requires-Dist: pydantic-ai<=2.
|
|
88
|
+
Requires-Dist: pydantic-ai<=2.51.0,>=2.16.0; extra == "all"
|
|
89
89
|
Requires-Dist: anyio>=4.0.0; extra == "all"
|
|
90
|
-
Requires-Dist: langgraph<=1.2.
|
|
91
|
-
Requires-Dist: langchain-core<=1.6.
|
|
90
|
+
Requires-Dist: langgraph<=1.2.12,>=1.2.9; extra == "all"
|
|
91
|
+
Requires-Dist: langchain-core<=1.6.5,>=1.5.0; extra == "all"
|
|
92
92
|
Requires-Dist: langchain-openai==1.3.5; extra == "all"
|
|
93
93
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "all"
|
|
94
|
-
Requires-Dist: agno<=3.0.
|
|
95
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
94
|
+
Requires-Dist: agno<=3.0.11,>=2.8.0; extra == "all"
|
|
95
|
+
Requires-Dist: azure-ai-projects<=2.7.0,>=2.3.0; extra == "all"
|
|
96
96
|
Requires-Dist: azure-identity==1.25.3; extra == "all"
|
|
97
|
-
Requires-Dist: openai-agents<=0.22.
|
|
97
|
+
Requires-Dist: openai-agents<=0.22.3,>=0.18.3; extra == "all"
|
|
98
98
|
Requires-Dist: mcp<=2.2.0,>=1.26.0; extra == "all"
|
|
99
|
-
Requires-Dist: boto3<=1.43.
|
|
100
|
-
Requires-Dist: llama-index<=0.14.
|
|
101
|
-
Requires-Dist: google-adk<=2.
|
|
102
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
99
|
+
Requires-Dist: boto3<=1.43.103,>=1.43.54; extra == "all"
|
|
100
|
+
Requires-Dist: llama-index<=0.14.25,>=0.14.23; extra == "all"
|
|
101
|
+
Requires-Dist: google-adk<=2.10.0,>=2.5.0; extra == "all"
|
|
102
|
+
Requires-Dist: claude-agent-sdk<=0.2.160,>=0.2.126; extra == "all"
|
|
103
103
|
Requires-Dist: smolagents==1.26.0; extra == "all"
|
|
104
104
|
Provides-Extra: dev
|
|
105
105
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
@@ -3,49 +3,49 @@ urllib3>=2.0.0
|
|
|
3
3
|
cryptography>=42.0.0
|
|
4
4
|
|
|
5
5
|
[adk]
|
|
6
|
-
google-adk<=2.
|
|
6
|
+
google-adk<=2.10.0,>=2.5.0
|
|
7
7
|
|
|
8
8
|
[agno]
|
|
9
|
-
agno<=3.0.
|
|
9
|
+
agno<=3.0.11,>=2.8.0
|
|
10
10
|
|
|
11
11
|
[all]
|
|
12
|
-
crewai<=1.15.
|
|
12
|
+
crewai<=1.15.22,>=1.15.5
|
|
13
13
|
redis>=4.5.0
|
|
14
14
|
cryptography>=42.0.0
|
|
15
|
-
pydantic-ai<=2.
|
|
15
|
+
pydantic-ai<=2.51.0,>=2.16.0
|
|
16
16
|
anyio>=4.0.0
|
|
17
|
-
langgraph<=1.2.
|
|
18
|
-
langchain-core<=1.6.
|
|
17
|
+
langgraph<=1.2.12,>=1.2.9
|
|
18
|
+
langchain-core<=1.6.5,>=1.5.0
|
|
19
19
|
langchain-openai==1.3.5
|
|
20
20
|
autogen-agentchat==0.7.5
|
|
21
|
-
agno<=3.0.
|
|
22
|
-
azure-ai-projects<=2.
|
|
21
|
+
agno<=3.0.11,>=2.8.0
|
|
22
|
+
azure-ai-projects<=2.7.0,>=2.3.0
|
|
23
23
|
azure-identity==1.25.3
|
|
24
|
-
openai-agents<=0.22.
|
|
24
|
+
openai-agents<=0.22.3,>=0.18.3
|
|
25
25
|
mcp<=2.2.0,>=1.26.0
|
|
26
|
-
boto3<=1.43.
|
|
27
|
-
llama-index<=0.14.
|
|
28
|
-
google-adk<=2.
|
|
29
|
-
claude-agent-sdk<=0.2.
|
|
26
|
+
boto3<=1.43.103,>=1.43.54
|
|
27
|
+
llama-index<=0.14.25,>=0.14.23
|
|
28
|
+
google-adk<=2.10.0,>=2.5.0
|
|
29
|
+
claude-agent-sdk<=0.2.160,>=0.2.126
|
|
30
30
|
smolagents==1.26.0
|
|
31
31
|
|
|
32
32
|
[autogen]
|
|
33
33
|
autogen-agentchat==0.7.5
|
|
34
34
|
|
|
35
35
|
[aws-bedrock]
|
|
36
|
-
boto3<=1.43.
|
|
36
|
+
boto3<=1.43.103,>=1.43.54
|
|
37
37
|
|
|
38
38
|
[bedrock]
|
|
39
|
-
boto3<=1.43.
|
|
39
|
+
boto3<=1.43.103,>=1.43.54
|
|
40
40
|
|
|
41
41
|
[claude]
|
|
42
|
-
claude-agent-sdk<=0.2.
|
|
42
|
+
claude-agent-sdk<=0.2.160,>=0.2.126
|
|
43
43
|
|
|
44
44
|
[claude-agent-sdk]
|
|
45
|
-
claude-agent-sdk<=0.2.
|
|
45
|
+
claude-agent-sdk<=0.2.160,>=0.2.126
|
|
46
46
|
|
|
47
47
|
[crewai]
|
|
48
|
-
crewai<=1.15.
|
|
48
|
+
crewai<=1.15.22,>=1.15.5
|
|
49
49
|
|
|
50
50
|
[dev]
|
|
51
51
|
pytest>=8.0.0
|
|
@@ -59,23 +59,23 @@ twine>=5.0.0
|
|
|
59
59
|
tomli>=2.0.0
|
|
60
60
|
|
|
61
61
|
[foundry]
|
|
62
|
-
azure-ai-projects<=2.
|
|
62
|
+
azure-ai-projects<=2.7.0,>=2.3.0
|
|
63
63
|
azure-identity==1.25.3
|
|
64
64
|
|
|
65
65
|
[google-adk]
|
|
66
|
-
google-adk<=2.
|
|
66
|
+
google-adk<=2.10.0,>=2.5.0
|
|
67
67
|
|
|
68
68
|
[langgraph]
|
|
69
|
-
langgraph<=1.2.
|
|
70
|
-
langchain-core<=1.6.
|
|
69
|
+
langgraph<=1.2.12,>=1.2.9
|
|
70
|
+
langchain-core<=1.6.5,>=1.5.0
|
|
71
71
|
langchain-openai==1.3.5
|
|
72
72
|
anyio>=4.0.0
|
|
73
73
|
|
|
74
74
|
[llama-index]
|
|
75
|
-
llama-index<=0.14.
|
|
75
|
+
llama-index<=0.14.25,>=0.14.23
|
|
76
76
|
|
|
77
77
|
[llamaindex]
|
|
78
|
-
llama-index<=0.14.
|
|
78
|
+
llama-index<=0.14.25,>=0.14.23
|
|
79
79
|
|
|
80
80
|
[mcp]
|
|
81
81
|
mcp<=2.2.0,>=1.26.0
|
|
@@ -86,17 +86,17 @@ mcp<=2.2.0,>=1.26.0
|
|
|
86
86
|
autogen-agentchat==0.7.5
|
|
87
87
|
|
|
88
88
|
[openai-agents]
|
|
89
|
-
openai-agents<=0.22.
|
|
89
|
+
openai-agents<=0.22.3,>=0.18.3
|
|
90
90
|
|
|
91
91
|
[pop]
|
|
92
92
|
cryptography>=42.0.0
|
|
93
93
|
|
|
94
94
|
[pydantic]
|
|
95
|
-
pydantic-ai<=2.
|
|
95
|
+
pydantic-ai<=2.51.0,>=2.16.0
|
|
96
96
|
anyio>=4.0.0
|
|
97
97
|
|
|
98
98
|
[pydanticai]
|
|
99
|
-
pydantic-ai<=2.
|
|
99
|
+
pydantic-ai<=2.51.0,>=2.16.0
|
|
100
100
|
anyio>=4.0.0
|
|
101
101
|
|
|
102
102
|
[redis]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "agenticdome.catalog-snapshot.v1",
|
|
3
3
|
"catalog_schema": "agenticdome.hook-catalog.v1",
|
|
4
|
-
"verified_at": "2026-09-
|
|
5
|
-
"python_sdk_version": "1.2.
|
|
4
|
+
"verified_at": "2026-09-26",
|
|
5
|
+
"python_sdk_version": "1.2.33",
|
|
6
6
|
"published_packages": {
|
|
7
7
|
"agenticdome-python-sdk": {
|
|
8
8
|
"registry": "pypi",
|
|
9
|
-
"version": "1.2.
|
|
10
|
-
"url": "https://pypi.org/project/agenticdome-python-sdk/1.2.
|
|
9
|
+
"version": "1.2.33",
|
|
10
|
+
"url": "https://pypi.org/project/agenticdome-python-sdk/1.2.33/"
|
|
11
11
|
},
|
|
12
12
|
"agenticdome-sdk": {
|
|
13
13
|
"registry": "npm",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"openclaw": {
|
|
23
23
|
"registry": "npm",
|
|
24
|
-
"version": "2026.9.
|
|
25
|
-
"url": "https://www.npmjs.com/package/openclaw/v/2026.9.
|
|
24
|
+
"version": "2026.9.6",
|
|
25
|
+
"url": "https://www.npmjs.com/package/openclaw/v/2026.9.6"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -598,6 +598,7 @@ class AgenticDomeClient:
|
|
|
598
598
|
execution_destination: Optional[str] = None,
|
|
599
599
|
execution_http_method: Optional[str] = None,
|
|
600
600
|
workload_id: Optional[str] = None,
|
|
601
|
+
workload_uuid: Optional[str] = None,
|
|
601
602
|
tenant_id: Optional[Union[str, int]] = None,
|
|
602
603
|
) -> Dict[str, Any]:
|
|
603
604
|
"""
|
|
@@ -638,6 +639,12 @@ class AgenticDomeClient:
|
|
|
638
639
|
)
|
|
639
640
|
if tool_digest is not None and not re.fullmatch(r"sha256:[0-9a-f]{64}", str(tool_digest)):
|
|
640
641
|
raise ValueError("'tool_digest' must be sha256 followed by 64 lowercase hexadecimal characters")
|
|
642
|
+
workload_uuid = self._normalize_optional_string(workload_uuid or os.getenv("AGENTICDOME_WORKLOAD_UUID"))
|
|
643
|
+
if workload_uuid is not None and not re.fullmatch(
|
|
644
|
+
r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}",
|
|
645
|
+
workload_uuid,
|
|
646
|
+
):
|
|
647
|
+
raise ValueError("'workload_uuid' must be a UUID from AgenticDome onboarding")
|
|
641
648
|
|
|
642
649
|
merged_policy_context = self._merge_policy_context(
|
|
643
650
|
policy_context,
|
|
@@ -717,6 +724,7 @@ class AgenticDomeClient:
|
|
|
717
724
|
"allowed_destination_domains": allowed_destination_domains,
|
|
718
725
|
"attachments": attachments,
|
|
719
726
|
"content_parts": content_parts,
|
|
727
|
+
"workload_uuid": workload_uuid.lower() if workload_uuid else None,
|
|
720
728
|
}
|
|
721
729
|
)
|
|
722
730
|
|
|
@@ -919,6 +927,10 @@ class AgenticDomeClient:
|
|
|
919
927
|
direction: str = "output",
|
|
920
928
|
policy_context: Optional[Dict[str, Any]] = None,
|
|
921
929
|
runtime_verdict: str = "ALLOWED",
|
|
930
|
+
workload_uuid: Optional[str] = None,
|
|
931
|
+
chain_id: Optional[str] = None,
|
|
932
|
+
action_id: Optional[str] = None,
|
|
933
|
+
decision_ref_sha256: Optional[str] = None,
|
|
922
934
|
tenant_id: Optional[Union[str, int]] = None,
|
|
923
935
|
) -> Dict[str, Any]:
|
|
924
936
|
"""Run multimodal descriptor DLP in the assigned AgenticDome runtime.
|
|
@@ -934,12 +946,28 @@ class AgenticDomeClient:
|
|
|
934
946
|
verdict = str(runtime_verdict or "").strip().upper()
|
|
935
947
|
if verdict not in {"ALLOWED", "BLOCKED", "REDACTED"}:
|
|
936
948
|
raise ValueError("runtime_verdict must be ALLOWED, BLOCKED, or REDACTED")
|
|
949
|
+
workload_uuid = self._normalize_optional_string(workload_uuid or os.getenv("AGENTICDOME_WORKLOAD_UUID"))
|
|
950
|
+
if workload_uuid is not None and not re.fullmatch(
|
|
951
|
+
r"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}",
|
|
952
|
+
workload_uuid,
|
|
953
|
+
):
|
|
954
|
+
raise ValueError("'workload_uuid' must be a UUID from AgenticDome onboarding")
|
|
955
|
+
for label, value in (("chain_id", chain_id), ("action_id", action_id)):
|
|
956
|
+
if value is not None and not re.fullmatch(r"[A-Za-z0-9._:-]{1,128}", str(value)):
|
|
957
|
+
raise ValueError(f"'{label}' must be a bounded action reference")
|
|
958
|
+
if decision_ref_sha256 is not None and not re.fullmatch(r"[0-9a-f]{64}", str(decision_ref_sha256)):
|
|
959
|
+
raise ValueError("'decision_ref_sha256' must contain 64 lowercase hexadecimal characters")
|
|
937
960
|
payload = {
|
|
938
961
|
"direction": self._normalize_direction(direction),
|
|
939
962
|
"content_parts": content_parts,
|
|
940
963
|
"policy_context": dict(policy_context or {}),
|
|
941
964
|
"runtime_verdict": verdict,
|
|
965
|
+
"workload_uuid": workload_uuid.lower() if workload_uuid else None,
|
|
966
|
+
"chain_id": chain_id,
|
|
967
|
+
"action_id": action_id,
|
|
968
|
+
"decision_ref_sha256": decision_ref_sha256,
|
|
942
969
|
}
|
|
970
|
+
payload = self._drop_none(payload)
|
|
943
971
|
return self._request("POST", "/mesh/content/inspect", json_body=payload, tenant_id=tenant_id)
|
|
944
972
|
|
|
945
973
|
def get_mesh_topology(self, tenant_id: Optional[Union[str, int]] = None) -> Dict[str, Any]:
|
{agenticdome_python_sdk-1.2.31 → agenticdome_python_sdk-1.2.33}/agenticdome_sdk/copilot_ir.py
RENAMED
|
@@ -18,7 +18,9 @@ from typing import Any, Dict, List, Sequence, Tuple
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
IR_SCHEMA = "agenticdome.copilot-ir.v1"
|
|
21
|
-
MAX_IR_FILES =
|
|
21
|
+
MAX_IR_FILES = 5_000
|
|
22
|
+
MAX_IR_FUNCTIONS = 20_000
|
|
23
|
+
TYPESCRIPT_BATCH_FILES = 200
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
def _relative(path: Path, root: Path) -> str:
|
|
@@ -280,7 +282,7 @@ def _collect_python(root: Path, paths: Sequence[Path]) -> Tuple[List[Dict[str, A
|
|
|
280
282
|
parsed = 0
|
|
281
283
|
parse_errors = 0
|
|
282
284
|
features = {"functions": 0, "calls": 0, "returns": 0, "raises": 0}
|
|
283
|
-
for path in paths
|
|
285
|
+
for path in paths:
|
|
284
286
|
try:
|
|
285
287
|
tree = ast.parse(path.read_text(encoding="utf-8", errors="ignore"), filename=path.name)
|
|
286
288
|
except (OSError, SyntaxError, ValueError):
|
|
@@ -309,29 +311,38 @@ def _collect_typescript(root: Path, paths: Sequence[Path]) -> Tuple[List[Dict[st
|
|
|
309
311
|
helper = Path(__file__).with_name("copilot_ir_collector.cjs")
|
|
310
312
|
if not node or not helper.exists():
|
|
311
313
|
return _typescript_fallback(root, paths, "Node.js or the packaged IR collector is unavailable.")
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
314
|
+
functions: List[Dict[str, Any]] = []
|
|
315
|
+
files_parsed = 0
|
|
316
|
+
parse_errors = 0
|
|
317
|
+
compiler_version = ""
|
|
318
|
+
for offset in range(0, len(paths), TYPESCRIPT_BATCH_FILES):
|
|
319
|
+
batch = paths[offset:offset + TYPESCRIPT_BATCH_FILES]
|
|
320
|
+
try:
|
|
321
|
+
completed = subprocess.run(
|
|
322
|
+
[node, str(helper)],
|
|
323
|
+
input=json.dumps({"root": str(root), "files": [str(path) for path in batch]}),
|
|
324
|
+
text=True,
|
|
325
|
+
stdout=subprocess.PIPE,
|
|
326
|
+
stderr=subprocess.DEVNULL,
|
|
327
|
+
check=False,
|
|
328
|
+
timeout=30,
|
|
329
|
+
cwd=root,
|
|
330
|
+
)
|
|
331
|
+
result = json.loads(completed.stdout or "{}") if completed.returncode == 0 else {}
|
|
332
|
+
except (OSError, subprocess.TimeoutExpired, json.JSONDecodeError):
|
|
333
|
+
result = {}
|
|
334
|
+
if not isinstance(result, dict) or not result.get("available"):
|
|
335
|
+
return _typescript_fallback(root, paths, str(result.get("reason", "The TypeScript compiler is unavailable."))[:160] if isinstance(result, dict) else "The TypeScript compiler is unavailable.")
|
|
336
|
+
functions.extend(item for item in result.get("functions", []) if isinstance(item, dict))
|
|
337
|
+
files_parsed += max(0, int(result.get("files_parsed", 0)))
|
|
338
|
+
parse_errors += max(0, int(result.get("parse_errors", 0)))
|
|
339
|
+
compiler_version = str(result.get("typescript_version", ""))[:40]
|
|
340
|
+
return functions, {
|
|
330
341
|
"engine": "typescript-compiler-api",
|
|
331
342
|
"available": True,
|
|
332
|
-
"files_parsed":
|
|
333
|
-
"parse_errors":
|
|
334
|
-
"typescript_version":
|
|
343
|
+
"files_parsed": files_parsed,
|
|
344
|
+
"parse_errors": parse_errors,
|
|
345
|
+
"typescript_version": compiler_version,
|
|
335
346
|
"claim": "Generic compiler AST structure collection; private reasoning is performed by the assigned Copilot service",
|
|
336
347
|
}
|
|
337
348
|
|
|
@@ -340,7 +351,7 @@ def _typescript_fallback(root: Path, paths: Sequence[Path], reason: str) -> Tupl
|
|
|
340
351
|
functions: List[Dict[str, Any]] = []
|
|
341
352
|
parsed = 0
|
|
342
353
|
call_pattern = re.compile(r"\b([A-Za-z_$][\w$]*(?:\s*\.\s*[A-Za-z_$][\w$]*)*)\s*\(")
|
|
343
|
-
for path in paths
|
|
354
|
+
for path in paths:
|
|
344
355
|
try:
|
|
345
356
|
lines = path.read_text(encoding="utf-8", errors="ignore").splitlines()
|
|
346
357
|
except OSError:
|
|
@@ -365,16 +376,26 @@ def _typescript_fallback(root: Path, paths: Sequence[Path], reason: str) -> Tupl
|
|
|
365
376
|
|
|
366
377
|
def collect_repository_ir(root: Path, paths: Sequence[Path]) -> Dict[str, Any]:
|
|
367
378
|
"""Collect bounded metadata for private reasoning without emitting source."""
|
|
368
|
-
|
|
369
|
-
|
|
379
|
+
selected = paths[:MAX_IR_FILES]
|
|
380
|
+
python_paths = [path for path in selected if path.suffix.lower() in {".py", ".pyi"}]
|
|
381
|
+
typescript_paths = [path for path in selected if path.suffix.lower() in {".js", ".jsx", ".ts", ".tsx"}]
|
|
370
382
|
python_functions, python_engine = _collect_python(root, python_paths)
|
|
371
383
|
typescript_functions, typescript_engine = _collect_typescript(root, typescript_paths)
|
|
384
|
+
functions = python_functions + typescript_functions
|
|
385
|
+
complete = len(paths) <= MAX_IR_FILES and len(functions) <= MAX_IR_FUNCTIONS
|
|
372
386
|
return {
|
|
373
387
|
"schema": IR_SCHEMA,
|
|
374
388
|
"source_upload": False,
|
|
375
389
|
"collector_mode": "generic_ast_metadata_only",
|
|
376
390
|
"engines": {"python": python_engine, "typescript": typescript_engine},
|
|
377
|
-
"functions":
|
|
391
|
+
"functions": functions[:MAX_IR_FUNCTIONS],
|
|
392
|
+
"coverage": {
|
|
393
|
+
"candidate_source_files": len(paths),
|
|
394
|
+
"files_selected": len(selected),
|
|
395
|
+
"symbols_found": len(functions),
|
|
396
|
+
"complete": complete,
|
|
397
|
+
"limit_reason": "file_limit" if len(paths) > MAX_IR_FILES else "symbol_limit" if len(functions) > MAX_IR_FUNCTIONS else None,
|
|
398
|
+
},
|
|
378
399
|
"privacy": {
|
|
379
400
|
"source_text": False,
|
|
380
401
|
"string_literals": False,
|