Stop exporting paperclipSkillSync in company packages

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta
2026-03-16 08:55:37 -05:00
parent 140c4e1feb
commit f8249af501
2 changed files with 7 additions and 1 deletions

View File

@@ -260,6 +260,7 @@ describe("company portability", () => {
expect(extension).toContain("ANTHROPIC_API_KEY:");
expect(extension).toContain('requirement: "optional"');
expect(extension).toContain('default: ""');
expect(extension).not.toContain("paperclipSkillSync");
expect(extension).not.toContain("PATH:");
expect(extension).not.toContain("requireBoardApprovalForNewAgents: true");
expect(extension).not.toContain("budgetMonthlyCents: 0");

View File

@@ -315,7 +315,12 @@ function normalizePortableConfig(
const next: Record<string, unknown> = {};
for (const [key, entry] of Object.entries(input)) {
if (key === "cwd" || key === "instructionsFilePath" || key === "promptTemplate") continue;
if (
key === "cwd" ||
key === "instructionsFilePath" ||
key === "promptTemplate" ||
key === "paperclipSkillSync"
) continue;
if (key === "env") continue;
next[key] = entry;
}