@myspec/mcp-server 0.1.1-next.19 → 0.1.1-next.20

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 +8 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1476,6 +1476,14 @@ var HttpFileClient = class {
1476
1476
  {}
1477
1477
  );
1478
1478
  }
1479
+ async deleteRevision(fileId, revisionNumber, jwtToken) {
1480
+ const response = await this.httpClient.delete(
1481
+ `/project/v1/files/${fileId}/revisions/${revisionNumber}`,
1482
+ jwtToken,
1483
+ {}
1484
+ );
1485
+ return { reverted: response.reverted };
1486
+ }
1479
1487
  async listRevisions(fileId, jwtToken) {
1480
1488
  const response = await this.httpClient.get(
1481
1489
  `/project/v1/files/${fileId}/revisions`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myspec/mcp-server",
3
- "version": "0.1.1-next.19",
3
+ "version": "0.1.1-next.20",
4
4
  "description": "MySpec MCP server — exposes MySpec platform projects, files and attachments to MCP-aware clients via OAuth-authenticated access tokens.",
5
5
  "type": "module",
6
6
  "repository": {