feat(workbench): add bounded JSON and CSV ResourceView renderers
Serve static application/json and text/csv previews with outline/table limits and flip extract_formats availability for those media types. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e833dc05e2
commit
43eebe5671
3 files changed
+289
-4
No files matched your search
@@ -48,8 +48,8 @@ pub fn probe_capabilities(params: &Value) -> Value {
|
||||
json!({"format": "docx", "available": false}),
|
||||
json!({"format": "ocr", "available": false}),
|
||||
// M-A0 freeze: format matrix rows remain unavailable until M-A3/M-A5.
|
||||
json!({"format": "json", "available": false}),
|
||||
json!({"format": "csv", "available": false}),
|
||||
json!({"format": "json", "available": true}),
|
||||
json!({"format": "csv", "available": true}),
|
||||
json!({"format": "image", "available": false}),
|
||||
json!({"format": "html", "available": false}),
|
||||
json!({"format": "svg", "available": false}),
|
||||
|
||||
Reference in new issue
Block a user