@holyglory/codex 0.154.0-multi.1 → 0.156.1-multi.1

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 +48 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -161,6 +161,19 @@ codex account auto off
161
161
  codex account priority set-all 1000
162
162
  ```
163
163
 
164
+ Apply one banked reset to a specified profile with `codex account reset work`.
165
+ The command applies immediately and selects the available credit that expires soonest;
166
+ non-expiring credits are used last. Use `--credit-id CREDIT` to choose one explicitly,
167
+ or `--json` for the outcome, windows reset, request identity and refreshed usage.
168
+
169
+ If the response is uncertain, retry the same operation with
170
+ `codex account reset work --credit-id CREDIT --request-id REQUEST`, using the
171
+ identifiers printed by the original attempt. The replay reaches the service even
172
+ when that credit has already been consumed; it does not select another credit.
173
+ Confirmed resets and explicit no-op outcomes return zero. No credit, unsupported
174
+ authentication, request failures and uncertain outcomes return nonzero. A refresh
175
+ failure is reported separately and does not undo a confirmed reset.
176
+
164
177
  ### Inspect and maintain accounts
165
178
 
166
179
  | Command | Purpose |
@@ -209,6 +222,41 @@ Enter these in the interactive Codex prompt, not your shell:
209
222
 
210
223
  You can also ask the agent to list local account aliases, identify which profile handled the current turn, show available limits, or change priorities. The built-in `account_management` tool supports these bounded operations; it does not sign in, activate, rename, or remove profiles and does not reveal credentials, email, or service/workspace identifiers. Use the explicit account commands for those management actions.
211
224
 
225
+ ## Diagnose network failures
226
+
227
+ Codex Multi keeps model HTTP and WebSocket diagnostics in a separate private
228
+ `network_diagnostics_1.sqlite` database beside its other SQLite state files
229
+ (normally in `~/.codex`). Records have no automatic expiry or per-task row cap;
230
+ ordinary debug-log pruning and runtime restarts do not remove them.
231
+
232
+ ```sh
233
+ codex debug network-errors --thread-id TASK_ID --limit 20
234
+ codex debug network-errors --thread-id TASK_ID --before-id NEXT_BEFORE_ID
235
+ codex debug network-errors --thread-id TASK_ID --include-context
236
+ ```
237
+
238
+ The JSON report includes UTC Unix timestamps in milliseconds, task and turn IDs,
239
+ available request/response IDs, HTTP statuses, provider error codes, WebSocket
240
+ close codes and redacted reasons, retry schedules, fallback, and completion
241
+ markers. `--since-ms` limits the time range; `nextBeforeId` continues an older page.
242
+ The default view shows incidents; `--include-context` adds successful request and
243
+ completion records around them. Incident queries use dedicated indexes, so a long
244
+ successful run does not bury earlier failures or require scanning all its activity.
245
+
246
+ Large WebSocket requests upload complete context items in ordered batches before
247
+ generating one response. The client targets 4 MiB per request; this is a batching
248
+ choice, not the server's documented limit. If an item cannot fit intact or the
249
+ server rejects preparation, Codex uses HTTP with the complete request. No images
250
+ or conversation items are discarded. The ledger records request byte counts and
251
+ batch preparation alongside recovery events.
252
+
253
+ Request/response bodies, prompts, tool output, credentials, and arbitrary headers
254
+ are excluded. Individual error/reason fields retain up to 8,192 characters, with
255
+ an explicit truncation marker; metadata fields retain up to 512. Disk write
256
+ failures are reported and retried without stopping model work. Queue overflow is
257
+ reported immediately and counted in the next retained record. The ledger grows
258
+ with network activity and is not uploaded automatically.
259
+
212
260
  ## Inspect local usage
213
261
 
214
262
  Local accounting answers **what this fork observed on this machine**, not how much quota remains on OpenAI's service. Use `codex account limits` for service limits. The local collector does not reconstruct a complete usage history from before it was installed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holyglory/codex",
3
- "version": "0.154.0-multi.1",
3
+ "version": "0.156.1-multi.1",
4
4
  "description": "Unofficial multi-account fork of the OpenAI Codex CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "packageManager": "pnpm@10.34.5+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e",
31
31
  "optionalDependencies": {
32
- "@holyglory/codex-linux-x64": "npm:@holyglory/codex@0.154.0-multi.1-linux-x64",
33
- "@holyglory/codex-linux-arm64": "npm:@holyglory/codex@0.154.0-multi.1-linux-arm64",
34
- "@holyglory/codex-darwin-x64": "npm:@holyglory/codex@0.154.0-multi.1-darwin-x64",
35
- "@holyglory/codex-darwin-arm64": "npm:@holyglory/codex@0.154.0-multi.1-darwin-arm64",
36
- "@holyglory/codex-win32-x64": "npm:@holyglory/codex@0.154.0-multi.1-win32-x64",
37
- "@holyglory/codex-win32-arm64": "npm:@holyglory/codex@0.154.0-multi.1-win32-arm64"
32
+ "@holyglory/codex-linux-x64": "npm:@holyglory/codex@0.156.1-multi.1-linux-x64",
33
+ "@holyglory/codex-linux-arm64": "npm:@holyglory/codex@0.156.1-multi.1-linux-arm64",
34
+ "@holyglory/codex-darwin-x64": "npm:@holyglory/codex@0.156.1-multi.1-darwin-x64",
35
+ "@holyglory/codex-darwin-arm64": "npm:@holyglory/codex@0.156.1-multi.1-darwin-arm64",
36
+ "@holyglory/codex-win32-x64": "npm:@holyglory/codex@0.156.1-multi.1-win32-x64",
37
+ "@holyglory/codex-win32-arm64": "npm:@holyglory/codex@0.156.1-multi.1-win32-arm64"
38
38
  }
39
39
  }