@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.
- package/bundles/antigravity-plugin/plugin.json +1 -1
- package/bundles/antigravity-plugin/repo_hygiene.py +4 -3
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_exit.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_file_lock.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_frontmatter.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_redact.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_roadmap.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_rows.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_status.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_tidy.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_todo.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_workstreams.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_worktree_safety.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/caddis_guide.json +2 -2
- package/bundles/antigravity-plugin/scripts/caddis_lanes.py +1 -1
- package/bundles/antigravity-plugin/scripts/oss_review.py +1 -1
- package/bundles/manifest.json +2 -2
- package/package.json +1 -1
|
@@ -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
|
|
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)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bundles/antigravity-plugin/scripts/__pycache__/caddis_worktree_safety.cpython-311.pyc
CHANGED
|
Binary file
|
|
@@ -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
|
|
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-
|
|
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
|
package/bundles/manifest.json
CHANGED
package/package.json
CHANGED