feat: integrate marketplace plugins with coding runtime

This commit is contained in:
brother7 committed 2026-08-28 18:08:33 +08:00
1 parent 1d64b89499
commit 05917a789a
21 files changed
+1921 -29

No files matched your search

+14
View File
@@ -246,6 +246,20 @@ describe('PI-090 product tools', () => {
});
});
it('preserves an uninstalled unknown assignment in project config without blocking projections', async () => {
const root = await temporaryRoot('makelore-pi-removed-skill-');
const tools = new PiProductTools({
browser: {} as AgentBrowserModule,
attachments: new CodingAttachmentStore(path.join(root, 'attachments')),
bundledSkillsDir: path.resolve('resources/coding-skills'),
getPluginSkillSources: async () => [],
});
await expect(tools.listSkills(['removed-plugin-skill'])).resolves.not.toContainEqual(
expect.objectContaining({ id: 'removed-plugin-skill' }),
);
});
it('projects effective plugin Skills in the worker runtime context', async () => {
const root = await temporaryRoot('makelore-pi-runtime-context-');
const tools = new PiProductTools({