@studiometa/productive-mcp 0.10.8 → 0.10.9

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.
Files changed (45) hide show
  1. package/dist/errors.d.ts.map +1 -1
  2. package/dist/handlers/activities.d.ts +98 -3
  3. package/dist/handlers/activities.d.ts.map +1 -1
  4. package/dist/handlers/attachments.d.ts +98 -3
  5. package/dist/handlers/attachments.d.ts.map +1 -1
  6. package/dist/handlers/bookings.d.ts +98 -3
  7. package/dist/handlers/bookings.d.ts.map +1 -1
  8. package/dist/handlers/comments.d.ts +98 -3
  9. package/dist/handlers/comments.d.ts.map +1 -1
  10. package/dist/handlers/companies.d.ts +98 -3
  11. package/dist/handlers/companies.d.ts.map +1 -1
  12. package/dist/handlers/custom-fields.d.ts +98 -3
  13. package/dist/handlers/custom-fields.d.ts.map +1 -1
  14. package/dist/handlers/deals.d.ts +98 -3
  15. package/dist/handlers/deals.d.ts.map +1 -1
  16. package/dist/handlers/discussions.d.ts +98 -3
  17. package/dist/handlers/discussions.d.ts.map +1 -1
  18. package/dist/handlers/pages.d.ts +98 -3
  19. package/dist/handlers/pages.d.ts.map +1 -1
  20. package/dist/handlers/projects.d.ts +98 -3
  21. package/dist/handlers/projects.d.ts.map +1 -1
  22. package/dist/handlers/services.d.ts +98 -3
  23. package/dist/handlers/services.d.ts.map +1 -1
  24. package/dist/handlers/tasks.d.ts +98 -3
  25. package/dist/handlers/tasks.d.ts.map +1 -1
  26. package/dist/handlers/time.d.ts +98 -3
  27. package/dist/handlers/time.d.ts.map +1 -1
  28. package/dist/handlers/timers.d.ts +98 -3
  29. package/dist/handlers/timers.d.ts.map +1 -1
  30. package/dist/http.d.ts +7 -7
  31. package/dist/http.d.ts.map +1 -1
  32. package/dist/http.js +51 -40
  33. package/dist/http.js.map +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/oauth.d.ts +9 -9
  36. package/dist/oauth.d.ts.map +1 -1
  37. package/dist/oauth.js +39 -39
  38. package/dist/oauth.js.map +1 -1
  39. package/dist/schema.d.ts +62 -62
  40. package/dist/server.js +3 -3
  41. package/dist/server.js.map +1 -1
  42. package/dist/stdio.d.ts +4 -4
  43. package/dist/{version-DpBFJ7eV.js → version-BFw4junA.js} +2 -2
  44. package/dist/{version-DpBFJ7eV.js.map → version-BFw4junA.js.map} +1 -1
  45. package/package.json +10 -18
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { DealArgs } from './types.js';
5
5
  export declare const handleDeals: (action: string, args: DealArgs & {
6
- query?: string;
7
- type?: import("@studiometa/productive-core").ResolvableResourceType;
8
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
6
+ query?: string | undefined;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
9
+ [x: string]: unknown;
10
+ _meta?: {
11
+ [x: string]: unknown;
12
+ progressToken?: string | number | undefined;
13
+ "io.modelcontextprotocol/related-task"?: {
14
+ taskId: string;
15
+ } | undefined;
16
+ } | undefined;
17
+ content: ({
18
+ type: "text";
19
+ text: string;
20
+ annotations?: {
21
+ audience?: ("assistant" | "user")[] | undefined;
22
+ priority?: number | undefined;
23
+ lastModified?: string | undefined;
24
+ } | undefined;
25
+ _meta?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ } | {
29
+ type: "image";
30
+ data: string;
31
+ mimeType: string;
32
+ annotations?: {
33
+ audience?: ("assistant" | "user")[] | undefined;
34
+ priority?: number | undefined;
35
+ lastModified?: string | undefined;
36
+ } | undefined;
37
+ _meta?: {
38
+ [x: string]: unknown;
39
+ } | undefined;
40
+ } | {
41
+ type: "audio";
42
+ data: string;
43
+ mimeType: string;
44
+ annotations?: {
45
+ audience?: ("assistant" | "user")[] | undefined;
46
+ priority?: number | undefined;
47
+ lastModified?: string | undefined;
48
+ } | undefined;
49
+ _meta?: {
50
+ [x: string]: unknown;
51
+ } | undefined;
52
+ } | {
53
+ uri: string;
54
+ description?: string | undefined;
55
+ mimeType?: string | undefined;
56
+ annotations?: {
57
+ audience?: ("assistant" | "user")[] | undefined;
58
+ priority?: number | undefined;
59
+ lastModified?: string | undefined;
60
+ } | undefined;
61
+ _meta?: {
62
+ [x: string]: unknown;
63
+ } | undefined;
64
+ icons?: {
65
+ src: string;
66
+ mimeType?: string | undefined;
67
+ sizes?: string[] | undefined;
68
+ theme?: "dark" | "light" | undefined;
69
+ }[] | undefined;
70
+ name: string;
71
+ title?: string | undefined;
72
+ type: "resource_link";
73
+ } | {
74
+ type: "resource";
75
+ resource: {
76
+ uri: string;
77
+ mimeType?: string | undefined;
78
+ _meta?: {
79
+ [x: string]: unknown;
80
+ } | undefined;
81
+ text: string;
82
+ } | {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ blob: string;
89
+ };
90
+ annotations?: {
91
+ audience?: ("assistant" | "user")[] | undefined;
92
+ priority?: number | undefined;
93
+ lastModified?: string | undefined;
94
+ } | undefined;
95
+ _meta?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ })[];
99
+ structuredContent?: {
100
+ [x: string]: unknown;
101
+ } | undefined;
102
+ isError?: boolean | undefined;
103
+ }>;
9
104
  //# sourceMappingURL=deals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deals.d.ts","sourceRoot":"","sources":["../../src/handlers/deals.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C,eAAO,MAAM,WAAW;;;wFAsCtB,CAAC"}
1
+ {"version":3,"file":"deals.d.ts","sourceRoot":"","sources":["../../src/handlers/deals.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCtB,CAAC"}
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { DiscussionArgs } from './types.js';
5
5
  export declare const handleDiscussions: (action: string, args: DiscussionArgs & {
6
- query?: string;
7
- type?: import("@studiometa/productive-core").ResolvableResourceType;
8
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
6
+ query?: string | undefined;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
9
+ [x: string]: unknown;
10
+ _meta?: {
11
+ [x: string]: unknown;
12
+ progressToken?: string | number | undefined;
13
+ "io.modelcontextprotocol/related-task"?: {
14
+ taskId: string;
15
+ } | undefined;
16
+ } | undefined;
17
+ content: ({
18
+ type: "text";
19
+ text: string;
20
+ annotations?: {
21
+ audience?: ("assistant" | "user")[] | undefined;
22
+ priority?: number | undefined;
23
+ lastModified?: string | undefined;
24
+ } | undefined;
25
+ _meta?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ } | {
29
+ type: "image";
30
+ data: string;
31
+ mimeType: string;
32
+ annotations?: {
33
+ audience?: ("assistant" | "user")[] | undefined;
34
+ priority?: number | undefined;
35
+ lastModified?: string | undefined;
36
+ } | undefined;
37
+ _meta?: {
38
+ [x: string]: unknown;
39
+ } | undefined;
40
+ } | {
41
+ type: "audio";
42
+ data: string;
43
+ mimeType: string;
44
+ annotations?: {
45
+ audience?: ("assistant" | "user")[] | undefined;
46
+ priority?: number | undefined;
47
+ lastModified?: string | undefined;
48
+ } | undefined;
49
+ _meta?: {
50
+ [x: string]: unknown;
51
+ } | undefined;
52
+ } | {
53
+ uri: string;
54
+ description?: string | undefined;
55
+ mimeType?: string | undefined;
56
+ annotations?: {
57
+ audience?: ("assistant" | "user")[] | undefined;
58
+ priority?: number | undefined;
59
+ lastModified?: string | undefined;
60
+ } | undefined;
61
+ _meta?: {
62
+ [x: string]: unknown;
63
+ } | undefined;
64
+ icons?: {
65
+ src: string;
66
+ mimeType?: string | undefined;
67
+ sizes?: string[] | undefined;
68
+ theme?: "dark" | "light" | undefined;
69
+ }[] | undefined;
70
+ name: string;
71
+ title?: string | undefined;
72
+ type: "resource_link";
73
+ } | {
74
+ type: "resource";
75
+ resource: {
76
+ uri: string;
77
+ mimeType?: string | undefined;
78
+ _meta?: {
79
+ [x: string]: unknown;
80
+ } | undefined;
81
+ text: string;
82
+ } | {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ blob: string;
89
+ };
90
+ annotations?: {
91
+ audience?: ("assistant" | "user")[] | undefined;
92
+ priority?: number | undefined;
93
+ lastModified?: string | undefined;
94
+ } | undefined;
95
+ _meta?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ })[];
99
+ structuredContent?: {
100
+ [x: string]: unknown;
101
+ } | undefined;
102
+ isError?: boolean | undefined;
103
+ }>;
9
104
  //# sourceMappingURL=discussions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"discussions.d.ts","sourceRoot":"","sources":["../../src/handlers/discussions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAYH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAcjD,eAAO,MAAM,iBAAiB;;;wFA+C5B,CAAC"}
1
+ {"version":3,"file":"discussions.d.ts","sourceRoot":"","sources":["../../src/handlers/discussions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAYH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAcjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+C5B,CAAC"}
@@ -10,7 +10,102 @@ import type { PageArgs } from './types.js';
10
10
  * Supports: list, get, create, update, delete
11
11
  */
12
12
  export declare const handlePages: (action: string, args: PageArgs & {
13
- query?: string;
14
- type?: import("@studiometa/productive-core").ResolvableResourceType;
15
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
13
+ query?: string | undefined;
14
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
15
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
16
+ [x: string]: unknown;
17
+ _meta?: {
18
+ [x: string]: unknown;
19
+ progressToken?: string | number | undefined;
20
+ "io.modelcontextprotocol/related-task"?: {
21
+ taskId: string;
22
+ } | undefined;
23
+ } | undefined;
24
+ content: ({
25
+ type: "text";
26
+ text: string;
27
+ annotations?: {
28
+ audience?: ("assistant" | "user")[] | undefined;
29
+ priority?: number | undefined;
30
+ lastModified?: string | undefined;
31
+ } | undefined;
32
+ _meta?: {
33
+ [x: string]: unknown;
34
+ } | undefined;
35
+ } | {
36
+ type: "image";
37
+ data: string;
38
+ mimeType: string;
39
+ annotations?: {
40
+ audience?: ("assistant" | "user")[] | undefined;
41
+ priority?: number | undefined;
42
+ lastModified?: string | undefined;
43
+ } | undefined;
44
+ _meta?: {
45
+ [x: string]: unknown;
46
+ } | undefined;
47
+ } | {
48
+ type: "audio";
49
+ data: string;
50
+ mimeType: string;
51
+ annotations?: {
52
+ audience?: ("assistant" | "user")[] | undefined;
53
+ priority?: number | undefined;
54
+ lastModified?: string | undefined;
55
+ } | undefined;
56
+ _meta?: {
57
+ [x: string]: unknown;
58
+ } | undefined;
59
+ } | {
60
+ uri: string;
61
+ description?: string | undefined;
62
+ mimeType?: string | undefined;
63
+ annotations?: {
64
+ audience?: ("assistant" | "user")[] | undefined;
65
+ priority?: number | undefined;
66
+ lastModified?: string | undefined;
67
+ } | undefined;
68
+ _meta?: {
69
+ [x: string]: unknown;
70
+ } | undefined;
71
+ icons?: {
72
+ src: string;
73
+ mimeType?: string | undefined;
74
+ sizes?: string[] | undefined;
75
+ theme?: "dark" | "light" | undefined;
76
+ }[] | undefined;
77
+ name: string;
78
+ title?: string | undefined;
79
+ type: "resource_link";
80
+ } | {
81
+ type: "resource";
82
+ resource: {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ text: string;
89
+ } | {
90
+ uri: string;
91
+ mimeType?: string | undefined;
92
+ _meta?: {
93
+ [x: string]: unknown;
94
+ } | undefined;
95
+ blob: string;
96
+ };
97
+ annotations?: {
98
+ audience?: ("assistant" | "user")[] | undefined;
99
+ priority?: number | undefined;
100
+ lastModified?: string | undefined;
101
+ } | undefined;
102
+ _meta?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ })[];
106
+ structuredContent?: {
107
+ [x: string]: unknown;
108
+ } | undefined;
109
+ isError?: boolean | undefined;
110
+ }>;
16
111
  //# sourceMappingURL=pages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../src/handlers/pages.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAS3C;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;wFAyBtB,CAAC"}
1
+ {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../src/handlers/pages.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAS3C;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBtB,CAAC"}
@@ -10,7 +10,102 @@ import type { CommonArgs } from './types.js';
10
10
  * Supports: list, get, resolve, context
11
11
  */
12
12
  export declare const handleProjects: (action: string, args: CommonArgs & {
13
- query?: string;
14
- type?: import("@studiometa/productive-core").ResolvableResourceType;
15
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
13
+ query?: string | undefined;
14
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
15
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
16
+ [x: string]: unknown;
17
+ _meta?: {
18
+ [x: string]: unknown;
19
+ progressToken?: string | number | undefined;
20
+ "io.modelcontextprotocol/related-task"?: {
21
+ taskId: string;
22
+ } | undefined;
23
+ } | undefined;
24
+ content: ({
25
+ type: "text";
26
+ text: string;
27
+ annotations?: {
28
+ audience?: ("assistant" | "user")[] | undefined;
29
+ priority?: number | undefined;
30
+ lastModified?: string | undefined;
31
+ } | undefined;
32
+ _meta?: {
33
+ [x: string]: unknown;
34
+ } | undefined;
35
+ } | {
36
+ type: "image";
37
+ data: string;
38
+ mimeType: string;
39
+ annotations?: {
40
+ audience?: ("assistant" | "user")[] | undefined;
41
+ priority?: number | undefined;
42
+ lastModified?: string | undefined;
43
+ } | undefined;
44
+ _meta?: {
45
+ [x: string]: unknown;
46
+ } | undefined;
47
+ } | {
48
+ type: "audio";
49
+ data: string;
50
+ mimeType: string;
51
+ annotations?: {
52
+ audience?: ("assistant" | "user")[] | undefined;
53
+ priority?: number | undefined;
54
+ lastModified?: string | undefined;
55
+ } | undefined;
56
+ _meta?: {
57
+ [x: string]: unknown;
58
+ } | undefined;
59
+ } | {
60
+ uri: string;
61
+ description?: string | undefined;
62
+ mimeType?: string | undefined;
63
+ annotations?: {
64
+ audience?: ("assistant" | "user")[] | undefined;
65
+ priority?: number | undefined;
66
+ lastModified?: string | undefined;
67
+ } | undefined;
68
+ _meta?: {
69
+ [x: string]: unknown;
70
+ } | undefined;
71
+ icons?: {
72
+ src: string;
73
+ mimeType?: string | undefined;
74
+ sizes?: string[] | undefined;
75
+ theme?: "dark" | "light" | undefined;
76
+ }[] | undefined;
77
+ name: string;
78
+ title?: string | undefined;
79
+ type: "resource_link";
80
+ } | {
81
+ type: "resource";
82
+ resource: {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ text: string;
89
+ } | {
90
+ uri: string;
91
+ mimeType?: string | undefined;
92
+ _meta?: {
93
+ [x: string]: unknown;
94
+ } | undefined;
95
+ blob: string;
96
+ };
97
+ annotations?: {
98
+ audience?: ("assistant" | "user")[] | undefined;
99
+ priority?: number | undefined;
100
+ lastModified?: string | undefined;
101
+ } | undefined;
102
+ _meta?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ })[];
106
+ structuredContent?: {
107
+ [x: string]: unknown;
108
+ } | undefined;
109
+ isError?: boolean | undefined;
110
+ }>;
16
111
  //# sourceMappingURL=projects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/handlers/projects.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQ7C;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;wFAwBzB,CAAC"}
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/handlers/projects.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQ7C;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBzB,CAAC"}
@@ -10,7 +10,102 @@ import type { CommonArgs } from './types.js';
10
10
  * Supports: list
11
11
  */
12
12
  export declare const handleServices: (action: string, args: CommonArgs & {
13
- query?: string;
14
- type?: import("@studiometa/productive-core").ResolvableResourceType;
15
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
13
+ query?: string | undefined;
14
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
15
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
16
+ [x: string]: unknown;
17
+ _meta?: {
18
+ [x: string]: unknown;
19
+ progressToken?: string | number | undefined;
20
+ "io.modelcontextprotocol/related-task"?: {
21
+ taskId: string;
22
+ } | undefined;
23
+ } | undefined;
24
+ content: ({
25
+ type: "text";
26
+ text: string;
27
+ annotations?: {
28
+ audience?: ("assistant" | "user")[] | undefined;
29
+ priority?: number | undefined;
30
+ lastModified?: string | undefined;
31
+ } | undefined;
32
+ _meta?: {
33
+ [x: string]: unknown;
34
+ } | undefined;
35
+ } | {
36
+ type: "image";
37
+ data: string;
38
+ mimeType: string;
39
+ annotations?: {
40
+ audience?: ("assistant" | "user")[] | undefined;
41
+ priority?: number | undefined;
42
+ lastModified?: string | undefined;
43
+ } | undefined;
44
+ _meta?: {
45
+ [x: string]: unknown;
46
+ } | undefined;
47
+ } | {
48
+ type: "audio";
49
+ data: string;
50
+ mimeType: string;
51
+ annotations?: {
52
+ audience?: ("assistant" | "user")[] | undefined;
53
+ priority?: number | undefined;
54
+ lastModified?: string | undefined;
55
+ } | undefined;
56
+ _meta?: {
57
+ [x: string]: unknown;
58
+ } | undefined;
59
+ } | {
60
+ uri: string;
61
+ description?: string | undefined;
62
+ mimeType?: string | undefined;
63
+ annotations?: {
64
+ audience?: ("assistant" | "user")[] | undefined;
65
+ priority?: number | undefined;
66
+ lastModified?: string | undefined;
67
+ } | undefined;
68
+ _meta?: {
69
+ [x: string]: unknown;
70
+ } | undefined;
71
+ icons?: {
72
+ src: string;
73
+ mimeType?: string | undefined;
74
+ sizes?: string[] | undefined;
75
+ theme?: "dark" | "light" | undefined;
76
+ }[] | undefined;
77
+ name: string;
78
+ title?: string | undefined;
79
+ type: "resource_link";
80
+ } | {
81
+ type: "resource";
82
+ resource: {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ text: string;
89
+ } | {
90
+ uri: string;
91
+ mimeType?: string | undefined;
92
+ _meta?: {
93
+ [x: string]: unknown;
94
+ } | undefined;
95
+ blob: string;
96
+ };
97
+ annotations?: {
98
+ audience?: ("assistant" | "user")[] | undefined;
99
+ priority?: number | undefined;
100
+ lastModified?: string | undefined;
101
+ } | undefined;
102
+ _meta?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ })[];
106
+ structuredContent?: {
107
+ [x: string]: unknown;
108
+ } | undefined;
109
+ isError?: boolean | undefined;
110
+ }>;
16
111
  //# sourceMappingURL=services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/handlers/services.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAO7C;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;wFA8BzB,CAAC"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/handlers/services.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAO7C;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BzB,CAAC"}
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { TaskArgs } from './types.js';
5
5
  export declare const handleTasks: (action: string, args: TaskArgs & {
6
- query?: string;
7
- type?: import("@studiometa/productive-core").ResolvableResourceType;
8
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
6
+ query?: string | undefined;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
9
+ [x: string]: unknown;
10
+ _meta?: {
11
+ [x: string]: unknown;
12
+ progressToken?: string | number | undefined;
13
+ "io.modelcontextprotocol/related-task"?: {
14
+ taskId: string;
15
+ } | undefined;
16
+ } | undefined;
17
+ content: ({
18
+ type: "text";
19
+ text: string;
20
+ annotations?: {
21
+ audience?: ("assistant" | "user")[] | undefined;
22
+ priority?: number | undefined;
23
+ lastModified?: string | undefined;
24
+ } | undefined;
25
+ _meta?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ } | {
29
+ type: "image";
30
+ data: string;
31
+ mimeType: string;
32
+ annotations?: {
33
+ audience?: ("assistant" | "user")[] | undefined;
34
+ priority?: number | undefined;
35
+ lastModified?: string | undefined;
36
+ } | undefined;
37
+ _meta?: {
38
+ [x: string]: unknown;
39
+ } | undefined;
40
+ } | {
41
+ type: "audio";
42
+ data: string;
43
+ mimeType: string;
44
+ annotations?: {
45
+ audience?: ("assistant" | "user")[] | undefined;
46
+ priority?: number | undefined;
47
+ lastModified?: string | undefined;
48
+ } | undefined;
49
+ _meta?: {
50
+ [x: string]: unknown;
51
+ } | undefined;
52
+ } | {
53
+ uri: string;
54
+ description?: string | undefined;
55
+ mimeType?: string | undefined;
56
+ annotations?: {
57
+ audience?: ("assistant" | "user")[] | undefined;
58
+ priority?: number | undefined;
59
+ lastModified?: string | undefined;
60
+ } | undefined;
61
+ _meta?: {
62
+ [x: string]: unknown;
63
+ } | undefined;
64
+ icons?: {
65
+ src: string;
66
+ mimeType?: string | undefined;
67
+ sizes?: string[] | undefined;
68
+ theme?: "dark" | "light" | undefined;
69
+ }[] | undefined;
70
+ name: string;
71
+ title?: string | undefined;
72
+ type: "resource_link";
73
+ } | {
74
+ type: "resource";
75
+ resource: {
76
+ uri: string;
77
+ mimeType?: string | undefined;
78
+ _meta?: {
79
+ [x: string]: unknown;
80
+ } | undefined;
81
+ text: string;
82
+ } | {
83
+ uri: string;
84
+ mimeType?: string | undefined;
85
+ _meta?: {
86
+ [x: string]: unknown;
87
+ } | undefined;
88
+ blob: string;
89
+ };
90
+ annotations?: {
91
+ audience?: ("assistant" | "user")[] | undefined;
92
+ priority?: number | undefined;
93
+ lastModified?: string | undefined;
94
+ } | undefined;
95
+ _meta?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ })[];
99
+ structuredContent?: {
100
+ [x: string]: unknown;
101
+ } | undefined;
102
+ isError?: boolean | undefined;
103
+ }>;
9
104
  //# sourceMappingURL=tasks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/handlers/tasks.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C,eAAO,MAAM,WAAW;;;wFAsDtB,CAAC"}
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/handlers/tasks.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDtB,CAAC"}