embedlabs 0.1.0-alpha.114 → 0.1.0-alpha.116

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/README.md CHANGED
@@ -7,4 +7,4 @@ npm install -g embedlabs@alpha
7
7
  embedlabs --help
8
8
  ```
9
9
 
10
- This package forwards to `@kvell007/embed-labs-cli@0.1.0-alpha.114`.
10
+ This package forwards to `@kvell007/embed-labs-cli@0.1.0-alpha.116`.
@@ -9,7 +9,7 @@ const target = `${platform()}-${arch()}`;
9
9
  if (phase === "preinstall") {
10
10
  cleanupWindowsInstallState();
11
11
  } else {
12
- installCommandShim();
12
+ verifyInstallState();
13
13
  }
14
14
  const steps = phase === "preinstall"
15
15
  ? [
@@ -135,19 +135,10 @@ function isEmbedLabsShim(filePath) {
135
135
  }
136
136
  }
137
137
 
138
- function installCommandShim() {
139
- cleanupOldCommandShims();
140
- for (const prefix of installPrefixes()) {
141
- if (platform() === "win32") {
142
- const target = join(prefix, "embedlabs.cmd");
143
- writeFileSync(target, windowsCmdShim(), "utf8");
144
- continue;
145
- }
146
- const target = join(prefix, "bin", "embedlabs");
147
- mkdirSync(dirname(target), { recursive: true });
148
- writeFileSync(target, unixShellShim(), "utf8");
149
- chmodSync(target, 0o755);
150
- }
138
+ function verifyInstallState() {
139
+ // npm owns final bin-link creation. The package only removes stale legacy
140
+ // shims during preinstall; writing the command shim here can overwrite the
141
+ // package's own bin file when npm lifecycle prefixes differ by platform.
151
142
  }
152
143
 
153
144
  function windowsCmdShim() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "embedlabs",
3
- "version": "0.1.0-alpha.114",
3
+ "version": "0.1.0-alpha.116",
4
4
  "description": "EmbedLabs CLI alias package for local-first embedded agent testing.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "README.md"
14
14
  ],
15
15
  "dependencies": {
16
- "@kvell007/embed-labs-cli": "0.1.0-alpha.114"
16
+ "@kvell007/embed-labs-cli": "0.1.0-alpha.116"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public",