stackbite 0.5.95 → 0.5.96

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": "stackbite",
3
- "version": "0.5.95",
3
+ "version": "0.5.96",
4
4
  "description": "Verified native Stackbite CLI bootstrapper",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -158,8 +158,9 @@ async function nativeExecutable(root, spec, name = 'stackbite') {
158
158
  if (spec.platform !== 'win32' && process.platform !== 'win32' && !(image.mode & 0o111)) fail('Native release executable has no execute permission');
159
159
  return executable;
160
160
  }
161
- // The release pins the whole payload before this mapping. Old releases keep
162
- // their original engine; a present native entry is never silently bypassed.
161
+ // The release pins the whole payload before this mapping. Windows opens the
162
+ // frozen engine, which selects the Rust TUI/owner; POSIX opens the native entry.
163
+ // A bundled native entry is validated on every platform before either choice.
163
164
  async function publicExecutable(root, spec, hashes) {
164
165
  const engine = await nativeExecutable(root, spec);
165
166
  const name = 'stackbite-launcher' + (spec.platform === 'win32' ? '.exe' : '');
@@ -178,7 +179,8 @@ async function publicExecutable(root, spec, hashes) {
178
179
  || !info || Object.keys(info).sort().join(',') !== 'binary,commit,product,protocol,target,version'
179
180
  || info.product !== 'Stackbite' || info.binary !== 'stackbite-launcher' || info.version !== spec.version
180
181
  || info.commit !== spec.commit || info.target !== target || info.protocol !== 1) fail('Native entry package identity or pin is invalid');
181
- return nativeExecutable(root, spec, 'stackbite-launcher');
182
+ const launcher = await nativeExecutable(root, spec, 'stackbite-launcher');
183
+ return spec.platform === 'win32' ? engine : launcher;
182
184
  }
183
185
  async function validatePayload(directory, spec, { includePhone = true } = {}) {
184
186
  const root = await payloadRoot(directory);
@@ -1,35 +1,35 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "0.5.95",
4
- "commit": "02f01b31dbbdbf41146da832899bdd8e0f663f2c",
3
+ "version": "0.5.96",
4
+ "commit": "7f23d4a4e4d940e0147d841992e93dd23befc944",
5
5
  "repository": "Shinick-Han/stackbite",
6
6
  "platforms": {
7
7
  "win32-x64": {
8
- "asset": "stackbite-0.5.95-windows-x64-02f01b31dbbd.zip",
9
- "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.95/stackbite-0.5.95-windows-x64-02f01b31dbbd.zip",
10
- "sha256": "c6ee47d5e43afdbcd57c662cf4cfdaff4fbbd75f6572df2f7acf1fecfc7b3b84",
11
- "size": 95632693,
12
- "root": "stackbite-0.5.95-windows-x64-02f01b31dbbd",
13
- "manifestSha256": "52ccbfe1ce6553c3420c6b37ad2dcc4bb8097ad698ee2b30206d93a44b88dc24",
14
- "metadataSha256": "8722beebac529b3e2de889b001552aefa339d577a20d0d02fd8c3a6255f3c48d"
8
+ "asset": "stackbite-0.5.96-windows-x64-7f23d4a4e4d9.zip",
9
+ "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.96/stackbite-0.5.96-windows-x64-7f23d4a4e4d9.zip",
10
+ "sha256": "ea9b75271f5fbb2ba082eb323adecbacf53a0b049330be2e99fefe865fc6dba0",
11
+ "size": 95635099,
12
+ "root": "stackbite-0.5.96-windows-x64-7f23d4a4e4d9",
13
+ "manifestSha256": "464afb4d132173090c27e4fb2546801cf469b4659e1df68b51fad92555ceaac4",
14
+ "metadataSha256": "5d741796ed25420cb01d0ba736a3d54a94609369702f58c0770c1dc23241aa75"
15
15
  },
16
16
  "linux-x64": {
17
- "asset": "stackbite-0.5.95-linux-x86_64-02f01b31dbbd.tar.gz",
18
- "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.95/stackbite-0.5.95-linux-x86_64-02f01b31dbbd.tar.gz",
19
- "sha256": "b01e2187453ab0406330b45d42ba81848ca8c5d7bc989ddcb1d08cd730909e49",
20
- "size": 75907324,
21
- "root": "stackbite-0.5.95-linux-x86_64-02f01b31dbbd",
22
- "manifestSha256": "06d97da640bcb14a95d1d128dded3e1f8508da6899489c4b31065633e6ff0337",
23
- "metadataSha256": "305fc917b52e6375de8172b37ef21a281cd8efc57597962f75448c0a2e5e06df"
17
+ "asset": "stackbite-0.5.96-linux-x86_64-7f23d4a4e4d9.tar.gz",
18
+ "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.96/stackbite-0.5.96-linux-x86_64-7f23d4a4e4d9.tar.gz",
19
+ "sha256": "2cd509a933634d270da4e1729022beb7b7a803880617088c94327d2ad4631e38",
20
+ "size": 75907031,
21
+ "root": "stackbite-0.5.96-linux-x86_64-7f23d4a4e4d9",
22
+ "manifestSha256": "d59dd6704b0ada8a426f5fab557728d2fef7008cecf076c45662c6292546b6b7",
23
+ "metadataSha256": "d1afa491f2d0d1f3f128e9b8bef24b62c2adbd3a3ea84fef5692552f303063b2"
24
24
  },
25
25
  "darwin-arm64": {
26
- "asset": "stackbite-0.5.95-macos-arm64-02f01b31dbbd.tar.gz",
27
- "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.95/stackbite-0.5.95-macos-arm64-02f01b31dbbd.tar.gz",
28
- "sha256": "0a8af3f98de67afec0f641de1205d1e9dcb3112381fdd913f7497f3536f77ac1",
29
- "size": 30868318,
30
- "root": "stackbite-0.5.95-macos-arm64-02f01b31dbbd",
31
- "manifestSha256": "40dc82db765ebcaf8782111b80f383e04292a6d5cb92f85108d7f61cc831d0d3",
32
- "metadataSha256": "a38e636cb9244d80dd652fa66d7618ea7110b1709343d7f8e1e3952675866755"
26
+ "asset": "stackbite-0.5.96-macos-arm64-7f23d4a4e4d9.tar.gz",
27
+ "url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.96/stackbite-0.5.96-macos-arm64-7f23d4a4e4d9.tar.gz",
28
+ "sha256": "822879f121af836b47152d7def5e59e50fcb1a8ed987090d1efff4c3688e3ed2",
29
+ "size": 30871909,
30
+ "root": "stackbite-0.5.96-macos-arm64-7f23d4a4e4d9",
31
+ "manifestSha256": "e25fc4c20e124d2db018d8402cb5590368e634afc0b6bc035db665ee0a54578c",
32
+ "metadataSha256": "e6ef71691f4d36ad244864d2cbfb2f916e7afafda8c59787926399b6539e2562"
33
33
  }
34
34
  }
35
35
  }