This repository was archived by the owner on Mar 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.json
More file actions
283 lines (278 loc) · 11 KB
/
types.json
File metadata and controls
283 lines (278 loc) · 11 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
{
"version": "0.2.0",
"generated": "2026-03-14",
"description": "Machine-readable catalog of all standard Effector types. Consumed by skill-lint, skill-eval, effector-compose, effector-graph, and any tool that needs to validate or check compatibility of type names declared in effector.toml manifests.",
"types": {
"input": {
"String": {
"category": "primitive",
"fields": { "required": ["text"], "optional": ["encoding"] },
"aliases": ["PlainText", "TextString"],
"frequency": 0.62,
"description": "Plain text input — the most common input type"
},
"FilePath": {
"category": "primitive",
"fields": { "required": ["path"], "optional": ["exists", "type", "mimeType"] },
"frequency": 0.18,
"description": "A filesystem path (absolute or relative)"
},
"URL": {
"category": "primitive",
"fields": { "required": ["href"], "optional": ["protocol"] },
"frequency": 0.12,
"description": "A URL string"
},
"JSON": {
"category": "primitive",
"fields": { "required": ["data"], "optional": ["schema"] },
"frequency": 0.05,
"description": "JSON data with optional schema"
},
"RepositoryRef": {
"category": "reference",
"fields": { "required": ["owner", "repo"], "optional": ["provider", "ref", "url"] },
"frequency": 0.04,
"description": "A reference to a version-controlled repository"
},
"CodeDiff": {
"category": "code",
"fields": { "required": ["files"], "optional": ["baseBranch", "headBranch", "repository"] },
"frequency": 0.03,
"description": "A code diff between two states"
},
"CodeSnippet": {
"category": "code",
"fields": { "required": ["code", "language"], "optional": ["path", "startLine", "endLine"] },
"description": "A snippet of source code with language"
},
"IssueRef": {
"category": "reference",
"fields": { "required": ["id"], "optional": ["repo", "provider", "url"] },
"description": "A reference to an issue or ticket"
},
"PullRequestRef": {
"category": "reference",
"fields": { "required": ["number"], "optional": ["repo", "provider", "title", "headBranch", "baseBranch", "url"] },
"description": "A reference to a pull request"
},
"CommitRef": {
"category": "reference",
"fields": { "required": ["sha"], "optional": ["repo", "message", "author", "timestamp"] },
"description": "A reference to a specific commit"
},
"TextDocument": {
"category": "document",
"fields": { "required": ["content", "format"], "optional": ["title", "metadata"] },
"description": "A text document in any format"
},
"DataTable": {
"category": "data",
"fields": { "required": ["headers", "rows"], "optional": ["types"] },
"description": "Tabular data — rows and columns"
},
"ImageRef": {
"category": "media",
"fields": { "required": ["mimeType"], "optional": ["url", "path", "base64", "width", "height"] },
"description": "An image with metadata"
},
"PatchSet": {
"category": "code",
"fields": { "required": ["patches", "description"] },
"description": "A set of patches to apply to a codebase"
},
"StructuredData": {
"category": "data",
"fields": { "required": ["data"], "optional": ["schema"] },
"description": "Structured data with optional JSON Schema"
}
},
"output": {
"Markdown": {
"category": "primitive",
"fields": { "required": ["content"], "optional": ["title"] },
"aliases": ["MarkdownReport", "MarkdownContent"],
"frequency": 0.45,
"description": "Markdown-formatted text — the most common output type"
},
"JSON": {
"category": "primitive",
"fields": { "required": ["data"], "optional": ["schema"] },
"aliases": ["JSONResult", "JSONPayload"],
"frequency": 0.28,
"description": "JSON data output"
},
"String": {
"category": "primitive",
"fields": { "required": ["text"], "optional": ["encoding"] },
"aliases": ["PlainText"],
"frequency": 0.15,
"description": "Plain text output"
},
"ReviewReport": {
"category": "analysis",
"fields": { "required": ["findings", "severity", "summary"], "optional": ["score"] },
"description": "A code review report with findings"
},
"SecurityReport": {
"category": "analysis",
"fields": { "required": ["vulnerabilities", "riskLevel", "summary", "findings", "severity"] },
"subtypeOf": ["ReviewReport"],
"description": "A security scan report — structural subtype of ReviewReport"
},
"Notification": {
"category": "communication",
"fields": { "required": ["message"], "optional": ["channel", "level", "attachments"] },
"frequency": 0.03,
"description": "A notification to a communication platform"
},
"SlackMessage": {
"category": "communication",
"fields": { "required": ["message", "channel", "text"], "optional": ["blocks", "thread_ts"] },
"subtypeOf": ["Notification"],
"description": "Slack-specific notification — satisfies Notification.message and adds channel/text"
},
"DiscordMessage": {
"category": "communication",
"fields": { "required": ["message", "channelId", "content"], "optional": ["embeds"] },
"subtypeOf": ["Notification"],
"description": "Discord notification — satisfies Notification.message and adds channelId/content"
},
"OperationStatus": {
"category": "status",
"fields": { "required": ["success"], "optional": ["exitCode", "stdout", "stderr", "duration", "message"] },
"description": "Generic operation execution result"
},
"TestResult": {
"category": "status",
"fields": { "required": ["passed", "failed", "skipped", "total", "duration"], "optional": ["failures", "coverage"] },
"description": "Test run result"
},
"DeploymentStatus": {
"category": "status",
"fields": { "required": ["status"], "optional": ["environment", "version", "url", "timestamp", "logs"] },
"description": "Deployment status"
},
"LintReport": {
"category": "analysis",
"fields": { "required": ["issues", "total", "errorCount", "warningCount", "passedChecks"] },
"description": "Static analysis / linting report"
},
"Summary": {
"category": "analysis",
"fields": { "required": ["text", "keyPoints", "confidence", "wordCount"] },
"description": "A summary of content"
},
"TranslatedText": {
"category": "analysis",
"fields": { "required": ["text", "sourceLanguage", "targetLanguage", "confidence"] },
"description": "Translated text output"
}
},
"context": {
"GitHubCredentials": {
"category": "credentials",
"fields": { "required": ["tokenEnvVar"], "optional": ["scopes"] },
"frequency": 0.38,
"description": "GitHub credentials — most common context type"
},
"GenericAPIKey": {
"category": "credentials",
"fields": { "required": ["service", "envVar"] },
"frequency": 0.20,
"description": "Generic API key credential"
},
"Docker": {
"category": "tools",
"fields": { "required": [], "optional": ["registryUrl", "platform"] },
"frequency": 0.22,
"description": "Docker tool context"
},
"Kubernetes": {
"category": "tools",
"fields": { "required": [], "optional": ["namespace", "contextName", "kubeconfigEnvVar"] },
"frequency": 0.15,
"description": "Kubernetes cluster context"
},
"AWSCredentials": {
"category": "credentials",
"fields": { "required": [], "optional": ["region", "profileEnvVar"] },
"frequency": 0.14,
"description": "AWS credentials context"
},
"SlackCredentials": {
"category": "credentials",
"fields": { "required": ["tokenEnvVar"] },
"frequency": 0.12,
"description": "Slack workspace credentials"
},
"Repository": {
"category": "config",
"fields": { "required": ["url"], "optional": ["branch", "provider", "defaultBranch"] },
"description": "Source code repository context"
},
"CodingStandards": {
"category": "config",
"fields": { "required": [], "optional": ["rules", "linter", "style", "language"] },
"description": "Coding standards / style guide"
},
"ShellEnvironment": {
"category": "tools",
"fields": { "required": [], "optional": ["workingDirectory", "env", "timeout"] },
"description": "Shell / process execution environment"
},
"UserPreferences": {
"category": "config",
"fields": { "required": [], "optional": ["language", "timezone", "verbosity"] },
"description": "User preferences for capability execution"
},
"ConversationHistory": {
"category": "agent",
"fields": { "required": ["messages", "tokenCount"] },
"description": "Conversation history context"
},
"PromptContext": {
"category": "agent",
"fields": { "required": ["variables"] },
"description": "Template variable bindings for prompt Effectors"
},
"APICredentials": {
"category": "credentials",
"fields": { "required": ["service", "authMethod"] },
"description": "Opaque API credentials"
}
}
},
"subtypeRelations": [
{
"subtype": "SecurityReport",
"supertype": "ReviewReport",
"reason": "SecurityReport has all ReviewReport fields (findings, severity, summary) plus vulnerabilities and riskLevel"
},
{
"subtype": "SlackMessage",
"supertype": "Notification",
"reason": "SlackMessage has required message-like fields that satisfy Notification's interface"
},
{
"subtype": "DiscordMessage",
"supertype": "Notification",
"reason": "DiscordMessage has required message-like fields that satisfy Notification's interface"
}
],
"categories": {
"primitive": "Basic data types (strings, numbers, URLs, file paths)",
"code": "Source code, diffs, patches",
"reference": "References to external resources (repos, issues, PRs, commits)",
"document": "Formatted documents",
"data": "Structured and tabular data",
"media": "Images, audio, video",
"analysis": "Reports, summaries, assessments",
"communication": "Messages and notifications",
"status": "Operation and deployment results",
"credentials": "Authentication tokens and API keys",
"tools": "Tool and runtime contexts",
"config": "Configuration and preferences",
"agent": "Agent-specific contexts"
}
}