fastws-cli 0.0.42__tar.gz → 0.0.43__tar.gz

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 (34) hide show
  1. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/PKG-INFO +33 -76
  2. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/README.md +23 -69
  3. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws/__init__.py +2 -1
  4. fastws_cli-0.0.43/fastws/cargo.py +194 -0
  5. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws/core.py +323 -347
  6. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws/news.py +3 -4
  7. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/PKG-INFO +33 -76
  8. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/SOURCES.txt +2 -10
  9. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/entry_points.txt +0 -1
  10. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/requires.txt +8 -7
  11. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/pyproject.toml +10 -7
  12. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_build.py +1 -120
  13. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_setup.py +1 -1
  14. fastws_cli-0.0.43/tests/test_status.py +109 -0
  15. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_sync.py +40 -12
  16. fastws_cli-0.0.42/fastws/_toml.py +0 -4
  17. fastws_cli-0.0.42/fastws/cargo.py +0 -449
  18. fastws_cli-0.0.42/fastws/integrate.py +0 -136
  19. fastws_cli-0.0.42/fastws/procs.py +0 -46
  20. fastws_cli-0.0.42/fastws/store.py +0 -169
  21. fastws_cli-0.0.42/fastws/timelock.py +0 -76
  22. fastws_cli-0.0.42/tests/test_integrate.py +0 -56
  23. fastws_cli-0.0.42/tests/test_procs.py +0 -42
  24. fastws_cli-0.0.42/tests/test_store.py +0 -33
  25. fastws_cli-0.0.42/tests/test_timelock.py +0 -22
  26. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/LICENSE +0 -0
  27. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws/build_backend.py +0 -0
  28. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws/releases.py +0 -0
  29. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/dependency_links.txt +0 -0
  30. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/fastws_cli.egg-info/top_level.txt +0 -0
  31. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/setup.cfg +0 -0
  32. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_build_backend.py +0 -0
  33. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_news.py +0 -0
  34. {fastws_cli-0.0.42 → fastws_cli-0.0.43}/tests/test_releases.py +0 -0
@@ -1,30 +1,33 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastws-cli
3
- Version: 0.0.42
3
+ Version: 0.0.43
4
4
  Summary: Fast workspace tools for multi-repo management
5
5
  Author: Jeremy Howard
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Homepage, https://github.com/AnswerDotAI/fastws
8
+ Project-URL: Documentation, https://AnswerDotAI.github.io/fastws/
8
9
  Classifier: Programming Language :: Python :: 3
9
10
  Classifier: Programming Language :: Python :: 3 :: Only
10
- Requires-Python: >=3.10
11
+ Requires-Python: >=3.11
11
12
  Description-Content-Type: text/markdown
12
13
  License-File: LICENSE
13
- Requires-Dist: fastcore>=2.2.33
14
- Requires-Dist: fastgit>=0.1.2
14
+ Requires-Dist: fastcore>=2.3.3
15
+ Requires-Dist: fastgit>=0.1.6
15
16
  Requires-Dist: ghapi>=2.0.6
16
17
  Requires-Dist: packaging
17
18
  Requires-Dist: pyyaml
18
- Requires-Dist: rich
19
+ Requires-Dist: tomlkit>=0.13
19
20
  Requires-Dist: maturin<2.0,>=1.13
20
- Requires-Dist: tomli; python_version < "3.11"
21
21
  Provides-Extra: dev
22
22
  Requires-Dist: fastship; extra == "dev"
23
- Requires-Dist: python-fastllm; extra == "dev"
24
23
  Requires-Dist: build; extra == "dev"
25
24
  Requires-Dist: twine; extra == "dev"
26
25
  Requires-Dist: pytest; extra == "dev"
27
26
  Requires-Dist: pytest-asyncio; extra == "dev"
27
+ Provides-Extra: news
28
+ Requires-Dist: aidialog; extra == "news"
29
+ Requires-Dist: python-fastllm; extra == "news"
30
+ Requires-Dist: rich; extra == "news"
28
31
  Dynamic: license-file
29
32
 
30
33
  # fastws
@@ -161,7 +164,7 @@ export SCCACHE_R2="https://<access_key_id>:<secret_access_key>@<account_id>.r2.c
161
164
  ws-setup
162
165
  ```
163
166
 
164
- `ws-setup` writes `[cache.multilevel]` (`disk` + `s3`), `[cache.disk]`, `[cache.s3]`, and the workspace root under `basedirs` into the platform `sccache` config (`~/Library/Application Support/Mozilla.sccache/config` on macOS, `~/.config/sccache/config` on Linux, or `SCCACHE_CONF`), preserving existing `basedirs` and unrelated sections. Credentials are written to an isolated `[r2-sccache]` profile in `~/.aws/credentials` (leaving `[default]` untouched), and `.cargo/rustc-lock` selects that profile for `sccache`. Append `?rw_mode=READ_ONLY` for read-only tokens, omit credentials for public read-only buckets, or add `/<prefix>` after `<bucket>` for a `key_prefix`.
167
+ `ws-setup` writes `[cache.multilevel]` (`disk` + `s3`), `[cache.disk]`, `[cache.s3]`, and the workspace root under `basedirs` into the workspace-local `.cargo/sccache.toml` (referenced via `SCCACHE_CONF` in `.cargo/rustc-wrapper`), preserving existing `basedirs` and unrelated sections. Credentials are written to an isolated `[r2-sccache]` profile in `~/.aws/credentials` (leaving `[default]` untouched), and `.cargo/rustc-wrapper` selects that profile for `sccache`. Append `?rw_mode=READ_ONLY` for read-only tokens, omit credentials for public read-only buckets, or add `/<prefix>` after `<bucket>` for a `key_prefix`.
165
168
 
166
169
  ### `ws-clone`
167
170
 
@@ -183,13 +186,18 @@ ws-pull
183
186
 
184
187
  ### `ws-status`
185
188
 
186
- Show uncommitted changes and unpushed commits:
189
+ Show uncommitted changes and unpushed commits across the workspace root and member repos:
187
190
 
188
191
  ```bash
189
192
  ws-status
190
193
  ws-status --branches
