Stop exporting paperclipSkillSync in company packages
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
140c4e1feb
commit
f8249af501
2 changed files with 7 additions and 1 deletions
|
|
@ -260,6 +260,7 @@ describe("company portability", () => {
|
||||||
expect(extension).toContain("ANTHROPIC_API_KEY:");
|
expect(extension).toContain("ANTHROPIC_API_KEY:");
|
||||||
expect(extension).toContain('requirement: "optional"');
|
expect(extension).toContain('requirement: "optional"');
|
||||||
expect(extension).toContain('default: ""');
|
expect(extension).toContain('default: ""');
|
||||||
|
expect(extension).not.toContain("paperclipSkillSync");
|
||||||
expect(extension).not.toContain("PATH:");
|
expect(extension).not.toContain("PATH:");
|
||||||
expect(extension).not.toContain("requireBoardApprovalForNewAgents: true");
|
expect(extension).not.toContain("requireBoardApprovalForNewAgents: true");
|
||||||
expect(extension).not.toContain("budgetMonthlyCents: 0");
|
expect(extension).not.toContain("budgetMonthlyCents: 0");
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,12 @@ function normalizePortableConfig(
|
||||||
const next: Record<string, unknown> = {};
|
const next: Record<string, unknown> = {};
|
||||||
|
|
||||||
for (const [key, entry] of Object.entries(input)) {
|
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;
|
if (key === "env") continue;
|
||||||
next[key] = entry;
|
next[key] = entry;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue