local-operator 0.52.2__tar.gz → 0.52.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.

Files changed (551) hide show
  1. {local_operator-0.52.2 → local_operator-0.52.4}/PKG-INFO +6 -1
  2. {local_operator-0.52.2 → local_operator-0.52.4}/README.md +5 -0
  3. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/cli.py +260 -0
  4. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/ecosystem_instructions.py +126 -26
  5. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/configuration/GUIDE.md +45 -1
  6. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/session.py +59 -5
  7. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session_factory.py +268 -42
  8. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/app.py +11 -3
  9. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/PKG-INFO +6 -1
  10. {local_operator-0.52.2 → local_operator-0.52.4}/pyproject.toml +1 -1
  11. {local_operator-0.52.2 → local_operator-0.52.4}/LICENSE +0 -0
  12. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/__init__.py +0 -0
  13. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_profiles.py +0 -0
  14. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/architect.md +0 -0
  15. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/coder.md +0 -0
  16. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/designer.md +0 -0
  17. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/manager.md +0 -0
  18. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/reviewer.md +0 -0
  19. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agent_seeds/scout.md +0 -0
  20. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/agents.py +0 -0
  21. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/analytics/__init__.py +0 -0
  22. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/analytics/backfill.py +0 -0
  23. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/analytics/model.py +0 -0
  24. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/analytics/recorder.py +0 -0
  25. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/analytics/store.py +0 -0
  26. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/ansi.py +0 -0
  27. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/bootstrap.py +0 -0
  28. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/__init__.py +0 -0
  29. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/backend.py +0 -0
  30. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/daemon.py +0 -0
  31. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/gen_ts.py +0 -0
  32. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/install.py +0 -0
  33. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/protocol.py +0 -0
  34. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/resources.py +0 -0
  35. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/browser_bridge/state.py +0 -0
  36. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/callback_page.py +0 -0
  37. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/cli_style.py +0 -0
  38. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/__init__.py +0 -0
  39. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/_http.py +0 -0
  40. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/fal.py +0 -0
  41. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/google_client.py +0 -0
  42. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/ollama.py +0 -0
  43. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/openrouter.py +0 -0
  44. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/radient.py +0 -0
  45. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/serpapi.py +0 -0
  46. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clients/tavily.py +0 -0
  47. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/clipboard.py +0 -0
  48. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/__init__.py +0 -0
  49. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/advisor.py +0 -0
  50. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/api.py +0 -0
  51. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/cutpoint.py +0 -0
  52. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/marker.py +0 -0
  53. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/pass_.py +0 -0
  54. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/png.py +0 -0
  55. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/pruning.py +0 -0
  56. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/snapcompact.py +0 -0
  57. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/thresholds.py +0 -0
  58. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/compaction/tokens.py +0 -0
  59. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/computer_input.py +0 -0
  60. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/config.py +0 -0
  61. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/config_migrations.py +0 -0
  62. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/config_watch.py +0 -0
  63. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/console.py +0 -0
  64. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/context_files.py +0 -0
  65. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/credentials.py +0 -0
  66. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/env.py +0 -0
  67. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/__init__.py +0 -0
  68. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/action_surface.py +0 -0
  69. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/__init__.py +0 -0
  70. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/api.py +0 -0
  71. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/discovery.py +0 -0
  72. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/rpc.py +0 -0
  73. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/supervisor.py +0 -0
  74. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/adapters/worker.py +0 -0
  75. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/evidence/__init__.py +0 -0
  76. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/evidence/media.py +0 -0
  77. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/evidence/models.py +0 -0
  78. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/evidence/store.py +0 -0
  79. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/evidence/verify.py +0 -0
  80. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/lifecycle.py +0 -0
  81. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/protocol.py +0 -0
  82. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/receipts.py +0 -0
  83. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/__init__.py +0 -0
  84. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/durable_root.py +0 -0
  85. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/episode.py +0 -0
  86. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/guards.py +0 -0
  87. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/host_secrets.py +0 -0
  88. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/model.py +0 -0
  89. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/provider_client.py +0 -0
  90. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/public_reply.py +0 -0
  91. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/rescue_sweep.py +0 -0
  92. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/responder.py +0 -0
  93. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/route_ids.py +0 -0
  94. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/evaluation/runner/secrets.py +0 -0
  95. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/exec_mode.py +0 -0
  96. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/exec_session.py +0 -0
  97. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/exec_startup.py +0 -0
  98. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/exec_worker.py +0 -0
  99. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/fork.py +0 -0
  100. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/__init__.py +0 -0
  101. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/agents/GUIDE.md +0 -0
  102. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/browser/GUIDE.md +0 -0
  103. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/discovery.py +0 -0
  104. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/extensions/GUIDE.md +0 -0
  105. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/failover/GUIDE.md +0 -0
  106. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/mcp/GUIDE.md +0 -0
  107. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/mobile/GUIDE.md +0 -0
  108. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/peer-messaging/GUIDE.md +0 -0
  109. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/teams/GUIDE.md +0 -0
  110. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/guides/tunnel/GUIDE.md +0 -0
  111. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/__init__.py +0 -0
  112. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/approval.py +0 -0
  113. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/comms.py +0 -0
  114. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/intent.py +0 -0
  115. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/jobs.py +0 -0
  116. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/loop.py +0 -0
  117. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/reply_channel.py +0 -0
  118. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/subagent.py +0 -0
  119. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/types.py +0 -0
  120. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/harness/wake.py +0 -0
  121. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/headless_print.py +0 -0
  122. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/helpers.py +0 -0
  123. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/herdr/__init__.py +0 -0
  124. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/herdr/reporter.py +0 -0
  125. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/imaging.py +0 -0
  126. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/incidents.py +0 -0
  127. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/info/__init__.py +0 -0
  128. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/info/collect.py +0 -0
  129. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/info/model.py +0 -0
  130. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/info/render.py +0 -0
  131. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/interpreter.py +0 -0
  132. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/jobs.py +0 -0
  133. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/jsonl.py +0 -0
  134. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/keymap.py +0 -0
  135. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/logger.py +0 -0
  136. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/__init__.py +0 -0
  137. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/auth.py +0 -0
  138. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/config.py +0 -0
  139. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/desktop.py +0 -0
  140. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/grants.py +0 -0
  141. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/manager.py +0 -0
  142. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/resources.py +0 -0
  143. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/tool_bridge.py +0 -0
  144. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/tool_cache.py +0 -0
  145. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mcp/verbs.py +0 -0
  146. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/media.py +0 -0
  147. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/__init__.py +0 -0
  148. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/attach_client.py +0 -0
  149. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/auth.py +0 -0
  150. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/child.py +0 -0
  151. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/command_reservation.py +0 -0
  152. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/daemon.py +0 -0
  153. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/durable.py +0 -0
  154. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/install.py +0 -0
  155. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/owned.py +0 -0
  156. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/peer_client.py +0 -0
  157. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/peer_send.py +0 -0
  158. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/projection.py +0 -0
  159. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/registrant.py +0 -0
  160. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/registry.py +0 -0
  161. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/resources.py +0 -0
  162. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/seen.py +0 -0
  163. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/service.py +0 -0
  164. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/static/mark.png +0 -0
  165. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/tui_handle.py +0 -0
  166. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/types.py +0 -0
  167. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/dist/assets/index-CuRNCaFt.css +0 -0
  168. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/dist/assets/index-DYa2k-Rh.js +0 -0
  169. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/dist/index.html +0 -0
  170. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/dist/mark.png +0 -0
  171. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/index.html +0 -0
  172. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/package.json +0 -0
  173. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/pnpm-lock.yaml +0 -0
  174. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/pnpm-workspace.yaml +0 -0
  175. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/public/mark.png +0 -0
  176. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/scripts/generate-theme-css.mjs +0 -0
  177. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/scripts/inline-mark.mjs +0 -0
  178. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/scripts/palette-source.mjs +0 -0
  179. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/agent-view.interaction.test.tsx +0 -0
  180. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/agent-view.test.ts +0 -0
  181. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/api.ts +0 -0
  182. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/app.tsx +0 -0
  183. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/agents-sheet.tsx +0 -0
  184. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/composer.tsx +0 -0
  185. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/markdown.tsx +0 -0
  186. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/model-sheet.tsx +0 -0
  187. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/pending-card.tsx +0 -0
  188. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/row-boundary.tsx +0 -0
  189. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/spinner.tsx +0 -0
  190. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/subagents-panel.tsx +0 -0
  191. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/todos-panel.tsx +0 -0
  192. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/tool-row.tsx +0 -0
  193. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/transcript.tsx +0 -0
  194. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/ui/button.tsx +0 -0
  195. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/ui/chip.tsx +0 -0
  196. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/ui/disclosure.tsx +0 -0
  197. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/ui/sheet.tsx +0 -0
  198. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/components/working-line.tsx +0 -0
  199. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/continuation-command.test.ts +0 -0
  200. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/continuation-command.ts +0 -0
  201. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/detail-loader.test.ts +0 -0
  202. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/detail-loader.ts +0 -0
  203. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/lib/cn.ts +0 -0
  204. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/lib/format.ts +0 -0
  205. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/lib/mark.ts +0 -0
  206. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/main.tsx +0 -0
  207. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/past-sessions.fork.test.tsx +0 -0
  208. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/private-storage.test.ts +0 -0
  209. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/private-storage.ts +0 -0
  210. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/router.test.ts +0 -0
  211. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/router.ts +0 -0
  212. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/screens/agent-view.tsx +0 -0
  213. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/screens/new-session.tsx +0 -0
  214. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/screens/past-sessions.tsx +0 -0
  215. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/screens/session-list.tsx +0 -0
  216. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/screens/session-view.tsx +0 -0
  217. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/session-list.unread.test.tsx +0 -0
  218. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/session-start.navigation.test.tsx +0 -0
  219. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/session-view.pending.test.tsx +0 -0
  220. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/session-view.seen.test.tsx +0 -0
  221. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/store.reconnect.test.tsx +0 -0
  222. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/store.test.ts +0 -0
  223. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/store.ts +0 -0
  224. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/store.unread.test.ts +0 -0
  225. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/styles/index.css +0 -0
  226. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/styles/themes.generated.css +0 -0
  227. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/test-setup.ts +0 -0
  228. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/theme.ts +0 -0
  229. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/alucard.ts +0 -0
  230. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/ayu-light.ts +0 -0
  231. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/ayu-mirage.ts +0 -0
  232. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/ayu.ts +0 -0
  233. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/catppuccin-frappe.ts +0 -0
  234. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/catppuccin-macchiato.ts +0 -0
  235. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/dracula.ts +0 -0
  236. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/dune.ts +0 -0
  237. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/duskfox.ts +0 -0
  238. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/everforest-light.ts +0 -0
  239. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/everforest.ts +0 -0
  240. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/gruvbox-light.ts +0 -0
  241. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/iceberg.ts +0 -0
  242. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/kanagawa-lotus.ts +0 -0
  243. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/kanagawa-wave.ts +0 -0
  244. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/local-operator.ts +0 -0
  245. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/monokai.ts +0 -0
  246. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/neon.ts +0 -0
  247. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/nightfox.ts +0 -0
  248. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/obsidian.ts +0 -0
  249. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/one-light.ts +0 -0
  250. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/palenight.ts +0 -0
  251. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/palette-contract.ts +0 -0
  252. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/radient.ts +0 -0
  253. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/rose-pine.ts +0 -0
  254. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/sage.ts +0 -0
  255. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/synth.ts +0 -0
  256. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/tokyo-night-day.ts +0 -0
  257. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/themes/tokyo-night.ts +0 -0
  258. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/types.ts +0 -0
  259. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/src/use-completion-view.ts +0 -0
  260. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/tsconfig.app.json +0 -0
  261. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/tsconfig.json +0 -0
  262. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/tsconfig.node.json +0 -0
  263. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/mobile/web/vite.config.ts +0 -0
  264. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/__init__.py +0 -0
  265. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/catalogue.py +0 -0
  266. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/configure.py +0 -0
  267. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/defaults.py +0 -0
  268. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/discovery.py +0 -0
  269. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/effort.py +0 -0
  270. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/effort_classifier.py +0 -0
  271. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/ids.py +0 -0
  272. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/naming.py +0 -0
  273. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/prices.py +0 -0
  274. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/registry.py +0 -0
  275. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/model/speed.py +0 -0
  276. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/__init__.py +0 -0
  277. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/broadcast.py +0 -0
  278. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/cmux.py +0 -0
  279. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/markers.py +0 -0
  280. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/registry.py +0 -0
  281. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/multiplexer/types.py +0 -0
  282. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/optional.py +0 -0
  283. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/org_chart.py +0 -0
  284. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/paths.py +0 -0
  285. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/proc.py +0 -0
  286. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/procname.py +0 -0
  287. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/prompts_api.py +0 -0
  288. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/prompts_md/__init__.py +0 -0
  289. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/prompts_md/compaction_summary.md +0 -0
  290. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/prompts_md/edit_file_instructions.md +0 -0
  291. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/prompts_md/system.md +0 -0
  292. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/__init__.py +0 -0
  293. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/auth_cli.py +0 -0
  294. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/auth_store.py +0 -0
  295. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/clients.py +0 -0
  296. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/context.py +0 -0
  297. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/controller.py +0 -0
  298. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/failover.py +0 -0
  299. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/local.py +0 -0
  300. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/local_discovery.py +0 -0
  301. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/login_defaults.py +0 -0
  302. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/__init__.py +0 -0
  303. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/anthropic.py +0 -0
  304. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/callback_server.py +0 -0
  305. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/device_code.py +0 -0
  306. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/kimi.py +0 -0
  307. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/openai.py +0 -0
  308. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/pkce.py +0 -0
  309. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/qwencloud.py +0 -0
  310. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/radient.py +0 -0
  311. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/xai.py +0 -0
  312. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/oauth/zai.py +0 -0
  313. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/radient_credentials.py +0 -0
  314. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/registry.py +0 -0
  315. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/replay.py +0 -0
  316. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/usage.py +0 -0
  317. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/providers/usage_cache.py +0 -0
  318. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/reexec.py +0 -0
  319. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/resume.py +0 -0
  320. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/scheduler_service.py +0 -0
  321. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/__init__.py +0 -0
  322. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/access.py +0 -0
  323. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/audit.py +0 -0
  324. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/cli.py +0 -0
  325. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/crypto.py +0 -0
  326. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/errors.py +0 -0
  327. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/handlers.py +0 -0
  328. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/keys.py +0 -0
  329. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/secrets/store.py +0 -0
  330. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/__init__.py +0 -0
  331. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/app.py +0 -0
  332. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/dependencies.py +0 -0
  333. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/desktop.py +0 -0
  334. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/generate_openapi.py +0 -0
  335. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/models/__init__.py +0 -0
  336. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/models/desktop_sessions.py +0 -0
  337. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/models/schemas.py +0 -0
  338. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/openapi.py +0 -0
  339. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/__init__.py +0 -0
  340. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/agents.py +0 -0
  341. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/auth.py +0 -0
  342. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/capabilities.py +0 -0
  343. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/chat.py +0 -0
  344. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/config.py +0 -0
  345. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/credentials.py +0 -0
  346. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/desktop_catalogues.py +0 -0
  347. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/desktop_lifecycle.py +0 -0
  348. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/desktop_profiles.py +0 -0
  349. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/desktop_radient.py +0 -0
  350. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/desktop_sessions.py +0 -0
  351. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/health.py +0 -0
  352. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/jobs.py +0 -0
  353. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/models.py +0 -0
  354. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/schedules.py +0 -0
  355. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/settings.py +0 -0
  356. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/speech.py +0 -0
  357. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/sse.py +0 -0
  358. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/static.py +0 -0
  359. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/transcription.py +0 -0
  360. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/routes/websockets.py +0 -0
  361. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/__init__.py +0 -0
  362. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/attachment_utils.py +0 -0
  363. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/desktop_auth.py +0 -0
  364. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/desktop_commands.py +0 -0
  365. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/desktop_profiles.py +0 -0
  366. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/desktop_receipts.py +0 -0
  367. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/desktop_sessions.py +0 -0
  368. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/event_broker.py +0 -0
  369. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/job_processor_queue.py +0 -0
  370. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/operator.py +0 -0
  371. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/speech_utils.py +0 -0
  372. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/sse.py +0 -0
  373. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/sse_bridge.py +0 -0
  374. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/sse_publisher.py +0 -0
  375. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/server/utils/websocket_manager.py +0 -0
  376. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/__init__.py +0 -0
  377. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/attachments.py +0 -0
  378. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/attention.py +0 -0
  379. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/catalog.py +0 -0
  380. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/cleanup.py +0 -0
  381. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/creation.py +0 -0
  382. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/errors.py +0 -0
  383. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/frontend_state.py +0 -0
  384. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/goal.py +0 -0
  385. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/goal_loop.py +0 -0
  386. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/history_window.py +0 -0
  387. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/mcp_status.py +0 -0
  388. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/model_selection.py +0 -0
  389. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/naming.py +0 -0
  390. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/peer.py +0 -0
  391. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/protocol.py +0 -0
  392. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/remote.py +0 -0
  393. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/retention.py +0 -0
  394. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/__init__.py +0 -0
  395. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/control.py +0 -0
  396. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/exec_control.py +0 -0
  397. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/inbox.py +0 -0
  398. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/launch.py +0 -0
  399. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/owned.py +0 -0
  400. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/process.py +0 -0
  401. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/registry.py +0 -0
  402. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/server.py +0 -0
  403. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/types.py +0 -0
  404. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/viewer_client.py +0 -0
  405. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/viewer_server.py +0 -0
  406. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/runtime/viewers.py +0 -0
  407. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/saved_preview.py +0 -0
  408. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/search_index.py +0 -0
  409. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/shell_record.py +0 -0
  410. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/subscriptions.py +0 -0
  411. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session/transcript.py +0 -0
  412. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/session_lease.py +0 -0
  413. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/settings_io.py +0 -0
  414. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/__init__.py +0 -0
  415. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/api.py +0 -0
  416. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/discovery.py +0 -0
  417. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/embeddings.py +0 -0
  418. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/index.py +0 -0
  419. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/invoke.py +0 -0
  420. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/protocol.py +0 -0
  421. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/skills/vectors.py +0 -0
  422. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/slash_commands.py +0 -0
  423. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/__init__.py +0 -0
  424. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/apple.py +0 -0
  425. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/cmux.py +0 -0
  426. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/fallback.py +0 -0
  427. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/ghostty.py +0 -0
  428. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/kitty.py +0 -0
  429. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/policy.py +0 -0
  430. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/registry.py +0 -0
  431. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/types.py +0 -0
  432. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/spawn/wezterm.py +0 -0
  433. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/stream.py +0 -0
  434. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/teams.py +0 -0
  435. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/terminals.py +0 -0
  436. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/__init__.py +0 -0
  437. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/agent_tool.py +0 -0
  438. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/builtin.py +0 -0
  439. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/eval.py +0 -0
  440. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/eval_worker.py +0 -0
  441. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/group_reaper.py +0 -0
  442. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/lsp.py +0 -0
  443. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/registry.py +0 -0
  444. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/spill.py +0 -0
  445. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tools/team_tool.py +0 -0
  446. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/__init__.py +0 -0
  447. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/animation.py +0 -0
  448. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/attention.py +0 -0
  449. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/autocomplete.py +0 -0
  450. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/bindings.py +0 -0
  451. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/copy_targets.py +0 -0
  452. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/costs.py +0 -0
  453. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/events.py +0 -0
  454. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/glyphs.py +0 -0
  455. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/images.py +0 -0
  456. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/local_operator.tcss +0 -0
  457. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/markdown_theme.py +0 -0
  458. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/move_targets.py +0 -0
  459. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/notifier_app/__init__.py +0 -0
  460. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/notifier_app/icon.icns +0 -0
  461. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/notifier_app/notifier.m +0 -0
  462. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/notify.py +0 -0
  463. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/org_layout.py +0 -0
  464. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/org_render.py +0 -0
  465. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/__init__.py +0 -0
  466. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/classics.py +0 -0
  467. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/companions.py +0 -0
  468. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/lights.py +0 -0
  469. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/modern.py +0 -0
  470. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/nature.py +0 -0
  471. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/neon.py +0 -0
  472. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/radient.py +0 -0
  473. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/palettes/rose_pine.py +0 -0
  474. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/resume_click.py +0 -0
  475. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_catalog.py +0 -0
  476. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_drafts.py +0 -0
  477. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_interaction.py +0 -0
  478. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_navigation.py +0 -0
  479. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_presentation.py +0 -0
  480. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/session_workspace.py +0 -0
  481. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/settings.py +0 -0
  482. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/shimmer.py +0 -0
  483. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/terminal_title.py +0 -0
  484. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/theme.py +0 -0
  485. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/__init__.py +0 -0
  486. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/_copy_markdown.py +0 -0
  487. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/analytics_panel.py +0 -0
  488. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/approval.py +0 -0
  489. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/aside_panel.py +0 -0
  490. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/ask_picker.py +0 -0
  491. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/assistant.py +0 -0
  492. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/command_picker.py +0 -0
  493. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/copy_picker.py +0 -0
  494. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/editor.py +0 -0
  495. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/image_block.py +0 -0
  496. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/info_panel.py +0 -0
  497. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/key_prompt.py +0 -0
  498. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/model_picker.py +0 -0
  499. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/move_picker.py +0 -0
  500. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/org_chart_view.py +0 -0
  501. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/overlay.py +0 -0
  502. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/session_panel.py +0 -0
  503. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/session_picker.py +0 -0
  504. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/session_sidebar.py +0 -0
  505. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/settings_view.py +0 -0
  506. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/status_line.py +0 -0
  507. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/subagent_panel.py +0 -0
  508. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/subagent_view.py +0 -0
  509. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/toast.py +0 -0
  510. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/todo_panel.py +0 -0
  511. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/tool_card.py +0 -0
  512. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/transcript.py +0 -0
  513. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/usage_panel.py +0 -0
  514. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/wake_panel.py +0 -0
  515. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/widgets/welcome.py +0 -0
  516. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tui/window_focus.py +0 -0
  517. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/__init__.py +0 -0
  518. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/api.py +0 -0
  519. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/arguments.py +0 -0
  520. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/cli.py +0 -0
  521. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/config.py +0 -0
  522. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/gateway.py +0 -0
  523. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/install.py +0 -0
  524. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/tunnels/service.py +0 -0
  525. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/types.py +0 -0
  526. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/update.py +0 -0
  527. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/variables.py +0 -0
  528. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/wakes/__init__.py +0 -0
  529. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/wakes/display.py +0 -0
  530. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/wakes/install.py +0 -0
  531. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/wakes/store.py +0 -0
  532. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/wakes/supervisor.py +0 -0
  533. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/__init__.py +0 -0
  534. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/cli.py +0 -0
  535. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/models.py +0 -0
  536. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/render.py +0 -0
  537. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/service.py +0 -0
  538. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_fetch/tool.py +0 -0
  539. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/__init__.py +0 -0
  540. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/cli.py +0 -0
  541. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/io.py +0 -0
  542. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/models.py +0 -0
  543. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/providers.py +0 -0
  544. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/service.py +0 -0
  545. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator/web_search/tool.py +0 -0
  546. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/SOURCES.txt +0 -0
  547. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/dependency_links.txt +0 -0
  548. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/entry_points.txt +0 -0
  549. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/requires.txt +0 -0
  550. {local_operator-0.52.2 → local_operator-0.52.4}/local_operator.egg-info/top_level.txt +0 -0
  551. {local_operator-0.52.2 → local_operator-0.52.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: local-operator
3
- Version: 0.52.2
3
+ Version: 0.52.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
@@ -859,6 +859,7 @@ lop config create # scaffold it
859
859
  lop config list # every option, with descriptions
860
860
  lop config edit <key> <value>
861
861
  lop config open # open it in your editor
862
+ lop config instructions # which instruction files a session assembles, in order
862
863
  ```
863
864
 
864
865
  Commonly set values: `hosting` and `model_name` (skip the CLI flags),
@@ -893,6 +894,10 @@ export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS=~/.config/AGENTS.md:~/team/AGENTS.m
893
894
  export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS=
894
895
  ```
895
896
 
897
+ `lop config instructions` reports which files a session actually assembles, in
898
+ order, with the size each contributed and whether it was collapsed as a
899
+ duplicate — paths and sizes only, never the contents.
900
+
896
901
  Project-level `AGENTS.md` / `CLAUDE.md` files are discovered separately by
897
902
  walking up from your working directory, and can be disabled with
898
903
  `LOCAL_OPERATOR_CONTEXT_FILES=0`.
@@ -765,6 +765,7 @@ lop config create # scaffold it
765
765
  lop config list # every option, with descriptions
766
766
  lop config edit <key> <value>
767
767
  lop config open # open it in your editor
768
+ lop config instructions # which instruction files a session assembles, in order
768
769
  ```
769
770
 
770
771
  Commonly set values: `hosting` and `model_name` (skip the CLI flags),
@@ -799,6 +800,10 @@ export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS=~/.config/AGENTS.md:~/team/AGENTS.m
799
800
  export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS=
800
801
  ```
801
802
 
803
+ `lop config instructions` reports which files a session actually assembles, in
804
+ order, with the size each contributed and whether it was collapsed as a
805
+ duplicate — paths and sizes only, never the contents.
806
+
802
807
  Project-level `AGENTS.md` / `CLAUDE.md` files are discovered separately by
803
808
  walking up from your working directory, and can be disabled with
804
809
  `LOCAL_OPERATOR_CONTEXT_FILES=0`.
@@ -271,6 +271,23 @@ def build_cli_parser() -> argparse.ArgumentParser:
271
271
  "create", help="Create a new configuration file", parents=[parent_parser]
272
272
  )