194
+ ws-status --summary
195
+ ws-status --dirs
196
+ ws-status --stat
191
197
  ```
192
198
 
199
+ `--summary` prints one line per dirty repo, sorted largest-first by total changed lines, including untracked files. `--dirs` groups each repo's tracked and untracked counts by top-level folder (`.` for root files). `--stat` lists per-file line counts under each repo header, with `-` for binary or `-diff` files.
200
+
193
201
  ### `ws-branches`
194
202
 
195
203
  Check if all repos are on the expected branch:
@@ -220,15 +228,16 @@ ws-build --project solveit # only this package and its transitive workspace dep
220
228
 
221
229
  ### `cargo develop`
222
230
 
223
- Build a mixed Rust/Python project's extension and opted-in binaries, keep them with its Python package as one build, and install that build in the editable source package and the venv:
231
+ Build a mixed Rust/Python project's extension and opted-in binaries and atomically install them into the editable source package and active venv:
224
232
 
225
233
  ```bash
226
234
  cargo develop
235
+ cargo develop --local # in-tree extension only (for isolated git worktrees)
227
236
  cargo develop --path /path/to/project
228
237
  cargo develop --profile quick
229
238
  ```
230
239
 
231
- Run from the project root, or give its directory with `--path`. The command reads `python-source`, `module-name`, `manifest-path`, `bindings` and features from `[tool.maturin]`. `[tool.fastws] dev-profile = "quick"` selects a project's default for both `cargo develop` and `fastws.cargo.run_tests`. Without that setting they use `release`. An explicit `--profile NAME` overrides the project default. Mixed projects must produce a `cdylib` and set `python-source`; `bindings = "bin"` projects build and install their binary targets directly into the active venv. Define the selected profile in `Cargo.toml` and keep incremental compilation enabled for the local crate.
240
+ Run from the project root, or give its directory with `--path`. The command reads `python-source`, `module-name`, `manifest-path`, `bindings` and features from `[tool.maturin]`. `[tool.fastws] dev-profile = "quick"` selects a project's default for `cargo develop` (otherwise `release`). An explicit `--profile NAME` overrides the project default. Mixed projects must produce a `cdylib` and set `python-source`; `bindings = "bin"` projects build and install their binary targets directly into the active venv. Pass `--local` in a Git worktree to install the compiled extension inside `<root>/<python-source>/` without modifying `.venv`.
232
241
 
233
242
  The workspace's `[tool.fastws] cargo = "/path/to/cargo"` optionally selects one explicit Cargo executable for fastws builds, checks, metadata and tests, including nextest's subordinate Cargo calls. A missing executable fails without falling back. With no selection, subprocess uses its normal PATH and working-directory rules. Upstream Cargo stays installed and usable; manifests, profiles, features and package selection are unchanged.
234
243
 
@@ -248,14 +257,6 @@ Set `native-binaries = true` under `[tool.fastws]` to build and install the bina
248
257
 
249
258
  Set `post-develop-module = "package.generator"` under `[tool.fastws]` to run a generator after installing the native extension and binaries, before copying wheel data. It runs with the current Python in a fresh process from the project root, including when Cargo reuses its build. A failure stops `cargo develop` or `ws-sync`. Use it for generated files that need the rebuilt extension's metadata.
250
259
 
251
- `cargo develop` keeps each build it installs in `~/.cache/fastws/builds/<project>/<id>/`, read-only. Files are copied first, then hashed, and hard-linked to blobs named by those captured bytes' sha256. The build id hashes these artifacts and the current digests of inputs listed by Cargo's dep-info. Input digests are observations at capture time, not proof of what the compiler read. The record's `started` gives the build's start time; `edited` flags inputs **possibly modified since build started**, by mtime, including inputs of a first build or newly discovered dependencies. Identical inputs and artifacts reuse their first capture's record.
252
-
253
- The installed extension and binaries are symbolic links through `<project>/installed`, which `cargo develop` points at the new build in one step. `fastws.store.builds(root)` gives the newest build records, with input changes since the preceding build, and `fastws.store.resolve(root, id)` resolves a build-id prefix. Each develop deletes builds that are neither installed, among the project's last 20, nor from the last 2 days, then old unlinked blobs.
254
-
255
- On Unix, cooperating `cargo develop` runs take a per-project lock through compilation, capture, installation, the post-develop generator and wheel data. Store readers and capture/install operations hold shared store access; collection takes it exclusively. Ordinary Cargo commands do not take the project lock: agents must not run competing raw Cargo builds against that project during develop. Windows installs copies and does not take these locks.
256
-
257
- On Unix, every rustc call holds a shared `flock` on `/tmp/aai-ws-timing.lock`, through the rustc wrapper that sync writes (see `ws-sync`). A speed test that takes that lock exclusively stays apart from participating builds and test runs. A timing also holds `/tmp/aai-ws-timing.gate` while it waits for the lock and holds it, and a shared hold passes that file first, so new rustc calls and test runs wait behind the timing. Both shared and exclusive acquisition fail after 5 minutes; work never proceeds unlocked. Python code takes the same lock with `fastws.timelock.timing_lock`: `with timing_lock(exclusive=True):` around a timing, and `with timing_lock():` around a test run. Shared-inside-shared in one thread reuses its hold; each thread otherwise takes its own hold. Any nesting involving exclusive raises `RuntimeError` immediately. An exclusive hold that has waited 30 seconds prints the processes that have the lock's file open. Windows builds and tests run without this timing coordination.
258
-
259
260
  Use `fastws.build_backend` as the build backend of a mixed Rust/Python project (with `fastws-cli>=0.0.29` alongside `maturin>=1.13,<2.0` in `[build-system].requires`) or a `bindings = "bin"` Rust CLI project (`fastws-cli>=0.0.39`). Inside a fastws workspace, `ws-sync` writes `[tool.uv.config-settings-package]` with `metadata-only = "1"` into the workspace `pyproject.toml`, so editable builds through `uv sync` install only Python metadata (and the source path when `python-source` is set) and leave Rust compilation to `cargo develop`, which installs the extension, binaries, and wheel data files. Outside the workspace, including `pip install -e .` in CI and standalone installs, editable builds receive no `metadata-only` setting, stage any `native-binaries`, and delegate to maturin so they compile normally.
260
261
 
261
262
  For distribution wheels containing the binaries, also set `[tool.maturin].data` to a generated wheel-data directory. With `native-binaries = true`, wheel builds through the backend replace its `scripts/` subdirectory with the current Python-free binaries, then delegate packaging to maturin. Explicit profile, target and feature arguments from maturin's build settings also apply to the binaries. Without `native-binaries`, wheel builds go straight to maturin, and `[tool.maturin].data` is optional.
@@ -269,65 +270,25 @@ maturin build --profile dist
269
270
 
270
271
  Pass the same target, feature, and Linux glibc flags (`--zig --manylinux 2_31`, `--no-default-features`) to both commands when needed. Staging builds binaries only. On macOS it matches Maturin's linker flags through `build.rustflags` or existing `RUSTFLAGS`/`CARGO_ENCODED_RUSTFLAGS`. A macOS target with its own `rustflags` must include `-C link-arg=-undefined -C link-arg=dynamic_lookup` there. Shared crates are reused when the two builds resolve the same dependency features. Adding `--lib` to staging can select a different compilation profile under LTO.
271
272
 
272
- ### `cargo wait`
273
+ ### Isolated worktrees and line counts
273
274
 
274
- Wait until a Cargo workspace compiles:
275
+ For concurrent edits or parallel builds across Antigravity, Claude Code, and Codex, isolate each task in a Git worktree under the gitignored `~/aai-ws/.worktrees/<repo>-<task>` directory:
275
276
 
276
277
  ```bash
