@daghis/teamcity-mcp 2.0.1 → 2.0.2
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 +7 -0
- package/dist/index.js +22 -13
- package/package.json +1 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.2](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.0.1...teamcity-mcp-v2.0.2) (2026-01-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* resolve HTTP 406 when updating build configuration fields ([#339](https://github.com/Daghis/teamcity-mcp/issues/339)) ([#341](https://github.com/Daghis/teamcity-mcp/issues/341)) ([16b1dd2](https://github.com/Daghis/teamcity-mcp/commit/16b1dd207978d63ad9824c9b7eecbbd4a9badc94))
|
|
9
|
+
|
|
3
10
|
## [2.0.1](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.0.0...teamcity-mcp-v2.0.1) (2025-12-23)
|
|
4
11
|
|
|
5
12
|
|
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.
|
|
1198
|
+
version: "2.0.2",
|
|
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",
|
|
@@ -2338,7 +2338,7 @@ var setArtifactRulesWithFallback = async (http, buildTypeId, artifactRules) => {
|
|
|
2338
2338
|
const encodedId = encodeURIComponent(buildTypeId);
|
|
2339
2339
|
try {
|
|
2340
2340
|
await http.put(`/app/rest/buildTypes/${encodedId}/settings/artifactRules`, artifactRules, {
|
|
2341
|
-
headers: { "Content-Type": "text/plain" }
|
|
2341
|
+
headers: { "Content-Type": "text/plain", Accept: "text/plain" }
|
|
2342
2342
|
});
|
|
2343
2343
|
} catch (err) {
|
|
2344
2344
|
if (!isArtifactRulesRetryableError(err)) {
|
|
@@ -2351,7 +2351,7 @@ var setArtifactRulesWithFallback = async (http, buildTypeId, artifactRules) => {
|
|
|
2351
2351
|
});
|
|
2352
2352
|
try {
|
|
2353
2353
|
await http.put(`/app/rest/buildTypes/${encodedId}/artifactRules`, artifactRules, {
|
|
2354
|
-
headers: { "Content-Type": "text/plain" }
|
|
2354
|
+
headers: { "Content-Type": "text/plain", Accept: "text/plain" }
|
|
2355
2355
|
});
|
|
2356
2356
|
} catch (fallbackError) {
|
|
2357
2357
|
debug2("Legacy artifact rules update failed", {
|
|
@@ -2558,14 +2558,16 @@ var BuildConfigurationUpdateManager = class {
|
|
|
2558
2558
|
await this.client.modules.buildTypes.setBuildTypeField(
|
|
2559
2559
|
currentConfig.id,
|
|
2560
2560
|
"name",
|
|
2561
|
-
updates.name
|
|
2561
|
+
updates.name,
|
|
2562
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
2562
2563
|
);
|
|
2563
2564
|
}
|
|
2564
2565
|
if (updates.description !== void 0) {
|
|
2565
2566
|
await this.client.modules.buildTypes.setBuildTypeField(
|
|
2566
2567
|
currentConfig.id,
|
|
2567
2568
|
"description",
|
|
2568
|
-
updates.description ?? ""
|
|
2569
|
+
updates.description ?? "",
|
|
2570
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
2569
2571
|
);
|
|
2570
2572
|
}
|
|
2571
2573
|
}
|
|
@@ -2578,7 +2580,8 @@ var BuildConfigurationUpdateManager = class {
|
|
|
2578
2580
|
await this.client.modules.buildTypes.setBuildTypeField(
|
|
2579
2581
|
currentConfig.id,
|
|
2580
2582
|
`settings/${setting.name}`,
|
|
2581
|
-
setting.value
|
|
2583
|
+
setting.value,
|
|
2584
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
2582
2585
|
);
|
|
2583
2586
|
}
|
|
2584
2587
|
}
|
|
@@ -2599,7 +2602,8 @@ var BuildConfigurationUpdateManager = class {
|
|
|
2599
2602
|
await this.client.modules.buildTypes.setBuildTypeField(
|
|
2600
2603
|
currentConfig.id,
|
|
2601
2604
|
`parameters/${name}`,
|
|
2602
|
-
value
|
|
2605
|
+
value,
|
|
2606
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
2603
2607
|
);
|
|
2604
2608
|
}
|
|
2605
2609
|
}
|
|
@@ -42012,14 +42016,16 @@ var FULL_MODE_TOOLS = [
|
|
|
42012
42016
|
await adapter.modules.buildTypes.setBuildTypeField(
|
|
42013
42017
|
typedArgs.buildTypeId,
|
|
42014
42018
|
"name",
|
|
42015
|
-
typedArgs.name
|
|
42019
|
+
typedArgs.name,
|
|
42020
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
42016
42021
|
);
|
|
42017
42022
|
}
|
|
42018
42023
|
if (typedArgs.description !== void 0) {
|
|
42019
42024
|
await adapter.modules.buildTypes.setBuildTypeField(
|
|
42020
42025
|
typedArgs.buildTypeId,
|
|
42021
42026
|
"description",
|
|
42022
|
-
typedArgs.description
|
|
42027
|
+
typedArgs.description,
|
|
42028
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
42023
42029
|
);
|
|
42024
42030
|
}
|
|
42025
42031
|
if (typedArgs.artifactRules !== void 0) {
|
|
@@ -42035,14 +42041,16 @@ var FULL_MODE_TOOLS = [
|
|
|
42035
42041
|
await adapter.modules.buildTypes.setBuildTypeField(
|
|
42036
42042
|
typedArgs.buildTypeId,
|
|
42037
42043
|
"name",
|
|
42038
|
-
typedArgs.name
|
|
42044
|
+
typedArgs.name,
|
|
42045
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
42039
42046
|
);
|
|
42040
42047
|
}
|
|
42041
42048
|
if (typedArgs.description !== void 0) {
|
|
42042
42049
|
await adapter.modules.buildTypes.setBuildTypeField(
|
|
42043
42050
|
typedArgs.buildTypeId,
|
|
42044
42051
|
"description",
|
|
42045
|
-
typedArgs.description
|
|
42052
|
+
typedArgs.description,
|
|
42053
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
42046
42054
|
);
|
|
42047
42055
|
}
|
|
42048
42056
|
if (typedArgs.artifactRules !== void 0) {
|
|
@@ -42057,7 +42065,8 @@ var FULL_MODE_TOOLS = [
|
|
|
42057
42065
|
await adapter.modules.buildTypes.setBuildTypeField(
|
|
42058
42066
|
typedArgs.buildTypeId,
|
|
42059
42067
|
"paused",
|
|
42060
|
-
String(typedArgs.paused)
|
|
42068
|
+
String(typedArgs.paused),
|
|
42069
|
+
{ headers: { "Content-Type": "text/plain", Accept: "text/plain" } }
|
|
42061
42070
|
);
|
|
42062
42071
|
}
|
|
42063
42072
|
return json({ success: true, action: "update_build_config", id: typedArgs.buildTypeId });
|
|
@@ -42441,7 +42450,7 @@ var FULL_MODE_TOOLS = [
|
|
|
42441
42450
|
{
|
|
42442
42451
|
headers: {
|
|
42443
42452
|
"Content-Type": "text/plain",
|
|
42444
|
-
Accept: "
|
|
42453
|
+
Accept: "text/plain"
|
|
42445
42454
|
}
|
|
42446
42455
|
}
|
|
42447
42456
|
);
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
9
|
"websiteUrl": "https://github.com/Daghis/teamcity-mcp",
|
|
10
|
-
"version": "2.0.
|
|
10
|
+
"version": "2.0.2",
|
|
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.
|
|
16
|
+
"version": "2.0.2",
|
|
17
17
|
"runtimeHint": "npx",
|
|
18
18
|
"runtimeArguments": [
|
|
19
19
|
{
|