@commonlyai/cli 0.1.136 → 0.1.137
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/package.json
CHANGED
|
@@ -341,6 +341,9 @@ const preparePublicCodexHome = async (ctx) => {
|
|
|
341
341
|
const PUBLIC_CODEX_INSTRUCTIONS_MAX_BYTES = 32 * 1024;
|
|
342
342
|
|
|
343
343
|
const writePublicCodexInstructions = async (publicHome, ctx) => {
|
|
344
|
+
// Codex loads this file before AGENTS.md when it exists. Clear any leftover
|
|
345
|
+
// override on every spawn so it cannot shadow the seat's declared skills.
|
|
346
|
+
await rm(join(publicHome, 'AGENTS.override.md'), { force: true });
|
|
344
347
|
const declared = Array.isArray(ctx.environment?.skills?.claude) ? ctx.environment.skills.claude : [];
|
|
345
348
|
const baseDir = ctx.cwd || process.cwd();
|
|
346
349
|
const sources = declared.map((source) => resolveSkillSource(source, baseDir));
|