@intentic/constants 1.288.0 → 1.291.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/constants",
3
- "version": "1.288.0",
3
+ "version": "1.291.0",
4
4
  "description": "Shared constants for the intentic packages, ports, paths, and image references the daemon, CLIs and desktop app all agree on",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,9 +1,14 @@
1
- // Directories an isolated turn's overlay mounts over (node_modules, .venv, dist, generated): emptying them is safe, but
1
+ // Directories an isolated turn's overlay mounts over (node_modules, .venv, dist): emptying them is safe, but
2
2
  // replacing the directory (rm -rf then mkdir) orphans the mount at its old inode, and only umount/mount repairs it.
3
3
  // _tools/checks/mirror-roots.mjs refuses the replacing shape; clean-outputs.mjs does the emptying instead.
4
+ // A name belongs here only while EVERYTHING that writes it empties rather than replaces it, ours and vendors' alike.
5
+ // `generated` cannot: `prisma generate` replaces subdirectories of its output on every run, from inside a binary no
6
+ // check over our own scripts can read, and a turn mounted over that lower root then sees a directory it can neither
7
+ // remove (ENOENT) nor create (EEXIST). Per-worktree costs nothing — gitignored output the prepass regenerates before
8
+ // anything reads it, while dependents import the compiled dist.
4
9
 
5
10
  // Overlaid directory names; `.cache` is deliberately excluded and `.venv` is python's node_modules.
6
- export const MIRRORED_DIRS = new Set(["node_modules", ".venv", "dist", "generated"]);
11
+ export const MIRRORED_DIRS = new Set(["node_modules", ".venv", "dist"]);
7
12
 
8
13
  // Classify the last path segment after stripping quotes and slashes; directory contents are not matches.
9
14
  const lastSegment = (token) => {