@togglhq/mcp 1.13.248 → 1.13.250
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-HltFkHlI.js → src-q3xbcYYg.js} +57 -14
- 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-q3xbcYYg.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.250";
|
|
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-q3xbcYYg.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -43230,6 +43230,12 @@ async function getArchivedTimeEntriesClassic(httpClient, organization_id, worksp
|
|
|
43230
43230
|
async function getArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
43231
43231
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}`, { signal })).json();
|
|
43232
43232
|
}
|
|
43233
|
+
async function restoreArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
43234
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}/restore`, {
|
|
43235
|
+
signal,
|
|
43236
|
+
json: data
|
|
43237
|
+
})).json();
|
|
43238
|
+
}
|
|
43233
43239
|
//#endregion
|
|
43234
43240
|
//#region ../focus-queries/dist/attachments/requests.ts
|
|
43235
43241
|
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
@@ -46456,6 +46462,37 @@ const generatedFocusOperations = [
|
|
|
46456
46462
|
]));
|
|
46457
46463
|
}
|
|
46458
46464
|
},
|
|
46465
|
+
{
|
|
46466
|
+
id: "focus.archived-time-entries.restore",
|
|
46467
|
+
family: "focus",
|
|
46468
|
+
resource: "archived-time-entries",
|
|
46469
|
+
action: "restore",
|
|
46470
|
+
title: "Restore Archived Time Entries",
|
|
46471
|
+
description: "Restore Archived Time Entries.",
|
|
46472
|
+
safety: "update",
|
|
46473
|
+
destructive: false,
|
|
46474
|
+
cli: {
|
|
46475
|
+
group: ["archived-time-entries"],
|
|
46476
|
+
command: "restore",
|
|
46477
|
+
interactive: "default"
|
|
46478
|
+
},
|
|
46479
|
+
mcp: { entityTool: "archived-time-entries" },
|
|
46480
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46481
|
+
payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() }),
|
|
46482
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
46483
|
+
}),
|
|
46484
|
+
execute: (input, { client }) => {
|
|
46485
|
+
const data = input;
|
|
46486
|
+
return client.runGeneratedRequest("restoreArchivedTimeEntry", () => callGeneratedRequest(restoreArchivedTimeEntry, [
|
|
46487
|
+
client.httpClient,
|
|
46488
|
+
client.organizationId,
|
|
46489
|
+
client.workspaceIdNumber,
|
|
46490
|
+
data.time_entry_id,
|
|
46491
|
+
data.payload ?? data.data ?? data,
|
|
46492
|
+
void 0
|
|
46493
|
+
]));
|
|
46494
|
+
}
|
|
46495
|
+
},
|
|
46459
46496
|
{
|
|
46460
46497
|
id: "focus.attachments.get-workspace-attachment-storage",
|
|
46461
46498
|
family: "focus",
|
|
@@ -59356,17 +59393,23 @@ const generatedFocusOperations = [
|
|
|
59356
59393
|
interactive: "default"
|
|
59357
59394
|
},
|
|
59358
59395
|
mcp: { entityTool: "users" },
|
|
59359
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
59360
|
-
|
|
59361
|
-
|
|
59362
|
-
|
|
59363
|
-
|
|
59364
|
-
|
|
59365
|
-
|
|
59366
|
-
|
|
59367
|
-
|
|
59368
|
-
|
|
59369
|
-
|
|
59396
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
59397
|
+
desktop_autotracker_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59398
|
+
desktop_autotracker_focus_duration_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59399
|
+
desktop_autotracker_focus_duration_secs: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
59400
|
+
desktop_autotracker_rules: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
59401
|
+
enabled: /* @__PURE__ */ boolean$1(),
|
|
59402
|
+
id: /* @__PURE__ */ string$1(),
|
|
59403
|
+
keyword: /* @__PURE__ */ string$1(),
|
|
59404
|
+
keyword_mode: /* @__PURE__ */ picklist$1(["contains_phrase", "all_words"]),
|
|
59405
|
+
start_without_asking: /* @__PURE__ */ boolean$1(),
|
|
59406
|
+
stop_when_meeting_ends: /* @__PURE__ */ boolean$1(),
|
|
59407
|
+
trigger: /* @__PURE__ */ picklist$1(["window", "meeting"]),
|
|
59408
|
+
trigger_when_timer_is_running: /* @__PURE__ */ boolean$1(),
|
|
59409
|
+
updated_at: apiDateTimeString
|
|
59410
|
+
}))),
|
|
59411
|
+
desktop_autotracker_stop_on_no_match: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
59412
|
+
}) }),
|
|
59370
59413
|
execute: (input, { client }) => {
|
|
59371
59414
|
const data = input;
|
|
59372
59415
|
return client.runGeneratedRequest("partialUpdateDesktopUserSettings", () => callGeneratedRequest(partialUpdateDesktopUserSettings, [
|
|
@@ -61027,7 +61070,7 @@ function registerWorkspaceTools(server) {
|
|
|
61027
61070
|
//#region src/package-version.ts
|
|
61028
61071
|
function mcpPackageVersion() {
|
|
61029
61072
|
try {
|
|
61030
|
-
return "1.13.
|
|
61073
|
+
return "1.13.250";
|
|
61031
61074
|
} catch {
|
|
61032
61075
|
return "unknown";
|
|
61033
61076
|
}
|
|
@@ -61209,7 +61252,7 @@ import_main.default.config({
|
|
|
61209
61252
|
quiet: true,
|
|
61210
61253
|
ignore: ["MISSING_ENV_FILE"]
|
|
61211
61254
|
});
|
|
61212
|
-
const packageVersion = "1.13.
|
|
61255
|
+
const packageVersion = "1.13.250";
|
|
61213
61256
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61214
61257
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61215
61258
|
function resolvePublicUrls() {
|
|
@@ -61329,4 +61372,4 @@ function bootstrapServer(options = {}) {
|
|
|
61329
61372
|
//#endregion
|
|
61330
61373
|
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 };
|
|
61331
61374
|
|
|
61332
|
-
//# sourceMappingURL=src-
|
|
61375
|
+
//# sourceMappingURL=src-q3xbcYYg.js.map
|