@togglhq/mcp 1.11.209 → 1.11.210
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-CicQeeRG.js → src-vdGXyffk.js} +42 -6
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-vdGXyffk.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.11.
|
|
165
|
+
const packageVersion = "1.11.210";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -43525,6 +43525,14 @@ async function serviceVersion(httpClient, signal) {
|
|
|
43525
43525
|
return await httpClient.get(`version`, { signal }).json();
|
|
43526
43526
|
}
|
|
43527
43527
|
//#endregion
|
|
43528
|
+
//#region ../focus-queries/dist/work-preparation/requests.ts
|
|
43529
|
+
async function getWorkPreparationClassic(httpClient, organization_id, workspace_id, { page } = {}, signal) {
|
|
43530
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/work-preparation`, {
|
|
43531
|
+
signal,
|
|
43532
|
+
searchParams: buildSearchParams$2({ page })
|
|
43533
|
+
}).json();
|
|
43534
|
+
}
|
|
43535
|
+
//#endregion
|
|
43528
43536
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
43529
43537
|
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
43530
43538
|
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
@@ -54590,7 +54598,8 @@ const generatedFocusOperations = [
|
|
|
54590
54598
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54591
54599
|
welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54592
54600
|
whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54593
|
-
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
54601
|
+
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
54602
|
+
work_preparation_reminders_disabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
54594
54603
|
}) }),
|
|
54595
54604
|
execute: (input, { client }) => {
|
|
54596
54605
|
const data = input;
|
|
@@ -54635,10 +54644,10 @@ const generatedFocusOperations = [
|
|
|
54635
54644
|
cli: {
|
|
54636
54645
|
group: ["users", "workspace-settings"],
|
|
54637
54646
|
command: "partial-update",
|
|
54638
|
-
interactive: "
|
|
54647
|
+
interactive: "default"
|
|
54639
54648
|
},
|
|
54640
54649
|
mcp: { entityTool: "users" },
|
|
54641
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */
|
|
54650
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()) }) }),
|
|
54642
54651
|
execute: (input, { client }) => {
|
|
54643
54652
|
const data = input;
|
|
54644
54653
|
return client.runGeneratedRequest("partialUpdateUserWorkspaceSettings", () => callGeneratedRequest(partialUpdateUserWorkspaceSettings, [
|
|
@@ -54667,6 +54676,33 @@ const generatedFocusOperations = [
|
|
|
54667
54676
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
54668
54677
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
54669
54678
|
},
|
|
54679
|
+
{
|
|
54680
|
+
id: "focus.work-preparation.get",
|
|
54681
|
+
family: "focus",
|
|
54682
|
+
resource: "work-preparation",
|
|
54683
|
+
action: "get",
|
|
54684
|
+
title: "Get Work Preparation",
|
|
54685
|
+
description: "Get Work Preparation.",
|
|
54686
|
+
safety: "read",
|
|
54687
|
+
destructive: false,
|
|
54688
|
+
cli: {
|
|
54689
|
+
group: ["work-preparation"],
|
|
54690
|
+
command: "get",
|
|
54691
|
+
interactive: "available"
|
|
54692
|
+
},
|
|
54693
|
+
mcp: { entityTool: "work-preparation" },
|
|
54694
|
+
inputSchema: /* @__PURE__ */ looseObject({ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }),
|
|
54695
|
+
execute: (input, { client }) => {
|
|
54696
|
+
const data = input;
|
|
54697
|
+
return client.runGeneratedRequest("getWorkPreparationClassic", () => callGeneratedRequest(getWorkPreparationClassic, [
|
|
54698
|
+
client.httpClient,
|
|
54699
|
+
client.organizationId,
|
|
54700
|
+
client.workspaceIdNumber,
|
|
54701
|
+
data,
|
|
54702
|
+
void 0
|
|
54703
|
+
]));
|
|
54704
|
+
}
|
|
54705
|
+
},
|
|
54670
54706
|
{
|
|
54671
54707
|
id: "focus.working-hours.create-for-user",
|
|
54672
54708
|
family: "focus",
|
|
@@ -56133,7 +56169,7 @@ function registerWorkspaceTools(server) {
|
|
|
56133
56169
|
//#region src/package-version.ts
|
|
56134
56170
|
function mcpPackageVersion() {
|
|
56135
56171
|
try {
|
|
56136
|
-
return "1.11.
|
|
56172
|
+
return "1.11.210";
|
|
56137
56173
|
} catch {
|
|
56138
56174
|
return "unknown";
|
|
56139
56175
|
}
|
|
@@ -56308,7 +56344,7 @@ import_main.default.config({
|
|
|
56308
56344
|
quiet: true,
|
|
56309
56345
|
ignore: ["MISSING_ENV_FILE"]
|
|
56310
56346
|
});
|
|
56311
|
-
const packageVersion = "1.11.
|
|
56347
|
+
const packageVersion = "1.11.210";
|
|
56312
56348
|
function resolvePublicUrls() {
|
|
56313
56349
|
return {
|
|
56314
56350
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56373,4 +56409,4 @@ function bootstrapServer(options = {}) {
|
|
|
56373
56409
|
//#endregion
|
|
56374
56410
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
56375
56411
|
|
|
56376
|
-
//# sourceMappingURL=src-
|
|
56412
|
+
//# sourceMappingURL=src-vdGXyffk.js.map
|