273
273
 
274
+ # Instructions command. Takes ``--agent`` from ``parent_parser``, which is
275
+ # what lets it report the profile layer a session with that agent would
276
+ # actually assemble rather than only the two global sources.
277
+ config_subparsers.add_parser(
278
+ "instructions",
279
+ help="Show which custom-instruction files a session assembles, in order "
280
+ "(paths and sizes only, never their contents)",
281
+ # ``description=`` as well as ``help=``: the latter renders only on the
282
+ # PARENT ``config --help`` page, so without this the command's own
283
+ # ``--help`` is blank above the options list.
284
+ description="Show which custom-instruction files a session assembles, in "
285
+ "order, with the size each contributed and whether it was collapsed as a "
286
+ "duplicate, truncated, or overlaps an earlier source. Paths and sizes "
287
+ "only, never the contents.",
288
+ parents=[parent_parser],
289
+ )
290
+
274
291
  # Agents command
275
292
  agents_parser = subparsers.add_parser("agents", help="Manage agents", parents=[parent_parser])
276
293
  agents_subparsers = agents_parser.add_subparsers(dest="agents_command")
@@ -1348,6 +1365,247 @@ def config_list_command() -> int:
1348
1365
  return 0
1349
1366
 
1350
1367
 
1368
+ def config_instructions_command(args: argparse.Namespace) -> int:
1369
+ """Report which instruction files a session would actually assemble.
1370
+
1371
+ Answers "what instructions am I running", which before this command was
1372
+ only recoverable by importing ``ecosystem_instructions`` by hand or by
1373
+ reading an INFO log line the TUI writes to a rotating file (#822). The
1374
+ imported ``~/.agents/AGENTS.md`` is the case that needs it: it is written
1375
+ by another tool, named in no lop-owned setting, and silently reshapes the
1376
+ system prompt of every session and every subagent.
1377
+
1378
+ Deliberately PROVENANCE and not content. These files are the operator's
1379
+ standing rules and routinely run to thousands of lines; dumping them here
1380
+ would bury the one thing being asked about (which files, in what order, at
1381
+ what cost) and make the command unusable in a pipe. ``config open`` and an
1382
+ editor already show the text.
1383
+
1384
+ Read-only by construction: the whole report is derived from
1385
+ ``resolve_user_instructions``, which is the same call the session factory
1386
+ makes, so this command cannot report a prompt different from the one that
1387
+ ships \u2014 the divergence #822 is about.
1388
+ """
1389
+ # ``paint`` rather than the raw ``\033[1;32m`` literals ``config_list_command``
1390
+ # still carries: this output is routinely piped into an issue or a review
1391
+ # comment, and cli_style is the module that keeps the escapes out of a
1392
+ # non-tty capture and honours NO_COLOR.
1393
+ from local_operator.cli_style import CYAN, ERROR, SUCCESS, WARNING, paint
1394
+ from local_operator.ecosystem_instructions import (
1395
+ ECOSYSTEM_INSTRUCTION_PATHS,
1396
+ ECOSYSTEM_INSTRUCTIONS_ENV,
1397
+ )
1398
+ from local_operator.session_factory import (
1399
+ MAX_USER_INSTRUCTIONS_CHARS,
1400
+ resolve_user_instructions,
1401
+ )
1402
+
1403
+ # The profile prompt is resolved the way a session resolves it, so
1404
+ # ``--agent NAME`` reports what that agent would actually run rather than
1405
+ # the no-profile case. A name with no agent behind it is NOT created here:
1406
+ # this command must never write, and the interactive path's
1407
+ # create-on-missing behaviour would do exactly that.
1408
+ agent_prompt = ""
1409
+ agent_note = ""
1410
+ agent_name = getattr(args, "agent_name", None)
1411
+ if agent_name:
1412
+ from local_operator.agents import AgentRegistry
1413
+
1414
+ # Guarded because ``AgentRegistry.__init__`` mkdirs both ``config_dir``
1415
+ # and ``config_dir/agents`` — so on a machine with no config root at
1416
+ # all, asking this read-only command about an agent materialised one.
1417
+ # Read-only was a stated deliverable, and there is nothing to report
1418
+ # anyway: a config dir that does not exist holds no agents.
1419
+ root = config_dir()
1420
+ if not root.exists():
1421
+ print(
1422
+ paint(f"Error: No agent found with name: {agent_name}", ERROR, stream=sys.stderr),
1423
+ file=sys.stderr,
1424
+ )
1425
+ return 1
1426
+ registry = AgentRegistry(root)
1427
+ agent = registry.get_agent_by_name(agent_name)
1428
+ if agent is None:
1429
+ print(
1430
+ paint(f"Error: No agent found with name: {agent_name}", ERROR, stream=sys.stderr),
1431
+ file=sys.stderr,
1432
+ )
1433
+ return 1
1434
+ agent_prompt = registry.get_agent_system_prompt(str(agent.id)) or ""
1435
+ agent_note = agent_name
1436
+
1437
+ assembled, sources = resolve_user_instructions(agent_prompt, log_provenance=False)
1438
+
1439
+ override = os.environ.get(ECOSYSTEM_INSTRUCTIONS_ENV)
1440
+ # Both counts right-aligned in one field so the ``Included`` column does not
1441
+ # move between rows: comparing ``Read`` against ``Included``, and rows
1442
+ # against each other, is the whole reason both numbers are printed, and a
1443
+ # column that shifts with the digit count defeats scanning down it. Sized
1444
+ # from the data rather than a constant so the common small-number case
1445
+ # stays tight.
1446
+ count_width = max(
1447
+ (len(f"{value:,}") for source in sources for value in (source.chars, source.included)),
1448
+ default=1,
1449
+ )
1450
+ print(paint("\n╭─ Custom instructions, in assembly order ──────", SUCCESS))
1451
+ for index, source in enumerate(sources, start=1):
1452
+ label = source.label
1453
+ if label == "agent profile" and agent_note:
1454
+ label = f"agent profile ({agent_note})"
1455
+ print(paint(f"│ {index}. {label}", SUCCESS))
1456
+ print(paint(f"│ Path: {source.path if source.path else '(agent registry)'}", SUCCESS))
1457
+ # Both numbers, always: "read 6,960 / included 0" is the collapse an
1458
+ # operator is trying to confirm, and a single figure cannot express it.
1459
+ print(
1460
+ paint(
1461
+ f"│ Read: {source.chars:>{count_width},} chars"
1462
+ f" Included: {source.included:>{count_width},} chars",
1463
+ SUCCESS,
1464
+ )
1465
+ )
1466
+ if source.unreadable:
1467
+ # Degraded, not absent: the session started anyway with this file's
1468
+ # rules missing, which is a state the operator has to be told about
1469
+ # rather than left to read as "no such file".
1470
+ print(paint("│ Unreadable: skipped; the session ran without it", WARNING))
1471
+ elif source.chars == 0:
1472
+ # A path with no bytes behind it reads as a file that exists and is
1473
+ # being used. Saying so keeps the default install (no
1474
+ # system_prompt.md) from looking like a configured-but-broken one.
1475
+ #
1476
+ # Imported rows state the stronger fact: the loader only lists paths
1477
+ # that resolve to a real file, so an imported row with zero
1478
+ # characters is a file that EXISTS and is blank — not a path that
1479
+ # might be empty. Reporting the disjunction there would repeat, one
1480
+ # level down, the "no imported file exists" claim about a path that
1481
+ # has one.
1482
+ #
1483
+ # CYAN, not SUCCESS: every other line in the box — chrome, headers,
1484
+ # counts — is green, so a green annotation carries no signal at all,
1485
+ # and this is the row the DEFAULT install shows. The ladder is green
1486
+ # = normal contribution, cyan = present but contributed nothing,
1487
+ # yellow = degraded.
1488
+ empty_note = (
1489
+ "Empty: the file is there but holds no instructions"
1490
+ if source.label == "imported"
1491
+ else "Empty: no file at that path, or nothing in it"
1492
+ )
1493
+ print(paint(f"│ {empty_note}", CYAN))
1494
+ if source.collapsed:
1495
+ print(
1496
+ paint(
1497
+ "│ Collapsed: identical to instructions already loaded; sent once",
1498
+ CYAN,
1499
+ )
1500
+ )
1501
+ if source.truncated:
1502
+ print(paint("│ Truncated: hit the size cap; the tail was dropped", WARNING))
1503
+ if source.overlaps_index:
1504
+ # The superset arrangement, which the digest collapse cannot catch
1505
+ # and which two rows of non-zero "Included" cannot distinguish from
1506
+ # two genuinely distinct files. WARNING, matching ``Truncated:``:
1507
+ # this is a cost the operator is paying on every cached request and
1508
+ # can remove. The overlapping TEXT is never printed — the count and
1509
+ # the other source's row number are the whole answer.
1510
+ #
1511
+ # Kept within 80 columns in every reachable state: 79 for a
1512
+ # two-digit row number at 64,000 characters, and still 80 at three
1513
+ # digits, which a source list bounded by the override paths plus two
1514
+ # cannot reach. The box has no wrapping of its own, so a longer row
1515
+ # soft-wraps in an 80-column terminal and the overflow lands outside
1516
+ # the "│" gutter — the same reason the footer below is two lines
1517
+ # rather than one. The source is named by ROW NUMBER, not label:
1518
+ # several imported files all render as "imported", so a label could
1519
+ # not identify which file to edit.
1520
+ direction = (
1521
+ f"contains source {source.overlaps_index} verbatim"
1522
+ if source.overlap_contains
1523
+ else f"verbatim inside source {source.overlaps_index}"
1524
+ )
1525
+ print(
1526
+ paint(
1527
+ f"│ Overlaps: {direction} "
1528
+ f"({source.overlap_chars:,} chars); both copies are sent",
1529
+ WARNING,
1530
+ )
1531
+ )
1532
+ if not sources:
1533
+ print(paint("│ (none — no instruction sources resolved)", SUCCESS))
1534
+ # The recurrence, not just the headroom: without it the counts read as file
1535
+ # sizes rather than as a cost paid again on every request, which is the
1536
+ # framing the guide uses and the reason the numbers are worth showing.
1537
+ print(
1538
+ paint(
1539
+ f"│ Total assembled: {len(assembled):,} of {MAX_USER_INSTRUCTIONS_CHARS:,} chars",
1540
+ SUCCESS,
1541
+ )
1542
+ )
1543
+ print(
1544
+ paint(
1545
+ "│ Re-sent with every request, in every session and subagent",
1546
+ SUCCESS,
1547
+ )
1548
+ )
1549
+ print(paint("╰──────────────────────────────────────────────", SUCCESS))
1550
+
1551
+ # The imported half gets its own box because its state is the question:
1552
+ # "none" here is a real answer (the default install has no
1553
+ # ~/.agents/AGENTS.md) and must not read as an empty listing, and the
1554
+ # override has three distinct states an operator can be in by accident.
1555
+ print(paint("\n╭─ Imported user-scope instructions ────────────", SUCCESS))
1556
+ if override is None:
1557
+ default_paths = ", ".join(f"~/{relative}" for relative in ECOSYSTEM_INSTRUCTION_PATHS)
1558
+ print(paint(f"│ Source: default ({default_paths})", SUCCESS))
1559
+ elif not override.strip():
1560
+ print(
1561
+ paint(
1562
+ f"│ Source: DISABLED — {ECOSYSTEM_INSTRUCTIONS_ENV} is set and empty",
1563
+ WARNING,
1564
+ )
1565
+ )
1566
+ else:
1567
+ print(paint(f"│ Source: {ECOSYSTEM_INSTRUCTIONS_ENV}={override}", CYAN))
1568
+ imported = [source for source in sources if source.label == "imported"]
1569
+ if not imported:
1570
+ # "Nothing was imported" has two causes with opposite fixes — the
1571
+ # feature is off, or it is on and the file is simply not there — and an
1572
+ # operator who reads the wrong one goes looking in the wrong place.
1573
+ reason = (
1574
+ "the feature is disabled"
1575
+ if override is not None and not override.strip()
1576
+ else "no imported file exists at those paths"
1577
+ )
1578
+ print(paint(f"│ Files read: none — {reason}", SUCCESS))
1579
+ else:
1580
+ # "Files read" is plural and reads as a heading, so repeating it per row
1581
+ # made a two-file install read as two separate answers to one question.
1582
+ # Printed once with the entries indented beneath, matching the
1583
+ # four-space continuation the first box already uses — but only in the
1584
+ # multi-row case, since a lone "Files read: <path>" is correct as one
1585
+ # line and splitting it would cost a row for nothing.
1586
+ if len(imported) > 1:
1587
+ print(paint("│ Files read:", SUCCESS))
1588
+ for source in imported:
1589
+ if source.unreadable:
1590
+ state = "unreadable; skipped"
1591
+ elif source.collapsed:
1592
+ state = "collapsed"
1593
+ elif source.chars == 0:
1594
+ state = "empty"
1595
+ else:
1596
+ state = f"{source.included:,} chars"
1597
+ prefix = "│ " if len(imported) > 1 else "│ Files read: "
1598
+ print(paint(f"{prefix}{source.path} ({state})", SUCCESS))
1599
+ print(
1600
+ paint(
1601
+ "│ Read-only: system_prompt.md stays the only file lop writes",
1602
+ SUCCESS,
1603
+ )
1604
+ )
1605
+ print(paint("╰──────────────────────────────────────────────", SUCCESS))
1606
+ return 0
1607
+
1608
+
1351
1609
  def browser_command(args: argparse.Namespace) -> int:
