@haystackeditor/cli 0.15.20 → 0.15.22
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 +42 -2
- package/dist/commands/verify-core.d.ts +449 -0
- package/dist/commands/verify-core.js +789 -0
- package/dist/commands/verify-hosted.d.ts +60 -0
- package/dist/commands/verify-hosted.js +342 -0
- package/dist/commands/verify-mcp.d.ts +8 -0
- package/dist/commands/verify-mcp.js +517 -0
- package/dist/commands/verify-ops.d.ts +158 -0
- package/dist/commands/verify-ops.js +1148 -0
- package/dist/commands/verify-reproducibility.d.ts +85 -0
- package/dist/commands/verify-reproducibility.js +494 -0
- package/dist/commands/verify-reseal.d.ts +9 -0
- package/dist/commands/verify-reseal.js +148 -0
- package/dist/commands/verify-sandboxes.d.ts +95 -0
- package/dist/commands/verify-sandboxes.js +352 -0
- package/dist/commands/verify.d.ts +22 -0
- package/dist/commands/verify.js +130 -0
- package/dist/index.js +326 -0
- package/dist/schema.d.ts +1 -0
- package/dist/schema.js +1 -0
- package/dist/types.d.ts +54 -0
- package/dist/types.js +15 -0
- package/dist/utils/haystack-api.d.ts +1 -1
- package/dist/utils/haystack-api.js +2 -2
- package/package.json +2 -2
- package/schemas/cloud-verifier.v1.json +96 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://docs.haystackeditor.com/cli/schemas/cloud-verifier.v1.json",
|
|
4
|
+
"title": "Haystack hosted Cloud Verifier result",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"operation",
|
|
10
|
+
"run_id",
|
|
11
|
+
"status"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schema_version": {
|
|
15
|
+
"const": "1.0.0"
|
|
16
|
+
},
|
|
17
|
+
"operation": {
|
|
18
|
+
"enum": [
|
|
19
|
+
"start",
|
|
20
|
+
"status"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"run_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^cv_[0-9a-f]{48}$"
|
|
26
|
+
},
|
|
27
|
+
"status": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^[a-z][a-z0-9_-]{1,31}$"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"pattern": "^[A-Za-z0-9_.-]{1,100}/[A-Za-z0-9_.-]{1,100}$"
|
|
34
|
+
},
|
|
35
|
+
"base_commit": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^[0-9a-f]{40}$"
|
|
38
|
+
},
|
|
39
|
+
"head_commit": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[0-9a-f]{40}$"
|
|
42
|
+
},
|
|
43
|
+
"created_at": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"format": "date-time"
|
|
46
|
+
},
|
|
47
|
+
"completed_at": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "date-time"
|
|
50
|
+
},
|
|
51
|
+
"account": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"pattern": "^[A-Za-z0-9](?:[A-Za-z0-9]|-(?=[A-Za-z0-9])){0,38}$"
|
|
54
|
+
},
|
|
55
|
+
"idempotency_key": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
|
|
58
|
+
},
|
|
59
|
+
"next_command": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"timed_out": {
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"output": {
|
|
66
|
+
"type": "object"
|
|
67
|
+
},
|
|
68
|
+
"error": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"allOf": [
|
|
73
|
+
{
|
|
74
|
+
"if": {
|
|
75
|
+
"properties": {
|
|
76
|
+
"status": {
|
|
77
|
+
"const": "complete"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": [
|
|
81
|
+
"status"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"then": {
|
|
85
|
+
"required": [
|
|
86
|
+
"repository",
|
|
87
|
+
"base_commit",
|
|
88
|
+
"head_commit",
|
|
89
|
+
"created_at",
|
|
90
|
+
"completed_at",
|
|
91
|
+
"output"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|