@daghis/teamcity-mcp 2.0.2 → 2.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.4](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.0.3...teamcity-mcp-v2.0.4) (2026-01-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * update MCP registry schema to 2025-12-11 ([#346](https://github.com/Daghis/teamcity-mcp/issues/346)) ([4eaec92](https://github.com/Daghis/teamcity-mcp/commit/4eaec92843b47005ad773b00837fd1a021c1cffa))
9
+
10
+ ## [2.0.3](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.0.2...teamcity-mcp-v2.0.3) (2026-01-05)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * add type parameter to manage_agent_requirements ([#338](https://github.com/Daghis/teamcity-mcp/issues/338)) ([#343](https://github.com/Daghis/teamcity-mcp/issues/343)) ([5545257](https://github.com/Daghis/teamcity-mcp/commit/5545257823f442cf27e9313f11f1dd0b71115af3))
16
+
3
17
  ## [2.0.2](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.0.1...teamcity-mcp-v2.0.2) (2026-01-05)
4
18
 
5
19
 
package/dist/index.js CHANGED
@@ -1195,7 +1195,7 @@ function debug2(message, meta) {
1195
1195
  // package.json
1196
1196
  var package_default = {
1197
1197
  name: "@daghis/teamcity-mcp",
1198
- version: "2.0.2",
1198
+ version: "2.0.4",
1199
1199
  description: "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
1200
1200
  mcpName: "io.github.Daghis/teamcity",
1201
1201
  main: "dist/index.js",
@@ -1487,6 +1487,7 @@ var AgentRequirementsManager = class {
1487
1487
  const mergedProps = mergeRecords(baseProps, toStringRecord(input.properties));
1488
1488
  const payload = {
1489
1489
  ...existing ?? {},
1490
+ type: input.type ?? existing?.type,
1490
1491
  disabled: input.disabled ?? existing?.disabled
1491
1492
  };
1492
1493
  const properties = recordToProperties(mergedProps);
@@ -42339,9 +42340,33 @@ var FULL_MODE_TOOLS = [
42339
42340
  type: "string",
42340
42341
  description: "Requirement ID (required for update/delete)"
42341
42342
  },
42343
+ type: {
42344
+ type: "string",
42345
+ enum: [
42346
+ "exists",
42347
+ "not-exists",
42348
+ "equals",
42349
+ "does-not-equal",
42350
+ "more-than",
42351
+ "less-than",
42352
+ "no-more-than",
42353
+ "no-less-than",
42354
+ "ver-more-than",
42355
+ "ver-less-than",
42356
+ "ver-no-more-than",
42357
+ "ver-no-less-than",
42358
+ "contains",
42359
+ "does-not-contain",
42360
+ "starts-with",
42361
+ "ends-with",
42362
+ "matches",
42363
+ "does-not-match"
42364
+ ],
42365
+ description: "Requirement type (e.g., exists, equals, contains, starts-with, matches)"
42366
+ },
42342
42367
  properties: {
42343
42368
  type: "object",
42344
- description: "Requirement properties (e.g. property-name, condition, value)"
42369
+ description: "Requirement properties (e.g. property-name, property-value)"
42345
42370
  },
42346
42371
  disabled: { type: "boolean", description: "Disable or enable the requirement" }
42347
42372
  },
@@ -42349,10 +42374,31 @@ var FULL_MODE_TOOLS = [
42349
42374
  },
42350
42375
  handler: async (args) => {
42351
42376
  const propertyValue = import_zod4.z.union([import_zod4.z.string(), import_zod4.z.number(), import_zod4.z.boolean()]);
42377
+ const requirementTypes = [
42378
+ "exists",
42379
+ "not-exists",
42380
+ "equals",
42381
+ "does-not-equal",
42382
+ "more-than",
42383
+ "less-than",
42384
+ "no-more-than",
42385
+ "no-less-than",
42386
+ "ver-more-than",
42387
+ "ver-less-than",
42388
+ "ver-no-more-than",
42389
+ "ver-no-less-than",
42390
+ "contains",
42391
+ "does-not-contain",
42392
+ "starts-with",
42393
+ "ends-with",
42394
+ "matches",
42395
+ "does-not-match"
42396
+ ];
42352
42397
  const schema = import_zod4.z.object({
42353
42398
  buildTypeId: import_zod4.z.string().min(1),
42354
42399
  action: import_zod4.z.enum(["add", "update", "delete"]),
42355
42400
  requirementId: import_zod4.z.string().min(1).optional(),
42401
+ type: import_zod4.z.enum(requirementTypes).optional(),
42356
42402
  properties: import_zod4.z.record(import_zod4.z.string(), propertyValue).optional(),
42357
42403
  disabled: import_zod4.z.boolean().optional()
42358
42404
  }).superRefine((value, ctx) => {
@@ -42374,6 +42420,7 @@ var FULL_MODE_TOOLS = [
42374
42420
  case "add": {
42375
42421
  const result = await manager.addRequirement({
42376
42422
  buildTypeId: typed.buildTypeId,
42423
+ type: typed.type,
42377
42424
  properties: typed.properties,
42378
42425
  disabled: typed.disabled
42379
42426
  });
@@ -42388,6 +42435,7 @@ var FULL_MODE_TOOLS = [
42388
42435
  case "update": {
42389
42436
  const result = await manager.updateRequirement(typed.requirementId, {
42390
42437
  buildTypeId: typed.buildTypeId,
42438
+ type: typed.type,
42391
42439
  properties: typed.properties,
42392
42440
  disabled: typed.disabled
42393
42441
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daghis/teamcity-mcp",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
5
5
  "mcpName": "io.github.Daghis/teamcity",
6
6
  "main": "dist/index.js",
package/server.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.Daghis/teamcity",
4
4
  "description": "MCP server exposing JetBrains TeamCity CI/CD workflows to AI coding assistants",
5
5
  "repository": {
@@ -7,13 +7,13 @@
7
7
  "source": "github"
8
8
  },
9
9
  "websiteUrl": "https://github.com/Daghis/teamcity-mcp",
10
- "version": "2.0.2",
10
+ "version": "2.0.4",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "registryBaseUrl": "https://registry.npmjs.org",
15
15
  "identifier": "@daghis/teamcity-mcp",
16
- "version": "2.0.2",
16
+ "version": "2.0.4",
17
17
  "runtimeHint": "npx",
18
18
  "runtimeArguments": [
19
19
  {