@togglhq/mcp 1.13.158 → 1.13.160
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
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-Dh93GtPC.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.160";
|
|
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-Dh93GtPC.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37929,7 +37929,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37929
37929
|
}
|
|
37930
37930
|
//#endregion
|
|
37931
37931
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37932
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
37932
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
37933
37933
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37934
37934
|
signal,
|
|
37935
37935
|
searchParams: buildSearchParams$2({
|
|
@@ -37973,6 +37973,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37973
37973
|
tag_id,
|
|
37974
37974
|
recurring,
|
|
37975
37975
|
recurring_task_ids,
|
|
37976
|
+
ids,
|
|
37976
37977
|
client_id,
|
|
37977
37978
|
include_rates,
|
|
37978
37979
|
include_assignees,
|
|
@@ -38126,7 +38127,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
38126
38127
|
})
|
|
38127
38128
|
}).json();
|
|
38128
38129
|
}
|
|
38129
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
38130
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, occurrence_window_date, occurrence_window_days, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
38130
38131
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
38131
38132
|
signal,
|
|
38132
38133
|
searchParams: buildSearchParams$2({
|
|
@@ -38169,6 +38170,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
38169
38170
|
tag_id,
|
|
38170
38171
|
recurring,
|
|
38171
38172
|
recurring_task_ids,
|
|
38173
|
+
ids,
|
|
38172
38174
|
client_id,
|
|
38173
38175
|
include_assignees,
|
|
38174
38176
|
cf_filter
|
|
@@ -54146,6 +54148,7 @@ const generatedFocusOperations = [
|
|
|
54146
54148
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54147
54149
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54148
54150
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54151
|
+
ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54149
54152
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54150
54153
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
54151
54154
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -59305,7 +59308,7 @@ function registerWorkspaceTools(server) {
|
|
|
59305
59308
|
//#region src/package-version.ts
|
|
59306
59309
|
function mcpPackageVersion() {
|
|
59307
59310
|
try {
|
|
59308
|
-
return "1.13.
|
|
59311
|
+
return "1.13.160";
|
|
59309
59312
|
} catch {
|
|
59310
59313
|
return "unknown";
|
|
59311
59314
|
}
|
|
@@ -59486,7 +59489,7 @@ import_main.default.config({
|
|
|
59486
59489
|
quiet: true,
|
|
59487
59490
|
ignore: ["MISSING_ENV_FILE"]
|
|
59488
59491
|
});
|
|
59489
|
-
const packageVersion = "1.13.
|
|
59492
|
+
const packageVersion = "1.13.160";
|
|
59490
59493
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59491
59494
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59492
59495
|
function resolvePublicUrls() {
|
|
@@ -59606,4 +59609,4 @@ function bootstrapServer(options = {}) {
|
|
|
59606
59609
|
//#endregion
|
|
59607
59610
|
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 };
|
|
59608
59611
|
|
|
59609
|
-
//# sourceMappingURL=src-
|
|
59612
|
+
//# sourceMappingURL=src-Dh93GtPC.js.map
|