@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
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,SAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;gBAErB,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE;IAM7C;;OAEG;IACH,kBAAkB,IAAI,MAAM;CAO7B;AAED;;GAEG;AACH,eAAO,MAAM,aAAa;iCAEJ,MAAM;+CAMQ,MAAM,UAAU,MAAM,EAAE;qCAUlC,MAAM,YAAY,MAAM,gBAAgB,MAAM,EAAE;yCAO5C,MAAM,kBAAkB,MAAM,EAAE;;6CAa5B,MAAM,cAAc,MAAM,EAAE;;;;;sDAmCnB,MAAM,EAAE;oCAO1B,MAAM,WAAW,MAAM;CAuBtC,CAAC;AAEX;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,SAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC,YAAY,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,EAI5C;IAED;;OAEG;IACH,kBAAkB,IAAI,MAAM,CAM3B;CACF;AAED;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAuGhB,CAAC;AAEX;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE"}
@@ -20,7 +20,102 @@ export interface ActivityArgs extends CommonArgs {
20
20
  * Supports: list
21
21
  */
22
22
  export declare const handleActivities: (action: string, args: ActivityArgs & {
23
- query?: string;
24
- type?: import("@studiometa/productive-core").ResolvableResourceType;
25
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
23
+ query?: string | undefined;
24
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
25
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
26
+ [x: string]: unknown;
27
+ _meta?: {
28
+ [x: string]: unknown;
29
+ progressToken?: string | number | undefined;
30
+ "io.modelcontextprotocol/related-task"?: {
31
+ taskId: string;
32
+ } | undefined;
33
+ } | undefined;
34
+ content: ({
35
+ type: "text";
36
+ text: string;
37
+ annotations?: {
38
+ audience?: ("assistant" | "user")[] | undefined;
39
+ priority?: number | undefined;
40
+ lastModified?: string | undefined;
41
+ } | undefined;
42
+ _meta?: {
43
+ [x: string]: unknown;
44
+ } | undefined;
45
+ } | {
46
+ type: "image";
47
+ data: string;
48
+ mimeType: string;
49
+ annotations?: {
50
+ audience?: ("assistant" | "user")[] | undefined;
51
+ priority?: number | undefined;
52
+ lastModified?: string | undefined;
53
+ } | undefined;
54
+ _meta?: {
55
+ [x: string]: unknown;
56
+ } | undefined;
57
+ } | {
58
+ type: "audio";
59
+ data: string;
60
+ mimeType: string;
61
+ annotations?: {
62
+ audience?: ("assistant" | "user")[] | undefined;
63
+ priority?: number | undefined;
64
+ lastModified?: string | undefined;
65
+ } | undefined;
66
+ _meta?: {
67
+ [x: string]: unknown;
68
+ } | undefined;
69
+ } | {
70
+ uri: string;
71
+ description?: string | undefined;
72
+ mimeType?: string | undefined;
73
+ annotations?: {
74
+ audience?: ("assistant" | "user")[] | undefined;
75
+ priority?: number | undefined;
76
+ lastModified?: string | undefined;
77
+ } | undefined;
78
+ _meta?: {
79
+ [x: string]: unknown;
80
+ } | undefined;
81
+ icons?: {
82
+ src: string;
83
+ mimeType?: string | undefined;
84
+ sizes?: string[] | undefined;
85
+ theme?: "dark" | "light" | undefined;
86
+ }[] | undefined;
87
+ name: string;
88
+ title?: string | undefined;
89
+ type: "resource_link";
90
+ } | {
91
+ type: "resource";
92
+ resource: {
93
+ uri: string;
94
+ mimeType?: string | undefined;
95
+ _meta?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ text: string;
99
+ } | {
100
+ uri: string;
101
+ mimeType?: string | undefined;
102
+ _meta?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ blob: string;
106
+ };
107
+ annotations?: {
108
+ audience?: ("assistant" | "user")[] | undefined;
109
+ priority?: number | undefined;
110
+ lastModified?: string | undefined;
111
+ } | undefined;
112
+ _meta?: {
113
+ [x: string]: unknown;
114
+ } | undefined;
115
+ })[];
116
+ structuredContent?: {
117
+ [x: string]: unknown;
118
+ } | undefined;
119
+ isError?: boolean | undefined;
120
+ }>;
26
121
  //# sourceMappingURL=activities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/handlers/activities.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAK7C;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;wFAc3B,CAAC"}
1
+ {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/handlers/activities.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAK7C;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc3B,CAAC"}
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { AttachmentArgs } from './types.js';
5
5
  export declare const handleAttachments: (action: string, args: AttachmentArgs & {
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=attachments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../src/handlers/attachments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAMjD,eAAO,MAAM,iBAAiB;;;wFAoB5B,CAAC"}
1
+ {"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../src/handlers/attachments.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAMjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5B,CAAC"}
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { BookingArgs } from './types.js';
5
5
  export declare const handleBookings: (action: string, args: BookingArgs & {
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=bookings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookings.d.ts","sourceRoot":"","sources":["../../src/handlers/bookings.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,eAAO,MAAM,cAAc;;;wFA6CzB,CAAC"}
1
+ {"version":3,"file":"bookings.d.ts","sourceRoot":"","sources":["../../src/handlers/bookings.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CzB,CAAC"}
@@ -3,7 +3,102 @@
3
3
  */
4
4
  import type { CommentArgs } from './types.js';
5
5
  export declare const handleComments: (action: string, args: CommentArgs & {
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=comments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/handlers/comments.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,eAAO,MAAM,cAAc;;;wFA8CzB,CAAC"}
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/handlers/comments.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAQ9C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CzB,CAAC"}
@@ -10,7 +10,102 @@ import type { CompanyArgs } from './types.js';
10
10
  * Supports: list, get, create, update, resolve
11
11
  */
12
12
  export declare const handleCompanies: (action: string, args: CompanyArgs & {
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=companies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../src/handlers/companies.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAS9C;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;wFAmB1B,CAAC"}
1
+ {"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../src/handlers/companies.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAS9C;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB1B,CAAC"}
@@ -20,7 +20,102 @@ export interface CustomFieldArgs extends CommonArgs {
20
20
  * Supports: list, get
21
21
  */
22
22
  export declare const handleCustomFields: (action: string, args: CustomFieldArgs & {
23
- query?: string;
24
- type?: import("@studiometa/productive-core").ResolvableResourceType;
25
- }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
23
+ query?: string | undefined;
24
+ type?: import("@studiometa/productive-core").ResolvableResourceType | undefined;
25
+ }, ctx: import("./types.js").HandlerContext) => Promise<{
26
+ [x: string]: unknown;
27
+ _meta?: {
28
+ [x: string]: unknown;
29
+ progressToken?: string | number | undefined;
30
+ "io.modelcontextprotocol/related-task"?: {
31
+ taskId: string;
32
+ } | undefined;
33
+ } | undefined;
34
+ content: ({
35
+ type: "text";
36
+ text: string;
37
+ annotations?: {
38
+ audience?: ("assistant" | "user")[] | undefined;
39
+ priority?: number | undefined;
40
+ lastModified?: string | undefined;
41
+ } | undefined;
42
+ _meta?: {
43
+ [x: string]: unknown;
44
+ } | undefined;
45
+ } | {
46
+ type: "image";
47
+ data: string;
48
+ mimeType: string;
49
+ annotations?: {
50
+ audience?: ("assistant" | "user")[] | undefined;
51
+ priority?: number | undefined;
52
+ lastModified?: string | undefined;
53
+ } | undefined;
54
+ _meta?: {
55
+ [x: string]: unknown;
56
+ } | undefined;
57
+ } | {
58
+ type: "audio";
59
+ data: string;
60
+ mimeType: string;
61
+ annotations?: {
62
+ audience?: ("assistant" | "user")[] | undefined;
63
+ priority?: number | undefined;
64
+ lastModified?: string | undefined;
65
+ } | undefined;
66
+ _meta?: {
67
+ [x: string]: unknown;
68
+ } | undefined;
69
+ } | {
70
+ uri: string;
71
+ description?: string | undefined;
72
+ mimeType?: string | undefined;
73
+ annotations?: {
74
+ audience?: ("assistant" | "user")[] | undefined;
75
+ priority?: number | undefined;
76
+ lastModified?: string | undefined;
77
+ } | undefined;
78
+ _meta?: {
79
+ [x: string]: unknown;
80
+ } | undefined;
81
+ icons?: {
82
+ src: string;
83
+ mimeType?: string | undefined;
84
+ sizes?: string[] | undefined;
85
+ theme?: "dark" | "light" | undefined;
86
+ }[] | undefined;
87
+ name: string;
88
+ title?: string | undefined;
89
+ type: "resource_link";
90
+ } | {
91
+ type: "resource";
92
+ resource: {
93
+ uri: string;
94
+ mimeType?: string | undefined;
95
+ _meta?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ text: string;
99
+ } | {
100
+ uri: string;
101
+ mimeType?: string | undefined;
102
+ _meta?: {
103
+ [x: string]: unknown;
104
+ } | undefined;
105
+ blob: string;
106
+ };
107
+ annotations?: {
108
+ audience?: ("assistant" | "user")[] | undefined;
109
+ priority?: number | undefined;
110
+ lastModified?: string | undefined;
111
+ } | undefined;
112
+ _meta?: {
113
+ [x: string]: unknown;
114
+ } | undefined;
115
+ })[];
116
+ structuredContent?: {
117
+ [x: string]: unknown;
118
+ } | undefined;
119
+ isError?: boolean | undefined;
120
+ }>;
26
121
  //# sourceMappingURL=custom-fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../src/handlers/custom-fields.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAM7C;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;wFAiB7B,CAAC"}
1
+ {"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../src/handlers/custom-fields.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAM7C;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB7B,CAAC"}