vibe-coding-master 0.6.8 → 0.6.10

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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>VibeCodingMaster</title>
7
- <script type="module" crossorigin src="/assets/index-DYqyuZUH.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-DIfaGVNJ.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-D6vwKigt.css">
9
9
  </head>
10
10
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [
@@ -16,6 +16,7 @@ NODE_SOURCE_EXTENSIONS = (".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs")
16
16
  NODE_EXCLUDED_DIRS = {"node_modules", "dist", "build", "coverage", ".next", ".turbo", ".vite"}
17
17
  NODE_DEPENDENCY_TABLES = ("dependencies", "devDependencies", "peerDependencies", "optionalDependencies")
18
18
  NODE_TEST_MARKERS = (".test.", ".spec.")
19
+ RUST_EXCLUDED_DIRS = {"target", ".git"}
19
20
 
20
21
 
21
22
  def relative_path(path: Path, root: Path) -> str:
@@ -55,14 +56,17 @@ def load_toml(path: Path) -> dict:
55
56
 
56
57
 
57
58
  def load_cargo_metadata(cargo_root: Path) -> dict | None:
58
- result = subprocess.run(
59
- ["cargo", "metadata", "--format-version", "1", "--no-deps"],
60
- cwd=cargo_root,
61
- check=False,
62
- text=True,
63
- stdout=subprocess.PIPE,
64
- stderr=subprocess.PIPE,
65
- )
59
+ try:
60
+ result = subprocess.run(
61
+ ["cargo", "metadata", "--format-version", "1", "--no-deps"],
62
+ cwd=cargo_root,
63
+ check=False,
64
+ text=True,
65
+ stdout=subprocess.PIPE,
66
+ stderr=subprocess.PIPE,
67
+ )
68
+ except FileNotFoundError:
69
+ return None
66
70
  if result.returncode != 0:
67
71
  return None
68
72
  return json.loads(result.stdout)
@@ -163,6 +167,7 @@ def rust_files_under(module_dir: Path, project_root: Path, child: str) -> list[s
163
167
  relative_path(path, project_root)
164
168
  for path in root.rglob("*.rs")
165
169
  if path.is_file()
170
+ and not any(part in RUST_EXCLUDED_DIRS for part in path.relative_to(module_dir).parts)
166
171
  )
167
172
 
168
173