@togglhq/mcp 1.13.317 → 1.13.318
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-Lle4ShGG.js → src-DSHrUI1l.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-DSHrUI1l.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.318";
|
|
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-DSHrUI1l.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38707,7 +38707,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38707
38707
|
]))
|
|
38708
38708
|
});
|
|
38709
38709
|
//#endregion
|
|
38710
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38710
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38711
38711
|
async function getInvitations(httpClient, signal) {
|
|
38712
38712
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38713
38713
|
}
|
|
@@ -38724,7 +38724,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38724
38724
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38725
38725
|
}
|
|
38726
38726
|
//#endregion
|
|
38727
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38727
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38728
38728
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38729
38729
|
const searchParams = new URLSearchParams();
|
|
38730
38730
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38736,7 +38736,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38736
38736
|
return searchParams;
|
|
38737
38737
|
}
|
|
38738
38738
|
//#endregion
|
|
38739
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38739
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38740
38740
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38741
38741
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38742
38742
|
}
|
|
@@ -38751,7 +38751,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38751
38751
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38752
38752
|
}
|
|
38753
38753
|
//#endregion
|
|
38754
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38754
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38755
38755
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38756
38756
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38757
38757
|
}
|
|
@@ -38771,7 +38771,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38771
38771
|
});
|
|
38772
38772
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38773
38773
|
//#endregion
|
|
38774
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38774
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38775
38775
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38776
38776
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38777
38777
|
signal,
|
|
@@ -38782,12 +38782,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38782
38782
|
})).json();
|
|
38783
38783
|
}
|
|
38784
38784
|
//#endregion
|
|
38785
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38785
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38786
38786
|
async function getStatus(httpClient, signal) {
|
|
38787
38787
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38788
38788
|
}
|
|
38789
38789
|
//#endregion
|
|
38790
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38790
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38791
38791
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38792
38792
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38793
38793
|
signal,
|
|
@@ -38815,7 +38815,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38815
38815
|
return response.json();
|
|
38816
38816
|
}
|
|
38817
38817
|
//#endregion
|
|
38818
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38818
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.397_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_36ae6b200adc91b7f47ce89dd57369e4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38819
38819
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38820
38820
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38821
38821
|
}
|
|
@@ -61891,7 +61891,7 @@ function registerWorkspaceTools(server) {
|
|
|
61891
61891
|
//#region src/package-version.ts
|
|
61892
61892
|
function mcpPackageVersion() {
|
|
61893
61893
|
try {
|
|
61894
|
-
return "1.13.
|
|
61894
|
+
return "1.13.318";
|
|
61895
61895
|
} catch {
|
|
61896
61896
|
return "unknown";
|
|
61897
61897
|
}
|
|
@@ -62073,7 +62073,7 @@ import_main.default.config({
|
|
|
62073
62073
|
quiet: true,
|
|
62074
62074
|
ignore: ["MISSING_ENV_FILE"]
|
|
62075
62075
|
});
|
|
62076
|
-
const packageVersion = "1.13.
|
|
62076
|
+
const packageVersion = "1.13.318";
|
|
62077
62077
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62078
62078
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62079
62079
|
function resolvePublicUrls() {
|
|
@@ -62193,4 +62193,4 @@ function bootstrapServer(options = {}) {
|
|
|
62193
62193
|
//#endregion
|
|
62194
62194
|
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 };
|
|
62195
62195
|
|
|
62196
|
-
//# sourceMappingURL=src-
|
|
62196
|
+
//# sourceMappingURL=src-DSHrUI1l.js.map
|