@jaguilar87/gaia 5.0.4 → 5.0.6
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +65 -0
- package/INSTALL.md +0 -2
- package/README.md +1 -6
- package/bin/README.md +0 -1
- package/bin/cli/_install_helpers.py +1 -1
- package/bin/cli/cleanup.py +0 -1
- package/bin/cli/doctor.py +2 -2
- package/bin/cli/memory.py +2 -0
- package/bin/cli/update.py +1 -1
- package/bin/pre-publish-validate.js +48 -5
- package/config/README.md +22 -44
- package/config/surface-routing.json +0 -1
- package/dist/gaia-ops/.claude-plugin/plugin.json +1 -1
- package/dist/gaia-ops/config/README.md +22 -44
- package/dist/gaia-ops/config/surface-routing.json +0 -1
- package/dist/gaia-ops/hooks/modules/agents/handoff_persister.py +2 -0
- package/dist/gaia-ops/hooks/modules/security/approval_grants.py +2 -0
- package/dist/gaia-ops/hooks/modules/tools/bash_validator.py +2 -0
- package/dist/gaia-ops/hooks/modules/validation/commit_validator.py +90 -55
- package/dist/gaia-ops/skills/README.md +1 -1
- package/dist/gaia-ops/skills/gaia-patterns/SKILL.md +1 -1
- package/dist/gaia-ops/skills/gaia-patterns/reference.md +0 -1
- package/dist/gaia-ops/skills/gaia-release/SKILL.md +60 -24
- package/dist/gaia-ops/skills/gaia-release/reference.md +35 -11
- package/dist/gaia-ops/skills/git-conventions/SKILL.md +6 -2
- package/dist/gaia-ops/skills/orchestrator-present-approval/SKILL.md +10 -2
- package/dist/gaia-ops/skills/readme-writing/SKILL.md +1 -1
- package/dist/gaia-ops/skills/readme-writing/reference.md +0 -1
- package/dist/gaia-ops/tools/scan/ui.py +20 -4
- package/dist/gaia-ops/tools/scan/verify.py +3 -3
- package/dist/gaia-ops/tools/validation/README.md +15 -24
- package/dist/gaia-security/.claude-plugin/plugin.json +1 -1
- package/dist/gaia-security/hooks/modules/agents/handoff_persister.py +2 -0
- package/dist/gaia-security/hooks/modules/security/approval_grants.py +2 -0
- package/dist/gaia-security/hooks/modules/tools/bash_validator.py +2 -0
- package/dist/gaia-security/hooks/modules/validation/commit_validator.py +90 -55
- package/hooks/modules/agents/handoff_persister.py +2 -0
- package/hooks/modules/security/approval_grants.py +2 -0
- package/hooks/modules/tools/bash_validator.py +2 -0
- package/hooks/modules/validation/commit_validator.py +90 -55
- package/index.js +2 -12
- package/package.json +4 -6
- package/pyproject.toml +3 -3
- package/scripts/bootstrap_database.sh +88 -439
- package/scripts/check_schema_drift.py +208 -0
- package/scripts/migrations/README.md +78 -28
- package/scripts/migrations/schema.checksum +8 -0
- package/scripts/release-prepare.mjs +199 -0
- package/skills/README.md +1 -1
- package/skills/gaia-patterns/SKILL.md +1 -1
- package/skills/gaia-patterns/reference.md +0 -1
- package/skills/gaia-release/SKILL.md +60 -24
- package/skills/gaia-release/reference.md +35 -11
- package/skills/git-conventions/SKILL.md +6 -2
- package/skills/orchestrator-present-approval/SKILL.md +10 -2
- package/skills/readme-writing/SKILL.md +1 -1
- package/skills/readme-writing/reference.md +0 -1
- package/tools/scan/ui.py +20 -4
- package/tools/scan/verify.py +3 -3
- package/tools/validation/README.md +15 -24
- package/commands/README.md +0 -64
- package/commands/gaia.md +0 -37
- package/commands/scan-project.md +0 -74
- package/config/crons-schema.md +0 -81
- package/config/git_standards.json +0 -72
- package/dist/gaia-ops/commands/gaia.md +0 -37
- package/dist/gaia-ops/config/crons-schema.md +0 -81
- package/dist/gaia-ops/config/git_standards.json +0 -72
- package/dist/gaia-ops/tools/agentic-loop/decide-status.py +0 -210
- package/dist/gaia-ops/tools/agentic-loop/parse-metric.py +0 -106
- package/dist/gaia-ops/tools/agentic-loop/record-iteration.py +0 -223
- package/git-hooks/commit-msg +0 -41
- package/scripts/migrations/v10_to_v11.sql +0 -170
- package/scripts/migrations/v10_to_v11_fresh.sql +0 -18
- package/scripts/migrations/v11_to_v12.sql +0 -195
- package/scripts/migrations/v11_to_v12_fresh.sql +0 -19
- package/scripts/migrations/v12_to_v13.sql +0 -48
- package/scripts/migrations/v12_to_v13_fresh.sql +0 -17
- package/scripts/migrations/v13_to_v14.sql +0 -44
- package/scripts/migrations/v13_to_v14_fresh.sql +0 -17
- package/scripts/migrations/v14_to_v15.sql +0 -71
- package/scripts/migrations/v14_to_v15_fresh.sql +0 -19
- package/scripts/migrations/v15_to_v16.sql +0 -57
- package/scripts/migrations/v15_to_v16_fresh.sql +0 -18
- package/scripts/migrations/v16_to_v17.sql +0 -51
- package/scripts/migrations/v16_to_v17_fresh.sql +0 -18
- package/scripts/migrations/v17_to_v18.sql +0 -66
- package/scripts/migrations/v17_to_v18_fresh.sql +0 -24
- package/scripts/migrations/v1_to_v2.sql +0 -97
- package/scripts/migrations/v2_to_v3.sql +0 -68
- package/scripts/migrations/v2_to_v3_merge.sql +0 -69
- package/scripts/migrations/v3_to_v4.sql +0 -67
- package/scripts/migrations/v3_to_v4_fresh.sql +0 -20
- package/scripts/migrations/v4_to_v5.sql +0 -55
- package/scripts/migrations/v4_to_v5_fresh.sql +0 -20
- package/scripts/migrations/v5_to_v6.sql +0 -48
- package/scripts/migrations/v5_to_v6_fresh.sql +0 -17
- package/scripts/migrations/v6_to_v7.sql +0 -26
- package/scripts/migrations/v6_to_v7_fresh.sql +0 -13
- package/scripts/migrations/v7_to_v8.sql +0 -44
- package/scripts/migrations/v7_to_v8_fresh.sql +0 -14
- package/scripts/migrations/v8_to_v9.sql +0 -87
- package/scripts/migrations/v8_to_v9_fresh.sql +0 -15
- package/scripts/migrations/v9_to_v10.sql +0 -109
- package/scripts/migrations/v9_to_v10_episodes_workspace.sql +0 -109
- package/scripts/migrations/v9_to_v10_fresh.sql +0 -18
- package/templates/README.md +0 -70
- package/templates/managed-settings.template.json +0 -43
- package/tools/agentic-loop/decide-status.py +0 -210
- package/tools/agentic-loop/parse-metric.py +0 -106
- package/tools/agentic-loop/record-iteration.py +0 -223
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* import { getAgentPath, getToolPath, getConfigPath } from '@jaguilar87/gaia';
|
|
8
8
|
* const agentPath = getAgentPath('gitops-operator');
|
|
9
9
|
* const toolPath = getToolPath('context_provider.py');
|
|
10
|
-
* const configPath = getConfigPath('
|
|
10
|
+
* const configPath = getConfigPath('surface-routing.json');
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { fileURLToPath } from 'url';
|
|
@@ -54,18 +54,9 @@ export function getCommandPath(commandName) {
|
|
|
54
54
|
return join(PACKAGE_ROOT, 'commands', commandName);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
* Get absolute path to a template
|
|
59
|
-
* @param {string} templateName - Name of the template (e.g., 'governance.template.md')
|
|
60
|
-
* @returns {string} Absolute path to template file
|
|
61
|
-
*/
|
|
62
|
-
export function getTemplatePath(templateName) {
|
|
63
|
-
return join(PACKAGE_ROOT, 'templates', templateName);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
57
|
/**
|
|
67
58
|
* Get absolute path to config file
|
|
68
|
-
* @param {string} configName - Name of the config (e.g., '
|
|
59
|
+
* @param {string} configName - Name of the config (e.g., 'surface-routing.json')
|
|
69
60
|
* @returns {string} Absolute path to config file
|
|
70
61
|
*/
|
|
71
62
|
export function getConfigPath(configName) {
|
|
@@ -78,6 +69,5 @@ export default {
|
|
|
78
69
|
getToolPath,
|
|
79
70
|
getHookPath,
|
|
80
71
|
getCommandPath,
|
|
81
|
-
getTemplatePath,
|
|
82
72
|
getConfigPath
|
|
83
73
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaguilar87/gaia",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Multi-agent orchestration system for Claude Code - DevOps automation toolkit",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,13 +37,10 @@
|
|
|
37
37
|
"tools/",
|
|
38
38
|
"gaia/",
|
|
39
39
|
"hooks/",
|
|
40
|
-
"commands/",
|
|
41
|
-
"templates/",
|
|
42
40
|
"config/",
|
|
43
41
|
"scripts/",
|
|
44
42
|
"skills/",
|
|
45
43
|
"dist/",
|
|
46
|
-
"git-hooks/",
|
|
47
44
|
"README.md",
|
|
48
45
|
"INSTALL.md",
|
|
49
46
|
"CHANGELOG.md",
|
|
@@ -62,6 +59,7 @@
|
|
|
62
59
|
"test:all": "python3 -m pytest tests/ -v -m ''",
|
|
63
60
|
"test:promptfoo": "npx promptfoo eval --config tests/promptfoo.yaml",
|
|
64
61
|
"lint": "eslint .",
|
|
62
|
+
"release:prepare": "node scripts/release-prepare.mjs",
|
|
65
63
|
"clean:dist": "rm -rf dist/",
|
|
66
64
|
"build:plugins": "npm run clean:dist && python3 scripts/build-plugin.py gaia-security && python3 scripts/build-plugin.py gaia-ops",
|
|
67
65
|
"clean": "find . -type d -name '__pycache__' -exec rm -rf {} + 2>/dev/null || true",
|
|
@@ -71,7 +69,7 @@
|
|
|
71
69
|
"gaia:verify-install:local": "npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target sandbox",
|
|
72
70
|
"gaia:verify-install:rc": "bash bin/validate-sandbox.sh --version @rc --target sandbox",
|
|
73
71
|
"gaia:verify-install:latest": "bash bin/validate-sandbox.sh --version @latest --target sandbox",
|
|
74
|
-
"gaia:install-local": "npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target local",
|
|
72
|
+
"gaia:install-local": "npm run build:plugins && npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target local",
|
|
75
73
|
"prepack": "npm run clean",
|
|
76
74
|
"prepublishOnly": "npm run build:plugins && node bin/pre-publish-validate.js",
|
|
77
75
|
"postinstall": "python3 bin/gaia install --postinstall",
|
|
@@ -85,6 +83,6 @@
|
|
|
85
83
|
},
|
|
86
84
|
"engines": {
|
|
87
85
|
"node": ">=18.0.0",
|
|
88
|
-
"python": ">=3.
|
|
86
|
+
"python": ">=3.11"
|
|
89
87
|
}
|
|
90
88
|
}
|
package/pyproject.toml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "gaia"
|
|
3
|
-
version = "5.0.
|
|
3
|
+
version = "5.0.6"
|
|
4
4
|
description = "Multi-agent orchestration system for Claude Code - DevOps automation toolkit"
|
|
5
|
-
requires-python = ">=3.
|
|
5
|
+
requires-python = ">=3.11"
|
|
6
6
|
license = {text = "MIT"}
|
|
7
7
|
authors = [
|
|
8
8
|
{name = "Jorge Aguilar", email = "jorge.aguilar87@gmail.com"},
|
|
@@ -16,7 +16,7 @@ dev = [
|
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[tool.ruff]
|
|
19
|
-
target-version = "
|
|
19
|
+
target-version = "py311"
|
|
20
20
|
line-length = 120
|
|
21
21
|
|
|
22
22
|
[tool.ruff.lint]
|