@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.
- 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 +15 -15
- package/Centralu.app/Contents/Resources/content/content-manifest.json.sig +1 -1
- package/Centralu.app/Contents/Resources/content/host/app-template/ui/index.html +8 -8
- package/Centralu.app/Contents/Resources/content/host/bundle-info.json +3 -2
- package/Centralu.app/Contents/Resources/content/host/centralu-package.json +5 -5
- package/Centralu.app/Contents/Resources/content/host/codex-orchestrator-bridge.mjs +1 -0
- package/Centralu.app/Contents/Resources/content/host/main.mjs +33664 -29412
- package/Centralu.app/Contents/Resources/content/host/remote-install.mjs +10 -4
- package/Centralu.app/Contents/Resources/content/host/schema.sql +1 -1
- package/Centralu.app/Contents/Resources/resources/host/app-template/ui/index.html +8 -8
- package/Centralu.app/Contents/Resources/resources/host/bundle-info.json +3 -2
- package/Centralu.app/Contents/Resources/resources/host/centralu-package.json +5 -5
- package/Centralu.app/Contents/Resources/resources/host/codex-orchestrator-bridge.mjs +1 -0
- package/Centralu.app/Contents/Resources/resources/host/main.mjs +33664 -29412
- package/Centralu.app/Contents/Resources/resources/host/remote-install.mjs +10 -4
- package/Centralu.app/Contents/Resources/resources/host/schema.sql +1 -1
- package/Centralu.app/Contents/_CodeSignature/CodeResources +36 -36
- 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
|
-
/**
|
|
180
|
-
|
|
181
|
-
|
|
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
|
|
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
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
* its own. Spacing (margins, padding, gaps) has no theme variable and stays literal.
|
|
17
17
|
*/
|
|
18
18
|
:root {
|
|
19
|
-
--bg: var(--color-background-secondary, #
|
|
20
|
-
--bg-hover: var(--color-background-tertiary, #
|
|
21
|
-
--ink: var(--color-text-primary, #
|
|
22
|
-
--danger: var(--color-text-danger, #
|
|
23
|
-
--edge: var(--color-border-secondary, #
|
|
24
|
-
--ring: var(--color-ring-primary, #
|
|
19
|
+
--bg: var(--color-background-secondary, #242424);
|
|
20
|
+
--bg-hover: var(--color-background-tertiary, #424242);
|
|
21
|
+
--ink: var(--color-text-primary, #ededed);
|
|
22
|
+
--danger: var(--color-text-danger, #ff9b91);
|
|
23
|
+
--edge: var(--color-border-secondary, #4d4d4d);
|
|
24
|
+
--ring: var(--color-ring-primary, #b4b4b4);
|
|
25
25
|
--sans: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif);
|
|
26
26
|
--text: var(--font-text-md-size, 13px);
|
|
27
27
|
--leading: var(--font-text-md-line-height, 1.65);
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
--sb-inset: var(--centralu-scrollbar-inset, 3px);
|
|
35
35
|
--sb-radius: var(--centralu-scrollbar-radius, 999px);
|
|
36
36
|
--sb-track: var(--centralu-scrollbar-track, transparent);
|
|
37
|
-
--sb-thumb: var(--centralu-scrollbar-thumb, #
|
|
38
|
-
--sb-thumb-hover: var(--centralu-scrollbar-thumb-hover, #
|
|
37
|
+
--sb-thumb: var(--centralu-scrollbar-thumb, #3c3c3c);
|
|
38
|
+
--sb-thumb-hover: var(--centralu-scrollbar-thumb-hover, #4d4d4d);
|
|
39
39
|
}
|
|
40
40
|
body {
|
|
41
41
|
margin: 16px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "centralu",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.26",
|
|
4
4
|
"description": "Run, watch and steer several Claude Code and Codex CLI sessions from one window",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ijun17",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"win32"
|
|
39
39
|
],
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@centralu/darwin-arm64": "0.1.0-beta.
|
|
42
|
-
"@centralu/linux-arm64": "0.1.0-beta.
|
|
43
|
-
"@centralu/linux-x64": "0.1.0-beta.
|
|
44
|
-
"@centralu/win32-x64": "0.1.0-beta.
|
|
41
|
+
"@centralu/darwin-arm64": "0.1.0-beta.26",
|
|
42
|
+
"@centralu/linux-arm64": "0.1.0-beta.26",
|
|
43
|
+
"@centralu/linux-x64": "0.1.0-beta.26",
|
|
44
|
+
"@centralu/win32-x64": "0.1.0-beta.26"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -3840,6 +3840,7 @@ if (!URL_ || !TOKEN || !SESSION_ID) {
|
|
|
3840
3840
|
log("CC_HOST_URL, CC_BRIDGE_TOKEN, and CC_SESSION_ID are required");
|
|
3841
3841
|
process.exit(1);
|
|
3842
3842
|
}
|
|
3843
|
+
process.stdin.setEncoding("utf8");
|
|
3843
3844
|
var buf = "";
|
|
3844
3845
|
process.stdin.on("data", (chunk) => {
|
|
3845
3846
|
buf += chunk;
|