@hanzlaa/rcode 3.4.2 → 3.4.4
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/cli/install.js +16 -0
- package/package.json +1 -1
package/cli/install.js
CHANGED
|
@@ -817,6 +817,22 @@ function parseFrontmatter(text) {
|
|
|
817
817
|
* For cursor IDE, converts command files from .md to .mdc format.
|
|
818
818
|
*/
|
|
819
819
|
function buildInstallPlan(ide = 'claude', target = process.cwd()) {
|
|
820
|
+
// Support array of IDEs — merge plans with deduplication (#449/#450 multi-IDE).
|
|
821
|
+
if (Array.isArray(ide)) {
|
|
822
|
+
const seen = new Set();
|
|
823
|
+
const merged = [];
|
|
824
|
+
for (const i of ide) {
|
|
825
|
+
for (const entry of buildInstallPlan(i, target)) {
|
|
826
|
+
const key = entry.rel;
|
|
827
|
+
if (!seen.has(key)) {
|
|
828
|
+
seen.add(key);
|
|
829
|
+
merged.push(entry);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
return merged;
|
|
834
|
+
}
|
|
835
|
+
|
|
820
836
|
const plan = [];
|
|
821
837
|
const paths = getPathsForIde(ide, target);
|
|
822
838
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzlaa/rcode",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "rcode — the memory bank for AI-driven SaaS teams. Persistent project context, distinctive engineering personas, and phase-based workflows. Built by Rihal. Works in Claude Code, Cursor, Gemini, VS Code, and Antigravity.",
|
|
5
5
|
"main": "cli/index.js",
|
|
6
6
|
"bin": {
|