@centralu/darwin-arm64 0.1.0-beta.24 → 0.1.0-beta.26

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.
Files changed (22) hide show
  1. package/Centralu.app/Contents/Info.plist +2 -2
  2. package/Centralu.app/Contents/MacOS/centralu +0 -0
  3. package/Centralu.app/Contents/MacOS/centralu-keeper +0 -0
  4. package/Centralu.app/Contents/Resources/content/centralu-keeper +0 -0
  5. package/Centralu.app/Contents/Resources/content/content-manifest.json +15 -15
  6. package/Centralu.app/Contents/Resources/content/content-manifest.json.sig +1 -1
  7. package/Centralu.app/Contents/Resources/content/host/app-template/ui/index.html +8 -8
  8. package/Centralu.app/Contents/Resources/content/host/bundle-info.json +3 -2
  9. package/Centralu.app/Contents/Resources/content/host/centralu-package.json +5 -5
  10. package/Centralu.app/Contents/Resources/content/host/codex-orchestrator-bridge.mjs +1 -0
  11. package/Centralu.app/Contents/Resources/content/host/main.mjs +33664 -29412
  12. package/Centralu.app/Contents/Resources/content/host/remote-install.mjs +10 -4
  13. package/Centralu.app/Contents/Resources/content/host/schema.sql +1 -1
  14. package/Centralu.app/Contents/Resources/resources/host/app-template/ui/index.html +8 -8
  15. package/Centralu.app/Contents/Resources/resources/host/bundle-info.json +3 -2
  16. package/Centralu.app/Contents/Resources/resources/host/centralu-package.json +5 -5
  17. package/Centralu.app/Contents/Resources/resources/host/codex-orchestrator-bridge.mjs +1 -0
  18. package/Centralu.app/Contents/Resources/resources/host/main.mjs +33664 -29412
  19. package/Centralu.app/Contents/Resources/resources/host/remote-install.mjs +10 -4
  20. package/Centralu.app/Contents/Resources/resources/host/schema.sql +1 -1
  21. package/Centralu.app/Contents/_CodeSignature/CodeResources +36 -36
  22. package/package.json +1 -1
@@ -11,7 +11,7 @@ import { spawnSync } from 'node:child_process'
11
11
  import { createHash, randomBytes } from 'node:crypto'
12
12
  import { chmodSync, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from 'node:fs'
13
13
  import { homedir } from 'node:os'
14
- import { basename, join } from 'node:path'
14
+ import { basename, join, win32 } from 'node:path'
15
15
  import { pathToFileURL } from 'node:url'
16
16
 
17
17
  const WORD = /^[0-9A-Za-z][0-9A-Za-z.+-]{0,63}$/
@@ -176,9 +176,15 @@ function alive(pid) {
176
176
  }
177
177
  }
178
178
 
