@togglhq/mcp 1.11.193 → 1.11.195
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-LVYIjJut.js → src-iaMTY-Zg.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-iaMTY-Zg.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.195";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38296,7 +38296,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38296
38296
|
]))
|
|
38297
38297
|
});
|
|
38298
38298
|
//#endregion
|
|
38299
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38299
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38300
38300
|
async function getInvitations(httpClient, signal) {
|
|
38301
38301
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38302
38302
|
}
|
|
@@ -38313,7 +38313,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38313
38313
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38314
38314
|
}
|
|
38315
38315
|
//#endregion
|
|
38316
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38316
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38317
38317
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38318
38318
|
const searchParams = new URLSearchParams();
|
|
38319
38319
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38325,7 +38325,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38325
38325
|
return searchParams;
|
|
38326
38326
|
}
|
|
38327
38327
|
//#endregion
|
|
38328
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38328
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38329
38329
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38330
38330
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38331
38331
|
}
|
|
@@ -38339,7 +38339,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38339
38339
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38340
38340
|
}
|
|
38341
38341
|
//#endregion
|
|
38342
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38342
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38343
38343
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38344
38344
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38345
38345
|
}
|
|
@@ -38359,7 +38359,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38359
38359
|
});
|
|
38360
38360
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38361
38361
|
//#endregion
|
|
38362
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38362
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38363
38363
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38364
38364
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38365
38365
|
signal,
|
|
@@ -38370,12 +38370,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38370
38370
|
})).json();
|
|
38371
38371
|
}
|
|
38372
38372
|
//#endregion
|
|
38373
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38373
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38374
38374
|
async function getStatus(httpClient, signal) {
|
|
38375
38375
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38376
38376
|
}
|
|
38377
38377
|
//#endregion
|
|
38378
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38378
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38379
38379
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38380
38380
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38381
38381
|
signal,
|
|
@@ -38403,7 +38403,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38403
38403
|
return response.json();
|
|
38404
38404
|
}
|
|
38405
38405
|
//#endregion
|
|
38406
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38406
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.166_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_e5193761bda153e748e0c8108c57476d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38407
38407
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38408
38408
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38409
38409
|
}
|
|
@@ -56116,7 +56116,7 @@ function registerWorkspaceTools(server) {
|
|
|
56116
56116
|
//#region src/package-version.ts
|
|
56117
56117
|
function mcpPackageVersion() {
|
|
56118
56118
|
try {
|
|
56119
|
-
return "1.11.
|
|
56119
|
+
return "1.11.195";
|
|
56120
56120
|
} catch {
|
|
56121
56121
|
return "unknown";
|
|
56122
56122
|
}
|
|
@@ -56291,7 +56291,7 @@ import_main.default.config({
|
|
|
56291
56291
|
quiet: true,
|
|
56292
56292
|
ignore: ["MISSING_ENV_FILE"]
|
|
56293
56293
|
});
|
|
56294
|
-
const packageVersion = "1.11.
|
|
56294
|
+
const packageVersion = "1.11.195";
|
|
56295
56295
|
function resolvePublicUrls() {
|
|
56296
56296
|
return {
|
|
56297
56297
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56356,4 +56356,4 @@ function bootstrapServer(options = {}) {
|
|
|
56356
56356
|
//#endregion
|
|
56357
56357
|
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 };
|
|
56358
56358
|
|
|
56359
|
-
//# sourceMappingURL=src-
|
|
56359
|
+
//# sourceMappingURL=src-iaMTY-Zg.js.map
|