277
- cargo wait
278
- cargo wait --path /path/to/workspace
278
+ git worktree add ~/aai-ws/.worktrees/myrepo-task -b task
279
+ cd ~/aai-ws/.worktrees/myrepo-task
280
+ cargo develop --local # installs _core*.so in-tree; leaves .venv untouched
281
+ PYTHONPATH="$PWD/python" pytest -q # test the worktree build in isolation
279
282
  ```
280
283
 
281
- Use it when another process's unfinished edits stop the workspace compiling, such as a second agent working in the same tree. Each check runs `cargo check --all-targets`, whose rustc calls hold the timing lock shared, as every build's do. After a failed check, `cargo wait` prints Cargo's first error line. It checks again once a source file of a local package changes and then stays unchanged for 2 seconds. Local packages are the workspace's members and its path dependencies, such as a sibling crate that `ws-sync` patches in. When a check passes, it prints `compiles` and exits. After `--patience` seconds, 1800 by default, it prints the last check's errors and exits with status 1.
282
-
283
- ### Rust builds and tests from Python
284
-
285
- `fastws.cargo.run_tests` builds native tests once with Cargo, without a time limit, then runs the executables that Cargo reports directly from their package directories. Each binary gets its own `timeout`, 30 seconds by default, excluding compilation. Outside `FASTWS_JOB`, a timed-out binary is reported as a failed suite with `timed_out` set. Inside a marked job, its timeout raises so the job owner can clean up descendants. Source edits between building and running do not trigger another build: the results describe the compiled build, not necessarily the latest working tree. It supports directly runnable native tests, not cross-target runners.
284
+ Worktrees under `~/aai-ws/.worktrees/` automatically inherit `~/aai-ws/.cargo/config.toml` (`[term] quiet`, `sccache`, `[patch.crates-io]`), build in their own `<wt>/target/` without contending on Cargo locks, and still share `sccache` hits via `basedirs`. When a task edits a paired crate alongside its consumer (for example `basedpl` + `rustymath`), override the path patch on the Cargo command line:
286
285
 
287
- Where a root has `.config/nextest.toml`, preparation uses `cargo nextest list` to build the tests and capture Cargo and binary metadata. The metadata graph includes all features at the native platform, independently of the features selected for compilation. Each `cargo nextest run` consumes that metadata without building or waiting for Cargo's target lock. Nextest runs each test in its own process, every binary at once, with the config's slow-test timeouts and groups. `profiles` lists the nextest profiles to run one after another, `('default',)` unless given. `timeout` bounds each profile's execution, and each binary's results come from nextest's JUnit report, which lists no ignored tests. `--profile NAME` passes to the build as `--cargo-profile NAME`, and `test_args` follow `--`.
288
-
289
- `root` can also be a list of roots, which build one after another. Roots without nextest then run their binaries in turn. Each profile then runs at the same time in every root whose config defines it: tests in different roots share a phase, and no phase starts before the previous one ends. Suite names start with the root's directory name, and with several profiles also with the profile, as in `app timed: tests/speed.rs`. A failure ends the run after its profile unless `--no-fail-fast` is given.
290
-
291
- The default profile is `[tool.fastws].dev-profile`, or `release` when unset. Explicit `--profile NAME`, `--profile=NAME`, `--release` and `-r` override it. Pass Cargo build/selection options positionally, and test filters and harness options in `test_args`. A failed binary stops the run unless `--no-fail-fast` is given. Results contain compiler diagnostics and each binary's outcomes and captured failures.
292
-
293
- ```python
294
- from fastws.cargo import run_tests
295
-
296
- native = run_tests('.', '--no-fail-fast')
297
- focused = run_tests('.', '--test', 'core', test_args=('test_name', '--nocapture'))
298
- phased = run_tests(['app', 'lib'], profiles=('untimed', 'timed'))
299
- ```
300
-
301
- Doctests are deliberately not run; keep executable examples in ordinary Rust tests. `run_tests` accepts `env` overrides and `timeout=None` to disable its watchdog. It takes no timing lock around the run: rustc's wrapper owns its shared holds, and tests that time own their exclusive holds.
302
-
303
- `fastws.cargo.check` runs any Cargo subcommand, `check --all-targets` by default, and returns the same `Results` without test suites. A failing run is a result, not an exception. Each `Diagnostic` in its `diagnostics` holds the message's path, line, column, level and text, and its error code or lint as `code`, such as `E0308` or `clippy::too_many_lines`. The summary lists errors first. `env` sets environment variables for the run, as for `run_tests`. A subcommand that rejects `--message-format`, such as `cargo llvm-lines`, runs with `diagnostics=False`: its result holds the exit status and output, with no diagnostics.
304
-
305
- ```python
306
- from fastws.cargo import check
307
-
308
- lints = check('.', 'clippy', '--all-targets', '--', '-W', 'clippy::too_many_lines', env={'CLIPPY_CONF_DIR': 'review'})
309
- errors = [d for d in lints.diagnostics if d.level == 'error']
310
- sizes = check('.', 'llvm-lines', '--lib', diagnostics=False).text
286
+ ```bash
287
+ cargo test --config 'patch.crates-io.rustymath.path="../rustymath"'
311
288
  ```
