@jaguilar87/gaia-ops 4.4.0-beta.1 → 4.4.0-beta.2
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{
|
|
11
11
|
"name": "gaia-security",
|
|
12
12
|
"description": "Security hooks, approval system, audit logging, metrics, and anomaly detection for Claude Code",
|
|
13
|
-
"version": "4.4.0-beta.
|
|
13
|
+
"version": "4.4.0-beta.2",
|
|
14
14
|
"source": "./plugins/gaia-security",
|
|
15
15
|
"category": "security",
|
|
16
16
|
"tags": ["security", "hooks", "audit", "metrics", "approval"],
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "gaia-ops",
|
|
22
22
|
"description": "Complete DevOps orchestration system: agents, scanning, context injection, episodic memory, speckit planning, and CLI tools \u2014 includes gaia-security",
|
|
23
|
-
"version": "4.4.0-beta.
|
|
23
|
+
"version": "4.4.0-beta.2",
|
|
24
24
|
"source": "./plugins/gaia-ops",
|
|
25
25
|
"category": "devops",
|
|
26
26
|
"tags": ["devops", "agents", "scanning", "orchestration", "speckit", "ops"],
|
package/bin/gaia-scan
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
set -euo pipefail
|
|
7
7
|
|
|
8
|
-
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
8
|
+
SCRIPT_DIR="$(cd "$(dirname "$(readlink -f "$0" 2>/dev/null || realpath "$0" 2>/dev/null || echo "$0")")" && pwd)"
|
|
9
9
|
PLUGIN_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
|
10
10
|
|
|
11
11
|
# Ensure PYTHONPATH includes the plugin root so `tools.scan` resolves
|
package/bin/gaia-scan.py
CHANGED
|
@@ -38,12 +38,23 @@ _PLUGIN_ROOT = _SCRIPT_DIR.parent
|
|
|
38
38
|
if str(_PLUGIN_ROOT) not in sys.path:
|
|
39
39
|
sys.path.insert(0, str(_PLUGIN_ROOT))
|
|
40
40
|
|
|
41
|
-
from tools.scan import __version__ as scanner_version
|
|
42
41
|
from tools.scan.config import ScanConfig, load_scan_config
|
|
43
42
|
from tools.scan.orchestrator import ScanOrchestrator
|
|
44
43
|
from tools.scan.registry import ScannerRegistry
|
|
45
44
|
|
|
46
45
|
|
|
46
|
+
def _get_version():
|
|
47
|
+
"""Read version from package.json."""
|
|
48
|
+
try:
|
|
49
|
+
pkg_path = Path(__file__).resolve().parent.parent / "package.json"
|
|
50
|
+
return json.load(open(pkg_path))["version"]
|
|
51
|
+
except Exception:
|
|
52
|
+
return "unknown"
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
scanner_version = _get_version()
|
|
56
|
+
|
|
57
|
+
|
|
47
58
|
def _is_context_fresh(project_root: Path, staleness_hours: int) -> bool:
|
|
48
59
|
"""Check if project-context.json exists and is within staleness threshold.
|
|
49
60
|
|
|
@@ -492,7 +503,7 @@ def main(argv: list = None) -> int:
|
|
|
492
503
|
parser.add_argument(
|
|
493
504
|
"--version",
|
|
494
505
|
action="version",
|
|
495
|
-
version=f"gaia-scan {
|
|
506
|
+
version=f"gaia-scan {_get_version()}",
|
|
496
507
|
)
|
|
497
508
|
|
|
498
509
|
# New setup flags (from gaia-init)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaia-ops",
|
|
3
|
-
"version": "4.4.0-beta.
|
|
3
|
+
"version": "4.4.0-beta.2",
|
|
4
4
|
"description": "Complete DevOps orchestration system: agents, scanning, context injection, episodic memory, speckit planning, and CLI tools",
|
|
5
5
|
"keywords": ["devops", "agents", "scanning", "orchestration", "speckit", "ops"],
|
|
6
6
|
"agents": "../../agents/",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaia-security",
|
|
3
|
-
"version": "4.4.0-beta.
|
|
3
|
+
"version": "4.4.0-beta.2",
|
|
4
4
|
"description": "Security hooks, approval system, audit logging, metrics, and anomaly detection for Claude Code",
|
|
5
5
|
"keywords": ["security", "hooks", "audit", "metrics", "approval"]
|
|
6
6
|
}
|