-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoperator.json
More file actions
81 lines (81 loc) · 1.72 KB
/
operator.json
File metadata and controls
81 lines (81 loc) · 1.72 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
{
"schema_version": "operator.v0",
"name": "hashbytes",
"version": "0.3.2",
"description": "Computes exact byte identity (SHA-256 or BLAKE3) for artifacts in a manifest",
"repository": "https://github.com/cmdrvl/hash",
"license": "MIT",
"agent_guide": "https://github.com/cmdrvl/.github/blob/main/profile/AGENT_PROMPT.md",
"invocation": {
"binary": "hashbytes",
"output_mode": "stream",
"output_schema": "hash.v0",
"json_flag": null
},
"arguments": [
{
"name": "input",
"type": "file_path",
"required": false,
"position": 0,
"description": "JSONL manifest file (default: stdin)"
}
],
"options": [
{
"name": "algorithm",
"flag": "--algorithm",
"type": "string",
"default": "sha256",
"description": "Hash algorithm: sha256 or blake3"
},
{
"name": "jobs",
"flag": "--jobs",
"type": "integer",
"description": "Number of parallel workers (default: CPU count)"
}
],
"exit_codes": {
"0": {
"meaning": "ALL_HASHED",
"domain": "positive"
},
"1": {
"meaning": "PARTIAL",
"domain": "negative"
},
"2": {
"meaning": "REFUSAL",
"domain": "error"
}
},
"refusals": [
{
"code": "E_BAD_INPUT",
"message": "Input is not valid JSONL or missing required fields",
"action": "escalate"
},
{
"code": "E_IO",
"message": "Cannot read input/output stream",
"action": "escalate"
}
],
"capabilities": {
"formats": [
"*"
],
"profile_aware": false,
"streaming": true
},
"pipeline": {
"upstream": [
"vacuum"
],
"downstream": [
"fingerprint",
"lock"
]
}
}