312
289
 
313
- ### Integration snapshots
290
+ Run plain `cargo develop` (without `--local`) only in the main checkout after landing changes. Use `tokei` (`tokei` or `tokei --output json`) for fast, accurate code-line counts across files and directories.
314
291
 
315
- `fastws.integrate` builds several repos together while people or agents keep editing them. `integrate` snapshots each repo's working tree as a commit (untracked files included, ignored files not), checks each commit out as a detached worktree under one root, and writes the root's Cargo config. `HEAD` and the index of each live repo don't change. The config is the workspace's, with the patches for crates under the root pointing at the root's worktrees, so a build there reads the snapshots and every other local crate from the workspace. Keep the root outside the workspace, where `ws-sync` and uv don't treat its worktrees as members.
316
-
317
- `errors` checks each snapshot in turn and keeps the errors in that repo's own files. A repo's check also reports its dependencies' errors, under paths outside the repo, and each dependency's own check already covers those. `owners` reads each owner's path globs from the bullets under a Markdown file's `Files` heading, one ``- Owner: `glob` `glob` `` line each, in order. `by_owner` groups each repo's compiler messages by owner, then by file, and the first owner whose globs match a path owns it. It prefixes each path with its repo's name, so a path into a sibling repo, such as `../rustymath/src/x.rs` from basedpl's check, groups as `rustymath/src/x.rs`. `run_tests` with `--no-fail-fast` runs every test binary, each within its own `timeout`, so a slow or crashing binary doesn't stop the others. `code_count` counts the Rust code lines in a sequence of lines, leaving out blanks and comments. `code_lines` applies it to each Rust file under a directory. `exhash`'s `Journal.stat(count=code_count)` counts the code lines that edits add and remove. `record` writes a run's messages, each repo's test `Results` with each failure's output, and any sizes, as a Markdown record, and returns each owner's message count.
318
-
319
- ```python
320
- from fastws.cargo import run_tests
321
- from fastws.integrate import by_owner, code_lines, errors, integrate, owners, record
322
-
323
- root = '~/git/integration'
324
- commits = integrate({'basedpl': '~/aai-ws/basedpl', 'rustymath': '~/aai-ws/rustymath'}, root)
325
- errs = errors(root, ['rustymath', 'basedpl'])
326
- groups = by_owner(errs, owners('~/aai-ws/basedpl/meta/owners.md'))
327
- tests = {r: run_tests(f'{root}/{r}', '--no-fail-fast') for r in errs if not errs[r]}
328
- sizes = {r: code_lines(f'{root}/{r}/src') for r in errs}
329
- counts = record(f'{root}/run8.md', 'Run 8', commits, groups, tests=tests, sizes=sizes)
330
- ```
331
292
  ### `ws-sync`
332
293
 
333
294
  Syncing proceeds in this order:
@@ -339,11 +300,7 @@ Syncing proceeds in this order:
339
300
 
340
301
  By default, `ws-sync` uses the active venv's parent as the workspace root. It creates a missing `pyproject.toml` as described above. GitHub checkouts at the root that are absent from both lists are added to `repos-local.txt`, including non-Python repos. Root checkouts matching `[tool.fastws].exclude` are not automatically added. Directories prefixed with `_` are left alone unless explicitly listed.
341
302
 
342
- Project scanning respects `tool.uv.workspace.members` and `exclude`. If a member directory lacks `pyproject.toml`, such as a fresh empty clone, sync warns and skips the `uv sync` step.
343
-
344
- Fastws maintains `tool.uv.workspace.exclude`. It excludes unlisted top-level directories without a valid Python project. It also excludes listed Rust or JavaScript projects without `pyproject.toml`. It also excludes listed project templates, whose `[project].name` still holds a `{placeholder}`, because uv cannot parse that name. For a listed checkout with none of `pyproject.toml`, `Cargo.toml`, or `package.json`, sync warns and skips installation.
345
-
346
- Existing globs, entries for missing directories, and entries for checkouts that are still not Python projects are retained. Use `exclude = [...]` under `[tool.fastws]` to specify exclusions the scan cannot infer, such as keeping a valid project out of the workspace. Adding members preserves hand-written `[tool.uv.sources]` entries, including path and Git sources.
303
+ Fastws maintains explicit `tool.uv.workspace.members` entries from valid top-level Python projects under the workspace root (skipping `.`- and `_`-prefixed directories, non-Python directories, and templates whose `[project].name` still holds `{placeholder}`), while preserving explicit globs and nested paths. Use `exclude = [...]` under `[tool.fastws]` to keep a valid project out of the workspace. Adding members preserves hand-written `[tool.uv.sources]` entries, including path and Git sources.
347
304
 
348
305
  Each sync regenerates Cargo overrides in the workspace's `.cargo/config.toml`. `[patch.crates-io]` gets an entry for each local crate, including nested Cargo workspace members, that some local manifest requires from crates.io: by version alone, without `path`, `git` or `workspace`, in any dependency table or `[workspace.dependencies]`. Git dependencies that name local crates get entries under the matching URL. Builds under the workspace root use these local checkouts. Entries pointing outside the root and other configuration sections are preserved.
349
306
 
@@ -351,7 +308,7 @@ Sync also defaults `[term] quiet = true` in that file to suppress routine Cargo
351
308
 
352
309
  Do not commit a `Cargo.lock` generated under these patches. Its source-less local entries cannot be resolved on another machine.
353
310
 
