local-operator 0.53.2__tar.gz → 0.53.4__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.
Potentially problematic release.
This version of local-operator might be problematic. Click here for more details.
- {local_operator-0.53.2 → local_operator-0.53.4}/PKG-INFO +1 -1
- local_operator-0.53.4/local_operator/harness/rows.py +314 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/projection.py +267 -138
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/types.py +9 -1
- local_operator-0.53.4/local_operator/mobile/web/dist/assets/index-D2adIQJv.css +1 -0
- local_operator-0.53.2/local_operator/mobile/web/dist/assets/index-DYa2k-Rh.js → local_operator-0.53.4/local_operator/mobile/web/dist/assets/index-K181Sfur.js +16 -16
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/dist/index.html +2 -2
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/tool-row.tsx +14 -1
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/transcript.tsx +74 -5
- local_operator-0.53.4/local_operator/mobile/web/src/transcript.divergence.test.tsx +275 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/types.ts +15 -0
- local_operator-0.53.4/local_operator/session/protocol.py +861 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/remote.py +50 -1
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/session.py +28 -1
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/app.py +2 -65
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_presentation.py +44 -47
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/analytics_panel.py +939 -43
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/transcript.py +7 -14
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/PKG-INFO +1 -1
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/SOURCES.txt +4 -2
- {local_operator-0.53.2 → local_operator-0.53.4}/pyproject.toml +1 -1
- local_operator-0.53.2/local_operator/mobile/web/dist/assets/index-CuRNCaFt.css +0 -1
- local_operator-0.53.2/local_operator/session/protocol.py +0 -369
- {local_operator-0.53.2 → local_operator-0.53.4}/LICENSE +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/README.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_profiles.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/architect.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/coder.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/designer.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/manager.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/reviewer.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agent_seeds/scout.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/agents.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/analytics/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/analytics/backfill.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/analytics/model.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/analytics/recorder.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/analytics/store.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/ansi.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/bootstrap.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/backend.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/daemon.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/gen_ts.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/install.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/protocol.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/resources.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/browser_bridge/state.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/callback_page.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/cli_style.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/_http.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/fal.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/google_client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/ollama.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/openrouter.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/radient.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/serpapi.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clients/tavily.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/clipboard.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/advisor.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/api.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/cutpoint.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/marker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/pass_.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/png.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/pruning.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/snapcompact.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/thresholds.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/compaction/tokens.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/computer_input.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/config.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/config_migrations.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/config_watch.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/console.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/context_files.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/credentials.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/ecosystem_instructions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/env.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/action_surface.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/api.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/discovery.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/rpc.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/supervisor.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/adapters/worker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/evidence/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/evidence/media.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/evidence/models.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/evidence/store.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/evidence/verify.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/lifecycle.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/protocol.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/receipts.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/durable_root.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/episode.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/guards.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/host_secrets.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/model.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/provider_client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/public_reply.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/rescue_sweep.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/responder.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/route_ids.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/evaluation/runner/secrets.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/exec_mode.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/exec_session.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/exec_startup.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/exec_worker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/fork.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/agents/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/browser/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/configuration/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/credentials/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/discovery.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/extensions/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/failover/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/mcp/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/mobile/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/peer-messaging/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/teams/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/guides/tunnel/GUIDE.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/approval.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/comms.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/intent.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/jobs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/loop.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/reply_channel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/subagent.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/types.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/harness/wake.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/headless_print.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/helpers.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/herdr/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/herdr/reporter.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/imaging.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/incidents.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/info/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/info/collect.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/info/model.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/info/render.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/interpreter.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/jobs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/jsonl.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/keymap.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/logger.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/auth.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/config.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/desktop.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/grants.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/manager.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/resources.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/tool_bridge.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/tool_cache.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mcp/verbs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/media.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/attach_client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/auth.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/child.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/command_reservation.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/daemon.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/durable.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/install.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/owned.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/peer_client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/peer_send.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/registrant.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/resources.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/seen.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/service.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/static/mark.png +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/tui_handle.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/dist/mark.png +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/index.html +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/package.json +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/pnpm-lock.yaml +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/pnpm-workspace.yaml +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/public/mark.png +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/scripts/generate-theme-css.mjs +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/scripts/inline-mark.mjs +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/scripts/palette-source.mjs +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/agent-view.interaction.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/agent-view.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/api.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/app.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/agents-sheet.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/composer.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/markdown.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/model-sheet.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/pending-card.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/row-boundary.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/spinner.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/subagents-panel.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/todos-panel.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/ui/button.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/ui/chip.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/ui/disclosure.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/ui/sheet.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/components/working-line.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/continuation-command.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/continuation-command.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/detail-loader.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/detail-loader.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/lib/cn.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/lib/format.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/lib/mark.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/main.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/past-sessions.fork.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/private-storage.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/private-storage.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/router.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/router.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/screens/agent-view.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/screens/new-session.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/screens/past-sessions.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/screens/session-list.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/screens/session-view.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/session-list.unread.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/session-start.navigation.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/session-view.pending.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/session-view.seen.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/store.reconnect.test.tsx +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/store.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/store.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/store.unread.test.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/styles/index.css +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/styles/themes.generated.css +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/test-setup.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/theme.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/alucard.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/ayu-light.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/ayu-mirage.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/ayu.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/catppuccin-frappe.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/catppuccin-macchiato.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/dracula.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/dune.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/duskfox.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/everforest-light.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/everforest.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/gruvbox-light.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/iceberg.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/kanagawa-lotus.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/kanagawa-wave.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/local-operator.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/monokai.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/neon.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/nightfox.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/obsidian.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/one-light.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/palenight.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/palette-contract.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/radient.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/rose-pine.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/sage.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/synth.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/tokyo-night-day.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/themes/tokyo-night.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/src/use-completion-view.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/tsconfig.app.json +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/tsconfig.json +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/tsconfig.node.json +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/mobile/web/vite.config.ts +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/catalogue.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/configure.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/defaults.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/discovery.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/effort.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/effort_classifier.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/ids.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/naming.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/prices.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/model/speed.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/broadcast.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/cmux.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/markers.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/multiplexer/types.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/optional.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/org_chart.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/paths.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/proc.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/procname.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/prompts_api.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/prompts_md/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/prompts_md/compaction_summary.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/prompts_md/edit_file_instructions.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/prompts_md/system.md +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/auth_cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/auth_store.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/clients.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/context.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/controller.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/failover.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/local.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/local_discovery.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/login_defaults.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/anthropic.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/callback_server.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/device_code.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/kimi.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/openai.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/pkce.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/qwencloud.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/radient.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/xai.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/oauth/zai.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/radient_credentials.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/replay.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/usage.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/providers/usage_cache.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/reexec.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/resume.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/scheduler_service.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/access.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/audit.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/broker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/brokerd.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/crypto.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/errors.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/handlers.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/keys.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/peer.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/promote.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/protocol.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/runtime.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/session.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/secrets/store.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/app.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/dependencies.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/desktop.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/generate_openapi.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/models/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/models/desktop_sessions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/models/schemas.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/openapi.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/agents.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/auth.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/capabilities.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/chat.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/config.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/credentials.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/desktop_catalogues.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/desktop_lifecycle.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/desktop_profiles.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/desktop_radient.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/desktop_sessions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/health.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/jobs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/models.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/schedules.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/settings.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/speech.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/sse.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/static.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/transcription.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/routes/websockets.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/attachment_utils.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/desktop_auth.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/desktop_commands.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/desktop_profiles.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/desktop_receipts.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/desktop_sessions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/event_broker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/job_processor_queue.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/operator.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/speech_utils.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/sse.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/sse_bridge.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/sse_publisher.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/server/utils/websocket_manager.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/attachments.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/attention.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/catalog.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/cleanup.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/creation.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/errors.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/frontend_state.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/goal.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/goal_loop.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/history_window.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/mcp_status.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/model_selection.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/naming.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/peer.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/retention.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/control.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/exec_control.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/inbox.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/launch.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/owned.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/process.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/server.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/types.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/viewer_client.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/viewer_server.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/runtime/viewers.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/saved_preview.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/search_index.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/shell_record.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/subscriptions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session/transcript.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session_factory.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/session_lease.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/settings_io.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/api.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/discovery.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/embeddings.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/index.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/invoke.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/protocol.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/skills/vectors.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/slash_commands.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/apple.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/cmux.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/fallback.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/ghostty.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/kitty.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/policy.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/types.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/spawn/wezterm.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/stream.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/teams.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/terminals.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/agent_tool.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/builtin.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/eval.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/eval_worker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/group_reaper.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/lsp.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/registry.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/secret_tool.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/spill.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tools/team_tool.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/animation.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/attention.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/autocomplete.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/bindings.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/copy_targets.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/costs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/events.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/glyphs.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/images.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/local_operator.tcss +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/markdown_theme.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/move_targets.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/notifier_app/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/notifier_app/icon.icns +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/notifier_app/notifier.m +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/notify.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/org_layout.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/org_render.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/classics.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/companions.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/lights.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/modern.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/nature.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/neon.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/radient.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/palettes/rose_pine.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/resume_click.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_catalog.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_drafts.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_interaction.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_navigation.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/session_workspace.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/settings.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/shimmer.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/terminal_title.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/theme.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/_copy_markdown.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/approval.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/aside_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/ask_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/assistant.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/command_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/copy_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/editor.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/image_block.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/info_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/key_prompt.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/model_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/move_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/org_chart_view.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/overlay.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/session_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/session_picker.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/session_sidebar.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/settings_view.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/status_line.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/subagent_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/subagent_view.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/toast.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/todo_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/tool_card.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/usage_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/wake_panel.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/widgets/welcome.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tui/window_focus.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/api.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/arguments.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/config.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/gateway.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/install.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/tunnels/service.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/types.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/update.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/variables.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/wakes/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/wakes/display.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/wakes/install.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/wakes/store.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/wakes/supervisor.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/models.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/render.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/service.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_fetch/tool.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/__init__.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/cli.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/io.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/models.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/providers.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/service.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator/web_search/tool.py +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/dependency_links.txt +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/entry_points.txt +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/requires.txt +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/local_operator.egg-info/top_level.txt +0 -0
- {local_operator-0.53.2 → local_operator-0.53.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: local-operator
|
|
3
|
-
Version: 0.53.
|
|
3
|
+
Version: 0.53.4
|
|
4
4
|
Summary: A team of proactive AI assistants that can work together behind the scenes to help you get mundane tasks done so you can focus on the fun stuff.
|
|
5
5
|
Author-email: Damian Tran <damian@gominerva.com>
|
|
6
6
|
License: MIT License
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"""Row semantics shared by every human-facing surface.
|
|
2
|
+
|
|
3
|
+
WHY THIS MODULE EXISTS
|
|
4
|
+
----------------------
|
|
5
|
+
The TUI (``tui/session_presentation.py``) and the phone
|
|
6
|
+
(``mobile/projection.py``) each fold the same ``AgentMessage`` history into
|
|
7
|
+
rows. They are two *renderers* of one *contract*, and for a long time that
|
|
8
|
+
contract was asserted only by comments on each side — comments which were
|
|
9
|
+
wrong. An architecture review (``docs/design/history-fold-convergence.md``,
|
|
10
|
+
§3) enumerated twelve divergences that accumulated under that regime; eight
|
|
11
|
+
were user-visible, and five of them were rows the phone silently DROPPED
|
|
12
|
+
because its ``if/elif`` chain ended with no ``else``.
|
|
13
|
+
|
|
14
|
+
The decisions below are the ones both surfaces must make identically:
|
|
15
|
+
whether a message is harness chrome that no surface may attribute to the
|
|
16
|
+
user, what a timed-out gate says, what ink a refused compaction gets, and
|
|
17
|
+
which assistant turns produce a notice instead of prose. Each is a pure
|
|
18
|
+
function of a message, with **no host dependency** — no Textual, no wire
|
|
19
|
+
type, no session import at module scope — so both hosts can call it and
|
|
20
|
+
neither can own it.
|
|
21
|
+
|
|
22
|
+
CONSTRAINT — this module must stay host-free. It sits below both renderers
|
|
23
|
+
the same way ``compaction/marker.py`` sits below the hosts that must not
|
|
24
|
+
import the session. The three chrome prompts live in modules that would be
|
|
25
|
+
the wrong import direction from here (``session.goal_loop``,
|
|
26
|
+
``session.session``), so they are gathered behind a function that imports
|
|
27
|
+
them lazily. That keeps ONE list rather than a copy per host — the partial
|
|
28
|
+
copy is precisely the drift signature the review named: the phone had
|
|
29
|
+
suppressed one of the three prompts and rendered the other two as the
|
|
30
|
+
user's own words.
|
|
31
|
+
|
|
32
|
+
Adding a new row decision belongs HERE, not in a host. A decision made in
|
|
33
|
+
one renderer is a decision the other will not make.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
from __future__ import annotations
|
|
37
|
+
|
|
38
|
+
from typing import Any, Literal
|
|
39
|
+
|
|
40
|
+
#: The severity vocabulary shared by the surfaces. A superset is deliberately
|
|
41
|
+
#: NOT used: these are the tiers a *replayed* row can carry, and the TUI's
|
|
42
|
+
#: wider ``NoticeKind`` (which adds ``note``/``success`` for live receipts)
|
|
43
|
+
#: accepts every one of them, so a value produced here is always renderable
|
|
44
|
+
#: on both sides.
|
|
45
|
+
NoticeSeverity = Literal["info", "warning", "error"]
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def harness_chrome_prompts() -> tuple[str, ...]:
|
|
49
|
+
"""Every prompt the harness injects as a user turn that NO surface paints.
|
|
50
|
+
|
|
51
|
+
Each of these is persisted as a ``role="user"`` message because the
|
|
52
|
+
TRANSCRIPT must record why the conversation continued — but the user did
|
|
53
|
+
not type any of them, and painting one attributes the harness's words to
|
|
54
|
+
them. The live path never shows them, so replay must not either.
|
|
55
|
+
|
|
56
|
+
The three, and why each is persisted:
|
|
57
|
+
|
|
58
|
+
- ``LOOP_PROMPT`` — the goal loop's self-continuation.
|
|
59
|
+
- ``_CONTINUATION_PROMPT`` — the session's auto-continuation after a
|
|
60
|
+
turn hit its step budget.
|
|
61
|
+
- ``CONNECTIVITY_CONTINUATION_PROMPT`` — records why ONE answer arrived
|
|
62
|
+
in two pieces across a network interruption; the live run showed a
|
|
63
|
+
notice instead.
|
|
64
|
+
|
|
65
|
+
Imported lazily and gathered here rather than listed per host: this list
|
|
66
|
+
having been copied INCOMPLETELY into the phone fold (it suppressed the
|
|
67
|
+
third and rendered the first two) is the drift this function exists to
|
|
68
|
+
make impossible. A fourth prompt is added in one place.
|
|
69
|
+
"""
|
|
70
|
+
from local_operator.harness.loop import CONNECTIVITY_CONTINUATION_PROMPT
|
|
71
|
+
from local_operator.session.goal_loop import LOOP_PROMPT
|
|
72
|
+
from local_operator.session.session import _CONTINUATION_PROMPT
|
|
73
|
+
|
|
74
|
+
return (LOOP_PROMPT, _CONTINUATION_PROMPT, CONNECTIVITY_CONTINUATION_PROMPT)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def is_harness_chrome(text: str) -> bool:
|
|
78
|
+
"""Whether this user-role text is harness chrome rather than the user's words.
|
|
79
|
+
|
|
80
|
+
Normalises before comparing because THE HOSTS DO NOT AGREE on what they
|
|
81
|
+
hand in: the TUI strips a message's text at the top of its replay loop,
|
|
82
|
+
the phone fold passes ``message.text`` verbatim. Leaving the strip to the
|
|
83
|
+
callers is the exact substrate this module exists to remove — one surface
|
|
84
|
+
would suppress a chrome prompt that the other painted as the user's own
|
|
85
|
+
words the moment a persisted prompt gained a trailing newline.
|
|
86
|
+
"""
|
|
87
|
+
return text.strip() in harness_chrome_prompts()
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def typed_line_of(text: str) -> str | None:
|
|
91
|
+
"""The ``$skill`` line behind a persisted payload, or ``None``.
|
|
92
|
+
|
|
93
|
+
A ``$skill`` invocation persists as its EXPANDED payload, because the
|
|
94
|
+
payload is what the model was sent. Painting it verbatim shows the whole
|
|
95
|
+
SKILL.md body as the user's row — and, because a session is titled from
|
|
96
|
+
its first user turn, titles the thread after the skill body too.
|
|
97
|
+
|
|
98
|
+
Lazy-imported and failure-swallowing by contract: a broken or absent
|
|
99
|
+
skills package must never stop a transcript replaying, on either surface.
|
|
100
|
+
Every failure degrades to "not an invocation", so the caller falls
|
|
101
|
+
through to painting the text verbatim.
|
|
102
|
+
"""
|
|
103
|
+
try:
|
|
104
|
+
from local_operator.skills.invoke import typed_line_of as _typed_line_of
|
|
105
|
+
|
|
106
|
+
return _typed_line_of(text)
|
|
107
|
+
except Exception: # noqa: BLE001 — replay must never fail on this
|
|
108
|
+
return None
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def user_row_text(text: str) -> str:
|
|
112
|
+
"""What a surface paints for a ``role="user"`` message.
|
|
113
|
+
|
|
114
|
+
Collapses a skill payload to the line the user actually typed and leaves
|
|
115
|
+
every other message alone. Kept beside :func:`is_harness_chrome` because
|
|
116
|
+
the two are the whole of the "what did the user really say" decision, and
|
|
117
|
+
splitting them across hosts is how one surface got the skill rule and the
|
|
118
|
+
other did not.
|
|
119
|
+
|
|
120
|
+
Strips for the same reason :func:`is_harness_chrome` does: the two hosts
|
|
121
|
+
normalise differently, so an envelope with surrounding whitespace would
|
|
122
|
+
resolve to a typed line on the TUI and to the whole SKILL.md body on the
|
|
123
|
+
phone. The fallback returns the stripped text so both surfaces paint one
|
|
124
|
+
row, not one padded and one not.
|
|
125
|
+
"""
|
|
126
|
+
stripped = text.strip()
|
|
127
|
+
return typed_line_of(stripped) or stripped
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def assistant_row_text(text: str) -> str:
|
|
131
|
+
"""What a surface paints for a ``role="assistant"`` message, or ``""``.
|
|
132
|
+
|
|
133
|
+
The counterpart to :func:`user_row_text`, and it exists for the same
|
|
134
|
+
reason: THE HOSTS DO NOT AGREE on what they hand in. The TUI strips a
|
|
135
|
+
message's text at the top of its replay loop and tests the stripped
|
|
136
|
+
value, so a whitespace-only turn produces NO block there. The phone
|
|
137
|
+
tested ``message.text`` verbatim, and ``" "`` is truthy — so the same
|
|
138
|
+
history produced an extra EMPTY assistant row on the phone, ~8px of
|
|
139
|
+
blank space and, more importantly, a row SEQUENCE the TUI never emits.
|
|
140
|
+
|
|
141
|
+
That is the weaker version of this module's whole claim. "The two folds
|
|
142
|
+
produce the same rows" is worth something; "the same rows plus one blank
|
|
143
|
+
one" is a divergence with a smaller pixel budget, not an agreement.
|
|
144
|
+
|
|
145
|
+
Returning the stripped text rather than a bare truthiness verdict also
|
|
146
|
+
settles the content half: both surfaces paint the same bytes, so a
|
|
147
|
+
padded message cannot render one row indented and the other not.
|
|
148
|
+
"""
|
|
149
|
+
return text.strip()
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
def gate_timeout_notice(details: dict[str, Any]) -> str:
|
|
153
|
+
"""Say what expired, what it wanted, and that nobody chose it.
|
|
154
|
+
|
|
155
|
+
The distinction this line has to carry is denial-by-expiry versus
|
|
156
|
+
denial-by-decision: the user did not say no, they were not there. Naming
|
|
157
|
+
the tool matters for the same reason the picker's parked row wants it —
|
|
158
|
+
"a tool was denied" and "`bash rm -rf build/` was denied" are different
|
|
159
|
+
amounts of help when you are reconstructing what happened overnight.
|
|
160
|
+
|
|
161
|
+
An unattended gate timeout is the most expensive event in the detached
|
|
162
|
+
feature (up to a day of held residency ends here), which is why it is
|
|
163
|
+
worth one shared implementation rather than a per-surface paraphrase.
|
|
164
|
+
"""
|
|
165
|
+
tool = str(details.get("tool") or "a tool").strip()
|
|
166
|
+
description = str(details.get("description") or "").strip()
|
|
167
|
+
waited = details.get("waited_s")
|
|
168
|
+
# REPORT THE WAIT THAT HAPPENED. This used to floor at one hour
|
|
169
|
+
# (`max(1, waited // 3600)`), so a 30-second expiry — a live, reachable
|
|
170
|
+
# path when there is no registrant, or notifications are off and nothing
|
|
171
|
+
# is watching — rendered as "waited 1h" (round 3, D12). This row exists
|
|
172
|
+
# to preserve the difference between denied-by-decision and
|
|
173
|
+
# denied-by-absence, and a fabricated duration undermines the one number
|
|
174
|
+
# that has to be trustworthy. An absent or unreadable value says so
|
|
175
|
+
# rather than rounding up to an hour.
|
|
176
|
+
try:
|
|
177
|
+
seconds = float(waited) if waited is not None else 0.0
|
|
178
|
+
except (TypeError, ValueError):
|
|
179
|
+
seconds = 0.0
|
|
180
|
+
if seconds <= 0:
|
|
181
|
+
waited_text = "a while"
|
|
182
|
+
elif seconds < 60:
|
|
183
|
+
waited_text = f"{int(seconds)}s"
|
|
184
|
+
elif seconds < 3600:
|
|
185
|
+
waited_text = f"{int(seconds // 60)}m"
|
|
186
|
+
elif seconds < 86400:
|
|
187
|
+
waited_text = f"{int(seconds // 3600)}h"
|
|
188
|
+
else:
|
|
189
|
+
waited_text = f"{int(seconds // 86400)}d"
|
|
190
|
+
# An `ask` is a QUESTION, and an unanswered question was not "denied":
|
|
191
|
+
# describing it in the approval gate's vocabulary told the user something
|
|
192
|
+
# that did not happen (D12's copy note).
|
|
193
|
+
kind = str(details.get("kind") or "approval").strip().lower()
|
|
194
|
+
subject = f"{tool} · {description}" if description else tool
|
|
195
|
+
if kind == "ask":
|
|
196
|
+
return (
|
|
197
|
+
f"waited {waited_text} for an answer with nobody attached, "
|
|
198
|
+
f"then moved on — {subject}"
|
|
199
|
+
)
|
|
200
|
+
return f"waited {waited_text} for approval with nobody attached, then denied it — {subject}"
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
def wake_receipt_headline(text: str) -> str:
|
|
204
|
+
"""The human-readable headline of a wake delivery.
|
|
205
|
+
|
|
206
|
+
A wake's persisted text is ``<envelope>\\n\\n<message>``, and the envelope
|
|
207
|
+
is MODEL-FACING markup: ``(alarm) Scheduled wake w-9 (1, every 6h) —
|
|
208
|
+
cancel with wake({op:"cancel",id:"w-9"})``. The cancel how-to is an
|
|
209
|
+
instruction for the model, and the ``(alarm)``/``Scheduled wake`` prefixes
|
|
210
|
+
restate what the row's own affordance already says — so what the user
|
|
211
|
+
wants from this line is WHICH wake fired, not how to stop it.
|
|
212
|
+
|
|
213
|
+
Extracted from ``WakeBlock._summary`` (which owned the only copy) because
|
|
214
|
+
the phone renders the same receipt: while this logic lived in a TUI widget
|
|
215
|
+
the phone had no way to reach it and showed the raw envelope verbatim —
|
|
216
|
+
model-facing markup on a human surface, the same class of defect as the
|
|
217
|
+
leaked ``<parent-message>`` rows this module exists to close.
|
|
218
|
+
|
|
219
|
+
Catch-up deliveries are deliberately NOT handled here: the phone fold
|
|
220
|
+
skips them entirely (they are user-attributed), so the folding summary
|
|
221
|
+
stays in the TUI widget where it has the block's ``catchup`` flag.
|
|
222
|
+
"""
|
|
223
|
+
head, _, _ = text.partition("\n\n")
|
|
224
|
+
head = " ".join(head.split()) # collapse any envelope whitespace
|
|
225
|
+
head = head.split(" — cancel with wake(", 1)[0]
|
|
226
|
+
# Strip EVERY leading marker, not one. A single strip leaves a doubled
|
|
227
|
+
# prefix ("(alarm) (alarm) …") leaking model-facing markup onto a human
|
|
228
|
+
# surface — the exact defect this function exists to prevent, surviving
|
|
229
|
+
# in the function that prevents it. No producer emits a doubled prefix
|
|
230
|
+
# today, so this is closing the shape rather than a live bug; a partial
|
|
231
|
+
# strip is the same "handles the case it happens to have seen" reasoning
|
|
232
|
+
# that produced the incomplete chrome-prompt copy in this module's
|
|
233
|
+
# docstring.
|
|
234
|
+
alarm = "(alarm) "
|
|
235
|
+
while head.startswith(alarm):
|
|
236
|
+
head = head[len(alarm) :]
|
|
237
|
+
# The surface's own wake affordance already says "wake"; repeating
|
|
238
|
+
# "Scheduled wake" in the headline is a caption where a label belongs.
|
|
239
|
+
prefix = "Scheduled wake "
|
|
240
|
+
if head.startswith(prefix):
|
|
241
|
+
head = head[len(prefix) :]
|
|
242
|
+
return head.strip()
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def compaction_refused_notice(details: dict[str, Any]) -> tuple[str, NoticeSeverity]:
|
|
246
|
+
"""A compaction that did NOT run, and the ink it deserves.
|
|
247
|
+
|
|
248
|
+
This row exists to CORRECT the optimistic "compacting context…" receipt
|
|
249
|
+
the routed command already showed (round 5, U17). ``warning`` ink because
|
|
250
|
+
the context the user asked to reclaim is still there; ``error`` when the
|
|
251
|
+
attempt actually FAILED rather than being declined, because those are
|
|
252
|
+
different things to the person deciding what to do next — a refusal is
|
|
253
|
+
the system saying "not worth it", a failure is the system saying "I
|
|
254
|
+
could not".
|
|
255
|
+
|
|
256
|
+
The severity is derived here rather than at each call site so the phone
|
|
257
|
+
cannot flatten a failure into the same ink as a decline.
|
|
258
|
+
"""
|
|
259
|
+
text = str(details.get("detail") or "compaction did not run").strip()
|
|
260
|
+
severity: NoticeSeverity = "error" if text.startswith("compaction failed") else "warning"
|
|
261
|
+
return text, severity
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
def assistant_stop_notice(
|
|
265
|
+
*,
|
|
266
|
+
text: str,
|
|
267
|
+
has_tool_calls: bool,
|
|
268
|
+
stop_reason: str | None,
|
|
269
|
+
provider_payload: dict[str, Any] | None,
|
|
270
|
+
) -> tuple[str, NoticeSeverity] | None:
|
|
271
|
+
"""The notice an assistant turn's ``stop_reason`` demands, or ``None``.
|
|
272
|
+
|
|
273
|
+
Three turns end in a way the prose alone does not explain, and a surface
|
|
274
|
+
that omits the notice tells the user something false:
|
|
275
|
+
|
|
276
|
+
- **refusal** — the provider cut the answer off. Fires EVEN WHEN the
|
|
277
|
+
model streamed prose first (Gemini safety stops often cut a partial
|
|
278
|
+
answer): the prose alone reads as a complete, oddly short reply, and
|
|
279
|
+
the user re-reading the session needs to know why it ends there.
|
|
280
|
+
- **error** with nothing produced — the turn FAILED. Without the notice
|
|
281
|
+
the user sees their prompt followed by silence and reads it as the
|
|
282
|
+
agent having ignored them.
|
|
283
|
+
- **aborted** with nothing produced — the turn was interrupted.
|
|
284
|
+
|
|
285
|
+
The error/aborted arms are guarded on there being neither prose nor a
|
|
286
|
+
call because a turn that produced either already shows the user what
|
|
287
|
+
happened; the notice exists for the turn that shows nothing at all.
|
|
288
|
+
|
|
289
|
+
Returning ``None`` means "this turn needs no notice", which is the
|
|
290
|
+
ordinary case. Every surface must call this — the phone had no
|
|
291
|
+
``stop_reason`` branch whatsoever, so refusals, failed turns and
|
|
292
|
+
interrupted turns were invisible on it.
|
|
293
|
+
|
|
294
|
+
``text`` is stripped HERE rather than trusted from the caller. The TUI
|
|
295
|
+
strips before calling and the phone fold does not, so a whitespace-only
|
|
296
|
+
assistant turn with ``stop_reason="error"`` produced "turn failed" on the
|
|
297
|
+
TUI and SILENCE on the phone — D3 reopening inside the module built to
|
|
298
|
+
close it. The emptiness test below is the whole decision for the
|
|
299
|
+
error/aborted arms, so whose definition of "empty" wins cannot be a
|
|
300
|
+
per-host choice.
|
|
301
|
+
"""
|
|
302
|
+
text = text.strip()
|
|
303
|
+
if stop_reason == "refusal":
|
|
304
|
+
payload = provider_payload or {}
|
|
305
|
+
# The fallback keeps the marker grammar (D3): every other refusal
|
|
306
|
+
# line ends in a parenthetical, and a user who has learned that shape
|
|
307
|
+
# would read its absence as meaningful.
|
|
308
|
+
refusal = str(payload.get("refusal") or "") or (
|
|
309
|
+
"model refused the request (no details recorded)"
|
|
310
|
+
)
|
|
311
|
+
return refusal, "error"
|
|
312
|
+
if not text and not has_tool_calls and stop_reason in ("error", "aborted"):
|
|
313
|
+
return ("turn failed" if stop_reason == "error" else "interrupted"), "error"
|
|
314
|
+
return None
|