@togglhq/mcp 1.13.302 → 1.13.304
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-CNPj6UMU.js → src-DD8voSP_.js} +11 -11
- 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-DD8voSP_.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.304";
|
|
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-DD8voSP_.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38703,7 +38703,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38703
38703
|
]))
|
|
38704
38704
|
});
|
|
38705
38705
|
//#endregion
|
|
38706
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38706
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38707
38707
|
async function getInvitations(httpClient, signal) {
|
|
38708
38708
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38709
38709
|
}
|
|
@@ -38720,7 +38720,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38720
38720
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38721
38721
|
}
|
|
38722
38722
|
//#endregion
|
|
38723
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38723
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38724
38724
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38725
38725
|
const searchParams = new URLSearchParams();
|
|
38726
38726
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38732,7 +38732,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38732
38732
|
return searchParams;
|
|
38733
38733
|
}
|
|
38734
38734
|
//#endregion
|
|
38735
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38735
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38736
38736
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38737
38737
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38738
38738
|
}
|
|
@@ -38747,7 +38747,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38747
38747
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38748
38748
|
}
|
|
38749
38749
|
//#endregion
|
|
38750
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38750
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38751
38751
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38752
38752
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38753
38753
|
}
|
|
@@ -38767,7 +38767,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38767
38767
|
});
|
|
38768
38768
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38769
38769
|
//#endregion
|
|
38770
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38770
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38771
38771
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38772
38772
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38773
38773
|
signal,
|
|
@@ -38778,12 +38778,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38778
38778
|
})).json();
|
|
38779
38779
|
}
|
|
38780
38780
|
//#endregion
|
|
38781
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38781
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38782
38782
|
async function getStatus(httpClient, signal) {
|
|
38783
38783
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38784
38784
|
}
|
|
38785
38785
|
//#endregion
|
|
38786
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38786
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38787
38787
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38788
38788
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38789
38789
|
signal,
|
|
@@ -38811,7 +38811,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38811
38811
|
return response.json();
|
|
38812
38812
|
}
|
|
38813
38813
|
//#endregion
|
|
38814
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38814
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38815
38815
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38816
38816
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38817
38817
|
}
|
|
@@ -61646,7 +61646,7 @@ function registerWorkspaceTools(server) {
|
|
|
61646
61646
|
//#region src/package-version.ts
|
|
61647
61647
|
function mcpPackageVersion() {
|
|
61648
61648
|
try {
|
|
61649
|
-
return "1.13.
|
|
61649
|
+
return "1.13.304";
|
|
61650
61650
|
} catch {
|
|
61651
61651
|
return "unknown";
|
|
61652
61652
|
}
|
|
@@ -61828,7 +61828,7 @@ import_main.default.config({
|
|
|
61828
61828
|
quiet: true,
|
|
61829
61829
|
ignore: ["MISSING_ENV_FILE"]
|
|
61830
61830
|
});
|
|
61831
|
-
const packageVersion = "1.13.
|
|
61831
|
+
const packageVersion = "1.13.304";
|
|
61832
61832
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
61833
61833
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
61834
61834
|
function resolvePublicUrls() {
|
|
@@ -61948,4 +61948,4 @@ function bootstrapServer(options = {}) {
|
|
|
61948
61948
|
//#endregion
|
|
61949
61949
|
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 };
|
|
61950
61950
|
|
|
61951
|
-
//# sourceMappingURL=src-
|
|
61951
|
+
//# sourceMappingURL=src-DD8voSP_.js.map
|