@fabr-client/core 1.0.7-beta.0 → 1.0.8

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 (2) hide show
  1. package/README.md +82 -42
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -36,10 +36,11 @@ cannot be resolved, prints the final absolute path and size, and does not upload
36
36
  the bundle to a server.
37
37
 
38
38
  The main package is a thin launcher. It installs the matching native payload
39
- through platform-specific optional dependencies, so end users only need the one
40
- global install command above. Each platform payload contains `bin/fabr-client`
41
- plus the managed Codex Runtime executable at `bin/runtime/codex` (`.exe` on
42
- Windows).
39
+ through platform-specific optional dependencies, so end users only need the one
40
+ global install command above. Each platform payload contains `bin/fabr-client`
41
+ plus the managed Codex Runtime payload under `bin/runtime/`. The official Codex
42
+ entrypoint is `bin/runtime/bin/codex` (`.exe` on Windows), and helper
43
+ binaries/resources from the official platform release are bundled with it.
43
44
 
44
45
  ## Platform Support
45
46
 
@@ -67,49 +68,88 @@ Use `latest` only for stable production versions such as `0.1.19`. Use
67
68
  prerelease versions for test channels, for example `0.1.19-beta.0` or
68
69
  `0.1.19-rc.0`.
69
70
 
70
- For maintainers, build the Windows payload with PowerShell:
71
-
72
- ```powershell
73
- pwsh ./scripts/package-fabr-client.ps1 `
74
- -Profile release `
75
- -PackNpm `
76
- -CodexRuntimeMode build `
77
- -CodexRuntimeRepo C:\path\to\codex-runtime
78
- ```
79
-
80
- On macOS, build both `darwin-x64` and `darwin-arm64` payloads:
71
+ For maintainers, build the Windows payload with PowerShell:
72
+
73
+ ```powershell
74
+ pwsh ./scripts/package-fabr-client.ps1 `
75
+ -Profile release `
76
+ -PackNpm `
77
+ -CodexRuntimeMode official `
78
+ -CodexRuntimeVersion 0.152.0
79
+ ```
80
+
81
+ On macOS, build both `darwin-x64` and `darwin-arm64` payloads:
81
82
 
82
83
  ```bash
83
- ./scripts/package-macos-all.sh \
84
- --profile release \
85
- --pack-npm \
86
- --codex-runtime-mode build \
87
- --codex-runtime-repo /path/to/codex-runtime
88
- ```
89
-
90
- On Linux ARM64, build the `linux-arm64` payload on an ARM64 Linux build host:
84
+ ./scripts/package-macos-all.sh \
85
+ --profile release \
86
+ --pack-npm \
87
+ --codex-runtime-mode official \
88
+ --codex-runtime-version 0.152.0
89
+ ```
90
+
91
+ On Linux ARM64, build the `linux-arm64` payload on an ARM64 Linux build host:
91
92
 
92
93
  ```bash
93
94
  ./scripts/package-fabr-client.sh \
94
- --profile release \
95
- --target aarch64-unknown-linux-gnu \
96
- --pack-npm \
97
- --codex-runtime-mode build \
98
- --codex-runtime-repo /path/to/codex-runtime
99
- ```
100
-
101
- On Linux x64, build the `linux-x64` payload on an x86_64 Linux build host:
102
-
103
- ```bash
104
- ./scripts/package-fabr-client.sh \
105
- --profile release \
106
- --target x86_64-unknown-linux-gnu \
107
- --pack-npm \
108
- --codex-runtime-mode staged \
109
- --codex-runtime-bin /path/to/codex-x86_64-linux-binary
110
- ```
111
-
112
- ## Release Artifact Manifest
95
+ --profile release \
96
+ --target aarch64-unknown-linux-gnu \
97
+ --pack-npm \
98
+ --codex-runtime-mode official \
99
+ --codex-runtime-version 0.152.0
100
+ ```
101
+
102
+ On Linux x64, build the `linux-x64` payload on an x86_64 Linux build host:
103
+
104
+ ```bash
105
+ ./scripts/package-linux-x64.sh \
106
+ --profile release \
107
+ --pack-npm \
108
+ --codex-runtime-mode official \
109
+ --codex-runtime-version 0.152.0
110
+ ```
111
+
112
+ Offline packaging can use a local official platform archive:
113
+
114
+ ```bash
115
+ ./scripts/package-linux-x64.sh \
116
+ --profile release \
117
+ --pack-npm \
118
+ --codex-runtime-mode official \
119
+ --codex-runtime-version 0.152.0 \
120
+ --codex-runtime-release-file-linux-x64 /path/to/codex-0.152.0-linux-x64.tgz
121
+ ```
122
+
123
+ ```bash
124
+ ./scripts/package-fabr-client.sh \
125
+ --profile release \
126
+ --target aarch64-unknown-linux-gnu \
127
+ --pack-npm \
128
+ --codex-runtime-mode official \
129
+ --codex-runtime-version 0.152.0 \
130
+ --codex-runtime-release-file /path/to/codex-0.152.0-linux-arm64.tgz
131
+ ```
132
+
133
+ macOS offline packaging requires separate release archives per architecture:
134
+
135
+ ```bash
136
+ ./scripts/package-macos-all.sh \
137
+ --profile release \
138
+ --pack-npm \
139
+ --codex-runtime-mode official \
140
+ --codex-runtime-version 0.152.0 \
141
+ --codex-runtime-release-file-darwin-x64 /path/to/codex-0.152.0-darwin-x64.tgz \
142
+ --codex-runtime-release-file-darwin-arm64 /path/to/codex-0.152.0-darwin-arm64.tgz
143
+ ```
144
+
145
+ For local debugging, maintainers can still use `staged` with a raw executable
146
+ or `build` with a local `codex-runtime` checkout:
147
+
148
+ ```powershell
149
+ pwsh ./scripts/package-fabr-client.ps1 -Profile release -PackNpm -CodexRuntimeMode staged -CodexRuntimeBin C:\path\to\codex.exe
150
+ ```
151
+
152
+ ## Release Artifact Manifest
113
153
 
114
154
  Desktop installers consume versioned release artifacts and checksums instead of
115
155
  importing source files from this repository. Place finalized payload archives in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabr-client/core",
3
- "version": "1.0.7-beta.0",
3
+ "version": "1.0.8",
4
4
  "description": "Cross-platform launcher for Fabr Client",
5
5
  "license": "MIT",
6
6
  "homepage": "https://pivot.enclaws.com",
@@ -19,11 +19,11 @@
19
19
  "smoke": "node bin/fabr-client.js --help"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@fabr-client/core-win32-x64": "1.0.7-beta.0",
23
- "@fabr-client/core-darwin-x64": "1.0.7-beta.0",
24
- "@fabr-client/core-darwin-arm64": "1.0.7-beta.0",
25
- "@fabr-client/core-linux-arm64": "1.0.7-beta.0",
26
- "@fabr-client/core-linux-x64": "1.0.7-beta.0"
22
+ "@fabr-client/core-win32-x64": "1.0.8",
23
+ "@fabr-client/core-darwin-x64": "1.0.8",
24
+ "@fabr-client/core-darwin-arm64": "1.0.8",
25
+ "@fabr-client/core-linux-arm64": "1.0.8",
26
+ "@fabr-client/core-linux-x64": "1.0.8"
27
27
  },
28
28
  "files": [
29
29
  "bin/",