354
- Sync writes `.cargo/rustc-lock` and makes it Cargo's `rustc-wrapper`. The script runs each rustc call holding the timing lock shared (see `cargo develop` above). Inside the lock it runs the wrapper that the config named before sync first wrote the script, where another tool set one, and otherwise `sccache` when it's installed, so unchanged compilation units are reused across the workspace's otherwise-independent Cargo target directories. When `ws-setup` has configured an isolated `r2-sccache` AWS credentials profile for a shared R2 cache, the script passes `AWS_PROFILE=r2-sccache` to `sccache` (clearing ambient `AWS_*` keys in that child process) so it never collides with AWS CLI or `boto3`. Later syncs keep that inner wrapper. The script costs about 9 ms a rustc call, mostly the Python interpreter's start. If `sccache` isn't installed—or `SCCACHE_R2` is set without matching `sccache` config—sync warns and tells you to run `ws-setup`. On Windows, where the lock does nothing, the config keeps another tool's wrapper, or else names `sccache`.
311
+ Sync configures Cargo's `rustc-wrapper` in `.cargo/config.toml` for `sccache` (preserving any custom third-party wrapper already configured). When `.cargo/sccache.toml`, an isolated `[r2-sccache]` AWS profile, or opt-in `[tool.fastws] timing-lock = true` (Linux `flock(1)` on `/tmp/aai-ws-timing.{gate,lock}`) is active, sync writes a minimal `#!/bin/sh` script at `.cargo/rustc-wrapper` that exports `SCCACHE_CONF` / `AWS_PROFILE=r2-sccache` (clearing ambient `AWS_*` keys) and execs `sccache` with zero Python startup overhead. If `sccache` isn't installed—or `SCCACHE_R2` is set without matching `sccache` config—sync warns and tells you to run `ws-setup`.
355
312
 
356
313
  For an isolated build workspace, `fastws.core.cargo_setup(root)` regenerates these Cargo patches and the same compiler wrapper without pulling, syncing Python or building.
357
314
 
@@ -457,7 +414,7 @@ await check_release('mdhtml') # one repo: list of unreleased commit summarie
457
414
 
458
415
  ### `ws-news`
459
416
 
460
- Summarize user-visible changes across the workspace. The default reports every stable GitHub release published in the last seven days. Each repo has a heading, linked release tags and dates, and one or two paragraphs generated by fastllm. It always checks the whole workspace unless you select a repo, regardless of the current directory.
417
+ Summarize user-visible changes across the workspace (requires `pip install 'fastws-cli[news]'`). The default reports every stable GitHub release published in the last seven days. Each repo has a heading, linked release tags and dates, and one or two paragraphs generated by fastllm. It always checks the whole workspace unless you select a repo, regardless of the current directory.
461
418
 
462
419
  ```bash
463
420
  ws-news
@@ -132,7 +132,7 @@ export SCCACHE_R2="https://<access_key_id>:<secret_access_key>@<account_id>.r2.c
132
132
  ws-setup
133
133
  ```
134
134
 
135
- `ws-setup` writes `[cache.multilevel]` (`disk` + `s3`), `[cache.disk]`, `[cache.s3]`, and the workspace root under `basedirs` into the platform `sccache` config (`~/Library/Application Support/Mozilla.sccache/config` on macOS, `~/.config/sccache/config` on Linux, or `SCCACHE_CONF`), preserving existing `basedirs` and unrelated sections. Credentials are written to an isolated `[r2-sccache]` profile in `~/.aws/credentials` (leaving `[default]` untouched), and `.cargo/rustc-lock` selects that profile for `sccache`. Append `?rw_mode=READ_ONLY` for read-only tokens, omit credentials for public read-only buckets, or add `/<prefix>` after `<bucket>` for a `key_prefix`.
135
+ `ws-setup` writes `[cache.multilevel]` (`disk` + `s3`), `[cache.disk]`, `[cache.s3]`, and the workspace root under `basedirs` into the workspace-local `.cargo/sccache.toml` (referenced via `SCCACHE_CONF` in `.cargo/rustc-wrapper`), preserving existing `basedirs` and unrelated sections. Credentials are written to an isolated `[r2-sccache]` profile in `~/.aws/credentials` (leaving `[default]` untouched), and `.cargo/rustc-wrapper` selects that profile for `sccache`. Append `?rw_mode=READ_ONLY` for read-only tokens, omit credentials for public read-only buckets, or add `/<prefix>` after `<bucket>` for a `key_prefix`.
136
136
 
137
137
  ### `ws-clone`
138
138
 
@@ -154,13 +154,18 @@ ws-pull
154
154
 
155
155
  ### `ws-status`
156
156
 
157
- Show uncommitted changes and unpushed commits:
157
+ Show uncommitted changes and unpushed commits across the workspace root and member repos:
158
158
 
159
159
  ```bash
160
160
  ws-status
161
161
  ws-status --branches
162
+ ws-status --summary
163
+ ws-status --dirs
164
+ ws-status --stat
162
165
  ```
163
166
 
167
+ `--summary` prints one line per dirty repo, sorted largest-first by total changed lines, including untracked files. `--dirs` groups each repo's tracked and untracked counts by top-level folder (`.` for root files). `--stat` lists per-file line counts under each repo header, with `-` for binary or `-diff` files.
168
+
164
169
  ### `ws-branches`
165
170
 
166
171
  Check if all repos are on the expected branch:
@@ -191,15 +196,16 @@ ws-build --project solveit # only this package and its transitive workspace dep
191
196
 
192
197
  ### `cargo develop`
193
198
 
194
- Build a mixed Rust/Python project's extension and opted-in binaries, keep them with its Python package as one build, and install that build in the editable source package and the venv:
199
+ Build a mixed Rust/Python project's extension and opted-in binaries and atomically install them into the editable source package and active venv:
195
200
 
196
201
  ```bash
197
202
  cargo develop
203
+ cargo develop --local # in-tree extension only (for isolated git worktrees)
198
204
  cargo develop --path /path/to/project
199
205
  cargo develop --profile quick
200
206
  ```
201
207
 
202
- Run from the project root, or give its directory with `--path`. The command reads `python-source`, `module-name`, `manifest-path`, `bindings` and features from `[tool.maturin]`. `[tool.fastws] dev-profile = "quick"` selects a project's default for both `cargo develop` and `fastws.cargo.run_tests`. Without that setting they use `release`. An explicit `--profile NAME` overrides the project default. Mixed projects must produce a `cdylib` and set `python-source`; `bindings = "bin"` projects build and install their binary targets directly into the active venv. Define the selected profile in `Cargo.toml` and keep incremental compilation enabled for the local crate.
208
+ Run from the project root, or give its directory with `--path`. The command reads `python-source`, `module-name`, `manifest-path`, `bindings` and features from `[tool.maturin]`. `[tool.fastws] dev-profile = "quick"` selects a project's default for `cargo develop` (otherwise `release`). An explicit `--profile NAME` overrides the project default. Mixed projects must produce a `cdylib` and set `python-source`; `bindings = "bin"` projects build and install their binary targets directly into the active venv. Pass `--local` in a Git worktree to install the compiled extension inside `<root>/<python-source>/` without modifying `.venv`.
203
209
 
