@togglhq/mcp 1.11.221 → 1.11.222
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-BKCNU1H3.js → src-DuWfE0zq.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-DuWfE0zq.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.222";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -38315,7 +38315,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38315
38315
|
]))
|
|
38316
38316
|
});
|
|
38317
38317
|
//#endregion
|
|
38318
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38318
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38319
38319
|
async function getInvitations(httpClient, signal) {
|
|
38320
38320
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38321
38321
|
}
|
|
@@ -38332,7 +38332,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38332
38332
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38333
38333
|
}
|
|
38334
38334
|
//#endregion
|
|
38335
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38335
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38336
38336
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38337
38337
|
const searchParams = new URLSearchParams();
|
|
38338
38338
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38344,7 +38344,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38344
38344
|
return searchParams;
|
|
38345
38345
|
}
|
|
38346
38346
|
//#endregion
|
|
38347
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38347
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38348
38348
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38349
38349
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38350
38350
|
}
|
|
@@ -38358,7 +38358,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38358
38358
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38359
38359
|
}
|
|
38360
38360
|
//#endregion
|
|
38361
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38361
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38362
38362
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38363
38363
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38364
38364
|
}
|
|
@@ -38378,7 +38378,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38378
38378
|
});
|
|
38379
38379
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38380
38380
|
//#endregion
|
|
38381
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38381
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38382
38382
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38383
38383
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38384
38384
|
signal,
|
|
@@ -38389,12 +38389,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38389
38389
|
})).json();
|
|
38390
38390
|
}
|
|
38391
38391
|
//#endregion
|
|
38392
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38393
38393
|
async function getStatus(httpClient, signal) {
|
|
38394
38394
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38395
38395
|
}
|
|
38396
38396
|
//#endregion
|
|
38397
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38397
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38398
38398
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38399
38399
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38400
38400
|
signal,
|
|
@@ -38422,7 +38422,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38422
38422
|
return response.json();
|
|
38423
38423
|
}
|
|
38424
38424
|
//#endregion
|
|
38425
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38425
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.183_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9272572e895b3efdffa506f900daa375/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38426
38426
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38427
38427
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38428
38428
|
}
|
|
@@ -56221,7 +56221,7 @@ function registerWorkspaceTools(server) {
|
|
|
56221
56221
|
//#region src/package-version.ts
|
|
56222
56222
|
function mcpPackageVersion() {
|
|
56223
56223
|
try {
|
|
56224
|
-
return "1.11.
|
|
56224
|
+
return "1.11.222";
|
|
56225
56225
|
} catch {
|
|
56226
56226
|
return "unknown";
|
|
56227
56227
|
}
|
|
@@ -56396,7 +56396,7 @@ import_main.default.config({
|
|
|
56396
56396
|
quiet: true,
|
|
56397
56397
|
ignore: ["MISSING_ENV_FILE"]
|
|
56398
56398
|
});
|
|
56399
|
-
const packageVersion = "1.11.
|
|
56399
|
+
const packageVersion = "1.11.222";
|
|
56400
56400
|
function resolvePublicUrls() {
|
|
56401
56401
|
return {
|
|
56402
56402
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56461,4 +56461,4 @@ function bootstrapServer(options = {}) {
|
|
|
56461
56461
|
//#endregion
|
|
56462
56462
|
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 };
|
|
56463
56463
|
|
|
56464
|
-
//# sourceMappingURL=src-
|
|
56464
|
+
//# sourceMappingURL=src-DuWfE0zq.js.map
|