@shortcut/mcp 0.8.3 → 0.8.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21669,7 +21669,7 @@ var import_client = __toESM(require_lib(), 1);
21669
21669
 
21670
21670
  // package.json
21671
21671
  var name = "@shortcut/mcp";
21672
- var version = "0.8.3";
21672
+ var version = "0.8.4";
21673
21673
 
21674
21674
  // src/tools/base.ts
21675
21675
  class BaseTools {
@@ -21810,7 +21810,7 @@ class BaseTools {
21810
21810
  const relatedEntitiesForTeams = await Promise.all(Array.from(teams.values()).map((team) => this.getRelatedEntitiesForTeam(team)));
21811
21811
  const { users, workflows } = this.mergeRelatedEntities(relatedEntitiesForTeams);
21812
21812
  return {
21813
- teams: Object.fromEntries(teams.entries().map(([id, team]) => [id, this.getSimplifiedTeam(team)]).filter(([_, team]) => !!team)),
21813
+ teams: Object.fromEntries([...teams.entries()].map(([id, team]) => [id, this.getSimplifiedTeam(team)]).filter(([_, team]) => !!team)),
21814
21814
  users,
21815
21815
  workflows
21816
21816
  };
@@ -21822,7 +21822,7 @@ class BaseTools {
21822
21822
  const usersForEpicMap = await this.client.getUserMap([
21823
21823
  ...new Set([...owner_ids || [], requested_by_id, ...follower_ids || []].filter(Boolean))
21824
21824
  ]);
21825
- const usersForEpic = Object.fromEntries(usersForEpicMap.entries().filter(([_, user]) => !!user).map(([id, user]) => [id, this.getSimplifiedMember(user)]));
21825
+ const usersForEpic = Object.fromEntries([...usersForEpicMap.entries()].filter(([_, user]) => !!user).map(([id, user]) => [id, this.getSimplifiedMember(user)]));
21826
21826
  const teams = await this.client.getTeamMap(group_id ? [group_id] : []);
21827
21827
  const team = this.getSimplifiedTeam(teams.get(group_id || ""));
21828
21828
  const { users, workflows } = await this.getRelatedEntitiesForTeam(teams.get(group_id || ""));
@@ -21847,7 +21847,7 @@ class BaseTools {
21847
21847
  const fullUsersForStory = await this.client.getUserMap([
21848
21848
  ...new Set([...owner_ids || [], requested_by_id, ...follower_ids || []].filter(Boolean))
21849
21849
  ]);
21850
- const usersForStory = Object.fromEntries(fullUsersForStory.entries().filter(([_, user]) => !!user).map(([id, user]) => [id, this.getSimplifiedMember(user)]));
21850
+ const usersForStory = Object.fromEntries([...fullUsersForStory.entries()].filter(([_, user]) => !!user).map(([id, user]) => [id, this.getSimplifiedMember(user)]));
21851
21851
  const teamsForStory = await this.client.getTeamMap(group_id ? [group_id] : []);
21852
21852
  const workflowsForStory = await this.client.getWorkflowMap(workflow_id ? [workflow_id] : []);
21853
21853
  const iteration = iteration_id ? await this.client.getIteration(iteration_id) : null;
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "modelcontextprotocol"
13
13
  ],
14
14
  "license": "MIT",
15
- "version": "0.8.3",
15
+ "version": "0.8.4",
16
16
  "type": "module",
17
17
  "main": "dist/index.js",
18
18
  "bin": {