@studiometa/productive-mcp 0.10.10 → 0.10.12

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 (74) hide show
  1. package/README.md +120 -0
  2. package/dist/api-reference/generated.d.ts +3 -0
  3. package/dist/api-reference/generated.d.ts.map +1 -0
  4. package/dist/api-reference/types.d.ts +31 -0
  5. package/dist/api-reference/types.d.ts.map +1 -0
  6. package/dist/auth.js.map +1 -1
  7. package/dist/crypto.js +3 -3
  8. package/dist/crypto.js.map +1 -1
  9. package/dist/errors.d.ts.map +1 -1
  10. package/dist/handlers/activities.d.ts +3 -99
  11. package/dist/handlers/activities.d.ts.map +1 -1
  12. package/dist/handlers/api-read.d.ts +14 -0
  13. package/dist/handlers/api-read.d.ts.map +1 -0
  14. package/dist/handlers/api-utils.d.ts +27 -0
  15. package/dist/handlers/api-utils.d.ts.map +1 -0
  16. package/dist/handlers/api-write.d.ts +10 -0
  17. package/dist/handlers/api-write.d.ts.map +1 -0
  18. package/dist/handlers/attachments.d.ts +3 -99
  19. package/dist/handlers/attachments.d.ts.map +1 -1
  20. package/dist/handlers/bookings.d.ts +3 -99
  21. package/dist/handlers/bookings.d.ts.map +1 -1
  22. package/dist/handlers/comments.d.ts +3 -99
  23. package/dist/handlers/comments.d.ts.map +1 -1
  24. package/dist/handlers/companies.d.ts +3 -99
  25. package/dist/handlers/companies.d.ts.map +1 -1
  26. package/dist/handlers/custom-fields.d.ts +3 -99
  27. package/dist/handlers/custom-fields.d.ts.map +1 -1
  28. package/dist/handlers/deals.d.ts +3 -99
  29. package/dist/handlers/deals.d.ts.map +1 -1
  30. package/dist/handlers/discussions.d.ts +3 -99
  31. package/dist/handlers/discussions.d.ts.map +1 -1
  32. package/dist/handlers/index.d.ts.map +1 -1
  33. package/dist/handlers/pages.d.ts +3 -99
  34. package/dist/handlers/pages.d.ts.map +1 -1
  35. package/dist/handlers/projects.d.ts +3 -99
  36. package/dist/handlers/projects.d.ts.map +1 -1
  37. package/dist/handlers/search.d.ts +1 -1
  38. package/dist/handlers/search.d.ts.map +1 -1
  39. package/dist/handlers/services.d.ts +3 -99
  40. package/dist/handlers/services.d.ts.map +1 -1
  41. package/dist/handlers/tasks.d.ts +3 -99
  42. package/dist/handlers/tasks.d.ts.map +1 -1
  43. package/dist/handlers/time.d.ts +3 -99
  44. package/dist/handlers/time.d.ts.map +1 -1
  45. package/dist/handlers/timers.d.ts +3 -99
  46. package/dist/handlers/timers.d.ts.map +1 -1
  47. package/dist/handlers-DonE83xo.js +41289 -0
  48. package/dist/handlers-DonE83xo.js.map +1 -0
  49. package/dist/handlers.js +1 -1
  50. package/dist/http-QQVUnV2e.js +3238 -0
  51. package/dist/http-QQVUnV2e.js.map +1 -0
  52. package/dist/http.d.ts.map +1 -1
  53. package/dist/http.js +1 -1
  54. package/dist/index.js +2 -2
  55. package/dist/index.js.map +1 -1
  56. package/dist/oauth.js.map +1 -1
  57. package/dist/schema.d.ts +32 -1
  58. package/dist/schema.d.ts.map +1 -1
  59. package/dist/server.js +2 -2
  60. package/dist/server.js.map +1 -1
  61. package/dist/{stdio-BFK9AcdQ.js → stdio-CRD2nJPs.js} +2 -2
  62. package/dist/{stdio-BFK9AcdQ.js.map → stdio-CRD2nJPs.js.map} +1 -1
  63. package/dist/stdio.js +1 -1
  64. package/dist/tools.d.ts.map +1 -1
  65. package/dist/tools.js +193 -119
  66. package/dist/tools.js.map +1 -1
  67. package/dist/{version-Cy8UEAT1.js → version-DMEaGciu.js} +3 -3
  68. package/dist/{version-Cy8UEAT1.js.map → version-DMEaGciu.js.map} +1 -1
  69. package/package.json +6 -6
  70. package/skills/SKILL.md +113 -1
  71. package/dist/handlers-vtRpc-Lx.js +0 -4301
  72. package/dist/handlers-vtRpc-Lx.js.map +0 -1
  73. package/dist/http-CVE4qtko.js +0 -6541
  74. package/dist/http-CVE4qtko.js.map +0 -1
