herdr-link 0.4.0 → 0.4.1

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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.4.1] - 2026-09-07
9
+
10
+ ### Fixed
11
+
12
+ - Fixed MCP `serverInfo.version` to report the package version.
13
+ - Added a package/MCP version consistency regression guard.
14
+
8
15
  ## [0.4.0] - 2026-09-06
9
16
 
10
17
  ### Added
@@ -613,7 +613,7 @@ async function closeAgentPane(agentName) {
613
613
 
614
614
  // src/mcp.ts
615
615
  var MCP_SERVER_NAME = "herdr-link";
616
- var MCP_SERVER_VERSION = "0.2.1";
616
+ var MCP_SERVER_VERSION = "0.4.1";
617
617
  var MCP_PROTOCOL_VERSION = "2025-06-18";
618
618
  var TOOLS_LIST_CHANGED = "notifications/tools/list_changed";
619
619
  var PARSE_ERROR = -32700;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "herdr-link",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "pi": {
5
5
  "extensions": [
6
6
  "./src/pi.ts"
@@ -41,7 +41,8 @@
41
41
  "typecheck": "tsc --noEmit",
42
42
  "test": "node --experimental-strip-types --test test/*.test.ts",
43
43
  "build:opencode": "esbuild src/opencode.ts --bundle --format=esm --platform=node --external:@opencode-ai/plugin --outfile=dist/herdr-link.opencode.js",
44
- "build:mcp": "esbuild src/mcp.ts --bundle --format=esm --platform=node --target=node22 --banner:js='#!/usr/bin/env node' --outfile=dist/herdr-link.mcp.js"
44
+ "build:mcp": "esbuild src/mcp.ts --bundle --format=esm --platform=node --target=node22 --banner:js='#!/usr/bin/env node' --outfile=dist/herdr-link.mcp.js",
45
+ "check:mcp-bundle": "node scripts/check-mcp-bundle.mjs"
45
46
  },
46
47
  "peerDependencies": {
47
48
  "@earendil-works/pi-coding-agent": "*",
package/src/mcp.ts CHANGED
@@ -39,7 +39,7 @@ import {
39
39
 
40
40
  export const MCP_SERVER_NAME = "herdr-link";
41
41
  /** Keep in sync with package.json "version" (serverInfo is informational). */
42
- export const MCP_SERVER_VERSION = "0.2.1";
42
+ export const MCP_SERVER_VERSION = "0.4.1";
43
43
  /** Fallback protocol version advertised when the client sends none. */
44
44
  export const MCP_PROTOCOL_VERSION = "2025-06-18";
45
45