local-operator 0.53.2__tar.gz → 0.53.3__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.

Files changed (564) hide show
  1. {local_operator-0.53.2 → local_operator-0.53.3}/PKG-INFO +1 -1
  2. local_operator-0.53.3/local_operator/harness/rows.py +314 -0
  3. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/projection.py +267 -138
  4. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/types.py +9 -1
  5. local_operator-0.53.3/local_operator/mobile/web/dist/assets/index-D2adIQJv.css +1 -0
  6. local_operator-0.53.2/local_operator/mobile/web/dist/assets/index-DYa2k-Rh.js → local_operator-0.53.3/local_operator/mobile/web/dist/assets/index-K181Sfur.js +16 -16
  7. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/dist/index.html +2 -2
  8. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/tool-row.tsx +14 -1
  9. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/transcript.tsx +74 -5
  10. local_operator-0.53.3/local_operator/mobile/web/src/transcript.divergence.test.tsx +275 -0
  11. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/types.ts +15 -0
  12. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/app.py +2 -65
  13. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_presentation.py +44 -47
  14. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/transcript.py +7 -14
  15. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/PKG-INFO +1 -1
  16. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/SOURCES.txt +4 -2
  17. {local_operator-0.53.2 → local_operator-0.53.3}/pyproject.toml +1 -1
  18. local_operator-0.53.2/local_operator/mobile/web/dist/assets/index-CuRNCaFt.css +0 -1
  19. {local_operator-0.53.2 → local_operator-0.53.3}/LICENSE +0 -0
  20. {local_operator-0.53.2 → local_operator-0.53.3}/README.md +0 -0
  21. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/__init__.py +0 -0
  22. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_profiles.py +0 -0
  23. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/architect.md +0 -0
  24. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/coder.md +0 -0
  25. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/designer.md +0 -0
  26. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/manager.md +0 -0
  27. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/reviewer.md +0 -0
  28. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agent_seeds/scout.md +0 -0
  29. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/agents.py +0 -0
  30. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/analytics/__init__.py +0 -0
  31. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/analytics/backfill.py +0 -0
  32. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/analytics/model.py +0 -0
  33. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/analytics/recorder.py +0 -0
  34. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/analytics/store.py +0 -0
  35. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/ansi.py +0 -0
  36. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/bootstrap.py +0 -0
  37. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/__init__.py +0 -0
  38. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/backend.py +0 -0
  39. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/daemon.py +0 -0
  40. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/gen_ts.py +0 -0
  41. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/install.py +0 -0
  42. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/protocol.py +0 -0
  43. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/resources.py +0 -0
  44. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/browser_bridge/state.py +0 -0
  45. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/callback_page.py +0 -0
  46. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/cli.py +0 -0
  47. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/cli_style.py +0 -0
  48. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/__init__.py +0 -0
  49. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/_http.py +0 -0
  50. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/fal.py +0 -0
  51. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/google_client.py +0 -0
  52. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/ollama.py +0 -0
  53. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/openrouter.py +0 -0
  54. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/radient.py +0 -0
  55. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/serpapi.py +0 -0
  56. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clients/tavily.py +0 -0
  57. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/clipboard.py +0 -0
  58. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/__init__.py +0 -0
  59. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/advisor.py +0 -0
  60. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/api.py +0 -0
  61. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/cutpoint.py +0 -0
  62. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/marker.py +0 -0
  63. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/pass_.py +0 -0
  64. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/png.py +0 -0
  65. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/pruning.py +0 -0
  66. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/snapcompact.py +0 -0
  67. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/thresholds.py +0 -0
  68. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/compaction/tokens.py +0 -0
  69. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/computer_input.py +0 -0
  70. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/config.py +0 -0
  71. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/config_migrations.py +0 -0
  72. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/config_watch.py +0 -0
  73. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/console.py +0 -0
  74. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/context_files.py +0 -0
  75. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/credentials.py +0 -0
  76. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/ecosystem_instructions.py +0 -0
  77. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/env.py +0 -0
  78. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/__init__.py +0 -0
  79. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/action_surface.py +0 -0
  80. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/__init__.py +0 -0
  81. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/api.py +0 -0
  82. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/discovery.py +0 -0
  83. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/rpc.py +0 -0
  84. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/supervisor.py +0 -0
  85. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/adapters/worker.py +0 -0
  86. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/evidence/__init__.py +0 -0
  87. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/evidence/media.py +0 -0
  88. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/evidence/models.py +0 -0
  89. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/evidence/store.py +0 -0
  90. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/evidence/verify.py +0 -0
  91. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/lifecycle.py +0 -0
  92. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/protocol.py +0 -0
  93. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/receipts.py +0 -0
  94. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/__init__.py +0 -0
  95. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/durable_root.py +0 -0
  96. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/episode.py +0 -0
  97. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/guards.py +0 -0
  98. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/host_secrets.py +0 -0
  99. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/model.py +0 -0
  100. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/provider_client.py +0 -0
  101. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/public_reply.py +0 -0
  102. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/rescue_sweep.py +0 -0
  103. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/responder.py +0 -0
  104. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/route_ids.py +0 -0
  105. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/evaluation/runner/secrets.py +0 -0
  106. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/exec_mode.py +0 -0
  107. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/exec_session.py +0 -0
  108. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/exec_startup.py +0 -0
  109. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/exec_worker.py +0 -0
  110. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/fork.py +0 -0
  111. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/__init__.py +0 -0
  112. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/agents/GUIDE.md +0 -0
  113. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/browser/GUIDE.md +0 -0
  114. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/configuration/GUIDE.md +0 -0
  115. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/credentials/GUIDE.md +0 -0
  116. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/discovery.py +0 -0
  117. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/extensions/GUIDE.md +0 -0
  118. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/failover/GUIDE.md +0 -0
  119. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/mcp/GUIDE.md +0 -0
  120. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/mobile/GUIDE.md +0 -0
  121. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/peer-messaging/GUIDE.md +0 -0
  122. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/teams/GUIDE.md +0 -0
  123. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/guides/tunnel/GUIDE.md +0 -0
  124. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/__init__.py +0 -0
  125. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/approval.py +0 -0
  126. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/comms.py +0 -0
  127. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/intent.py +0 -0
  128. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/jobs.py +0 -0
  129. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/loop.py +0 -0
  130. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/reply_channel.py +0 -0
  131. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/subagent.py +0 -0
  132. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/types.py +0 -0
  133. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/harness/wake.py +0 -0
  134. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/headless_print.py +0 -0
  135. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/helpers.py +0 -0
  136. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/herdr/__init__.py +0 -0
  137. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/herdr/reporter.py +0 -0
  138. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/imaging.py +0 -0
  139. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/incidents.py +0 -0
  140. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/info/__init__.py +0 -0
  141. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/info/collect.py +0 -0
  142. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/info/model.py +0 -0
  143. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/info/render.py +0 -0
  144. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/interpreter.py +0 -0
  145. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/jobs.py +0 -0
  146. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/jsonl.py +0 -0
  147. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/keymap.py +0 -0
  148. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/logger.py +0 -0
  149. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/__init__.py +0 -0
  150. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/auth.py +0 -0
  151. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/config.py +0 -0
  152. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/desktop.py +0 -0
  153. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/grants.py +0 -0
  154. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/manager.py +0 -0
  155. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/resources.py +0 -0
  156. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/tool_bridge.py +0 -0
  157. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/tool_cache.py +0 -0
  158. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mcp/verbs.py +0 -0
  159. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/media.py +0 -0
  160. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/__init__.py +0 -0
  161. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/attach_client.py +0 -0
  162. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/auth.py +0 -0
  163. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/child.py +0 -0
  164. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/command_reservation.py +0 -0
  165. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/daemon.py +0 -0
  166. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/durable.py +0 -0
  167. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/install.py +0 -0
  168. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/owned.py +0 -0
  169. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/peer_client.py +0 -0
  170. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/peer_send.py +0 -0
  171. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/registrant.py +0 -0
  172. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/registry.py +0 -0
  173. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/resources.py +0 -0
  174. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/seen.py +0 -0
  175. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/service.py +0 -0
  176. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/static/mark.png +0 -0
  177. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/tui_handle.py +0 -0
  178. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/dist/mark.png +0 -0
  179. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/index.html +0 -0
  180. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/package.json +0 -0
  181. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/pnpm-lock.yaml +0 -0
  182. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/pnpm-workspace.yaml +0 -0
  183. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/public/mark.png +0 -0
  184. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/scripts/generate-theme-css.mjs +0 -0
  185. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/scripts/inline-mark.mjs +0 -0
  186. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/scripts/palette-source.mjs +0 -0
  187. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/agent-view.interaction.test.tsx +0 -0
  188. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/agent-view.test.ts +0 -0
  189. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/api.ts +0 -0
  190. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/app.tsx +0 -0
  191. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/agents-sheet.tsx +0 -0
  192. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/composer.tsx +0 -0
  193. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/markdown.tsx +0 -0
  194. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/model-sheet.tsx +0 -0
  195. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/pending-card.tsx +0 -0
  196. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/row-boundary.tsx +0 -0
  197. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/spinner.tsx +0 -0
  198. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/subagents-panel.tsx +0 -0
  199. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/todos-panel.tsx +0 -0
  200. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/ui/button.tsx +0 -0
  201. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/ui/chip.tsx +0 -0
  202. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/ui/disclosure.tsx +0 -0
  203. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/ui/sheet.tsx +0 -0
  204. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/components/working-line.tsx +0 -0
  205. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/continuation-command.test.ts +0 -0
  206. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/continuation-command.ts +0 -0
  207. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/detail-loader.test.ts +0 -0
  208. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/detail-loader.ts +0 -0
  209. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/lib/cn.ts +0 -0
  210. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/lib/format.ts +0 -0
  211. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/lib/mark.ts +0 -0
  212. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/main.tsx +0 -0
  213. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/past-sessions.fork.test.tsx +0 -0
  214. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/private-storage.test.ts +0 -0
  215. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/private-storage.ts +0 -0
  216. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/router.test.ts +0 -0
  217. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/router.ts +0 -0
  218. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/screens/agent-view.tsx +0 -0
  219. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/screens/new-session.tsx +0 -0
  220. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/screens/past-sessions.tsx +0 -0
  221. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/screens/session-list.tsx +0 -0
  222. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/screens/session-view.tsx +0 -0
  223. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/session-list.unread.test.tsx +0 -0
  224. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/session-start.navigation.test.tsx +0 -0
  225. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/session-view.pending.test.tsx +0 -0
  226. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/session-view.seen.test.tsx +0 -0
  227. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/store.reconnect.test.tsx +0 -0
  228. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/store.test.ts +0 -0
  229. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/store.ts +0 -0
  230. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/store.unread.test.ts +0 -0
  231. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/styles/index.css +0 -0
  232. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/styles/themes.generated.css +0 -0
  233. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/test-setup.ts +0 -0
  234. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/theme.ts +0 -0
  235. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/alucard.ts +0 -0
  236. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/ayu-light.ts +0 -0
  237. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/ayu-mirage.ts +0 -0
  238. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/ayu.ts +0 -0
  239. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/catppuccin-frappe.ts +0 -0
  240. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/catppuccin-macchiato.ts +0 -0
  241. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/dracula.ts +0 -0
  242. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/dune.ts +0 -0
  243. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/duskfox.ts +0 -0
  244. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/everforest-light.ts +0 -0
  245. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/everforest.ts +0 -0
  246. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/gruvbox-light.ts +0 -0
  247. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/iceberg.ts +0 -0
  248. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/kanagawa-lotus.ts +0 -0
  249. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/kanagawa-wave.ts +0 -0
  250. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/local-operator.ts +0 -0
  251. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/monokai.ts +0 -0
  252. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/neon.ts +0 -0
  253. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/nightfox.ts +0 -0
  254. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/obsidian.ts +0 -0
  255. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/one-light.ts +0 -0
  256. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/palenight.ts +0 -0
  257. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/palette-contract.ts +0 -0
  258. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/radient.ts +0 -0
  259. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/rose-pine.ts +0 -0
  260. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/sage.ts +0 -0
  261. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/synth.ts +0 -0
  262. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/tokyo-night-day.ts +0 -0
  263. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/themes/tokyo-night.ts +0 -0
  264. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/src/use-completion-view.ts +0 -0
  265. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/tsconfig.app.json +0 -0
  266. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/tsconfig.json +0 -0
  267. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/tsconfig.node.json +0 -0
  268. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/mobile/web/vite.config.ts +0 -0
  269. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/__init__.py +0 -0
  270. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/catalogue.py +0 -0
  271. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/configure.py +0 -0
  272. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/defaults.py +0 -0
  273. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/discovery.py +0 -0
  274. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/effort.py +0 -0
  275. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/effort_classifier.py +0 -0
  276. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/ids.py +0 -0
  277. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/naming.py +0 -0
  278. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/prices.py +0 -0
  279. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/registry.py +0 -0
  280. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/model/speed.py +0 -0
  281. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/__init__.py +0 -0
  282. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/broadcast.py +0 -0
  283. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/cmux.py +0 -0
  284. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/markers.py +0 -0
  285. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/registry.py +0 -0
  286. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/multiplexer/types.py +0 -0
  287. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/optional.py +0 -0
  288. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/org_chart.py +0 -0
  289. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/paths.py +0 -0
  290. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/proc.py +0 -0
  291. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/procname.py +0 -0
  292. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/prompts_api.py +0 -0
  293. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/prompts_md/__init__.py +0 -0
  294. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/prompts_md/compaction_summary.md +0 -0
  295. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/prompts_md/edit_file_instructions.md +0 -0
  296. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/prompts_md/system.md +0 -0
  297. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/__init__.py +0 -0
  298. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/auth_cli.py +0 -0
  299. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/auth_store.py +0 -0
  300. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/clients.py +0 -0
  301. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/context.py +0 -0
  302. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/controller.py +0 -0
  303. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/failover.py +0 -0
  304. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/local.py +0 -0
  305. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/local_discovery.py +0 -0
  306. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/login_defaults.py +0 -0
  307. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/__init__.py +0 -0
  308. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/anthropic.py +0 -0
  309. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/callback_server.py +0 -0
  310. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/device_code.py +0 -0
  311. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/kimi.py +0 -0
  312. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/openai.py +0 -0
  313. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/pkce.py +0 -0
  314. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/qwencloud.py +0 -0
  315. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/radient.py +0 -0
  316. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/xai.py +0 -0
  317. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/oauth/zai.py +0 -0
  318. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/radient_credentials.py +0 -0
  319. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/registry.py +0 -0
  320. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/replay.py +0 -0
  321. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/usage.py +0 -0
  322. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/providers/usage_cache.py +0 -0
  323. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/reexec.py +0 -0
  324. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/resume.py +0 -0
  325. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/scheduler_service.py +0 -0
  326. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/__init__.py +0 -0
  327. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/access.py +0 -0
  328. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/audit.py +0 -0
  329. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/broker.py +0 -0
  330. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/brokerd.py +0 -0
  331. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/cli.py +0 -0
  332. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/client.py +0 -0
  333. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/crypto.py +0 -0
  334. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/errors.py +0 -0
  335. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/handlers.py +0 -0
  336. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/keys.py +0 -0
  337. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/peer.py +0 -0
  338. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/promote.py +0 -0
  339. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/protocol.py +0 -0
  340. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/runtime.py +0 -0
  341. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/session.py +0 -0
  342. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/secrets/store.py +0 -0
  343. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/__init__.py +0 -0
  344. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/app.py +0 -0
  345. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/dependencies.py +0 -0
  346. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/desktop.py +0 -0
  347. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/generate_openapi.py +0 -0
  348. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/models/__init__.py +0 -0
  349. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/models/desktop_sessions.py +0 -0
  350. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/models/schemas.py +0 -0
  351. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/openapi.py +0 -0
  352. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/__init__.py +0 -0
  353. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/agents.py +0 -0
  354. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/auth.py +0 -0
  355. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/capabilities.py +0 -0
  356. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/chat.py +0 -0
  357. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/config.py +0 -0
  358. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/credentials.py +0 -0
  359. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/desktop_catalogues.py +0 -0
  360. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/desktop_lifecycle.py +0 -0
  361. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/desktop_profiles.py +0 -0
  362. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/desktop_radient.py +0 -0
  363. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/desktop_sessions.py +0 -0
  364. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/health.py +0 -0
  365. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/jobs.py +0 -0
  366. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/models.py +0 -0
  367. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/schedules.py +0 -0
  368. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/settings.py +0 -0
  369. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/speech.py +0 -0
  370. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/sse.py +0 -0
  371. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/static.py +0 -0
  372. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/transcription.py +0 -0
  373. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/routes/websockets.py +0 -0
  374. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/__init__.py +0 -0
  375. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/attachment_utils.py +0 -0
  376. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/desktop_auth.py +0 -0
  377. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/desktop_commands.py +0 -0
  378. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/desktop_profiles.py +0 -0
  379. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/desktop_receipts.py +0 -0
  380. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/desktop_sessions.py +0 -0
  381. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/event_broker.py +0 -0
  382. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/job_processor_queue.py +0 -0
  383. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/operator.py +0 -0
  384. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/speech_utils.py +0 -0
  385. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/sse.py +0 -0
  386. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/sse_bridge.py +0 -0
  387. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/sse_publisher.py +0 -0
  388. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/server/utils/websocket_manager.py +0 -0
  389. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/__init__.py +0 -0
  390. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/attachments.py +0 -0
  391. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/attention.py +0 -0
  392. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/catalog.py +0 -0
  393. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/cleanup.py +0 -0
  394. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/creation.py +0 -0
  395. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/errors.py +0 -0
  396. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/frontend_state.py +0 -0
  397. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/goal.py +0 -0
  398. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/goal_loop.py +0 -0
  399. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/history_window.py +0 -0
  400. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/mcp_status.py +0 -0
  401. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/model_selection.py +0 -0
  402. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/naming.py +0 -0
  403. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/peer.py +0 -0
  404. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/protocol.py +0 -0
  405. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/remote.py +0 -0
  406. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/retention.py +0 -0
  407. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/__init__.py +0 -0
  408. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/control.py +0 -0
  409. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/exec_control.py +0 -0
  410. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/inbox.py +0 -0
  411. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/launch.py +0 -0
  412. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/owned.py +0 -0
  413. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/process.py +0 -0
  414. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/registry.py +0 -0
  415. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/server.py +0 -0
  416. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/types.py +0 -0
  417. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/viewer_client.py +0 -0
  418. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/viewer_server.py +0 -0
  419. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/runtime/viewers.py +0 -0
  420. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/saved_preview.py +0 -0
  421. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/search_index.py +0 -0
  422. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/session.py +0 -0
  423. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/shell_record.py +0 -0
  424. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/subscriptions.py +0 -0
  425. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session/transcript.py +0 -0
  426. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session_factory.py +0 -0
  427. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/session_lease.py +0 -0
  428. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/settings_io.py +0 -0
  429. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/__init__.py +0 -0
  430. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/api.py +0 -0
  431. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/discovery.py +0 -0
  432. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/embeddings.py +0 -0
  433. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/index.py +0 -0
  434. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/invoke.py +0 -0
  435. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/protocol.py +0 -0
  436. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/skills/vectors.py +0 -0
  437. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/slash_commands.py +0 -0
  438. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/__init__.py +0 -0
  439. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/apple.py +0 -0
  440. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/cmux.py +0 -0
  441. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/fallback.py +0 -0
  442. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/ghostty.py +0 -0
  443. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/kitty.py +0 -0
  444. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/policy.py +0 -0
  445. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/registry.py +0 -0
  446. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/types.py +0 -0
  447. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/spawn/wezterm.py +0 -0
  448. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/stream.py +0 -0
  449. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/teams.py +0 -0
  450. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/terminals.py +0 -0
  451. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/__init__.py +0 -0
  452. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/agent_tool.py +0 -0
  453. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/builtin.py +0 -0
  454. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/eval.py +0 -0
  455. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/eval_worker.py +0 -0
  456. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/group_reaper.py +0 -0
  457. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/lsp.py +0 -0
  458. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/registry.py +0 -0
  459. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/secret_tool.py +0 -0
  460. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/spill.py +0 -0
  461. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tools/team_tool.py +0 -0
  462. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/__init__.py +0 -0
  463. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/animation.py +0 -0
  464. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/attention.py +0 -0
  465. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/autocomplete.py +0 -0
  466. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/bindings.py +0 -0
  467. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/copy_targets.py +0 -0
  468. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/costs.py +0 -0
  469. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/events.py +0 -0
  470. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/glyphs.py +0 -0
  471. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/images.py +0 -0
  472. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/local_operator.tcss +0 -0
  473. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/markdown_theme.py +0 -0
  474. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/move_targets.py +0 -0
  475. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/notifier_app/__init__.py +0 -0
  476. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/notifier_app/icon.icns +0 -0
  477. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/notifier_app/notifier.m +0 -0
  478. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/notify.py +0 -0
  479. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/org_layout.py +0 -0
  480. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/org_render.py +0 -0
  481. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/__init__.py +0 -0
  482. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/classics.py +0 -0
  483. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/companions.py +0 -0
  484. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/lights.py +0 -0
  485. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/modern.py +0 -0
  486. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/nature.py +0 -0
  487. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/neon.py +0 -0
  488. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/radient.py +0 -0
  489. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/palettes/rose_pine.py +0 -0
  490. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/resume_click.py +0 -0
  491. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_catalog.py +0 -0
  492. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_drafts.py +0 -0
  493. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_interaction.py +0 -0
  494. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_navigation.py +0 -0
  495. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/session_workspace.py +0 -0
  496. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/settings.py +0 -0
  497. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/shimmer.py +0 -0
  498. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/terminal_title.py +0 -0
  499. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/theme.py +0 -0
  500. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/__init__.py +0 -0
  501. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/_copy_markdown.py +0 -0
  502. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/analytics_panel.py +0 -0
  503. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/approval.py +0 -0
  504. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/aside_panel.py +0 -0
  505. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/ask_picker.py +0 -0
  506. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/assistant.py +0 -0
  507. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/command_picker.py +0 -0
  508. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/copy_picker.py +0 -0
  509. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/editor.py +0 -0
  510. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/image_block.py +0 -0
  511. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/info_panel.py +0 -0
  512. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/key_prompt.py +0 -0
  513. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/model_picker.py +0 -0
  514. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/move_picker.py +0 -0
  515. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/org_chart_view.py +0 -0
  516. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/overlay.py +0 -0
  517. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/session_panel.py +0 -0
  518. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/session_picker.py +0 -0
  519. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/session_sidebar.py +0 -0
  520. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/settings_view.py +0 -0
  521. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/status_line.py +0 -0
  522. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/subagent_panel.py +0 -0
  523. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/subagent_view.py +0 -0
  524. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/toast.py +0 -0
  525. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/todo_panel.py +0 -0
  526. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/tool_card.py +0 -0
  527. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/usage_panel.py +0 -0
  528. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/wake_panel.py +0 -0
  529. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/widgets/welcome.py +0 -0
  530. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tui/window_focus.py +0 -0
  531. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/__init__.py +0 -0
  532. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/api.py +0 -0
  533. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/arguments.py +0 -0
  534. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/cli.py +0 -0
  535. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/config.py +0 -0
  536. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/gateway.py +0 -0
  537. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/install.py +0 -0
  538. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/tunnels/service.py +0 -0
  539. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/types.py +0 -0
  540. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/update.py +0 -0
  541. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/variables.py +0 -0
  542. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/wakes/__init__.py +0 -0
  543. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/wakes/display.py +0 -0
  544. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/wakes/install.py +0 -0
  545. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/wakes/store.py +0 -0
  546. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/wakes/supervisor.py +0 -0
  547. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/__init__.py +0 -0
  548. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/cli.py +0 -0
  549. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/models.py +0 -0
  550. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/render.py +0 -0
  551. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/service.py +0 -0
  552. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_fetch/tool.py +0 -0
  553. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/__init__.py +0 -0
  554. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/cli.py +0 -0
  555. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/io.py +0 -0
  556. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/models.py +0 -0
  557. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/providers.py +0 -0
  558. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/service.py +0 -0
  559. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator/web_search/tool.py +0 -0
  560. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/dependency_links.txt +0 -0
  561. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/entry_points.txt +0 -0
  562. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/requires.txt +0 -0
  563. {local_operator-0.53.2 → local_operator-0.53.3}/local_operator.egg-info/top_level.txt +0 -0
  564. {local_operator-0.53.2 → local_operator-0.53.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: local-operator
3
- Version: 0.53.2
3
+ Version: 0.53.3
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