@@ -3,103 +3,7 @@
3
3
  */
4
4
  import type { CommentArgs } from './types.js';
5
5
  export declare const handleComments: (action: string, args: CommentArgs & {
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
- size?: number | undefined;
57
- annotations?: {
58
- audience?: ("assistant" | "user")[] | undefined;
59
- priority?: number | undefined;
60
- lastModified?: string | undefined;
61
- } | undefined;
62
- _meta?: {
63
- [x: string]: unknown;
64
- } | undefined;
65
- icons?: {
66
- src: string;
67
- mimeType?: string | undefined;
68
- sizes?: string[] | undefined;
69
- theme?: "dark" | "light" | undefined;
70
- }[] | undefined;
71
- name: string;
72
- title?: string | undefined;
73
- type: "resource_link";
74
- } | {
75
- type: "resource";
76
- resource: {
77
- uri: string;
78
- mimeType?: string | undefined;
79
- _meta?: {
80
- [x: string]: unknown;
81
- } | undefined;
82
- text: string;
83
- } | {
84
- uri: string;
85
- mimeType?: string | undefined;
86
- _meta?: {
87
- [x: string]: unknown;
88
- } | undefined;
89
- blob: string;
90
- };
91
- annotations?: {
92
- audience?: ("assistant" | "user")[] | undefined;
93
- priority?: number | undefined;
94
- lastModified?: string | undefined;
95
- } | undefined;
96
- _meta?: {
97
- [x: string]: unknown;
98
- } | undefined;
99
- })[];
100
- structuredContent?: {
101
- [x: string]: unknown;
102
- } | undefined;
103
- isError?: boolean | undefined;
104
- }>;
6
+ query?: string;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
105
9
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CzB,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;;;wFA8CzB,CAAC"}
@@ -10,103 +10,7 @@ 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 | 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
- size?: number | undefined;
64
- annotations?: {
65
- audience?: ("assistant" | "user")[] | undefined;
66
- priority?: number | undefined;
67
- lastModified?: string | undefined;
68
- } | undefined;
69
- _meta?: {
70
- [x: string]: unknown;
71
- } | undefined;
72
- icons?: {
73
- src: string;
74
- mimeType?: string | undefined;
75
- sizes?: string[] | undefined;
76
- theme?: "dark" | "light" | undefined;
77
- }[] | undefined;
78
- name: string;
79
- title?: string | undefined;
80
- type: "resource_link";
81
- } | {
82
- type: "resource";
83
- resource: {
84
- uri: string;
85
- mimeType?: string | undefined;
86
- _meta?: {
87
- [x: string]: unknown;
88
- } | undefined;
89
- text: string;
90
- } | {
91
- uri: string;
92
- mimeType?: string | undefined;
93
- _meta?: {
94
- [x: string]: unknown;
95
- } | undefined;
96
- blob: string;
97
- };
98
- annotations?: {
99
- audience?: ("assistant" | "user")[] | undefined;
100
- priority?: number | undefined;
101
- lastModified?: string | undefined;
102
- } | undefined;
103
- _meta?: {
104
- [x: string]: unknown;
105
- } | undefined;
106
- })[];
107
- structuredContent?: {
108
- [x: string]: unknown;
109
- } | undefined;
110
- isError?: boolean | undefined;
111
- }>;
13
+ query?: string;
14
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
15
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
112
16
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB1B,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;;;wFAmB1B,CAAC"}
@@ -20,103 +20,7 @@ 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 | 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
- size?: number | undefined;
74
- annotations?: {
75
- audience?: ("assistant" | "user")[] | undefined;
76
- priority?: number | undefined;
77
- lastModified?: string | undefined;
78
- } | undefined;
79
- _meta?: {
80
- [x: string]: unknown;
81
- } | undefined;
82
- icons?: {
83
- src: string;
84
- mimeType?: string | undefined;
85
- sizes?: string[] | undefined;
86
- theme?: "dark" | "light" | undefined;
87
- }[] | undefined;
88
- name: string;
89
- title?: string | undefined;
90
- type: "resource_link";
91
- } | {
92
- type: "resource";
93
- resource: {
94
- uri: string;
95
- mimeType?: string | undefined;
96
- _meta?: {
97
- [x: string]: unknown;
98
- } | undefined;
99
- text: string;
100
- } | {
101
- uri: string;
102
- mimeType?: string | undefined;
103
- _meta?: {
104
- [x: string]: unknown;
105
- } | undefined;
106
- blob: string;
107
- };
108
- annotations?: {
109
- audience?: ("assistant" | "user")[] | undefined;
110
- priority?: number | undefined;
111
- lastModified?: string | undefined;
112
- } | undefined;
113
- _meta?: {
114
- [x: string]: unknown;
115
- } | undefined;
116
- })[];
117
- structuredContent?: {
118
- [x: string]: unknown;
119
- } | undefined;
120
- isError?: boolean | undefined;
121
- }>;
23
+ query?: string;
24
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
25
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
122
26
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB7B,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;;;wFAiB7B,CAAC"}
@@ -3,103 +3,7 @@
3
3
  */
