vgxness 1.17.1 → 1.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package is proprietary software. The npm package ships inspectable JavaScri
|
|
|
8
8
|
|
|
9
9
|
OpenCode is the primary supported provider. Claude setup support is secondary. VGX-managed OpenCode and Claude provider configuration is user-global only; provider config writes require explicit CLI confirmation.
|
|
10
10
|
|
|
11
|
-
VGXNESS is currently versioned from `package.json` (`1.17.
|
|
11
|
+
VGXNESS is currently versioned from `package.json` (`1.17.2`). The latest full project health audit is the historical [v1.14.x snapshot](./docs/project-health-audit-v1.14.x.md), which documents the implemented CLI/MCP/SDD control plane, OpenCode-first workflow, release-readiness checks, and the remaining execution/recovery gaps at that point in time. [v1.10.x](./docs/project-health-audit-v1.10.x.md) and [v1.9.1](./docs/project-health-audit-v1.9.1.md) remain historical validation evidence for those releases.
|
|
12
12
|
|
|
13
13
|
## Requirements
|
|
14
14
|
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
export const GLOBAL_PERSONAL_SKILLS_PROJECT =
|
|
1
|
+
export const GLOBAL_PERSONAL_SKILLS_PROJECT = '__personal__';
|
|
2
|
+
export const GLOBAL_VGXNESS_SKILLS_PROJECT = '__vgxness__';
|
|
2
3
|
export const skillLookupContexts = (project, scope) => {
|
|
3
4
|
const contexts = [{ project, scope }];
|
|
4
|
-
if (scope !==
|
|
5
|
-
contexts.push({ project, scope:
|
|
5
|
+
if (scope !== 'personal')
|
|
6
|
+
contexts.push({ project, scope: 'personal' });
|
|
6
7
|
if (project !== GLOBAL_PERSONAL_SKILLS_PROJECT)
|
|
7
8
|
contexts.push({
|
|
8
9
|
project: GLOBAL_PERSONAL_SKILLS_PROJECT,
|
|
9
|
-
scope:
|
|
10
|
+
scope: 'personal',
|
|
10
11
|
});
|
|
12
|
+
if (project !== GLOBAL_VGXNESS_SKILLS_PROJECT)
|
|
13
|
+
contexts.push({ project: GLOBAL_VGXNESS_SKILLS_PROJECT, scope: 'project' });
|
|
11
14
|
return dedupeContexts(contexts);
|
|
12
15
|
};
|
|
13
|
-
export const
|
|
14
|
-
if (scope
|
|
15
|
-
return
|
|
16
|
-
return skillLookupContexts(project,
|
|
16
|
+
export const skillIndexContexts = (project, scope) => {
|
|
17
|
+
if (scope === 'personal')
|
|
18
|
+
return skillLookupContexts(project, 'personal');
|
|
19
|
+
return skillLookupContexts(project, scope);
|
|
17
20
|
};
|
|
18
21
|
export const dedupeSkillSummariesByName = (skills) => {
|
|
19
22
|
const seen = new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dedupeSkillSummariesByName,
|
|
1
|
+
import { dedupeSkillSummariesByName, skillIndexContexts } from './personal-skills.js';
|
|
2
2
|
export class SkillIndexService {
|
|
3
3
|
registry;
|
|
4
4
|
constructor(registry) {
|
|
@@ -44,7 +44,7 @@ export class SkillIndexService {
|
|
|
44
44
|
}
|
|
45
45
|
listSkills(input) {
|
|
46
46
|
const skills = [];
|
|
47
|
-
for (const context of
|
|
47
|
+
for (const context of skillIndexContexts(input.project, input.scope)) {
|
|
48
48
|
const listed = this.registry.listSkills({ project: context.project, scope: context.scope });
|
|
49
49
|
if (!listed.ok)
|
|
50
50
|
return listed;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dedupeSkillSummariesByName,
|
|
1
|
+
import { dedupeSkillSummariesByName, skillIndexContexts } from './personal-skills.js';
|
|
2
2
|
export class SkillStatusService {
|
|
3
3
|
skills;
|
|
4
4
|
agents;
|
|
@@ -83,7 +83,7 @@ export class SkillStatusService {
|
|
|
83
83
|
}
|
|
84
84
|
skillRegistry(project, scope) {
|
|
85
85
|
const listedSkills = [];
|
|
86
|
-
for (const context of
|
|
86
|
+
for (const context of skillIndexContexts(project, scope)) {
|
|
87
87
|
const listed = this.skills.listSkills({ project: context.project, scope: context.scope });
|
|
88
88
|
if (!listed.ok)
|
|
89
89
|
return listed;
|
package/package.json
CHANGED