@togglhq/mcp 1.13.249 → 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-DnxRQ-LH.js → src-q3xbcYYg.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-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",
|
|
@@ -61033,7 +61070,7 @@ function registerWorkspaceTools(server) {
|
|
|
61033
61070
|
//#region src/package-version.ts
|
|
61034
61071
|
function mcpPackageVersion() {
|
|
61035
61072
|
try {
|
|
61036
|
-
return "1.13.
|
|
61073
|
+
return "1.13.250";
|
|
61037
61074
|
} catch {
|
|
61038
61075
|
return "unknown";
|
|
61039
61076
|
}
|
|
@@ -61215,7 +61252,7 @@ import_main.default.config({
|
|
|
61215
61252
|
quiet: true,
|
|
61216
61253
|
ignore: ["MISSING_ENV_FILE"]
|
|
61217
61254
|
});
|
|
61218
|
-
const packageVersion = "1.13.
|
|
61255
|
+
const packageVersion = "1.13.250";
|
|
61219
61256
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61220
61257
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61221
61258
|
function resolvePublicUrls() {
|
|
@@ -61335,4 +61372,4 @@ function bootstrapServer(options = {}) {
|
|
|
61335
61372
|
//#endregion
|
|
61336
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 };
|
|
61337
61374
|
|
|
61338
|
-
//# sourceMappingURL=src-
|
|
61375
|
+
//# sourceMappingURL=src-q3xbcYYg.js.map
|