rrce-workflow 0.3.32 → 0.3.33

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -474,7 +474,11 @@ function parseWorkspaceConfig(configPath) {
474
474
  function findClosestProject(projects, cwd = process.cwd()) {
475
475
  const matches = projects.map((p) => {
476
476
  let matchPath = "";
477
- if (cwd.startsWith(p.path)) {
477
+ if (cwd === p.path) {
478
+ matchPath = p.path;
479
+ } else if (p.sourcePath && cwd === p.sourcePath) {
480
+ matchPath = p.sourcePath;
481
+ } else if (cwd.startsWith(p.path)) {
478
482
  matchPath = p.path;
479
483
  } else if (p.sourcePath && cwd.startsWith(p.sourcePath)) {
480
484
  matchPath = p.sourcePath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrce-workflow",
3
- "version": "0.3.32",
3
+ "version": "0.3.33",
4
4
  "description": "RRCE-Workflow TUI - Agentic code workflow generator for AI-assisted development",
5
5
  "author": "RRCE Team",
6
6
  "license": "MIT",