204
210
  The workspace's `[tool.fastws] cargo = "/path/to/cargo"` optionally selects one explicit Cargo executable for fastws builds, checks, metadata and tests, including nextest's subordinate Cargo calls. A missing executable fails without falling back. With no selection, subprocess uses its normal PATH and working-directory rules. Upstream Cargo stays installed and usable; manifests, profiles, features and package selection are unchanged.
205
211
 
@@ -219,14 +225,6 @@ Set `native-binaries = true` under `[tool.fastws]` to build and install the bina
219
225
 
220
226
  Set `post-develop-module = "package.generator"` under `[tool.fastws]` to run a generator after installing the native extension and binaries, before copying wheel data. It runs with the current Python in a fresh process from the project root, including when Cargo reuses its build. A failure stops `cargo develop` or `ws-sync`. Use it for generated files that need the rebuilt extension's metadata.
221
227
 
222
- `cargo develop` keeps each build it installs in `~/.cache/fastws/builds/<project>/<id>/`, read-only. Files are copied first, then hashed, and hard-linked to blobs named by those captured bytes' sha256. The build id hashes these artifacts and the current digests of inputs listed by Cargo's dep-info. Input digests are observations at capture time, not proof of what the compiler read. The record's `started` gives the build's start time; `edited` flags inputs **possibly modified since build started**, by mtime, including inputs of a first build or newly discovered dependencies. Identical inputs and artifacts reuse their first capture's record.
223
-
224
- The installed extension and binaries are symbolic links through `<project>/installed`, which `cargo develop` points at the new build in one step. `fastws.store.builds(root)` gives the newest build records, with input changes since the preceding build, and `fastws.store.resolve(root, id)` resolves a build-id prefix. Each develop deletes builds that are neither installed, among the project's last 20, nor from the last 2 days, then old unlinked blobs.
225
-
226
- On Unix, cooperating `cargo develop` runs take a per-project lock through compilation, capture, installation, the post-develop generator and wheel data. Store readers and capture/install operations hold shared store access; collection takes it exclusively. Ordinary Cargo commands do not take the project lock: agents must not run competing raw Cargo builds against that project during develop. Windows installs copies and does not take these locks.
227
-
228
- On Unix, every rustc call holds a shared `flock` on `/tmp/aai-ws-timing.lock`, through the rustc wrapper that sync writes (see `ws-sync`). A speed test that takes that lock exclusively stays apart from participating builds and test runs. A timing also holds `/tmp/aai-ws-timing.gate` while it waits for the lock and holds it, and a shared hold passes that file first, so new rustc calls and test runs wait behind the timing. Both shared and exclusive acquisition fail after 5 minutes; work never proceeds unlocked. Python code takes the same lock with `fastws.timelock.timing_lock`: `with timing_lock(exclusive=True):` around a timing, and `with timing_lock():` around a test run. Shared-inside-shared in one thread reuses its hold; each thread otherwise takes its own hold. Any nesting involving exclusive raises `RuntimeError` immediately. An exclusive hold that has waited 30 seconds prints the processes that have the lock's file open. Windows builds and tests run without this timing coordination.
229
-
230
228
  Use `fastws.build_backend` as the build backend of a mixed Rust/Python project (with `fastws-cli>=0.0.29` alongside `maturin>=1.13,<2.0` in `[build-system].requires`) or a `bindings = "bin"` Rust CLI project (`fastws-cli>=0.0.39`). Inside a fastws workspace, `ws-sync` writes `[tool.uv.config-settings-package]` with `metadata-only = "1"` into the workspace `pyproject.toml`, so editable builds through `uv sync` install only Python metadata (and the source path when `python-source` is set) and leave Rust compilation to `cargo develop`, which installs the extension, binaries, and wheel data files. Outside the workspace, including `pip install -e .` in CI and standalone installs, editable builds receive no `metadata-only` setting, stage any `native-binaries`, and delegate to maturin so they compile normally.
231
229
 
232
230
  For distribution wheels containing the binaries, also set `[tool.maturin].data` to a generated wheel-data directory. With `native-binaries = true`, wheel builds through the backend replace its `scripts/` subdirectory with the current Python-free binaries, then delegate packaging to maturin. Explicit profile, target and feature arguments from maturin's build settings also apply to the binaries. Without `native-binaries`, wheel builds go straight to maturin, and `[tool.maturin].data` is optional.
@@ -240,65 +238,25 @@ maturin build --profile dist
240
238
 
241
239
  Pass the same target, feature, and Linux glibc flags (`--zig --manylinux 2_31`, `--no-default-features`) to both commands when needed. Staging builds binaries only. On macOS it matches Maturin's linker flags through `build.rustflags` or existing `RUSTFLAGS`/`CARGO_ENCODED_RUSTFLAGS`. A macOS target with its own `rustflags` must include `-C link-arg=-undefined -C link-arg=dynamic_lookup` there. Shared crates are reused when the two builds resolve the same dependency features. Adding `--lib` to staging can select a different compilation profile under LTO.
242
240
 
243
- ### `cargo wait`
241
+ ### Isolated worktrees and line counts
244
242
 
245
- Wait until a Cargo workspace compiles:
243
+ For concurrent edits or parallel builds across Antigravity, Claude Code, and Codex, isolate each task in a Git worktree under the gitignored `~/aai-ws/.worktrees/<repo>-<task>` directory:
246
244
 
247
245
  ```bash
248
- cargo wait
249
- cargo wait --path /path/to/workspace
246
+ git worktree add ~/aai-ws/.worktrees/myrepo-task -b task
247
+ cd ~/aai-ws/.worktrees/myrepo-task
248
+ cargo develop --local # installs _core*.so in-tree; leaves .venv untouched
249
+ PYTHONPATH="$PWD/python" pytest -q # test the worktree build in isolation
250
250
  ```
251
251
 
