@progress/kendo-react-mcp 1.6.2-beta.cd97a7ec.0 → 1.7.1-beta.d2eee4d2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +467 -2594
- package/package.json +1 -1
- package/proto/service.proto +0 -62
package/package.json
CHANGED
package/proto/service.proto
CHANGED
|
@@ -116,67 +116,6 @@ message ValidateUserLicenseResponse {
|
|
|
116
116
|
bool has_exceeded_rate_limit = 3;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
// ============================================================================
|
|
120
|
-
// Figma Design-to-Code (D2C) Messages
|
|
121
|
-
// ============================================================================
|
|
122
|
-
|
|
123
|
-
// DEPRECATED: Variables endpoint requires enterprise plan.
|
|
124
|
-
// Design tokens are now extracted from Figma Styles in the nodes API response.
|
|
125
|
-
message VariableData {
|
|
126
|
-
string id = 1; // e.g., "VariableID:21239:123254"
|
|
127
|
-
string name = 2; // e.g., "spacing/xs"
|
|
128
|
-
string resolved_type = 3; // e.g., "FLOAT", "COLOR", "STRING"
|
|
129
|
-
string value = 4; // Serialized value (e.g., "8", "rgba(255,255,255,1)")
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
message ProcessFigmaDesignRequest {
|
|
133
|
-
// DEPRECATED: Use node_jsons for single or multiple nodes
|
|
134
|
-
string root_node_json = 1; // Raw Figma JSON for the main frame (deprecated, kept for backward compatibility)
|
|
135
|
-
// Multiple Figma node JSONs to process together
|
|
136
|
-
repeated string node_jsons = 3; // Array of Figma node JSON strings
|
|
137
|
-
// DEPRECATED: Variables endpoint requires enterprise plan.
|
|
138
|
-
// Design tokens are now extracted from Figma Styles embedded in node JSON.
|
|
139
|
-
repeated VariableData variables = 2; // Figma design tokens/variables (deprecated)
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
message ProcessFigmaDesignResponse {
|
|
143
|
-
oneof result {
|
|
144
|
-
FigmaDesignSuccessPayload success = 1;
|
|
145
|
-
FigmaDesignErrorPayload error = 2;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
message FigmaDesignSuccessPayload {
|
|
150
|
-
// DEPRECATED: Use layout_pseudo_codes for single or multiple nodes
|
|
151
|
-
string layout_pseudo_code = 1; // The clean XML-like structure (deprecated, kept for backward compatibility)
|
|
152
|
-
string design_tokens = 2; // Extracted design tokens (CSS variables) - merged from all nodes
|
|
153
|
-
ProcessingStats stats = 3; // Processing metrics
|
|
154
|
-
// Layout pseudo-code for each processed node (in the same order as node_jsons in request)
|
|
155
|
-
repeated string layout_pseudo_codes = 4; // Array of layout pseudo-code strings, one per node
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
message FigmaDesignErrorPayload {
|
|
159
|
-
D2CErrorCode code = 1;
|
|
160
|
-
string message = 2;
|
|
161
|
-
map<string, string> details = 3; // Additional context (e.g., "node_count": "15000")
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
message ProcessingStats {
|
|
165
|
-
int32 total_nodes = 1;
|
|
166
|
-
int64 processing_time_ms = 2;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
enum D2CErrorCode {
|
|
170
|
-
D2C_ERROR_UNKNOWN = 0;
|
|
171
|
-
D2C_ERROR_INVALID_JSON = 1;
|
|
172
|
-
D2C_ERROR_TREE_TOO_LARGE = 2;
|
|
173
|
-
D2C_ERROR_TREE_TOO_DEEP = 3;
|
|
174
|
-
D2C_ERROR_PAYLOAD_TOO_LARGE = 4;
|
|
175
|
-
D2C_ERROR_EMBEDDING_FAILED = 5;
|
|
176
|
-
D2C_ERROR_TIMEOUT = 6;
|
|
177
|
-
D2C_ERROR_INTERNAL = 7;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
119
|
// ============================================================================
|
|
181
120
|
// Service Definition
|
|
182
121
|
// ============================================================================
|
|
@@ -193,5 +132,4 @@ service ContextQueryService {
|
|
|
193
132
|
rpc RecordOrchestratorUserRequest(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
194
133
|
rpc RecordToolUserRequest(RecordToolUserRequestMessage) returns (google.protobuf.Empty);
|
|
195
134
|
rpc LogEvent(LogEventRequest) returns (google.protobuf.Empty);
|
|
196
|
-
rpc ProcessFigmaDesign(ProcessFigmaDesignRequest) returns (ProcessFigmaDesignResponse);
|
|
197
135
|
}
|