agent-space-manager 1.0.1 → 1.0.3
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/CHANGELOG.md +29 -1
- package/README.md +1 -1
- package/README.zh-CN.md +2 -2
- package/index.mjs +1 -0
- package/manager.mjs +196 -20
- package/package.json +1 -1
- package/page/app.js +95 -81
- package/page/index.html +2 -2
- package/smart-tools.middleware.js +285 -19
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [1.0.3] - 2026-11-14
|
|
10
|
+
|
|
11
|
+
### Added / Changed
|
|
12
|
+
- **Copy Prompt V1.6 (`page/app.js`, `page/index.html`)**: Added **No Duplicate Standalone Copies** rule and updated `Rule Invariant 1` to prevent leaving duplicate standalone copies in root `skills/`, `rules/`, `agents/`, or IDE native directories when a component belongs to a plugin.
|
|
13
|
+
- **Duplicate-Standalone Detection (`manager.mjs`)**: Added `detectDuplicateStandalones` and `upstream`/suffix matching in `scanPlugins`, `buildCategoriesRegistry`, and `syncIde` (bundle and convert modes) to exclude hub-level standalone duplicates and report pre-existing unowned IDE-level duplicates in `conflicts`.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## [1.0.2] - 2026-11-14
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **Smart Middleware Dynamic Intent Layer (`shared/middleware-intents.json`)**: Layered runtime intent keyword engine (`smart-tools.middleware.js`) enabling users and agents to register custom intent keywords and tool patterns without altering core middleware code.
|
|
21
|
+
- **Initial Run Auto-Seeding (`autoSeedMiddlewareIntents`)**: Scans existing installed plugins/tools in Components Storage on initial run and seeds the personal intent layer automatically.
|
|
22
|
+
- **Uninstallation Intent Trimming (`trimMiddlewareIntent`)**: Concurrently trims and prunes uninstalled plugin tool patterns and intent keywords from `shared/middleware-intents.json` upon component removal.
|
|
23
|
+
- **Copy Prompt V1.5 (`page/app.js`, `page/index.html`)**: Bumped Copy Prompt to V1.5 with dynamic Smart Middleware intent lifecycle directives and updated persistent agent rule invariants.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
9
27
|
## [1.0.1] - 2026-11-12
|
|
10
28
|
|
|
11
29
|
### Changed
|
|
@@ -34,7 +52,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
34
52
|
|
|
35
53
|
This section tracks all revisions to the standardized instructions copied via the **Copy Prompt** button in the Agent Space Manager dashboard.
|
|
36
54
|
|
|
37
|
-
## [V1.
|
|
55
|
+
## [V1.5] - 2026-11-14
|
|
56
|
+
|
|
57
|
+
### Features & Invariants
|
|
58
|
+
- **Skill Name Collision Avoidance Across Plugins (`page/app.js`, `Rule Invariant 1`)**: Updated the Copy Prompt specification and Rule Invariant 1 to avoid skill name collisions across plugins by prefixing the skill with its parent plugin name (e.g. naming a skill called `plan` in plugin `A` and `B` as `A-plan` and `B-plan`), while continuing to sequentially disambiguate other duplicate component names with `-1`, `-2`.
|
|
59
|
+
- **Dynamic Smart Middleware Intent Lifecycle (`shared/middleware-intents.json`)**: Added Rule Invariant 8 directing AI agents to register or update intent keywords and tool patterns whenever installing or modifying MCP tools in Components Storage.
|
|
60
|
+
- **Initial Run Seeding**: Mandated that the copy prompt and Smart Middleware automatically scan existing installed plugins/tools in `<Components Storage Path>/plugins/` on initial run and seed the initial `shared/middleware-intents.json` personal layer.
|
|
61
|
+
- **Uninstallation Intent Trimming**: Mandated that when a user requests uninstalling or removing a plugin via the copy prompt, the agent concurrently trims and deletes its corresponding intent entries from `shared/middleware-intents.json` so no stale tool mappings remain.
|
|
62
|
+
- **Layered Upstream Engine Protection**: Allows Smart Middleware to dynamically prioritize newly installed tools based on user prompt context while preserving origin updates for the core middleware engine.
|
|
63
|
+
- **Dashboard UI Update**: Updated the Storage & Upstream Rules tile button to display `Copy Prompt (V1.5)`.
|
|
64
|
+
|
|
65
|
+
## [V1.4] - 2026-11-12
|
|
38
66
|
|
|
39
67
|
### Features & Invariants
|
|
40
68
|
- **Version Identifier**: Added explicit version tag `[Components Storage Specification & Upstream Rules Prompt V1.0]` at the header of the copied prompt text.
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Agent Space Manager includes **13 built-in Agent Profiles** (`agents.mjs` & `ada
|
|
|
61
61
|
|
|
62
62
|
### 6. Centralized Weekly Upstream Checking & Storage Rules Prompt
|
|
63
63
|
- **Centralized Monday Update Check**: Checks upstream repository links for all stored components once per week on Monday startup (`/api/central-update-check`), and automatically prunes legacy decentralized update scripts (`update_checker.mjs`, `update_check_state.json`).
|
|
64
|
-
- **Copy Prompt (`V1.
|
|
64
|
+
- **Copy Prompt (`V1.5`)**: One-click button in the **Storage & Upstream Rules** tile that copies standardized instructions for your AI agent to enforce the Hub layout, record mandatory `upstream` URLs, perform complete plugin removal cleanup (including trimming Smart Middleware intents), save manifests in strict UTF-8 without BOM, respect one-time rearrangement stability, preserve the `shared/` cross-agent IPC/handoff directory, and maintain dynamic Smart Middleware intent keywords in `shared/middleware-intents.json` (auto-seeded on initial run from existing components).
|
|
65
65
|
|
|
66
66
|
### 7. Smart Middleware Tool Gateway & OmniRoute Integration
|
|
67
67
|
- **Dynamic Intent-Based Tool Filtering (`smart-tools.middleware.js`)**:
|
package/README.zh-CN.md
CHANGED
|
@@ -59,9 +59,9 @@ Agent Space Manager 是一个集中式控制平面,旨在**在同一个文件
|
|
|
59
59
|
- **SHA-256 存储快照指纹**:对 Components Storage 目录计算确定性规范快照(`getComponentsStorageSnapshot`)。
|
|
60
60
|
- **外部变更自动重连**:启动时若检测到存储目录中存在外部新增、修改或删除,系统将自动重新同步已配置的 Agent,并在顶部展示可关闭的 **Auto-reconnected Connected Agents** 提示横幅。
|
|
61
61
|
|
|
62
|
-
### 6. 集中式每周上游更新检查与规范提示词 (`Copy Prompt V1.
|
|
62
|
+
### 6. 集中式每周上游更新检查与规范提示词 (`Copy Prompt V1.5`)
|
|
63
63
|
- **集中式每周一更新检查**:每周一启动 Magpie 时集中检查所有已安装组件的上游仓库更新(`/api/central-update-check`),并自动清理分散的本地更新脚本(`update_checker.mjs`、`update_check_state.json`)。
|
|
64
|
-
- **一键复制规范提示词 (`Copy Prompt (V1.
|
|
64
|
+
- **一键复制规范提示词 (`Copy Prompt (V1.5)`)**:在 **Storage & Upstream Rules** 磁贴中一键复制标准化指令,引导你的 AI 助手严格遵守 Hub 目录规范、记录 `upstream` 上游链接、执行完整的插件卸载清理(同步裁剪智能中间件无用意图)、使用无 BOM 的 UTF-8 编码、保持一次性目录整理稳定性、保护 `shared/` 跨 Agent 通信目录,并在 `shared/middleware-intents.json` 中自动生成初始意图并在组件变动时动态增删。
|
|
65
65
|
|
|
66
66
|
### 7. 智能中间件工具网关与 OmniRoute 集成
|
|
67
67
|
- **基于意图的动态工具过滤 (`smart-tools.middleware.js`)**:
|
package/index.mjs
CHANGED
package/manager.mjs
CHANGED
|
@@ -693,6 +693,144 @@ export function listFilesRecursiveRel(dir, baseDir = dir, maxDepth = 4, depth =
|
|
|
693
693
|
return results;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
+
/**
|
|
697
|
+
* Normalizes an upstream repository URL for reliable duplicate matching.
|
|
698
|
+
*/
|
|
699
|
+
function normalizeUpstreamUrl(url = "") {
|
|
700
|
+
return String(url || "")
|
|
701
|
+
.trim()
|
|
702
|
+
.replace(/\.git$/i, "")
|
|
703
|
+
.replace(/\/+$/, "")
|
|
704
|
+
.toLowerCase();
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Extracts and normalizes the `upstream` frontmatter URL from a markdown file.
|
|
709
|
+
*/
|
|
710
|
+
function extractMarkdownUpstream(filePath) {
|
|
711
|
+
try {
|
|
712
|
+
if (!filePath || !fs.existsSync(filePath)) return "";
|
|
713
|
+
const raw = fs.readFileSync(filePath, "utf8");
|
|
714
|
+
const { frontmatter } = parseMarkdownFrontmatter(raw);
|
|
715
|
+
return normalizeUpstreamUrl(frontmatter?.upstream || "");
|
|
716
|
+
} catch {
|
|
717
|
+
return "";
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Checks whether a standalone component name/upstream duplicates a plugin-bundled component.
|
|
723
|
+
*/
|
|
724
|
+
function matchesPluginComponent(standaloneName, standaloneUpstream, pluginEntries = []) {
|
|
725
|
+
const cleanBase = String(standaloneName || "").replace(/\.(md|mdc)$/i, "").toLowerCase();
|
|
726
|
+
const normUp = normalizeUpstreamUrl(standaloneUpstream);
|
|
727
|
+
for (const entry of pluginEntries) {
|
|
728
|
+
if (normUp && entry.upstream && normUp === entry.upstream) {
|
|
729
|
+
return entry;
|
|
730
|
+
}
|
|
731
|
+
const compBase = String(entry.name || "").replace(/\.(md|mdc)$/i, "").toLowerCase();
|
|
732
|
+
if (!compBase || !cleanBase) continue;
|
|
733
|
+
if (compBase === cleanBase) return entry;
|
|
734
|
+
if (cleanBase.length >= 6 && compBase.endsWith(`-${cleanBase}`)) return entry;
|
|
735
|
+
}
|
|
736
|
+
return null;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Builds normalized plugin component metadata for duplicate-standalone detection.
|
|
741
|
+
*/
|
|
742
|
+
function collectPluginComponentIndex(plugins = [], enabledMap = null) {
|
|
743
|
+
const skillEntries = [];
|
|
744
|
+
const ruleEntries = [];
|
|
745
|
+
const agentEntries = [];
|
|
746
|
+
for (const p of plugins) {
|
|
747
|
+
if (!p || p.isRootSkills || !p.path) continue;
|
|
748
|
+
if (enabledMap && enabledMap[p.id] !== true) continue;
|
|
749
|
+
const pluginUp = normalizeUpstreamUrl(p.upstream || "");
|
|
750
|
+
for (const s of p.skills || []) {
|
|
751
|
+
const skillUp = extractMarkdownUpstream(path.join(p.path, "skills", s, "SKILL.md")) || pluginUp;
|
|
752
|
+
skillEntries.push({ name: s, upstream: skillUp, pluginId: p.id });
|
|
753
|
+
}
|
|
754
|
+
for (const r of p.rules || []) {
|
|
755
|
+
const ruleUp = extractMarkdownUpstream(path.join(p.path, "rules", r)) || pluginUp;
|
|
756
|
+
ruleEntries.push({ name: r, upstream: ruleUp, pluginId: p.id });
|
|
757
|
+
}
|
|
758
|
+
for (const a of p.agents || []) {
|
|
759
|
+
const agentUp = extractMarkdownUpstream(path.join(p.path, "agents", a)) || pluginUp;
|
|
760
|
+
agentEntries.push({ name: a, upstream: agentUp, pluginId: p.id });
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
return { skillEntries, ruleEntries, agentEntries };
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Detects pre-existing non-ASM-owned standalone skills, rules, or agents in target IDE
|
|
768
|
+
* directories that duplicate components already provided by enabled plugins.
|
|
769
|
+
*/
|
|
770
|
+
export function detectDuplicateStandalones(
|
|
771
|
+
allPlugins = [],
|
|
772
|
+
enabledMap = {},
|
|
773
|
+
targetDirs = {},
|
|
774
|
+
ownedFiles = [],
|
|
775
|
+
ownedLinks = []
|
|
776
|
+
) {
|
|
777
|
+
const conflicts = [];
|
|
778
|
+
const { skillEntries, ruleEntries, agentEntries } = collectPluginComponentIndex(allPlugins, enabledMap);
|
|
779
|
+
const ownedFileSet = new Set((ownedFiles || []).map((f) => path.resolve(f)));
|
|
780
|
+
const ownedLinkSet = new Set((ownedLinks || []).map((l) => path.resolve(l)));
|
|
781
|
+
|
|
782
|
+
const scanDirForDuplicates = (dir, category, pluginEntries) => {
|
|
783
|
+
if (!dir || !fs.existsSync(dir) || pluginEntries.length === 0) return;
|
|
784
|
+
try {
|
|
785
|
+
for (const ent of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
786
|
+
const fullPath = path.join(dir, ent.name);
|
|
787
|
+
const resolved = path.resolve(fullPath);
|
|
788
|
+
if (category === "skill") {
|
|
789
|
+
if (ownedLinkSet.has(resolved) || isAsmOwnedDirectory(fullPath)) continue;
|
|
790
|
+
const isDir = ent.isDirectory() || (ent.isSymbolicLink() && (() => {
|
|
791
|
+
try { return fs.statSync(fullPath).isDirectory(); } catch { return false; }
|
|
792
|
+
})());
|
|
793
|
+
if (!isDir) continue;
|
|
794
|
+
const up = extractMarkdownUpstream(path.join(fullPath, "SKILL.md"));
|
|
795
|
+
const match = matchesPluginComponent(ent.name, up, pluginEntries);
|
|
796
|
+
if (match) {
|
|
797
|
+
conflicts.push({
|
|
798
|
+
type: "duplicate-standalone",
|
|
799
|
+
category,
|
|
800
|
+
name: ent.name,
|
|
801
|
+
existingPath: fullPath,
|
|
802
|
+
pluginId: match.pluginId,
|
|
803
|
+
pluginComponent: match.name,
|
|
804
|
+
reason: `standalone skill duplicates plugin "${match.pluginId}" (${match.name})`,
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
} else {
|
|
808
|
+
if (!ent.name.endsWith(".md") && !ent.name.endsWith(".mdc")) continue;
|
|
809
|
+
if (ownedFileSet.has(resolved)) continue;
|
|
810
|
+
const up = extractMarkdownUpstream(fullPath);
|
|
811
|
+
const match = matchesPluginComponent(ent.name, up, pluginEntries);
|
|
812
|
+
if (match) {
|
|
813
|
+
conflicts.push({
|
|
814
|
+
type: "duplicate-standalone",
|
|
815
|
+
category,
|
|
816
|
+
name: ent.name,
|
|
817
|
+
existingPath: fullPath,
|
|
818
|
+
pluginId: match.pluginId,
|
|
819
|
+
pluginComponent: match.name,
|
|
820
|
+
reason: `standalone ${category} duplicates plugin "${match.pluginId}" (${match.name})`,
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
} catch {}
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
scanDirForDuplicates(targetDirs.skillsDir, "skill", skillEntries);
|
|
829
|
+
scanDirForDuplicates(targetDirs.rulesDir, "rule", ruleEntries);
|
|
830
|
+
scanDirForDuplicates(targetDirs.agentsDir, "agent", agentEntries);
|
|
831
|
+
return conflicts;
|
|
832
|
+
}
|
|
833
|
+
|
|
696
834
|
/**
|
|
697
835
|
* Builds a comprehensive categorized registry of Plugins, MCPs, Hooks, Skills, Agents, and Rules.
|
|
698
836
|
*/
|
|
@@ -788,19 +926,21 @@ export function buildCategoriesRegistry(plugins = [], hubRoot = "") {
|
|
|
788
926
|
}
|
|
789
927
|
|
|
790
928
|
if (hubRoot && fs.existsSync(hubRoot)) {
|
|
929
|
+
const { ruleEntries, agentEntries } = collectPluginComponentIndex(plugins);
|
|
791
930
|
const rootAgentsDir = path.join(hubRoot, "agents");
|
|
792
931
|
if (fs.existsSync(rootAgentsDir)) {
|
|
793
932
|
try {
|
|
794
933
|
for (const a of fs.readdirSync(rootAgentsDir)) {
|
|
795
|
-
if (a.endsWith(".md")
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
934
|
+
if (!a.endsWith(".md") || seenAgents.has(a)) continue;
|
|
935
|
+
const aPath = path.join(rootAgentsDir, a);
|
|
936
|
+
if (matchesPluginComponent(a, extractMarkdownUpstream(aPath), agentEntries)) continue;
|
|
937
|
+
seenAgents.add(a);
|
|
938
|
+
categories.agents.push({
|
|
939
|
+
name: a,
|
|
940
|
+
pluginId: "root",
|
|
941
|
+
pluginName: "Root Agents",
|
|
942
|
+
sourcePath: aPath,
|
|
943
|
+
});
|
|
804
944
|
}
|
|
805
945
|
} catch {}
|
|
806
946
|
}
|
|
@@ -809,15 +949,16 @@ export function buildCategoriesRegistry(plugins = [], hubRoot = "") {
|
|
|
809
949
|
if (fs.existsSync(rootRulesDir)) {
|
|
810
950
|
try {
|
|
811
951
|
for (const r of fs.readdirSync(rootRulesDir)) {
|
|
812
|
-
if (r.endsWith(".md")
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
952
|
+
if (!r.endsWith(".md") || seenRules.has(r)) continue;
|
|
953
|
+
const rPath = path.join(rootRulesDir, r);
|
|
954
|
+
if (matchesPluginComponent(r, extractMarkdownUpstream(rPath), ruleEntries)) continue;
|
|
955
|
+
seenRules.add(r);
|
|
956
|
+
categories.rules.push({
|
|
957
|
+
name: r,
|
|
958
|
+
pluginId: "root",
|
|
959
|
+
pluginName: "Root Rules",
|
|
960
|
+
sourcePath: rPath,
|
|
961
|
+
});
|
|
821
962
|
}
|
|
822
963
|
} catch {}
|
|
823
964
|
}
|
|
@@ -1122,14 +1263,19 @@ export function scanPlugins(hubRoot = resolveHubRoot()) {
|
|
|
1122
1263
|
if (fs.existsSync(rootSkillsDir)) {
|
|
1123
1264
|
try {
|
|
1124
1265
|
const pluginSkillSet = new Set(plugins.flatMap((p) => p.skills || []));
|
|
1266
|
+
const { skillEntries } = collectPluginComponentIndex(plugins);
|
|
1125
1267
|
const rootSkills = [];
|
|
1126
1268
|
for (const se of fs.readdirSync(rootSkillsDir, { withFileTypes: true })) {
|
|
1127
1269
|
if (pluginSkillSet.has(se.name)) continue;
|
|
1270
|
+
const skillDirPath = path.join(rootSkillsDir, se.name);
|
|
1128
1271
|
let isDir = false;
|
|
1129
1272
|
try {
|
|
1130
|
-
isDir = se.isDirectory() || (se.isSymbolicLink() && fs.statSync(
|
|
1273
|
+
isDir = se.isDirectory() || (se.isSymbolicLink() && fs.statSync(skillDirPath).isDirectory());
|
|
1131
1274
|
} catch {}
|
|
1132
|
-
if (isDir)
|
|
1275
|
+
if (!isDir) continue;
|
|
1276
|
+
const up = extractMarkdownUpstream(path.join(skillDirPath, "SKILL.md"));
|
|
1277
|
+
if (matchesPluginComponent(se.name, up, skillEntries)) continue;
|
|
1278
|
+
rootSkills.push(se.name);
|
|
1133
1279
|
}
|
|
1134
1280
|
if (rootSkills.length > 0) {
|
|
1135
1281
|
const rootSkillFiles = listFilesRecursiveRel(rootSkillsDir, rootSkillsDir);
|
|
@@ -1499,6 +1645,21 @@ export function syncIdePlugins(ide, allPlugins = []) {
|
|
|
1499
1645
|
}
|
|
1500
1646
|
|
|
1501
1647
|
const allOwnedLinks = [...bundleLinks, ...skillLinks];
|
|
1648
|
+
if (isGeminiIde) {
|
|
1649
|
+
const geminiConfigDir = path.dirname(bundleDir);
|
|
1650
|
+
const dupes = detectDuplicateStandalones(
|
|
1651
|
+
allPlugins,
|
|
1652
|
+
normalized.plugins,
|
|
1653
|
+
{
|
|
1654
|
+
skillsDir: paths.skills || path.join(geminiConfigDir, "skills"),
|
|
1655
|
+
rulesDir: (paths.rules?.dir || paths.rulesDir?.dir || path.join(geminiConfigDir, "rules")),
|
|
1656
|
+
agentsDir: (paths.agents?.dir || paths.agentsDir?.dir || path.join(geminiConfigDir, "agents")),
|
|
1657
|
+
},
|
|
1658
|
+
nextFiles,
|
|
1659
|
+
allOwnedLinks
|
|
1660
|
+
);
|
|
1661
|
+
components.conflicts.push(...dupes);
|
|
1662
|
+
}
|
|
1502
1663
|
saveOwnershipState(ownerKey, { links: allOwnedLinks, files: nextFiles, jsonKeys: nextJsonKeys, blocks: nextBlocks });
|
|
1503
1664
|
return {
|
|
1504
1665
|
success: true,
|
|
@@ -1509,7 +1670,9 @@ export function syncIdePlugins(ide, allPlugins = []) {
|
|
|
1509
1670
|
skills: skillLinks.length,
|
|
1510
1671
|
rules: components.rules.length,
|
|
1511
1672
|
agents: components.agents.length,
|
|
1673
|
+
conflicts: components.conflicts.length,
|
|
1512
1674
|
},
|
|
1675
|
+
conflicts: components.conflicts,
|
|
1513
1676
|
results,
|
|
1514
1677
|
};
|
|
1515
1678
|
}
|
|
@@ -1599,6 +1762,19 @@ export function syncIdePlugins(ide, allPlugins = []) {
|
|
|
1599
1762
|
}
|
|
1600
1763
|
}
|
|
1601
1764
|
|
|
1765
|
+
const dupes = detectDuplicateStandalones(
|
|
1766
|
+
allPlugins,
|
|
1767
|
+
normalized.plugins,
|
|
1768
|
+
{
|
|
1769
|
+
skillsDir: skillsTargetDir,
|
|
1770
|
+
rulesDir: typeof paths.rules === "object" ? paths.rules?.dir : undefined,
|
|
1771
|
+
agentsDir: typeof paths.agents === "object" ? paths.agents?.dir : undefined,
|
|
1772
|
+
},
|
|
1773
|
+
nextFiles,
|
|
1774
|
+
skillSync.nextLinks
|
|
1775
|
+
);
|
|
1776
|
+
components.conflicts.push(...dupes);
|
|
1777
|
+
|
|
1602
1778
|
saveOwnershipState(ownerKey, {
|
|
1603
1779
|
links: skillSync.nextLinks,
|
|
1604
1780
|
files: nextFiles,
|