mirror of
https://github.com/aaronsb/obsidian-mcp-plugin.git
synced 2026-07-22 06:45:14 +00:00
The worker-thread pool ratified/extended by ADR-104 has never executed a
single request since introduction (v0.5.8b, 22742bd): ConnectionPool's
action-level workerOps gate (tool.vault.search, …) never matched the
operation-level method strings the pool emits (tool.vault, tool.edit, …),
so processWithWorker was unreachable. Independently, the worker built to
dist/workers/workers/semantic-worker.js while WorkerManager loaded
dist/workers/semantic-worker.js — load would have failed anyway.
Verified dead against current main; no CPU-starvation field reports.
Fixing forward was rejected: it would ship an untested concurrency path
that widens the #139 parallel-edit race via a new TOCTOU window for an
unproven perf need (see #197 analysis).
- delete src/workers/semantic-worker.ts, src/utils/worker-manager.ts,
build-worker.js; drop build:worker + the build-worker.js build step
- strip worker wiring from ConnectionPool (retained as a main-thread
bounded queue — the only behaviour that ever ran) and the dead
prepareWorkerContext/workerScript from mcp-server.ts
- ADR-105 records the removal as a partial reversal of ADR-104; ADR-104
stays Accepted (SSE-route deconfliction half, shipped #196, still
governs) with a banner pointing to ADR-105
Behaviour-preserving by construction: the deleted path never ran.
make check green (build + lint 0 errors + 225/225 tests).
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "obsidian-mcp-plugin",
|
|
"version": "0.11.28",
|
|
"description": "Give Claude Desktop and other AI assistants semantic access to your notes through a built-in Model Context Protocol (MCP) server.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "node sync-version.mjs && tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"sync-version": "node sync-version.mjs",
|
|
"version": "node sync-version.mjs && git add manifest.json",
|
|
"test": "node --no-warnings node_modules/.bin/jest",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"plugin",
|
|
"mcp",
|
|
"rest-api",
|
|
"ai",
|
|
"semantic"
|
|
],
|
|
"author": "Aaron Bockelie",
|
|
"license": "MIT",
|
|
"overrides": {
|
|
"yaml": "$yaml"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/minimatch": "^5.1.2",
|
|
"@types/node": "^25.3.0",
|
|
"@typescript-eslint/utils": "^8.56.0",
|
|
"esbuild": "^0.27.3",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-obsidianmd": "^0.3.0",
|
|
"globals": "^17.3.0",
|
|
"jest": "^30.2.0",
|
|
"jiti": "^2.6.1",
|
|
"obsidian": "^1.12.2",
|
|
"ts-jest": "^29.1.1",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.56.0"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node-forge": "^1.3.14",
|
|
"@types/turndown": "^5.0.5",
|
|
"cors": "^2.8.6",
|
|
"express": "^5.2.1",
|
|
"expression-eval": "5.0.1",
|
|
"minimatch": "^10.2.5",
|
|
"node-forge": "^1.4.0",
|
|
"turndown": "^7.2.4",
|
|
"yaml": "2.8.4",
|
|
"zod": "^4.4.3"
|
|
}
|
|
}
|