@togglhq/mcp 1.13.307 → 1.13.309

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/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-CnKhQaJO.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-BRnoTZNc.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
162
162
  }
163
163
  //#endregion
164
164
  //#region src/cli.ts
165
- const packageVersion = "1.13.307";
165
+ const packageVersion = "1.13.309";
166
166
  let sentryEnabled = false;
167
167
  let productAnalyticsEnabled = false;
168
168
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CnKhQaJO.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-BRnoTZNc.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -43185,6 +43185,9 @@ async function runAiView(httpClient, organization_id, workspace_id, data, produc
43185
43185
  }
43186
43186
  //#endregion
43187
43187
  //#region ../focus-queries/dist/archival/requests.ts
43188
+ async function getItemArchivalStatus(httpClient, organization_id, workspace_id, entity_kind, entity_id, signal) {
43189
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/status/${entity_kind}/${entity_id}`, { signal })).json();
43190
+ }
43188
43191
  async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page } = {}, signal) {
43189
43192
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming`, {
43190
43193
  signal,
@@ -46329,7 +46332,21 @@ const generatedFocusOperations = [
46329
46332
  "mcp",
46330
46333
  "cli"
46331
46334
  ])),
46332
- suggestion_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
46335
+ suggestion_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
46336
+ tagged: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
46337
+ id: /* @__PURE__ */ number$2(),
46338
+ kind: /* @__PURE__ */ picklist$1([
46339
+ "project",
46340
+ "task",
46341
+ "client",
46342
+ "tag",
46343
+ "member",
46344
+ "team",
46345
+ "status",
46346
+ "time_entry"
46347
+ ]),
46348
+ name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
46349
+ })))
46333
46350
  }),
46334
46351
  product: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["track"]))
46335
46352
  }),
@@ -46548,6 +46565,42 @@ const generatedFocusOperations = [
46548
46565
  return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
46549
46566
  }
46550
46567
  },
46568
+ {
46569
+ id: "focus.archival.get-item-archival-status",
46570
+ family: "focus",
46571
+ resource: "archival",
46572
+ action: "get-item-archival-status",
46573
+ title: "Get Item Archival Status Archival",
46574
+ description: "Get Item Archival Status Archival.",
46575
+ safety: "read",
46576
+ destructive: false,
46577
+ cli: {
46578
+ group: ["archival"],
46579
+ command: "get-item-archival-status",
46580
+ interactive: "available"
46581
+ },
46582
+ mcp: { entityTool: "archival" },
46583
+ inputSchema: /* @__PURE__ */ looseObject({
46584
+ entity_id: /* @__PURE__ */ number$2(),
46585
+ entity_kind: /* @__PURE__ */ picklist$1([
46586
+ "client",
46587
+ "project",
46588
+ "task",
46589
+ "time_entry"
46590
+ ])
46591
+ }),
46592
+ execute: (input, { client }) => {
46593
+ const data = input;
46594
+ return client.runGeneratedRequest("getItemArchivalStatus", () => callGeneratedRequest(getItemArchivalStatus, [
46595
+ client.httpClient,
46596
+ client.organizationId,
46597
+ client.workspaceIdNumber,
46598
+ data.entity_kind,
46599
+ data.entity_id,
46600
+ void 0
46601
+ ]));
46602
+ }
46603
+ },
46551
46604
  {
46552
46605
  id: "focus.archival.get-upcoming-archival-groups",
46553
46606
  family: "focus",
@@ -61646,7 +61699,7 @@ function registerWorkspaceTools(server) {
61646
61699
  //#region src/package-version.ts
61647
61700
  function mcpPackageVersion() {
61648
61701
  try {
61649
- return "1.13.307";
61702
+ return "1.13.309";
61650
61703
  } catch {
61651
61704
  return "unknown";
61652
61705
  }
@@ -61828,7 +61881,7 @@ import_main.default.config({
61828
61881
  quiet: true,
61829
61882
  ignore: ["MISSING_ENV_FILE"]
61830
61883
  });
61831
- const packageVersion = "1.13.307";
61884
+ const packageVersion = "1.13.309";
61832
61885
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61833
61886
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61834
61887
  function resolvePublicUrls() {
@@ -61948,4 +62001,4 @@ function bootstrapServer(options = {}) {
61948
62001
  //#endregion
61949
62002
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
61950
62003
 
61951
- //# sourceMappingURL=src-CnKhQaJO.js.map
62004
+ //# sourceMappingURL=src-BRnoTZNc.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.307",
3
+ "version": "1.13.309",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",