scorecard-ai-mcp 1.0.0 → 1.1.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.
Files changed (152) hide show
  1. package/README.md +2 -1
  2. package/compat.d.mts +2 -0
  3. package/compat.d.mts.map +1 -1
  4. package/compat.d.ts +2 -0
  5. package/compat.d.ts.map +1 -1
  6. package/compat.js +38 -1
  7. package/compat.js.map +1 -1
  8. package/compat.mjs +37 -0
  9. package/compat.mjs.map +1 -1
  10. package/index.js.map +1 -1
  11. package/index.mjs.map +1 -1
  12. package/options.d.mts +9 -6
  13. package/options.d.mts.map +1 -1
  14. package/options.d.ts +9 -6
  15. package/options.d.ts.map +1 -1
  16. package/options.js +5 -46
  17. package/options.js.map +1 -1
  18. package/options.mjs +5 -46
  19. package/options.mjs.map +1 -1
  20. package/package.json +4 -4
  21. package/server.d.mts +16 -2
  22. package/server.d.mts.map +1 -1
  23. package/server.d.ts +16 -2
  24. package/server.d.ts.map +1 -1
  25. package/server.js +28 -10
  26. package/server.js.map +1 -1
  27. package/server.mjs +28 -11
  28. package/server.mjs.map +1 -1
  29. package/src/compat.ts +40 -0
  30. package/src/index.ts +2 -2
  31. package/src/options.ts +12 -54
  32. package/src/server.ts +40 -15
  33. package/src/tools/index.ts +5 -2
  34. package/src/tools/metrics/create-metrics.ts +2 -1
  35. package/src/tools/metrics/update-metrics.ts +252 -0
  36. package/src/tools/types.ts +0 -1
  37. package/tools/index.d.mts.map +1 -1
  38. package/tools/index.d.ts.map +1 -1
  39. package/tools/index.js +5 -2
  40. package/tools/index.js.map +1 -1
  41. package/tools/index.mjs +5 -2
  42. package/tools/index.mjs.map +1 -1
  43. package/tools/metrics/create-metrics.d.mts +9 -0
  44. package/tools/metrics/create-metrics.d.mts.map +1 -1
  45. package/tools/metrics/create-metrics.d.ts +9 -0
  46. package/tools/metrics/create-metrics.d.ts.map +1 -1
  47. package/tools/metrics/create-metrics.js +1 -1
  48. package/tools/metrics/create-metrics.js.map +1 -1
  49. package/tools/metrics/create-metrics.mjs +1 -1
  50. package/tools/metrics/create-metrics.mjs.map +1 -1
  51. package/tools/metrics/update-metrics.d.mts +41 -0
  52. package/tools/metrics/update-metrics.d.mts.map +1 -0
  53. package/tools/metrics/update-metrics.d.ts +41 -0
  54. package/tools/metrics/update-metrics.d.ts.map +1 -0
  55. package/tools/metrics/update-metrics.js +245 -0
  56. package/tools/metrics/update-metrics.js.map +1 -0
  57. package/tools/metrics/update-metrics.mjs +241 -0
  58. package/tools/metrics/update-metrics.mjs.map +1 -0
  59. package/tools/projects/create-projects.d.mts +9 -0
  60. package/tools/projects/create-projects.d.mts.map +1 -1
  61. package/tools/projects/create-projects.d.ts +9 -0
  62. package/tools/projects/create-projects.d.ts.map +1 -1
  63. package/tools/projects/list-projects.d.mts +9 -0
  64. package/tools/projects/list-projects.d.mts.map +1 -1
  65. package/tools/projects/list-projects.d.ts +9 -0
  66. package/tools/projects/list-projects.d.ts.map +1 -1
  67. package/tools/records/create-records.d.mts +9 -0
  68. package/tools/records/create-records.d.mts.map +1 -1
  69. package/tools/records/create-records.d.ts +9 -0
  70. package/tools/records/create-records.d.ts.map +1 -1
  71. package/tools/runs/create-runs.d.mts +9 -0
  72. package/tools/runs/create-runs.d.mts.map +1 -1
  73. package/tools/runs/create-runs.d.ts +9 -0
  74. package/tools/runs/create-runs.d.ts.map +1 -1
  75. package/tools/scores/upsert-scores.d.mts +9 -0
  76. package/tools/scores/upsert-scores.d.mts.map +1 -1
  77. package/tools/scores/upsert-scores.d.ts +9 -0
  78. package/tools/scores/upsert-scores.d.ts.map +1 -1
  79. package/tools/systems/create-systems.d.mts +9 -0
  80. package/tools/systems/create-systems.d.mts.map +1 -1
  81. package/tools/systems/create-systems.d.ts +9 -0
  82. package/tools/systems/create-systems.d.ts.map +1 -1
  83. package/tools/systems/delete-systems.d.mts +9 -0
  84. package/tools/systems/delete-systems.d.mts.map +1 -1
  85. package/tools/systems/delete-systems.d.ts +9 -0
  86. package/tools/systems/delete-systems.d.ts.map +1 -1
  87. package/tools/systems/get-systems.d.mts +9 -0
  88. package/tools/systems/get-systems.d.mts.map +1 -1
  89. package/tools/systems/get-systems.d.ts +9 -0
  90. package/tools/systems/get-systems.d.ts.map +1 -1
  91. package/tools/systems/list-systems.d.mts +9 -0
  92. package/tools/systems/list-systems.d.mts.map +1 -1
  93. package/tools/systems/list-systems.d.ts +9 -0
  94. package/tools/systems/list-systems.d.ts.map +1 -1
  95. package/tools/systems/update-systems.d.mts +9 -0
  96. package/tools/systems/update-systems.d.mts.map +1 -1
  97. package/tools/systems/update-systems.d.ts +9 -0
  98. package/tools/systems/update-systems.d.ts.map +1 -1
  99. package/tools/systems/versions/create-systems-versions.d.mts +9 -0
  100. package/tools/systems/versions/create-systems-versions.d.mts.map +1 -1
  101. package/tools/systems/versions/create-systems-versions.d.ts +9 -0
  102. package/tools/systems/versions/create-systems-versions.d.ts.map +1 -1
  103. package/tools/systems/versions/get-systems-versions.d.mts +9 -0
  104. package/tools/systems/versions/get-systems-versions.d.mts.map +1 -1
  105. package/tools/systems/versions/get-systems-versions.d.ts +9 -0
  106. package/tools/systems/versions/get-systems-versions.d.ts.map +1 -1
  107. package/tools/systems/versions/list-systems-versions.d.mts +9 -0
  108. package/tools/systems/versions/list-systems-versions.d.mts.map +1 -1
  109. package/tools/systems/versions/list-systems-versions.d.ts +9 -0
  110. package/tools/systems/versions/list-systems-versions.d.ts.map +1 -1
  111. package/tools/testcases/create-testcases.d.mts +9 -0
  112. package/tools/testcases/create-testcases.d.mts.map +1 -1
  113. package/tools/testcases/create-testcases.d.ts +9 -0
  114. package/tools/testcases/create-testcases.d.ts.map +1 -1
  115. package/tools/testcases/delete-testcases.d.mts +9 -0
  116. package/tools/testcases/delete-testcases.d.mts.map +1 -1
  117. package/tools/testcases/delete-testcases.d.ts +9 -0
  118. package/tools/testcases/delete-testcases.d.ts.map +1 -1
  119. package/tools/testcases/get-testcases.d.mts +9 -0
  120. package/tools/testcases/get-testcases.d.mts.map +1 -1
  121. package/tools/testcases/get-testcases.d.ts +9 -0
  122. package/tools/testcases/get-testcases.d.ts.map +1 -1
  123. package/tools/testcases/list-testcases.d.mts +9 -0
  124. package/tools/testcases/list-testcases.d.mts.map +1 -1
  125. package/tools/testcases/list-testcases.d.ts +9 -0
  126. package/tools/testcases/list-testcases.d.ts.map +1 -1
  127. package/tools/testcases/update-testcases.d.mts +9 -0
  128. package/tools/testcases/update-testcases.d.mts.map +1 -1
  129. package/tools/testcases/update-testcases.d.ts +9 -0
  130. package/tools/testcases/update-testcases.d.ts.map +1 -1
  131. package/tools/testsets/create-testsets.d.mts +9 -0
  132. package/tools/testsets/create-testsets.d.mts.map +1 -1
  133. package/tools/testsets/create-testsets.d.ts +9 -0
  134. package/tools/testsets/create-testsets.d.ts.map +1 -1
  135. package/tools/testsets/delete-testsets.d.mts +9 -0
  136. package/tools/testsets/delete-testsets.d.mts.map +1 -1
  137. package/tools/testsets/delete-testsets.d.ts +9 -0
  138. package/tools/testsets/delete-testsets.d.ts.map +1 -1
  139. package/tools/testsets/get-testsets.d.mts +9 -0
  140. package/tools/testsets/get-testsets.d.mts.map +1 -1
  141. package/tools/testsets/get-testsets.d.ts +9 -0
  142. package/tools/testsets/get-testsets.d.ts.map +1 -1
  143. package/tools/testsets/list-testsets.d.mts +9 -0
  144. package/tools/testsets/list-testsets.d.mts.map +1 -1
  145. package/tools/testsets/list-testsets.d.ts +9 -0
  146. package/tools/testsets/list-testsets.d.ts.map +1 -1
  147. package/tools/testsets/update-testsets.d.mts +9 -0
  148. package/tools/testsets/update-testsets.d.mts.map +1 -1
  149. package/tools/testsets/update-testsets.d.ts +9 -0
  150. package/tools/testsets/update-testsets.d.ts.map +1 -1
  151. package/tools/types.d.mts.map +1 -1
  152. package/tools/types.d.ts.map +1 -1
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const types_1 = require("scorecard-ai-mcp/tools/types");
6
+ exports.metadata = {
7
+ resource: 'metrics',
8
+ operation: 'write',
9
+ tags: [],
10
+ httpMethod: 'patch',
11
+ httpPath: '/metrics/{metricId}',
12
+ operationId: 'updateMetric',
13
+ };
14
+ exports.tool = {
15
+ name: 'update_metrics',
16
+ description: 'Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ anyOf: [
20
+ {
21
+ type: 'object',
22
+ properties: {
23
+ metricId: {
24
+ type: 'string',
25
+ },
26
+ evalType: {
27
+ type: 'string',
28
+ description: 'AI-based evaluation type.',
29
+ enum: ['ai'],
30
+ },
31
+ outputType: {
32
+ type: 'string',
33
+ description: 'Integer output type.',
34
+ enum: ['int'],
35
+ },
36
+ description: {
37
+ type: 'string',
38
+ description: 'The description of the Metric.',
39
+ },
40
+ evalModelName: {
41
+ type: 'string',
42
+ description: 'The AI model to use for evaluation.',
43
+ },
44
+ guidelines: {
45
+ type: 'string',
46
+ description: 'Guidelines for AI evaluation on how to score the metric.',
47
+ },
48
+ name: {
49
+ type: 'string',
50
+ description: 'The name of the Metric.',
51
+ },
52
+ passingThreshold: {
53
+ type: 'integer',
54
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
55
+ },
56
+ promptTemplate: {
57
+ type: 'string',
58
+ description: 'The complete prompt template for AI evaluation. Should include placeholders for dynamic content.',
59
+ },
60
+ temperature: {
61
+ type: 'number',
62
+ description: 'The temperature for AI evaluation (0-2).',
63
+ },
64
+ },
65
+ },
66
+ {
67
+ type: 'object',
68
+ properties: {
69
+ metricId: {
70
+ type: 'string',
71
+ },
72
+ evalType: {
73
+ type: 'string',
74
+ description: 'Human-based evaluation type.',
75
+ enum: ['human'],
76
+ },
77
+ outputType: {
78
+ type: 'string',
79
+ description: 'Integer output type.',
80
+ enum: ['int'],
81
+ },
82
+ description: {
83
+ type: 'string',
84
+ description: 'The description of the Metric.',
85
+ },
86
+ guidelines: {
87
+ type: 'string',
88
+ description: 'Guidelines for human evaluators.',
89
+ },
90
+ name: {
91
+ type: 'string',
92
+ description: 'The name of the Metric.',
93
+ },
94
+ passingThreshold: {
95
+ type: 'integer',
96
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
97
+ },
98
+ },
99
+ },
100
+ {
101
+ type: 'object',
102
+ properties: {
103
+ metricId: {
104
+ type: 'string',
105
+ },
106
+ evalType: {
107
+ type: 'string',
108
+ description: 'Heuristic-based evaluation type.',
109
+ enum: ['heuristic'],
110
+ },
111
+ outputType: {
112
+ type: 'string',
113
+ description: 'Integer output type.',
114
+ enum: ['int'],
115
+ },
116
+ description: {
117
+ type: 'string',
118
+ description: 'The description of the Metric.',
119
+ },
120
+ guidelines: {
121
+ type: 'string',
122
+ description: 'Optional guidelines for heuristic evaluation logic.',
123
+ },
124
+ name: {
125
+ type: 'string',
126
+ description: 'The name of the Metric.',
127
+ },
128
+ passingThreshold: {
129
+ type: 'integer',
130
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
131
+ },
132
+ },
133
+ },
134
+ {
135
+ type: 'object',
136
+ properties: {
137
+ metricId: {
138
+ type: 'string',
139
+ },
140
+ evalType: {
141
+ type: 'string',
142
+ description: 'AI-based evaluation type.',
143
+ enum: ['ai'],
144
+ },
145
+ outputType: {
146
+ type: 'string',
147
+ description: 'Boolean output type.',
148
+ enum: ['boolean'],
149
+ },
150
+ description: {
151
+ type: 'string',
152
+ description: 'The description of the Metric.',
153
+ },
154
+ evalModelName: {
155
+ type: 'string',
156
+ description: 'The AI model to use for evaluation.',
157
+ },
158
+ guidelines: {
159
+ type: 'string',
160
+ description: 'Guidelines for AI evaluation on how to score the metric.',
161
+ },
162
+ name: {
163
+ type: 'string',
164
+ description: 'The name of the Metric.',
165
+ },
166
+ promptTemplate: {
167
+ type: 'string',
168
+ description: 'The complete prompt template for AI evaluation. Should include placeholders for dynamic content.',
169
+ },
170
+ temperature: {
171
+ type: 'number',
172
+ description: 'The temperature for AI evaluation (0-2).',
173
+ },
174
+ },
175
+ },
176
+ {
177
+ type: 'object',
178
+ properties: {
179
+ metricId: {
180
+ type: 'string',
181
+ },
182
+ evalType: {
183
+ type: 'string',
184
+ description: 'Human-based evaluation type.',
185
+ enum: ['human'],
186
+ },
187
+ outputType: {
188
+ type: 'string',
189
+ description: 'Boolean output type.',
190
+ enum: ['boolean'],
191
+ },
192
+ description: {
193
+ type: 'string',
194
+ description: 'The description of the Metric.',
195
+ },
196
+ guidelines: {
197
+ type: 'string',
198
+ description: 'Guidelines for human evaluators.',
199
+ },
200
+ name: {
201
+ type: 'string',
202
+ description: 'The name of the Metric.',
203
+ },
204
+ },
205
+ },
206
+ {
207
+ type: 'object',
208
+ properties: {
209
+ metricId: {
210
+ type: 'string',
211
+ },
212
+ evalType: {
213
+ type: 'string',
214
+ description: 'Heuristic-based evaluation type.',
215
+ enum: ['heuristic'],
216
+ },
217
+ outputType: {
218
+ type: 'string',
219
+ description: 'Boolean output type.',
220
+ enum: ['boolean'],
221
+ },
222
+ description: {
223
+ type: 'string',
224
+ description: 'The description of the Metric.',
225
+ },
226
+ guidelines: {
227
+ type: 'string',
228
+ description: 'Optional guidelines for heuristic evaluation logic.',
229
+ },
230
+ name: {
231
+ type: 'string',
232
+ description: 'The name of the Metric.',
233
+ },
234
+ },
235
+ },
236
+ ],
237
+ },
238
+ };
239
+ const handler = async (client, args) => {
240
+ const { metricId, ...body } = args;
241
+ return (0, types_1.asTextContentResult)(await client.metrics.update(metricId, body));
242
+ };
243
+ exports.handler = handler;
244
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
245
+ //# sourceMappingURL=update-metrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-metrics.js","sourceRoot":"","sources":["../../src/tools/metrics/update-metrics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAmE;AAM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IBUTING.md for details.
2
+ import { asTextContentResult } from 'scorecard-ai-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'metrics',
5
+ operation: 'write',
6
+ tags: [],
7
+ httpMethod: 'patch',
8
+ httpPath: '/metrics/{metricId}',
9
+ operationId: 'updateMetric',
10
+ };
11
+ export const tool = {
12
+ name: 'update_metrics',
13
+ description: 'Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ anyOf: [
17
+ {
18
+ type: 'object',
19
+ properties: {
20
+ metricId: {
21
+ type: 'string',
22
+ },
23
+ evalType: {
24
+ type: 'string',
25
+ description: 'AI-based evaluation type.',
26
+ enum: ['ai'],
27
+ },
28
+ outputType: {
29
+ type: 'string',
30
+ description: 'Integer output type.',
31
+ enum: ['int'],
32
+ },
33
+ description: {
34
+ type: 'string',
35
+ description: 'The description of the Metric.',
36
+ },
37
+ evalModelName: {
38
+ type: 'string',
39
+ description: 'The AI model to use for evaluation.',
40
+ },
41
+ guidelines: {
42
+ type: 'string',
43
+ description: 'Guidelines for AI evaluation on how to score the metric.',
44
+ },
45
+ name: {
46
+ type: 'string',
47
+ description: 'The name of the Metric.',
48
+ },
49
+ passingThreshold: {
50
+ type: 'integer',
51
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
52
+ },
53
+ promptTemplate: {
54
+ type: 'string',
55
+ description: 'The complete prompt template for AI evaluation. Should include placeholders for dynamic content.',
56
+ },
57
+ temperature: {
58
+ type: 'number',
59
+ description: 'The temperature for AI evaluation (0-2).',
60
+ },
61
+ },
62
+ },
63
+ {
64
+ type: 'object',
65
+ properties: {
66
+ metricId: {
67
+ type: 'string',
68
+ },
69
+ evalType: {
70
+ type: 'string',
71
+ description: 'Human-based evaluation type.',
72
+ enum: ['human'],
73
+ },
74
+ outputType: {
75
+ type: 'string',
76
+ description: 'Integer output type.',
77
+ enum: ['int'],
78
+ },
79
+ description: {
80
+ type: 'string',
81
+ description: 'The description of the Metric.',
82
+ },
83
+ guidelines: {
84
+ type: 'string',
85
+ description: 'Guidelines for human evaluators.',
86
+ },
87
+ name: {
88
+ type: 'string',
89
+ description: 'The name of the Metric.',
90
+ },
91
+ passingThreshold: {
92
+ type: 'integer',
93
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
94
+ },
95
+ },
96
+ },
97
+ {
98
+ type: 'object',
99
+ properties: {
100
+ metricId: {
101
+ type: 'string',
102
+ },
103
+ evalType: {
104
+ type: 'string',
105
+ description: 'Heuristic-based evaluation type.',
106
+ enum: ['heuristic'],
107
+ },
108
+ outputType: {
109
+ type: 'string',
110
+ description: 'Integer output type.',
111
+ enum: ['int'],
112
+ },
113
+ description: {
114
+ type: 'string',
115
+ description: 'The description of the Metric.',
116
+ },
117
+ guidelines: {
118
+ type: 'string',
119
+ description: 'Optional guidelines for heuristic evaluation logic.',
120
+ },
121
+ name: {
122
+ type: 'string',
123
+ description: 'The name of the Metric.',
124
+ },
125
+ passingThreshold: {
126
+ type: 'integer',
127
+ description: 'The threshold for determining pass/fail from integer scores (1-5).',
128
+ },
129
+ },
130
+ },
131
+ {
132
+ type: 'object',
133
+ properties: {
134
+ metricId: {
135
+ type: 'string',
136
+ },
137
+ evalType: {
138
+ type: 'string',
139
+ description: 'AI-based evaluation type.',
140
+ enum: ['ai'],
141
+ },
142
+ outputType: {
143
+ type: 'string',
144
+ description: 'Boolean output type.',
145
+ enum: ['boolean'],
146
+ },
147
+ description: {
148
+ type: 'string',
149
+ description: 'The description of the Metric.',
150
+ },
151
+ evalModelName: {
152
+ type: 'string',
153
+ description: 'The AI model to use for evaluation.',
154
+ },
155
+ guidelines: {
156
+ type: 'string',
157
+ description: 'Guidelines for AI evaluation on how to score the metric.',
158
+ },
159
+ name: {
160
+ type: 'string',
161
+ description: 'The name of the Metric.',
162
+ },
163
+ promptTemplate: {
164
+ type: 'string',
165
+ description: 'The complete prompt template for AI evaluation. Should include placeholders for dynamic content.',
166
+ },
167
+ temperature: {
168
+ type: 'number',
169
+ description: 'The temperature for AI evaluation (0-2).',
170
+ },
171
+ },
172
+ },
173
+ {
174
+ type: 'object',
175
+ properties: {
176
+ metricId: {
177
+ type: 'string',
178
+ },
179
+ evalType: {
180
+ type: 'string',
181
+ description: 'Human-based evaluation type.',
182
+ enum: ['human'],
183
+ },
184
+ outputType: {
185
+ type: 'string',
186
+ description: 'Boolean output type.',
187
+ enum: ['boolean'],
188
+ },
189
+ description: {
190
+ type: 'string',
191
+ description: 'The description of the Metric.',
192
+ },
193
+ guidelines: {
194
+ type: 'string',
195
+ description: 'Guidelines for human evaluators.',
196
+ },
197
+ name: {
198
+ type: 'string',
199
+ description: 'The name of the Metric.',
200
+ },
201
+ },
202
+ },
203
+ {
204
+ type: 'object',
205
+ properties: {
206
+ metricId: {
207
+ type: 'string',
208
+ },
209
+ evalType: {
210
+ type: 'string',
211
+ description: 'Heuristic-based evaluation type.',
212
+ enum: ['heuristic'],
213
+ },
214
+ outputType: {
215
+ type: 'string',
216
+ description: 'Boolean output type.',
217
+ enum: ['boolean'],
218
+ },
219
+ description: {
220
+ type: 'string',
221
+ description: 'The description of the Metric.',
222
+ },
223
+ guidelines: {
224
+ type: 'string',
225
+ description: 'Optional guidelines for heuristic evaluation logic.',
226
+ },
227
+ name: {
228
+ type: 'string',
229
+ description: 'The name of the Metric.',
230
+ },
231
+ },
232
+ },
233
+ ],
234
+ },
235
+ };
236
+ export const handler = async (client, args) => {
237
+ const { metricId, ...body } = args;
238
+ return asTextContentResult(await client.metrics.update(metricId, body));
239
+ };
240
+ export default { metadata, tool, handler };
241
+ //# sourceMappingURL=update-metrics.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-metrics.mjs","sourceRoot":"","sources":["../../src/tools/metrics/update-metrics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,8BAA8B;AAMlE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,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UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,kCAAkC;qBAChD;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yBAAyB;qBACvC;iBACF;aACF;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,kCAAkC;wBAC/C,IAAI,EAAE,CAAC,WAAW,CAAC;qBACpB;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,sBAAsB;wBACnC,IAAI,EAAE,CAAC,SAAS,CAAC;qBAClB;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,gCAAgC;qBAC9C;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,qDAAqD;qBACnE;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,yBAAyB;qBACvC;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC1C,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;AAC1E,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/create-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"create-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/create-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/create-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"create-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/create-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAgBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"list-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"list-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"list-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-records.d.mts","sourceRoot":"","sources":["../../src/tools/records/create-records.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"create-records.d.mts","sourceRoot":"","sources":["../../src/tools/records/create-records.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -15,8 +15,17 @@ declare const _default: {
15
15
  properties?: {
16
16
  [x: string]: unknown;
17
17
  } | undefined;
18
+ required?: string[] | undefined;
18
19
  };
19
20
  description?: string | undefined;
21
+ outputSchema?: {
22
+ [x: string]: unknown;
23
+ type: "object";
24
+ properties?: {
25
+ [x: string]: unknown;
26
+ } | undefined;
27
+ required?: string[] | undefined;
28
+ } | undefined;
20
29
  annotations?: {
21
30
  [x: string]: unknown;
22
31
  title?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-records.d.ts","sourceRoot":"","sources":["../../src/tools/records/create-records.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"create-records.d.ts","sourceRoot":"","sources":["../../src/tools/records/create-records.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,cAAc;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,mEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}