cdx-manager 0.24.0 → 0.24.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.
- package/README.md +1 -1
- package/VERSION +1 -1
- package/changelogs/CHANGELOGS_0_24_1.md +7 -0
- package/checksums/release-archives.json +11 -0
- package/docs/agent-notes.md +13 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/src/provider_runtime.py +6 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<br clear="left"/>
|
|
6
6
|
|
|
7
|
-
[](LICENSE) ](LICENSE)  
|
|
8
8
|
|
|
9
9
|
**The right AI coding account, when you need it.** CDX Manager keeps your Codex and Claude accounts in separate profiles, shows which ones have quota, and helps you pick the next usable session from your terminal.
|
|
10
10
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.24.
|
|
1
|
+
0.24.1
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# CDX Manager 0.24.1
|
|
2
|
+
|
|
3
|
+
This patch makes resumed sessions report their state like launched ones.
|
|
4
|
+
|
|
5
|
+
## Sessions
|
|
6
|
+
|
|
7
|
+
- `cdx resume <name>` (and `cdx <name> --resume`) now gives the provider the same agent and notify environment as a launch: a resumed Claude session sets `CDX_SESSION_NAME` for its hooks and appears in `cdx agents`, and it also gets the shared tool cache and scrub-env settings.
|
|
@@ -573,6 +573,17 @@
|
|
|
573
573
|
"x86_64-pc-windows-msvc": "bf35f8d25bbc34730533807df0d9c0e3f7ea2a271f268856759ae87bc9e116fe",
|
|
574
574
|
"x86_64-unknown-linux-musl": "60400fd7d10b0563503afc5bd741f7fefff4276d077fc6e4927f087390d46ccd"
|
|
575
575
|
}
|
|
576
|
+
},
|
|
577
|
+
"v0.24.0": {
|
|
578
|
+
"github_tarball_sha256": "6206df477d34ad2360144bbf57d3aedf7bf88891502cf6dcee96c77e131e4a97",
|
|
579
|
+
"github_zip_sha256": "db4be4051a18bf0f857cbc31615972eff592f60a38c03c161707c02268302e1f",
|
|
580
|
+
"tray_assets": {
|
|
581
|
+
"aarch64-apple-darwin": "208a7c36641d17b221250b0791e956dad769477d694dd68a153f3046460d562a",
|
|
582
|
+
"aarch64-unknown-linux-musl": "704ccea4fc8426a8f84107e44de83d00344b22c5665a4f04a73c6d7f0ed2accd",
|
|
583
|
+
"x86_64-apple-darwin": "8745cc6572dbdfba68ca181fb631ced91d9bb1bc1cee9bb0e67026c88b7dc5cc",
|
|
584
|
+
"x86_64-pc-windows-msvc": "90772ff35a25db86ebfbe4187c39f0705001a9f10b6a7fe0c04a431b13ccbcb8",
|
|
585
|
+
"x86_64-unknown-linux-musl": "f7be523211fc4dba33724c2759f267f35669b8aff14136fc7ec97d398ebb1f87"
|
|
586
|
+
}
|
|
576
587
|
}
|
|
577
588
|
}
|
|
578
589
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Agent notes
|
|
2
|
+
|
|
3
|
+
Pitfalls and operator rules for any agent working in this repo (tracked here because AGENTS.md is local and ignored).
|
|
4
|
+
|
|
5
|
+
## Operator machine and test hosts (moved here from agent memory, 2026-10-28)
|
|
6
|
+
- Never run `pip` against cdx-manager on the operator's machines (install, update, uninstall, even a throwaway venv to test a published artifact): the operator manages the install. The README's `pip install -e` is for a dev checkout only. To verify a release, ask how it should be checked.
|
|
7
|
+
- Cross-platform checks run on Tower (`aagos@kdesktop`, Windows) and its WSL guest (`wsl.exe -d Ubuntu -u aagos -- ...`); an agent runs the scriptable part itself and only asks the operator to look at what appears on screen (notifications, windows). On Windows Tower the full pytest stops around 21% in `test_commands_runs_py` (`cdx run --detach` tests spawning real children): an environment quirk, not a regression; run single files or `-k` subsets synchronously and read GitHub CI for whole-suite Windows evidence. In cmd.exe `&` is a separator, Python buffers redirected stdout (use `-u`), and a killed SSH session leaves a truncated output that reads like a hang.
|
|
8
|
+
- In Tower's WSL the `codex` on PATH was the Windows npm install through interop (Windows-only native package); a Linux build lives at `~/.npm-global/bin/codex` (`npm i -g --prefix ~/.npm-global @openai/codex`): export that path first.
|
|
9
|
+
|
|
10
|
+
## Releases and Tower installs (moved here from Codex memory, 2026-10-28)
|
|
11
|
+
- A pushed `main` or a source-checkout deploy is not a release. Call a release ready only once the CI and CodeQL runs for the exact pushed SHA are green, the tag's assets and `release-archives.json` checksums are published, npm and PyPI both serve the version, and `logics-manager release validate <version>` passes. Delete a stale `dist/` before building: old artifacts make `twine check` pass on the wrong files.
|
|
12
|
+
- Python tests live in `test/` (not `tests/`).
|
|
13
|
+
- On Tower, `make install` can fail with `EACCES` on `/usr/local/lib/node_modules`: install the tagged release with the checksum-verified user-scoped `install.sh` instead. On a source-linked install, `cdx update --yes --version <tag>` only switches the checkout. Tower's daily `auto-update` job (`cdx update all --yes --json`) can finish without every provider converging: check the installed versions afterwards.
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
package/src/provider_runtime.py
CHANGED
|
@@ -907,7 +907,13 @@ def _build_resume_spec(session, cwd=None, env_override=None, capture_transcript=
|
|
|
907
907
|
cwd = cwd or os.getcwd()
|
|
908
908
|
env_override = env_override or {}
|
|
909
909
|
env = {**os.environ, **env_override}
|
|
910
|
+
for key, value in _shared_tool_cache_overrides(env).items():
|
|
911
|
+
env.setdefault(key, value)
|
|
910
912
|
_shared_rtk_history(env)
|
|
913
|
+
# Same as a launch: without CDX_SESSION_NAME the hooks of a resumed session
|
|
914
|
+
# cannot say whose agent state they record, so `cdx agents` never lists it.
|
|
915
|
+
env.update(launch_notify_env(session, notifications_enabled(session) or agent_state_enabled(session)))
|
|
916
|
+
env.update(_scrub_env(session))
|
|
911
917
|
capability = get_resume_capability(session, cwd=cwd)
|
|
912
918
|
if not capability["resumable"]:
|
|
913
919
|
raise CdxError(f"Provider {session.get('provider')} does not support native resume through cdx.")
|