@firfi/huly-mcp 0.45.0 → 0.47.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.
Files changed (3) hide show
  1. package/README.md +10 -14
  2. package/dist/index.cjs +163551 -181790
  3. package/package.json +30 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firfi/huly-mcp",
3
- "version": "0.45.0",
3
+ "version": "0.47.0",
4
4
  "description": "Huly MCP: feature-complete MCP server for Huly integration",
5
5
  "mcpName": "io.github.dearlordylord/huly-mcp",
6
6
  "type": "module",
@@ -32,6 +32,9 @@
32
32
  "claude",
33
33
  "llm"
34
34
  ],
35
+ "engines": {
36
+ "node": ">=20"
37
+ },
35
38
  "author": "dearlordylord",
36
39
  "license": "MIT",
37
40
  "dependencies": {
@@ -58,17 +61,18 @@
58
61
  "ws": "^8.18.0"
59
62
  },
60
63
  "lint-staged": {
61
- "*.ts": "eslint --fix"
64
+ "*.ts": [
65
+ "oxlint --fix --deny-warnings",
66
+ "dprint fmt --allow-no-files"
67
+ ]
62
68
  },
63
69
  "devDependencies": {
64
70
  "@changesets/cli": "^2.30.0",
65
71
  "@effect/cli": "^0.73.1",
66
- "@effect/eslint-plugin": "^0.3.2",
67
- "@effect/language-service": "^0.73.1",
68
72
  "@effect/platform": "^0.94.2",
69
73
  "@effect/platform-node": "^0.104.1",
74
+ "@effect/tsgo": "^0.24.3",
70
75
  "@effect/vitest": "latest",
71
- "@eslint/compat": "^2.0.2",
72
76
  "@hcengineering/account-client": "0.7.25",
73
77
  "@hcengineering/activity": "0.7.0",
74
78
  "@hcengineering/analytics": "0.7.3",
@@ -99,52 +103,50 @@
99
103
  "@hcengineering/tracker": "0.7.0",
100
104
  "@hcengineering/ui": "0.7.0",
101
105
  "@hcengineering/view": "0.7.0",
102
- "@modelcontextprotocol/sdk": "^1.29.0",
106
+ "@modelcontextprotocol/client": "^2.0.0",
107
+ "@modelcontextprotocol/core": "^2.0.0",
108
+ "@modelcontextprotocol/server": "^2.0.0",
103
109
  "@total-typescript/ts-reset": "^0.6.1",
104
- "@types/express": "^5.0.6",
105
110
  "@types/node": "^25.1.0",
106
111
  "@types/ws": "^8.18.1",
107
- "@typescript-eslint/parser": "^8.54.0",
112
+ "@typescript/native": "npm:typescript@^7.0.2",
108
113
  "@vitest/coverage-v8": "latest",
109
114
  "ajv": "^8.20.0",
110
115
  "ajv-formats": "^3.0.1",
116
+ "dpdm": "^4.2.0",
117
+ "dprint": "^0.55.2",
111
118
  "effect": "^3.19.15",
112
119
  "esbuild": "^0.27.2",
113
- "eslint": "^9.39.2",
114
- "eslint-import-resolver-typescript": "^4.4.4",
115
- "eslint-plugin-functional": "^9.0.2",
116
- "eslint-plugin-import": "^2.32.0",
117
- "eslint-plugin-import-x": "^4.16.1",
118
- "eslint-plugin-simple-import-sort": "^12.1.1",
119
- "eslint-plugin-sort-destructure-keys": "^2.0.0",
120
120
  "fast-check": "^4.8.0",
121
121
  "husky": "^9.1.7",
122
122
  "jscpd": "^4.0.8",
123
123
  "lint-staged": "^16.2.7",
124
- "madge": "^8.0.0",
124
+ "oxlint": "^1.76.0",
125
+ "oxlint-tsgolint": "^7.0.2001",
125
126
  "posthog-node": "^5.24.11",
126
127
  "tsx": "^4.21.0",
127
- "typescript": "^5.9.3",
128
- "typescript-eslint": "^8.54.0",
128
+ "typescript-compiler-api": "npm:typescript@^5.9.3",
129
129
  "vitest": "latest"
130
130
  },
