rrce-workflow 0.2.59 → 0.2.61
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/dist/index.js +11 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -680,7 +680,7 @@ async function promptLinkedProjects(existingProjects) {
|
|
|
680
680
|
async function promptGitignore() {
|
|
681
681
|
const result = await confirm({
|
|
682
682
|
message: "Add generated folders to .gitignore? (as comments - uncomment if needed)",
|
|
683
|
-
initialValue:
|
|
683
|
+
initialValue: false
|
|
684
684
|
});
|
|
685
685
|
if (isCancel2(result)) {
|
|
686
686
|
cancel("Setup cancelled.");
|
|
@@ -2951,7 +2951,7 @@ var init_ProjectsView = __esm({
|
|
|
2951
2951
|
const [config, setConfig] = useState2(initialConfig);
|
|
2952
2952
|
const projectItems = allProjects.map((p) => {
|
|
2953
2953
|
const projectConfig = config.projects.find(
|
|
2954
|
-
(c) => c.path && c.path === p.path || !c.path && c.name === p.name
|
|
2954
|
+
(c) => c.path && c.path === p.path || p.source === "global" && c.name === p.name || !c.path && c.name === p.name
|
|
2955
2955
|
);
|
|
2956
2956
|
const isExposed = projectConfig ? projectConfig.expose : config.defaults.includeNew;
|
|
2957
2957
|
return {
|
|
@@ -2969,12 +2969,14 @@ var init_ProjectsView = __esm({
|
|
|
2969
2969
|
const isSelected = selectedIds.includes(item.value);
|
|
2970
2970
|
const project = allProjects.find((p) => p.dataPath === item.value);
|
|
2971
2971
|
if (project) {
|
|
2972
|
+
const existingConfig = newConfig.projects.find((p) => p.name === project.name);
|
|
2973
|
+
const projectPath = project.source === "global" && existingConfig?.path ? existingConfig.path : project.path;
|
|
2972
2974
|
newConfig = setProjectConfig(
|
|
2973
2975
|
newConfig,
|
|
2974
2976
|
project.name,
|
|
2975
2977
|
isSelected,
|
|
2976
2978
|
void 0,
|
|
2977
|
-
|
|
2979
|
+
projectPath
|
|
2978
2980
|
);
|
|
2979
2981
|
}
|
|
2980
2982
|
});
|
|
@@ -3188,7 +3190,10 @@ var init_IndexingStatus = __esm({
|
|
|
3188
3190
|
const fetchStats = async () => {
|
|
3189
3191
|
const newStats = [];
|
|
3190
3192
|
for (const project of projects) {
|
|
3191
|
-
|
|
3193
|
+
let projConfig = findProjectConfig(config, { name: project.name, path: project.path });
|
|
3194
|
+
if (!projConfig && project.source === "global") {
|
|
3195
|
+
projConfig = config.projects.find((p) => p.name === project.name);
|
|
3196
|
+
}
|
|
3192
3197
|
const enabled = projConfig?.semanticSearch?.enabled ?? false;
|
|
3193
3198
|
if (!enabled) {
|
|
3194
3199
|
newStats.push({
|
|
@@ -3348,7 +3353,7 @@ var init_App = __esm({
|
|
|
3348
3353
|
const exposedProjects = useMemo2(
|
|
3349
3354
|
() => projects.filter((p) => {
|
|
3350
3355
|
const cfg = config.projects.find(
|
|
3351
|
-
(c) => c.path && c.path === p.path || !c.path && c.name === p.name
|
|
3356
|
+
(c) => c.path && c.path === p.path || p.source === "global" && c.name === p.name || !c.path && c.name === p.name
|
|
3352
3357
|
);
|
|
3353
3358
|
return cfg?.expose ?? config.defaults.includeNew;
|
|
3354
3359
|
}),
|
|
@@ -3801,7 +3806,7 @@ async function runExpressSetup(workspacePath, workspaceName, existingProjects, s
|
|
|
3801
3806
|
globalPath: customGlobalPath,
|
|
3802
3807
|
tools: ["copilot", "antigravity"],
|
|
3803
3808
|
linkedProjects: [],
|
|
3804
|
-
addToGitignore:
|
|
3809
|
+
addToGitignore: false,
|
|
3805
3810
|
exposeToMCP: true,
|
|
3806
3811
|
enableRAG: true
|
|
3807
3812
|
};
|