@togglhq/mcp 1.13.116 → 1.13.117

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-Cm8O6UvT.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-CNI-_xiq.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.116";
165
+ const packageVersion = "1.13.117";
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-Cm8O6UvT.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CNI-_xiq.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -42628,6 +42628,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
42628
42628
  async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
42629
42629
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
42630
42630
  }
42631
+ async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
42632
+ return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, { signal }).json();
42633
+ }
42631
42634
  async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
42632
42635
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
42633
42636
  }
@@ -44378,6 +44381,39 @@ function callGeneratedRequest(request, args) {
44378
44381
  return request(...args);
44379
44382
  }
44380
44383
  const generatedFocusOperations = [
44384
+ {
44385
+ id: "focus.ai.accept-ai-change",
44386
+ family: "focus",
44387
+ resource: "ai",
44388
+ action: "accept-ai-change",
44389
+ title: "Accept Ai Change Ai",
44390
+ description: "Accept Ai Change Ai.",
44391
+ safety: "update",
44392
+ destructive: false,
44393
+ cli: {
44394
+ group: ["ai"],
44395
+ command: "accept-ai-change",
44396
+ interactive: "default"
44397
+ },
44398
+ mcp: { entityTool: "ai" },
44399
+ inputSchema: /* @__PURE__ */ looseObject({
44400
+ conversation_id: /* @__PURE__ */ string$1(),
44401
+ message_id: /* @__PURE__ */ number$2(),
44402
+ view_id: /* @__PURE__ */ string$1()
44403
+ }),
44404
+ execute: (input, { client }) => {
44405
+ const data = input;
44406
+ return client.runGeneratedRequest("acceptAiChange", () => callGeneratedRequest(acceptAiChange, [
44407
+ client.httpClient,
44408
+ client.organizationId,
44409
+ client.workspaceIdNumber,
44410
+ data.conversation_id,
44411
+ data.message_id,
44412
+ data.view_id,
44413
+ void 0
44414
+ ]));
44415
+ }
44416
+ },
44381
44417
  {
44382
44418
  id: "focus.ai.apply-ai-change",
44383
44419
  family: "focus",
@@ -58407,7 +58443,7 @@ function registerWorkspaceTools(server) {
58407
58443
  //#region src/package-version.ts
58408
58444
  function mcpPackageVersion() {
58409
58445
  try {
58410
- return "1.13.116";
58446
+ return "1.13.117";
58411
58447
  } catch {
58412
58448
  return "unknown";
58413
58449
  }
@@ -58588,7 +58624,7 @@ import_main.default.config({
58588
58624
  quiet: true,
58589
58625
  ignore: ["MISSING_ENV_FILE"]
58590
58626
  });
58591
- const packageVersion = "1.13.116";
58627
+ const packageVersion = "1.13.117";
58592
58628
  const MCP_CACHE_TTL_MS = 300 * 1e3;
58593
58629
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
58594
58630
  function resolvePublicUrls() {
@@ -58708,4 +58744,4 @@ function bootstrapServer(options = {}) {
58708
58744
  //#endregion
58709
58745
  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 };
58710
58746
 
58711
- //# sourceMappingURL=src-Cm8O6UvT.js.map
58747
+ //# sourceMappingURL=src-CNI-_xiq.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.116",
3
+ "version": "1.13.117",
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",