@doist/todoist-mcp 13.9.0 → 13.10.0

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.
@@ -1,21 +1,21 @@
1
- import { Z as A, _, $ as T } from "./mcp-server-WydXh5Y4.js";
2
- const v = /* @__PURE__ */ new Set([401, 403]);
3
- function y(e) {
1
+ import { $ as A, a0 as v, a1 as T } from "./mcp-server-3s9l5Skf.js";
2
+ const y = /* @__PURE__ */ new Set([401, 403]);
3
+ function C(e) {
4
4
  const t = T(e);
5
5
  if (t !== void 0)
6
6
  return t;
7
7
  if (e !== null && typeof e == "object" && "response" in e)
8
8
  return T(e.response);
9
9
  }
10
- async function C(e, t) {
10
+ async function _(e, t) {
11
11
  const r = A(e, { baseUrl: t });
12
12
  try {
13
- return await _("auth:validate-token", () => r.getUser()), !0;
14
- } catch (i) {
15
- const a = y(i);
16
- if (a !== void 0 && v.has(a))
13
+ return await v("auth:validate-token", () => r.getUser()), !0;
14
+ } catch (a) {
15
+ const i = C(a);
16
+ if (i !== void 0 && y.has(i))
17
17
  return !1;
18
- throw i;
18
+ throw a;
19
19
  }
20
20
  }
21
21
  const p = 3e5, w = 12e4, h = 1e4, n = /* @__PURE__ */ new Map();
@@ -46,21 +46,21 @@ function d(e, t) {
46
46
  });
47
47
  }
