cleargate 0.8.0 → 0.8.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "cleargate_version": "0.8.0",
3
- "generated_at": "2026-04-27T08:53:26.701Z",
2
+ "cleargate_version": "0.8.2",
3
+ "generated_at": "2026-04-27T09:39:12.477Z",
4
4
  "files": [
5
5
  {
6
6
  "path": ".claude/agents/architect.md",
@@ -144,28 +144,28 @@
144
144
  },
145
145
  {
146
146
  "path": ".cleargate/templates/Bug.md",
147
- "sha256": "3ba6e72bd2bc01cf8d0ea06390f8ea511bef3a421a33c48de033051f844dfa0e",
147
+ "sha256": "54660457a8b7f5c9f1a286993e2d83d46fef880a3d65086421d8db815a9c01ec",
148
148
  "tier": "template",
149
149
  "overwrite_policy": "merge-3way",
150
150
  "preserve_on_uninstall": false
151
151
  },
152
152
  {
153
153
  "path": ".cleargate/templates/CR.md",
154
- "sha256": "58ea4badb03991d119f8aa8870992a8239c8df6ad198e0d9ca04a805756e4bac",
154
+ "sha256": "e4cff0314217d649177a3dd1603c510d2f5246c1cf297baaa91d5941c1eedc91",
155
155
  "tier": "template",
156
156
  "overwrite_policy": "merge-3way",
157
157
  "preserve_on_uninstall": false
158
158
  },
159
159
  {
160
160
  "path": ".cleargate/templates/epic.md",
161
- "sha256": "6c85e4c9602af657e6778af9009a67936c27e47331479d0c246cdf1242177c82",
161
+ "sha256": "fa0e5bf85b50bee11d38646b2606652999ac2ff7c649810408c35ff25d7a025c",
162
162
  "tier": "template",
163
163
  "overwrite_policy": "merge-3way",
164
164
  "preserve_on_uninstall": false
165
165
  },
166
166
  {
167
167
  "path": ".cleargate/templates/hotfix.md",
168
- "sha256": "2a7c745b0d46f4a092c507d6b427c15d64540e332f9544bc572451a313f4e5cc",
168
+ "sha256": "93c6690a23bcfca98697048b7f1c2c5c76ee16c2d295a53ced8471e8c4eb78d3",
169
169
  "tier": "template",
170
170
  "overwrite_policy": "merge-3way",
171
171
  "preserve_on_uninstall": false
@@ -179,7 +179,7 @@
179
179
  },
180
180
  {
181
181
  "path": ".cleargate/templates/proposal.md",
182
- "sha256": "e8055dac81ecf94d01fe610e8cdaf4fa73a2f8d9953e4db90b91a20a8c81460d",
182
+ "sha256": "227907f5de028453168c487e9c4ec4d4acd578298d13d658f7a7b63ef76dc23d",
183
183
  "tier": "template",
184
184
  "overwrite_policy": "merge-3way",
185
185
  "preserve_on_uninstall": false
@@ -207,7 +207,7 @@
207
207
  },
208
208
  {
209
209
  "path": ".cleargate/templates/story.md",
210
- "sha256": "f46364178f09d2514405723e53d5e388ab41bce5e2b318dc1aed8743500f042f",
210
+ "sha256": "0817454195b1c3ddb7a2559a0295273082fb621cdfd7a77594414876da28c620",
211
211
  "tier": "template",
212
212
  "overwrite_policy": "merge-3way",
213
213
  "preserve_on_uninstall": false
package/dist/cli.cjs CHANGED
@@ -627,7 +627,7 @@ var import_commander = require("commander");
627
627
  // package.json
628
628
  var package_default = {
629
629
  name: "cleargate",
630
- version: "0.8.0",
630
+ version: "0.8.2",
631
631
  private: false,
632
632
  type: "module",
633
633
  description: "Planning framework for Claude Code agents \u2014 sprint/epic/story protocol, four-agent loop (architect/developer/qa/reporter), Karpathy-style awareness wiki.",
@@ -2052,13 +2052,16 @@ function mergeMcpJson(existing, entry) {
2052
2052
  next.mcpServers = servers;
2053
2053
  return JSON.stringify(next, null, 2) + "\n";
2054
2054
  }
2055
- var STDIO_ENTRY = {
2056
- command: "cleargate",
2057
- args: ["mcp", "serve"]
2058
- };
2059
- function injectMcpJson(cwd, _unusedUrl) {
2055
+ function buildStdioEntry(pinVersion) {
2056
+ return {
2057
+ command: "npx",
2058
+ args: ["-y", `cleargate@${pinVersion}`, "mcp", "serve"]
2059
+ };
2060
+ }
2061
+ var STDIO_ENTRY_DEFAULT = buildStdioEntry("latest");
2062
+ function injectMcpJson(cwd, pinVersion = "latest") {
2060
2063
  const dst = path8.join(cwd, ".mcp.json");
2061
- const entry = STDIO_ENTRY;
2064
+ const entry = buildStdioEntry(pinVersion);
2062
2065
  let existing = null;
2063
2066
  let existingRaw = null;
2064
2067
  if (fs8.existsSync(dst)) {
@@ -3166,7 +3169,7 @@ async function initHandler(opts = {}) {
3166
3169
  `);
3167
3170
  }
3168
3171
  try {
3169
- const action = injectMcpJson(cwd);
3172
+ const action = injectMcpJson(cwd, pinVersion ?? "latest");
3170
3173
  if (action === "created") {
3171
3174
  stdout(
3172
3175
  `[cleargate init] Created .mcp.json (cleargate MCP server registered) \u2014 restart Claude Code to load it.