* fix(#2777): remove stale codex local home metadata * chore(#2777): add changeset for codex local layout metadata --------- Co-authored-by: Tom Boucher <trekkie@nomorestars.com>
This commit is contained in:
@@ -1036,8 +1036,7 @@ const capabilities = {
|
||||
"prefix": "gsd-",
|
||||
"nesting": "flat",
|
||||
"recursive": false,
|
||||
"converter": "convertClaudeCommandToCodexSkill",
|
||||
"home": ".agents"
|
||||
"converter": "convertClaudeCommandToCodexSkill"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -5389,8 +5388,7 @@ const runtimes = {
|
||||
"prefix": "gsd-",
|
||||
"nesting": "flat",
|
||||
"recursive": false,
|
||||
"converter": "convertClaudeCommandToCodexSkill",
|
||||
"home": ".agents"
|
||||
"converter": "convertClaudeCommandToCodexSkill"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1075,7 +1075,18 @@ function validateArtifactLayout(capId, layout) {
|
||||
errors.push(ctx + '.' + scope + ' must be an array');
|
||||
} else {
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
errors.push(...validateArtifactKindEntry(capId, arr[i], 'artifactLayout.' + scope + '[' + i + ']'));
|
||||
const entry = arr[i];
|
||||
errors.push(...validateArtifactKindEntry(capId, entry, 'artifactLayout.' + scope + '[' + i + ']'));
|
||||
if (
|
||||
scope === 'local' &&
|
||||
typeof entry === 'object' && entry !== null && !Array.isArray(entry) &&
|
||||
Object.prototype.hasOwnProperty.call(entry, 'home')
|
||||
) {
|
||||
errors.push(
|
||||
ctx + '.local[' + i + '].home is not allowed; ' +
|
||||
'local artifact layout entries must remain project-scoped',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user