@codazen/harmonica-mcp 0.25.2 → 0.25.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22602,6 +22602,7 @@ var LIFECYCLE_STATES = [
22602
22602
  "archived",
22603
22603
  "deprecated"
22604
22604
  ];
22605
+ var PR_LIFECYCLE_STATES = ["draft", "open"];
22605
22606
 
22606
22607
  // ../../libs/harmonica-services/src/mcp/tools/beat-version-tools.ts
22607
22608
  function registerBeatVersionTools(server, ctx, client) {
@@ -24937,7 +24938,7 @@ function registerRevisionLifecycleTools(server, ctx, client) {
24937
24938
  "Transition a revision to a new lifecycle state (e.g., concept \u2192 plan, build \u2192 deploy \u2192 support).",
24938
24939
  {
24939
24940
  revisionId: external_exports.string().describe("The revision ID (e.g., rev-abc123)"),
24940
- targetState: external_exports.enum(LIFECYCLE_STATES).describe("The target lifecycle state"),
24941
+ targetState: external_exports.enum([...LIFECYCLE_STATES, ...PR_LIFECYCLE_STATES]).describe("The target lifecycle state"),
24941
24942
  reason: external_exports.string().optional().describe("Why this transition is being made"),
24942
24943
  skipQualityCheck: external_exports.boolean().optional().describe("Skip the quality check guard (for reconciling already-shipped code)"),
24943
24944
  reconcile: external_exports.boolean().optional().describe("Walk through all intermediate forward states automatically. Use for already-shipped work that needs state machine catch-up.")
@@ -27056,7 +27057,7 @@ function loadConfig() {
27056
27057
  };
27057
27058
  }
27058
27059
  async function main() {
27059
- console.error(`[harmonica-mcp] v${"0.25.2"} starting\u2026`);
27060
+ console.error(`[harmonica-mcp] v${"0.25.3"} starting\u2026`);
27060
27061
  const config2 = loadConfig();
27061
27062
  const client = createHttpClient({
27062
27063
  apiBaseUrl: config2.apiBaseUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codazen/harmonica-mcp",
3
- "version": "0.25.2",
3
+ "version": "0.25.3",
4
4
  "description": "MCP server for Harmonica — connect Claude to your Harmonica projects",
5
5
  "license": "MIT",
6
6
  "bin": {