@togglhq/mcp 1.11.133 → 1.11.134
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-DgJFR7rz.js → src-C9LPFV3F.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 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-C9LPFV3F.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.134";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38188,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38188
38188
|
]))
|
|
38189
38189
|
});
|
|
38190
38190
|
//#endregion
|
|
38191
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38191
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38192
38192
|
async function getInvitations(httpClient, signal) {
|
|
38193
38193
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38194
38194
|
}
|
|
@@ -38205,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38205
38205
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38206
38206
|
}
|
|
38207
38207
|
//#endregion
|
|
38208
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38208
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38209
38209
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38210
38210
|
const searchParams = new URLSearchParams();
|
|
38211
38211
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38217,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38217
38217
|
return searchParams;
|
|
38218
38218
|
}
|
|
38219
38219
|
//#endregion
|
|
38220
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38220
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38221
38221
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38222
38222
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38223
38223
|
}
|
|
@@ -38231,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38231
38231
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38232
38232
|
}
|
|
38233
38233
|
//#endregion
|
|
38234
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38234
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38235
38235
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38236
38236
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38237
38237
|
}
|
|
@@ -38251,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38251
38251
|
});
|
|
38252
38252
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38253
38253
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38255
38255
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38256
38256
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38257
38257
|
signal,
|
|
@@ -38262,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38262
38262
|
})).json();
|
|
38263
38263
|
}
|
|
38264
38264
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38266
38266
|
async function getStatus(httpClient, signal) {
|
|
38267
38267
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38268
38268
|
}
|
|
38269
38269
|
//#endregion
|
|
38270
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38270
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38271
38271
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38272
38272
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38273
38273
|
signal,
|
|
@@ -38295,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38295
38295
|
return response.json();
|
|
38296
38296
|
}
|
|
38297
38297
|
//#endregion
|
|
38298
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38298
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.118_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_c549d530ee7c97a5295b950848040354/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38299
38299
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38300
38300
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38301
38301
|
}
|
|
@@ -54817,7 +54817,7 @@ function registerWorkspaceTools(server) {
|
|
|
54817
54817
|
//#region src/package-version.ts
|
|
54818
54818
|
function mcpPackageVersion() {
|
|
54819
54819
|
try {
|
|
54820
|
-
return "1.11.
|
|
54820
|
+
return "1.11.134";
|
|
54821
54821
|
} catch {
|
|
54822
54822
|
return "unknown";
|
|
54823
54823
|
}
|
|
@@ -54992,7 +54992,7 @@ import_main.default.config({
|
|
|
54992
54992
|
quiet: true,
|
|
54993
54993
|
ignore: ["MISSING_ENV_FILE"]
|
|
54994
54994
|
});
|
|
54995
|
-
const packageVersion = "1.11.
|
|
54995
|
+
const packageVersion = "1.11.134";
|
|
54996
54996
|
function resolvePublicUrls() {
|
|
54997
54997
|
return {
|
|
54998
54998
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55057,4 +55057,4 @@ function bootstrapServer(options = {}) {
|
|
|
55057
55057
|
//#endregion
|
|
55058
55058
|
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 };
|
|
55059
55059
|
|
|
55060
|
-
//# sourceMappingURL=src-
|
|
55060
|
+
//# sourceMappingURL=src-C9LPFV3F.js.map
|