1352
1610
  """Dispatch ``lop browser …`` without importing the daemon at CLI startup."""
1353
1611
  command = getattr(args, "browser_command", None)
@@ -4266,6 +4524,8 @@ def main() -> int:
4266
4524
  return config_edit_command(args)
4267
4525
  elif args.config_command == "list":
4268
4526
  return config_list_command()
4527
+ elif args.config_command == "instructions":
4528
+ return config_instructions_command(args)
4269
4529
  else:
4270
4530
  parser.error(f"Invalid config command: {args.config_command}")
4271
4531
  elif args.subcommand == "search":
@@ -66,6 +66,7 @@ import hashlib
66
66
  import logging
67
67
  import os
68
68
  import stat
69
+ from dataclasses import dataclass
69
70
  from pathlib import Path
70
71
 
71
72
  logger = logging.getLogger("local_operator.ecosystem_instructions")
@@ -89,6 +90,32 @@ ECOSYSTEM_INSTRUCTIONS_ENV = "LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS"
89
90
  MAX_FILE_BYTES = 64 * 1024
90
91
 
91
92
 
93
+ @dataclass(frozen=True)
94
+ class EcosystemFile:
95
+ """What one imported file contributed, or why it contributed nothing.
96
+
97
+ Exists because the INFO log below is not an answer an operator can ask a
98
+ question of: it is emitted once at session construction, lands in the
99
+ rotating log file under the TUI, and says nothing at all about a file that
100
+ was collapsed or truncated. ``lop config instructions`` renders these
101
+ records, so the same read that feeds the prompt is the one reported —
102
+ a second implementation of "what is lop reading" would be free to drift
103
+ from the first, which is the exact class of divergence this type exists to
104
+ close.
105
+
106
+ ``text`` is empty for every non-contributing outcome; ``chars`` still
107
+ reports what was READ, so a collapsed duplicate can be shown with its size
108
+ rather than as a blank row.
109
+ """
110
+
111
+ path: Path
112
+ text: str
113
+ chars: int
114
+ collapsed: bool
115
+ truncated: bool
116
+ unreadable: bool
117
+
118
+
92
119
  def content_digest(text: str) -> str:
