@doist/todoist-ai 7.17.0 → 8.0.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.
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -2
- package/dist/main-http.js +1 -1
- package/dist/main.js +1 -1
- package/dist/{mcp-server-DqAX_RqB.js → mcp-server-BhctkyAa.js} +25 -25
- package/dist/tool-helpers.d.ts +2 -1
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/find-labels.d.ts +4 -4
- package/dist/tools/find-projects.d.ts +3 -3
- package/dist/tools/find-sections.d.ts +3 -3
- package/package.json +1 -1
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -60,7 +60,8 @@ export declare function fetchAllPages<TArgs extends {
|
|
|
60
60
|
}): Promise<TResult[]>;
|
|
61
61
|
/**
|
|
62
62
|
* Wraps a search query with wildcards for substring matching.
|
|
63
|
-
*
|
|
63
|
+
* If the query already contains unescaped wildcards, it is returned as-is
|
|
64
|
+
* to preserve intentional wildcard patterns (e.g. prefix matching with "work*").
|
|
64
65
|
*/
|
|
65
66
|
export declare function toWildcardQuery(query: string): string;
|
|
66
67
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,eAAe,EACf,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EACnB,MAAM,+BAA+B,CAAA;AAOtC,OAAO,EACH,aAAa,EACb,+BAA+B,EAC/B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAA;AAExD,wBAAgB,iBAAiB,CAAC,OAA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GACT,EAAE;IACC,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B;;;;;;;;;;;;;;;;;;;;GAkBA;AAED,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,CAAA;AAC9E,YAAY,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -3,7 +3,7 @@ declare const findLabels: {
|
|
|
3
3
|
name: "find-labels";
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
|
-
|
|
6
|
+
searchText: z.ZodOptional<z.ZodString>;
|
|
7
7
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
8
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9
9
|
};
|
|
@@ -49,7 +49,7 @@ declare const findLabels: {
|
|
|
49
49
|
};
|
|
50
50
|
execute(args: {
|
|
51
51
|
limit: number;
|
|
52
|
-
|
|
52
|
+
searchText?: string | undefined;
|
|
53
53
|
cursor?: string | undefined;
|
|
54
54
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
55
55
|
textContent: string;
|
|
@@ -66,13 +66,13 @@ declare const findLabels: {
|
|
|
66
66
|
hasMore: boolean;
|
|
67
67
|
sharedLabels: string[];
|
|
68
68
|
appliedFilters: {
|
|
69
|
-
|
|
69
|
+
searchText: string;
|
|
70
70
|
limit?: undefined;
|
|
71
71
|
cursor?: undefined;
|
|
72
72
|
} | {
|
|
73
73
|
limit: number;
|
|
74
74
|
cursor: string | undefined;
|
|
75
|
-
|
|
75
|
+
searchText?: undefined;
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
@@ -3,7 +3,7 @@ declare const findProjects: {
|
|
|
3
3
|
name: "find-projects";
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
|
-
|
|
6
|
+
searchText: z.ZodOptional<z.ZodString>;
|
|
7
7
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
8
8
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9
9
|
};
|
|
@@ -54,7 +54,7 @@ declare const findProjects: {
|
|
|
54
54
|
};
|
|
55
55
|
execute(args: {
|
|
56
56
|
limit: number;
|
|
57
|
-
|
|
57
|
+
searchText?: string | undefined;
|
|
58
58
|
cursor?: string | undefined;
|
|
59
59
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
60
60
|
textContent: string;
|
|
@@ -77,7 +77,7 @@ declare const findProjects: {
|
|
|
77
77
|
hasMore: boolean;
|
|
78
78
|
appliedFilters: {
|
|
79
79
|
limit: number;
|
|
80
|
-
|
|
80
|
+
searchText?: string | undefined;
|
|
81
81
|
cursor?: string | undefined;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
@@ -4,7 +4,7 @@ declare const findSections: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
parameters: {
|
|
6
6
|
projectId: z.ZodString;
|
|
7
|
-
|
|
7
|
+
searchText: z.ZodOptional<z.ZodString>;
|
|
8
8
|
};
|
|
9
9
|
outputSchema: {
|
|
10
10
|
sections: z.ZodArray<z.ZodObject<{
|
|
@@ -21,7 +21,7 @@ declare const findSections: {
|
|
|
21
21
|
};
|
|
22
22
|
execute(args: {
|
|
23
23
|
projectId: string;
|
|
24
|
-
|
|
24
|
+
searchText?: string | undefined;
|
|
25
25
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
26
26
|
textContent: string;
|
|
27
27
|
structuredContent: {
|
|
@@ -32,7 +32,7 @@ declare const findSections: {
|
|
|
32
32
|
totalCount: number;
|
|
33
33
|
appliedFilters: {
|
|
34
34
|
projectId: string;
|
|
35
|
-
|
|
35
|
+
searchText?: string | undefined;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
}>;
|