@arcbridge/mcp-server 0.3.0 → 0.3.1
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/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -31,7 +31,9 @@ import {
|
|
|
31
31
|
generateDatabase,
|
|
32
32
|
generateSyncFiles,
|
|
33
33
|
indexProject,
|
|
34
|
-
loadConfig
|
|
34
|
+
loadConfig,
|
|
35
|
+
QualityCategorySchema,
|
|
36
|
+
QUALITY_PRIORITIES_DESCRIPTION
|
|
35
37
|
} from "@arcbridge/core";
|
|
36
38
|
import { getAdapter } from "@arcbridge/adapters";
|
|
37
39
|
function registerInitProject(server, ctx) {
|
|
@@ -44,7 +46,7 @@ function registerInitProject(server, ctx) {
|
|
|
44
46
|
"Project template: nextjs-app-router (Next.js with App Router, SSR/SSG), react-vite (React SPA with Vite, client-only), api-service (Node.js API with Express/Fastify/Hono), dotnet-webapi (ASP.NET Core Web API, C#), unity-game (Unity game project, C#, code-heavy)"
|
|
45
47
|
),
|
|
46
48
|
features: z.array(z.enum(["auth", "database", "api"])).default([]).describe("Features to scaffold"),
|
|
47
|
-
quality_priorities: z.array(
|
|
49
|
+
quality_priorities: z.array(QualityCategorySchema).default(["security", "performance", "accessibility", "maintainability"]).describe(QUALITY_PRIORITIES_DESCRIPTION),
|
|
48
50
|
platforms: z.array(z.string()).default(["claude"]).describe("Target platforms for agent config generation"),
|
|
49
51
|
target_dir: z.string().describe("Absolute path to the target project directory"),
|
|
50
52
|
spec: z.string().optional().describe(
|
|
@@ -568,14 +570,14 @@ function registerGetBuildingBlock(server, ctx) {
|
|
|
568
570
|
|
|
569
571
|
// src/tools/get-quality-scenarios.ts
|
|
570
572
|
import { z as z5 } from "zod";
|
|
571
|
-
import { QualityCategorySchema, QualityPrioritySchema, QualityScenarioStatusSchema } from "@arcbridge/core";
|
|
573
|
+
import { QualityCategorySchema as QualityCategorySchema2, QualityPrioritySchema, QualityScenarioStatusSchema } from "@arcbridge/core";
|
|
572
574
|
function registerGetQualityScenarios(server, ctx) {
|
|
573
575
|
server.tool(
|
|
574
576
|
"arcbridge_get_quality_scenarios",
|
|
575
577
|
"Get quality scenarios, optionally filtered by category. Shows scenario details, linked code/tests, and current status.",
|
|
576
578
|
{
|
|
577
579
|
target_dir: z5.string().describe("Absolute path to the project directory"),
|
|
578
|
-
category:
|
|
580
|
+
category: QualityCategorySchema2.optional().describe("Filter by category"),
|
|
579
581
|
status: QualityScenarioStatusSchema.optional().describe("Filter by status"),
|
|
580
582
|
priority: QualityPrioritySchema.optional().describe("Filter by priority (must/should/could)")
|
|
581
583
|
},
|