Stop exporting paperclipSkillSync in company packages
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user