4
4
  import type { DealArgs } from './types.js';
5
5
  export declare const handleDeals: (action: string, args: DealArgs & {
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
- size?: number | undefined;
57
- annotations?: {
58
- audience?: ("assistant" | "user")[] | undefined;
59
- priority?: number | undefined;
60
- lastModified?: string | undefined;
61
- } | undefined;
62
- _meta?: {
63
- [x: string]: unknown;
64
- } | undefined;
65
- icons?: {
66
- src: string;
67
- mimeType?: string | undefined;
68
- sizes?: string[] | undefined;
69
- theme?: "dark" | "light" | undefined;
70
- }[] | undefined;
71
- name: string;
72
- title?: string | undefined;
73
- type: "resource_link";
74
- } | {
75
- type: "resource";
76
- resource: {
77
- uri: string;
78
- mimeType?: string | undefined;
79
- _meta?: {
80
- [x: string]: unknown;
81
- } | undefined;
82
- text: string;
83
- } | {
84
- uri: string;
85
- mimeType?: string | undefined;
86
- _meta?: {
87
- [x: string]: unknown;
88
- } | undefined;
89
- blob: string;
90
- };
91
- annotations?: {
92
- audience?: ("assistant" | "user")[] | undefined;
93
- priority?: number | undefined;
94
- lastModified?: string | undefined;
95
- } | undefined;
96
- _meta?: {
97
- [x: string]: unknown;
98
- } | undefined;
99
- })[];
100
- structuredContent?: {
101
- [x: string]: unknown;
102
- } | undefined;
103
- isError?: boolean | undefined;
104
- }>;
6
+ query?: string;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
105
9
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCtB,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;;;wFAsCtB,CAAC"}
@@ -3,103 +3,7 @@
3
3
  */
4
4
  import type { DiscussionArgs } from './types.js';
