@centralu/darwin-arm64 0.1.0-beta.37 → 0.1.0-beta.39
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/Centralu.app/Contents/Info.plist +2 -2
- package/Centralu.app/Contents/MacOS/centralu +0 -0
- package/Centralu.app/Contents/MacOS/centralu-keeper +0 -0
- package/Centralu.app/Contents/Resources/content/centralu-keeper +0 -0
- package/Centralu.app/Contents/Resources/content/content-manifest.json +8 -8
- package/Centralu.app/Contents/Resources/content/content-manifest.json.sig +1 -1
- package/Centralu.app/Contents/Resources/content/host/bundle-info.json +2 -2
- package/Centralu.app/Contents/Resources/content/host/centralu-package.json +5 -5
- package/Centralu.app/Contents/Resources/content/host/main.mjs +516 -245
- package/Centralu.app/Contents/Resources/content/host/remote-install.mjs +16 -4
- package/Centralu.app/Contents/Resources/resources/host/bundle-info.json +2 -2
- package/Centralu.app/Contents/Resources/resources/host/centralu-package.json +5 -5
- package/Centralu.app/Contents/Resources/resources/host/main.mjs +516 -245
- package/Centralu.app/Contents/Resources/resources/host/remote-install.mjs +16 -4
- package/Centralu.app/Contents/_CodeSignature/CodeResources +24 -24
- package/package.json +1 -1
|
@@ -462,12 +462,24 @@ function atLeast(a, b) {
|
|
|
462
462
|
/** A release a dev build can be cut from: a prerelease, since `<base>.local.N` is SemVer only on one (`isLocalBuildVersion`) */
|
|
463
463
|
const DEV_BASE = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*$/
|
|
464
464
|
/**
|
|
465
|
-
* The placeholder a working copy's version files carry
|
|
466
|
-
* (#1501).
|
|
467
|
-
* carrying this from before the switch lands.
|
|
465
|
+
* The placeholder a working copy's version files carry since its release version is stamped from the tag at build time
|
|
466
|
+
* (#1501). Never a dev build's base: `0.0.0-dev.local.N` would be older than every release.
|
|
468
467
|
*/
|
|
469
468
|
const PLACEHOLDER = /^0\.0\.0-dev(?:\.|$)/
|
|
470
469
|
|
|
470
|
+
/**
|
|
471
|
+
* The release a dev build of the working copy is cut from, as `scripts/app-version.mjs` resolves it for a local build
|
|
472
|
+
* (#1501): the newest release tag reachable from HEAD there. A commit from before the switch, in a clone without tags,
|
|
473
|
+
* still carries its version in the shim's manifest, which is taken then. An empty string when neither says.
|
|
474
|
+
*/
|
|
475
|
+
function devBase(repo, shim) {
|
|
476
|
+
const r = spawnSync('git', ['-C', repo, 'describe', '--tags', '--abbrev=0', '--match', 'v[0-9]*'], { cwd: repo, encoding: 'utf8', windowsHide: true })
|
|
477
|
+
const tag = r.status === 0 ? String(r.stdout).trim().replace(/^v/, '') : ''
|
|
478
|
+
if (tag) return tag
|
|
479
|
+
const own = String(shim.version ?? '')
|
|
480
|
+
return PLACEHOLDER.test(own) ? '' : own
|
|
481
|
+
}
|
|
482
|
+
|
|
471
483
|
/** git in the working copy, by name on PATH as the person runs it there; what it printed, or a refusal */
|
|
472
484
|
function git(repo, args) {
|
|
473
485
|
const r = spawnSync('git', ['-C', repo, ...args], { cwd: repo, encoding: 'utf8', windowsHide: true, maxBuffer: 16 * 1024 * 1024 })
|
|
@@ -514,7 +526,7 @@ export function devBuild(p, { dataDir = process.env.CC_DATA_DIR || join(homedir(
|
|
|
514
526
|
const changes = git(repo, ['status', '--porcelain']).split('\n').filter((line) => line.trim()).length
|
|
515
527
|
if (changes > 0 && !p.allowDirty) throw new Refusal('dev_dirty', String(changes))
|
|
516
528
|
const shim = JSON.parse(readFileSync(join(repo, 'packaging', 'npm', 'centralu', 'package.json'), 'utf8'))
|
|
517
|
-
const base =
|
|
529
|
+
const base = devBase(repo, shim)
|
|
518
530
|
if (!DEV_BASE.test(base) || base.includes('.local.') || PLACEHOLDER.test(base)) throw new Refusal('dev_base', base)
|
|
519
531
|
const protocol = Number(/export const PROTOCOL_VERSION = (\d+)/.exec(readFileSync(join(repo, 'packages', 'protocol', 'src', 'envelope.ts'), 'utf8'))?.[1])
|
|
520
532
|
if (protocol !== p.protocol) throw new Refusal('dev_protocol', `${protocol} ${p.protocol}`)
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/content/centralu-keeper</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
YBMbXXFRXiHEwPBPNwVLEbWS82I=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Resources/content/content-manifest.json</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
F3Rnmz9hfVv6owufedi2l7JM7J0=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Resources/content/content-manifest.json.sig</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
o6y+hcTzlp00fY2oLqqRkFtyT4c=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Resources/content/host/app-template/AGENTS.md</key>
|
|
20
20
|
<data>
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
</data>
|
|
59
59
|
<key>Resources/content/host/bundle-info.json</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
xmXfT+767+T+9gwZS6Q5gburyk4=
|
|
62
62
|
</data>
|
|
63
63
|
<key>Resources/content/host/centralu-package.json</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
d0eUs7U8jGp/VlCe0pj2LD1kM/o=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Resources/content/host/codex-orchestrator-bridge.mjs</key>
|
|
68
68
|
<data>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
</data>
|
|
71
71
|
<key>Resources/content/host/main.mjs</key>
|
|
72
72
|
<data>
|
|
73
|
-
|
|
73
|
+
cwnx2QphXmhSSxhZ2nxp7BpVzWE=
|
|
74
74
|
</data>
|
|
75
75
|
<key>Resources/content/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
|
|
76
76
|
<data>
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
</data>
|
|
347
347
|
<key>Resources/content/host/remote-install.mjs</key>
|
|
348
348
|
<data>
|
|
349
|
-
|
|
349
|
+
hS62hLWwdbobce23nhWYm+awuwQ=
|
|
350
350
|
</data>
|
|
351
351
|
<key>Resources/content/host/remote-runtime.json</key>
|
|
352
352
|
<data>
|
|
@@ -402,11 +402,11 @@
|
|
|
402
402
|
</data>
|
|
403
403
|
<key>Resources/resources/host/bundle-info.json</key>
|
|
404
404
|
<data>
|
|
405
|
-
|
|
405
|
+
xmXfT+767+T+9gwZS6Q5gburyk4=
|
|
406
406
|
</data>
|
|
407
407
|
<key>Resources/resources/host/centralu-package.json</key>
|
|
408
408
|
<data>
|
|
409
|
-
|
|
409
|
+
d0eUs7U8jGp/VlCe0pj2LD1kM/o=
|
|
410
410
|
</data>
|
|
411
411
|
<key>Resources/resources/host/codex-orchestrator-bridge.mjs</key>
|
|
412
412
|
<data>
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
</data>
|
|
415
415
|
<key>Resources/resources/host/main.mjs</key>
|
|
416
416
|
<data>
|
|
417
|
-
|
|
417
|
+
cwnx2QphXmhSSxhZ2nxp7BpVzWE=
|
|
418
418
|
</data>
|
|
419
419
|
<key>Resources/resources/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
|
|
420
420
|
<data>
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
</data>
|
|
691
691
|
<key>Resources/resources/host/remote-install.mjs</key>
|
|
692
692
|
<data>
|
|
693
|
-
|
|
693
|
+
hS62hLWwdbobce23nhWYm+awuwQ=
|
|
694
694
|
</data>
|
|
695
695
|
<key>Resources/resources/host/remote-runtime.json</key>
|
|
696
696
|
<data>
|
|
@@ -727,30 +727,30 @@
|
|
|
727
727
|
<dict>
|
|
728
728
|
<key>cdhash</key>
|
|
729
729
|
<data>
|
|
730
|
-
|
|
730
|
+
wh43/YOl6/mLWDTF5KFVcW/J0BU=
|
|
731
731
|
</data>
|
|
732
732
|
<key>requirement</key>
|
|
733
|
-
<string>cdhash H"
|
|
733
|
+
<string>cdhash H"c21e37fd83a5ebf98b5834c5e4a155716fc9d015"</string>
|
|
734
734
|
</dict>
|
|
735
735
|
<key>Resources/content/centralu-keeper</key>
|
|
736
736
|
<dict>
|
|
737
737
|
<key>hash2</key>
|
|
738
738
|
<data>
|
|
739
|
-
|
|
739
|
+
fIHDe4Q7qSjueEO3x+paVFNZVb7EM1g/bazA1JzZB8I=
|
|
740
740
|
</data>
|
|
741
741
|
</dict>
|
|
742
742
|
<key>Resources/content/content-manifest.json</key>
|
|
743
743
|
<dict>
|
|
744
744
|
<key>hash2</key>
|
|
745
745
|
<data>
|
|
746
|
-
|
|
746
|
+
pIfN49fduRiIK0z1eVygUblYtRDM5lPLGy83CWOikUU=
|
|
747
747
|
</data>
|
|
748
748
|
</dict>
|
|
749
749
|
<key>Resources/content/content-manifest.json.sig</key>
|
|
750
750
|
<dict>
|
|
751
751
|
<key>hash2</key>
|
|
752
752
|
<data>
|
|
753
|
-
|
|
753
|
+
oKmZUcxX5Cym+qzOJRJX2F6Xudwnx044OXsu3EGdsiM=
|
|
754
754
|
</data>
|
|
755
755
|
</dict>
|
|
756
756
|
<key>Resources/content/host/app-template/AGENTS.md</key>
|
|
@@ -827,14 +827,14 @@
|
|
|
827
827
|
<dict>
|
|
828
828
|
<key>hash2</key>
|
|
829
829
|
<data>
|
|
830
|
-
|
|
830
|
+
IoFioU0OUm8j5Qtc2+/rRB9yVA4B3Ij1QDRa8QogQRY=
|
|
831
831
|
</data>
|
|
832
832
|
</dict>
|
|
833
833
|
<key>Resources/content/host/centralu-package.json</key>
|
|
834
834
|
<dict>
|
|
835
835
|
<key>hash2</key>
|
|
836
836
|
<data>
|
|
837
|
-
|
|
837
|
+
erUZwkev8t4bH/pvZxYy1I+Sh6zqMw6UKuqv40cTA1k=
|
|
838
838
|
</data>
|
|
839
839
|
</dict>
|
|
840
840
|
<key>Resources/content/host/codex-orchestrator-bridge.mjs</key>
|
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
<dict>
|
|
849
849
|
<key>hash2</key>
|
|
850
850
|
<data>
|
|
851
|
-
|
|
851
|
+
eKSl8jpVkAAX01ds9xd+Qw7m6lvXGL5d856iE8YriCc=
|
|
852
852
|
</data>
|
|
853
853
|
</dict>
|
|
854
854
|
<key>Resources/content/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
|
|
@@ -1331,7 +1331,7 @@
|
|
|
1331
1331
|
<dict>
|
|
1332
1332
|
<key>hash2</key>
|
|
1333
1333
|
<data>
|
|
1334
|
-
|
|
1334
|
+
+cOW43/b2ePsGOdLqIxrUqGc2U8zf2VtPA23jl8f7uE=
|
|
1335
1335
|
</data>
|
|
1336
1336
|
</dict>
|
|
1337
1337
|
<key>Resources/content/host/remote-runtime.json</key>
|
|
@@ -1429,14 +1429,14 @@
|
|
|
1429
1429
|
<dict>
|
|
1430
1430
|
<key>hash2</key>
|
|
1431
1431
|
<data>
|
|
1432
|
-
|
|
1432
|
+
IoFioU0OUm8j5Qtc2+/rRB9yVA4B3Ij1QDRa8QogQRY=
|
|
1433
1433
|
</data>
|
|
1434
1434
|
</dict>
|
|
1435
1435
|
<key>Resources/resources/host/centralu-package.json</key>
|
|
1436
1436
|
<dict>
|
|
1437
1437
|
<key>hash2</key>
|
|
1438
1438
|
<data>
|
|
1439
|
-
|
|
1439
|
+
erUZwkev8t4bH/pvZxYy1I+Sh6zqMw6UKuqv40cTA1k=
|
|
1440
1440
|
</data>
|
|
1441
1441
|
</dict>
|
|
1442
1442
|
<key>Resources/resources/host/codex-orchestrator-bridge.mjs</key>
|
|
@@ -1450,7 +1450,7 @@
|
|
|
1450
1450
|
<dict>
|
|
1451
1451
|
<key>hash2</key>
|
|
1452
1452
|
<data>
|
|
1453
|
-
|
|
1453
|
+
eKSl8jpVkAAX01ds9xd+Qw7m6lvXGL5d856iE8YriCc=
|
|
1454
1454
|
</data>
|
|
1455
1455
|
</dict>
|
|
1456
1456
|
<key>Resources/resources/host/node_modules/better-sqlite3/build/Release/better_sqlite3.node</key>
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
<dict>
|
|
1934
1934
|
<key>hash2</key>
|
|
1935
1935
|
<data>
|
|
1936
|
-
|
|
1936
|
+
+cOW43/b2ePsGOdLqIxrUqGc2U8zf2VtPA23jl8f7uE=
|
|
1937
1937
|
</data>
|
|
1938
1938
|
</dict>
|
|
1939
1939
|
<key>Resources/resources/host/remote-runtime.json</key>
|