252
- Use it when another process's unfinished edits stop the workspace compiling, such as a second agent working in the same tree. Each check runs `cargo check --all-targets`, whose rustc calls hold the timing lock shared, as every build's do. After a failed check, `cargo wait` prints Cargo's first error line. It checks again once a source file of a local package changes and then stays unchanged for 2 seconds. Local packages are the workspace's members and its path dependencies, such as a sibling crate that `ws-sync` patches in. When a check passes, it prints `compiles` and exits. After `--patience` seconds, 1800 by default, it prints the last check's errors and exits with status 1.
253
-
254
- ### Rust builds and tests from Python
255
-
256
- `fastws.cargo.run_tests` builds native tests once with Cargo, without a time limit, then runs the executables that Cargo reports directly from their package directories. Each binary gets its own `timeout`, 30 seconds by default, excluding compilation. Outside `FASTWS_JOB`, a timed-out binary is reported as a failed suite with `timed_out` set. Inside a marked job, its timeout raises so the job owner can clean up descendants. Source edits between building and running do not trigger another build: the results describe the compiled build, not necessarily the latest working tree. It supports directly runnable native tests, not cross-target runners.
252
+ Worktrees under `~/aai-ws/.worktrees/` automatically inherit `~/aai-ws/.cargo/config.toml` (`[term] quiet`, `sccache`, `[patch.crates-io]`), build in their own `<wt>/target/` without contending on Cargo locks, and still share `sccache` hits via `basedirs`. When a task edits a paired crate alongside its consumer (for example `basedpl` + `rustymath`), override the path patch on the Cargo command line:
257
253
 
