@togglhq/mcp 1.13.278 → 1.13.279
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-CVTkUuAx.js → src-VN6asPpV.js} +40 -8
- 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-VN6asPpV.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.279";
|
|
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-VN6asPpV.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -43185,6 +43185,12 @@ async function getArchivedClientsClassic(httpClient, organization_id, workspace_
|
|
|
43185
43185
|
async function getArchivedClient(httpClient, organization_id, workspace_id, client_id, signal) {
|
|
43186
43186
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients/${client_id}`, { signal })).json();
|
|
43187
43187
|
}
|
|
43188
|
+
async function restoreArchivedClient(httpClient, organization_id, workspace_id, client_id, data, signal) {
|
|
43189
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients/${client_id}/restore`, {
|
|
43190
|
+
signal,
|
|
43191
|
+
json: data
|
|
43192
|
+
})).json();
|
|
43193
|
+
}
|
|
43188
43194
|
//#endregion
|
|
43189
43195
|
//#region ../focus-queries/dist/archived-projects/requests.ts
|
|
43190
43196
|
async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
|
|
@@ -46300,6 +46306,37 @@ const generatedFocusOperations = [
|
|
|
46300
46306
|
]));
|
|
46301
46307
|
}
|
|
46302
46308
|
},
|
|
46309
|
+
{
|
|
46310
|
+
id: "focus.archived-clients.restore",
|
|
46311
|
+
family: "focus",
|
|
46312
|
+
resource: "archived-clients",
|
|
46313
|
+
action: "restore",
|
|
46314
|
+
title: "Restore Archived Clients",
|
|
46315
|
+
description: "Restore Archived Clients.",
|
|
46316
|
+
safety: "update",
|
|
46317
|
+
destructive: false,
|
|
46318
|
+
cli: {
|
|
46319
|
+
group: ["archived-clients"],
|
|
46320
|
+
command: "restore",
|
|
46321
|
+
interactive: "default"
|
|
46322
|
+
},
|
|
46323
|
+
mcp: { entityTool: "archived-clients" },
|
|
46324
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46325
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
46326
|
+
payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() })
|
|
46327
|
+
}),
|
|
46328
|
+
execute: (input, { client }) => {
|
|
46329
|
+
const data = input;
|
|
46330
|
+
return client.runGeneratedRequest("restoreArchivedClient", () => callGeneratedRequest(restoreArchivedClient, [
|
|
46331
|
+
client.httpClient,
|
|
46332
|
+
client.organizationId,
|
|
46333
|
+
client.workspaceIdNumber,
|
|
46334
|
+
data.client_id,
|
|
46335
|
+
data.payload ?? data.data ?? data,
|
|
46336
|
+
void 0
|
|
46337
|
+
]));
|
|
46338
|
+
}
|
|
46339
|
+
},
|
|
46303
46340
|
{
|
|
46304
46341
|
id: "focus.archived-projects.get",
|
|
46305
46342
|
family: "focus",
|
|
@@ -59415,9 +59452,6 @@ const generatedFocusOperations = [
|
|
|
59415
59452
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
59416
59453
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
59417
59454
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59418
|
-
project_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59419
|
-
reports_guide_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59420
|
-
reports_router_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59421
59455
|
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59422
59456
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59423
59457
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -59431,7 +59465,6 @@ const generatedFocusOperations = [
|
|
|
59431
59465
|
"always",
|
|
59432
59466
|
"ask"
|
|
59433
59467
|
])),
|
|
59434
|
-
task_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59435
59468
|
theme: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
59436
59469
|
"light",
|
|
59437
59470
|
"dark",
|
|
@@ -59440,7 +59473,6 @@ const generatedFocusOperations = [
|
|
|
59440
59473
|
time_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["12h", "24h"])),
|
|
59441
59474
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59442
59475
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59443
|
-
timeline_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59444
59476
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59445
59477
|
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
59446
59478
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -61150,7 +61182,7 @@ function registerWorkspaceTools(server) {
|
|
|
61150
61182
|
//#region src/package-version.ts
|
|
61151
61183
|
function mcpPackageVersion() {
|
|
61152
61184
|
try {
|
|
61153
|
-
return "1.13.
|
|
61185
|
+
return "1.13.279";
|
|
61154
61186
|
} catch {
|
|
61155
61187
|
return "unknown";
|
|
61156
61188
|
}
|
|
@@ -61332,7 +61364,7 @@ import_main.default.config({
|
|
|
61332
61364
|
quiet: true,
|
|
61333
61365
|
ignore: ["MISSING_ENV_FILE"]
|
|
61334
61366
|
});
|
|
61335
|
-
const packageVersion = "1.13.
|
|
61367
|
+
const packageVersion = "1.13.279";
|
|
61336
61368
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61337
61369
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61338
61370
|
function resolvePublicUrls() {
|
|
@@ -61452,4 +61484,4 @@ function bootstrapServer(options = {}) {
|
|
|
61452
61484
|
//#endregion
|
|
61453
61485
|
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 };
|
|
61454
61486
|
|
|
61455
|
-
//# sourceMappingURL=src-
|
|
61487
|
+
//# sourceMappingURL=src-VN6asPpV.js.map
|