@togglhq/mcp 1.13.278 → 1.13.280
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-CHDNG57I.js} +43 -9
- 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-CHDNG57I.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.280";
|
|
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-CHDNG57I.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) {
|
|
@@ -44684,7 +44690,7 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
44684
44690
|
})
|
|
44685
44691
|
})).json();
|
|
44686
44692
|
}
|
|
44687
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
44693
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, pinned_user_ids, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
44688
44694
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
44689
44695
|
signal,
|
|
44690
44696
|
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
@@ -44699,6 +44705,7 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
44699
44705
|
team_id,
|
|
44700
44706
|
user_tag_id,
|
|
44701
44707
|
group_id,
|
|
44708
|
+
pinned_user_ids,
|
|
44702
44709
|
creator_id,
|
|
44703
44710
|
name,
|
|
44704
44711
|
start_date,
|
|
@@ -46300,6 +46307,37 @@ const generatedFocusOperations = [
|
|
|
46300
46307
|
]));
|
|
46301
46308
|
}
|
|
46302
46309
|
},
|
|
46310
|
+
{
|
|
46311
|
+
id: "focus.archived-clients.restore",
|
|
46312
|
+
family: "focus",
|
|
46313
|
+
resource: "archived-clients",
|
|
46314
|
+
action: "restore",
|
|
46315
|
+
title: "Restore Archived Clients",
|
|
46316
|
+
description: "Restore Archived Clients.",
|
|
46317
|
+
safety: "update",
|
|
46318
|
+
destructive: false,
|
|
46319
|
+
cli: {
|
|
46320
|
+
group: ["archived-clients"],
|
|
46321
|
+
command: "restore",
|
|
46322
|
+
interactive: "default"
|
|
46323
|
+
},
|
|
46324
|
+
mcp: { entityTool: "archived-clients" },
|
|
46325
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46326
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
46327
|
+
payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() })
|
|
46328
|
+
}),
|
|
46329
|
+
execute: (input, { client }) => {
|
|
46330
|
+
const data = input;
|
|
46331
|
+
return client.runGeneratedRequest("restoreArchivedClient", () => callGeneratedRequest(restoreArchivedClient, [
|
|
46332
|
+
client.httpClient,
|
|
46333
|
+
client.organizationId,
|
|
46334
|
+
client.workspaceIdNumber,
|
|
46335
|
+
data.client_id,
|
|
46336
|
+
data.payload ?? data.data ?? data,
|
|
46337
|
+
void 0
|
|
46338
|
+
]));
|
|
46339
|
+
}
|
|
46340
|
+
},
|
|
46303
46341
|
{
|
|
46304
46342
|
id: "focus.archived-projects.get",
|
|
46305
46343
|
family: "focus",
|
|
@@ -55884,6 +55922,7 @@ const generatedFocusOperations = [
|
|
|
55884
55922
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55885
55923
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55886
55924
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55925
|
+
pinned_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55887
55926
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55888
55927
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55889
55928
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -59415,9 +59454,6 @@ const generatedFocusOperations = [
|
|
|
59415
59454
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
59416
59455
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
59417
59456
|
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
59457
|
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59422
59458
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59423
59459
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -59431,7 +59467,6 @@ const generatedFocusOperations = [
|
|
|
59431
59467
|
"always",
|
|
59432
59468
|
"ask"
|
|
59433
59469
|
])),
|
|
59434
|
-
task_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59435
59470
|
theme: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
59436
59471
|
"light",
|
|
59437
59472
|
"dark",
|
|
@@ -59440,7 +59475,6 @@ const generatedFocusOperations = [
|
|
|
59440
59475
|
time_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["12h", "24h"])),
|
|
59441
59476
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59442
59477
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59443
|
-
timeline_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59444
59478
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
59445
59479
|
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
59446
59480
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -61150,7 +61184,7 @@ function registerWorkspaceTools(server) {
|
|
|
61150
61184
|
//#region src/package-version.ts
|
|
61151
61185
|
function mcpPackageVersion() {
|
|
61152
61186
|
try {
|
|
61153
|
-
return "1.13.
|
|
61187
|
+
return "1.13.280";
|
|
61154
61188
|
} catch {
|
|
61155
61189
|
return "unknown";
|
|
61156
61190
|
}
|
|
@@ -61332,7 +61366,7 @@ import_main.default.config({
|
|
|
61332
61366
|
quiet: true,
|
|
61333
61367
|
ignore: ["MISSING_ENV_FILE"]
|
|
61334
61368
|
});
|
|
61335
|
-
const packageVersion = "1.13.
|
|
61369
|
+
const packageVersion = "1.13.280";
|
|
61336
61370
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61337
61371
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61338
61372
|
function resolvePublicUrls() {
|
|
@@ -61452,4 +61486,4 @@ function bootstrapServer(options = {}) {
|
|
|
61452
61486
|
//#endregion
|
|
61453
61487
|
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
61488
|
|
|
61455
|
-
//# sourceMappingURL=src-
|
|
61489
|
+
//# sourceMappingURL=src-CHDNG57I.js.map
|