sys-scan-agent 5.0.0__py3-none-any.whl → 5.0.3.dev0__py3-none-any.whl

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.
@@ -159,5 +159,4 @@ class AgentState(BaseModel):
159
159
  followups: List[FollowupResult] = Field(default_factory=list)
160
160
  enrichment_results: dict = Field(default_factory=dict)
161
161
  multi_host_correlation: List[MultiHostCorrelation] = Field(default_factory=list)
162
- agent_warnings: List[dict] = Field(default_factory=list)
163
-
162
+ agent_warnings: List[dict] = Field(default_factory=list)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sys-scan-agent
3
- Version: 5.0.0
3
+ Version: 5.0.3.dev0
4
4
  Summary: AI-powered intelligence layer for the sys-scan-graph security scanner.
5
5
  Home-page: https://github.com/J-mazz/sys-scan-graph
6
6
  Author: Joseph Mazzini
@@ -37,7 +37,6 @@ sys_scan_agent/metrics.py,sha256=G8h8G3Kgrcee0kgQ37ihtu8iHkasXbXyywY5YQOIF54,409
37
37
  sys_scan_agent/metrics_exporter.py,sha256=MBfpuxn077lEgIiKPJEzhz5qsZ21weEKPHXQCwIXJKU,8661
38
38
  sys_scan_agent/metrics_node.py,sha256=F7OQ3yU06Lftjmm_pbzfDu6ybrRrAqN4gfyAy0xBIFQ,6752
39
39
  sys_scan_agent/migration_v3.py,sha256=LTmzRtjQUwHfNtr-gpBdyCLQdiu_HjdU73oYqFVCIJQ,2190
40
- sys_scan_agent/models.py,sha256=e_bD4sJ31lpNt8jgfFSNNznVwB8ZO4m9qVMNmofbitM,6890
41
40
  sys_scan_agent/performance_baseline.py,sha256=btFtN943S2GahaHcTEJFrDJCnA-78XG0H6Gqf_q1I50,7520
42
41
  sys_scan_agent/pipeline.py,sha256=c3xdk5-gPK-UKq3ahYZDsjGZ3IEBU8EtDAFtDOo1w2M,14395
43
42
  sys_scan_agent/rarity_generate.py,sha256=BM2bgyUmNM_PhVIsCG7jFXTf3D8d5QQkohdnFbbl9t4,1851
@@ -68,10 +67,10 @@ sys_scan_agent/graph/routing.py,sha256=Tqs-F1QMAdCf9HecUvAQwZeD1X11HsvxB8uXZ_ZBf
68
67
  sys_scan_agent/graph/rules.py,sha256=SIh4lxVaBAkYNkRLB4KFvk7jL4rkD3MrL0IverfzAzc,9641
69
68
  sys_scan_agent/graph/summarization.py,sha256=cXc5Lh8-mBLy4PK_BHOchOAyT2OqdL52X2pBNoexuRc,14140
70
69
  sys_scan_agent/graph/utils.py,sha256=oM5-USXt9oIplvhb_5l0eJdq4MEtORs6mzF4RTzUu3Y,13891
70
+ sys_scan_agent/models/__init__.py,sha256=wgylTYY2kP1k03CFg5s9Q2DS2slpHfhvP0kf_w6xU3E,6888
71
71
  sys_scan_agent/models/mistral-security-scanner/adapter_config.json,sha256=MOx5bdifYA3m-aWPdxAIYnfluOJWJcMg3GYtSySPGkg,945
72
72
  sys_scan_agent/models/mistral-security-scanner/tokenizer.json,sha256=PFz0QCNxT7ObBeceQl-Ne5KAX_c_eYiwg7jIfwv4c5M,17209961
73
- sys_scan_agent-5.0.0.dist-info/licenses/LICENSE,sha256=VXRfqQBS6tVMaaDjs09EmMmLbC5Hb5yzhxdUgL0GHow,12135
74
- sys_scan_graph_agent/__init__.py,sha256=AVSDuQ_OGRIsRBuUc1-hCYlJQ5KgbuRpkbq9UmA3i9s,1493
73
+ sys_scan_agent-5.0.3.dev0.dist-info/licenses/LICENSE,sha256=VXRfqQBS6tVMaaDjs09EmMmLbC5Hb5yzhxdUgL0GHow,12135
75
74
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
75
  tests/conftest.py,sha256=YzOXysZy-Sw1WCGdeHeINiE1jrSNMA_4AwLw-0sFFys,512
77
76
  tests/test_advanced_router.py,sha256=GbE3PPDkgiKswr-VNTH9b3qhRG53ea2cVmFBCZQxYFY,1297
@@ -99,7 +98,7 @@ tests/test_fleet_report_schema.py,sha256=P3fH_BxVQoBfW9lDPLxLaf3EFTK9BvbJPsqOTaT
99
98
  tests/test_graph.py,sha256=iU1JMf4OWCcwh1cWjaN-L3rM0DXocq03E1SBPpNXwYM,86256
100
99
  tests/test_graph_analysis.py,sha256=D24NossWc1vi4HPiCKYjyf67TbSicIyvqZu3LwGGJP8,14107
101
100
  tests/test_graph_cycle.py,sha256=vRktx0h2SX0PxirWC9L68nSLvCSt_YmhdjS-g-w9FJs,2617
