@togglhq/mcp 1.13.89 → 1.13.91
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-DmsCL2Cb.js → src-DeyYVPMy.js} +18 -14
- 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-DeyYVPMy.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.91";
|
|
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-DeyYVPMy.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38489,7 +38489,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38489
38489
|
]))
|
|
38490
38490
|
});
|
|
38491
38491
|
//#endregion
|
|
38492
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38492
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38493
38493
|
async function getInvitations(httpClient, signal) {
|
|
38494
38494
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38495
38495
|
}
|
|
@@ -38506,7 +38506,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38506
38506
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38507
38507
|
}
|
|
38508
38508
|
//#endregion
|
|
38509
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38509
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38510
38510
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38511
38511
|
const searchParams = new URLSearchParams();
|
|
38512
38512
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38518,7 +38518,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38518
38518
|
return searchParams;
|
|
38519
38519
|
}
|
|
38520
38520
|
//#endregion
|
|
38521
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38521
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38522
38522
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38523
38523
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38524
38524
|
}
|
|
@@ -38533,7 +38533,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38533
38533
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38534
38534
|
}
|
|
38535
38535
|
//#endregion
|
|
38536
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38536
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38537
38537
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38538
38538
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38539
38539
|
}
|
|
@@ -38553,7 +38553,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38553
38553
|
});
|
|
38554
38554
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38555
38555
|
//#endregion
|
|
38556
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38556
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38557
38557
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38558
38558
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38559
38559
|
signal,
|
|
@@ -38564,12 +38564,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38564
38564
|
})).json();
|
|
38565
38565
|
}
|
|
38566
38566
|
//#endregion
|
|
38567
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38567
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38568
38568
|
async function getStatus(httpClient, signal) {
|
|
38569
38569
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38570
38570
|
}
|
|
38571
38571
|
//#endregion
|
|
38572
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38572
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38573
38573
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38574
38574
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38575
38575
|
signal,
|
|
@@ -38597,7 +38597,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38597
38597
|
return response.json();
|
|
38598
38598
|
}
|
|
38599
38599
|
//#endregion
|
|
38600
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38600
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.265_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_51fb1022c3a64def124e36f2b958c00e/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38601
38601
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38602
38602
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38603
38603
|
}
|
|
@@ -44119,7 +44119,7 @@ async function reactivateTimesheetSetupMember(httpClient, organization_id, works
|
|
|
44119
44119
|
}
|
|
44120
44120
|
//#endregion
|
|
44121
44121
|
//#region ../focus-queries/dist/timesheets/requests.ts
|
|
44122
|
-
async function getTimesheetsClassic(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids, current_layer_approver_user_account_id, statuses, page, per_page }, signal) {
|
|
44122
|
+
async function getTimesheetsClassic(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids, current_layer_approver_user_account_id, statuses, member_status, page, per_page }, signal) {
|
|
44123
44123
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets`, {
|
|
44124
44124
|
signal,
|
|
44125
44125
|
searchParams: buildSearchParams$2({
|
|
@@ -44131,6 +44131,7 @@ async function getTimesheetsClassic(httpClient, organization_id, workspace_id, {
|
|
|
44131
44131
|
team_ids,
|
|
44132
44132
|
current_layer_approver_user_account_id,
|
|
44133
44133
|
statuses,
|
|
44134
|
+
member_status,
|
|
44134
44135
|
page,
|
|
44135
44136
|
per_page
|
|
44136
44137
|
})
|
|
@@ -44157,7 +44158,7 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
44157
44158
|
json: data
|
|
44158
44159
|
}).json();
|
|
44159
44160
|
}
|
|
44160
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
44161
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids, member_status }, signal) {
|
|
44161
44162
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
44162
44163
|
signal,
|
|
44163
44164
|
searchParams: buildSearchParams$2({
|
|
@@ -44166,7 +44167,8 @@ async function getTimesheetStatusCounts(httpClient, organization_id, workspace_i
|
|
|
44166
44167
|
setup_id,
|
|
44167
44168
|
user_account_ids,
|
|
44168
44169
|
approver_user_account_ids,
|
|
44169
|
-
team_ids
|
|
44170
|
+
team_ids,
|
|
44171
|
+
member_status
|
|
44170
44172
|
})
|
|
44171
44173
|
}).json();
|
|
44172
44174
|
}
|
|
@@ -55630,6 +55632,7 @@ const generatedFocusOperations = [
|
|
|
55630
55632
|
current_layer_approver_user_account_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55631
55633
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
55632
55634
|
date_to: /* @__PURE__ */ unknown$1(),
|
|
55635
|
+
member_status: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55633
55636
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55634
55637
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55635
55638
|
setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -55822,6 +55825,7 @@ const generatedFocusOperations = [
|
|
|
55822
55825
|
approver_user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55823
55826
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
55824
55827
|
date_to: /* @__PURE__ */ unknown$1(),
|
|
55828
|
+
member_status: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55825
55829
|
setup_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
55826
55830
|
team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
55827
55831
|
user_account_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
@@ -58247,7 +58251,7 @@ function registerWorkspaceTools(server) {
|
|
|
58247
58251
|
//#region src/package-version.ts
|
|
58248
58252
|
function mcpPackageVersion() {
|
|
58249
58253
|
try {
|
|
58250
|
-
return "1.13.
|
|
58254
|
+
return "1.13.91";
|
|
58251
58255
|
} catch {
|
|
58252
58256
|
return "unknown";
|
|
58253
58257
|
}
|
|
@@ -58428,7 +58432,7 @@ import_main.default.config({
|
|
|
58428
58432
|
quiet: true,
|
|
58429
58433
|
ignore: ["MISSING_ENV_FILE"]
|
|
58430
58434
|
});
|
|
58431
|
-
const packageVersion = "1.13.
|
|
58435
|
+
const packageVersion = "1.13.91";
|
|
58432
58436
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58433
58437
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58434
58438
|
function resolvePublicUrls() {
|
|
@@ -58548,4 +58552,4 @@ function bootstrapServer(options = {}) {
|
|
|
58548
58552
|
//#endregion
|
|
58549
58553
|
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 };
|
|
58550
58554
|
|
|
58551
|
-
//# sourceMappingURL=src-
|
|
58555
|
+
//# sourceMappingURL=src-DeyYVPMy.js.map
|