@togglhq/mcp 1.13.115 → 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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-C9uDAXOo.js → src-CNI-_xiq.js} +40 -3
- package/package.json +1 -1
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-
|
|
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.
|
|
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-
|
|
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 };
|
|
@@ -35270,6 +35270,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35270
35270
|
end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35271
35271
|
foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35272
35272
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35273
|
+
series_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35273
35274
|
start_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35274
35275
|
title: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
35275
35276
|
}))),
|
|
@@ -42627,6 +42628,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
42627
42628
|
async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
|
|
42628
42629
|
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
|
|
42629
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
|
+
}
|
|
42630
42634
|
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
42631
42635
|
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
|
|
42632
42636
|
}
|
|
@@ -44377,6 +44381,39 @@ function callGeneratedRequest(request, args) {
|
|
|
44377
44381
|
return request(...args);
|
|
44378
44382
|
}
|
|
44379
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
|
+
},
|
|
44380
44417
|
{
|
|
44381
44418
|
id: "focus.ai.apply-ai-change",
|
|
44382
44419
|
family: "focus",
|
|
@@ -58406,7 +58443,7 @@ function registerWorkspaceTools(server) {
|
|
|
58406
58443
|
//#region src/package-version.ts
|
|
58407
58444
|
function mcpPackageVersion() {
|
|
58408
58445
|
try {
|
|
58409
|
-
return "1.13.
|
|
58446
|
+
return "1.13.117";
|
|
58410
58447
|
} catch {
|
|
58411
58448
|
return "unknown";
|
|
58412
58449
|
}
|
|
@@ -58587,7 +58624,7 @@ import_main.default.config({
|
|
|
58587
58624
|
quiet: true,
|
|
58588
58625
|
ignore: ["MISSING_ENV_FILE"]
|
|
58589
58626
|
});
|
|
58590
|
-
const packageVersion = "1.13.
|
|
58627
|
+
const packageVersion = "1.13.117";
|
|
58591
58628
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58592
58629
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58593
58630
|
function resolvePublicUrls() {
|
|
@@ -58707,4 +58744,4 @@ function bootstrapServer(options = {}) {
|
|
|
58707
58744
|
//#endregion
|
|
58708
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 };
|
|
58709
58746
|
|
|
58710
|
-
//# sourceMappingURL=src-
|
|
58747
|
+
//# sourceMappingURL=src-CNI-_xiq.js.map
|