@iris-eval/mcp-server 0.1.4 → 0.1.5

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,16 @@
1
1
  import { join } from 'node:path';
2
+ import { readFileSync } from 'node:fs';
2
3
  import { homedir } from 'node:os';
3
4
  const irisHome = join(homedir(), '.iris');
5
+ // Read version from package.json to avoid hardcoded drift
6
+ let pkgVersion = '0.1.4';
7
+ try {
8
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf8'));
9
+ pkgVersion = pkg.version;
10
+ }
11
+ catch {
12
+ // Fallback if package.json isn't resolvable at runtime
13
+ }
4
14
  export const defaultConfig = {
5
15
  storage: {
6
16
  type: 'sqlite',
@@ -8,7 +18,7 @@ export const defaultConfig = {
8
18
  },
9
19
  server: {
10
20
  name: 'iris-eval',
11
- version: '0.1.0',
21
+ version: pkgVersion,
12
22
  },
13
23
  transport: {
14
24
  type: 'stdio',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iris-eval/mcp-server",
3
- "version": "0.1.4",
4
- "description": "The agent eval standard for MCP score output quality, catch safety failures, enforce cost budgets",
3
+ "version": "0.1.5",
4
+ "description": "The agent eval standard for MCP. Score every agent output for quality, safety, and cost.",
5
5
  "mcpName": "io.github.iris-eval/mcp-server",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
package/server.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.iris-eval/mcp-server",
4
- "description": "MCP-native agent evaluation and observability server for AI agents",
4
+ "description": "The agent eval standard for MCP. Score every agent output for quality, safety, and cost.",
5
5
  "repository": {
6
6
  "url": "https://github.com/iris-eval/mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.4",
9
+ "version": "0.1.5",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@iris-eval/mcp-server",
14
- "version": "0.1.3",
14
+ "version": "0.1.5",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },