@togglhq/mcp 1.13.45 → 1.13.47
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-DwqsxUkU.js → src-LgucXR-L.js} +14 -12
- 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-LgucXR-L.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.47";
|
|
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-LgucXR-L.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38453,7 +38453,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38453
38453
|
]))
|
|
38454
38454
|
});
|
|
38455
38455
|
//#endregion
|
|
38456
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38456
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38457
38457
|
async function getInvitations(httpClient, signal) {
|
|
38458
38458
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38459
38459
|
}
|
|
@@ -38470,7 +38470,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38470
38470
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38471
38471
|
}
|
|
38472
38472
|
//#endregion
|
|
38473
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38473
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38474
38474
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38475
38475
|
const searchParams = new URLSearchParams();
|
|
38476
38476
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38482,7 +38482,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38482
38482
|
return searchParams;
|
|
38483
38483
|
}
|
|
38484
38484
|
//#endregion
|
|
38485
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38485
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38486
38486
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38487
38487
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38488
38488
|
}
|
|
@@ -38496,7 +38496,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38496
38496
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38497
38497
|
}
|
|
38498
38498
|
//#endregion
|
|
38499
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38499
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38500
38500
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38501
38501
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38502
38502
|
}
|
|
@@ -38516,7 +38516,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38516
38516
|
});
|
|
38517
38517
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38518
38518
|
//#endregion
|
|
38519
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38519
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38520
38520
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38521
38521
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38522
38522
|
signal,
|
|
@@ -38527,12 +38527,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38527
38527
|
})).json();
|
|
38528
38528
|
}
|
|
38529
38529
|
//#endregion
|
|
38530
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38530
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38531
38531
|
async function getStatus(httpClient, signal) {
|
|
38532
38532
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38533
38533
|
}
|
|
38534
38534
|
//#endregion
|
|
38535
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38535
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38536
38536
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38537
38537
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38538
38538
|
signal,
|
|
@@ -38560,7 +38560,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38560
38560
|
return response.json();
|
|
38561
38561
|
}
|
|
38562
38562
|
//#endregion
|
|
38563
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38563
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.243_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5a5727221674be376a7ef0c9e1ef7b32/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38564
38564
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38565
38565
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38566
38566
|
}
|
|
@@ -42838,13 +42838,14 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
42838
42838
|
}
|
|
42839
42839
|
//#endregion
|
|
42840
42840
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
42841
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, page, per_page, order_by } = {}, signal) {
|
|
42841
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, has_members, page, per_page, order_by } = {}, signal) {
|
|
42842
42842
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42843
42843
|
signal,
|
|
42844
42844
|
searchParams: buildSearchParams$2({
|
|
42845
42845
|
designation_id,
|
|
42846
42846
|
name,
|
|
42847
42847
|
include_members,
|
|
42848
|
+
has_members,
|
|
42848
42849
|
page,
|
|
42849
42850
|
per_page,
|
|
42850
42851
|
order_by
|
|
@@ -45706,6 +45707,7 @@ const generatedFocusOperations = [
|
|
|
45706
45707
|
mcp: { entityTool: "designations" },
|
|
45707
45708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45708
45709
|
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45710
|
+
has_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45709
45711
|
include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45710
45712
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45711
45713
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -57260,7 +57262,7 @@ function registerWorkspaceTools(server) {
|
|
|
57260
57262
|
//#region src/package-version.ts
|
|
57261
57263
|
function mcpPackageVersion() {
|
|
57262
57264
|
try {
|
|
57263
|
-
return "1.13.
|
|
57265
|
+
return "1.13.47";
|
|
57264
57266
|
} catch {
|
|
57265
57267
|
return "unknown";
|
|
57266
57268
|
}
|
|
@@ -57441,7 +57443,7 @@ import_main.default.config({
|
|
|
57441
57443
|
quiet: true,
|
|
57442
57444
|
ignore: ["MISSING_ENV_FILE"]
|
|
57443
57445
|
});
|
|
57444
|
-
const packageVersion = "1.13.
|
|
57446
|
+
const packageVersion = "1.13.47";
|
|
57445
57447
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57446
57448
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57447
57449
|
function resolvePublicUrls() {
|
|
@@ -57561,4 +57563,4 @@ function bootstrapServer(options = {}) {
|
|
|
57561
57563
|
//#endregion
|
|
57562
57564
|
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 };
|
|
57563
57565
|
|
|
57564
|
-
//# sourceMappingURL=src-
|
|
57566
|
+
//# sourceMappingURL=src-LgucXR-L.js.map
|