Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix: reconcile platform contracts and release validation failures

rubenluetke10-beep71e0bed0b9bb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2679597e13..c09e31c712 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -325,7 +325,7 @@ jobs:
cache-dependency-path: pyproject.toml
- name: Install
run: |
- sudo apt-get update -qq && sudo apt-get install -y -qq libportaudio2
+ sudo apt-get update -qq && sudo apt-get install -y -qq libportaudio2 libegl1 libopengl0
python -m pip install -e ".[dev,telephony]"
- name: Download the shared duration snapshot
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
diff --git a/docs/adr/0038-live-reasoning-model-owns-computer-control.md b/docs/adr/0039-live-reasoning-model-owns-computer-control.md
similarity index 98%
rename from docs/adr/0038-live-reasoning-model-owns-computer-control.md
rename to docs/adr/0039-live-reasoning-model-owns-computer-control.md
index 1e6baae146..53c9c1e37c 100644
--- a/docs/adr/0038-live-reasoning-model-owns-computer-control.md
+++ b/docs/adr/0039-live-reasoning-model-owns-computer-control.md
@@ -1,4 +1,4 @@
-# ADR-0038 — The live reasoning model operates the computer itself
+# ADR-0039 — The live reasoning model operates the computer itself
**Status:** Accepted · **Date:** 2026-10-03 · **Supersedes:** the computer-use
part of [ADR-0035](0035-realtime-native-tools-except-computer-use.md) for the
diff --git a/docs/computer-use.md b/docs/computer-use.md
index b5ff22cfd4..678ab9aa77 100644
--- a/docs/computer-use.md
+++ b/docs/computer-use.md
@@ -8,7 +8,7 @@ POAV Computer-Use and Jarvis-Agents for the work that actually needs them.
## Live voice: the session's own model operates the screen (2026-10-03)
-ADR: [0038](adr/0038-live-reasoning-model-owns-computer-control.md). In a
+ADR: [0039](adr/0039-live-reasoning-model-owns-computer-control.md). In a
continuous voice session (GPT-Live with an API key or a ChatGPT subscription,
Gemini Live, the local engine) the session's thinking model operates the
computer itself through the `computer` tool. No Computer-Use mission and no
diff --git a/docs/os-parity.md b/docs/os-parity.md
index 5b4758994b..2273f302d2 100644
--- a/docs/os-parity.md
+++ b/docs/os-parity.md
@@ -151,7 +151,7 @@ Protocol references: [AsyncSSH port forwarding](https://asyncssh.readthedocs.io/
## Live computer control by the session's own model (2026-10-03, T3)
-Voice sessions operate the screen through `computer` (ADR-0038). The same
+Voice sessions operate the screen through `computer` (ADR-0039). The same
code runs on every OS through the existing capture and input backends; only
the readiness check differs. macOS requires Screen Recording to look and
Accessibility plus Input Control to act, and Secure Input blocks typing.
diff --git a/jarvis/brain/tool_gateway.py b/jarvis/brain/tool_gateway.py
index 5c88eae02d..ac8d24faec 100644
--- a/jarvis/brain/tool_gateway.py
+++ b/jarvis/brain/tool_gateway.py
@@ -22,7 +22,7 @@ from jarvis.core.protocols import (
)
_VALID_RISK_TIERS = frozenset({"safe", "monitor", "ask", "block"})
-# Live sessions operate the screen with ``computer`` (ADR-0038). These would
+# Live sessions operate the screen with ``computer`` (ADR-0039). These would
# start a second model's mission, or move/click/type in screen units the live
# model never sees, so they are not part of the voice catalog.
_VOICE_SUPERSEDED_TOOLS = frozenset(
@@ -131,7 +131,7 @@ class BrainSupervisorToolGateway:
tools = self._live_tools()
context = peek_computer_use_context()
computer_use = getattr(getattr(self._manager, "_config", None), "computer_use", None)
- # ADR-0038: the live session's own reasoning model operates the screen
+ # ADR-0039: the live session's own reasoning model operates the screen
# through ``computer``. The mission vehicles (a second model running
# its own loop) and the raw coordinate primitives (screen units the
# model never sees) are not offered next to it.
diff --git a/jarvis/cu/direct.py b/jarvis/cu/direct.py
index a07666082a..582df49869 100644
--- a/jarvis/cu/direct.py
+++ b/jarvis/cu/direct.py
@@ -1,6 +1,6 @@
"""Direct computer control: the reasoning model owns the perceive-act-verify loop.
-ADR-0038. A continuous voice session (GPT-Live with an API key or a ChatGPT
+ADR-0039. A continuous voice session (GPT-Live with an API key or a ChatGPT
subscription, Gemini Live, the local engine) no longer hands screen work to a
second "Tool Model" that runs its own mission. The session's own reasoning
model calls the ``computer`` tool step by step: every call executes a short
@@ -316,25 +316,20 @@ class Probes:
def _macos_missing(permission_ids: tuple[str, ...]) -> list[tuple[str, str]]:
+ from jarvis.platform.permission_service import get_permission_service # noqa: PLC0415
from jarvis.platform.permissions import ( # noqa: PLC0415
_LABELS,
PermissionId,
- PermissionState,
- get_system_permission_port,
)
- port = get_system_permission_port()
+ service = get_permission_service()
missing: list[tuple[str, str]] = []
for raw in permission_ids:
permission = PermissionId(raw)
- if port.runtime_access_granted(permission):
+ result = service.ensure(permission, feature="computer_use", wait_s=0.0)
+ if result.granted:
continue
- state = port.state(permission)
- detail = (
- state.value
- if state is not PermissionState.GRANTED
- else "granted to a different app identity; restart Personal Jarvis"
- )
+ detail = result.agent_detail or result.state.value
missing.append((_LABELS.get(permission, raw), detail))
return missing
diff --git a/jarvis/live/subscription.py b/jarvis/live/subscription.py
index dfeda65c1c..7a88f06420 100644
--- a/jarvis/live/subscription.py
+++ b/jarvis/live/subscription.py
@@ -27,7 +27,7 @@ _DELEGATION_TIMEOUT_S = 240.0
REPORT_START_TIMEOUT_S = 20.0
REPORT_FINISH_TIMEOUT_S = 90.0
REPORT_REASONING_TIMEOUT_S = 240.0
-# Operating the screen takes one reasoning round per look (ADR-0038). Once the
+# Operating the screen takes one reasoning round per look (ADR-0039). Once the
# model uses the computer tool, the request may run this many extra rounds and
# up to ``[computer_use].mission_timeout_s``.
_MIN_COMPUTER_ROUNDS = 40
diff --git a/jarvis/live/tools.py b/jarvis/live/tools.py
index 0accb8bc2f..fab01a4e9d 100644
--- a/jarvis/live/tools.py
+++ b/jarvis/live/tools.py
@@ -172,7 +172,7 @@ class LiveTools:
["approval_id"],
),
]
- # The screen is operated in many short rounds (ADR-0038): declare the
+ # The screen is operated in many short rounds (ADR-0039): declare the
# computer tool under its own name instead of behind discover/call_tool.
computer = next((d for d in self.catalog() if d.name == _DIRECT_TOOL), None)
if computer is not None:
diff --git a/jarvis/plugins/tool/computer.py b/jarvis/plugins/tool/computer.py
index 22024d0780..60c4df25b7 100644
--- a/jarvis/plugins/tool/computer.py
+++ b/jarvis/plugins/tool/computer.py
@@ -1,7 +1,7 @@
"""The ``computer`` tool: a live session's reasoning model operates the screen itself.
Voice-only, like ``screen_snapshot``: the supervisor gateway adds it to the
-live catalog (ADR-0038). The router stays a pure dispatcher (ADR-0011) and the
+live catalog (ADR-0039). The router stays a pure dispatcher (ADR-0011) and the
classic Computer-Use mission keeps serving text chat and scheduled tasks.
"""
diff --git a/jarvis/runs/runs_ws.py b/jarvis/runs/runs_ws.py
index bf25cc9485..172e2e422c 100644
--- a/jarvis/runs/runs_ws.py
+++ b/jarvis/runs/runs_ws.py
@@ -91,7 +91,11 @@ async def runs_live(ws: WebSocket) -> None:
await ws.close()
return
+ closed = False
+ close_code = 1000
+
async def _forward(event) -> None:
+ nonlocal closed, close_code
kind = type(event).__name__
if kind not in _LIVE_KINDS:
return
@@ -113,9 +117,11 @@ async def runs_live(ws: WebSocket) -> None:
# tab again. The receive loop's finally still closes the socket.
log.warning("runs_ws: send stalled >%ss — detaching the live view", _SEND_TIMEOUT_S)
bus.unsubscribe_all(_forward)
+ close_code = 1013
# Close rather than go silently stale; 1013 = try again later.
with contextlib.suppress(Exception):
await asyncio.wait_for(ws.close(code=1013), timeout=1.0)
+ closed = True
except Exception: # noqa: BLE001,S110 — socket gone; recv loop will terminate
pass
@@ -139,7 +145,8 @@ async def runs_live(ws: WebSocket) -> None:
except Exception as exc: # noqa: BLE001 — detach best-effort
log.debug("runs_ws: unsubscribe_all raised (%s) — ignoring", exc)
try:
- await ws.close()
+ if not closed:
+ await ws.close(code=close_code)
except Exception: # noqa: BLE001,S110
pass
diff --git a/jarvis/society/browser/window_actions.py b/jarvis/society/browser/window_actions.py
index d6f96c24a2..bcb9c56d40 100644
--- a/jarvis/society/browser/window_actions.py
+++ b/jarvis/society/browser/window_actions.py
@@ -67,8 +67,10 @@ def navigation_allowed(url: str, domains: list[str], *, manual: bool) -> bool:
return True
parsed = urlsplit(url)
for pattern in domains:
- target = urlsplit(pattern if "://" in pattern else "https://" + pattern)
- if "://" in pattern and target.scheme != parsed.scheme:
+ scheme, separator, address = pattern.partition("://")
+ # urlsplit cannot parse wildcard schemes such as the supported http*.
+ target = urlsplit("https://" + (address if separator else pattern))
+ if separator and not fnmatchcase(parsed.scheme, scheme.lower()):
continue
host = (target.hostname or "").lower()
candidate = (parsed.hostname or "").lower()
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 12cc5d5d81..ad58235ef0 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -2626,8 +2626,7 @@
"music": "Musik",
"keybinds": "Tastenkürzel",
"more": "Weiteres",
- "overlay_taskbar": "Overlay & Taskleiste",
- "permissions": null
+ "overlay_taskbar": "Overlay & Taskleiste"
},
"languages_group_title": "Sprachen",
"music_group_title": "Musik",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index b3c7cb79f9..9505674d9a 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -2626,8 +2626,7 @@
"music": "Music",
"keybinds": "Keyboard shortcuts",
"more": "More",
- "overlay_taskbar": "Overlay & taskbar",
- "permissions": null
+ "overlay_taskbar": "Overlay & taskbar"
},
"languages_group_title": "Languages",
"music_group_title": "Music",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index c2fab6dcb0..e1ba7b33fc 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -2626,8 +2626,7 @@
"music": "Música",
"keybinds": "Atajos de teclado",
"more": "Más",
- "overlay_taskbar": "Overlay y barra de tareas",
- "permissions": null
+ "overlay_taskbar": "Overlay y barra de tareas"
},
"languages_group_title": "Idiomas",
"music_group_title": "Música",
diff --git a/jarvis/ui/web/frontend/src/views/SessionsView.test.tsx b/jarvis/ui/web/frontend/src/views/SessionsView.test.tsx
index 3d5ea5e71f..26ad7b4eaf 100644
--- a/jarvis/ui/web/frontend/src/views/SessionsView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/SessionsView.test.tsx
@@ -92,7 +92,7 @@ describe("Transcription workspace", () => {
fireEvent.click(await screen.findByRole("option", { name: "JSON" }));
expect(screen.getByRole("link", { name: "Open file" }).getAttribute("href")).toBe("/api/sessions/voice%2Fone/export?format=json");
exportStatus = 500;
- const panel = screen.getByRole("combobox").closest(".transcript-export")!;
+ const panel = screen.getByRole("combobox").closest<HTMLElement>(".transcript-export")!;
fireEvent.click(within(panel).getByRole("button", { name: "Copy" }));
await waitFor(() => expect(screen.getByRole("alert").textContent).toMatch(/clipboard/i));
});
diff --git a/tests/contract/test_agent_mcp_harmony.py b/tests/contract/test_agent_mcp_harmony.py
index 314b512b23..7ff9027a42 100644
--- a/tests/contract/test_agent_mcp_harmony.py
+++ b/tests/contract/test_agent_mcp_harmony.py
@@ -48,6 +48,10 @@ COVERED: Final[dict[str, str]] = {
#: REST route -> why an MCP client does not get it. Each line is a decision.
WITHHELD: Final[dict[str, str]] = {
+ "POST /api/society/agents/{agent_id}/browser/restart": (
+ "native browser recovery is initiated by the owner in the browser panel; "
+ "remote clients must not interrupt the person's manual browser session"
+ ),
"GET /api/society/agents/{agent_id}/template": (
"the share draft is read in the owner's Share sheet; a remote client has "
"ecosystem_export for the design of the whole team"
diff --git a/tests/contract/test_browser_contract.py b/tests/contract/test_browser_contract.py
index 6b3b25ee7f..a19719bb23 100644
--- a/tests/contract/test_browser_contract.py
+++ b/tests/contract/test_browser_contract.py
@@ -591,7 +591,7 @@ async def test_viewer_disconnect_cancels_pending_takeover(monkeypatch, burst):
class Live:
async def subscribe(self, agent):
- return object(), asyncio.Queue()
+ return SimpleNamespace(state={}, generation="test-generation", control_owner=None), asyncio.Queue()
async def control(self, *args):
started.set()
diff --git a/tests/contract/test_browser_desktop_mcp.py b/tests/contract/test_browser_desktop_mcp.py
index 490deba71c..18114eb719 100644
--- a/tests/contract/test_browser_desktop_mcp.py
+++ b/tests/contract/test_browser_desktop_mcp.py
@@ -26,10 +26,14 @@ async def test_desktop_bootstrap_publishes_the_mcp_endpoint(monkeypatch):
def finish():
raise ProbeFinished()
+ async def prepare():
+ pass # The probe stops before serving; no application mounting is needed.
+
probe = SimpleNamespace(
bus=EventBus(),
cfg=SimpleNamespace(ui=SimpleNamespace(admin_api_port=48123)),
_voice_ready=True,
+ prepare_app=prepare,
_schedule_anyio_pool_warm=finish,
)
with pytest.raises(ProbeFinished):
diff --git a/tests/contract/test_browser_live.py b/tests/contract/test_browser_live.py
index 84bff0ff58..6453b7962d 100644
--- a/tests/contract/test_browser_live.py
+++ b/tests/contract/test_browser_live.py
@@ -642,6 +642,8 @@ async def test_login_profile_survives_restart_and_stays_with_its_agent(live, sit
other = SimpleNamespace(
agent_id="isolated", model="", browser_allowed_domains=["http*://127.0.0.1"]
)
+ live.profiles.assign(first.agent_id, "own", None)
+ live.profiles.assign(other.agent_id, "own", None)
async def visit(agent, path):
session, _ = await live.subscribe(agent)
@@ -653,6 +655,7 @@ async def test_login_profile_survives_restart_and_stays_with_its_agent(live, sit
try:
await visit(first, "/login")
await live.close()
+ live = LiveSessions(live.data_dir)
restored = await visit(first, "/account?restored")
isolated = await visit(other, "/account?other")
assert restored is not isolated
@@ -667,6 +670,8 @@ async def test_crashed_worker_recovers_without_touching_the_other_agent(live):
one = SimpleNamespace(agent_id="crash", model="", browser_allowed_domains=[])
two = SimpleNamespace(agent_id="survivor", model="", browser_allowed_domains=[])
+ live.profiles.assign(one.agent_id, "own", None)
+ live.profiles.assign(two.agent_id, "own", None)
try:
old, _ = await live.subscribe(one)
survivor, _ = await live.subscribe(two)
diff --git a/tests/contract/test_coding_image_handoff.py b/tests/contract/test_coding_image_handoff.py
index 06eba1d4a0..57c168a99d 100644
--- a/tests/contract/test_coding_image_handoff.py
+++ b/tests/contract/test_coding_image_handoff.py
@@ -338,7 +338,9 @@ async def test_changed_image_selection_is_a_new_assignment(delivery):
# A finished CLI is ready for a second independent work order.
term.transcript.feed("\x1b[2J\x1b[H❯ ")
term.last_submit_at = None
- second = await tool.execute({**args, "image_refs": [refs[1]]}, ctx)
+ reused = await tool.execute({**args, "image_refs": [refs[1]]}, ctx)
+ assert not reused.success # A spent request ID cannot authorize different bytes.
+ second, _ = await assignment(delivery, ctx, "send", [refs[1]])
assert second.success, second
assert second.output["images"][0]["image_ref"] == refs[1]
assert len(term.prompt_records) == 2
diff --git a/tests/contract/test_gpt_live.py b/tests/contract/test_gpt_live.py
index 82a145be01..1f4be1a7fb 100644
--- a/tests/contract/test_gpt_live.py
+++ b/tests/contract/test_gpt_live.py
@@ -547,7 +547,7 @@ def test_disabled_computer_use_does_not_expose_its_primitives(monkeypatch):
assert not {"click", "computer"} & {d.name for d in gateway.voice_catalog()}
setting.enabled = True
names = {d.name for d in gateway.voice_catalog()}
- # ADR-0038: the live model operates the screen with ``computer``; raw
+ # ADR-0039: the live model operates the screen with ``computer``; raw
# screen-unit primitives are not offered beside it.
assert "computer" in names
assert "click" not in names
diff --git a/tests/contract/test_live_computer.py b/tests/contract/test_live_computer.py
index c05c5fad9d..0f3a0287e2 100644
--- a/tests/contract/test_live_computer.py
+++ b/tests/contract/test_live_computer.py
@@ -1,4 +1,4 @@
-"""Live sessions declare ``computer`` directly and never reach a second CU model (ADR-0038)."""
+"""Live sessions declare ``computer`` directly and never reach a second CU model (ADR-0039)."""
from __future__ import annotations
diff --git a/tests/unit/brain/test_persona_loader.py b/tests/unit/brain/test_persona_loader.py
index ef20f03463..259955eceb 100644
--- a/tests/unit/brain/test_persona_loader.py
+++ b/tests/unit/brain/test_persona_loader.py
@@ -41,13 +41,13 @@ def test_extract_fence_returns_code_block_body() -> None:
"Be concise.\n"
"```\n"
"\n"
- "## Quellen\n"
+ "## Sources\n"
)
block = _extract_fence_after_marker(md)
assert "You are JARVIS." in block
assert "Be concise." in block
- # The "Quellen" section after it must not be included
- assert "Quellen" not in block
+ # The "Sources" section after it must not be included
+ assert "Sources" not in block
def test_extract_fence_ignores_fences_before_marker() -> None:
@@ -97,11 +97,10 @@ def test_load_persona_prompt_extracts_real_persona(monkeypatch) -> None:
assert "LANGUAGE POLICY" in prompt
# Mandate phase 2: ECHO-PARAPHRASE section right after OUTPUT RULES
assert "ECHO-PARAPHRASE" in prompt
- # The hangup contract must be in the persona block, otherwise it never
- # reaches the brain (probe drift scenario 10: 'Bis dann.' instead of a
- # clear farewell).
- # The farewell is now profile-name-driven — no hardcoded owner name.
- assert "Goodbye" in prompt or "Auf Wiedersehen" in prompt # i18n-allow
+ # The host-owned two-turn confirmation must reach the brain. A farewell
+ # alone must never be presented as sufficient consent to end the call.
+ assert "Voice hang-up always requires confirmation" in prompt
+ assert "separate explicit yes" in prompt
def test_compact_persona_is_a_real_distillation() -> None:
diff --git a/tests/unit/cu/indicator/test_controller_esc_honesty.py b/tests/unit/cu/indicator/test_controller_esc_honesty.py
index 94a96e2d1b..ebbc01e35a 100644
--- a/tests/unit/cu/indicator/test_controller_esc_honesty.py
+++ b/tests/unit/cu/indicator/test_controller_esc_honesty.py
@@ -31,7 +31,8 @@ def _controller(monkeypatch: pytest.MonkeyPatch) -> tuple[CUIndicatorController,
ctl = CUIndicatorController(EventBus())
hints: list[str] = []
- async def record_show(*, hint: str, required: bool) -> bool:
+ async def record_show(*, hint: str, required: bool, pointer: bool) -> bool:
+ assert pointer is True
hints.append(hint)
return True
diff --git a/tests/unit/cu/test_direct.py b/tests/unit/cu/test_direct.py
index 9ad585dab9..d626bbebcb 100644
--- a/tests/unit/cu/test_direct.py
+++ b/tests/unit/cu/test_direct.py
@@ -1,4 +1,4 @@
-"""The ``computer`` tool: the live reasoning model operates the screen itself (ADR-0038)."""
+"""The ``computer`` tool: the live reasoning model operates the screen itself (ADR-0039)."""
from __future__ import annotations
@@ -457,3 +457,28 @@ async def test_a_click_lets_the_visible_agent_pointer_arrive_and_dip_first(monke
result = await _click(computer, shot)
assert result["success"] is True
assert order == ["press", "click"]
+
+
[email protected]("granted", [False, True])
+def test_direct_macos_access_uses_the_just_in_time_service(monkeypatch, granted):
+ from jarvis.platform.permissions import PermissionId, PermissionState
+
+ calls = []
+
+ def ensure(permission, **options):
+ calls.append((permission, options))
+ return SimpleNamespace(
+ granted=granted,
+ agent_detail="" if granted else "[permission_needed:screen_recording] Ask the user.",
+ state=PermissionState.GRANTED if granted else PermissionState.DENIED,
+ )
+
+ monkeypatch.setattr(
+ "jarvis.platform.permission_service.get_permission_service",
+ lambda: SimpleNamespace(ensure=ensure),
+ )
+ missing = direct._macos_missing(("screen_recording",))
+ assert calls == [(PermissionId.SCREEN_RECORDING, {"feature": "computer_use", "wait_s": 0.0})]
+ assert bool(missing) is not granted
+ if not granted:
+ assert "permission_needed" in missing[0][1]
diff --git a/tests/unit/live/test_subscription_computer.py b/tests/unit/live/test_subscription_computer.py
index 5616742984..ea15e32527 100644
--- a/tests/unit/live/test_subscription_computer.py
+++ b/tests/unit/live/test_subscription_computer.py
@@ -1,4 +1,4 @@
-"""The subscription thinking model operates the screen itself (ADR-0038)."""
+"""The subscription thinking model operates the screen itself (ADR-0039)."""
from __future__ import annotations
diff --git a/tests/unit/marketplace/test_token_store.py b/tests/unit/marketplace/test_token_store.py
index fcac3364d1..644294a2c9 100644
--- a/tests/unit/marketplace/test_token_store.py
+++ b/tests/unit/marketplace/test_token_store.py
@@ -5,6 +5,8 @@ revoked token is KEPT and flagged, so a connected plugin never silently
disappears across an app close / PC restart.
"""
+import re
+
import pytest
from jarvis.marketplace.token_store import (
@@ -64,7 +66,7 @@ class _PartialOverflowDeleteBackend(_SizeLimitedFakeBackend):
blocked_chunk_index = 1
def delete(self, key: str) -> None:
- if key.endswith(f"__{self.blocked_chunk_index}") and not self.allow_blocked_chunk_delete:
+ if re.search(rf"__(?:b[01]_)?{self.blocked_chunk_index}$", key) and not self.allow_blocked_chunk_delete:
return
super().delete(key)
@@ -191,8 +193,9 @@ def test_chunked_backend_set_success_leaves_no_orphan_chunks_when_shrinking():
assert backend.get("plugin_gmail_tokens") == "b" * 30
assert set(primitive.store) == {
"plugin_gmail_tokens",
- "plugin_gmail_tokens__0",
- "plugin_gmail_tokens__1",
+ "plugin_gmail_tokens__b1_0",
+ "plugin_gmail_tokens__b1_1",
+ "plugin_gmail_tokens__b1_extent",
}
@@ -265,15 +268,15 @@ def test_store_delete_keeps_manifest_until_every_indexed_chunk_is_removed():
store.delete("gmail")
assert backend.store[primary_key] == manifest
- assert f"{primary_key}__0" not in backend.store
- assert backend.store[f"{primary_key}__1"]
+ assert f"{primary_key}__b0_0" not in backend.store
+ assert backend.store[f"{primary_key}__b0_1"]
# The retry must use the retained manifest, skip the already-missing zero
# index, and still detect chunk one instead of falsely reporting success.
with pytest.raises(RuntimeError):
store.delete("gmail")
assert backend.store[primary_key] == manifest
- assert backend.store[f"{primary_key}__1"]
+ assert backend.store[f"{primary_key}__b0_1"]
backend.allow_blocked_chunk_delete = True
store.delete("gmail")
@@ -288,13 +291,13 @@ def test_shrink_persists_cleanup_extent_across_restart_until_delete_succeeds():
chunked.set(key, "secret" * 20)
# Shrinking replaces the active chunk header with a plain value. Chunk zero
- # is removed, chunk one silently remains, and later chunks are still tried.
+ # is removed, chunk one silently remains, and its bank extent stays durable.
chunked.set(key, "small")
assert chunked.get(key) == "small"
- assert f"{key}__0" not in backend.store
- assert backend.store[f"{key}__1"]
- extent = backend.store[f"{key}__extent"]
+ assert f"{key}__b0_0" not in backend.store
+ assert backend.store[f"{key}__b0_1"]
+ extent = backend.store[f"{key}__b0_extent"]
assert int(extent) == 6
# Rebuild both wrappers to model an application restart. Explicit deletion
@@ -306,8 +309,8 @@ def test_shrink_persists_cleanup_extent_across_restart_until_delete_succeeds():
restarted.delete("gmail")
assert backend.store[key] == "small"
- assert backend.store[f"{key}__extent"] == extent
- assert backend.store[f"{key}__1"]
+ assert backend.store[f"{key}__b0_extent"] == extent
+ assert backend.store[f"{key}__b0_1"]
backend.allow_blocked_chunk_delete = True
restarted.delete("gmail")
diff --git a/tests/unit/realtime/test_internal_message_regression.py b/tests/unit/realtime/test_internal_message_regression.py
index 7fa0e808e5..e8d75c7c77 100644
--- a/tests/unit/realtime/test_internal_message_regression.py
+++ b/tests/unit/realtime/test_internal_message_regression.py
@@ -93,7 +93,10 @@ async def test_new_request_after_confirmation_can_ask_again():
],
)
def test_acoustically_grounded_answer_is_not_discarded_as_text_echo(language, text):
+ from jarvis.speech.hangup import HangupConfirmation
+
session = object.__new__(RealtimeVoiceSession)
+ session._hangup_confirmation = HangupConfirmation()
now = time.monotonic()
session._tool_bridge = SimpleNamespace(has_pending_confirmation=True)
session._language = language
diff --git a/tests/unit/society/test_browser_pointer.py b/tests/unit/society/test_browser_pointer.py
index 9616e2516b..0e4ea33dca 100644
--- a/tests/unit/society/test_browser_pointer.py
+++ b/tests/unit/society/test_browser_pointer.py
@@ -65,8 +65,10 @@ async def test_native_upgrade_waits_for_the_active_browser_task(tmp_path):
pytest.skip("Windows native-session upgrade")
live = LiveSessions(tmp_path)
old = SimpleNamespace(closed=False, state={"full_window": False},
- run_lock=asyncio.Lock(), control_owner=None, window_upgrade_pending=False)
+ run_lock=asyncio.Lock(), control_lock=asyncio.Lock(),
+ control_owner=None, window_upgrade_pending=False)
agent = SimpleNamespace(agent_id="busy", browser_mode="own")
+ live.profiles.assign(agent.agent_id, "own", None)
old.profile_binding = live.profiles.resolve(agent)
old.profile_lease = None
live.sessions["busy"] = old
diff --git a/tests/unit/society/test_browser_window_actions.py b/tests/unit/society/test_browser_window_actions.py
index 4d483b2933..e6e7612c60 100644
--- a/tests/unit/society/test_browser_window_actions.py
+++ b/tests/unit/society/test_browser_window_actions.py
@@ -87,6 +87,10 @@ def test_native_navigation_cannot_escape_domain_restrictions_but_manual_login_ca
assert not navigation_allowed("https://x.com.evil.example/", ["x.com"], manual=False)
assert not navigation_allowed("https://other.example/", ["x.com"], manual=False)
assert navigation_allowed("https://accounts.google.com/", ["x.com"], manual=True)
+ assert navigation_allowed("http://127.0.0.1:8000/download", ["http*://127.0.0.1"], manual=False)
+ assert navigation_allowed("https://example.com/upload", ["http*://example.com"], manual=False)
+ assert not navigation_allowed("https://example.com.evil.test/", ["http*://example.com"], manual=False)
+ assert not navigation_allowed("http://example.com/", ["https://example.com"], manual=False)
async def test_domain_restricted_agent_never_receives_full_window_or_uses_old_observation():
diff --git a/tests/unit/speech/test_live_call_agent_replies.py b/tests/unit/speech/test_live_call_agent_replies.py
index f42c6b254c..2bfaaed2fe 100644
--- a/tests/unit/speech/test_live_call_agent_replies.py
+++ b/tests/unit/speech/test_live_call_agent_replies.py
@@ -63,7 +63,7 @@ def quick_batch(monkeypatch):
@pytest.fixture
-def live():
+async def live():
call = FakeLiveCall()
live_runtime.register(call)
try:
@@ -155,17 +155,17 @@ async def test_simultaneous_results_are_one_report_and_later_ones_follow(live):
@pytest.mark.asyncio
-async def test_unvoiced_report_is_offered_again_then_handed_to_the_next_call(live):
+async def test_unvoiced_report_waits_for_the_next_call_without_repeating_inference(live):
pipe, _, _ = browser_call_pipeline()
await pipe._on_announcement(result())
await settle()
assert len(live.calls) == 1
- limit = pipeline_mod._LIVE_REPLY_MAX_ATTEMPTS
- for failures in range(1, limit + 1):
- live.finish_report(voiced=False)
+ live.finish_report(voiced=False)
+ pipe.live_call_paused(live)
+ for _ in range(pipeline_mod._LIVE_REPLY_MAX_ATTEMPTS):
pipe.live_call_paused(live)
await asyncio.sleep(0.2)
- assert len(live.calls) == min(failures + 1, limit)
+ assert len(live.calls) == 1
assert pipe._agent_reply_inflight is None
assert len(pipe._agent_reply_retries) == 1
@@ -271,7 +271,7 @@ async def test_muted_live_call_keeps_the_result_until_unmuted(live):
assert len(live.calls) == 1
-def test_desktop_realtime_handle_still_wins_over_a_live_call(live):
+async def test_desktop_realtime_handle_still_wins_over_a_live_call(live):
pipe, _, _ = browser_call_pipeline()
handle = object()
pipe._active_realtime_handle = handle
@@ -280,7 +280,7 @@ def test_desktop_realtime_handle_still_wins_over_a_live_call(live):
assert pipe._realtime_voice_handle() is live
-def test_a_desktop_driven_live_session_keeps_the_desktop_bookkeeping():
+async def test_a_desktop_driven_live_session_keeps_the_desktop_bookkeeping():
pipe, _, _ = browser_call_pipeline()
desktop = FakeLiveCall("desktop-call")
desktop.surface = "desktop"
diff --git a/tests/unit/ui/test_desktop_realtime_transport_warm.py b/tests/unit/ui/test_desktop_realtime_transport_warm.py
index c934d1db20..73fb667fb8 100644
--- a/tests/unit/ui/test_desktop_realtime_transport_warm.py
+++ b/tests/unit/ui/test_desktop_realtime_transport_warm.py
@@ -261,11 +261,15 @@ def test_warm_is_not_scheduled_from_the_heavy_backend(monkeypatch):
before the transport it triggers.
"""
import inspect
+ import ast
+ import textwrap
source = inspect.getsource(DesktopApp._run_backend)
- heavy_start = source.index("async def _heavy_backend_bg()")
- heavy_end = source.index('loop.create_task(_heavy_backend_bg()')
- heavy_body = source[heavy_start:heavy_end]
+ parsed_source = textwrap.dedent(source)
+ heavy = next(node for node in ast.walk(ast.parse(parsed_source))
+ if isinstance(node, ast.AsyncFunctionDef) and node.name == "_heavy_backend_bg")
+ heavy_body = ast.get_source_segment(parsed_source, heavy)
+ assert heavy_body is not None
assert "realtime-transport-warm" in source
assert "realtime-transport-warm" not in heavy_body
diff --git a/tests/unit/ui/web/test_society_routes.py b/tests/unit/ui/web/test_society_routes.py
index 6f0f2b4d77..e37000cb6a 100644
--- a/tests/unit/ui/web/test_society_routes.py
+++ b/tests/unit/ui/web/test_society_routes.py
@@ -333,11 +333,17 @@ def test_browser_routes(client, tmp_path, monkeypatch):
c.post("/api/society/agents", json={"name": "Scout"})
per_agent = c.get("/api/society/agents/scout/browser").json()
assert per_agent["installed"] is False and per_agent["mode"] == "own"
- assert per_agent["logged_in_profile"] is False
- # Not installed: a login session is refused with a typed reason.
+ assert per_agent["logged_in_profile"] is None # An unopened profile has unverified login state.
+ # On-demand setup failures remain typed; this unit test never provisions a runtime.
+ from jarvis.society.browser import install as install_mod
+
+ def unavailable(*_args, **_kwargs):
+ raise RuntimeError("Fixture browser setup is unavailable")
+
+ monkeypatch.setattr(install_mod, "ensure_installed", unavailable)
refused = c.post("/api/society/agents/scout/browser/login", json={})
assert refused.status_code == 409
- assert refused.json()["detail"]["reason"] == "blocked_by_policy"
+ assert refused.json()["detail"]["reason"] == "target_busy"
assert c.post("/api/society/agents/scout/browser/login/done").json()["closed"] is False
# Attach mode is a roster field with its own check.
patched = c.patch("/api/society/agents/scout", json={"browser_mode": "attach"}).json()
diff --git a/uv.lock b/uv.lock
index f6bc3d2c04..124b5617eb 100644
--- a/uv.lock
+++ b/uv.lock
@@ -5,17 +5,21 @@ resolution-markers = [
"python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"(python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version >= '3.14' and sys_platform == 'linux'",
- "python_full_version >= '3.14' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.13.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"python_full_version == '3.13.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"(python_full_version == '3.13.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version == '3.13.*' and sys_platform == 'linux'",
"python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.12.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
- "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version == '3.12.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"python_full_version < '3.12' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"(python_full_version == '3.12.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
@@ -2399,13 +2403,16 @@ version = "2.1.3"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
"python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.13.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"(python_full_version == '3.13.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version == '3.13.*' and sys_platform == 'linux'",
"python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.12.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
- "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"(python_full_version == '3.12.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"(python_full_version < '3.12' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux'",
@@ -2464,7 +2471,8 @@ resolution-markers = [
"python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"(python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version >= '3.14' and sys_platform == 'linux'",
- "python_full_version >= '3.14' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"python_full_version == '3.13.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"python_full_version == '3.12.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
@@ -2589,11 +2597,14 @@ version = "1.23.2"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
"python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.13.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.12.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
- "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
]
dependencies = [
{ name = "coloredlogs", marker = "python_full_version < '3.14' and sys_platform == 'darwin'" },
@@ -2858,14 +2869,17 @@ cuda = [
{ name = "nvidia-cudnn-cu12", marker = "sys_platform != 'darwin'" },
]
desktop = [
+ { name = "av", marker = "platform_machine != 'ARM64' or sys_platform != 'win32'" },
{ name = "comtypes", marker = "sys_platform == 'win32'" },
{ name = "global-hotkeys", marker = "sys_platform == 'win32'" },
{ name = "mss" },
{ name = "ptyprocess", marker = "sys_platform != 'win32'" },
{ name = "pyautogui" },
{ name = "pycaw", marker = "sys_platform == 'win32'" },
- { name = "pynput", marker = "sys_platform == 'darwin'" },
- { name = "pyside6-essentials", marker = "platform_machine != 'aarch64' or sys_platform != 'linux'" },
+ { name = "pynput", marker = "sys_platform == 'darwin' or sys_platform == 'win32'" },
+ { name = "pyside6-addons", marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "pystray" },
{ name = "pywebview" },
{ name = "pywin32", marker = "sys_platform == 'win32'" },
@@ -2889,7 +2903,7 @@ desktop-macos = [
{ name = "pyobjc-framework-screencapturekit", marker = "sys_platform == 'darwin'" },
]
dev = [
- { name = "av", marker = "platform_machine == 'arm64' and sys_platform == 'darwin'" },
+ { name = "av", marker = "platform_machine != 'ARM64' or sys_platform != 'win32'" },
{ name = "comtypes", marker = "sys_platform == 'win32'" },
{ name = "faster-whisper", marker = "(python_full_version < '3.14' and sys_platform == 'darwin') or (platform_machine != 'ARM64' and sys_platform == 'win32') or (sys_platform != 'darwin' and sys_platform != 'win32')" },
{ name = "global-hotkeys", marker = "sys_platform == 'win32'" },
@@ -2900,8 +2914,10 @@ dev = [
{ name = "pyautogui" },
{ name = "pycaw", marker = "sys_platform == 'win32'" },
{ name = "pyinstaller" },
- { name = "pynput", marker = "sys_platform == 'darwin'" },
- { name = "pyside6-essentials", marker = "platform_machine != 'aarch64' or sys_platform != 'linux'" },
+ { name = "pynput", marker = "sys_platform == 'darwin' or sys_platform == 'win32'" },
+ { name = "pyside6-addons", marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "pystray" },
{ name = "pytest" },
{ name = "pytest-asyncio" },
@@ -2921,7 +2937,7 @@ dev = [
{ name = "winrt-windows-media-control", marker = "sys_platform == 'win32'" },
]
full = [
- { name = "av", marker = "platform_machine == 'arm64' and sys_platform == 'darwin'" },
+ { name = "av", marker = "platform_machine != 'ARM64' or sys_platform != 'win32'" },
{ name = "comtypes", marker = "sys_platform == 'win32'" },
{ name = "discord-py" },
{ name = "faster-whisper", marker = "(python_full_version < '3.14' and sys_platform == 'darwin') or (platform_machine != 'ARM64' and sys_platform == 'win32') or (sys_platform != 'darwin' and sys_platform != 'win32')" },
@@ -2930,13 +2946,15 @@ full = [
{ name = "ptyprocess", marker = "sys_platform != 'win32'" },
{ name = "pyautogui" },
{ name = "pycaw", marker = "sys_platform == 'win32'" },
- { name = "pynput", marker = "sys_platform == 'darwin'" },
+ { name = "pynput", marker = "sys_platform == 'darwin' or sys_platform == 'win32'" },
{ name = "pyobjc-framework-accessibility", marker = "sys_platform == 'darwin'" },
{ name = "pyobjc-framework-applicationservices", marker = "sys_platform == 'darwin'" },
{ name = "pyobjc-framework-avfoundation", marker = "sys_platform == 'darwin'" },
{ name = "pyobjc-framework-quartz", marker = "sys_platform == 'darwin'" },
{ name = "pyobjc-framework-screencapturekit", marker = "sys_platform == 'darwin'" },
- { name = "pyside6-essentials", marker = "platform_machine != 'aarch64' or sys_platform != 'linux'" },
+ { name = "pyside6-addons", marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
+ { name = "pyside6-essentials", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "pystray" },
{ name = "pywebview" },
{ name = "pywin32", marker = "sys_platform == 'win32'" },
@@ -2987,6 +3005,7 @@ requires-dist = [
{ name = "av", marker = "platform_machine == 'arm64' and sys_platform == 'darwin'", specifier = "==15.1.0" },
{ name = "av", marker = "platform_machine == 'arm64' and sys_platform == 'darwin' and extra == 'local-voice'", specifier = "==15.1.0" },
{ name = "av", marker = "platform_machine == 'arm64' and sys_platform == 'darwin' and extra == 'tts-eval'", specifier = "==15.1.0" },
+ { name = "av", marker = "(platform_machine != 'ARM64' and extra == 'desktop') or (sys_platform != 'win32' and extra == 'desktop')", specifier = ">=14" },
{ name = "click", specifier = ">=8.1" },
{ name = "comtypes", marker = "sys_platform == 'win32' and extra == 'desktop'", specifier = ">=1.2" },
{ name = "croniter", specifier = ">=6.0" },
@@ -3038,7 +3057,7 @@ requires-dist = [
{ name = "pydantic-settings", specifier = ">=2.6" },
{ name = "pyinstaller", marker = "extra == 'dev'", specifier = ">=6.11" },
{ name = "pyjwt", specifier = ">=2.14.0" },
- { name = "pynput", marker = "sys_platform == 'darwin' and extra == 'desktop'", specifier = ">=1.7" },
+ { name = "pynput", marker = "(sys_platform == 'darwin' and extra == 'desktop') or (sys_platform == 'win32' and extra == 'desktop')", specifier = ">=1.7" },
{ name = "pynput", marker = "sys_platform == 'linux' and extra == 'desktop-linux'", specifier = ">=1.7" },
{ name = "pyobjc-framework-accessibility", marker = "sys_platform == 'darwin' and extra == 'desktop-macos'", specifier = ">=10" },
{ name = "pyobjc-framework-applicationservices", marker = "sys_platform == 'darwin' and extra == 'desktop-macos'", specifier = ">=10" },
@@ -3046,6 +3065,7 @@ requires-dist = [
{ name = "pyobjc-framework-quartz", marker = "sys_platform == 'darwin' and extra == 'desktop-macos'", specifier = ">=10" },
{ name = "pyobjc-framework-screencapturekit", marker = "sys_platform == 'darwin' and extra == 'desktop-macos'", specifier = ">=10" },
{ name = "pypdf", specifier = ">=6.16.1" },
+ { name = "pyside6-addons", marker = "platform_machine != 'aarch64' and sys_platform == 'linux' and extra == 'desktop'", specifier = ">=6.7" },
{ name = "pyside6-essentials", marker = "(platform_machine != 'aarch64' and extra == 'desktop') or (sys_platform != 'linux' and extra == 'desktop')", specifier = ">=6.7" },
{ name = "pystray", marker = "extra == 'desktop'", specifier = ">=0.19" },
{ name = "pytest", marker = "extra == 'dev'", specifier = ">=8.3" },
@@ -3692,11 +3712,11 @@ name = "pynput"
version = "1.8.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "evdev", marker = "(sys_platform == 'darwin' and 'linux' in sys_platform) or (sys_platform == 'linux' and 'linux' in sys_platform)" },
+ { name = "evdev", marker = "'linux' in sys_platform" },
{ name = "pyobjc-framework-applicationservices", marker = "sys_platform == 'darwin'" },
{ name = "pyobjc-framework-quartz", marker = "sys_platform == 'darwin'" },
- { name = "python-xlib", marker = "(sys_platform == 'darwin' and 'linux' in sys_platform) or (sys_platform == 'linux' and 'linux' in sys_platform)" },
- { name = "six", marker = "sys_platform == 'darwin' or sys_platform == 'linux'" },
+ { name = "python-xlib", marker = "'linux' in sys_platform" },
+ { name = "six" },
]
sdist = { url = "https://files.pythonhosted.org/packages/86/c6/e2d415610cfbc78308bee44218a46124aaa3301b1df08814df819b2254a1/pynput-1.8.2.tar.gz", hash = "sha256:f493c87157cd3861b4468f7f896857051762f44ed26f1b641e7cc5840a457087", size = 82818, upload-time = "2026-05-12T19:11:39.464Z" }
wheels = [
@@ -3993,21 +4013,73 @@ dependencies = [
]
sdist = { url = "https://files.pythonhosted.org/packages/ee/f0/cb456ac4f1a73723d5b866933b7986f02bacea27516629c00f8e7da94c2d/pyscreeze-1.0.1.tar.gz", hash = "sha256:cf1662710f1b46aa5ff229ee23f367da9e20af4a78e6e365bee973cad0ead4be", size = 27826, upload-time = "2024-08-20T23:03:07.291Z" }
+[[package]]
+name = "pyside6-addons"
+version = "6.11.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pyside6-essentials", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'linux'" },
+ { name = "shiboken6", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'linux'" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/28/cd/ce470e20f68901f4dfa5f742d6a3a58ba865684a232e4b87d5a1a2179cc0/pyside6_addons-6.11.2-cp310-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:a8b00956925fbdeffc7052cf933506391289f35ac4f3f71a0a167ec195cd47b4", size = 175062576, upload-time = "2026-08-18T06:35:45.583Z" },
+ { url = "https://files.pythonhosted.org/packages/11/bd/f725a8984703612c72cd17d0871d047132bacaccc13fc0d288a5e8a37dad/pyside6_addons-6.11.2-cp310-abi3-manylinux_2_39_aarch64.whl", hash = "sha256:a2ca3c73e5f060d4aca49451abd9fba68dd0e1c66ff40cea3a1fe0415def579a", size = 170827254, upload-time = "2026-08-18T06:35:56.675Z" },
+]
+
[[package]]
name = "pyside6-essentials"
version = "6.11.1"
source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "(python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "python_full_version >= '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "python_full_version == '3.13.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "(python_full_version == '3.13.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "python_full_version < '3.12' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "(python_full_version == '3.12.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "(python_full_version < '3.12' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+]
dependencies = [
- { name = "shiboken6" },
+ { name = "shiboken6", version = "6.11.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/b3/da/10d9197e7370eb4fed8df5fc547b7548dec88e5c5949e2d450db4ae96feb/pyside6_essentials-6.11.1-cp310-abi3-macosx_13_0_universal2.whl", hash = "sha256:228de53c2bc26b07e5021fbe3614fc44ca08e4dab9999af08c2b389d2c239957", size = 110352945, upload-time = "2026-05-13T09:43:08.006Z" },
- { url = "https://files.pythonhosted.org/packages/5c/49/0e1237c4400bec7e335d2c4eeb49bc40d9fd88a9ac44ca9083ce1abdc308/pyside6_essentials-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:e3ef7027b41e4e55fadb56e3b3257dc8ee92154b639fe67fc4c8e05e9d976c60", size = 79908535, upload-time = "2026-05-13T09:43:24.836Z" },
- { url = "https://files.pythonhosted.org/packages/4c/c5/da4c5f23c6540ac5211a1f60177c8dee84b1bf40f2719479587ab8c60731/pyside6_essentials-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl", hash = "sha256:a039b6da68a3a4b9d243217b2b98d475eed3f617159ef6be925badab53c11b0d", size = 78960051, upload-time = "2026-05-13T09:43:35.423Z" },
{ url = "https://files.pythonhosted.org/packages/64/0e/b663ecc96ca57b5c91b83b6615d6b174380b0faf30338125c26e053d6aa7/pyside6_essentials-6.11.1-cp310-abi3-win_amd64.whl", hash = "sha256:63311bd48e32c584599ab04b9ef7c324082374cd2c9fa533f978fb893bb47e40", size = 77549267, upload-time = "2026-05-13T09:43:44.92Z" },
{ url = "https://files.pythonhosted.org/packages/f1/12/eb6723faf5cb7fa581145da1c15f40d641b96e080f0491af2f1859fdeedb/pyside6_essentials-6.11.1-cp310-abi3-win_arm64.whl", hash = "sha256:11253ea52aabecefe9febddbbe78b43a824129e3af1cec98431028fba7fa954f", size = 57964512, upload-time = "2026-05-13T09:43:52.968Z" },
]
+[[package]]
+name = "pyside6-essentials"
+version = "6.11.2"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.14' and sys_platform == 'linux'",
+ "python_full_version == '3.13.*' and sys_platform == 'linux'",
+ "python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux'",
+ "python_full_version == '3.12.*' and sys_platform == 'linux'",
+ "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'linux'",
+]
+dependencies = [
+ { name = "shiboken6", version = "6.11.2", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'linux'" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0e/1a/84a84bbc75835ee88abdcb66eb875b8e1a21834af9b833bc1893f2c1bfaf/pyside6_essentials-6.11.2-cp310-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:aaf9f25f0f324874085fa5b26a610318db8a8e243cf85bb3e5400595191c7778", size = 80108947, upload-time = "2026-08-18T06:36:40.637Z" },
+ { url = "https://files.pythonhosted.org/packages/60/4c/d92b08a2151d095b9a3725fa0e71b215ec686d40bbd5d8b702d21a9b5eaa/pyside6_essentials-6.11.2-cp310-abi3-manylinux_2_39_aarch64.whl", hash = "sha256:d3ec6e1885c46e57f16364f38ea8040ffc5dc0b18341058f608fede3ba930567", size = 79575497, upload-time = "2026-08-18T06:36:46.97Z" },
+]
+
[[package]]
name = "pystray"
version = "0.19.5"
@@ -4113,7 +4185,7 @@ name = "python-xlib"
version = "0.33"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "six", marker = "sys_platform == 'darwin' or sys_platform == 'linux'" },
+ { name = "six" },
]
sdist = { url = "https://files.pythonhosted.org/packages/86/f5/8c0653e5bb54e0cbdfe27bf32d41f27bc4e12faa8742778c17f2a71be2c0/python-xlib-0.33.tar.gz", hash = "sha256:55af7906a2c75ce6cb280a584776080602444f75815a7aff4d287bb2d7018b32", size = 269068, upload-time = "2022-12-25T18:53:00.824Z" }
wheels = [
@@ -4535,7 +4607,8 @@ version = "1.17.1"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version < '3.12' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"(python_full_version < '3.12' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux'",
@@ -4617,15 +4690,18 @@ resolution-markers = [
"python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
"(python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version >= '3.14' and sys_platform == 'linux'",
- "python_full_version >= '3.14' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.13.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"python_full_version == '3.13.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"(python_full_version == '3.13.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version == '3.13.*' and sys_platform == 'linux'",
"python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
- "python_full_version == '3.12.*' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
"python_full_version == '3.12.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
"(python_full_version == '3.12.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
"python_full_version == '3.12.*' and sys_platform == 'linux'",
@@ -4753,14 +4829,50 @@ wheels = [
name = "shiboken6"
version = "6.11.1"
source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.14' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "(python_full_version >= '3.14' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "python_full_version >= '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.13.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version >= '3.14' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "python_full_version == '3.13.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "(python_full_version == '3.13.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.13.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "python_full_version == '3.12.*' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine == 'arm64' and sys_platform == 'darwin'",
+ "python_full_version < '3.12' and platform_machine != 'arm64' and platform_machine != 'x86_64' and sys_platform == 'darwin'",
+ "python_full_version == '3.12.*' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "python_full_version < '3.12' and platform_machine == 'ARM64' and sys_platform == 'win32'",
+ "(python_full_version == '3.12.*' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+ "(python_full_version < '3.12' and platform_machine != 'ARM64' and sys_platform == 'win32') or (python_full_version < '3.12' and sys_platform != 'darwin' and sys_platform != 'linux' and sys_platform != 'win32')",
+]
wheels = [
{ url = "https://files.pythonhosted.org/packages/17/f3/f2b63df0251e7cd3172ea28e32ede52739de9566bcefcd0178681538ac81/shiboken6-6.11.1-cp310-abi3-macosx_13_0_universal2.whl", hash = "sha256:1a16867f103ef1c662a5f09dfed03273a9f81688b174555162c58e83650a3f02", size = 476874, upload-time = "2026-05-13T09:47:01.091Z" },
- { url = "https://files.pythonhosted.org/packages/c7/9b/e0355d8897b5c150770f1d95718aad17d432fcc9c035c04f3f58427d4693/shiboken6-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9a8bccfafc8805254cabcfa1edfaf55cd52889f4998c91ad0d9a4433fb1bcdbe", size = 272222, upload-time = "2026-05-13T09:47:02.653Z" },
- { url = "https://files.pythonhosted.org/packages/57/d5/dd4f1defed400be03340f2ede34b61f846776650b4e7ed9ebaf4c71979a2/shiboken6-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl", hash = "sha256:1bd2f4314414df2d122d9f646e03b731bc6d6b5f77a5f53f99a4fe4e97d84e6f", size = 270350, upload-time = "2026-05-13T09:47:04.02Z" },
{ url = "https://files.pythonhosted.org/packages/52/b5/3f6fb2ee65b534193fb4ef713dd619dc31dadff5d12c16979a7699ad58be/shiboken6-6.11.1-cp310-abi3-win_amd64.whl", hash = "sha256:c2c6863aa80ec18c0f82cea3417837b279cdc60024ac17123461dc9042577df7", size = 1223647, upload-time = "2026-05-13T09:47:05.924Z" },
{ url = "https://files.pythonhosted.org/packages/98/d1/f15ca0e1666faae02c945f48e745ea35f8fcd8243b176109b4e2c4251f47/shiboken6-6.11.1-cp310-abi3-win_arm64.whl", hash = "sha256:7c8d9af17db4495d4fa5b1c393f218311c4855546b9dfa6a0bd21bcd66b55e9d", size = 1784170, upload-time = "2026-05-13T09:47:07.617Z" },
]
+[[package]]
+name = "shiboken6"
+version = "6.11.2"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.14' and sys_platform == 'linux'",
+ "python_full_version == '3.13.*' and sys_platform == 'linux'",
+ "python_full_version < '3.12' and platform_machine == 'x86_64' and sys_platform == 'linux'",
+ "python_full_version == '3.12.*' and sys_platform == 'linux'",
+ "python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'linux'",
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a5/9a/f41bea4316d0c1bec4800842dcb4bd8fd3e29d6a79c496bc32e1aec42583/shiboken6-6.11.2-cp310-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:7a7a0a72a9ed26c9bf77d42246b1c736486befb8f31aa2fb29957ea4cdd1c1c2", size = 272435, upload-time = "2026-08-18T06:37:13.397Z" },
+ { url = "https://files.pythonhosted.org/packages/56/05/79ed0697515d4fc7435459e4ed4c4a3b5621a55b7c91d0f3f2cc3d617aa0/shiboken6-6.11.2-cp310-abi3-manylinux_2_39_aarch64.whl", hash = "sha256:4bbbd6fa4d7cff5ec5e12bc4c10e1d845fa30c89457ecb13cc64f7bddb77f6f9", size = 270668, upload-time = "2026-08-18T06:37:15.025Z" },
+]
+
[[package]]
name = "six"
version = "1.17.0"