@togglhq/mcp 1.13.129 → 1.13.131

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-5vzNz4bJ.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-BBfPAY42.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.129";
165
+ const packageVersion = "1.13.131";
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-5vzNz4bJ.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-BBfPAY42.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -34746,6 +34746,7 @@ const TaskMetadataSchema = /* @__PURE__ */ object({
34746
34746
  all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
34747
34747
  calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34748
34748
  calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
34749
+ event_classification: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("EventClassification is the calendar provider's own classification of the event behind this task, normalised by the calendar service — see calmodels.EventClassification for the values. Absent when the provider reported no classification."))),
34749
34750
  extension_source: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Browser-extension provenance: the source/config that produced the task and the page URL it was tracked from. Written by the extension's start-from-description flow; ExtensionURL is queryable via FindByURL."))),
34750
34751
  extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
34751
34752
  external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
@@ -35268,6 +35269,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
35268
35269
  recurring: /* @__PURE__ */ boolean(),
35269
35270
  background_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35270
35271
  end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
35272
+ event_classification: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("EventClassification is the provider's own classification of the event, normalised by the calendar service — see calmodels.EventClassification for the values. \"unknown\" when the provider reported none. omitempty keeps it out of the spec's `required` set: a client that predates the field must not have to know it."))),
35271
35273
  foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35272
35274
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
35273
35275
  response_status: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist([
@@ -44274,6 +44276,12 @@ async function bulkRequestChangesTimesheets(httpClient, organization_id, workspa
44274
44276
  json: data
44275
44277
  }).json();
44276
44278
  }
44279
+ async function bulkSubmitTimesheets(httpClient, organization_id, workspace_id, data, signal) {
44280
+ return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/submit`, {
44281
+ signal,
44282
+ json: data
44283
+ }).json();
44284
+ }
44277
44285
  async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id, data, signal) {
44278
44286
  return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/withdraw`, {
44279
44287
  signal,
@@ -56295,6 +56303,37 @@ const generatedFocusOperations = [
56295
56303
  ]));
56296
56304
  }
56297
56305
  },
56306
+ {
56307
+ id: "focus.timesheets.bulk-submit",
56308
+ family: "focus",
56309
+ resource: "timesheets",
56310
+ action: "bulk-submit",
56311
+ title: "Bulk Submit Timesheets",
56312
+ description: "Bulk Submit Timesheets.",
56313
+ safety: "update",
56314
+ destructive: false,
56315
+ cli: {
56316
+ group: ["timesheets", "bulk"],
56317
+ command: "submit",
56318
+ interactive: "default"
56319
+ },
56320
+ mcp: { entityTool: "timesheets" },
56321
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
56322
+ setup_id: /* @__PURE__ */ number$2(),
56323
+ start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
56324
+ user_account_id: /* @__PURE__ */ number$2()
56325
+ })) }) }),
56326
+ execute: (input, { client }) => {
56327
+ const data = input;
56328
+ return client.runGeneratedRequest("bulkSubmitTimesheets", () => callGeneratedRequest(bulkSubmitTimesheets, [
56329
+ client.httpClient,
56330
+ client.organizationId,
56331
+ client.workspaceIdNumber,
56332
+ data.payload ?? data.data ?? data,
56333
+ void 0
56334
+ ]));
56335
+ }
56336
+ },
56298
56337
  {
56299
56338
  id: "focus.timesheets.bulk-withdraw",
56300
56339
  family: "focus",
@@ -58965,7 +59004,7 @@ function registerWorkspaceTools(server) {
58965
59004
  //#region src/package-version.ts
58966
59005
  function mcpPackageVersion() {
58967
59006
  try {
58968
- return "1.13.129";
59007
+ return "1.13.131";
58969
59008
  } catch {
58970
59009
  return "unknown";
58971
59010
  }
@@ -59146,7 +59185,7 @@ import_main.default.config({
59146
59185
  quiet: true,
59147
59186
  ignore: ["MISSING_ENV_FILE"]
59148
59187
  });
59149
- const packageVersion = "1.13.129";
59188
+ const packageVersion = "1.13.131";
59150
59189
  const MCP_CACHE_TTL_MS = 300 * 1e3;
59151
59190
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
59152
59191
  function resolvePublicUrls() {
@@ -59266,4 +59305,4 @@ function bootstrapServer(options = {}) {
59266
59305
  //#endregion
59267
59306
  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 };
59268
59307
 
59269
- //# sourceMappingURL=src-5vzNz4bJ.js.map
59308
+ //# sourceMappingURL=src-BBfPAY42.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.129",
3
+ "version": "1.13.131",
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",