Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix: restore Pi snapshot skill provenance scope

DavidShen304459996f85
diff --git a/packages/maker-core/src/agents/pi/__tests__/pi-rpc-resource-discovery.integration.test.ts b/packages/maker-core/src/agents/pi/__tests__/pi-rpc-resource-discovery.integration.test.ts
index d801d9547b..1e25e8224c 100644
--- a/packages/maker-core/src/agents/pi/__tests__/pi-rpc-resource-discovery.integration.test.ts
+++ b/packages/maker-core/src/agents/pi/__tests__/pi-rpc-resource-discovery.integration.test.ts
@@ -901,7 +901,7 @@ describe.skipIf(!existsSync(PI_BINARY))('Pi v0.83.0 RPC resource discovery facts
baseDir: snapshotSkill,
path: path.join(snapshotSkill, 'SKILL.md'),
source: 'local',
- scope: 'project',
+ scope: 'temporary',
}),
}),
]));
diff --git a/packages/maker-core/src/agents/pi/__tests__/project-resource-assembly.test.ts b/packages/maker-core/src/agents/pi/__tests__/project-resource-assembly.test.ts
index 5e0c080c68..5d34e643c5 100644
--- a/packages/maker-core/src/agents/pi/__tests__/project-resource-assembly.test.ts
+++ b/packages/maker-core/src/agents/pi/__tests__/project-resource-assembly.test.ts
@@ -704,7 +704,7 @@ describe('Pi approved project resource assembly', () => {
name: 'skill:demo',
source: 'skill',
sourceInfo: {
- scope: 'project',
+ scope: 'temporary',
source: 'local',
baseDir: skillPath,
path: `${skillPath}/SKILL.md`,