@doist/todoist-mcp 13.2.3 → 13.2.4
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/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-B74_sI2e.js → mcp-server-BSP_a2Pt.js} +103 -103
- package/dist/{require-valid-todoist-token-7FOpFoUE.js → require-valid-todoist-token-DADxW2RL.js} +1 -1
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as s } from "./mcp-server-
|
|
2
|
-
import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-
|
|
3
|
-
import { r as es, v as ts } from "./require-valid-todoist-token-
|
|
1
|
+
import { t as s } from "./mcp-server-BSP_a2Pt.js";
|
|
2
|
+
import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-BSP_a2Pt.js";
|
|
3
|
+
import { r as es, v as ts } from "./require-valid-todoist-token-DADxW2RL.js";
|
|
4
4
|
const e = s;
|
|
5
5
|
export {
|
|
6
6
|
r as FEATURE_NAMES,
|
package/dist/main-http.js
CHANGED
|
@@ -3,8 +3,8 @@ import { isIP as p } from "node:net";
|
|
|
3
3
|
import O from "dotenv";
|
|
4
4
|
import { NodeStreamableHTTPServerTransport as S } from "@modelcontextprotocol/node";
|
|
5
5
|
import m from "express";
|
|
6
|
-
import { g as v } from "./mcp-server-
|
|
7
|
-
import { r as w } from "./require-valid-todoist-token-
|
|
6
|
+
import { g as v } from "./mcp-server-BSP_a2Pt.js";
|
|
7
|
+
import { r as w } from "./require-valid-todoist-token-DADxW2RL.js";
|
|
8
8
|
function f(t) {
|
|
9
9
|
return t.startsWith("[") && t.endsWith("]") ? t.slice(1, -1) : t;
|
|
10
10
|
}
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { StdioServerTransport as s } from "@modelcontextprotocol/server/stdio";
|
|
3
3
|
import c from "dotenv";
|
|
4
|
-
import { g as i } from "./mcp-server-
|
|
4
|
+
import { g as i } from "./mcp-server-BSP_a2Pt.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
|
@@ -4,7 +4,7 @@ import { readFileSync as Ks } from "node:fs";
|
|
|
4
4
|
import { dirname as Vt, join as Me } from "node:path";
|
|
5
5
|
import { fileURLToPath as qs } from "node:url";
|
|
6
6
|
import { RESOURCE_MIME_TYPE as Fe } from "@modelcontextprotocol/ext-apps/server";
|
|
7
|
-
import
|
|
7
|
+
import ce, { ZodError as Ys, z as s } from "zod";
|
|
8
8
|
import { AsyncLocalStorage as Gs } from "node:async_hooks";
|
|
9
9
|
import { createRequire as Vs } from "node:module";
|
|
10
10
|
import { TodoistApi as Js, isWorkspaceProject as Ce, isPersonalProject as q, colors as He, LOCATION_TRIGGERS as Jt, REMINDER_TYPES as Xs, createCommand as Q, REMINDER_DELIVERY_SERVICES as Qs, HEALTH_STATUSES as tt, getTaskUrl as Xt, getProjectUrl as Qt, parseTodoistUrl as Zs, WORKSPACE_ROLES as er, WORKSPACE_PLANS as tr } from "@doist/todoist-sdk";
|
|
@@ -101,7 +101,7 @@ function v(e) {
|
|
|
101
101
|
if (typeof e == "number" || typeof e == "boolean")
|
|
102
102
|
return String(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function de(e) {
|
|
105
105
|
const t = O(e);
|
|
106
106
|
return t !== void 0 ? t : v(e);
|
|
107
107
|
}
|
|
@@ -281,12 +281,12 @@ function st(e) {
|
|
|
281
281
|
_e(v(r?.message)),
|
|
282
282
|
_e(typeof e == "string" ? e : void 0)
|
|
283
283
|
), a = F(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
284
|
+
de(n?.errorCode),
|
|
285
|
+
de(n?.error_code),
|
|
286
|
+
de(n?.code),
|
|
287
|
+
de(t?.errorCode),
|
|
288
|
+
de(t?.error_code),
|
|
289
|
+
de(t?.code)
|
|
290
290
|
), c = F(
|
|
291
291
|
v(n?.errorTag),
|
|
292
292
|
v(n?.error_tag),
|
|
@@ -371,7 +371,7 @@ function yr(e) {
|
|
|
371
371
|
const t = st(e);
|
|
372
372
|
return t ? br(t) : ts(e);
|
|
373
373
|
}
|
|
374
|
-
const Tr = "13.2.
|
|
374
|
+
const Tr = "13.2.4", kr = {
|
|
375
375
|
version: Tr
|
|
376
376
|
}, j = {
|
|
377
377
|
/** Default limit for task listings */
|
|
@@ -1183,7 +1183,7 @@ class hs {
|
|
|
1183
1183
|
const Ue = new hs(
|
|
1184
1184
|
jo,
|
|
1185
1185
|
ps
|
|
1186
|
-
),
|
|
1186
|
+
), le = new hs(
|
|
1187
1187
|
$o,
|
|
1188
1188
|
ps
|
|
1189
1189
|
), ms = "me";
|
|
@@ -1269,11 +1269,11 @@ class Ao {
|
|
|
1269
1269
|
* Get collaborators for a specific project
|
|
1270
1270
|
*/
|
|
1271
1271
|
async getProjectCollaborators(t, r, o) {
|
|
1272
|
-
const n = o === void 0 ? await this.getCacheScope(t) : o, i = this.getCacheKey(n, `project_${r}`), a = i ?
|
|
1272
|
+
const n = o === void 0 ? await this.getCacheScope(t) : o, i = this.getCacheKey(n, `project_${r}`), a = i ? le.get(i) : void 0;
|
|
1273
1273
|
if (a !== void 0) return a;
|
|
1274
1274
|
try {
|
|
1275
1275
|
const c = await t.getProjectCollaborators(r), u = (Array.isArray(c) ? c : c.results || []).filter((l) => l?.id && l.name && l.email);
|
|
1276
|
-
return i &&
|
|
1276
|
+
return i && le.set(i, u), u;
|
|
1277
1277
|
} catch {
|
|
1278
1278
|
return [];
|
|
1279
1279
|
}
|
|
@@ -1282,7 +1282,7 @@ class Ao {
|
|
|
1282
1282
|
* Get all collaborators from all shared projects, deduplicated by user ID.
|
|
1283
1283
|
*/
|
|
1284
1284
|
async getAllCollaborators(t, r) {
|
|
1285
|
-
const o = r === void 0 ? await this.getCacheScope(t) : r, n = this.getCacheKey(o, "all_collaborators"), i = n ?
|
|
1285
|
+
const o = r === void 0 ? await this.getCacheScope(t) : r, n = this.getCacheKey(o, "all_collaborators"), i = n ? le.get(n) : void 0;
|
|
1286
1286
|
if (i !== void 0) return i;
|
|
1287
1287
|
try {
|
|
1288
1288
|
const c = (await z({
|
|
@@ -1291,7 +1291,7 @@ class Ao {
|
|
|
1291
1291
|
})).filter((h) => h.isShared);
|
|
1292
1292
|
if (c.length === 0) {
|
|
1293
1293
|
const h = [];
|
|
1294
|
-
return n &&
|
|
1294
|
+
return n && le.set(n, h), h;
|
|
1295
1295
|
}
|
|
1296
1296
|
const d = [], u = /* @__PURE__ */ new Set(), l = c.map(
|
|
1297
1297
|
(h) => this.getProjectCollaborators(t, h.id, o)
|
|
@@ -1300,7 +1300,7 @@ class Ao {
|
|
|
1300
1300
|
if (h.status === "fulfilled")
|
|
1301
1301
|
for (const m of h.value)
|
|
1302
1302
|
m && !u.has(m.id) && (d.push(m), u.add(m.id));
|
|
1303
|
-
return n &&
|
|
1303
|
+
return n && le.set(n, d), d;
|
|
1304
1304
|
} catch {
|
|
1305
1305
|
return [];
|
|
1306
1306
|
}
|
|
@@ -1319,7 +1319,7 @@ class Ao {
|
|
|
1319
1319
|
* Clear all caches - useful for testing
|
|
1320
1320
|
*/
|
|
1321
1321
|
clearCache() {
|
|
1322
|
-
Ue.clear(),
|
|
1322
|
+
Ue.clear(), le.clear();
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
const H = new Ao();
|
|
@@ -1358,7 +1358,7 @@ async function at(e, t) {
|
|
|
1358
1358
|
);
|
|
1359
1359
|
return { userId: r.userId, email: r.email };
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1361
|
+
function me(e, t) {
|
|
1362
1362
|
return t.length === 0 ? e : e.length === 0 ? t : `${e} & ${t}`;
|
|
1363
1363
|
}
|
|
1364
1364
|
function Qe({
|
|
@@ -1382,7 +1382,7 @@ function Eo({
|
|
|
1382
1382
|
function B(e) {
|
|
1383
1383
|
return e?.toLowerCase() === "inbox";
|
|
1384
1384
|
}
|
|
1385
|
-
async function
|
|
1385
|
+
async function te(e) {
|
|
1386
1386
|
const { projectId: t, user: r, client: o } = e;
|
|
1387
1387
|
if (!B(t))
|
|
1388
1388
|
return t;
|
|
@@ -1480,7 +1480,7 @@ function _(e) {
|
|
|
1480
1480
|
addedAt: e.addedAt?.toISOString() ?? void 0
|
|
1481
1481
|
};
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function se(e) {
|
|
1484
1484
|
return {
|
|
1485
1485
|
id: e.id,
|
|
1486
1486
|
name: e.name,
|
|
@@ -1535,12 +1535,12 @@ function Lo(e) {
|
|
|
1535
1535
|
extraData: e.extraData ?? void 0
|
|
1536
1536
|
};
|
|
1537
1537
|
}
|
|
1538
|
-
const No =
|
|
1539
|
-
httpStatusCode:
|
|
1540
|
-
responseData:
|
|
1541
|
-
error:
|
|
1542
|
-
errorCode:
|
|
1543
|
-
errorTag:
|
|
1538
|
+
const No = ce.object({
|
|
1539
|
+
httpStatusCode: ce.number(),
|
|
1540
|
+
responseData: ce.object({
|
|
1541
|
+
error: ce.string(),
|
|
1542
|
+
errorCode: ce.number(),
|
|
1543
|
+
errorTag: ce.string()
|
|
1544
1544
|
})
|
|
1545
1545
|
});
|
|
1546
1546
|
function Ae(e) {
|
|
@@ -1674,7 +1674,7 @@ const be = s.enum(De).optional().catch(void 0), K = s.object({
|
|
|
1674
1674
|
checked: s.boolean().describe("Whether the task is completed."),
|
|
1675
1675
|
completedAt: s.string().optional().describe("ISO 8601."),
|
|
1676
1676
|
addedAt: s.string().optional().describe("ISO 8601.")
|
|
1677
|
-
}),
|
|
1677
|
+
}), re = s.object({
|
|
1678
1678
|
id: s.string(),
|
|
1679
1679
|
name: s.string(),
|
|
1680
1680
|
description: s.string().describe("Empty string when none."),
|
|
@@ -1757,7 +1757,7 @@ const zo = s.object({
|
|
|
1757
1757
|
locTrigger: s.enum(Jt).optional().describe("Location reminders only."),
|
|
1758
1758
|
radius: s.number().optional().describe("Geofence radius in metres. Location reminders only."),
|
|
1759
1759
|
isUrgent: s.boolean().optional().describe("Relative and absolute reminders only.")
|
|
1760
|
-
}),
|
|
1760
|
+
}), oe = s.object({
|
|
1761
1761
|
item: s.string().describe("Usually the ID of the item that failed."),
|
|
1762
1762
|
error: s.string(),
|
|
1763
1763
|
code: s.string().optional()
|
|
@@ -1796,7 +1796,7 @@ const zo = s.object({
|
|
|
1796
1796
|
}
|
|
1797
1797
|
const o = r.some((p) => B(p.projectId)), n = r.some((p) => !p.notifyUsers), i = o || n ? await t.getUser() : void 0, a = await Promise.all(
|
|
1798
1798
|
r.map(async (p) => {
|
|
1799
|
-
const h = await
|
|
1799
|
+
const h = await te({
|
|
1800
1800
|
projectId: p.projectId,
|
|
1801
1801
|
user: i,
|
|
1802
1802
|
client: i ? void 0 : t
|
|
@@ -2030,7 +2030,7 @@ function hn({ labels: e }) {
|
|
|
2030
2030
|
${r}`;
|
|
2031
2031
|
}
|
|
2032
2032
|
const mn = "[redacted]";
|
|
2033
|
-
function
|
|
2033
|
+
function ne(e, t, r, o = {}) {
|
|
2034
2034
|
if (r.length === 0)
|
|
2035
2035
|
return;
|
|
2036
2036
|
const n = r.slice(0, wr.MAX_FAILURES_LOGGED);
|
|
@@ -2040,7 +2040,7 @@ function oe(e, t, r, o = {}) {
|
|
|
2040
2040
|
sample: o.redactItems ? n.map((i) => ({ ...i, item: mn })) : n
|
|
2041
2041
|
});
|
|
2042
2042
|
}
|
|
2043
|
-
function
|
|
2043
|
+
function he(e = /* @__PURE__ */ new Date()) {
|
|
2044
2044
|
const t = e.getFullYear(), r = String(e.getMonth() + 1).padStart(2, "0"), o = String(e.getDate()).padStart(2, "0");
|
|
2045
2045
|
return `${t}-${r}-${o}`;
|
|
2046
2046
|
}
|
|
@@ -2204,9 +2204,9 @@ const vs = new kn(), wn = s.object({
|
|
|
2204
2204
|
}), vn = {
|
|
2205
2205
|
projects: s.array(wn).min(1).describe("The array of projects to add.")
|
|
2206
2206
|
}, In = {
|
|
2207
|
-
projects: s.array(
|
|
2207
|
+
projects: s.array(re).describe("The created projects."),
|
|
2208
2208
|
totalCount: s.number().describe("The total number of projects created."),
|
|
2209
|
-
failures: s.array(
|
|
2209
|
+
failures: s.array(oe).describe(
|
|
2210
2210
|
"Projects that could not be created, with the reason for each. A failure here does not affect the other projects in the batch — do not retry the whole batch; address or drop the failed items."
|
|
2211
2211
|
),
|
|
2212
2212
|
totalRequested: s.number().describe("The total number of projects requested."),
|
|
@@ -2240,8 +2240,8 @@ const vs = new kn(), wn = s.object({
|
|
|
2240
2240
|
error: N(u.reason)
|
|
2241
2241
|
});
|
|
2242
2242
|
});
|
|
2243
|
-
const c = i.map(
|
|
2244
|
-
return
|
|
2243
|
+
const c = i.map(se);
|
|
2244
|
+
return ne(g.ADD_PROJECTS, e.length, a, { redactItems: !0 }), {
|
|
2245
2245
|
textContent: Cn({ projects: i, failures: a }),
|
|
2246
2246
|
structuredContent: {
|
|
2247
2247
|
projects: c,
|
|
@@ -2377,7 +2377,7 @@ const _n = s.object({
|
|
|
2377
2377
|
}, Rn = {
|
|
2378
2378
|
sections: s.array(Y).describe("The created sections."),
|
|
2379
2379
|
totalCount: s.number().describe("The total number of sections created."),
|
|
2380
|
-
failures: s.array(
|
|
2380
|
+
failures: s.array(oe).describe(
|
|
2381
2381
|
"Sections that could not be created, with the reason for each. A failure here does not affect the other sections in the batch — do not retry the whole batch; address or drop the failed items."
|
|
2382
2382
|
),
|
|
2383
2383
|
totalRequested: s.number().describe("The total number of sections requested."),
|
|
@@ -2392,7 +2392,7 @@ const _n = s.object({
|
|
|
2392
2392
|
async execute({ sections: e }, t) {
|
|
2393
2393
|
const r = e.some((c) => B(c.projectId)) ? P(() => t.getUser()) : void 0, o = await Promise.allSettled(
|
|
2394
2394
|
e.map(async (c) => {
|
|
2395
|
-
const d = B(c.projectId) ? await r : void 0, u = await
|
|
2395
|
+
const d = B(c.projectId) ? await r : void 0, u = await te({
|
|
2396
2396
|
projectId: c.projectId,
|
|
2397
2397
|
user: d,
|
|
2398
2398
|
client: void 0
|
|
@@ -2405,7 +2405,7 @@ const _n = s.object({
|
|
|
2405
2405
|
item: e[d]?.name ?? `Section ${d + 1}`,
|
|
2406
2406
|
error: N(c.reason)
|
|
2407
2407
|
});
|
|
2408
|
-
}),
|
|
2408
|
+
}), ne(g.ADD_SECTIONS, e.length, i, { redactItems: !0 }), {
|
|
2409
2409
|
textContent: Nn({ sections: n, failures: i }),
|
|
2410
2410
|
structuredContent: {
|
|
2411
2411
|
sections: n.map(G),
|
|
@@ -2427,7 +2427,7 @@ function Nn({
|
|
|
2427
2427
|
${o}` : "Added 0 sections";
|
|
2428
2428
|
return mt(n, t);
|
|
2429
2429
|
}
|
|
2430
|
-
const
|
|
2430
|
+
const ue = {
|
|
2431
2431
|
USER_NOT_FOUND: "USER_NOT_FOUND",
|
|
2432
2432
|
USER_NOT_COLLABORATOR: "USER_NOT_COLLABORATOR",
|
|
2433
2433
|
PROJECT_NOT_SHARED: "PROJECT_NOT_SHARED",
|
|
@@ -2448,7 +2448,7 @@ class Mn {
|
|
|
2448
2448
|
taskId: o,
|
|
2449
2449
|
projectId: n,
|
|
2450
2450
|
error: {
|
|
2451
|
-
type:
|
|
2451
|
+
type: ue.USER_NOT_FOUND,
|
|
2452
2452
|
message: `User "${i}" not found`,
|
|
2453
2453
|
suggestions: [
|
|
2454
2454
|
"Check the spelling of the user name or email",
|
|
@@ -2466,7 +2466,7 @@ class Mn {
|
|
|
2466
2466
|
projectId: n,
|
|
2467
2467
|
resolvedUser: a,
|
|
2468
2468
|
error: {
|
|
2469
|
-
type:
|
|
2469
|
+
type: ue.PROJECT_NOT_SHARED,
|
|
2470
2470
|
message: `Project "${c.name}" is not shared. Task assignments require a shared project with collaborators. Share the project with at least one other person to enable assignments.`,
|
|
2471
2471
|
suggestions: [
|
|
2472
2472
|
"Share the project with at least one collaborator to enable assignments",
|
|
@@ -2485,7 +2485,7 @@ class Mn {
|
|
|
2485
2485
|
projectId: n,
|
|
2486
2486
|
resolvedUser: a,
|
|
2487
2487
|
error: {
|
|
2488
|
-
type:
|
|
2488
|
+
type: ue.USER_NOT_COLLABORATOR,
|
|
2489
2489
|
message: `User "${a.displayName}" is not a collaborator on project "${c.name}"`,
|
|
2490
2490
|
suggestions: [
|
|
2491
2491
|
"Invite the user to collaborate on this project first",
|
|
@@ -2504,7 +2504,7 @@ class Mn {
|
|
|
2504
2504
|
projectId: n,
|
|
2505
2505
|
resolvedUser: a,
|
|
2506
2506
|
error: {
|
|
2507
|
-
type:
|
|
2507
|
+
type: ue.TASK_NOT_FOUND,
|
|
2508
2508
|
message: `Task "${o}" not found or not accessible`,
|
|
2509
2509
|
suggestions: [
|
|
2510
2510
|
"Verify the task ID is correct",
|
|
@@ -2527,7 +2527,7 @@ class Mn {
|
|
|
2527
2527
|
projectId: n,
|
|
2528
2528
|
resolvedUser: a,
|
|
2529
2529
|
error: {
|
|
2530
|
-
type:
|
|
2530
|
+
type: ue.PERMISSION_DENIED,
|
|
2531
2531
|
message: "Permission denied or API error occurred",
|
|
2532
2532
|
suggestions: [
|
|
2533
2533
|
"Check your API permissions",
|
|
@@ -2577,7 +2577,7 @@ class Mn {
|
|
|
2577
2577
|
isValid: !1,
|
|
2578
2578
|
taskId: r,
|
|
2579
2579
|
error: {
|
|
2580
|
-
type:
|
|
2580
|
+
type: ue.TASK_NOT_FOUND,
|
|
2581
2581
|
message: `Task "${r}" not found or not accessible`,
|
|
2582
2582
|
suggestions: [
|
|
2583
2583
|
"Verify the task ID is correct",
|
|
@@ -2680,7 +2680,7 @@ const ft = new Mn(), Ot = rs.TASKS_PER_OPERATION, Fn = s.object({
|
|
|
2680
2680
|
}, Hn = {
|
|
2681
2681
|
tasks: s.array(K).describe("The created tasks."),
|
|
2682
2682
|
totalCount: s.number().describe("The total number of tasks created."),
|
|
2683
|
-
failures: s.array(
|
|
2683
|
+
failures: s.array(oe).describe("Failed task creations with error details."),
|
|
2684
2684
|
totalRequested: s.number().describe("The total number of tasks requested."),
|
|
2685
2685
|
successCount: s.number().describe("The number of successfully created tasks."),
|
|
2686
2686
|
failureCount: s.number().describe("The number of failed task creations.")
|
|
@@ -2726,7 +2726,7 @@ const ft = new Mn(), Ot = rs.TASKS_PER_OPERATION, Fn = s.object({
|
|
|
2726
2726
|
throw u ? new ss(m) : new Error(m);
|
|
2727
2727
|
}
|
|
2728
2728
|
const l = c.map(_);
|
|
2729
|
-
return
|
|
2729
|
+
return ne(g.ADD_TASKS, r.length, d, { redactItems: !0 }), {
|
|
2730
2730
|
textContent: Kn({
|
|
2731
2731
|
tasks: l,
|
|
2732
2732
|
failures: d,
|
|
@@ -2900,7 +2900,7 @@ ${n}`,
|
|
|
2900
2900
|
ids: s.array(s.string().min(1)).min(1).describe("The IDs of the tasks to complete.")
|
|
2901
2901
|
}, Jn = {
|
|
2902
2902
|
completed: s.array(s.string()).describe("The IDs of successfully completed tasks."),
|
|
2903
|
-
failures: s.array(
|
|
2903
|
+
failures: s.array(oe).describe("Failed task completions with error details."),
|
|
2904
2904
|
totalRequested: s.number().describe("The total number of tasks requested to complete."),
|
|
2905
2905
|
successCount: s.number().describe("The number of successfully completed tasks."),
|
|
2906
2906
|
failureCount: s.number().describe("The number of failed task completions.")
|
|
@@ -2921,7 +2921,7 @@ ${n}`,
|
|
|
2921
2921
|
error: N(a)
|
|
2922
2922
|
});
|
|
2923
2923
|
}
|
|
2924
|
-
return
|
|
2924
|
+
return ne(g.COMPLETE_TASKS, e.ids.length, o), {
|
|
2925
2925
|
textContent: Qn({
|
|
2926
2926
|
completed: r,
|
|
2927
2927
|
failures: o,
|
|
@@ -3080,7 +3080,7 @@ const ii = K.pick({
|
|
|
3080
3080
|
hasChildren: s.boolean().describe(
|
|
3081
3081
|
"Whether this subtask has subtasks of its own. Fetch it with includeChildren to expand."
|
|
3082
3082
|
)
|
|
3083
|
-
}), ai =
|
|
3083
|
+
}), ai = re.pick({ id: !0, name: !0 }).extend({
|
|
3084
3084
|
hasChildren: s.boolean().describe(
|
|
3085
3085
|
"Whether this sub-project has sub-projects of its own. Fetch it with includeChildren to expand."
|
|
3086
3086
|
)
|
|
@@ -3163,7 +3163,7 @@ const $s = ["task", "project", "comment", "section"], ui = {
|
|
|
3163
3163
|
}, pi = {
|
|
3164
3164
|
type: s.enum($s).describe("The type of object fetched."),
|
|
3165
3165
|
id: s.string().describe("The ID of the fetched object."),
|
|
3166
|
-
object: s.union([K,
|
|
3166
|
+
object: s.union([K, re, ve, Y]).describe("The fetched object data."),
|
|
3167
3167
|
...ci
|
|
3168
3168
|
}, hi = {
|
|
3169
3169
|
name: g.FETCH_OBJECT,
|
|
@@ -3191,7 +3191,7 @@ const $s = ["task", "project", "comment", "section"], ui = {
|
|
|
3191
3191
|
};
|
|
3192
3192
|
}
|
|
3193
3193
|
case "project": {
|
|
3194
|
-
const i = await t.getProject(o), a =
|
|
3194
|
+
const i = await t.getProject(o), a = se(i), c = n ? await Ut(() => li(t, i)) : {};
|
|
3195
3195
|
return {
|
|
3196
3196
|
textContent: `Found project: ${a.name} • id=${a.id} • color=${a.color} • viewStyle=${a.viewStyle}${Rt("subProjects", c)}`,
|
|
3197
3197
|
structuredContent: {
|
|
@@ -3282,7 +3282,7 @@ Labels: ${c.labels.join(", ")}`), i = {
|
|
|
3282
3282
|
}
|
|
3283
3283
|
};
|
|
3284
3284
|
} else {
|
|
3285
|
-
const a = await t.getProject(n), c =
|
|
3285
|
+
const a = await t.getProject(n), c = se(a), d = [c.name];
|
|
3286
3286
|
c.description && d.push(`
|
|
3287
3287
|
|
|
3288
3288
|
Description: ${c.description}`), c.isShared && d.push(`
|
|
@@ -3470,7 +3470,7 @@ const Ci = {
|
|
|
3470
3470
|
throw new Error(
|
|
3471
3471
|
"Cannot provide multiple search parameters. Choose one of: taskId, projectId, or commentId."
|
|
3472
3472
|
);
|
|
3473
|
-
const n = await
|
|
3473
|
+
const n = await te({
|
|
3474
3474
|
projectId: e.projectId,
|
|
3475
3475
|
client: t
|
|
3476
3476
|
});
|
|
@@ -3639,8 +3639,8 @@ const _i = {
|
|
|
3639
3639
|
);
|
|
3640
3640
|
const h = await at(t, c), m = h?.email;
|
|
3641
3641
|
let f = gt(o, n);
|
|
3642
|
-
h && m && (f =
|
|
3643
|
-
const w = await t.getUser(), C = w.tzInfo?.gmtString || "+00:00", D = await
|
|
3642
|
+
h && m && (f = me(f, `assigned to: ${m}`));
|
|
3643
|
+
const w = await t.getUser(), C = w.tzInfo?.gmtString || "+00:00", D = await te({
|
|
3644
3644
|
projectId: d,
|
|
3645
3645
|
user: w
|
|
3646
3646
|
}), T = Pi({
|
|
@@ -3974,7 +3974,7 @@ const { ADD_PROJECTS: Mt } = g, Yi = {
|
|
|
3974
3974
|
"Which projects to return by archive status: 'active' (default, non-archived only), 'archived' (archived only), or 'all' (both active and archived). Each project includes an isArchived field. Archived projects can be deleted via the delete-object tool (type: 'project')."
|
|
3975
3975
|
)
|
|
3976
3976
|
}, Vi = {
|
|
3977
|
-
projects: s.array(
|
|
3977
|
+
projects: s.array(re).describe("The found projects."),
|
|
3978
3978
|
nextCursor: s.string().optional(),
|
|
3979
3979
|
totalCount: s.number().describe("The total number of projects in this page."),
|
|
3980
3980
|
hasMore: s.boolean(),
|
|
@@ -4001,7 +4001,7 @@ const { ADD_PROJECTS: Mt } = g, Yi = {
|
|
|
4001
4001
|
}) : await t.getProjects({ limit: e.limit, cursor: e.cursor ?? null });
|
|
4002
4002
|
n = c.results, i = c.nextCursor;
|
|
4003
4003
|
}
|
|
4004
|
-
const a = n.map(
|
|
4004
|
+
const a = n.map(se);
|
|
4005
4005
|
return {
|
|
4006
4006
|
textContent: Xi({ projects: a, args: e, nextCursor: i }),
|
|
4007
4007
|
structuredContent: {
|
|
@@ -4139,7 +4139,7 @@ const { ADD_SECTIONS: sa } = g, ra = {
|
|
|
4139
4139
|
outputSchema: oa,
|
|
4140
4140
|
annotations: { readOnlyHint: !0, destructiveHint: !1, idempotentHint: !0 },
|
|
4141
4141
|
async execute(e, t) {
|
|
4142
|
-
const r = await
|
|
4142
|
+
const r = await te({
|
|
4143
4143
|
projectId: e.projectId,
|
|
4144
4144
|
client: t
|
|
4145
4145
|
});
|
|
@@ -4226,7 +4226,7 @@ const aa = {
|
|
|
4226
4226
|
d = "overdue";
|
|
4227
4227
|
else if (e.startDate === "today")
|
|
4228
4228
|
if (e.daysCount > 1) {
|
|
4229
|
-
const y = /* @__PURE__ */ new Date(), f =
|
|
4229
|
+
const y = /* @__PURE__ */ new Date(), f = he(y), w = We(y, e.daysCount), C = yt(w, { representation: "date" }), D = `(due after: ${f} | due: ${f}) & due before: ${C}`;
|
|
4230
4230
|
d = e.overdueOption === "exclude-overdue" ? D : `(${D} | overdue)`;
|
|
4231
4231
|
} else
|
|
4232
4232
|
d = e.overdueOption === "exclude-overdue" ? "today" : "(today | overdue)";
|
|
@@ -4235,14 +4235,14 @@ const aa = {
|
|
|
4235
4235
|
d = `(due after: ${y} | due: ${y}) & due before: ${w}`;
|
|
4236
4236
|
}
|
|
4237
4237
|
const u = gt(e.labels, e.labelsOperator);
|
|
4238
|
-
u.length > 0 && (d =
|
|
4238
|
+
u.length > 0 && (d = me(d, `(${u})`));
|
|
4239
4239
|
const l = Qe({
|
|
4240
4240
|
resolvedAssigneeId: n,
|
|
4241
4241
|
assigneeEmail: i,
|
|
4242
4242
|
currentUserId: c,
|
|
4243
4243
|
responsibleUserFiltering: e.responsibleUserFiltering
|
|
4244
4244
|
});
|
|
4245
|
-
d =
|
|
4245
|
+
d = me(d, l);
|
|
4246
4246
|
const { tasks: p, nextCursor: h } = await dt({
|
|
4247
4247
|
client: t,
|
|
4248
4248
|
query: d,
|
|
@@ -4276,7 +4276,7 @@ function la({
|
|
|
4276
4276
|
`today${c}${t.daysCount > 1 ? ` + ${t.daysCount - 1} more days` : ""}`
|
|
4277
4277
|
);
|
|
4278
4278
|
} else if (t.startDate) {
|
|
4279
|
-
const c = t.daysCount > 1 ? ` to ${
|
|
4279
|
+
const c = t.daysCount > 1 ? ` to ${he(We(_s(t.startDate), t.daysCount))}` : "";
|
|
4280
4280
|
n.push(`${t.startDate}${c}`);
|
|
4281
4281
|
}
|
|
4282
4282
|
if (t.labels && t.labels.length > 0) {
|
|
@@ -4445,20 +4445,20 @@ const ha = new pa(), { FIND_COMPLETED_TASKS: Ft, ADD_TASKS: Ht } = g, ma = {
|
|
|
4445
4445
|
limit: d,
|
|
4446
4446
|
cursor: y ?? null
|
|
4447
4447
|
};
|
|
4448
|
-
o && (E.projectId = await
|
|
4449
|
-
const { results: Ie, nextCursor: J } = await t.getTasks(E),
|
|
4450
|
-
let M = r ?
|
|
4451
|
-
(
|
|
4452
|
-
) :
|
|
4448
|
+
o && (E.projectId = await te({ projectId: o, user: f })), n && (E.sectionId = n), i && (E.parentId = i);
|
|
4449
|
+
const { results: Ie, nextCursor: J } = await t.getTasks(E), ie = Ie.map(_);
|
|
4450
|
+
let M = r ? ie.filter(
|
|
4451
|
+
(ae) => ae.content.toLowerCase().includes(r.toLowerCase()) || ae.description?.toLowerCase().includes(r.toLowerCase())
|
|
4452
|
+
) : ie;
|
|
4453
4453
|
return M = Eo({
|
|
4454
4454
|
tasks: M,
|
|
4455
4455
|
resolvedAssigneeId: T,
|
|
4456
4456
|
currentUserId: f.id,
|
|
4457
4457
|
responsibleUserFiltering: c
|
|
4458
4458
|
}), l && l.length > 0 && (M = p === "and" ? M.filter(
|
|
4459
|
-
(
|
|
4459
|
+
(ae) => l.every((Pe) => ae.labels.includes(Pe))
|
|
4460
4460
|
) : M.filter(
|
|
4461
|
-
(
|
|
4461
|
+
(ae) => l.some((Pe) => ae.labels.includes(Pe))
|
|
4462
4462
|
)), {
|
|
4463
4463
|
textContent: Re({
|
|
4464
4464
|
tasks: M,
|
|
@@ -4487,35 +4487,35 @@ const ha = new pa(), { FIND_COMPLETED_TASKS: Ft, ADD_TASKS: Ht } = g, ma = {
|
|
|
4487
4487
|
lang: "en",
|
|
4488
4488
|
limit: d,
|
|
4489
4489
|
cursor: y ?? null
|
|
4490
|
-
}),
|
|
4490
|
+
}), ie = Ie.map(_);
|
|
4491
4491
|
return {
|
|
4492
4492
|
textContent: Re({
|
|
4493
|
-
tasks:
|
|
4493
|
+
tasks: ie,
|
|
4494
4494
|
args: e,
|
|
4495
4495
|
nextCursor: J,
|
|
4496
4496
|
isContainerSearch: !1,
|
|
4497
4497
|
assigneeEmail: I
|
|
4498
4498
|
}),
|
|
4499
4499
|
structuredContent: {
|
|
4500
|
-
tasks:
|
|
4500
|
+
tasks: ie,
|
|
4501
4501
|
nextCursor: J ?? void 0,
|
|
4502
|
-
totalCount:
|
|
4502
|
+
totalCount: ie.length,
|
|
4503
4503
|
hasMore: !!J,
|
|
4504
4504
|
appliedFilters: e
|
|
4505
4505
|
}
|
|
4506
4506
|
};
|
|
4507
4507
|
}
|
|
4508
4508
|
let $ = C ? `(${C})` : "";
|
|
4509
|
-
r && ($ =
|
|
4509
|
+
r && ($ = me($, `search: ${r}`));
|
|
4510
4510
|
const k = gt(l, p);
|
|
4511
|
-
if ($ =
|
|
4511
|
+
if ($ = me($, k), !(m && !a && !c)) {
|
|
4512
4512
|
const E = Qe({
|
|
4513
4513
|
resolvedAssigneeId: T,
|
|
4514
4514
|
assigneeEmail: I,
|
|
4515
4515
|
currentUserId: f.id,
|
|
4516
4516
|
responsibleUserFiltering: c
|
|
4517
4517
|
});
|
|
4518
|
-
$ =
|
|
4518
|
+
$ = me($, E);
|
|
4519
4519
|
}
|
|
4520
4520
|
const { tasks: S, nextCursor: A } = await dt({
|
|
4521
4521
|
client: t,
|
|
@@ -4607,7 +4607,7 @@ function Re({
|
|
|
4607
4607
|
}
|
|
4608
4608
|
const ya = {
|
|
4609
4609
|
projectId: s.string().min(1).optional().describe(
|
|
4610
|
-
|
|
4610
|
+
'Optional project ID. Use "inbox" for the Inbox. If provided, shows detailed overview of that project. If omitted, shows overview of all projects.'
|
|
4611
4611
|
)
|
|
4612
4612
|
}, Us = s.lazy(
|
|
4613
4613
|
() => s.object({
|
|
@@ -4842,13 +4842,13 @@ const ja = {
|
|
|
4842
4842
|
outputSchema: Ta,
|
|
4843
4843
|
annotations: { readOnlyHint: !0, destructiveHint: !1, idempotentHint: !0 },
|
|
4844
4844
|
async execute(e, t) {
|
|
4845
|
-
const r = e.projectId ? await Ca(t,
|
|
4845
|
+
const r = await te({ projectId: e.projectId, client: t }), o = r ? await Ca(t, r) : await Sa(t);
|
|
4846
4846
|
return {
|
|
4847
|
-
textContent:
|
|
4848
|
-
structuredContent:
|
|
4847
|
+
textContent: o.textContent,
|
|
4848
|
+
structuredContent: o.structuredContent
|
|
4849
4849
|
};
|
|
4850
4850
|
}
|
|
4851
|
-
}, $a = {},
|
|
4851
|
+
}, $a = {}, pe = s.object({
|
|
4852
4852
|
count: s.number().describe("Number of consecutive periods in this streak."),
|
|
4853
4853
|
start: s.string().describe("Start date of the streak."),
|
|
4854
4854
|
end: s.string().describe("End date of the streak.")
|
|
@@ -4875,12 +4875,12 @@ const ja = {
|
|
|
4875
4875
|
goals: s.object({
|
|
4876
4876
|
dailyGoal: s.number().describe("Daily task completion goal."),
|
|
4877
4877
|
weeklyGoal: s.number().describe("Weekly task completion goal."),
|
|
4878
|
-
currentDailyStreak:
|
|
4879
|
-
currentWeeklyStreak:
|
|
4880
|
-
lastDailyStreak:
|
|
4881
|
-
lastWeeklyStreak:
|
|
4882
|
-
maxDailyStreak:
|
|
4883
|
-
maxWeeklyStreak:
|
|
4878
|
+
currentDailyStreak: pe.describe("Current daily goal streak."),
|
|
4879
|
+
currentWeeklyStreak: pe.describe("Current weekly goal streak."),
|
|
4880
|
+
lastDailyStreak: pe.describe("Previous daily goal streak."),
|
|
4881
|
+
lastWeeklyStreak: pe.describe("Previous weekly goal streak."),
|
|
4882
|
+
maxDailyStreak: pe.describe("Best daily goal streak ever."),
|
|
4883
|
+
maxWeeklyStreak: pe.describe("Best weekly goal streak ever."),
|
|
4884
4884
|
vacationMode: s.boolean().describe("Whether vacation mode is enabled."),
|
|
4885
4885
|
karmaDisabled: s.boolean().describe("Whether karma tracking is disabled.")
|
|
4886
4886
|
}).describe("Goal and streak information."),
|
|
@@ -5636,7 +5636,7 @@ const cc = {
|
|
|
5636
5636
|
action: s.enum(["archive", "unarchive"]).describe("The action to perform on the project."),
|
|
5637
5637
|
projectId: s.string().min(1).describe("The ID of the project.")
|
|
5638
5638
|
}, dc = {
|
|
5639
|
-
project:
|
|
5639
|
+
project: re.describe("The updated project."),
|
|
5640
5640
|
success: s.boolean().describe("Whether the action was successful.")
|
|
5641
5641
|
}, lc = {
|
|
5642
5642
|
name: g.PROJECT_MANAGEMENT,
|
|
@@ -5645,7 +5645,7 @@ const cc = {
|
|
|
5645
5645
|
outputSchema: dc,
|
|
5646
5646
|
annotations: { readOnlyHint: !1, destructiveHint: !1, idempotentHint: !0 },
|
|
5647
5647
|
async execute(e, t) {
|
|
5648
|
-
const r = e.action === "archive" ? await t.archiveProject(e.projectId) : await t.unarchiveProject(e.projectId), o =
|
|
5648
|
+
const r = e.action === "archive" ? await t.archiveProject(e.projectId) : await t.unarchiveProject(e.projectId), o = se(r);
|
|
5649
5649
|
return {
|
|
5650
5650
|
textContent: `${e.action === "archive" ? "Archived" : "Unarchived"} project: ${o.name} (id=${o.id})`,
|
|
5651
5651
|
structuredContent: {
|
|
@@ -5663,7 +5663,7 @@ const cc = {
|
|
|
5663
5663
|
"Optional access visibility for the project in the workspace (restricted, team, or public)."
|
|
5664
5664
|
)
|
|
5665
5665
|
}, pc = {
|
|
5666
|
-
project:
|
|
5666
|
+
project: re.describe("The moved project."),
|
|
5667
5667
|
success: s.boolean().describe("Whether the move was successful.")
|
|
5668
5668
|
}, hc = {
|
|
5669
5669
|
name: g.PROJECT_MOVE,
|
|
@@ -5683,7 +5683,7 @@ const cc = {
|
|
|
5683
5683
|
e.folderId && (i.folderId = e.folderId), e.visibility && (i.access = { visibility: e.visibility }), r = await t.moveProjectToWorkspace(i);
|
|
5684
5684
|
} else
|
|
5685
5685
|
r = await t.moveProjectToPersonal({ projectId: e.projectId });
|
|
5686
|
-
const o =
|
|
5686
|
+
const o = se(r);
|
|
5687
5687
|
return {
|
|
5688
5688
|
textContent: `${e.action === "move-to-workspace" ? "Moved to workspace" : "Moved to personal"}: ${o.name} (id=${o.id})`,
|
|
5689
5689
|
structuredContent: {
|
|
@@ -5895,7 +5895,7 @@ const vc = {
|
|
|
5895
5895
|
ids: s.array(s.string().min(1)).min(1).describe("The IDs of the tasks to uncomplete.")
|
|
5896
5896
|
}, jc = {
|
|
5897
5897
|
uncompleted: s.array(s.string()).describe("The IDs of successfully uncompleted tasks."),
|
|
5898
|
-
failures: s.array(
|
|
5898
|
+
failures: s.array(oe).describe("Failed task uncompletion with error details."),
|
|
5899
5899
|
totalRequested: s.number().describe("The total number of tasks requested to uncomplete."),
|
|
5900
5900
|
successCount: s.number().describe("The number of successfully uncompleted tasks."),
|
|
5901
5901
|
failureCount: s.number().describe("The number of failed task uncompletions.")
|
|
@@ -5916,7 +5916,7 @@ const vc = {
|
|
|
5916
5916
|
error: N(a)
|
|
5917
5917
|
});
|
|
5918
5918
|
}
|
|
5919
|
-
return
|
|
5919
|
+
return ne(g.UNCOMPLETE_TASKS, e.ids.length, o), {
|
|
5920
5920
|
textContent: Ac({
|
|
5921
5921
|
uncompleted: r,
|
|
5922
5922
|
failures: o,
|
|
@@ -6216,10 +6216,10 @@ const Vc = s.object({
|
|
|
6216
6216
|
}), Jc = {
|
|
6217
6217
|
projects: s.array(Vc).min(1).describe("The projects to update.")
|
|
6218
6218
|
}, Xc = {
|
|
6219
|
-
projects: s.array(
|
|
6219
|
+
projects: s.array(re).describe("The updated projects."),
|
|
6220
6220
|
totalCount: s.number().describe("The total number of projects updated."),
|
|
6221
6221
|
updatedProjectIds: s.array(s.string()).describe("The IDs of the updated projects."),
|
|
6222
|
-
failures: s.array(
|
|
6222
|
+
failures: s.array(oe).describe(
|
|
6223
6223
|
"Projects that could not be updated, with the reason for each. A failure here does not affect the other projects in the batch — do not retry the whole batch; address or drop the failed items."
|
|
6224
6224
|
),
|
|
6225
6225
|
appliedOperations: s.object({
|
|
@@ -6251,9 +6251,9 @@ const Vc = s.object({
|
|
|
6251
6251
|
});
|
|
6252
6252
|
continue;
|
|
6253
6253
|
}
|
|
6254
|
-
l.value.kind === "updated" ? n.push(
|
|
6254
|
+
l.value.kind === "updated" ? n.push(se(l.value.project)) : l.value.reason === "no-fields" ? a++ : c++;
|
|
6255
6255
|
}
|
|
6256
|
-
return
|
|
6256
|
+
return ne(g.UPDATE_PROJECTS, r.length, i), {
|
|
6257
6257
|
textContent: Zc({
|
|
6258
6258
|
projects: n,
|
|
6259
6259
|
skippedNoFields: a,
|
|
@@ -6503,7 +6503,7 @@ const gd = s.object({
|
|
|
6503
6503
|
tasks: s.array(K).describe("The updated tasks."),
|
|
6504
6504
|
totalCount: s.number().describe("The total number of tasks updated."),
|
|
6505
6505
|
updatedTaskIds: s.array(s.string()).describe("The IDs of the updated tasks."),
|
|
6506
|
-
failures: s.array(
|
|
6506
|
+
failures: s.array(oe).describe(
|
|
6507
6507
|
"Tasks that could not be updated, with the reason for each. A failure here does not affect the other tasks in the batch."
|
|
6508
6508
|
),
|
|
6509
6509
|
appliedOperations: s.object({
|
|
@@ -6602,7 +6602,7 @@ const gd = s.object({
|
|
|
6602
6602
|
b && "task" in b && (o[k.index] = { kind: "updated", task: b.task });
|
|
6603
6603
|
}
|
|
6604
6604
|
const { updatedTasks: w, failures: C, skippedCount: D } = Sd({ tasks: r, outcomes: o }), T = u.filter((k) => k.redundantMoveSkipped).length, I = w.map(_);
|
|
6605
|
-
return
|
|
6605
|
+
return ne(g.UPDATE_TASKS, r.length, C), {
|
|
6606
6606
|
textContent: Ed({
|
|
6607
6607
|
tasks: I,
|
|
6608
6608
|
failures: C,
|
|
@@ -6930,8 +6930,8 @@ async function Wd(e) {
|
|
|
6930
6930
|
"## Week Settings",
|
|
6931
6931
|
`**Week Start Day:** ${c} (${a})`,
|
|
6932
6932
|
`**Current Week:** Week ${h}`,
|
|
6933
|
-
`**Week Start Date:** ${
|
|
6934
|
-
`**Week End Date:** ${
|
|
6933
|
+
`**Week Start Date:** ${he(l)}`,
|
|
6934
|
+
`**Week End Date:** ${he(p)}`,
|
|
6935
6935
|
"",
|
|
6936
6936
|
"## Daily Progress",
|
|
6937
6937
|
`**Completed Today:** ${t.completedToday}`,
|
|
@@ -6949,8 +6949,8 @@ async function Wd(e) {
|
|
|
6949
6949
|
currentLocalTime: i,
|
|
6950
6950
|
startDay: a,
|
|
6951
6951
|
startDayName: c,
|
|
6952
|
-
weekStartDate:
|
|
6953
|
-
weekEndDate:
|
|
6952
|
+
weekStartDate: he(l),
|
|
6953
|
+
weekEndDate: he(p),
|
|
6954
6954
|
currentWeekNumber: h,
|
|
6955
6955
|
completedToday: t.completedToday,
|
|
6956
6956
|
dailyGoal: t.dailyGoal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,EAAuC,MAAM,oBAAoB,CAAA;AAEjF,OAAO,EAAiB,KAAK,cAAc,EAAoB,MAAM,4BAA4B,CAAA;AA4NjG,KAAK,gBAAgB,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC/B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,CAAC,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,cAAc,EAAE,CAAA;KAC7B,CAAA;IACD,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,OAAO,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;KACf,CAAA;IACD,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,GAAG;QAAE,QAAQ,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC,CAAA;IAChE,KAAK,EAAE;QACH,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,mBAAmB,EAAE,MAAM,CAAA;KAC9B,CAAA;CACJ,CAAA;AAmKD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBArZT,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR,cAAc,EAAE;sBAChB,OAAO,EAAE;;gBANf,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR,cAAc,EAAE;sBAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiawC,CAAA;AAE/D,OAAO,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,CAAA"}
|