179
- /** The system's tar. On Windows the one in System32 (bsdtar): a GNU tar on PATH reads `C:` as a host */
180
- function tarProgram() {
181
- return process.platform === 'win32' ? join(process.env.SystemRoot || 'C:\\Windows', 'System32', 'tar.exe') : 'tar'
179
+ /**
180
+ * The system's tar. On Windows the one in System32 (bsdtar): a GNU tar on PATH reads `C:` as a host. Named by its whole
181
+ * path: a `SystemRoot` that is not one from a drive's root is not used (the host's `systemTool` rule, which this script
182
+ * cannot import), since Windows looks a relative program path up in the working directory first (#428).
183
+ */
184
+ export function tarProgram(platform = process.platform, env = process.env) {
185
+ if (platform !== 'win32') return 'tar'
186
+ const root = /^[A-Za-z]:[\\/]/.test(env.SystemRoot ?? '') ? env.SystemRoot : 'C:\\Windows'
187
+ return win32.join(root, 'System32', 'tar.exe')
182
188
  }
183
189
 
184
190
  /** The tarball's bytes, refused unless their sha512 is the integrity the hub read from the signed metadata */
@@ -1,5 +1,5 @@
1
1
  -- Centralu local storage schema v1
2
- -- Read by the host (better-sqlite3). Migrations are handled by the steps in dev-services/store.ts.
2
+ -- Read by the host (better-sqlite3). Migrations are handled by the steps in dev-services/store/migrations/.
3
3
  --
4
4
  -- **user_version is never set here.** This file runs every time the database is opened (safe,
5
5
  -- since every table uses CREATE IF NOT EXISTS), so if `PRAGMA user_version = 1` were here, a
@@ -6,15 +6,15 @@
6
6
  <dict>
7
7
  <key>Resources/content/centralu-keeper</key>
8
8
  <data>
9
- kh49KSuSxlYlXv2eyAkOa03HnFk=
9
+ 7nuE2pG0/UvgjzaStShtsctj7OI=
10
10
  </data>
11
11
  <key>Resources/content/content-manifest.json</key>
12
12
  <data>
13
- OCq5DFjvM6nBGM2Q6Qy6HURQVj8=
13
+ g8ekUbXhN0SH4XtdCM4QUBL7Nzs=
14
14
  </data>
15
15
  <key>Resources/content/content-manifest.json.sig</key>
16
16
  <data>
17
- zXeVciys5xq+pHrGoZIHPdU5MhE=
17
+ e8AbtKW2vSTkRrLQ4w3CQRHBi24=
18
18
  </data>
19
19
  <key>Resources/content/host/app-template/AGENTS.md</key>
20
20
  <data>
@@ -54,23 +54,23 @@
54
54
  </data>
55
55
  <key>Resources/content/host/app-template/ui/index.html</key>
56
56
  <data>
57
- HAhGQTUmG1C85txGZnMJyHTR2MA=
57
+ 4pt5B5WoiieCxQGsNHmWIeAaM8o=
58
58
  </data>
59
59
  <key>Resources/content/host/bundle-info.json</key>
60
60
  <data>
61
- OHIfftyr4qOSTZw1NJRUjL/GjOo=
61
+ Wl6dLwvsYuKfhXehJHiLK3+eUTM=
62
62
  </data>
63
63
  <key>Resources/content/host/centralu-package.json</key>
64
64
  <data>
65
- qHkTYn8txYurE5OTenYUKv7oegI=
65
+ zERCiQ0cWEEupoNFgVvbeXpCEnI=
66
66
  </data>
67
67
  <key>Resources/content/host/codex-orchestrator-bridge.mjs</key>
68
68
  <data>
69
- zMzraPGmUn21Ey48V+Zc3VuvXzA=
69
+ FgYNYlPdLBI9ylM3qg+ZG+cIZlY=
70
70
  </data>
71
71
  <key>Resources/content/host/main.mjs</key>
72
72
  <data>
73
- zvH689Kp1FzuWZIzAV+iaGYC3R0=
73
+ Kq4pNpcyOO7BJFBBQsYDUvP8YPM=
74
74
  </data>
75
75
  <key>Resources/content/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
76
76
  <data>
@@ -342,7 +342,7 @@
342
342
  </data>
343
343
  <key>Resources/content/host/remote-install.mjs</key>
344
344
  <data>
345
- yl0J+JffsEv7CSEYqn+zj2IPN6g=
345
+ i1pEG8idbufoc6sqw3ILuHCm+wY=
346
346
  </data>
347
347
  <key>Resources/content/host/remote-runtime.json</key>
348
348
  <data>
@@ -350,7 +350,7 @@
350
350
  </data>
351
351
  <key>Resources/content/host/schema.sql</key>
352
352
  <data>
353
- 5B/+lAptHFTev2TqTwV6i518j4k=
353
+ wZgldKQcG7yEW+QBdtajRaHpOuA=
354
354
  </data>
355
355
  <key>Resources/icon.icns</key>
356
356
  <data>
@@ -394,23 +394,23 @@
394
394
  </data>
395
395
  <key>Resources/resources/host/app-template/ui/index.html</key>
396
396
  <data>
397
- HAhGQTUmG1C85txGZnMJyHTR2MA=
397
+ 4pt5B5WoiieCxQGsNHmWIeAaM8o=
398
398
  </data>
399
399
  <key>Resources/resources/host/bundle-info.json</key>
400
400
  <data>
401
- OHIfftyr4qOSTZw1NJRUjL/GjOo=
401
+ Wl6dLwvsYuKfhXehJHiLK3+eUTM=
402
402
  </data>
403
403
  <key>Resources/resources/host/centralu-package.json</key>
404
404
  <data>
405
- qHkTYn8txYurE5OTenYUKv7oegI=
405
+ zERCiQ0cWEEupoNFgVvbeXpCEnI=
406
406
  </data>
407
407
  <key>Resources/resources/host/codex-orchestrator-bridge.mjs</key>
408
408
  <data>
409
- zMzraPGmUn21Ey48V+Zc3VuvXzA=
409
+ FgYNYlPdLBI9ylM3qg+ZG+cIZlY=
410
410
  </data>
411
411
  <key>Resources/resources/host/main.mjs</key>
412
412
  <data>
413
- zvH689Kp1FzuWZIzAV+iaGYC3R0=
413
+ Kq4pNpcyOO7BJFBBQsYDUvP8YPM=
414
414
  </data>
415
415
  <key>Resources/resources/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
416
416
  <data>
@@ -682,7 +682,7 @@
682
682
  </data>
683
683
  <key>Resources/resources/host/remote-install.mjs</key>
684
684
  <data>
685
- yl0J+JffsEv7CSEYqn+zj2IPN6g=
685
+ i1pEG8idbufoc6sqw3ILuHCm+wY=
686
686
  </data>
687
687
  <key>Resources/resources/host/remote-runtime.json</key>
688
688
  <data>
@@ -690,7 +690,7 @@
690
690
  </data>
691
691
  <key>Resources/resources/host/schema.sql</key>
692
692
  <data>
693
- 5B/+lAptHFTev2TqTwV6i518j4k=
693
+ wZgldKQcG7yEW+QBdtajRaHpOuA=
694
694
  </data>
695
695
  <key>Resources/shell/Centralu.app/Contents/Info.plist</key>
696
696
  <data>
@@ -719,30 +719,30 @@
719
719
  <dict>
720
720
  <key>cdhash</key>
721
721
  <data>
722
- cwZFra+/KC5HiB867z6q8L76JXI=
722
+ 3SeHf3CMMsRRgfYHfH3LRlNSRIo=
723
723
  </data>
724
724
  <key>requirement</key>
725
- <string>cdhash H"730645adafbf282e47881f3aef3eaaf0befa2572"</string>
725
+ <string>cdhash H"dd27877f708c32c45181f6077c7dcb465352448a"</string>
726
726
  </dict>
727
727
  <key>Resources/content/centralu-keeper</key>
728
728
  <dict>
729
729
  <key>hash2</key>
730
730
  <data>
731
- JYtOa5Ybr8FBn8Y/1TDjIBOMFXf0PjK99V4zwzK3OW8=
731
+ qjqzhrCpzd5M+6Us28Xj8aTfpoEi1e0sCIbMKscC9s0=
732
732
  </data>
733
733
  </dict>
734
734
  <key>Resources/content/content-manifest.json</key>
735
735
  <dict>
736
736
  <key>hash2</key>
737
737
  <data>
738
- kmBtwwKYc+XOO3gGPqvjKCmGhsPoJXArjtBcTT20Lf0=
738
+ jHa648rFOWzhUIimbVSgP/LBV6ktD3STMhxS+lY33t0=
739
739
  </data>
740
740
  </dict>
741
741
  <key>Resources/content/content-manifest.json.sig</key>
742
742
  <dict>
743
743
  <key>hash2</key>
744
744
  <data>
745
- JD7KzfhhSB0ElBmpLfLlIv/YZ8kXT6AL+fb8ODaiBxE=
745
+ R6enHFiE2aQGWHqI8Gt6CSI1nSAKjYKCK+YtheX7+Oc=
746
746
  </data>
747
747
  </dict>
748
748
  <key>Resources/content/host/app-template/AGENTS.md</key>
@@ -812,35 +812,35 @@
812
812
  <dict>
813
813
  <key>hash2</key>
814
814
  <data>
815
- R/YyIHcMhdn57Bq2Qc5BfA0owYkhHSMABwxkR9y2KGA=
815
+ TGy9NCyV54fCLe5XB6InaQINOOb7xciCJflqVYR9/SQ=
816
816
  </data>
817
817
  </dict>
818
818
  <key>Resources/content/host/bundle-info.json</key>
819
819
  <dict>
820
820
  <key>hash2</key>
821
821
  <data>
822
- p08tJn1beuT56c3rkDnOz9ujLtqQbOAqfKo9kHna4v4=
822
+ Ou8ibkdENJmqcDTj3Jm/xHtSLWGNJokoY8JpAsFqF/s=
823
823
  </data>
824
824
  </dict>
825
825
  <key>Resources/content/host/centralu-package.json</key>
826
826
  <dict>
827
827
  <key>hash2</key>
828
828
  <data>
829
- htMA/U8GC2GCYdQ4sW6wXDLnOIIknk73uPdFacpKJdE=
829
+ L5oLvDVQkyHkhpA+DAXlVISOgSLSA/Tre9Zn1yz6KzE=
830
830
  </data>
831
831
  </dict>
832
832
  <key>Resources/content/host/codex-orchestrator-bridge.mjs</key>
833
833
  <dict>
834
834
  <key>hash2</key>
835
835
  <data>
836
- H70+BBQCu8rnMC2pSdoFRORk0A4YVTHj3wWnnynDtJM=
836
+ caNDqli38NahWAZBFoFzv/eKUM/XbZKTJHWN1GP8ZP0=
837
837
  </data>
838
838
  </dict>
839
839
  <key>Resources/content/host/main.mjs</key>
840
840
  <dict>
841
841
  <key>hash2</key>
842
842
  <data>
843
- pvq46TcbT/BnBLrCvGBHZI1mlDdB/1U1ewJwBXQx/6I=
843
+ mI6y3HPLx8XLiQK8eEqisyO6Lw5Q9mKurMONCLFC3xo=
844
844
  </data>
845
845
  </dict>
846
846
  <key>Resources/content/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
@@ -1316,7 +1316,7 @@
1316
1316
  <dict>
1317
1317
  <key>hash2</key>
1318
1318
  <data>
1319
- New4g3YdpbDtGTsBcScEixBPE/i5amL0KBDnwJoahDQ=
1319
+ 3/8ZCxiHNu8XastZhrQSdaK6H/wlKPlxtgwp7T0B8IA=
1320
1320
  </data>
1321
1321
  </dict>
1322
1322
  <key>Resources/content/host/remote-runtime.json</key>
@@ -1330,7 +1330,7 @@
1330
1330
  <dict>
1331
1331
  <key>hash2</key>
1332
1332
  <data>
1333
- v3PZDwC5UC9L0QDtDtj4Q/zpbLzS26hi2URr9awIfbg=
1333
+ Roigzgmt/kKTerCC1DjKgBSJ9tD+PiR6NICBvsCodb0=
1334
1334
  </data>
1335
1335
  </dict>
1336
1336
  <key>Resources/icon.icns</key>
@@ -1407,35 +1407,35 @@
1407
1407
  <dict>
1408
1408
  <key>hash2</key>
1409
1409
  <data>
1410
- R/YyIHcMhdn57Bq2Qc5BfA0owYkhHSMABwxkR9y2KGA=
1410
+ TGy9NCyV54fCLe5XB6InaQINOOb7xciCJflqVYR9/SQ=
1411
1411
  </data>
1412
1412
  </dict>
1413
1413
  <key>Resources/resources/host/bundle-info.json</key>
1414
1414
  <dict>
1415
1415
  <key>hash2</key>
1416
1416
  <data>
1417
- p08tJn1beuT56c3rkDnOz9ujLtqQbOAqfKo9kHna4v4=
1417
+ Ou8ibkdENJmqcDTj3Jm/xHtSLWGNJokoY8JpAsFqF/s=
1418
1418
  </data>
1419
1419
  </dict>
1420
1420
  <key>Resources/resources/host/centralu-package.json</key>
1421
1421
  <dict>
1422
1422
  <key>hash2</key>
1423
1423
  <data>
1424
- htMA/U8GC2GCYdQ4sW6wXDLnOIIknk73uPdFacpKJdE=
1424
+ L5oLvDVQkyHkhpA+DAXlVISOgSLSA/Tre9Zn1yz6KzE=
1425
1425
  </data>
1426
1426
  </dict>
1427
1427
  <key>Resources/resources/host/codex-orchestrator-bridge.mjs</key>
1428
1428
  <dict>
1429
1429
  <key>hash2</key>
1430
1430
  <data>
1431
- H70+BBQCu8rnMC2pSdoFRORk0A4YVTHj3wWnnynDtJM=
1431
+ caNDqli38NahWAZBFoFzv/eKUM/XbZKTJHWN1GP8ZP0=
1432
1432
  </data>
1433
1433
  </dict>
1434
1434
  <key>Resources/resources/host/main.mjs</key>
1435
1435
  <dict>
1436
1436
  <key>hash2</key>
1437
1437
  <data>
1438
- pvq46TcbT/BnBLrCvGBHZI1mlDdB/1U1ewJwBXQx/6I=
1438
+ mI6y3HPLx8XLiQK8eEqisyO6Lw5Q9mKurMONCLFC3xo=
1439
1439
  </data>
1440
1440
  </dict>
1441
1441
  <key>Resources/resources/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
@@ -1911,7 +1911,7 @@
1911
1911
  <dict>
1912
1912
  <key>hash2</key>
1913
1913
  <data>
1914
- New4g3YdpbDtGTsBcScEixBPE/i5amL0KBDnwJoahDQ=
1914
+ 3/8ZCxiHNu8XastZhrQSdaK6H/wlKPlxtgwp7T0B8IA=
1915
1915
  </data>
1916
1916
  </dict>
1917
1917
  <key>Resources/resources/host/remote-runtime.json</key>
@@ -1925,7 +1925,7 @@
1925
1925
  <dict>
1926
1926
  <key>hash2</key>
1927
1927
  <data>
1928
- v3PZDwC5UC9L0QDtDtj4Q/zpbLzS26hi2URr9awIfbg=
1928
+ Roigzgmt/kKTerCC1DjKgBSJ9tD+PiR6NICBvsCodb0=
1929
1929
  </data>
1930
1930
  </dict>
1931
1931
  <key>Resources/shell/Centralu.app/Contents/Info.plist</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centralu/darwin-arm64",
3
- "version": "0.1.0-beta.24",
3
+ "version": "0.1.0-beta.26",
4
4
  "description": "Centralu app bundle for macOS on Apple Silicon",
5
5
  "license": "MIT",
6
6
  "author": "ijun17",