@togglhq/mcp 1.11.79 → 1.11.81
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-lO2aIb8M.js → src-CvrUtqKf.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 initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as initProductAnalytics, c as shutdownProductAnalytics, i as getProductAnalyticsDistinctId, n as runMcpCli, o as redactUnsafeSentryMessages, r as captureToolInvocation, s as resolveProductAnalyticsDistinctId } from "./src-CvrUtqKf.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -165,7 +165,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region src/cli.ts
|
|
168
|
-
const packageVersion = "1.11.
|
|
168
|
+
const packageVersion = "1.11.81";
|
|
169
169
|
let sentryEnabled = false;
|
|
170
170
|
let productAnalyticsEnabled = false;
|
|
171
171
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38282,7 +38282,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38282
38282
|
]))
|
|
38283
38283
|
});
|
|
38284
38284
|
//#endregion
|
|
38285
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38285
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38286
38286
|
async function getInvitations(httpClient, signal) {
|
|
38287
38287
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38288
38288
|
}
|
|
@@ -38299,7 +38299,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38299
38299
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38300
38300
|
}
|
|
38301
38301
|
//#endregion
|
|
38302
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38302
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38303
38303
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38304
38304
|
const searchParams = new URLSearchParams();
|
|
38305
38305
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38311,7 +38311,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38311
38311
|
return searchParams;
|
|
38312
38312
|
}
|
|
38313
38313
|
//#endregion
|
|
38314
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38314
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38315
38315
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38316
38316
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38317
38317
|
}
|
|
@@ -38325,7 +38325,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38325
38325
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38326
38326
|
}
|
|
38327
38327
|
//#endregion
|
|
38328
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38328
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38329
38329
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38330
38330
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38331
38331
|
}
|
|
@@ -38345,7 +38345,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38345
38345
|
});
|
|
38346
38346
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38347
38347
|
//#endregion
|
|
38348
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38348
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38349
38349
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38350
38350
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38351
38351
|
signal,
|
|
@@ -38356,12 +38356,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38356
38356
|
})).json();
|
|
38357
38357
|
}
|
|
38358
38358
|
//#endregion
|
|
38359
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38359
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38360
38360
|
async function getStatus(httpClient, signal) {
|
|
38361
38361
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38362
38362
|
}
|
|
38363
38363
|
//#endregion
|
|
38364
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38364
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38365
38365
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38366
38366
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38367
38367
|
signal,
|
|
@@ -38389,7 +38389,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38389
38389
|
return response.json();
|
|
38390
38390
|
}
|
|
38391
38391
|
//#endregion
|
|
38392
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38393
38393
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38394
38394
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38395
38395
|
}
|
|
@@ -55048,7 +55048,7 @@ function registerWorkspaceTools(server) {
|
|
|
55048
55048
|
//#region src/package-version.ts
|
|
55049
55049
|
function mcpPackageVersion() {
|
|
55050
55050
|
try {
|
|
55051
|
-
return "1.11.
|
|
55051
|
+
return "1.11.81";
|
|
55052
55052
|
} catch {
|
|
55053
55053
|
return "unknown";
|
|
55054
55054
|
}
|
|
@@ -55223,7 +55223,7 @@ import_main.default.config({
|
|
|
55223
55223
|
quiet: true,
|
|
55224
55224
|
ignore: ["MISSING_ENV_FILE"]
|
|
55225
55225
|
});
|
|
55226
|
-
const packageVersion = "1.11.
|
|
55226
|
+
const packageVersion = "1.11.81";
|
|
55227
55227
|
function resolvePublicUrls() {
|
|
55228
55228
|
return {
|
|
55229
55229
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55288,4 +55288,4 @@ function bootstrapServer(options = {}) {
|
|
|
55288
55288
|
//#endregion
|
|
55289
55289
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55290
55290
|
|
|
55291
|
-
//# sourceMappingURL=src-
|
|
55291
|
+
//# sourceMappingURL=src-CvrUtqKf.js.map
|