dev-cockpit 0.2.5 → 0.2.6

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.
@@ -9,9 +9,22 @@
9
9
  */
10
10
  import type { MountEntry, MountSymlinkStrategy } from './types.js';
11
11
  export interface SymlinkReport {
12
- /** Symlinks created or already pointing at the right target (idempotent). */
12
+ /** Symlinks created from scratch or already pointing at the right target. */
13
13
  created: string[];
14
- /** A real (non-symlink) directory exists at the link path; left untouched. */
14
+ /**
15
+ * Install paths that previously held a real (non-symlink) directory — likely
16
+ * composer/npm-installed contents — that we removed and replaced with a
17
+ * symlink to the host clone. Surfaced separately so callers can log the
18
+ * destruction loudly: the previous contents are gone until `mount clear`
19
+ * runs the package manager again.
20
+ */
21
+ replaced: string[];
22
+ /**
23
+ * Reserved for cases that legitimately couldn't apply (e.g. linkPath is a
24
+ * regular file whose deletion failed). The "real directory" case used to
25
+ * land here as a safety guard; now those entries land in `replaced`
26
+ * because explicit-mount intent overrides the guard.
27
+ */
15
28
  skipped: string[];
16
29
  }
17
30
  export declare function applyManagedSymlinks(workspaceRoot: string, mounts: readonly MountEntry[], strategy: MountSymlinkStrategy): SymlinkReport;
@@ -1 +1 @@
1
- {"version":3,"file":"symlinks.d.ts","sourceRoot":"","sources":["../../src/mount/symlinks.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,WAAW,aAAa;IAC5B,6EAA6E;IAC7E,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8EAA8E;IAC9E,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,SAAS,UAAU,EAAE,EAC7B,QAAQ,EAAE,oBAAoB,GAC7B,aAAa,CA4Bf;AAED,wBAAgB,qBAAqB,CACnC,aAAa,EA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C,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,SAAS,UAAU,EAAE,EAC7B,QAAQ,EAAE,oBAAoB,GAC7B,UAAU,EAAE,CAuBd"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-cockpit",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "A reusable, domain-neutral terminal UI dev cockpit — tabbed pane shell, watcher streaming, optional Docker log tail with highlights, health framework with one-keystroke remediations, transition-only OS notifications, live-markdown Help. Profiles extend it with project-specific commands, repos, and health checks.",
5
5
  "license": "MIT",
6
6
  "repository": {