48
48
  function M(e) {
49
- const t = e.type === "static" ? p : w, r = e.cacheTtlMs ?? t, { resourceMetadataUrl: i } = e;
50
- return async (a, s, c) => {
51
- const u = e.type === "static" ? e.apiKey : e.getApiKey(a);
49
+ const t = e.type === "static" ? p : w, r = e.cacheTtlMs ?? t, { resourceMetadataUrl: a } = e;
50
+ return async (i, s, c) => {
51
+ const u = e.type === "static" ? e.apiKey : e.getApiKey(i);
52
52
  if (!u) {
53
- d(s, i);
53
+ d(s, a);
54
54
  return;
55
55
  }
56
56
  const f = k(u, e.baseUrl), l = S(f);
57
57
  if (l !== void 0) {
58
- l ? c() : d(s, i);
58
+ l ? c() : d(s, a);
59
59
  return;
60
60
  }
61
61
  try {
62
- const o = await C(u, e.baseUrl);
63
- g(f, o, r), o ? c() : d(s, i);
62
+ const o = await _(u, e.baseUrl);
63
+ g(f, o, r), o ? c() : d(s, a);
64
64
  } catch (o) {
65
65
  console.warn("[Token validation] Transient error, proceeding:", o), c();
66
66
  }
@@ -68,5 +68,5 @@ function M(e) {
68
68
  }
69
69
  export {
70
70
  M as r,
71
- C as v
71
+ _ as v
72
72
  };
@@ -3761,6 +3761,87 @@ declare const toolRegistry: {
3761
3761
  structuredContent: import('./tools/user-info.js').UserInfoStructured;
3762
3762
  }>;
3763
3763
  };
3764
+ getUserStatus: {
3765
+ name: "get-user-status";
3766
+ description: string;
3767
+ parameters: {};
3768
+ outputSchema: {
3769
+ hasStatus: import('zod').ZodBoolean;
3770
+ status: import('zod').ZodOptional<import('zod').ZodObject<{
3771
+ message: import('zod').ZodString;
3772
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3773
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3774
+ pauseNotifications: import('zod').ZodBoolean;
3775
+ pauseActivity: import('zod').ZodBoolean;
3776
+ }, import('zod/v4/core').$strip>>;
3777
+ };
3778
+ annotations: {
3779
+ readOnlyHint: true;
3780
+ destructiveHint: false;
3781
+ idempotentHint: true;
3782
+ };
3783
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3784
+ textContent: string;
3785
+ structuredContent: {
3786
+ hasStatus: boolean;
3787
+ status?: {
3788
+ message: string;
3789
+ pauseNotifications: boolean;
3790
+ pauseActivity: boolean;
3791
+ emoji?: string | undefined;
3792
+ activeUntil?: string | undefined;
3793
+ };
3794
+ };
3795
+ }>;
3796
+ };
3797
+ setUserStatus: {
3798
+ name: "set-user-status";
3799
+ description: string;
3800
+ parameters: {
3801
+ message: import('zod').ZodOptional<import('zod').ZodString>;
3802
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3803
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3804
+ pauseNotifications: import('zod').ZodOptional<import('zod').ZodBoolean>;
3805
+ pauseActivity: import('zod').ZodOptional<import('zod').ZodBoolean>;
3806
+ clear: import('zod').ZodOptional<import('zod').ZodBoolean>;
3807
+ };
3808
+ outputSchema: {
3809
+ hasStatus: import('zod').ZodBoolean;
3810
+ status: import('zod').ZodOptional<import('zod').ZodObject<{
3811
+ message: import('zod').ZodString;
3812
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
3813
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
3814
+ pauseNotifications: import('zod').ZodBoolean;
3815
+ pauseActivity: import('zod').ZodBoolean;
3816
+ }, import('zod/v4/core').$strip>>;
3817
+ };
3818
+ annotations: {
3819
+ readOnlyHint: false;
3820
+ destructiveHint: true;
3821
+ idempotentHint: true;
3822
+ openWorldHint: true;
3823
+ };
3824
+ execute(args: {
3825
+ message?: string | undefined;
3826
+ emoji?: string | undefined;
3827
+ activeUntil?: string | undefined;
3828
+ pauseNotifications?: boolean | undefined;
3829
+ pauseActivity?: boolean | undefined;
3830
+ clear?: boolean | undefined;
3831
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3832
+ textContent: string;
3833
+ structuredContent: {
3834
+ hasStatus: boolean;
3835
+ status?: {
3836
+ message: string;
3837
+ pauseNotifications: boolean;
3838
+ pauseActivity: boolean;
3839
+ emoji?: string | undefined;
3840
+ activeUntil?: string | undefined;
3841
+ };
3842
+ };
3843
+ }>;
3844
+ };
3764
3845
  findProjectCollaborators: {
3765
3846
  name: "find-project-collaborators";
3766
3847
  description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAgEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EjB,CAAA;AAED;;;;;GAKG;AACH,QAAA,MAAM,eAAe,EAAE,SAAS,cAAc,EAAgC,CAAA;AAE9E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,35 @@
1
+ declare const getUserStatus: {
2
+ name: "get-user-status";
3
+ description: string;
4
+ parameters: {};
5
+ outputSchema: {
6
+ hasStatus: import('zod').ZodBoolean;
7
+ status: import('zod').ZodOptional<import('zod').ZodObject<{
8
+ message: import('zod').ZodString;
9
+ emoji: import('zod').ZodOptional<import('zod').ZodString>;
10
+ activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
11
+ pauseNotifications: import('zod').ZodBoolean;
12
+ pauseActivity: import('zod').ZodBoolean;
13
+ }, import('zod/v4/core').$strip>>;
14
+ };
15
+ annotations: {
16
+ readOnlyHint: true;
17
+ destructiveHint: false;
18
+ idempotentHint: true;
19
+ };
20
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
21
+ textContent: string;
22
+ structuredContent: {
23
+ hasStatus: boolean;
24
+ status?: {
25
+ message: string;
26
+ pauseNotifications: boolean;
27
+ pauseActivity: boolean;
28
+ emoji?: string | undefined;
29
+ activeUntil?: string | undefined;
30
+ };
31
+ };
32
+ }>;
33
+ };
34
+ export { getUserStatus };
35
+ //# sourceMappingURL=get-user-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-status.d.ts","sourceRoot":"","sources":["../../src/tools/get-user-status.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUsD,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,51 @@
1
+ import { z } from 'zod';
2
+ declare const setUserStatus: {
3
+ name: "set-user-status";
4
+ description: string;
5
+ parameters: {
6
+ message: z.ZodOptional<z.ZodString>;
7
+ emoji: z.ZodOptional<z.ZodString>;
8
+ activeUntil: z.ZodOptional<z.ZodString>;
9
+ pauseNotifications: z.ZodOptional<z.ZodBoolean>;
10
+ pauseActivity: z.ZodOptional<z.ZodBoolean>;
11
+ clear: z.ZodOptional<z.ZodBoolean>;
12
+ };
13
+ outputSchema: {
14
+ hasStatus: z.ZodBoolean;
15
+ status: z.ZodOptional<z.ZodObject<{
16
+ message: z.ZodString;
17
+ emoji: z.ZodOptional<z.ZodString>;
18
+ activeUntil: z.ZodOptional<z.ZodString>;
19
+ pauseNotifications: z.ZodBoolean;
20
+ pauseActivity: z.ZodBoolean;
21
+ }, z.core.$strip>>;
22
+ };
23
+ annotations: {
24
+ readOnlyHint: false;
25
+ destructiveHint: true;
26
+ idempotentHint: true;
27
+ openWorldHint: true;
28
+ };
29
+ execute(args: {
30
+ message?: string | undefined;
31
+ emoji?: string | undefined;
32
+ activeUntil?: string | undefined;
33
+ pauseNotifications?: boolean | undefined;
34
+ pauseActivity?: boolean | undefined;
35
+ clear?: boolean | undefined;
36
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
37
+ textContent: string;
38
+ structuredContent: {
39
+ hasStatus: boolean;
40
+ status?: {
41
+ message: string;
42
+ pauseNotifications: boolean;
43
+ pauseActivity: boolean;
44
+ emoji?: string | undefined;
45
+ activeUntil?: string | undefined;
46
+ };
47
+ };
48
+ }>;
49
+ };
50
+ export { setUserStatus };
51
+ //# sourceMappingURL=set-user-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-user-status.d.ts","sourceRoot":"","sources":["../../src/tools/set-user-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkKvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDsD,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -42,6 +42,8 @@ export declare const ToolNames: {
42
42
  readonly FETCH_OBJECT: "fetch-object";
43
43
  readonly REORDER_OBJECTS: "reorder-objects";
44
44
  readonly USER_INFO: "user-info";
45
+ readonly GET_USER_STATUS: "get-user-status";
46
+ readonly SET_USER_STATUS: "set-user-status";
45
47
  readonly ADD_LABELS: "add-labels";
46
48
  readonly UPDATE_LABELS: "update-labels";
47
49
  readonly FIND_LABELS: "find-labels";
@@ -1 +1 @@
1
- {"version":3,"file":"tool-names.d.ts","sourceRoot":"","sources":["../../src/utils/tool-names.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EZ,CAAA;AAGV,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA"}
1
+ {"version":3,"file":"tool-names.d.ts","sourceRoot":"","sources":["../../src/utils/tool-names.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EZ,CAAA;AAGV,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA"}
@@ -0,0 +1,32 @@
1
+ import { TodoistApi, UserStatus } from '@doist/todoist-sdk';
2
+ import { z } from 'zod';
3
+ declare const StatusOutputSchema: z.ZodObject<{
4
+ message: z.ZodString;
5
+ emoji: z.ZodOptional<z.ZodString>;
6
+ activeUntil: z.ZodOptional<z.ZodString>;
7
+ pauseNotifications: z.ZodBoolean;
8
+ pauseActivity: z.ZodBoolean;
9
+ }, z.core.$strip>;
10
+ declare const UserStatusOutputSchema: {
11
+ hasStatus: z.ZodBoolean;
12
+ status: z.ZodOptional<z.ZodObject<{
13
+ message: z.ZodString;
14
+ emoji: z.ZodOptional<z.ZodString>;
15
+ activeUntil: z.ZodOptional<z.ZodString>;
16
+ pauseNotifications: z.ZodBoolean;
17
+ pauseActivity: z.ZodBoolean;
18
+ }, z.core.$strip>>;
19
+ };
20
+ type StatusOutput = z.infer<typeof StatusOutputSchema>;
21
+ type UserStatusStructured = {
22
+ hasStatus: boolean;
23
+ status?: StatusOutput;
24
+ };
25
+ /** The user's active status, or `null` when there is none or it has expired. */
26
+ declare function fetchUserStatus(client: TodoistApi): Promise<UserStatus | null>;
27
+ declare function buildUserStatusResult(status: UserStatus | null, heading: string): {
28
+ textContent: string;
29
+ structuredContent: UserStatusStructured;
30
+ };
31
+ export { buildUserStatusResult, fetchUserStatus, UserStatusOutputSchema };
32
+ //# sourceMappingURL=user-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-status.d.ts","sourceRoot":"","sources":["../../src/utils/user-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,QAAA,MAAM,kBAAkB;;;;;;iBAMtB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;CAG3B,CAAA;AAED,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEtD,KAAK,oBAAoB,GAAG;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;CACxB,CAAA;AAUD,gFAAgF;AAChF,iBAAe,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAK7E;AAaD,iBAAS,qBAAqB,CAC1B,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,OAAO,EAAE,MAAM,GAChB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,oBAAoB,CAAA;CAAE,CAuBlE;AAED,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,sBAAsB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-mcp",
3
- "version": "13.9.0",
3
+ "version": "13.10.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",