93
120
  """Stable digest of instruction content, for collapsing duplicates.
94
121
 
@@ -115,9 +142,15 @@ def ecosystem_instruction_files() -> list[Path]:
115
142
  return [candidate for candidate in candidates if candidate.is_file()]
116
143
 
117
144
 
118
- def _read_bounded(path: Path) -> str:
145
+ def _read_bounded(path: Path) -> tuple[str, bool]:
119
146
  """Read one regular file, following links, without exceeding the cap.
120
147
 
148
+ Returns the text and whether the cap CUT it. The flag is returned rather
149
+ than left to the warning below because the provenance report has to state
150
+ truncation as a fact about the file, and re-deriving it from the returned
151
+ length would be wrong for multi-byte content: a 64 KiB read can decode to
152
+ fewer than ``MAX_FILE_BYTES`` characters and look untouched.
153
+
121
154
  Symlinks are followed (see the module docstring), but a non-regular target
122
155
  is still refused: this runs on the synchronous session-construction path
123
156
  with no timeout above it, so a fifo here would block startup forever —
@@ -145,7 +178,8 @@ def _read_bounded(path: Path) -> str:
145
178
  probe = stream.read(MAX_FILE_BYTES + 1)
146
179
  finally:
147
180
  os.close(descriptor)
148
- if len(probe) > MAX_FILE_BYTES:
181
+ truncated = len(probe) > MAX_FILE_BYTES
182
+ if truncated:
149
183
  logger.warning(
150
184
  "ecosystem instructions at %s exceed %d bytes; reading the first %d",
151
185
  path,
@@ -154,11 +188,19 @@ def _read_bounded(path: Path) -> str:
154
188
  )
