@caddis/cli 0.4.109 → 0.4.111

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "caddis",
3
- "version": "1.3.193",
3
+ "version": "1.3.195",
4
4
  "description": "caddis — agent-agnostic dev harness as an Antigravity (agy) plugin: TDD skills + commands, single-sourced with the Claude Code plugin."
5
5
  }
@@ -591,7 +591,8 @@ def _claim_stamp(folder: Path, now: float) -> Path | None:
591
591
  deletes a claim that another racer may still be reading, so a racer that read an expired claim cannot remove a
592
592
  fresh one. An empty claim (a racer has not written the time yet, or was killed before it did) dates from its
593
593
  modified time, so it expires too. Claims older than the previous one are deleted; the previous one stays, so a
594
- slow racer that read it fails its O_EXCL on ours.
594
+ slow racer that read it fails its O_EXCL on ours. A claim later than `now` is live while it is less than one
595
+ window ahead (the winner read its clock after this caller did); further ahead, the clock was wrong: expired.
595
596
  """
596
597
  numbers = sorted((int(p.name) for p in folder.iterdir() if p.name.isascii() and p.name.isdigit()), reverse=True)
597
598
  newest = numbers[0] if numbers else 0
@@ -603,8 +604,8 @@ def _claim_stamp(folder: Path, now: float) -> Path | None:
603
604
  last = 0.0 # unreadable: treat as expired
604
605
  except OSError:
605
606
  return None
606
- if 0 <= now - last < ORCA_SWEEP_EVERY_S:
607
- return None
607
+ if -ORCA_SWEEP_EVERY_S < now - last < ORCA_SWEEP_EVERY_S:
608
+ return None # a claim up to one window ahead is live: another session read its clock a little later
608
609
  claim = folder / str(newest + 1)
609
610
  try:
610
611
  fd = os.open(claim, os.O_CREAT | os.O_EXCL | os.O_WRONLY)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "1.3.192",
4
- "generated": "2026-11-12 16:20 UTC",
3
+ "version": "1.3.194",
4
+ "generated": "2026-11-13 01:10 UTC",
5
5
  "commands": [
6
6
  {
7
7
  "name": "add-rules",
@@ -1198,7 +1198,7 @@ def _probe_agy_models() -> str:
1198
1198
  return listing
1199
1199
 
1200
1200
 
1201
- # The agy default is used at three effort levels: ci-watch uses -low, lanes and review -high, and a plan phase may
1201
+ # The agy default is used at three effort levels: ci-watch uses -low, lanes -high, review -medium (oss_review), and a plan phase may
1202
1202
  # ask for -medium. Keep it only when `agy models` offers all three exact ids.
1203
1203
  AGY_DEFAULT_EFFORT_IDS = ("low", "medium", "high")
1204
1204
  _AGY_FALLBACK_NOTED = False
@@ -144,7 +144,7 @@ DEFAULT_PROVIDER = AGY_PROVIDER
144
144
  REVIEW_ORDER: tuple[str, ...] = (AGY_PROVIDER, "deepseek", "glm")
145
145
 
146
146
  # agy runs headless through caddis_spend.py run: plan mode (it needs no tools, the diff is in the prompt).
147
- AGY_MODEL = "gemini-4-carbon-high" # owner, 12 Nov 2026 (was gemini-4-argon-high)
147
+ AGY_MODEL = "gemini-4-carbon-medium" # owner, 12 Nov 2026; -high stalls past agy's 5-min stream idle timeout on reviews
148
148
  AGY_TIMEOUT_S = 15 * 60
149
149
  # The prompt is one command-line argument (`--print=<prompt>`). A Windows command line holds at most
150
150
  # 32,767 characters, so a larger prompt skips agy instead of failing to start. The limit applies to the
@@ -1,7 +1,7 @@
1
1
  {
2
- "poolVersion": "1.3.193",
2
+ "poolVersion": "1.3.195",
3
3
  "bundles": {
4
- "antigravity-plugin": "1.3.193",
4
+ "antigravity-plugin": "1.3.195",
5
5
  "antigravity-plugin-extras": "1.3.53",
6
6
  "codex": "unknown"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caddis/cli",
3
- "version": "0.4.109",
3
+ "version": "0.4.111",
4
4
  "description": "Install, update and diagnose the caddis dev harness across every coding agent you use (Claude Code, agy/Antigravity, and more).",
5
5
  "keywords": [
6
6
  "caddis",