taggor 0.0.0-stage → 0.2.0
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/EXIT_CODES.md +20 -0
- package/LICENSE +21 -0
- package/README.md +51 -2
- package/bin/taggor.js +8 -0
- package/dist/taggor.mjs +26340 -0
- package/package.json +66 -3
- package/schemas/agent-install.json +131 -0
- package/schemas/attach.json +109 -0
- package/schemas/check.json +200 -0
- package/schemas/data-collections.json +102 -0
- package/schemas/data-export.json +82 -0
- package/schemas/detach.json +80 -0
- package/schemas/dev.json +81 -0
- package/schemas/init.json +139 -0
- package/schemas/login.json +100 -0
- package/schemas/logout.json +73 -0
- package/schemas/logs.json +133 -0
- package/schemas/metrics.json +218 -0
- package/schemas/projects-clean.json +106 -0
- package/schemas/projects-list.json +102 -0
- package/schemas/promote.json +182 -0
- package/schemas/publish.json +426 -0
- package/schemas/pull.json +120 -0
- package/schemas/rollback.json +182 -0
- package/schemas/sites-create.json +128 -0
- package/schemas/sites-domains-set.json +80 -0
- package/schemas/sites-list.json +96 -0
- package/schemas/sites-props-set.json +95 -0
- package/schemas/sites-protection-set.json +79 -0
- package/schemas/sites-server-keys-create.json +102 -0
- package/schemas/sites-server-keys-list.json +92 -0
- package/schemas/sites-server-keys-revoke.json +106 -0
- package/schemas/sites-snippet.json +76 -0
- package/schemas/usage.json +227 -0
- package/schemas/versions.json +125 -0
- package/schemas/whoami.json +121 -0
- package/schemas/workspaces-use.json +74 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "data export"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"collection_id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"format": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["csv", "ndjson", "json"]
|
|
24
|
+
},
|
|
25
|
+
"rows": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"minimum": -9007199254740991,
|
|
28
|
+
"maximum": 9007199254740991
|
|
29
|
+
},
|
|
30
|
+
"out": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"excel": {
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["collection_id", "format", "rows", "out", "excel"],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": ["ok", "command", "data"],
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"ok": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"const": false
|
|
50
|
+
},
|
|
51
|
+
"command": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"const": "data export"
|
|
54
|
+
},
|
|
55
|
+
"error": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"code": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"message": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"request_id": {
|
|
65
|
+
"type": ["string", "null"]
|
|
66
|
+
},
|
|
67
|
+
"exit_code": {
|
|
68
|
+
"type": "integer",
|
|
69
|
+
"minimum": -9007199254740991,
|
|
70
|
+
"maximum": 9007199254740991
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": ["ok", "command", "error"],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"title": "taggor data export --json"
|
|
82
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "detach"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"site_id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"site_key": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"component_id": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"tag": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"attached": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"const": false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["site_id", "site_key", "component_id", "tag", "attached"],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": ["ok", "command", "data"],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"ok": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"const": false
|
|
48
|
+
},
|
|
49
|
+
"command": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"const": "detach"
|
|
52
|
+
},
|
|
53
|
+
"error": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"code": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"message": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"request_id": {
|
|
63
|
+
"type": ["string", "null"]
|
|
64
|
+
},
|
|
65
|
+
"exit_code": {
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"minimum": -9007199254740991,
|
|
68
|
+
"maximum": 9007199254740991
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": ["ok", "command", "error"],
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"title": "taggor detach --json"
|
|
80
|
+
}
|
package/schemas/dev.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "dev"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"url": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"port": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": -9007199254740991,
|
|
24
|
+
"maximum": 9007199254740991
|
|
25
|
+
},
|
|
26
|
+
"components": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"host_html": {
|
|
33
|
+
"type": ["string", "null"]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": ["url", "port", "components", "host_html"],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["ok", "command", "data"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"ok": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"const": false
|
|
49
|
+
},
|
|
50
|
+
"command": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "dev"
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"code": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"message": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"request_id": {
|
|
64
|
+
"type": ["string", "null"]
|
|
65
|
+
},
|
|
66
|
+
"exit_code": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": -9007199254740991,
|
|
69
|
+
"maximum": 9007199254740991
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
73
|
+
"additionalProperties": false
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": ["ok", "command", "error"],
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"title": "taggor dev --json"
|
|
81
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "init"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"mode": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": ["created", "component-added"]
|
|
21
|
+
},
|
|
22
|
+
"root": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"tag": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"written": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"overwritten": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"already_listed": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"managed": {
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"agent": {
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"target": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": ["claude", "codex", "cursor", "all"]
|
|
54
|
+
},
|
|
55
|
+
"bundle_version": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"files": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"path": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"action": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"enum": ["written", "created", "appended", "updated", "unchanged"]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": ["path", "action"],
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": ["target", "bundle_version", "files"],
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "null"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"mode",
|
|
87
|
+
"root",
|
|
88
|
+
"tag",
|
|
89
|
+
"written",
|
|
90
|
+
"overwritten",
|
|
91
|
+
"already_listed",
|
|
92
|
+
"managed",
|
|
93
|
+
"agent"
|
|
94
|
+
],
|
|
95
|
+
"additionalProperties": false
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": ["ok", "command", "data"],
|
|
99
|
+
"additionalProperties": false
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"ok": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"const": false
|
|
107
|
+
},
|
|
108
|
+
"command": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"const": "init"
|
|
111
|
+
},
|
|
112
|
+
"error": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"code": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"message": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"request_id": {
|
|
122
|
+
"type": ["string", "null"]
|
|
123
|
+
},
|
|
124
|
+
"exit_code": {
|
|
125
|
+
"type": "integer",
|
|
126
|
+
"minimum": -9007199254740991,
|
|
127
|
+
"maximum": 9007199254740991
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
131
|
+
"additionalProperties": false
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"required": ["ok", "command", "error"],
|
|
135
|
+
"additionalProperties": false
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"title": "taggor init --json"
|
|
139
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "login"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"api_url": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"stored_in": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["keychain", "file"]
|
|
24
|
+
},
|
|
25
|
+
"workspace": {
|
|
26
|
+
"type": ["string", "null"]
|
|
27
|
+
},
|
|
28
|
+
"role": {
|
|
29
|
+
"type": ["string", "null"]
|
|
30
|
+
},
|
|
31
|
+
"user": {
|
|
32
|
+
"anyOf": [
|
|
33
|
+
{
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"id": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"name": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"email": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": ["id", "name", "email"],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "null"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["api_url", "stored_in", "workspace", "role", "user"],
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": ["ok", "command", "data"],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"ok": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"const": false
|
|
68
|
+
},
|
|
69
|
+
"command": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"const": "login"
|
|
72
|
+
},
|
|
73
|
+
"error": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"code": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"message": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"request_id": {
|
|
83
|
+
"type": ["string", "null"]
|
|
84
|
+
},
|
|
85
|
+
"exit_code": {
|
|
86
|
+
"type": "integer",
|
|
87
|
+
"minimum": -9007199254740991,
|
|
88
|
+
"maximum": 9007199254740991
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
92
|
+
"additionalProperties": false
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["ok", "command", "error"],
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"title": "taggor login --json"
|
|
100
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "logout"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"api_url": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"had_login": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"revoked": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": ["api_url", "had_login", "revoked"],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["ok", "command", "data"],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"ok": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"const": false
|
|
41
|
+
},
|
|
42
|
+
"command": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"const": "logout"
|
|
45
|
+
},
|
|
46
|
+
"error": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"code": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"message": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"request_id": {
|
|
56
|
+
"type": ["string", "null"]
|
|
57
|
+
},
|
|
58
|
+
"exit_code": {
|
|
59
|
+
"type": "integer",
|
|
60
|
+
"minimum": -9007199254740991,
|
|
61
|
+
"maximum": 9007199254740991
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": ["ok", "command", "error"],
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"title": "taggor logout --json"
|
|
73
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": ["stage_started", "stage_finished", "diagnostic", "retry", "done"]
|
|
10
|
+
},
|
|
11
|
+
"seq": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 1,
|
|
14
|
+
"maximum": 9007199254740991
|
|
15
|
+
},
|
|
16
|
+
"at": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"attempt": {
|
|
20
|
+
"type": "integer",
|
|
21
|
+
"minimum": -9007199254740991,
|
|
22
|
+
"maximum": 9007199254740991
|
|
23
|
+
},
|
|
24
|
+
"stage": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"outcome": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": ["passed", "failed", "aborted"]
|
|
30
|
+
},
|
|
31
|
+
"duration_ms": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": -9007199254740991,
|
|
34
|
+
"maximum": 9007199254740991
|
|
35
|
+
},
|
|
36
|
+
"status": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": ["succeeded", "failed"]
|
|
39
|
+
},
|
|
40
|
+
"errors": {
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"minimum": -9007199254740991,
|
|
43
|
+
"maximum": 9007199254740991
|
|
44
|
+
},
|
|
45
|
+
"warnings": {
|
|
46
|
+
"type": "integer",
|
|
47
|
+
"minimum": -9007199254740991,
|
|
48
|
+
"maximum": 9007199254740991
|
|
49
|
+
},
|
|
50
|
+
"dropped_events": {
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"minimum": -9007199254740991,
|
|
53
|
+
"maximum": 9007199254740991
|
|
54
|
+
},
|
|
55
|
+
"diagnostic": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"code": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"severity": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": ["error", "warning"]
|
|
64
|
+
},
|
|
65
|
+
"message": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"hint": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"docs_url": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"file": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"line": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"minimum": -9007199254740991,
|
|
80
|
+
"maximum": 9007199254740991
|
|
81
|
+
},
|
|
82
|
+
"column": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": -9007199254740991,
|
|
85
|
+
"maximum": 9007199254740991
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"required": ["code", "severity", "message"],
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": ["type", "seq", "at", "attempt"],
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "object",
|
|
97
|
+
"properties": {
|
|
98
|
+
"ok": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"const": false
|
|
101
|
+
},
|
|
102
|
+
"command": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"const": "logs"
|
|
105
|
+
},
|
|
106
|
+
"error": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"code": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"message": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"request_id": {
|
|
116
|
+
"type": ["string", "null"]
|
|
117
|
+
},
|
|
118
|
+
"exit_code": {
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"minimum": -9007199254740991,
|
|
121
|
+
"maximum": 9007199254740991
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
125
|
+
"additionalProperties": false
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": ["ok", "command", "error"],
|
|
129
|
+
"additionalProperties": false
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"title": "taggor logs --json"
|
|
133
|
+
}
|