@skillsmith/mcp-server 0.4.6 → 0.4.7

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/dist/src/index.js CHANGED
@@ -37,7 +37,7 @@ import { checkForUpdates, formatUpdateNotification } from '@skillsmith/core';
37
37
  import { createLicenseMiddleware } from './middleware/license.js';
38
38
  import { createQuotaMiddleware } from './middleware/quota.js';
39
39
  // Package version - keep in sync with package.json
40
- const PACKAGE_VERSION = '0.4.6';
40
+ const PACKAGE_VERSION = '0.4.7';
41
41
  const PACKAGE_NAME = '@skillsmith/mcp-server';
42
42
  import { installBundledSkills, installUserDocs, getUserGuidePath, } from './onboarding/install-assets.js';
43
43
  // SMI-2679: Quota enforcement middleware — module-level singletons, initialized once
@@ -30,14 +30,14 @@ export declare const recommendInputSchema: z.ZodObject<{
30
30
  detect_overlap: boolean;
31
31
  min_similarity: number;
32
32
  project_context?: string | undefined;
33
- role?: "testing" | "documentation" | "security" | "workflow" | "code-quality" | "development-partner" | undefined;
33
+ role?: "testing" | "documentation" | "security" | "code-quality" | "workflow" | "development-partner" | undefined;
34
34
  }, {
35
35
  installed_skills?: string[] | undefined;
36
- project_context?: string | undefined;
37
36
  limit?: number | undefined;
37
+ project_context?: string | undefined;
38
38
  detect_overlap?: boolean | undefined;
39
39
  min_similarity?: number | undefined;
40
- role?: "testing" | "documentation" | "security" | "workflow" | "code-quality" | "development-partner" | undefined;
40
+ role?: "testing" | "documentation" | "security" | "code-quality" | "workflow" | "development-partner" | undefined;
41
41
  }>;
42
42
  /**
43
43
  * Input type (before parsing, allows optional fields)
@@ -22,21 +22,21 @@ export declare const skillDiffInputSchema: z.ZodObject<{
22
22
  hasLocalModifications: z.ZodDefault<z.ZodBoolean>;
23
23
  trustTier: z.ZodDefault<z.ZodEnum<["verified", "community", "experimental"]>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- trustTier: "verified" | "community" | "experimental";
26
25
  skillId: string;
27
26
  oldContent: string;
28
27
  newContent: string;
29
28
  hasLocalModifications: boolean;
29
+ trustTier: "verified" | "community" | "experimental";
30
30
  oldRiskScore?: number | undefined;
31
31
  newRiskScore?: number | undefined;
32
32
  }, {
33
33
  skillId: string;
34
34
  oldContent: string;
35
35
  newContent: string;
36
- trustTier?: "verified" | "community" | "experimental" | undefined;
37
36
  oldRiskScore?: number | undefined;
38
37
  newRiskScore?: number | undefined;
39
38
  hasLocalModifications?: boolean | undefined;
39
+ trustTier?: "verified" | "community" | "experimental" | undefined;
40
40
  }>;
41
41
  export type SkillDiffInput = z.infer<typeof skillDiffInputSchema>;
42
42
  /** Structured section-level diff response */
@@ -45,20 +45,20 @@ export declare const suggestInputSchema: z.ZodObject<{
45
45
  /** Session identifier (optional, for informational purposes) */
46
46
  session_id: z.ZodDefault<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- installed_skills: string[];
49
- limit: number;
50
48
  project_path: string;
51
49
  recent_commands: string[];
50
+ installed_skills: string[];
51
+ limit: number;
52
52
  session_id: string;
53
53
  current_file?: string | undefined;
54
54
  error_message?: string | undefined;
55
55
  }, {
56
56
  project_path: string;
57
- installed_skills?: string[] | undefined;
58
- limit?: number | undefined;
59
57
  current_file?: string | undefined;
60
58
  recent_commands?: string[] | undefined;
61
59
  error_message?: string | undefined;
60
+ installed_skills?: string[] | undefined;
61
+ limit?: number | undefined;
62
62
  session_id?: string | undefined;
63
63
  }>;
64
64
  /**
@@ -19,8 +19,8 @@ export declare const uninstallInputSchema: z.ZodObject<{
19
19
  skillName: z.ZodString;
20
20
  force: z.ZodDefault<z.ZodBoolean>;
21
21
  }, "strip", z.ZodTypeAny, {
22
- force: boolean;
23
22
  skillName: string;
23
+ force: boolean;
24
24
  }, {
25
25
  skillName: string;
26
26
  force?: boolean | undefined;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Vitest Configuration for Unit Tests
3
+ */
4
+ declare const _default: import("vite").UserConfig;
5
+ export default _default;
6
+ //# sourceMappingURL=vitest.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAUH,wBAgBE"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Vitest Configuration for Unit Tests
3
+ */
4
+ import { defineConfig } from 'vitest/config';
5
+ import { sharedTestConfig, coverageDefaults, coverageThresholds, coverageExcludeDefaults, } from '../../vitest.preset';
6
+ export default defineConfig({
7
+ test: {
8
+ ...sharedTestConfig,
9
+ include: ['tests/**/*.test.ts', 'src/**/*.test.ts', 'src/**/*.spec.ts'],
10
+ exclude: [
11
+ 'tests/integration/**/*.integration.test.ts',
12
+ 'tests/e2e/**',
13
+ ],
14
+ coverage: {
15
+ ...coverageDefaults,
16
+ exclude: [...coverageExcludeDefaults],
17
+ thresholds: {
18
+ ...coverageThresholds,
19
+ },
20
+ },
21
+ },
22
+ });
23
+ //# sourceMappingURL=vitest.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vitest.config.js","sourceRoot":"","sources":["../vitest.config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAE5B,eAAe,YAAY,CAAC;IAC1B,IAAI,EAAE;QACJ,GAAG,gBAAgB;QACnB,OAAO,EAAE,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,CAAC;QACvE,OAAO,EAAE;YACP,4CAA4C;YAC5C,cAAc;SACf;QACD,QAAQ,EAAE;YACR,GAAG,gBAAgB;YACnB,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC;YACrC,UAAU,EAAE;gBACV,GAAG,kBAAkB;aACtB;SACF;KACF;CACF,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillsmith/mcp-server",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "mcpName": "io.github.smith-horn/skillsmith",
5
5
  "description": "MCP server for Skillsmith skill discovery",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@modelcontextprotocol/sdk": "^1.27.1",
25
- "@skillsmith/core": "^0.4.16",
25
+ "@skillsmith/core": "^0.4.17",
26
26
  "esbuild": "0.27.2"
27
27
  },
28
28
  "devDependencies": {
package/server.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://github.com/smith-horn/skillsmith",
9
9
  "source": "github"
10
10
  },
11
- "version": "0.4.6",
11
+ "version": "0.4.7",
12
12
  "_meta": {
13
13
  "io.skillsmith/categories": ["developer-tools", "ai-agents", "skill-management"],
14
14
  "io.skillsmith/keywords": [
@@ -23,7 +23,7 @@
23
23
  {
24
24
  "registryType": "npm",
25
25
  "identifier": "@skillsmith/mcp-server",
26
- "version": "0.4.6",
26
+ "version": "0.4.7",
27
27
  "transport": {
28
28
  "type": "stdio"
29
29
  },