258
- Where a root has `.config/nextest.toml`, preparation uses `cargo nextest list` to build the tests and capture Cargo and binary metadata. The metadata graph includes all features at the native platform, independently of the features selected for compilation. Each `cargo nextest run` consumes that metadata without building or waiting for Cargo's target lock. Nextest runs each test in its own process, every binary at once, with the config's slow-test timeouts and groups. `profiles` lists the nextest profiles to run one after another, `('default',)` unless given. `timeout` bounds each profile's execution, and each binary's results come from nextest's JUnit report, which lists no ignored tests. `--profile NAME` passes to the build as `--cargo-profile NAME`, and `test_args` follow `--`.
259
-
260
- `root` can also be a list of roots, which build one after another. Roots without nextest then run their binaries in turn. Each profile then runs at the same time in every root whose config defines it: tests in different roots share a phase, and no phase starts before the previous one ends. Suite names start with the root's directory name, and with several profiles also with the profile, as in `app timed: tests/speed.rs`. A failure ends the run after its profile unless `--no-fail-fast` is given.
261
-
262
- The default profile is `[tool.fastws].dev-profile`, or `release` when unset. Explicit `--profile NAME`, `--profile=NAME`, `--release` and `-r` override it. Pass Cargo build/selection options positionally, and test filters and harness options in `test_args`. A failed binary stops the run unless `--no-fail-fast` is given. Results contain compiler diagnostics and each binary's outcomes and captured failures.
263
-
264
- ```python
265
- from fastws.cargo import run_tests
266
-
267
- native = run_tests('.', '--no-fail-fast')
268
- focused = run_tests('.', '--test', 'core', test_args=('test_name', '--nocapture'))
269
- phased = run_tests(['app', 'lib'], profiles=('untimed', 'timed'))
270
- ```
271
-
272
- Doctests are deliberately not run; keep executable examples in ordinary Rust tests. `run_tests` accepts `env` overrides and `timeout=None` to disable its watchdog. It takes no timing lock around the run: rustc's wrapper owns its shared holds, and tests that time own their exclusive holds.
273
-
274
- `fastws.cargo.check` runs any Cargo subcommand, `check --all-targets` by default, and returns the same `Results` without test suites. A failing run is a result, not an exception. Each `Diagnostic` in its `diagnostics` holds the message's path, line, column, level and text, and its error code or lint as `code`, such as `E0308` or `clippy::too_many_lines`. The summary lists errors first. `env` sets environment variables for the run, as for `run_tests`. A subcommand that rejects `--message-format`, such as `cargo llvm-lines`, runs with `diagnostics=False`: its result holds the exit status and output, with no diagnostics.
275
-
276
- ```python
277
- from fastws.cargo import check
278
-
279
- lints = check('.', 'clippy', '--all-targets', '--', '-W', 'clippy::too_many_lines', env={'CLIPPY_CONF_DIR': 'review'})
280
- errors = [d for d in lints.diagnostics if d.level == 'error']
281
- sizes = check('.', 'llvm-lines', '--lib', diagnostics=False).text
254
+ ```bash
255
+ cargo test --config 'patch.crates-io.rustymath.path="../rustymath"'
282
256
  ```
283
257
 
284
- ### Integration snapshots
258
+ Run plain `cargo develop` (without `--local`) only in the main checkout after landing changes. Use `tokei` (`tokei` or `tokei --output json`) for fast, accurate code-line counts across files and directories.
285
259
 
286
- `fastws.integrate` builds several repos together while people or agents keep editing them. `integrate` snapshots each repo's working tree as a commit (untracked files included, ignored files not), checks each commit out as a detached worktree under one root, and writes the root's Cargo config. `HEAD` and the index of each live repo don't change. The config is the workspace's, with the patches for crates under the root pointing at the root's worktrees, so a build there reads the snapshots and every other local crate from the workspace. Keep the root outside the workspace, where `ws-sync` and uv don't treat its worktrees as members.
287
-
288
- `errors` checks each snapshot in turn and keeps the errors in that repo's own files. A repo's check also reports its dependencies' errors, under paths outside the repo, and each dependency's own check already covers those. `owners` reads each owner's path globs from the bullets under a Markdown file's `Files` heading, one ``- Owner: `glob` `glob` `` line each, in order. `by_owner` groups each repo's compiler messages by owner, then by file, and the first owner whose globs match a path owns it. It prefixes each path with its repo's name, so a path into a sibling repo, such as `../rustymath/src/x.rs` from basedpl's check, groups as `rustymath/src/x.rs`. `run_tests` with `--no-fail-fast` runs every test binary, each within its own `timeout`, so a slow or crashing binary doesn't stop the others. `code_count` counts the Rust code lines in a sequence of lines, leaving out blanks and comments. `code_lines` applies it to each Rust file under a directory. `exhash`'s `Journal.stat(count=code_count)` counts the code lines that edits add and remove. `record` writes a run's messages, each repo's test `Results` with each failure's output, and any sizes, as a Markdown record, and returns each owner's message count.
289
-
290
- ```python
291
- from fastws.cargo import run_tests
292
- from fastws.integrate import by_owner, code_lines, errors, integrate, owners, record
293
-
294
- root = '~/git/integration'
295
- commits = integrate({'basedpl': '~/aai-ws/basedpl', 'rustymath': '~/aai-ws/rustymath'}, root)
296
- errs = errors(root, ['rustymath', 'basedpl'])
297
- groups = by_owner(errs, owners('~/aai-ws/basedpl/meta/owners.md'))
298
- tests = {r: run_tests(f'{root}/{r}', '--no-fail-fast') for r in errs if not errs[r]}
299
- sizes = {r: code_lines(f'{root}/{r}/src') for r in errs}
300
- counts = record(f'{root}/run8.md', 'Run 8', commits, groups, tests=tests, sizes=sizes)
301
- ```
302
260
  ### `ws-sync`
303
261
 
304
262
  Syncing proceeds in this order:
@@ -310,11 +268,7 @@ Syncing proceeds in this order:
310
268
 
311
269
  By default, `ws-sync` uses the active venv's parent as the workspace root. It creates a missing `pyproject.toml` as described above. GitHub checkouts at the root that are absent from both lists are added to `repos-local.txt`, including non-Python repos. Root checkouts matching `[tool.fastws].exclude` are not automatically added. Directories prefixed with `_` are left alone unless explicitly listed.
312
270
 
313
- Project scanning respects `tool.uv.workspace.members` and `exclude`. If a member directory lacks `pyproject.toml`, such as a fresh empty clone, sync warns and skips the `uv sync` step.
314
-
315
- Fastws maintains `tool.uv.workspace.exclude`. It excludes unlisted top-level directories without a valid Python project. It also excludes listed Rust or JavaScript projects without `pyproject.toml`. It also excludes listed project templates, whose `[project].name` still holds a `{placeholder}`, because uv cannot parse that name. For a listed checkout with none of `pyproject.toml`, `Cargo.toml`, or `package.json`, sync warns and skips installation.
316
-
317
- Existing globs, entries for missing directories, and entries for checkouts that are still not Python projects are retained. Use `exclude = [...]` under `[tool.fastws]` to specify exclusions the scan cannot infer, such as keeping a valid project out of the workspace. Adding members preserves hand-written `[tool.uv.sources]` entries, including path and Git sources.
271
+ Fastws maintains explicit `tool.uv.workspace.members` entries from valid top-level Python projects under the workspace root (skipping `.`- and `_`-prefixed directories, non-Python directories, and templates whose `[project].name` still holds `{placeholder}`), while preserving explicit globs and nested paths. Use `exclude = [...]` under `[tool.fastws]` to keep a valid project out of the workspace. Adding members preserves hand-written `[tool.uv.sources]` entries, including path and Git sources.
318
272
 
319
273
  Each sync regenerates Cargo overrides in the workspace's `.cargo/config.toml`. `[patch.crates-io]` gets an entry for each local crate, including nested Cargo workspace members, that some local manifest requires from crates.io: by version alone, without `path`, `git` or `workspace`, in any dependency table or `[workspace.dependencies]`. Git dependencies that name local crates get entries under the matching URL. Builds under the workspace root use these local checkouts. Entries pointing outside the root and other configuration sections are preserved.
320
274
 
@@ -322,7 +276,7 @@ Sync also defaults `[term] quiet = true` in that file to suppress routine Cargo
322
276
 
323
277
  Do not commit a `Cargo.lock` generated under these patches. Its source-less local entries cannot be resolved on another machine.
324
278
 
325
- Sync writes `.cargo/rustc-lock` and makes it Cargo's `rustc-wrapper`. The script runs each rustc call holding the timing lock shared (see `cargo develop` above). Inside the lock it runs the wrapper that the config named before sync first wrote the script, where another tool set one, and otherwise `sccache` when it's installed, so unchanged compilation units are reused across the workspace's otherwise-independent Cargo target directories. When `ws-setup` has configured an isolated `r2-sccache` AWS credentials profile for a shared R2 cache, the script passes `AWS_PROFILE=r2-sccache` to `sccache` (clearing ambient `AWS_*` keys in that child process) so it never collides with AWS CLI or `boto3`. Later syncs keep that inner wrapper. The script costs about 9 ms a rustc call, mostly the Python interpreter's start. If `sccache` isn't installed—or `SCCACHE_R2` is set without matching `sccache` config—sync warns and tells you to run `ws-setup`. On Windows, where the lock does nothing, the config keeps another tool's wrapper, or else names `sccache`.
279
+ Sync configures Cargo's `rustc-wrapper` in `.cargo/config.toml` for `sccache` (preserving any custom third-party wrapper already configured). When `.cargo/sccache.toml`, an isolated `[r2-sccache]` AWS profile, or opt-in `[tool.fastws] timing-lock = true` (Linux `flock(1)` on `/tmp/aai-ws-timing.{gate,lock}`) is active, sync writes a minimal `#!/bin/sh` script at `.cargo/rustc-wrapper` that exports `SCCACHE_CONF` / `AWS_PROFILE=r2-sccache` (clearing ambient `AWS_*` keys) and execs `sccache` with zero Python startup overhead. If `sccache` isn't installed—or `SCCACHE_R2` is set without matching `sccache` config—sync warns and tells you to run `ws-setup`.
326
280
 
327
281
  For an isolated build workspace, `fastws.core.cargo_setup(root)` regenerates these Cargo patches and the same compiler wrapper without pulling, syncing Python or building.
328
282
 
@@ -428,7 +382,7 @@ await check_release('mdhtml') # one repo: list of unreleased commit summarie
428
382
 
429
383
  ### `ws-news`
430
384
 
431
- Summarize user-visible changes across the workspace. The default reports every stable GitHub release published in the last seven days. Each repo has a heading, linked release tags and dates, and one or two paragraphs generated by fastllm. It always checks the whole workspace unless you select a repo, regardless of the current directory.
385
+ Summarize user-visible changes across the workspace (requires `pip install 'fastws-cli[news]'`). The default reports every stable GitHub release published in the last seven days. Each repo has a heading, linked release tags and dates, and one or two paragraphs generated by fastllm. It always checks the whole workspace unless you select a repo, regardless of the current directory.
432
386
 
433
387
  ```bash
434
388
  ws-news
@@ -1,4 +1,5 @@
1
- __version__ = "0.0.42"
1
+ __version__ = "0.0.43"
2
+
2
3
 
3
4
 
4
5