@daghis/teamcity-mcp 1.0.5 → 1.0.6

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.6](https://github.com/Daghis/teamcity-mcp/compare/v1.0.5...v1.0.6) (2025-09-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * authorize_agent uses authorizedInfo JSON endpoint (TeamCity 2025.07 compatibility) ([#83](https://github.com/Daghis/teamcity-mcp/issues/83)) ([198fd02](https://github.com/Daghis/teamcity-mcp/commit/198fd02ca8b6e89d83f87a1a94aafeadda593504)), closes [#78](https://github.com/Daghis/teamcity-mcp/issues/78)
9
+
3
10
  ## [1.0.5](https://github.com/Daghis/teamcity-mcp/compare/v1.0.4...v1.0.5) (2025-09-14)
4
11
 
5
12
 
package/dist/index.js CHANGED
@@ -26898,10 +26898,11 @@ var FULL_MODE_TOOLS = [
26898
26898
  handler: async (args) => {
26899
26899
  const typedArgs = args;
26900
26900
  const api = TeamCityAPI.getInstance();
26901
- await api.agents.setAgentField(
26901
+ await api.agents.setAuthorizedInfo(
26902
26902
  typedArgs.agentId,
26903
- "authorized",
26904
- typedArgs.authorize ? "true" : "false"
26903
+ void 0,
26904
+ { status: Boolean(typedArgs.authorize) },
26905
+ { headers: { "Content-Type": "application/json", Accept: "application/json" } }
26905
26906
  );
26906
26907
  return json({
26907
26908
  success: true,