@sellable/install 0.1.322 → 0.1.323

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.
@@ -1,5 +1,6 @@
1
1
  import { createHash } from "node:crypto";
2
2
  import {
3
+ chmodSync,
3
4
  closeSync,
4
5
  cpSync,
5
6
  existsSync,
@@ -109,6 +110,17 @@ function copyExact(source, target) {
109
110
  dereference: false,
110
111
  preserveTimestamps: true,
111
112
  });
113
+ syncExactModes(source, target);
114
+ }
115
+
116
+ function syncExactModes(source, target) {
117
+ const stat = lstatSync(source);
118
+ if (stat.isSymbolicLink()) return;
119
+ chmodSync(target, stat.mode & 0o777);
120
+ if (!stat.isDirectory()) return;
121
+ for (const name of readdirSync(source)) {
122
+ syncExactModes(join(source, name), join(target, name));
123
+ }
112
124
  }
113
125
 
114
126
  function readCanonicalManifest(manifestPath, expectedSnapshotHash) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.322",
3
+ "version": "0.1.323",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code, Codex, and Hermes",
6
6
  "bin": {