diff --git a/packages/mcp/package.json b/packages/mcp/package.json index eaa20351..01e97107 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,7 +1,16 @@ { "name": "@snowluma/mcp", "version": "1.9.5", - "description": "MCP server exposing the SnowLuma OneBot action catalog (read-only docs + JSON Schemas) to LLM clients.", + "description": "MCP server exposing the SnowLuma OneBot action catalog (docs + JSON Schemas) and optional execution to LLM clients.", + "repository": { + "type": "git", + "url": "git+https://github.com/SnowLuma/SnowLuma.git", + "directory": "packages/mcp" + }, + "homepage": "https://github.com/SnowLuma/SnowLuma#readme", + "bugs": { + "url": "https://github.com/SnowLuma/SnowLuma/issues" + }, "type": "module", "bin": { "snowluma-mcp": "./dist/server.js" diff --git a/packages/sdk/tests/actions-sync.test.ts b/packages/sdk/tests/actions-sync.test.ts deleted file mode 100644 index 41c79daf..00000000 --- a/packages/sdk/tests/actions-sync.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import fs from 'node:fs'; -import { fileURLToPath } from 'node:url'; -import { describe, expect, it } from 'vitest'; -import { SNOWLUMA_ACTIONS } from '../src'; - -describe('SnowLuma action list', () => { - it('stays in sync with core registerAction calls', () => { - // Actions moved out of @snowluma/core into the dedicated - // @snowluma/onebot package in the RoadMap #3 4-way split. - const actionsDir = fileURLToPath(new URL('../../onebot/src/actions/', import.meta.url)); - const registered = new Set(); - - for (const file of fs.readdirSync(actionsDir)) { - if (!file.endsWith('.ts')) continue; - const source = fs.readFileSync(new URL(file, `file://${actionsDir}/`), 'utf8'); - for (const match of source.matchAll(/registerAction\('([^']+)'/g)) { - registered.add(match[1]!); - } - } - - expect([...SNOWLUMA_ACTIONS].sort()).toEqual([...registered].sort()); - }); -});