155
189
  # ``utf-8-sig`` for the same reason the native loader uses it: a BOM from a
156
190
  # Windows editor would otherwise survive into the prompt ahead of rule one.
157
- return probe[:MAX_FILE_BYTES].decode("utf-8-sig", errors="replace")
191
+ return probe[:MAX_FILE_BYTES].decode("utf-8-sig", errors="replace"), truncated
158
192
 
159
193
 
160
- def load_ecosystem_instructions(skip_digests: frozenset[str] = frozenset()) -> str:
161
- """Imported user-scope instructions, joined in order. ``""`` when there are none.
194
+ def read_ecosystem_instructions(
195
+ skip_digests: frozenset[str] = frozenset(),
196
+ ) -> list[EcosystemFile]:
197
+ """Read every imported file in order, recording what each one contributed.
198
+
199
+ The single read that both the prompt and the provenance report are built
200
+ from. It is deliberately SILENT — :func:`log_ecosystem_provenance` emits the
201
+ records — so that a caller whose entire output is the provenance (``lop
202
+ config instructions``) does not print the same fact twice, once as a log
203
+ line on stderr and once inside its own box.
162
204
 
163
205
  ``skip_digests`` carries the digests of content the caller has ALREADY
164
206
  taken — in practice ``system_prompt.md`` — so an operator who generates the
