@togglhq/mcp 1.13.55 → 1.13.57
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-DYYSH4O8.js → src-D-SQru59.js} +53 -16
- 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-D-SQru59.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.57";
|
|
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-D-SQru59.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37464,7 +37464,7 @@ async function getOrganizationMemberTags(httpClient, organization_id, { workspac
|
|
|
37464
37464
|
async function getOrganizationRoles(httpClient, organization_id, signal) {
|
|
37465
37465
|
return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
|
|
37466
37466
|
}
|
|
37467
|
-
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
|
|
37467
|
+
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only, has_designations }, signal) {
|
|
37468
37468
|
return await httpClient.get(`organizations/${organization_id}/teams`, {
|
|
37469
37469
|
signal,
|
|
37470
37470
|
searchParams: buildSearchParams$2({
|
|
@@ -37476,7 +37476,8 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37476
37476
|
query,
|
|
37477
37477
|
organization_user_id,
|
|
37478
37478
|
group_ids,
|
|
37479
|
-
active_members_only
|
|
37479
|
+
active_members_only,
|
|
37480
|
+
has_designations
|
|
37480
37481
|
})
|
|
37481
37482
|
}).json();
|
|
37482
37483
|
}
|
|
@@ -38138,26 +38139,33 @@ async function updateTask(httpClient, organization_id, workspace_id, task_id, da
|
|
|
38138
38139
|
json: data
|
|
38139
38140
|
}).json();
|
|
38140
38141
|
}
|
|
38141
|
-
async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, outbound_sync, signal) {
|
|
38142
|
+
async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, signal) {
|
|
38142
38143
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
38143
38144
|
signal,
|
|
38144
38145
|
searchParams: buildSearchParams$2({
|
|
38145
38146
|
from_recurring_task_id,
|
|
38147
|
+
scope,
|
|
38146
38148
|
outbound_sync
|
|
38147
38149
|
})
|
|
38148
38150
|
}).json();
|
|
38149
38151
|
}
|
|
38150
|
-
async function patchTask(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, signal) {
|
|
38152
|
+
async function patchTask(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, scope, signal) {
|
|
38151
38153
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
38152
38154
|
signal,
|
|
38153
38155
|
json: data,
|
|
38154
|
-
searchParams: buildSearchParams$2({
|
|
38156
|
+
searchParams: buildSearchParams$2({
|
|
38157
|
+
from_recurring_task_id,
|
|
38158
|
+
scope
|
|
38159
|
+
})
|
|
38155
38160
|
}).json();
|
|
38156
38161
|
}
|
|
38157
|
-
async function archiveTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, signal) {
|
|
38162
|
+
async function archiveTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, signal) {
|
|
38158
38163
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/archive`, {
|
|
38159
38164
|
signal,
|
|
38160
|
-
searchParams: buildSearchParams$2({
|
|
38165
|
+
searchParams: buildSearchParams$2({
|
|
38166
|
+
from_recurring_task_id,
|
|
38167
|
+
scope
|
|
38168
|
+
})
|
|
38161
38169
|
}).json();
|
|
38162
38170
|
}
|
|
38163
38171
|
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
@@ -38200,11 +38208,17 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
38200
38208
|
})
|
|
38201
38209
|
}).json();
|
|
38202
38210
|
}
|
|
38203
|
-
async function restoreTask(httpClient, organization_id, workspace_id, task_id, signal) {
|
|
38204
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/restore`, {
|
|
38211
|
+
async function restoreTask(httpClient, organization_id, workspace_id, task_id, scope, signal) {
|
|
38212
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/restore`, {
|
|
38213
|
+
signal,
|
|
38214
|
+
searchParams: buildSearchParams$2({ scope })
|
|
38215
|
+
}).json();
|
|
38205
38216
|
}
|
|
38206
|
-
async function unarchiveTask(httpClient, organization_id, workspace_id, task_id, signal) {
|
|
38207
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/unarchive`, {
|
|
38217
|
+
async function unarchiveTask(httpClient, organization_id, workspace_id, task_id, scope, signal) {
|
|
38218
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/unarchive`, {
|
|
38219
|
+
signal,
|
|
38220
|
+
searchParams: buildSearchParams$2({ scope })
|
|
38221
|
+
}).json();
|
|
38208
38222
|
}
|
|
38209
38223
|
//#endregion
|
|
38210
38224
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
@@ -46543,6 +46557,7 @@ const generatedFocusOperations = [
|
|
|
46543
46557
|
active_members_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46544
46558
|
filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46545
46559
|
group_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46560
|
+
has_designations: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46546
46561
|
organization_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46547
46562
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46548
46563
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51480,6 +51495,11 @@ const generatedFocusOperations = [
|
|
|
51480
51495
|
mcp: { entityTool: "tasks" },
|
|
51481
51496
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51482
51497
|
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51498
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
51499
|
+
"this",
|
|
51500
|
+
"following",
|
|
51501
|
+
"all"
|
|
51502
|
+
])),
|
|
51483
51503
|
task_id: /* @__PURE__ */ number$2()
|
|
51484
51504
|
}),
|
|
51485
51505
|
execute: (input, { client }) => {
|
|
@@ -51490,6 +51510,7 @@ const generatedFocusOperations = [
|
|
|
51490
51510
|
client.workspaceIdNumber,
|
|
51491
51511
|
data.task_id,
|
|
51492
51512
|
data.from_recurring_task_id,
|
|
51513
|
+
data.scope,
|
|
51493
51514
|
void 0
|
|
51494
51515
|
]));
|
|
51495
51516
|
}
|
|
@@ -52656,7 +52677,14 @@ const generatedFocusOperations = [
|
|
|
52656
52677
|
interactive: "default"
|
|
52657
52678
|
},
|
|
52658
52679
|
mcp: { entityTool: "tasks" },
|
|
52659
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52680
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52681
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
52682
|
+
"this",
|
|
52683
|
+
"following",
|
|
52684
|
+
"all"
|
|
52685
|
+
])),
|
|
52686
|
+
task_id: /* @__PURE__ */ number$2()
|
|
52687
|
+
}),
|
|
52660
52688
|
execute: (input, { client }) => {
|
|
52661
52689
|
const data = input;
|
|
52662
52690
|
return client.runGeneratedRequest("restoreTask", () => callGeneratedRequest(restoreTask, [
|
|
@@ -52664,6 +52692,7 @@ const generatedFocusOperations = [
|
|
|
52664
52692
|
client.organizationId,
|
|
52665
52693
|
client.workspaceIdNumber,
|
|
52666
52694
|
data.task_id,
|
|
52695
|
+
data.scope,
|
|
52667
52696
|
void 0
|
|
52668
52697
|
]));
|
|
52669
52698
|
}
|
|
@@ -52737,7 +52766,14 @@ const generatedFocusOperations = [
|
|
|
52737
52766
|
interactive: "default"
|
|
52738
52767
|
},
|
|
52739
52768
|
mcp: { entityTool: "tasks" },
|
|
52740
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52769
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52770
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
52771
|
+
"this",
|
|
52772
|
+
"following",
|
|
52773
|
+
"all"
|
|
52774
|
+
])),
|
|
52775
|
+
task_id: /* @__PURE__ */ number$2()
|
|
52776
|
+
}),
|
|
52741
52777
|
execute: (input, { client }) => {
|
|
52742
52778
|
const data = input;
|
|
52743
52779
|
return client.runGeneratedRequest("unarchiveTask", () => callGeneratedRequest(unarchiveTask, [
|
|
@@ -52745,6 +52781,7 @@ const generatedFocusOperations = [
|
|
|
52745
52781
|
client.organizationId,
|
|
52746
52782
|
client.workspaceIdNumber,
|
|
52747
52783
|
data.task_id,
|
|
52784
|
+
data.scope,
|
|
52748
52785
|
void 0
|
|
52749
52786
|
]));
|
|
52750
52787
|
}
|
|
@@ -57335,7 +57372,7 @@ function registerWorkspaceTools(server) {
|
|
|
57335
57372
|
//#region src/package-version.ts
|
|
57336
57373
|
function mcpPackageVersion() {
|
|
57337
57374
|
try {
|
|
57338
|
-
return "1.13.
|
|
57375
|
+
return "1.13.57";
|
|
57339
57376
|
} catch {
|
|
57340
57377
|
return "unknown";
|
|
57341
57378
|
}
|
|
@@ -57516,7 +57553,7 @@ import_main.default.config({
|
|
|
57516
57553
|
quiet: true,
|
|
57517
57554
|
ignore: ["MISSING_ENV_FILE"]
|
|
57518
57555
|
});
|
|
57519
|
-
const packageVersion = "1.13.
|
|
57556
|
+
const packageVersion = "1.13.57";
|
|
57520
57557
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
57521
57558
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
57522
57559
|
function resolvePublicUrls() {
|
|
@@ -57636,4 +57673,4 @@ function bootstrapServer(options = {}) {
|
|
|
57636
57673
|
//#endregion
|
|
57637
57674
|
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 };
|
|
57638
57675
|
|
|
57639
|
-
//# sourceMappingURL=src-
|
|
57676
|
+
//# sourceMappingURL=src-D-SQru59.js.map
|