-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin-api.json
More file actions
133 lines (115 loc) · 4.54 KB
/
Copy pathplugin-api.json
File metadata and controls
133 lines (115 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"$comment": "Single source of truth for the project-plugin ABI. Edit here, then run: node packages/benchday-protocol/generate-plugin-api.mjs",
"api_version": 1,
"manifest_schema": "benchday.plugin/1",
"report_envelope_schema": "benchday.plugin.report/1",
"report_map_schema": "benchday.plugin.report-map/1",
"contribution_schema": "benchday.plugin.contribution/1",
"action_schema": "benchday.plugin.action/1",
"probe_schema": "benchday.plugin.probe/1",
"collection_schema": "benchday.plugin.collection/1",
"slots": [
{ "id": "project.summary", "version": 1, "kinds": ["decoration"] },
{ "id": "work.row.badges", "version": 1, "kinds": ["decoration"] },
{ "id": "work.row.actions", "version": 1, "kinds": ["action"] },
{ "id": "work.detail.actions", "version": 1, "kinds": ["action", "decoration"] },
{ "id": "terminal.header.badges", "version": 1, "kinds": ["decoration"] },
{ "id": "terminal.context.actions", "version": 1, "kinds": ["action"] },
{ "id": "terminal.command.palette", "version": 1, "kinds": ["action"] }
],
"surfaces": [
{ "id": "files", "version": 1, "views": ["browser", "recent", "git"] },
{ "id": "extension.popup", "version": 1, "views": ["status"] },
{ "id": "extension.web", "version": 1, "views": ["page"] }
],
"probe_kinds": ["path_exists", "path_capture", "file_meta", "exec_version", "exec_json", "exec_text", "checklist_md"],
"probe_context_keys": ["pane.cwd", "pane.id", "project.root"],
"effect_classes": ["read", "validate", "write-project", "external"],
"effects_requiring_confirmation": ["write-project", "external"],
"permission_classes": [
{ "id": "project.read.metadata", "parameterized": false },
{ "id": "project.read.files", "parameterized": true },
{ "id": "process.exec", "parameterized": true },
{ "id": "work.read.associations", "parameterized": false },
{ "id": "work.read.labels", "parameterized": false }
],
"publisher_trust_tiers": ["first-party", "verified", "community"],
"freshness": ["fresh", "stale", "unavailable"],
"completeness": ["complete", "partial"],
"evidence_classes": ["path", "exec", "cwd", "session", "user"],
"diagnostic_severities": ["info", "warning", "error"],
"tones": ["neutral", "info", "success", "warning", "danger"],
"fits": ["fixed", "marquee", "ellipsis"],
"icon_keys": [
"spec", "check", "warning", "error", "info", "list", "play", "refresh",
"doc", "folder", "tag", "clock", "question"
],
"limits": {
"package_max_files": 256,
"package_max_file_bytes": 262144,
"manifest_max_bytes": 65536,
"max_probes": 16,
"max_actions": 24,
"max_contributions": 32,
"max_collections": 16,
"probe_default_timeout_ms": 5000,
"probe_max_timeout_ms": 30000,
"probe_default_max_output_bytes": 65536,
"probe_max_output_bytes": 262144,
"max_concurrent_probes": 4,
"action_default_timeout_ms": 20000,
"action_max_timeout_ms": 120000,
"action_default_max_output_bytes": 65536,
"action_max_output_bytes": 262144,
"max_concurrent_actions": 2,
"action_max_args": 16,
"report_max_bytes": 131072,
"report_max_evidence": 32,
"report_max_diagnostics": 16,
"report_default_ttl_ms": 60000,
"decoration_max_label_chars": 24,
"decoration_max_segments": 4,
"decoration_max_segment_chars": 16,
"decoration_max_elastic_chars": 64,
"destination_max_params": 4,
"destination_max_param_chars": 128,
"popup_max_rows": 24,
"popup_max_title_chars": 48,
"popup_max_row_chars": 64,
"collection_max_rows": 64,
"collection_max_title_chars": 48,
"collection_max_description_chars": 512,
"collection_max_row_bytes": 16384,
"web_page_max_bytes": 65536,
"work_max_panes_scanned": 32,
"work_max_candidates": 32,
"work_max_subjects_per_candidate": 3,
"work_max_possible_per_candidate": 1,
"work_max_subjects_total": 64,
"work_max_label_chars": 48,
"work_max_payload_bytes": 16384,
"footer_actions_max": 3,
"decoration_max_tooltip_chars": 120,
"action_max_label_chars": 32,
"max_contributions_per_slot": 3,
"max_contributions_per_plugin_per_slot": 2,
"failure_backoff_threshold": 3,
"failure_backoff_base_ms": 30000,
"failure_backoff_max_ms": 900000,
"cache_max_reports": 64,
"cache_max_bytes": 4194304,
"cache_max_age_ms": 604800000,
"audit_max_records": 512,
"audit_max_age_ms": 604800000
},
"reserved_core_fields": [
"attention",
"presence",
"lifecycle",
"rank",
"group",
"lease",
"navigation",
"input_routing"
]
}