@@ -166,35 +208,93 @@ def load_ecosystem_instructions(skip_digests: frozenset[str] = frozenset()) -> s
166
208
  cached request.
167
209
 
168
210
  Failures degrade rather than breaking startup, matching
169
- ``load_user_instructions``: an unreadable file is skipped and undecodable
170
- bytes are replaced, because a bad byte in a shared instructions file should
171
- cost one glyph, never a session.
211
+ ``load_user_instructions``: an unreadable file is recorded and skipped and
212
+ undecodable bytes are replaced, because a bad byte in a shared instructions
213
+ file should cost one glyph, never a session.
172
214
  """
173
- parts: list[str] = []
215
+ records: list[EcosystemFile] = []
174
216
  seen = set(skip_digests)
175
217
  for path in ecosystem_instruction_files():
176
218
  try:
177
- text = _read_bounded(path)
219
+ text, truncated = _read_bounded(path)
178
220
  except OSError:
221
+ records.append(
222
+ EcosystemFile(
223
+ path=path,
224
+ text="",
225
+ chars=0,
226
+ collapsed=False,
227
+ truncated=False,
228
+ unreadable=True,
229
+ )
230
+ )
179
231
  continue
180
232
  stripped = text.strip()
181
233
  if not stripped:
234
+ # A record, not a ``continue``: the file EXISTS. Dropping it here made
235
+ # the report say "no imported file exists at those paths" about a
236
+ # path that has a file on it, which is the mirror image of the
237
+ # mistake ``InstructionSource.unreadable`` exists to prevent — an
238
+ # operator who truncated their shared file while debugging would be
239
+ # sent looking for a missing file instead of at the empty one they
240
+ # have. Its digest is deliberately NOT added to ``seen``: nothing
241
+ # was contributed, so it cannot collapse a later file.
242
+ records.append(
243
+ EcosystemFile(
244
+ path=path,
245
+ text="",
246
+ chars=0,
247
+ collapsed=False,
248
+ truncated=truncated,
249
+ unreadable=False,
250
+ )
251
+ )
182
252
  continue
183
253
  digest = content_digest(stripped)
184
- if digest in seen:
185
- logger.debug("skipping %s: identical to instructions already loaded", path)
186
- continue
254
+ collapsed = digest in seen
187
255
  seen.add(digest)
188
- # INFO, not DEBUG: this file is written by another tool and named in no
189
- # lop-owned setting, yet it changes the system prompt of every session
190
- # and every subagent — the one import whose provenance an operator
191
- # cannot otherwise recover. It is not startup chatter: the record is
192
- # emitted only when a file actually EXISTS and actually contributed, so
193
- # the default install (no ``~/.agents/AGENTS.md``) stays silent, and on
194
- # the TUI it lands in the rotating log file rather than on screen
195
- # because ``file_logging`` detaches the console handlers. The dedup
196
- # skip above stays at DEBUG: nothing reached the prompt, so there is
197
- # nothing to account for.
198
- logger.info("loaded ecosystem instructions from %s (%d chars)", path, len(stripped))
199
- parts.append(stripped)
200
- return "\n\n".join(parts)
256
+ records.append(
257
+ EcosystemFile(
258
+ path=path,
259
+ text="" if collapsed else stripped,
260
+ chars=len(stripped),
261
+ collapsed=collapsed,
262
+ truncated=truncated,
263
+ unreadable=False,
264
+ )
265
+ )
266
+ return records
267
+
268
+
269
+ def log_ecosystem_provenance(records: list[EcosystemFile]) -> None:
270
+ """Record which imported files reached the prompt.
271
+
272
+ INFO, not DEBUG: these files are written by another tool and named in no
273
+ lop-owned setting, yet they change the system prompt of every session and
274
+ every subagent — the one import whose provenance an operator cannot
275
+ otherwise recover. It is not startup chatter: a record is emitted only when
276
+ a file actually EXISTS and actually contributed, so the default install (no
277
+ ``~/.agents/AGENTS.md``) stays silent, and on the TUI it lands in the
278
+ rotating log file rather than on screen because ``file_logging`` detaches
279
+ the console handlers. The dedup skip stays at DEBUG: nothing reached the
280
+ prompt, so there is nothing to account for.
281
+ """
282
+ for record in records:
283
+ if record.collapsed:
284
+ logger.debug("skipping %s: identical to instructions already loaded", record.path)
285
+ elif record.text:
286
+ logger.info(
287
+ "loaded ecosystem instructions from %s (%d chars)", record.path, record.chars
288
+ )
289
+
290
+
291
+ def load_ecosystem_instructions(skip_digests: frozenset[str] = frozenset()) -> str:
292
+ """Imported user-scope instructions, joined in order. ``""`` when there are none.
293
+
294
+ The joining half of :func:`read_ecosystem_instructions`, kept as the plain
295
+ text-returning entry point for callers that want the content and not the
296
+ accounting.
297
+ """
298
+ records = read_ecosystem_instructions(skip_digests)
299
+ log_ecosystem_provenance(records)
300
+ return "\n\n".join(record.text for record in records if record.text)
@@ -20,6 +20,7 @@ Use the CLI to avoid guessing:
20
20
  local-operator config create
21
21
  local-operator config open
22
22
  local-operator config list
23
+ local-operator config instructions
23
24
  ```
24
25
 
25
26
  `config create` and `config open` print the resolved backend path. Main files under that root include:
@@ -39,7 +40,7 @@ Standing user preferences — commit conventions, review gates, where projects l
39
40
  <config root>/system_prompt.md
40
41
  ```
41
42
 
42
- That single file is what the desktop UI's Settings → **Instructions** box edits and what `GET`/`PATCH /v1/config/system-prompt` reads and writes, so the CLI, TUI, server, and desktop app all share one definition of "custom instructions". There is no `AGENTS.md` mechanism and no `custom_instructions` key in `config.yml`; writing either does nothing.
43
+ That single file is what the desktop UI's Settings → **Instructions** box edits and what `GET`/`PATCH /v1/config/system-prompt` reads and writes, so the CLI, TUI, server, and desktop app all share one definition of "custom instructions". There is no `custom_instructions` key in `config.yml`; writing one does nothing. A user-scope `AGENTS.md` **is** read, but from the shared agent-tool directory and read-only — see "Imported instructions" below.
43
44
 
44
45
  To install or update them, write the file directly, resolving the root by the rule at the top of this guide so the commands stay correct under `LOCAL_OPERATOR_CONFIG_DIR`:
45
46
 
@@ -69,6 +70,49 @@ The content is capped at 64,000 characters, past which it is truncated with an e
69
70
 
70
71
  Keep the file free of secrets and of absolute home paths (prefer `~/`) when it may be shared. For task-specific knowledge that should load only when relevant, prefer a skill (`extensions` guide) over adding bulk here: this file is in context for every single turn.
71
72
 
73
+ ### Imported instructions (`~/.agents/AGENTS.md`)
74
+
75
+ Local Operator also reads `~/.agents/AGENTS.md`, so one set of standing preferences can serve several harnesses without a second copy under a lop-specific name. There is no standard for *user-scope* agent instructions — the agents.md spec covers repository files only — but the **filename** has converged, and `~/.agents/` is a tool-neutral directory with more than one independent implementation (Cline, Factory droid). Local Operator chose it because it already scans `~/.agents/skills`, so this needs no new relationship with a path it does not already know. `~/.local-operator/AGENTS.md` is deliberately **not** read, since with both it and `system_prompt.md` present there would be no single answer to what `GET /v1/config/system-prompt` returns or where `PATCH` writes.
76
+
77
+ Other harnesses keep their user-scope instructions elsewhere — Claude Code in `~/.claude/CLAUDE.md`, Codex in `~/.codex/AGENTS.md` — and Local Operator does **not** read those paths. Point it at one with the redirect below if that is where your rules already live.
78
+
79
+ - **Read-only.** `system_prompt.md` remains the sole write target of Settings → **Instructions** and `GET`/`PATCH /v1/config/system-prompt`. Local Operator never writes an imported file.
80
+ - **Order and precedence**: imported file first, then `system_prompt.md`, then the selected agent profile's prompt. Later text reads as the more specific instruction, so your own `system_prompt.md` wins over the shared file and the profile outranks both.
81
+ - **Redirect or disable** with `LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS`: a colon-separated path list that *replaces* the default set, and an **empty value disables the import entirely**.
82
+
83
+ ```bash
84
+ export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS=~/.config/AGENTS.md:~/team/AGENTS.md
85
+ export LOCAL_OPERATOR_ECOSYSTEM_INSTRUCTIONS= # off
86
+ ```
87
+
88
+ Each imported file is capped at 64 KiB at read; the assembled result is then bounded on the same 64,000-character budget described above. The imported text and the agent profile each hold a **16,000-character floor**; `system_prompt.md` has none and takes whatever remains. So a large imported file — written by another tool, and one you may not know is there — **can** truncate your own `system_prompt.md`, silently dropping its last rules: with a 40,000-character `~/.agents/AGENTS.md`, a 62,000-character `system_prompt.md` is cut to 47,998. `local-operator config instructions` marks the file that lost text with `Truncated:`, and truncation is logged as a warning.
89
+
90
+ **Watch the duplicate collapse.** Content byte-identical to `system_prompt.md` (whitespace-stripped) is loaded once instead of twice. The collapse is keyed on a digest of the **whole file**, so a `system_prompt.md` that is a *superset* of the shared file — shared rules plus a lop-only overlay, the natural arrangement when maintaining one rule set across harnesses — does **not** collapse, and you pay for both copies in the cached prefix of every request, in every session and every subagent. Check with:
91
+
92
+ ```bash
93
+ local-operator config instructions
94
+ ```
95
+
96
+ It prints each source, its resolved path, characters read versus included, and whether it was collapsed or truncated — never the contents. A duplicated span is named explicitly, so you do not have to infer it from the counts:
97
+
98
+ ```
99
+ │ 2. system_prompt.md
100
+ │ Path: ~/.local-operator/system_prompt.md
101
+ │ Read: 1,124 chars Included: 1,124 chars
102
+ │ Overlaps: contains source 1 verbatim (1,079 chars); both copies are sent
103
+ ```
104
+
105
+ The row names the other source by its **row number** in the same box, since several imported paths all print as `imported`. It reads either way round — the migration case, where the rules moved into `~/.agents/AGENTS.md` and grew there while the old `system_prompt.md` was left behind as a subset, prints on the smaller file instead:
106
+
107
+ ```
108
+ │ 2. system_prompt.md
109
+ │ Overlaps: verbatim inside source 1 (1,079 chars); both copies are sent
110
+ ```
111
+
112
+ An `Overlaps:` row means you are paying twice for those characters on every request. Fix it by keeping the shared file and the lop-only file **disjoint** — move the overlapping rules out of whichever file is the copy — or, when one is wholly inside the other, by deleting the subset or making the two byte-identical, which collapses instead.
113
+
114
+ Two rows with no `Overlaps:` line are not a certificate of no duplication: the check is whole-source containment with a 200-character floor, so it does not catch two files that share a paragraph while each holding rules the other does not, and it does not report spans under 200 characters. It also stays silent for a source the size cap already cut — that row carries `Truncated:` instead, and a claim that both copies are sent whole would be untrue of text the prompt partly dropped.
115
+
72
116
  ## Set the default provider and model
73
117
 
74
118
  ```bash