@wireweave/sdk 0.1.0-beta.0 → 0.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.
- package/README.md +92 -0
- package/dist/index.js +393 -421
- package/dist/index.js.map +1 -1
- package/package.json +23 -23
package/dist/index.js
CHANGED
|
@@ -152,153 +152,137 @@ var tools = [
|
|
|
152
152
|
name: "wireweave_parse",
|
|
153
153
|
description: "Parse Wireweave DSL source code into an AST (Abstract Syntax Tree)",
|
|
154
154
|
inputSchema: {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
type: "object",
|
|
156
|
+
properties: {
|
|
157
|
+
source: {
|
|
158
|
+
type: "string",
|
|
159
|
+
description: "The Wireweave DSL source code to parse"
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
|
-
|
|
163
|
-
"source"
|
|
164
|
-
]
|
|
162
|
+
required: ["source"]
|
|
165
163
|
}
|
|
166
164
|
},
|
|
167
165
|
{
|
|
168
166
|
name: "wireweave_validate",
|
|
169
167
|
description: "Validate Wireweave DSL syntax without generating output. Use strict mode to also check for unknown attributes.",
|
|
170
168
|
inputSchema: {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
169
|
+
type: "object",
|
|
170
|
+
properties: {
|
|
171
|
+
source: {
|
|
172
|
+
type: "string",
|
|
173
|
+
description: "The Wireweave DSL source code to validate"
|
|
176
174
|
},
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
strict: {
|
|
176
|
+
type: "boolean",
|
|
177
|
+
description: "Enable strict mode to also validate that only known attributes are used. Recommended for catching typos and incorrect attribute names.",
|
|
178
|
+
default: false
|
|
181
179
|
}
|
|
182
180
|
},
|
|
183
|
-
|
|
184
|
-
"source"
|
|
185
|
-
]
|
|
181
|
+
required: ["source"]
|
|
186
182
|
}
|
|
187
183
|
},
|
|
188
184
|
{
|
|
189
185
|
name: "wireweave_grammar",
|
|
190
186
|
description: "Get the Wireweave DSL grammar documentation and syntax reference",
|
|
191
187
|
inputSchema: {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
type: "object",
|
|
189
|
+
properties: {},
|
|
190
|
+
required: []
|
|
195
191
|
}
|
|
196
192
|
},
|
|
197
193
|
{
|
|
198
194
|
name: "wireweave_guide",
|
|
199
195
|
description: "Get the comprehensive LLM guide for Wireweave DSL. This is the PRIMARY resource for learning the language - includes syntax, components, patterns, and best practices. Call this FIRST before generating wireframes.",
|
|
200
196
|
inputSchema: {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
type: "object",
|
|
198
|
+
properties: {},
|
|
199
|
+
required: []
|
|
204
200
|
}
|
|
205
201
|
},
|
|
206
202
|
{
|
|
207
203
|
name: "wireweave_patterns",
|
|
208
204
|
description: "Get common layout patterns for wireframes including headers, sidebars, forms, cards, and more. Use these as building blocks.",
|
|
209
205
|
inputSchema: {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
type: "object",
|
|
207
|
+
properties: {},
|
|
208
|
+
required: []
|
|
213
209
|
}
|
|
214
210
|
},
|
|
215
211
|
{
|
|
216
212
|
name: "wireweave_examples",
|
|
217
213
|
description: "Get Wireweave code examples. Use this to learn patterns and best practices for different UI types.",
|
|
218
214
|
inputSchema: {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"layout",
|
|
227
|
-
"navigation",
|
|
228
|
-
"form",
|
|
229
|
-
"dashboard"
|
|
230
|
-
],
|
|
231
|
-
"description": 'Filter examples by category. Use "all" to get all examples. Categories cover generic component compositions (basic, layout, navigation, form) and a domain-agnostic dashboard shell.',
|
|
232
|
-
"default": "all"
|
|
215
|
+
type: "object",
|
|
216
|
+
properties: {
|
|
217
|
+
category: {
|
|
218
|
+
type: "string",
|
|
219
|
+
enum: ["all", "basic", "layout", "navigation", "form", "dashboard"],
|
|
220
|
+
description: 'Filter examples by category. Use "all" to get all examples. Categories cover generic component compositions (basic, layout, navigation, form) and a domain-agnostic dashboard shell.',
|
|
221
|
+
default: "all"
|
|
233
222
|
},
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
223
|
+
limit: {
|
|
224
|
+
type: "number",
|
|
225
|
+
description: "Maximum number of examples to return",
|
|
226
|
+
default: 5
|
|
238
227
|
}
|
|
239
228
|
},
|
|
240
|
-
|
|
229
|
+
required: []
|
|
241
230
|
}
|
|
242
231
|
},
|
|
243
232
|
{
|
|
244
233
|
name: "wireweave_list_components",
|
|
245
234
|
description: "List Wireweave DSL components with their categories, attributes, and examples. Use this to discover available components for wireframe generation. Filter by category (layout, navigation, form, etc.) when narrowing the search.",
|
|
246
235
|
inputSchema: {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
236
|
+
type: "object",
|
|
237
|
+
properties: {
|
|
238
|
+
category: {
|
|
239
|
+
type: "string",
|
|
240
|
+
description: 'Filter components by category (e.g., "layout", "navigation", "form", "content", "interaction"). Omit to return all components.'
|
|
252
241
|
}
|
|
253
242
|
},
|
|
254
|
-
|
|
243
|
+
required: []
|
|
255
244
|
}
|
|
256
245
|
},
|
|
257
246
|
{
|
|
258
247
|
name: "wireweave_render_html_code",
|
|
259
248
|
description: "Render Wireweave DSL to HTML code. Returns the HTML content directly. This is an alias for wireweave_render_html with explicit naming.",
|
|
260
249
|
inputSchema: {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
250
|
+
type: "object",
|
|
251
|
+
properties: {
|
|
252
|
+
source: {
|
|
253
|
+
type: "string",
|
|
254
|
+
description: "The Wireweave DSL source code to render"
|
|
266
255
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
],
|
|
273
|
-
"description": "Color theme for rendering",
|
|
274
|
-
"default": "light"
|
|
256
|
+
theme: {
|
|
257
|
+
type: "string",
|
|
258
|
+
enum: ["light", "dark"],
|
|
259
|
+
description: "Color theme for rendering",
|
|
260
|
+
default: "light"
|
|
275
261
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
262
|
+
fullDocument: {
|
|
263
|
+
type: "boolean",
|
|
264
|
+
description: "Return a complete HTML document instead of fragment",
|
|
265
|
+
default: false
|
|
280
266
|
}
|
|
281
267
|
},
|
|
282
|
-
|
|
283
|
-
"source"
|
|
284
|
-
]
|
|
268
|
+
required: ["source"]
|
|
285
269
|
}
|
|
286
270
|
},
|
|
287
271
|
{
|
|
288
272
|
name: "wireweave_validate_ux",
|
|
289
273
|
description: "Validate Wireweave DSL for UX best practices. Returns issues with severity levels and actionable recommendations.",
|
|
290
274
|
inputSchema: {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
275
|
+
type: "object",
|
|
276
|
+
properties: {
|
|
277
|
+
source: {
|
|
278
|
+
type: "string",
|
|
279
|
+
description: "The Wireweave DSL source code to validate"
|
|
296
280
|
},
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
281
|
+
categories: {
|
|
282
|
+
type: "array",
|
|
283
|
+
items: {
|
|
284
|
+
type: "string",
|
|
285
|
+
enum: [
|
|
302
286
|
"accessibility",
|
|
303
287
|
"usability",
|
|
304
288
|
"form",
|
|
@@ -311,558 +295,510 @@ var tools = [
|
|
|
311
295
|
"interaction"
|
|
312
296
|
]
|
|
313
297
|
},
|
|
314
|
-
|
|
298
|
+
description: "UX rule categories to check. If not specified, all categories are checked."
|
|
315
299
|
},
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
"info"
|
|
322
|
-
],
|
|
323
|
-
"description": "Minimum severity level to report",
|
|
324
|
-
"default": "info"
|
|
300
|
+
minSeverity: {
|
|
301
|
+
type: "string",
|
|
302
|
+
enum: ["error", "warning", "info"],
|
|
303
|
+
description: "Minimum severity level to report",
|
|
304
|
+
default: "info"
|
|
325
305
|
},
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
306
|
+
maxIssues: {
|
|
307
|
+
type: "number",
|
|
308
|
+
description: "Maximum number of issues to return"
|
|
329
309
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
310
|
+
disabledRules: {
|
|
311
|
+
type: "array",
|
|
312
|
+
items: {
|
|
313
|
+
type: "string"
|
|
334
314
|
},
|
|
335
|
-
|
|
315
|
+
description: 'List of rule IDs to disable (e.g., ["a11y-input-label", "form-submit-button"])'
|
|
336
316
|
}
|
|
337
317
|
},
|
|
338
|
-
|
|
339
|
-
"source"
|
|
340
|
-
]
|
|
318
|
+
required: ["source"]
|
|
341
319
|
}
|
|
342
320
|
},
|
|
343
321
|
{
|
|
344
322
|
name: "wireweave_ux_rules",
|
|
345
323
|
description: "Get available UX rule categories and their descriptions",
|
|
346
324
|
inputSchema: {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
325
|
+
type: "object",
|
|
326
|
+
properties: {},
|
|
327
|
+
required: []
|
|
350
328
|
}
|
|
351
329
|
},
|
|
352
330
|
{
|
|
353
331
|
name: "wireweave_diff",
|
|
354
332
|
description: "Compare two Wireweave DSL sources and return the differences between them",
|
|
355
333
|
inputSchema: {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
334
|
+
type: "object",
|
|
335
|
+
properties: {
|
|
336
|
+
oldSource: {
|
|
337
|
+
type: "string",
|
|
338
|
+
description: "The original Wireweave DSL source code"
|
|
361
339
|
},
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
340
|
+
newSource: {
|
|
341
|
+
type: "string",
|
|
342
|
+
description: "The modified Wireweave DSL source code"
|
|
365
343
|
},
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
344
|
+
ignoreAttributes: {
|
|
345
|
+
type: "boolean",
|
|
346
|
+
description: "Ignore attribute changes, only compare structure",
|
|
347
|
+
default: false
|
|
370
348
|
},
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
349
|
+
ignoreOrder: {
|
|
350
|
+
type: "boolean",
|
|
351
|
+
description: "Ignore the order of children when comparing",
|
|
352
|
+
default: false
|
|
375
353
|
}
|
|
376
354
|
},
|
|
377
|
-
|
|
378
|
-
"oldSource",
|
|
379
|
-
"newSource"
|
|
380
|
-
]
|
|
355
|
+
required: ["oldSource", "newSource"]
|
|
381
356
|
}
|
|
382
357
|
},
|
|
383
358
|
{
|
|
384
359
|
name: "wireweave_export_json",
|
|
385
360
|
description: "Export Wireweave DSL to JSON format",
|
|
386
361
|
inputSchema: {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
362
|
+
type: "object",
|
|
363
|
+
properties: {
|
|
364
|
+
source: {
|
|
365
|
+
type: "string",
|
|
366
|
+
description: "The Wireweave DSL source code to export"
|
|
392
367
|
},
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
368
|
+
includeLocations: {
|
|
369
|
+
type: "boolean",
|
|
370
|
+
description: "Include source location information in output",
|
|
371
|
+
default: false
|
|
397
372
|
},
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
373
|
+
prettyPrint: {
|
|
374
|
+
type: "boolean",
|
|
375
|
+
description: "Format JSON with indentation",
|
|
376
|
+
default: true
|
|
402
377
|
}
|
|
403
378
|
},
|
|
404
|
-
|
|
405
|
-
"source"
|
|
406
|
-
]
|
|
379
|
+
required: ["source"]
|
|
407
380
|
}
|
|
408
381
|
},
|
|
409
382
|
{
|
|
410
383
|
name: "wireweave_export_figma",
|
|
411
384
|
description: "Export Wireweave DSL to Figma-compatible format",
|
|
412
385
|
inputSchema: {
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
386
|
+
type: "object",
|
|
387
|
+
properties: {
|
|
388
|
+
source: {
|
|
389
|
+
type: "string",
|
|
390
|
+
description: "The Wireweave DSL source code to export"
|
|
418
391
|
}
|
|
419
392
|
},
|
|
420
|
-
|
|
421
|
-
"source"
|
|
422
|
-
]
|
|
393
|
+
required: ["source"]
|
|
423
394
|
}
|
|
424
395
|
},
|
|
425
396
|
{
|
|
426
397
|
name: "wireweave_analyze",
|
|
427
398
|
description: "Analyze Wireweave DSL for statistics and metrics including component usage, tree structure, accessibility score, and complexity",
|
|
428
399
|
inputSchema: {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
400
|
+
type: "object",
|
|
401
|
+
properties: {
|
|
402
|
+
source: {
|
|
403
|
+
type: "string",
|
|
404
|
+
description: "The Wireweave DSL source code to analyze"
|
|
434
405
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
406
|
+
includeComponentBreakdown: {
|
|
407
|
+
type: "boolean",
|
|
408
|
+
description: "Include detailed component usage breakdown",
|
|
409
|
+
default: true
|
|
439
410
|
},
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
411
|
+
includeAccessibility: {
|
|
412
|
+
type: "boolean",
|
|
413
|
+
description: "Include accessibility analysis",
|
|
414
|
+
default: true
|
|
444
415
|
},
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
416
|
+
includeComplexity: {
|
|
417
|
+
type: "boolean",
|
|
418
|
+
description: "Include complexity metrics",
|
|
419
|
+
default: true
|
|
449
420
|
},
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
421
|
+
includeLayout: {
|
|
422
|
+
type: "boolean",
|
|
423
|
+
description: "Include layout pattern analysis",
|
|
424
|
+
default: true
|
|
454
425
|
},
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
426
|
+
includeContent: {
|
|
427
|
+
type: "boolean",
|
|
428
|
+
description: "Include content analysis",
|
|
429
|
+
default: true
|
|
459
430
|
}
|
|
460
431
|
},
|
|
461
|
-
|
|
462
|
-
"source"
|
|
463
|
-
]
|
|
432
|
+
required: ["source"]
|
|
464
433
|
}
|
|
465
434
|
},
|
|
466
435
|
{
|
|
467
436
|
name: "wireweave_cloud_list_projects",
|
|
468
437
|
description: "List all your Wireweave projects. Projects help organize your wireframes. WORKFLOW: Call this first before saving wireframes. If the list is empty, ask the user whether to create a new project (call wireweave_cloud_create_project) or use the default project.",
|
|
469
438
|
inputSchema: {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
439
|
+
type: "object",
|
|
440
|
+
properties: {
|
|
441
|
+
includeArchived: {
|
|
442
|
+
type: "boolean",
|
|
443
|
+
description: "Include archived projects",
|
|
444
|
+
default: false
|
|
476
445
|
}
|
|
477
446
|
},
|
|
478
|
-
|
|
447
|
+
required: []
|
|
479
448
|
}
|
|
480
449
|
},
|
|
481
450
|
{
|
|
482
451
|
name: "wireweave_cloud_create_project",
|
|
483
452
|
description: "Create a new project to organize wireframes. Use this when the user wants to organize their wireframes into a specific project. The project can have a custom name, description, and color.",
|
|
484
453
|
inputSchema: {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
454
|
+
type: "object",
|
|
455
|
+
properties: {
|
|
456
|
+
name: {
|
|
457
|
+
type: "string",
|
|
458
|
+
description: "Project name"
|
|
490
459
|
},
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
460
|
+
description: {
|
|
461
|
+
type: "string",
|
|
462
|
+
description: "Project description"
|
|
494
463
|
},
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
464
|
+
color: {
|
|
465
|
+
type: "string",
|
|
466
|
+
description: "Project color (hex code, e.g., #6366f1)"
|
|
498
467
|
}
|
|
499
468
|
},
|
|
500
|
-
|
|
501
|
-
"name"
|
|
502
|
-
]
|
|
469
|
+
required: ["name"]
|
|
503
470
|
}
|
|
504
471
|
},
|
|
505
472
|
{
|
|
506
473
|
name: "wireweave_cloud_update_project",
|
|
507
474
|
description: "Update an existing project",
|
|
508
475
|
inputSchema: {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
476
|
+
type: "object",
|
|
477
|
+
properties: {
|
|
478
|
+
id: {
|
|
479
|
+
type: "string",
|
|
480
|
+
description: "Project ID to update"
|
|
514
481
|
},
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
482
|
+
name: {
|
|
483
|
+
type: "string",
|
|
484
|
+
description: "New project name"
|
|
518
485
|
},
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
486
|
+
description: {
|
|
487
|
+
type: "string",
|
|
488
|
+
description: "New project description"
|
|
522
489
|
},
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
490
|
+
color: {
|
|
491
|
+
type: "string",
|
|
492
|
+
description: "New project color (hex code)"
|
|
526
493
|
},
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
494
|
+
isArchived: {
|
|
495
|
+
type: "boolean",
|
|
496
|
+
description: "Archive or unarchive the project"
|
|
530
497
|
}
|
|
531
498
|
},
|
|
532
|
-
|
|
533
|
-
"id"
|
|
534
|
-
]
|
|
499
|
+
required: ["id"]
|
|
535
500
|
}
|
|
536
501
|
},
|
|
537
502
|
{
|
|
538
503
|
name: "wireweave_cloud_list_wireframes",
|
|
539
504
|
description: "List your saved wireframes. Optionally filter by project or tags.",
|
|
540
505
|
inputSchema: {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
506
|
+
type: "object",
|
|
507
|
+
properties: {
|
|
508
|
+
projectId: {
|
|
509
|
+
type: "string",
|
|
510
|
+
description: "Filter by project ID"
|
|
546
511
|
},
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
512
|
+
tags: {
|
|
513
|
+
type: "array",
|
|
514
|
+
items: {
|
|
515
|
+
type: "string"
|
|
551
516
|
},
|
|
552
|
-
|
|
517
|
+
description: "Filter by tags"
|
|
553
518
|
},
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
519
|
+
limit: {
|
|
520
|
+
type: "number",
|
|
521
|
+
description: "Maximum number of wireframes to return",
|
|
522
|
+
default: 20
|
|
558
523
|
},
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
524
|
+
offset: {
|
|
525
|
+
type: "number",
|
|
526
|
+
description: "Offset for pagination",
|
|
527
|
+
default: 0
|
|
563
528
|
}
|
|
564
529
|
},
|
|
565
|
-
|
|
530
|
+
required: []
|
|
566
531
|
}
|
|
567
532
|
},
|
|
568
533
|
{
|
|
569
534
|
name: "wireweave_cloud_get_wireframe",
|
|
570
535
|
description: "Get a specific wireframe by ID, including its code and metadata",
|
|
571
536
|
inputSchema: {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
537
|
+
type: "object",
|
|
538
|
+
properties: {
|
|
539
|
+
id: {
|
|
540
|
+
type: "string",
|
|
541
|
+
description: "Wireframe ID"
|
|
577
542
|
}
|
|
578
543
|
},
|
|
579
|
-
|
|
580
|
-
"id"
|
|
581
|
-
]
|
|
544
|
+
required: ["id"]
|
|
582
545
|
}
|
|
583
546
|
},
|
|
584
547
|
{
|
|
585
548
|
name: "wireweave_cloud_save_wireframe",
|
|
586
549
|
description: "Save a new wireframe to the cloud. Free (v2.0+).\n\nRECOMMENDED WORKFLOW:\n1. Call wireweave_cloud_list_projects to get available projects\n2. If projects exist: Ask user which project to save to\n3. If no projects: Ask user to (a) create a new project, or (b) save to default project\n4. Call this tool with the chosen projectId (or omit for default project)\n\nNote: If projectId is not provided, the wireframe will be saved to the user's default project.",
|
|
587
550
|
inputSchema: {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
551
|
+
type: "object",
|
|
552
|
+
properties: {
|
|
553
|
+
name: {
|
|
554
|
+
type: "string",
|
|
555
|
+
description: "Wireframe name"
|
|
593
556
|
},
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
557
|
+
code: {
|
|
558
|
+
type: "string",
|
|
559
|
+
description: "Wireweave DSL code"
|
|
597
560
|
},
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
561
|
+
description: {
|
|
562
|
+
type: "string",
|
|
563
|
+
description: "Wireframe description"
|
|
601
564
|
},
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
565
|
+
projectId: {
|
|
566
|
+
type: "string",
|
|
567
|
+
description: "Project ID to save to. Get available projects using wireweave_cloud_list_projects first."
|
|
605
568
|
},
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
569
|
+
tags: {
|
|
570
|
+
type: "array",
|
|
571
|
+
items: {
|
|
572
|
+
type: "string"
|
|
610
573
|
},
|
|
611
|
-
|
|
574
|
+
description: "Tags for categorization"
|
|
612
575
|
},
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
576
|
+
isPublic: {
|
|
577
|
+
type: "boolean",
|
|
578
|
+
description: "Make wireframe publicly visible",
|
|
579
|
+
default: false
|
|
617
580
|
}
|
|
618
581
|
},
|
|
619
|
-
|
|
620
|
-
"name",
|
|
621
|
-
"code"
|
|
622
|
-
]
|
|
582
|
+
required: ["name", "code"]
|
|
623
583
|
}
|
|
624
584
|
},
|
|
625
585
|
{
|
|
626
586
|
name: "wireweave_cloud_update_wireframe",
|
|
627
587
|
description: "Update an existing wireframe. Creates a new version automatically. Free (v2.0+).",
|
|
628
588
|
inputSchema: {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
589
|
+
type: "object",
|
|
590
|
+
properties: {
|
|
591
|
+
id: {
|
|
592
|
+
type: "string",
|
|
593
|
+
description: "Wireframe ID to update"
|
|
634
594
|
},
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
595
|
+
name: {
|
|
596
|
+
type: "string",
|
|
597
|
+
description: "New name (optional)"
|
|
638
598
|
},
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
599
|
+
code: {
|
|
600
|
+
type: "string",
|
|
601
|
+
description: "New Wireweave DSL code (optional)"
|
|
642
602
|
},
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
603
|
+
description: {
|
|
604
|
+
type: "string",
|
|
605
|
+
description: "New description (optional)"
|
|
646
606
|
},
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
607
|
+
tags: {
|
|
608
|
+
type: "array",
|
|
609
|
+
items: {
|
|
610
|
+
type: "string"
|
|
651
611
|
},
|
|
652
|
-
|
|
612
|
+
description: "New tags (optional)"
|
|
653
613
|
},
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
614
|
+
isPublic: {
|
|
615
|
+
type: "boolean",
|
|
616
|
+
description: "Update public visibility (optional)"
|
|
657
617
|
}
|
|
658
618
|
},
|
|
659
|
-
|
|
660
|
-
"id"
|
|
661
|
-
]
|
|
619
|
+
required: ["id"]
|
|
662
620
|
}
|
|
663
621
|
},
|
|
664
622
|
{
|
|
665
623
|
name: "wireweave_cloud_delete_wireframe",
|
|
666
624
|
description: "Delete a wireframe permanently",
|
|
667
625
|
inputSchema: {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
626
|
+
type: "object",
|
|
627
|
+
properties: {
|
|
628
|
+
id: {
|
|
629
|
+
type: "string",
|
|
630
|
+
description: "Wireframe ID to delete"
|
|
673
631
|
}
|
|
674
632
|
},
|
|
675
|
-
|
|
676
|
-
"id"
|
|
677
|
-
]
|
|
633
|
+
required: ["id"]
|
|
678
634
|
}
|
|
679
635
|
},
|
|
680
636
|
{
|
|
681
637
|
name: "wireweave_cloud_get_versions",
|
|
682
638
|
description: "Get version history of a wireframe",
|
|
683
639
|
inputSchema: {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
640
|
+
type: "object",
|
|
641
|
+
properties: {
|
|
642
|
+
wireframeId: {
|
|
643
|
+
type: "string",
|
|
644
|
+
description: "Wireframe ID"
|
|
689
645
|
}
|
|
690
646
|
},
|
|
691
|
-
|
|
692
|
-
"wireframeId"
|
|
693
|
-
]
|
|
647
|
+
required: ["wireframeId"]
|
|
694
648
|
}
|
|
695
649
|
},
|
|
696
650
|
{
|
|
697
651
|
name: "wireweave_cloud_restore_version",
|
|
698
652
|
description: "Restore a wireframe to a previous version. Free (v2.0+).",
|
|
699
653
|
inputSchema: {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
654
|
+
type: "object",
|
|
655
|
+
properties: {
|
|
656
|
+
wireframeId: {
|
|
657
|
+
type: "string",
|
|
658
|
+
description: "Wireframe ID"
|
|
705
659
|
},
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
660
|
+
version: {
|
|
661
|
+
type: "number",
|
|
662
|
+
description: "Version number to restore"
|
|
709
663
|
}
|
|
710
664
|
},
|
|
711
|
-
|
|
712
|
-
"wireframeId",
|
|
713
|
-
"version"
|
|
714
|
-
]
|
|
665
|
+
required: ["wireframeId", "version"]
|
|
715
666
|
}
|
|
716
667
|
},
|
|
717
668
|
{
|
|
718
669
|
name: "wireweave_cloud_create_share_link",
|
|
719
670
|
description: "Create a shareable link for a wireframe. Free (v2.0+).",
|
|
720
671
|
inputSchema: {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
672
|
+
type: "object",
|
|
673
|
+
properties: {
|
|
674
|
+
wireframeId: {
|
|
675
|
+
type: "string",
|
|
676
|
+
description: "Wireframe ID to share"
|
|
726
677
|
},
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
678
|
+
title: {
|
|
679
|
+
type: "string",
|
|
680
|
+
description: "Custom title for the shared view"
|
|
730
681
|
},
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
682
|
+
allowCopy: {
|
|
683
|
+
type: "boolean",
|
|
684
|
+
description: "Allow viewers to copy the code",
|
|
685
|
+
default: false
|
|
735
686
|
},
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
687
|
+
password: {
|
|
688
|
+
type: "string",
|
|
689
|
+
description: "Password protection (optional)"
|
|
739
690
|
},
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
691
|
+
expiresInDays: {
|
|
692
|
+
type: "number",
|
|
693
|
+
description: "Link expiration in days (optional, null = never)"
|
|
743
694
|
}
|
|
744
695
|
},
|
|
745
|
-
|
|
746
|
-
"wireframeId"
|
|
747
|
-
]
|
|
696
|
+
required: ["wireframeId"]
|
|
748
697
|
}
|
|
749
698
|
},
|
|
750
699
|
{
|
|
751
700
|
name: "wireweave_cloud_list_shares",
|
|
752
701
|
description: "List share links for a wireframe",
|
|
753
702
|
inputSchema: {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
703
|
+
type: "object",
|
|
704
|
+
properties: {
|
|
705
|
+
wireframeId: {
|
|
706
|
+
type: "string",
|
|
707
|
+
description: "Wireframe ID"
|
|
759
708
|
}
|
|
760
709
|
},
|
|
761
|
-
|
|
762
|
-
"wireframeId"
|
|
763
|
-
]
|
|
710
|
+
required: ["wireframeId"]
|
|
764
711
|
}
|
|
765
712
|
},
|
|
766
713
|
{
|
|
767
714
|
name: "wireweave_cloud_diff_versions",
|
|
768
715
|
description: "Compare two versions of a wireframe and return the differences. Useful for reviewing changes without loading full code.",
|
|
769
716
|
inputSchema: {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
717
|
+
type: "object",
|
|
718
|
+
properties: {
|
|
719
|
+
wireframeId: {
|
|
720
|
+
type: "string",
|
|
721
|
+
description: "Wireframe ID"
|
|
775
722
|
},
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
723
|
+
versionA: {
|
|
724
|
+
type: "number",
|
|
725
|
+
description: "First version number to compare"
|
|
779
726
|
},
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
727
|
+
versionB: {
|
|
728
|
+
type: "number",
|
|
729
|
+
description: "Second version number to compare"
|
|
783
730
|
}
|
|
784
731
|
},
|
|
785
|
-
|
|
786
|
-
"wireframeId",
|
|
787
|
-
"versionA",
|
|
788
|
-
"versionB"
|
|
789
|
-
]
|
|
732
|
+
required: ["wireframeId", "versionA", "versionB"]
|
|
790
733
|
}
|
|
791
734
|
},
|
|
792
735
|
{
|
|
793
736
|
name: "wireweave_account_balance",
|
|
794
737
|
description: "Check your current credit balance and subscription status",
|
|
795
738
|
inputSchema: {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
739
|
+
type: "object",
|
|
740
|
+
properties: {},
|
|
741
|
+
required: []
|
|
799
742
|
}
|
|
800
743
|
},
|
|
801
744
|
{
|
|
802
745
|
name: "wireweave_account_subscription",
|
|
803
746
|
description: "Get detailed subscription information including plan features",
|
|
804
747
|
inputSchema: {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
748
|
+
type: "object",
|
|
749
|
+
properties: {},
|
|
750
|
+
required: []
|
|
808
751
|
}
|
|
809
752
|
},
|
|
810
753
|
{
|
|
811
754
|
name: "wireweave_account_transactions",
|
|
812
755
|
description: "View your credit transaction history",
|
|
813
756
|
inputSchema: {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
757
|
+
type: "object",
|
|
758
|
+
properties: {
|
|
759
|
+
limit: {
|
|
760
|
+
type: "number",
|
|
761
|
+
description: "Number of transactions to return",
|
|
762
|
+
default: 20
|
|
820
763
|
},
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
"subscription",
|
|
826
|
-
"usage",
|
|
827
|
-
"refund",
|
|
828
|
-
"bonus",
|
|
829
|
-
"admin"
|
|
830
|
-
],
|
|
831
|
-
"description": "Filter by transaction type"
|
|
764
|
+
type: {
|
|
765
|
+
type: "string",
|
|
766
|
+
enum: ["purchase", "subscription", "usage", "refund", "bonus", "admin"],
|
|
767
|
+
description: "Filter by transaction type"
|
|
832
768
|
}
|
|
833
769
|
},
|
|
834
|
-
|
|
770
|
+
required: []
|
|
835
771
|
}
|
|
836
772
|
},
|
|
837
773
|
{
|
|
838
774
|
name: "wireweave_pricing",
|
|
839
775
|
description: "Get current pricing information for plans, credit packs, and feature costs",
|
|
840
776
|
inputSchema: {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
777
|
+
type: "object",
|
|
778
|
+
properties: {},
|
|
779
|
+
required: []
|
|
844
780
|
}
|
|
845
781
|
},
|
|
846
782
|
{
|
|
847
783
|
name: "wireweave_gallery",
|
|
848
784
|
description: "Browse public wireframe gallery for inspiration",
|
|
849
785
|
inputSchema: {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
786
|
+
type: "object",
|
|
787
|
+
properties: {
|
|
788
|
+
tags: {
|
|
789
|
+
type: "array",
|
|
790
|
+
items: {
|
|
791
|
+
type: "string"
|
|
856
792
|
},
|
|
857
|
-
|
|
793
|
+
description: "Filter by tags"
|
|
858
794
|
},
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
795
|
+
limit: {
|
|
796
|
+
type: "number",
|
|
797
|
+
description: "Number of wireframes to return",
|
|
798
|
+
default: 20
|
|
863
799
|
}
|
|
864
800
|
},
|
|
865
|
-
|
|
801
|
+
required: []
|
|
866
802
|
}
|
|
867
803
|
}
|
|
868
804
|
];
|
|
@@ -883,17 +819,53 @@ var toolEndpoints = {
|
|
|
883
819
|
wireweave_analyze: { method: "POST", path: "/tools/analyze" },
|
|
884
820
|
wireweave_cloud_list_projects: { method: "GET", path: "/cloud/projects" },
|
|
885
821
|
wireweave_cloud_create_project: { method: "POST", path: "/cloud/projects" },
|
|
886
|
-
wireweave_cloud_update_project: {
|
|
822
|
+
wireweave_cloud_update_project: {
|
|
823
|
+
method: "PATCH",
|
|
824
|
+
path: "/cloud/projects/:id",
|
|
825
|
+
pathParams: ["id"]
|
|
826
|
+
},
|
|
887
827
|
wireweave_cloud_list_wireframes: { method: "GET", path: "/cloud/wireframes" },
|
|
888
|
-
wireweave_cloud_get_wireframe: {
|
|
828
|
+
wireweave_cloud_get_wireframe: {
|
|
829
|
+
method: "GET",
|
|
830
|
+
path: "/cloud/wireframes/:id",
|
|
831
|
+
pathParams: ["id"]
|
|
832
|
+
},
|
|
889
833
|
wireweave_cloud_save_wireframe: { method: "POST", path: "/cloud/wireframes" },
|
|
890
|
-
wireweave_cloud_update_wireframe: {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
834
|
+
wireweave_cloud_update_wireframe: {
|
|
835
|
+
method: "PATCH",
|
|
836
|
+
path: "/cloud/wireframes/:id",
|
|
837
|
+
pathParams: ["id"]
|
|
838
|
+
},
|
|
839
|
+
wireweave_cloud_delete_wireframe: {
|
|
840
|
+
method: "DELETE",
|
|
841
|
+
path: "/cloud/wireframes/:id",
|
|
842
|
+
pathParams: ["id"]
|
|
843
|
+
},
|
|
844
|
+
wireweave_cloud_get_versions: {
|
|
845
|
+
method: "GET",
|
|
846
|
+
path: "/cloud/wireframes/:wireframeId/versions",
|
|
847
|
+
pathParams: ["wireframeId"]
|
|
848
|
+
},
|
|
849
|
+
wireweave_cloud_restore_version: {
|
|
850
|
+
method: "POST",
|
|
851
|
+
path: "/cloud/wireframes/:wireframeId/versions/:version/restore",
|
|
852
|
+
pathParams: ["wireframeId", "version"]
|
|
853
|
+
},
|
|
854
|
+
wireweave_cloud_create_share_link: {
|
|
855
|
+
method: "POST",
|
|
856
|
+
path: "/cloud/wireframes/:wireframeId/shares",
|
|
857
|
+
pathParams: ["wireframeId"]
|
|
858
|
+
},
|
|
859
|
+
wireweave_cloud_list_shares: {
|
|
860
|
+
method: "GET",
|
|
861
|
+
path: "/cloud/wireframes/:wireframeId/shares",
|
|
862
|
+
pathParams: ["wireframeId"]
|
|
863
|
+
},
|
|
864
|
+
wireweave_cloud_diff_versions: {
|
|
865
|
+
method: "GET",
|
|
866
|
+
path: "/cloud/wireframes/:wireframeId/diff",
|
|
867
|
+
pathParams: ["wireframeId"]
|
|
868
|
+
},
|
|
897
869
|
wireweave_account_balance: { method: "GET", path: "/billing/balance" },
|
|
898
870
|
wireweave_account_subscription: { method: "GET", path: "/billing/subscription" },
|
|
899
871
|
wireweave_account_transactions: { method: "GET", path: "/billing/transactions" },
|