fix: close marketplace client review findings
This commit is contained in:
@@ -24,6 +24,8 @@ import type {
|
||||
export interface SkillEntry {
|
||||
readonly id: CodingSkillId;
|
||||
readonly entryPath: string;
|
||||
/** Main-verified package root for an installed Marketplace Skill. */
|
||||
readonly packageRoot?: string;
|
||||
}
|
||||
|
||||
/** A policy row copied from the last verified server catalog. */
|
||||
@@ -326,7 +328,13 @@ export class EffectivePluginResolver {
|
||||
if (definition.releaseId) pluginReleaseIds.push(definition.releaseId);
|
||||
for (const skill of selectedSkills) {
|
||||
effectiveSkillIds.push(skill.id);
|
||||
skillEntries.push({ id: skill.id, entryPath: skill.entryPath });
|
||||
skillEntries.push({
|
||||
id: skill.id,
|
||||
entryPath: skill.entryPath,
|
||||
...(definition.provenance.source === 'marketplace'
|
||||
? { packageRoot: definition.provenance.packageRoot }
|
||||
: {}),
|
||||
});
|
||||
}
|
||||
if (!definition.requiresBackend) continue;
|
||||
for (const operation of definition.operations) {
|
||||
|
||||
Reference in New Issue
Block a user