@meridian-flow/mars-schema 0.30.1 → 0.31.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/fixtures/normalize/agent-translation/normalized.json +2 -2
- package/fixtures/normalize/opencode-with-standard-skill/normalized.json +2 -2
- package/fixtures/normalize/skill-translation/normalized.json +2 -2
- package/fixtures/prepare/agent-structural-raw/expected.json +2 -2
- package/fixtures/prepare/policy-override-bad-key/expected.json +10 -10
- package/fixtures/read/agent-anchor/expected.json +2 -2
- package/fixtures/read/agent-approval-yolo/expected.json +1 -1
- package/fixtures/read/agent-integer-range/expected.json +4 -4
- package/fixtures/read/agent-nested-order/expected.json +4 -4
- package/fixtures/read/agent-network-invalid/expected.json +1 -1
- package/fixtures/read/agent-proto-key/expected.json +2 -2
- package/fixtures/read/agent-removed-autocompact/expected.json +1 -1
- package/fixtures/read/agent-removed-autocompact-pct/expected.json +1 -1
- package/fixtures/read/agent-removed-disallowed-tools/expected.json +1 -1
- package/fixtures/read/agent-removed-fanout/expected.json +1 -1
- package/fixtures/read/agent-removed-host-namespaces/expected.json +2 -2
- package/fixtures/read/agent-removed-mcp-tools/expected.json +1 -1
- package/fixtures/read/agent-removed-meridian-keys/expected.json +2 -2
- package/fixtures/read/agent-removed-model-invocable/expected.json +1 -1
- package/fixtures/read/agent-removed-models/expected.json +1 -1
- package/fixtures/read/agent-removed-permission/expected.json +1 -1
- package/fixtures/read/agent-removed-user-invocable/expected.json +1 -1
- package/fixtures/read/agent-unknown/expected.json +2 -2
- package/fixtures/read/manifest-order/expected.json +16 -16
- package/fixtures/read/manifest-removed-visibility/expected.json +1 -1
- package/fixtures/read/manifest-unknown/expected.json +2 -2
- package/fixtures/read/skill-anchor/expected.json +2 -2
- package/fixtures/read/skill-removed-allow-implicit-invocation/expected.json +1 -1
- package/fixtures/read/skill-removed-allowed-tools/expected.json +1 -1
- package/fixtures/read/skill-removed-disable-model-invocation/expected.json +1 -1
- package/fixtures/read/skill-removed-disallowed-tools/expected.json +1 -1
- package/fixtures/read/skill-removed-invocation/expected.json +1 -1
- package/fixtures/read/skill-removed-model-invocable-alias/expected.json +1 -1
- package/fixtures/read/skill-removed-tools/expected.json +1 -1
- package/fixtures/read/skill-removed-type/expected.json +1 -1
- package/fixtures/read/skill-removed-user-invocable-alias/expected.json +1 -1
- package/fixtures/read/skill-removed-when-to-use/expected.json +1 -1
- package/fixtures/read/skill-unknown/expected.json +2 -2
- package/fixtures/read/yaml-anchor/expected.json +2 -2
- package/fixtures/upgrade/agent-unreadable-values/expected-diagnostics.json +0 -1
- package/fixtures/upgrade/agent-unreadable-values/expected.md +4 -0
- package/fixtures/upgrade/manifest-v1-idempotent/expected.toml +0 -1
- package/fixtures/upgrade/manifest-v1-idempotent/input.toml +0 -1
- package/node/mars_schema_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/mars_schema_wasm_bg.wasm +0 -0
|
@@ -263,11 +263,11 @@
|
|
|
263
263
|
"diagnostics": [
|
|
264
264
|
{
|
|
265
265
|
"code": "field.unknown",
|
|
266
|
-
"severity": "
|
|
266
|
+
"severity": "info",
|
|
267
267
|
"path": [
|
|
268
268
|
"x-custom"
|
|
269
269
|
],
|
|
270
|
-
"message": "unknown
|
|
270
|
+
"message": "unknown key `x-custom` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
271
271
|
}
|
|
272
272
|
]
|
|
273
273
|
},
|
|
@@ -192,11 +192,11 @@
|
|
|
192
192
|
"diagnostics": [
|
|
193
193
|
{
|
|
194
194
|
"code": "field.unknown",
|
|
195
|
-
"severity": "
|
|
195
|
+
"severity": "info",
|
|
196
196
|
"path": [
|
|
197
197
|
"argument-hint"
|
|
198
198
|
],
|
|
199
|
-
"message": "unknown
|
|
199
|
+
"message": "unknown key `argument-hint` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
200
200
|
}
|
|
201
201
|
]
|
|
202
202
|
},
|
|
@@ -212,11 +212,11 @@
|
|
|
212
212
|
"diagnostics": [
|
|
213
213
|
{
|
|
214
214
|
"code": "field.unknown",
|
|
215
|
-
"severity": "
|
|
215
|
+
"severity": "info",
|
|
216
216
|
"path": [
|
|
217
217
|
"x-custom"
|
|
218
218
|
],
|
|
219
|
-
"message": "unknown
|
|
219
|
+
"message": "unknown key `x-custom` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
220
220
|
}
|
|
221
221
|
]
|
|
222
222
|
},
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"code": "field.unknown",
|
|
64
|
-
"severity": "
|
|
64
|
+
"severity": "info",
|
|
65
65
|
"path": [
|
|
66
66
|
"future"
|
|
67
67
|
],
|
|
68
|
-
"message": "unknown
|
|
68
|
+
"message": "unknown key `future` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
69
69
|
}
|
|
70
70
|
]
|
|
71
71
|
},
|
|
@@ -147,31 +147,31 @@
|
|
|
147
147
|
"model-policies",
|
|
148
148
|
1,
|
|
149
149
|
"override",
|
|
150
|
-
"
|
|
150
|
+
"network"
|
|
151
151
|
],
|
|
152
|
-
"message": "agent `runner` lost the restriction `model-policies.1.override.
|
|
152
|
+
"message": "agent `runner` lost the restriction `model-policies.1.override.network`: that override was dropped and the rest of the rule is kept. Schema v1 does not accept it (agent field `model-policies[1].override.network` has invalid value `5`; allowed: allow, deny, allowlist); use allow, deny or allowlist"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"code": "field.
|
|
155
|
+
"code": "field.restriction-lost",
|
|
156
156
|
"severity": "warning",
|
|
157
157
|
"path": [
|
|
158
158
|
"model-policies",
|
|
159
|
-
|
|
159
|
+
1,
|
|
160
160
|
"override",
|
|
161
|
-
"
|
|
161
|
+
"approval"
|
|
162
162
|
],
|
|
163
|
-
"message": "agent `runner
|
|
163
|
+
"message": "agent `runner` lost the restriction `model-policies.1.override.approval`: that override was dropped and the rest of the rule is kept. Schema v1 does not accept it (agent field `model-policies[1].override.approval` has invalid value `bogus`; allowed: default, auto, confirm, never); use default, auto, confirm or never"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
"code": "field.
|
|
166
|
+
"code": "field.execution-ignored",
|
|
167
167
|
"severity": "warning",
|
|
168
168
|
"path": [
|
|
169
169
|
"model-policies",
|
|
170
|
-
|
|
170
|
+
0,
|
|
171
171
|
"override",
|
|
172
|
-
"
|
|
172
|
+
"effort"
|
|
173
173
|
],
|
|
174
|
-
"message": "agent `runner
|
|
174
|
+
"message": "agent `runner`: `model-policies.0.override.effort: 3` ignored (not valid here); use none, low, medium, high, xhigh or max"
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
}
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"code": "field.unknown",
|
|
49
|
-
"severity": "
|
|
49
|
+
"severity": "info",
|
|
50
50
|
"path": [
|
|
51
51
|
"x"
|
|
52
52
|
],
|
|
53
|
-
"message": "unknown
|
|
53
|
+
"message": "unknown key `x` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
54
54
|
}
|
|
55
55
|
]
|
|
56
56
|
}
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"diagnostics": [
|
|
33
33
|
{
|
|
34
34
|
"code": "field.unknown",
|
|
35
|
-
"severity": "
|
|
35
|
+
"severity": "info",
|
|
36
36
|
"path": [
|
|
37
37
|
"x-fits"
|
|
38
38
|
],
|
|
39
|
-
"message": "unknown
|
|
39
|
+
"message": "unknown key `x-fits` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"code": "field.unknown",
|
|
43
|
-
"severity": "
|
|
43
|
+
"severity": "info",
|
|
44
44
|
"path": [
|
|
45
45
|
"x-big"
|
|
46
46
|
],
|
|
47
|
-
"message": "unknown
|
|
47
|
+
"message": "unknown key `x-big` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"code": "field.value",
|
|
@@ -102,19 +102,19 @@
|
|
|
102
102
|
"diagnostics": [
|
|
103
103
|
{
|
|
104
104
|
"code": "field.unknown",
|
|
105
|
-
"severity": "
|
|
105
|
+
"severity": "info",
|
|
106
106
|
"path": [
|
|
107
107
|
"z"
|
|
108
108
|
],
|
|
109
|
-
"message": "unknown
|
|
109
|
+
"message": "unknown key `z` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"code": "field.unknown",
|
|
113
|
-
"severity": "
|
|
113
|
+
"severity": "info",
|
|
114
114
|
"path": [
|
|
115
115
|
"x-last"
|
|
116
116
|
],
|
|
117
|
-
"message": "unknown
|
|
117
|
+
"message": "unknown key `x-last` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
118
118
|
}
|
|
119
119
|
]
|
|
120
120
|
}
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"diagnostics": [
|
|
32
32
|
{
|
|
33
33
|
"code": "field.unknown",
|
|
34
|
-
"severity": "
|
|
34
|
+
"severity": "info",
|
|
35
35
|
"path": [
|
|
36
36
|
"x-u"
|
|
37
37
|
],
|
|
38
|
-
"message": "unknown
|
|
38
|
+
"message": "unknown key `x-u` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"code": "yaml.non-json-value",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"harness-overrides",
|
|
45
45
|
"flow"
|
|
46
46
|
],
|
|
47
|
-
"message": "`harness-overrides.flow`
|
|
47
|
+
"message": "`harness-overrides.flow` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"code": "field.removed",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"harness-overrides",
|
|
54
54
|
"meridian"
|
|
55
55
|
],
|
|
56
|
-
"message": "`harness-overrides.meridian`
|
|
56
|
+
"message": "`harness-overrides.meridian` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
57
57
|
}
|
|
58
58
|
]
|
|
59
59
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"path": [
|
|
43
43
|
"resident-rearm-budget"
|
|
44
44
|
],
|
|
45
|
-
"message": "`resident-rearm-budget`
|
|
45
|
+
"message": "`resident-rearm-budget` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"code": "field.removed",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"path": [
|
|
51
51
|
"meridian-capabilities"
|
|
52
52
|
],
|
|
53
|
-
"message": "`meridian-capabilities`
|
|
53
|
+
"message": "`meridian-capabilities` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
54
54
|
}
|
|
55
55
|
]
|
|
56
56
|
}
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"diagnostics": [
|
|
33
33
|
{
|
|
34
34
|
"code": "field.unknown",
|
|
35
|
-
"severity": "
|
|
35
|
+
"severity": "info",
|
|
36
36
|
"path": [
|
|
37
37
|
"future-key"
|
|
38
38
|
],
|
|
39
|
-
"message": "unknown
|
|
39
|
+
"message": "unknown key `future-key` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -50,75 +50,75 @@
|
|
|
50
50
|
"diagnostics": [
|
|
51
51
|
{
|
|
52
52
|
"code": "field.unknown",
|
|
53
|
-
"severity": "
|
|
53
|
+
"severity": "info",
|
|
54
54
|
"path": [
|
|
55
55
|
"package",
|
|
56
56
|
"__proto__"
|
|
57
57
|
],
|
|
58
|
-
"message": "unknown
|
|
58
|
+
"message": "[package] unknown key `__proto__` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"code": "field.unknown",
|
|
62
|
-
"severity": "
|
|
62
|
+
"severity": "info",
|
|
63
63
|
"path": [
|
|
64
64
|
"package",
|
|
65
65
|
"alpha"
|
|
66
66
|
],
|
|
67
|
-
"message": "unknown
|
|
67
|
+
"message": "[package] unknown key `alpha` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"code": "field.unknown",
|
|
71
|
-
"severity": "
|
|
71
|
+
"severity": "info",
|
|
72
72
|
"path": [
|
|
73
73
|
"package",
|
|
74
74
|
"big"
|
|
75
75
|
],
|
|
76
|
-
"message": "unknown
|
|
76
|
+
"message": "[package] unknown key `big` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"code": "field.unknown",
|
|
80
|
-
"severity": "
|
|
80
|
+
"severity": "info",
|
|
81
81
|
"path": [
|
|
82
82
|
"package",
|
|
83
83
|
"meta"
|
|
84
84
|
],
|
|
85
|
-
"message": "unknown
|
|
85
|
+
"message": "[package] unknown key `meta` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"code": "field.unknown",
|
|
89
|
-
"severity": "
|
|
89
|
+
"severity": "info",
|
|
90
90
|
"path": [
|
|
91
91
|
"package",
|
|
92
92
|
"nan-value"
|
|
93
93
|
],
|
|
94
|
-
"message": "unknown
|
|
94
|
+
"message": "[package] unknown key `nan-value` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"code": "field.unknown",
|
|
98
|
-
"severity": "
|
|
98
|
+
"severity": "info",
|
|
99
99
|
"path": [
|
|
100
100
|
"package",
|
|
101
101
|
"table"
|
|
102
102
|
],
|
|
103
|
-
"message": "unknown
|
|
103
|
+
"message": "[package] unknown key `table` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"code": "field.unknown",
|
|
107
|
-
"severity": "
|
|
107
|
+
"severity": "info",
|
|
108
108
|
"path": [
|
|
109
109
|
"package",
|
|
110
110
|
"when"
|
|
111
111
|
],
|
|
112
|
-
"message": "unknown
|
|
112
|
+
"message": "[package] unknown key `when` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"code": "field.unknown",
|
|
116
|
-
"severity": "
|
|
116
|
+
"severity": "info",
|
|
117
117
|
"path": [
|
|
118
118
|
"package",
|
|
119
119
|
"zeta"
|
|
120
120
|
],
|
|
121
|
-
"message": "unknown
|
|
121
|
+
"message": "[package] unknown key `zeta` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"code": "toml.non-json-value",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"diagnostics": [
|
|
27
27
|
{
|
|
28
28
|
"code": "field.unknown",
|
|
29
|
-
"severity": "
|
|
29
|
+
"severity": "info",
|
|
30
30
|
"path": [
|
|
31
31
|
"package",
|
|
32
32
|
"future"
|
|
33
33
|
],
|
|
34
|
-
"message": "unknown
|
|
34
|
+
"message": "[package] unknown key `future` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
35
35
|
}
|
|
36
36
|
]
|
|
37
37
|
}
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"code": "field.unknown",
|
|
35
|
-
"severity": "
|
|
35
|
+
"severity": "info",
|
|
36
36
|
"path": [
|
|
37
37
|
"x"
|
|
38
38
|
],
|
|
39
|
-
"message": "unknown
|
|
39
|
+
"message": "unknown key `x` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"path": [
|
|
23
23
|
"allow_implicit_invocation"
|
|
24
24
|
],
|
|
25
|
-
"message": "`allow_implicit_invocation`
|
|
25
|
+
"message": "`allow_implicit_invocation` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"code": "field.required",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"path": [
|
|
23
23
|
"disable-model-invocation"
|
|
24
24
|
],
|
|
25
|
-
"message": "`disable-model-invocation`
|
|
25
|
+
"message": "`disable-model-invocation` is a pre-v1 key; `mars migrate` upgrades this file"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"code": "field.required",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"diagnostics": [
|
|
19
19
|
{
|
|
20
20
|
"code": "field.unknown",
|
|
21
|
-
"severity": "
|
|
21
|
+
"severity": "info",
|
|
22
22
|
"path": [
|
|
23
23
|
"future-key"
|
|
24
24
|
],
|
|
25
|
-
"message": "unknown
|
|
25
|
+
"message": "unknown key `future-key` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"code": "field.required",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"code": "field.unknown",
|
|
41
|
-
"severity": "
|
|
41
|
+
"severity": "info",
|
|
42
42
|
"path": [
|
|
43
43
|
"x"
|
|
44
44
|
],
|
|
45
|
-
"message": "unknown
|
|
45
|
+
"message": "unknown key `x` is not read by Mars v{version} (a typo, or a key from a newer Mars); it stays in the file"
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|