131
131
  "scripts": {
132
132
  "start": "node dist/index.cjs",
133
133
  "build": "pnpm build:mcp && pnpm build:cli",
134
- "build:mcp": "PKG_VERSION=$(node -p \"require('./package.json').version\") && esbuild src/index.ts --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:ws \"--define:PKG_VERSION=\\\"$PKG_VERSION\\\"\"",
134
+ "build:mcp": "PKG_VERSION=$(node -p \"require('./package.json').version\") && esbuild src/index.ts --bundle --platform=node --format=cjs --log-level=warning --outfile=dist/index.cjs --external:ws \"--define:PKG_VERSION=\\\"$PKG_VERSION\\\"\"",
135
135
  "build:cli": "pnpm --filter @firfi/huly-cli build",
136
- "typecheck": "tsc -p tsconfig.json --noEmit 2>&1 | { grep -E '^(src/|packages/|scripts/|test/)' && exit 1 || exit 0; }",
136
+ "typecheck": "pnpm typecheck:tsc && pnpm typecheck:effect",
137
+ "typecheck:tsc": "node node_modules/@typescript/native/bin/tsc -p tsconfig.json --noEmit 2>&1 | { grep -E '^(src/|packages/|scripts/|test/|tsconfig\\.json)' && exit 1 || exit 0; }",
138
+ "typecheck:effect": "effect-tsgo diagnostics --project tsconfig.json --strict --severity error,warning",
137
139
  "test": "vitest run",
138
140
  "test:coverage": "vitest run --coverage",
139
141
  "test:watch": "vitest",
140
- "lint": "find src packages scripts test -name '*.ts' -print0 | xargs -0 eslint && jscpd src packages/huly-cli/src",
141
- "lint:fix": "find src packages scripts test -name '*.ts' -print0 | xargs -0 eslint --fix",
142
- "format": "find src packages scripts test -name '*.ts' -print0 | xargs -0 eslint --fix --rule '@effect/dprint: error'",
143
- "check-format": "find src packages scripts test -name '*.ts' -print0 | xargs -0 eslint --rule '@effect/dprint: error'",
144
- "check-all": "pnpm build && pnpm typecheck && pnpm verify-schema-boundaries && pnpm circular && pnpm complexity && pnpm verify-registry-metadata && pnpm verify-registry-schema && pnpm verify-cli-integration-coverage && pnpm verify-sdk-parity && pnpm verify-readme && pnpm lint && pnpm test:coverage",
145
- "circular": "madge --extensions ts --circular src packages/huly-cli/src",
146
- "complexity": "eslint . --config eslint.complexity.config.mjs --suppressions-location eslint-complexity-suppressions.json",
147
- "complexity:prune": "eslint . --config eslint.complexity.config.mjs --suppressions-location eslint-complexity-suppressions.json --prune-suppressions",
142
+ "lint": "find src packages scripts test -name '*.ts' -print0 | xargs -0 oxlint --deny-warnings && dprint check && jscpd --silent src packages/huly-cli/src",
143
+ "lint:fix": "find src packages scripts test -name '*.ts' -print0 | xargs -0 oxlint --fix && dprint fmt",
144
+ "format": "dprint fmt",
145
+ "check-format": "dprint check",
146
+ "check-all": "tsx scripts/run-quality-gate.ts",
147
+ "circular": "dpdm --no-warning --no-tree --no-progress --exit-code circular:1 --transform 'src/**/*.ts' 'packages/huly-cli/src/**/*.ts'",
148
+ "complexity": "tsx scripts/check-oxlint-complexity.ts",
149
+ "complexity:prune": "tsx scripts/check-oxlint-complexity.ts --prune",
148
150
  "integration:cli": "bash scripts/integration_test_cli.sh",
149
151
  "local-release": "bash scripts/local_release.sh",
150
152
  "verify-version": "node -e \"const v=require('./package.json').version; const d=require('fs').readFileSync('dist/index.cjs','utf8'); if(!d.includes('\\\"'+v+'\\\"'))throw new Error('dist version mismatch: expected '+v)\"",