familiar-vtt 2.5.22 → 2.8.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "familiar-vtt",
3
- "version": "2.5.22",
4
- "description": "Your AI co-pilot for Foundry VTT. 185 tools across 24 domains — characters, combat, scenes, canvas, audio, voices, images, and more.",
3
+ "version": "2.8.0",
4
+ "description": "Your AI co-pilot for Foundry VTT. 188 tools across 24 domains — characters, combat, scenes, canvas, audio, voices, images, and more.",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=20"
@@ -18,14 +18,14 @@
18
18
  ".": "./dist/mcp-package/index.mjs"
19
19
  },
20
20
  "scripts": {
21
- "prebuild": "node -e \"const fs=require('fs'),p='dist/module';if(fs.existsSync(p))for(const f of fs.readdirSync(p))fs.unlinkSync(require('path').join(p,f))\"",
21
+ "prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
22
22
  "build": "npm run build:server && npm run build:schemas && npm run build:module",
23
23
  "build:server": "tsc -p tsconfig.server.json",
24
24
  "build:schemas": "tsx scripts/generate-tool-schemas.ts",
25
- "build:module": "esbuild src/module/main.ts --bundle --format=esm --outfile=dist/module/main.js --platform=browser --target=es2022 --loader:.css=text --minify",
25
+ "build:module": "node scripts/build-module.mjs",
26
26
  "build:npm": "npm run build:mcp-package",
27
- "build:mcp-package": "esbuild src/server/index.ts --bundle --platform=node --format=esm --outfile=dist/mcp-package/index.mjs --external:bufferutil --external:utf-8-validate --minify --banner:js=\"#!/usr/bin/env node\" --define:__NPM_BUNDLE__=true",
28
- "prepublishOnly": "npm run build:mcp-package",
27
+ "build:mcp-package": "node scripts/build-mcp-package.mjs",
28
+ "prepublishOnly": "npm run typecheck && npm run lockfile-lint && npm run license-check && npm run build:schemas && npm run build:mcp-package",
29
29
  "deploy": "npm run build && node scripts/deploy.js",
30
30
  "dev": "tsx watch src/server/index.ts",
31
31
  "inspect": "npx @modelcontextprotocol/inspector tsx src/server/index.ts",
@@ -38,21 +38,22 @@
38
38
  "typecheck": "tsc --noEmit -p tsconfig.server.json && tsc --noEmit -p tsconfig.module.json",
39
39
  "scan": "semgrep scan --config .semgrep.yml --config p/owasp-top-ten --config p/nodejs src/",
40
40
  "knip": "knip --include nsExports,nsTypes --treat-config-hints-as-errors",
41
- "license-check": "sh scripts/license-check.sh",
41
+ "license-check": "node scripts/license-check.js",
42
42
  "css-guard": "sh scripts/css-guard.sh",
43
43
  "ts-guard": "sh scripts/ts-guard.sh",
44
- "lockfile-lint": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https --validate-package-names --validate-integrity",
44
+ "lockfile-lint": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https --validate-package-names --validate-integrity --empty-hostname false",
45
45
  "prepare": "husky"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@commitlint/cli": "^20.4.1",
49
49
  "@commitlint/config-conventional": "^20.4.1",
50
50
  "@double-great/stylelint-a11y": "^3.4.7",
51
- "@modelcontextprotocol/sdk": "1.27.1",
51
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
52
+ "@modelcontextprotocol/sdk": "1.29.0",
52
53
  "@orama/orama": "^3.1.18",
53
54
  "@types/node": "^22.15.0",
54
55
  "@types/ws": "^8.18.0",
55
- "esbuild": "^0.27.4",
56
+ "esbuild": "^0.28.0",
56
57
  "eslint": "^10.0.3",
57
58
  "eslint-config-prettier": "^10.1.8",
58
59
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -65,7 +66,7 @@
65
66
  "eslint-plugin-regexp": "^3.0.0",
66
67
  "eslint-plugin-security": "^4.0.0",
67
68
  "eslint-plugin-sonarjs": "^4.0.2",
68
- "eslint-plugin-unicorn": "^63.0.0",
69
+ "eslint-plugin-unicorn": "^64.0.0",
69
70
  "husky": "^9.1.7",
70
71
  "jiti": "^2.6.1",
71
72
  "knip": "^6.0.4",
@@ -83,10 +84,10 @@
83
84
  "stylelint-plugin-defensive-css": "^2.8.0",
84
85
  "stylelint-plugin-use-baseline": "^1.4.1",
85
86
  "tsx": "^4.19.0",
86
- "typescript": "^5.9.3",
87
+ "typescript": "^6.0.2",
87
88
  "typescript-eslint": "^8.57.1",
88
- "ws": "8.20.0",
89
- "zod": "4.3.6"
89
+ "ws": "8.20.1",
90
+ "zod": "4.4.3"
90
91
  },
91
92
  "author": "Ryan Jansen",
92
93
  "repository": {