102
- tests/test_graph_main.py,sha256=XcT51eSaezsO330BKXNOAdMXNQCBklbY_KE6m8-exa4,44024
101
+ tests/test_graph_main.py,sha256=WTrXih5WiJcUYf3G82g7wn5E_GK-dw0QRR8sbFl1KPU,44062
103
102
  tests/test_graph_scaffold_workflow.py,sha256=fD8_6K3qZO8wO60bfAp_a5_Z02bg3Q1H5GqDOhXR_ho,3597
104
103
  tests/test_graph_utils.py,sha256=b4jnOiBGMb6GXFF2qerFOlHw7Z83b0PvnsCurCsX4Nw,25783
105
104
  tests/test_graph_with_toolnode.py,sha256=UXwTA_YNOs8npGR9InX8p_NHmpWQPmXrE1iwDQ7VBsQ,14870
@@ -141,8 +140,8 @@ tests/test_tools_enhanced.py,sha256=rJK6Hczu2mp24gdqubI7fy_m6VfPpm6dwbaTHTMHW6M,
141
140
  tests/test_utils.py,sha256=-iUT5p_a1R90QJndAJazYgO2xHZBjfErQnSKRIkHj54,7534
142
141
  tests/test_workflow_equivalence.py,sha256=OyGkCHeYLaVs47FG1098o6fyn0TAtuwh12b7oM5uWwI,25127
143
142
  tests/test_yaml_corruption.py,sha256=_5FLGIv7jppCDZncR_gwxDYTHjlxlErLjQD3vVO37AQ,2107
144
- sys_scan_agent-5.0.0.dist-info/METADATA,sha256=7DFqSGedapt_HK9iDPpECAh3Atun_1TPDsAWI1blqv8,8537
145
- sys_scan_agent-5.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
146
- sys_scan_agent-5.0.0.dist-info/entry_points.txt,sha256=7rmYGTp4NvfbpxCqWu7wrHCKd-2BEZfnlPJoxSDKokg,105
147
- sys_scan_agent-5.0.0.dist-info/top_level.txt,sha256=fLN3iUU-QC2fgTKBazPDNFeZK8-jfdLwgWTiRdvuDEc,69
148
- sys_scan_agent-5.0.0.dist-info/RECORD,,
143
+ sys_scan_agent-5.0.3.dev0.dist-info/METADATA,sha256=CTD8JqrwdShPlGEtInUZb5UTOuQT62MWYvT0bUpHIzE,8542
144
+ sys_scan_agent-5.0.3.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
145
+ sys_scan_agent-5.0.3.dev0.dist-info/entry_points.txt,sha256=7rmYGTp4NvfbpxCqWu7wrHCKd-2BEZfnlPJoxSDKokg,105
146
+ sys_scan_agent-5.0.3.dev0.dist-info/top_level.txt,sha256=3uTXqS-hAr46En_EzXhUkyBEZ6TrlSvUT_toOPE4Ero,48
147
+ sys_scan_agent-5.0.3.dev0.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  executors
2
2
  prompt_templates
3
3
  sys_scan_agent
4
- sys_scan_graph_agent
5
4
  tests
tests/test_graph_main.py CHANGED
@@ -12,7 +12,8 @@ import os
12
12
  import importlib.util
13
13
 
14
14
  # Load the main graph.py module directly
15
- graph_spec = importlib.util.spec_from_file_location("graph_main", "/home/joseph-mazzini/sys-scan-graph/agent/sys_scan_agent/graph.py")
15
+ graph_py_path = os.path.join(os.path.dirname(__file__), '..', 'sys_scan_agent', 'graph.py')
16
+ graph_spec = importlib.util.spec_from_file_location("graph_main", graph_py_path)
16
17
  if graph_spec is None or graph_spec.loader is None:
17
18
  raise ImportError("Could not load graph.py module")
18
19
  graph_main = importlib.util.module_from_spec(graph_spec)
@@ -1,34 +0,0 @@
1
- # .________    ._____.___ .______  .______ .______ .___ .______  .___
2
- # :____.   \   :         |:      \ \____  |\____  |: __|:      \ : __|
3
- #  __|  :/ |   |   \  /  ||   .   |/  ____|/  ____|| : ||       || : |
4
- # |     :  |   |   |\/   ||   :   |\      |\      ||   ||   |   ||   |
5
- #  \__. __/    |___| |   ||___|   | \__:__| \__:__||   ||___|   ||   |
6
- #     :/             |___|    |___|    :       :   |___|    |___||___|
7
- #     :                        •       •             
8
- #  
9
- #
10
- # 2925
11
- # __init__.py
12
-
13
- # ==============================================================================
14
- # Agent package init
15
-
16
- import subprocess
17
- import sys
18
-
19
- def _check_sys_scan():
20
- """Check if sys-scan-graph core is installed and available."""
21
- try:
22
- # Check if 'sys-scan-graph' is in the system's PATH
23
- subprocess.run(["which", "sys-scan-graph"], check=True, capture_output=True)
24
- except (subprocess.CalledProcessError, FileNotFoundError):
25
- print(
26
- "Error: 'sys-scan-graph' core not found.\n"
27
- "Please install the core package first by running:\n"
28
- "sudo apt install sys-scan-graph",
29
- file=sys.stderr
30
- )
31
- sys.exit(1)
32
-
33
- # Perform the check when the module is imported
34
- _check_sys_scan()