@jaguilar87/gaia 5.1.0-rc.4 → 5.1.0

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.
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "gaia",
11
11
  "description": "Security-first multi-agent orchestration for Claude Code. Specialized agents cover the full development lifecycle — analysis, planning, execution, deployment — with codebase-aware context injection. Every command is risk-classified: read-only runs freely, state changes pause for your approval, and irreversible operations are permanently blocked.",
12
- "version": "5.1.0-rc.4",
12
+ "version": "5.1.0",
13
13
  "category": "devops",
14
14
  "author": {
15
15
  "name": "jaguilar87",
@@ -18,7 +18,8 @@
18
18
  "homepage": "https://github.com/metraton/gaia#readme",
19
19
  "source": {
20
20
  "source": "github",
21
- "repo": "metraton/gaia"
21
+ "repo": "metraton/gaia",
22
+ "ref": "v5.1.0"
22
23
  }
23
24
  }
24
25
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia",
3
- "version": "5.1.0-rc.4",
3
+ "version": "5.1.0",
4
4
  "description": "Security-first multi-agent orchestration for Claude Code. Agents span the full lifecycle; commands are risk-classified \u2014 reads run free, state changes need approval, irreversible ops blocked.",
5
5
  "author": {
6
6
  "name": "jaguilar87",
package/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [5.1.0] - 2026-07-03
11
+
10
12
  ## [5.1.0-rc.4] - 2026-07-03
11
13
 
12
14
  ## [5.1.0-rc.3] - 2026-07-03
@@ -601,9 +601,24 @@ class PrePublishValidator {
601
601
  if (plugin.version !== expectedVersion) {
602
602
  versionMismatches.push(`marketplace/${plugin.name}: ${plugin.version}`);
603
603
  }
604
+ // For git/github object sources a `source.ref` pins `/plugin install`
605
+ // to a fixed release tag (`v<version>`). release:prepare's
606
+ // bumpMarketplace writes it atomically with the version. Tolerant
607
+ // when absent (refless resolves the repo's default HEAD -- a valid
608
+ // pre-pin state); strict when present so a stale/hand-edited ref that
609
+ // would serve the wrong tag is caught here rather than after publish.
610
+ const src = plugin.source;
611
+ if (src && typeof src === 'object' &&
612
+ (src.source === 'github' || src.source === 'git') &&
613
+ src.ref !== undefined) {
614
+ const expectedRef = `v${expectedVersion}`;
615
+ if (src.ref !== expectedRef) {
616
+ versionMismatches.push(`marketplace/${plugin.name}.source.ref: ${src.ref}`);
617
+ }
618
+ }
604
619
  }
605
620
  if (!versionMismatches.some(m => m.startsWith('marketplace/'))) {
606
- this.log(` ✓ marketplace.json plugin versions match`, 'success');
621
+ this.log(` ✓ marketplace.json plugin versions${marketplaceData.plugins.some(p => p.source && p.source.ref) ? ' + source.ref pins' : ''} match`, 'success');
607
622
  }
608
623
  }
609
624
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaguilar87/gaia",
3
- "version": "5.1.0-rc.4",
3
+ "version": "5.1.0",
4
4
  "description": "Multi-agent orchestration system for Claude Code - DevOps automation toolkit",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gaia"
3
- version = "5.1.0-rc.4"
3
+ version = "5.1.0"
4
4
  description = "Multi-agent orchestration system for Claude Code - DevOps automation toolkit"
5
5
  requires-python = ">=3.11"
6
6
  license = {text = "MIT"}
@@ -94,9 +94,25 @@ function bumpMarketplace(rel, version) {
94
94
  const plugins = data.plugins || [];
95
95
  if (plugins.length === 0) throw new Error(`${rel}: no plugins[] to bump`);
96
96
  const befores = plugins.map((p) => `${p.name}=${p.version}`);
97
- for (const plugin of plugins) plugin.version = version;
97
+ const tag = `v${version}`;
98
+ const refUpdates = [];
99
+ for (const plugin of plugins) {
100
+ plugin.version = version;
101
+ // Pin the source to the release tag for git/github sources so
102
+ // `/plugin install` serves a fixed, reproducible tag instead of tracking
103
+ // moving default-branch HEAD. Bumped atomically with the version so the
104
+ // ref can never go stale (the earlier flagged follow-up). Guard: only
105
+ // git/github object sources carry a ref -- npm/local sources must not.
106
+ const src = plugin.source;
107
+ if (src && typeof src === 'object' &&
108
+ (src.source === 'github' || src.source === 'git')) {
109
+ src.ref = tag;
110
+ refUpdates.push(`${plugin.name}.source.ref=${tag}`);
111
+ }
112
+ }
98
113
  writeText(rel, JSON.stringify(data, null, 2) + '\n');
99
- return `${rel}: [${befores.join(', ')}] -> all ${version}`;
114
+ const refNote = refUpdates.length ? ` (${refUpdates.join(', ')})` : '';
115
+ return `${rel}: [${befores.join(', ')}] -> all ${version}${refNote}`;
100
116
  }
101
117
 
102
118
  function bumpPyproject(rel, version) {