5
5
  export declare const handleDiscussions: (action: string, args: DiscussionArgs & {
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
- size?: number | undefined;
57
- annotations?: {
58
- audience?: ("assistant" | "user")[] | undefined;
59
- priority?: number | undefined;
60
- lastModified?: string | undefined;
61
- } | undefined;
62
- _meta?: {
63
- [x: string]: unknown;
64
- } | undefined;
65
- icons?: {
66
- src: string;
67
- mimeType?: string | undefined;
68
- sizes?: string[] | undefined;
69
- theme?: "dark" | "light" | undefined;
70
- }[] | undefined;
71
- name: string;
72
- title?: string | undefined;
73
- type: "resource_link";
74
- } | {
75
- type: "resource";
76
- resource: {
77
- uri: string;
78
- mimeType?: string | undefined;
79
- _meta?: {
80
- [x: string]: unknown;
81
- } | undefined;
82
- text: string;
83
- } | {
84
- uri: string;
85
- mimeType?: string | undefined;
86
- _meta?: {
87
- [x: string]: unknown;
88
- } | undefined;
89
- blob: string;
90
- };
91
- annotations?: {
92
- audience?: ("assistant" | "user")[] | undefined;
93
- priority?: number | undefined;
94
- lastModified?: string | undefined;
95
- } | undefined;
96
- _meta?: {
97
- [x: string]: unknown;
98
- } | undefined;
99
- })[];
100
- structuredContent?: {
101
- [x: string]: unknown;
102
- } | undefined;
103
- isError?: boolean | undefined;
104
- }>;
6
+ query?: string;
7
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
8
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
105
9
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+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;;;wFA+C5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,YAAY,CAAC;AAgC7D,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA2I7C;;GAEG;AACH,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,WAAW,EAAE,qBAAqB,GACjC,OAAO,CAAC,UAAU,CAAC,CA0IrB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,YAAY,CAAC;AAuC7D,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA8I7C;;GAEG;AACH,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,WAAW,EAAE,qBAAqB,GACjC,OAAO,CAAC,UAAU,CAAC,CA0LrB"}
@@ -10,103 +10,7 @@ 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 | 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
- size?: number | undefined;
64
- annotations?: {
65
- audience?: ("assistant" | "user")[] | undefined;
66
- priority?: number | undefined;
67
- lastModified?: string | undefined;
68
- } | undefined;
69
- _meta?: {
70
- [x: string]: unknown;
71
- } | undefined;
72
- icons?: {
73
- src: string;
74
- mimeType?: string | undefined;
75
- sizes?: string[] | undefined;
76
- theme?: "dark" | "light" | undefined;
77
- }[] | undefined;
78
- name: string;
79
- title?: string | undefined;
80
- type: "resource_link";
81
- } | {
82
- type: "resource";
83
- resource: {
84
- uri: string;
85
- mimeType?: string | undefined;
86
- _meta?: {
87
- [x: string]: unknown;
88
- } | undefined;
89
- text: string;
90
- } | {
91
- uri: string;
92
- mimeType?: string | undefined;
93
- _meta?: {
94
- [x: string]: unknown;
95
- } | undefined;
96
- blob: string;
97
- };
98
- annotations?: {
99
- audience?: ("assistant" | "user")[] | undefined;
100
- priority?: number | undefined;
101
- lastModified?: string | undefined;
102
- } | undefined;
103
- _meta?: {
104
- [x: string]: unknown;
105
- } | undefined;
106
- })[];
107
- structuredContent?: {
108
- [x: string]: unknown;
109
- } | undefined;
110
- isError?: boolean | undefined;
111
- }>;
13
+ query?: string;
14
+ type?: import("@studiometa/productive-core").ResolvableResourceType;
15
+ }, ctx: import("./types.js").HandlerContext) => Promise<import("./types.js").ToolResult>;
112
16
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBtB,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;;;wFAyBtB,CAAC"}