lightfall 0.2.1__tar.gz → 0.4.0__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.
- lightfall-0.4.0/.gitignore +121 -0
- lightfall-0.4.0/PKG-INFO +243 -0
- lightfall-0.4.0/README.md +163 -0
- lightfall-0.4.0/pyproject.toml +323 -0
- lightfall-0.4.0/src/lightfall/_version.py +24 -0
- lightfall-0.4.0/src/lightfall/acquire/buffer.py +368 -0
- lightfall-0.4.0/src/lightfall/acquire/checkpoints.py +292 -0
- lightfall-0.4.0/src/lightfall/acquire/engine/base.py +683 -0
- lightfall-0.4.0/src/lightfall/acquire/engine/bluesky.py +774 -0
- lightfall-0.4.0/src/lightfall/acquire/engine/console_proxy.py +111 -0
- lightfall-0.4.0/src/lightfall/acquire/engine/mock.py +186 -0
- lightfall-0.4.0/src/lightfall/acquire/engine/waiting_hook.py +248 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/__init__.py +53 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/lightfall_plans.py +612 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/preview.py +319 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/registry.py +590 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/stubs.py +134 -0
- lightfall-0.4.0/src/lightfall/acquire/plans/user_plans.py +585 -0
- lightfall-0.4.0/src/lightfall/agents/assembly.py +245 -0
- lightfall-0.4.0/src/lightfall/agents/backend.py +266 -0
- lightfall-0.4.0/src/lightfall/agents/backends/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/__init__.py +29 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/ask_tool.py +94 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/backend.py +469 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/discover.py +122 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/events.py +209 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/home.py +513 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/hook_client.py +46 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/hook_policy.py +123 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/host.py +255 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/process.py +339 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/sessions.py +137 -0
- lightfall-0.4.0/src/lightfall/agents/backends/agy/tool_directory.py +70 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/__init__.py +9 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/backend.py +424 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/no_window.py +60 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/oneshot.py +59 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/options.py +132 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/permissions.py +190 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/sessions.py +52 -0
- lightfall-0.4.0/src/lightfall/agents/backends/claude_code/tools.py +26 -0
- lightfall-0.4.0/src/lightfall/agents/backends/info.py +377 -0
- lightfall-0.4.0/src/lightfall/agents/backends/select.py +33 -0
- lightfall-0.4.0/src/lightfall/agents/builtin/lightfall-dev.md +68 -0
- lightfall-0.4.0/src/lightfall/agents/builtin/lightfall.md +92 -0
- lightfall-0.4.0/src/lightfall/agents/builtin/observer.md +17 -0
- lightfall-0.4.0/src/lightfall/agents/bus.py +153 -0
- lightfall-0.4.0/src/lightfall/agents/bus_tools.py +232 -0
- lightfall-0.4.0/src/lightfall/agents/content_tools.py +408 -0
- lightfall-0.4.0/src/lightfall/agents/drafts.py +344 -0
- lightfall-0.4.0/src/lightfall/agents/github_tools.py +236 -0
- lightfall-0.4.0/src/lightfall/agents/registry.py +186 -0
- lightfall-0.4.0/src/lightfall/agents/skill_approvals.py +96 -0
- lightfall-0.4.0/src/lightfall/agents/skill_tools.py +424 -0
- lightfall-0.4.0/src/lightfall/agents/skills_store.py +489 -0
- lightfall-0.4.0/src/lightfall/agents/telemetry.py +300 -0
- lightfall-0.4.0/src/lightfall/agents/telemetry_otlp.py +130 -0
- lightfall-0.4.0/src/lightfall/agents/tooling.py +175 -0
- lightfall-0.4.0/src/lightfall/agents/worker.py +592 -0
- lightfall-0.4.0/src/lightfall/auth/engine_guard.py +94 -0
- lightfall-0.4.0/src/lightfall/auth/providers/builtin_plugins.py +183 -0
- lightfall-0.4.0/src/lightfall/auth/providers/keycloak.py +1242 -0
- lightfall-0.4.0/src/lightfall/auth/providers/local.py +331 -0
- lightfall-0.4.0/src/lightfall/auth/service_key_auth.py +140 -0
- lightfall-0.4.0/src/lightfall/auth/session.py +756 -0
- lightfall-0.4.0/src/lightfall/auth/sso_stash.py +151 -0
- lightfall-0.4.0/src/lightfall/claude/_internal/worker.py +29 -0
- lightfall-0.4.0/src/lightfall/claude/_session_assembly.py +116 -0
- lightfall-0.4.0/src/lightfall/claude/agent.py +1099 -0
- lightfall-0.4.0/src/lightfall/claude/bus_endpoint.py +324 -0
- lightfall-0.4.0/src/lightfall/claude/cockpit.py +71 -0
- lightfall-0.4.0/src/lightfall/claude/lightfall_core_tools.py +406 -0
- lightfall-0.4.0/src/lightfall/claude/markdown.py +105 -0
- lightfall-0.4.0/src/lightfall/claude/permission_manager.py +448 -0
- lightfall-0.4.0/src/lightfall/claude/tools/__init__.py +38 -0
- lightfall-0.4.0/src/lightfall/claude/tools/controller.py +131 -0
- lightfall-0.4.0/src/lightfall/claude/tools/diagnostics.py +200 -0
- lightfall-0.4.0/src/lightfall/claude/tools/interaction.py +178 -0
- lightfall-0.4.0/src/lightfall/claude/tools/introspection.py +127 -0
- lightfall-0.4.0/src/lightfall/claude/tools/logs.py +155 -0
- lightfall-0.4.0/src/lightfall/claude/tools/screenshot.py +99 -0
- lightfall-0.4.0/src/lightfall/claude/voice_queue.py +256 -0
- lightfall-0.4.0/src/lightfall/claude/widget.py +1741 -0
- lightfall-0.4.0/src/lightfall/claude/widgets/permission_request.py +287 -0
- lightfall-0.4.0/src/lightfall/claude/widgets/question_request.py +382 -0
- lightfall-0.4.0/src/lightfall/claude/widgets/task_card.py +234 -0
- lightfall-0.4.0/src/lightfall/config/facilities.yaml +10 -0
- lightfall-0.4.0/src/lightfall/config/layers.py +5 -0
- lightfall-0.4.0/src/lightfall/config/manager.py +135 -0
- lightfall-0.4.0/src/lightfall/config/schema.py +186 -0
- lightfall-0.4.0/src/lightfall/content/__init__.py +2 -0
- lightfall-0.4.0/src/lightfall/content/actions.py +302 -0
- lightfall-0.4.0/src/lightfall/content/clashes.py +79 -0
- lightfall-0.4.0/src/lightfall/content/copy.py +160 -0
- lightfall-0.4.0/src/lightfall/content/extract.py +71 -0
- lightfall-0.4.0/src/lightfall/content/labels.py +23 -0
- lightfall-0.4.0/src/lightfall/content/publish.py +239 -0
- lightfall-0.4.0/src/lightfall/content/service.py +198 -0
- lightfall-0.4.0/src/lightfall/content/sources.py +87 -0
- lightfall-0.4.0/src/lightfall/content/store.py +207 -0
- lightfall-0.4.0/src/lightfall/content/sync.py +127 -0
- lightfall-0.4.0/src/lightfall/core/application.py +711 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/__init__.py +7 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/base.py +93 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/bcs.py +74 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/csm.py +424 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/happi.py +71 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/mock.py +41 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/registry.py +87 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/rows.py +330 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/session.py +132 -0
- lightfall-0.4.0/src/lightfall/devices/backend_types/startup.py +222 -0
- lightfall-0.4.0/src/lightfall/devices/backends/__init__.py +20 -0
- lightfall-0.4.0/src/lightfall/devices/backends/bcs.py +572 -0
- lightfall-0.4.0/src/lightfall/devices/backends/csm.py +240 -0
- lightfall-0.4.0/src/lightfall/devices/backends/happi.py +1181 -0
- lightfall-0.4.0/src/lightfall/devices/backends/mock.py +755 -0
- lightfall-0.4.0/src/lightfall/devices/backends/mock_roster.py +225 -0
- lightfall-0.4.0/src/lightfall/devices/base.py +411 -0
- lightfall-0.4.0/src/lightfall/devices/catalog.py +1517 -0
- lightfall-0.4.0/src/lightfall/devices/model.py +296 -0
- lightfall-0.4.0/src/lightfall/devices/sim/actuators.py +158 -0
- lightfall-0.4.0/src/lightfall/devices/sim/cosmic_model.py +265 -0
- lightfall-0.4.0/src/lightfall/devices/sim/cosmic_roster.py +211 -0
- lightfall-0.4.0/src/lightfall/epics/ca/context.py +5 -0
- lightfall-0.4.0/src/lightfall/epics/ca/pv.py +5 -0
- lightfall-0.4.0/src/lightfall/epics/widgets/ophyd_base.py +483 -0
- lightfall-0.4.0/src/lightfall/epics/widgets/ophyd_combobox.py +163 -0
- lightfall-0.4.0/src/lightfall/eval/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/eval/__main__.py +84 -0
- lightfall-0.4.0/src/lightfall/eval/agents.py +247 -0
- lightfall-0.4.0/src/lightfall/eval/environment.py +204 -0
- lightfall-0.4.0/src/lightfall/eval/runner.py +72 -0
- lightfall-0.4.0/src/lightfall/eval/scenarios.py +156 -0
- lightfall-0.4.0/src/lightfall/exporter/service.py +201 -0
- lightfall-0.4.0/src/lightfall/exporter/tiled_utils.py +73 -0
- lightfall-0.4.0/src/lightfall/github/__init__.py +3 -0
- lightfall-0.4.0/src/lightfall/github/auth.py +231 -0
- lightfall-0.4.0/src/lightfall/github/push.py +322 -0
- lightfall-0.4.0/src/lightfall/github/session.py +134 -0
- lightfall-0.4.0/src/lightfall/happi_backend/__init__.py +23 -0
- lightfall-0.4.0/src/lightfall/happi_backend/csm.py +669 -0
- lightfall-0.4.0/src/lightfall/ipc/defaults.py +9 -0
- lightfall-0.4.0/src/lightfall/ipc/local_server.py +25 -0
- lightfall-0.4.0/src/lightfall/ipc/service.py +21 -0
- lightfall-0.4.0/src/lightfall/ipc/trust.py +5 -0
- lightfall-0.4.0/src/lightfall/logbook/client.py +995 -0
- lightfall-0.4.0/src/lightfall/logbook/entry_widget.py +1217 -0
- lightfall-0.4.0/src/lightfall/logbook/event_listener.py +235 -0
- lightfall-0.4.0/src/lightfall/logbook/fragment_widgets.py +1031 -0
- lightfall-0.4.0/src/lightfall/logbook/url.py +29 -0
- lightfall-0.4.0/src/lightfall/main.py +1270 -0
- lightfall-0.4.0/src/lightfall/monitor/advisor.py +156 -0
- lightfall-0.4.0/src/lightfall/monitor/feeds/beam_status.py +128 -0
- lightfall-0.4.0/src/lightfall/monitor/registry.py +228 -0
- lightfall-0.4.0/src/lightfall/monitor/scheduler.py +214 -0
- lightfall-0.4.0/src/lightfall/monitor/service.py +197 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/autonomous_experiment/nats_tools.py +203 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/autonomous_experiment/plugin.py +103 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/autonomous_experiment/prompts.py +166 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/checkpoint_tools.py +189 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/current_esaf.py +365 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/device_tools.py +1050 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/engine_tools.py +1154 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/ipython_tools.py +440 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/panel_builder.py +629 -0
- lightfall-0.4.0/src/lightfall/plugins/agents/plan_tools.py +1020 -0
- lightfall-0.4.0/src/lightfall/plugins/auth_provider_plugin.py +94 -0
- lightfall-0.4.0/src/lightfall/plugins/builtin_manifest.py +471 -0
- lightfall-0.4.0/src/lightfall/plugins/enablement.py +176 -0
- lightfall-0.4.0/src/lightfall/plugins/live_reload.py +343 -0
- lightfall-0.4.0/src/lightfall/plugins/loader.py +1046 -0
- lightfall-0.4.0/src/lightfall/plugins/plan_plugin.py +216 -0
- lightfall-0.4.0/src/lightfall/plugins/service_plugin.py +59 -0
- lightfall-0.4.0/src/lightfall/plugins/settings_plugin.py +242 -0
- lightfall-0.4.0/src/lightfall/plugins/statusbar_plugin.py +504 -0
- lightfall-0.4.0/src/lightfall/plugins/theme_plugin.py +22 -0
- lightfall-0.4.0/src/lightfall/plugins/tool_plugin.py +150 -0
- lightfall-0.4.0/src/lightfall/plugins/types.py +157 -0
- lightfall-0.4.0/src/lightfall/plugins/user_plugins.py +1247 -0
- lightfall-0.4.0/src/lightfall/remote/protocol.py +6 -0
- lightfall-0.4.0/src/lightfall/scopes/__init__.py +15 -0
- lightfall-0.4.0/src/lightfall/scopes/approval_queue.py +68 -0
- lightfall-0.4.0/src/lightfall/scopes/cache.py +97 -0
- lightfall-0.4.0/src/lightfall/scopes/client.py +535 -0
- lightfall-0.4.0/src/lightfall/scopes/enablement.py +23 -0
- lightfall-0.4.0/src/lightfall/scopes/identity.py +34 -0
- lightfall-0.4.0/src/lightfall/scopes/journal.py +72 -0
- lightfall-0.4.0/src/lightfall/scopes/keys.py +254 -0
- lightfall-0.4.0/src/lightfall/scopes/local_files.py +87 -0
- lightfall-0.4.0/src/lightfall/scopes/ops.py +99 -0
- lightfall-0.4.0/src/lightfall/scopes/site.py +60 -0
- lightfall-0.4.0/src/lightfall/scopes/state.py +105 -0
- lightfall-0.4.0/src/lightfall/scopes/store.py +100 -0
- lightfall-0.4.0/src/lightfall/scopes/view.py +148 -0
- lightfall-0.4.0/src/lightfall/services/caproxy_lease_service.py +357 -0
- lightfall-0.4.0/src/lightfall/services/manager.py +619 -0
- lightfall-0.4.0/src/lightfall/services/shussebora_files.py +209 -0
- lightfall-0.4.0/src/lightfall/services/shussebora_monitor.py +267 -0
- lightfall-0.4.0/src/lightfall/services/threaded_tiled_writer.py +235 -0
- lightfall-0.4.0/src/lightfall/services/tiled_proxy.py +92 -0
- lightfall-0.4.0/src/lightfall/services/tiled_service.py +1068 -0
- lightfall-0.4.0/src/lightfall/services/tiled_writer_patch.py +376 -0
- lightfall-0.4.0/src/lightfall/setup/__init__.py +5 -0
- lightfall-0.4.0/src/lightfall/setup/bootstrap.py +421 -0
- lightfall-0.4.0/src/lightfall/setup/context.py +62 -0
- lightfall-0.4.0/src/lightfall/setup/facilities.py +95 -0
- lightfall-0.4.0/src/lightfall/setup/page.py +197 -0
- lightfall-0.4.0/src/lightfall/setup/pages/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/setup/pages/assistant.py +71 -0
- lightfall-0.4.0/src/lightfall/setup/pages/facility.py +88 -0
- lightfall-0.4.0/src/lightfall/setup/pages/network.py +246 -0
- lightfall-0.4.0/src/lightfall/setup/pages/shortcut.py +64 -0
- lightfall-0.4.0/src/lightfall/setup/pages/signin.py +91 -0
- lightfall-0.4.0/src/lightfall/setup/progress.py +55 -0
- lightfall-0.4.0/src/lightfall/setup/registry.py +44 -0
- lightfall-0.4.0/src/lightfall/setup/services.py +214 -0
- lightfall-0.4.0/src/lightfall/setup/shortcuts.py +215 -0
- lightfall-0.4.0/src/lightfall/setup/step.py +53 -0
- lightfall-0.4.0/src/lightfall/setup/steps/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/setup/steps/assistant.py +52 -0
- lightfall-0.4.0/src/lightfall/setup/steps/facility.py +57 -0
- lightfall-0.4.0/src/lightfall/setup/steps/network.py +90 -0
- lightfall-0.4.0/src/lightfall/setup/steps/shortcut.py +77 -0
- lightfall-0.4.0/src/lightfall/setup/steps/signin.py +97 -0
- lightfall-0.4.0/src/lightfall/setup/wizard.py +706 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/autonomous_experiment/SKILL.md +166 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/bcs_labview_to_happi/SKILL.md +157 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/epics_windows_mingw_build/SKILL.md +201 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/panel_builder/SKILL.md +48 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/panel_design/references/panel_design.md +902 -0
- lightfall-0.4.0/src/lightfall/skills/builtin/plan_review/SKILL.md +74 -0
- lightfall-0.4.0/src/lightfall/ui/content_clashes.py +105 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/bug_report_dialog.py +387 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/content_history_dialog.py +210 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/content_publish_dialog.py +288 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/export_dialog.py +571 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/git_state_dialog.py +275 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/github_sign_in.py +299 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/login_dialog.py +563 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/oauth_browser_dialog.py +479 -0
- lightfall-0.4.0/src/lightfall/ui/dialogs/update_dialog.py +332 -0
- lightfall-0.4.0/src/lightfall/ui/docking/__init__.py +48 -0
- lightfall-0.4.0/src/lightfall/ui/docking/manager.py +1135 -0
- lightfall-0.4.0/src/lightfall/ui/mainwindow.py +1216 -0
- lightfall-0.4.0/src/lightfall/ui/models/device_tree.py +1216 -0
- lightfall-0.4.0/src/lightfall/ui/models/thread_model.py +844 -0
- lightfall-0.4.0/src/lightfall/ui/panels/agent_editor/models.py +369 -0
- lightfall-0.4.0/src/lightfall/ui/panels/agent_editor/panel.py +711 -0
- lightfall-0.4.0/src/lightfall/ui/panels/base.py +708 -0
- lightfall-0.4.0/src/lightfall/ui/panels/bluesky_panel.py +637 -0
- lightfall-0.4.0/src/lightfall/ui/panels/checkpoints_panel.py +184 -0
- lightfall-0.4.0/src/lightfall/ui/panels/claude/agent_session_tab.py +706 -0
- lightfall-0.4.0/src/lightfall/ui/panels/claude/tool_registry.py +246 -0
- lightfall-0.4.0/src/lightfall/ui/panels/claude_panel.py +1693 -0
- lightfall-0.4.0/src/lightfall/ui/panels/content_panel.py +526 -0
- lightfall-0.4.0/src/lightfall/ui/panels/device_panel.py +370 -0
- lightfall-0.4.0/src/lightfall/ui/panels/documents_panel.py +207 -0
- lightfall-0.4.0/src/lightfall/ui/panels/ipython_panel.py +614 -0
- lightfall-0.4.0/src/lightfall/ui/panels/logbook_entries_panel.py +101 -0
- lightfall-0.4.0/src/lightfall/ui/panels/logbook_panel.py +779 -0
- lightfall-0.4.0/src/lightfall/ui/panels/logging_panel.py +604 -0
- lightfall-0.4.0/src/lightfall/ui/panels/monitor_panel.py +63 -0
- lightfall-0.4.0/src/lightfall/ui/panels/pipeline_jobs_panel.py +161 -0
- lightfall-0.4.0/src/lightfall/ui/panels/pipeline_triggers_panel.py +173 -0
- lightfall-0.4.0/src/lightfall/ui/panels/plugins/checkpoints_plugin.py +20 -0
- lightfall-0.4.0/src/lightfall/ui/panels/plugins/content_panel_plugin.py +21 -0
- lightfall-0.4.0/src/lightfall/ui/panels/queue.py +757 -0
- lightfall-0.4.0/src/lightfall/ui/panels/registry.py +494 -0
- lightfall-0.4.0/src/lightfall/ui/panels/shussebora_panel.py +276 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/editors.py +484 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/items.py +648 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/models.py +350 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/panel.py +955 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/serialization.py +373 -0
- lightfall-0.4.0/src/lightfall/ui/panels/synoptic/view.py +627 -0
- lightfall-0.4.0/src/lightfall/ui/panels/threads_panel.py +647 -0
- lightfall-0.4.0/src/lightfall/ui/panels/tiled_browser_panel.py +889 -0
- lightfall-0.4.0/src/lightfall/ui/panels/visualization_panel.py +910 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/agent_backend_section.py +400 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/assistant_editors.py +267 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/backend.py +168 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/builtin.py +213 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/claude_settings.py +786 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/device_rows.py +514 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/device_settings.py +249 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/dialog.py +668 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/editor_settings.py +134 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/binding.py +48 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/catalog.py +431 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/editors.py +648 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/header.py +110 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/items.py +133 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/model.py +220 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/row.py +355 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/schema.py +249 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/form/view.py +359 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/github_settings.py +133 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/ipc_settings.py +263 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/local_scopes_backend.py +109 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/logbook_settings.py +151 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/login_settings.py +127 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/manager.py +932 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/monitor_settings.py +203 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/plugin_settings.py +98 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/proxy_settings.py +409 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/scope_api.py +169 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/scoped_backend.py +849 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/scopes_settings.py +462 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/setting_keys_settings.py +368 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/tiled_settings.py +292 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/tool_settings.py +115 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/user_profile_settings.py +327 -0
- lightfall-0.4.0/src/lightfall/ui/preferences/visualization_settings.py +88 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/manager.py +381 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/als_beam_status.py +197 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/caproxy_lease_status.py +206 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/git_state_status.py +85 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/memory_status.py +113 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/nats_status.py +203 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/shussebora_status.py +136 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/thread_status.py +550 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/tiled_status.py +198 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/updates_status.py +95 -0
- lightfall-0.4.0/src/lightfall/ui/statusbar/plugins/user_status.py +131 -0
- lightfall-0.4.0/src/lightfall/ui/style/__init__.py +1 -0
- lightfall-0.4.0/src/lightfall/ui/style/modern.py +199 -0
- lightfall-0.4.0/src/lightfall/ui/style/windows_frame.py +37 -0
- lightfall-0.4.0/src/lightfall/ui/theme/__init__.py +35 -0
- lightfall-0.4.0/src/lightfall/ui/theme/builtin.py +44 -0
- lightfall-0.4.0/src/lightfall/ui/theme/manager.py +13 -0
- lightfall-0.4.0/src/lightfall/ui/theme/registry.py +5 -0
- lightfall-0.4.0/src/lightfall/ui/toast.py +254 -0
- lightfall-0.4.0/src/lightfall/ui/tutorial.py +1101 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/camera/base.py +837 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/camera/plan_based.py +202 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/device_tree_tab.py +501 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/flow_layout.py +148 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/plan_config.py +956 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/plan_selector.py +461 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/profile_avatar.py +132 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/signal_control.py +806 -0
- lightfall-0.4.0/src/lightfall/ui/widgets/skill_trigger_button.py +183 -0
- lightfall-0.4.0/src/lightfall/updates/__init__.py +7 -0
- lightfall-0.4.0/src/lightfall/updates/_install_helper.py +202 -0
- lightfall-0.4.0/src/lightfall/updates/apply.py +203 -0
- lightfall-0.4.0/src/lightfall/updates/checker.py +197 -0
- lightfall-0.4.0/src/lightfall/updates/deferred.py +130 -0
- lightfall-0.4.0/src/lightfall/updates/discovery.py +112 -0
- lightfall-0.4.0/src/lightfall/updates/git.py +221 -0
- lightfall-0.4.0/src/lightfall/updates/model.py +61 -0
- lightfall-0.4.0/src/lightfall/updates/pypi.py +75 -0
- lightfall-0.4.0/src/lightfall/utils/caproto_shutdown.py +9 -0
- lightfall-0.4.0/src/lightfall/utils/crash_diagnostics.py +457 -0
- lightfall-0.4.0/src/lightfall/utils/git_tracker.py +251 -0
- lightfall-0.4.0/src/lightfall/utils/log_buffer.py +5 -0
- lightfall-0.4.0/src/lightfall/utils/logging.py +17 -0
- lightfall-0.4.0/src/lightfall/utils/qt_import_hook.py +54 -0
- lightfall-0.4.0/src/lightfall/utils/restart.py +109 -0
- lightfall-0.4.0/src/lightfall/utils/sentry.py +815 -0
- lightfall-0.4.0/src/lightfall/utils/startup_timeline.py +351 -0
- lightfall-0.4.0/src/lightfall/utils/threads.py +31 -0
- lightfall-0.4.0/src/lightfall/utils/tiled_helpers.py +308 -0
- lightfall-0.4.0/src/lightfall/visualization/base_visualization.py +147 -0
- lightfall-0.4.0/src/lightfall/visualization/stream_bridge.py +56 -0
- lightfall-0.4.0/src/lightfall/visualization/widgets/adaptive/heatmap.py +658 -0
- lightfall-0.4.0/src/lightfall/visualization/widgets/adaptive/plot.py +248 -0
- lightfall-0.4.0/src/lightfall/visualization/widgets/adaptive/schema.py +60 -0
- lightfall-0.4.0/src/lightfall/visualization/widgets/plot_1d.py +426 -0
- lightfall-0.2.1/.gitignore +0 -118
- lightfall-0.2.1/PKG-INFO +0 -223
- lightfall-0.2.1/README.md +0 -156
- lightfall-0.2.1/pyproject.toml +0 -276
- lightfall-0.2.1/src/lightfall/_version.py +0 -24
- lightfall-0.2.1/src/lightfall/acquire/buffer.py +0 -363
- lightfall-0.2.1/src/lightfall/acquire/engine/base.py +0 -654
- lightfall-0.2.1/src/lightfall/acquire/engine/bluesky.py +0 -612
- lightfall-0.2.1/src/lightfall/acquire/engine/console_proxy.py +0 -101
- lightfall-0.2.1/src/lightfall/acquire/engine/mock.py +0 -182
- lightfall-0.2.1/src/lightfall/acquire/engine/waiting_hook.py +0 -236
- lightfall-0.2.1/src/lightfall/acquire/plans/__init__.py +0 -38
- lightfall-0.2.1/src/lightfall/acquire/plans/lightfall_plans.py +0 -597
- lightfall-0.2.1/src/lightfall/acquire/plans/registry.py +0 -542
- lightfall-0.2.1/src/lightfall/acquire/plans/user_plans.py +0 -470
- lightfall-0.2.1/src/lightfall/agents/assembly.py +0 -188
- lightfall-0.2.1/src/lightfall/agents/builtin/lightfall-dev.md +0 -66
- lightfall-0.2.1/src/lightfall/agents/builtin/lightfall.md +0 -84
- lightfall-0.2.1/src/lightfall/agents/builtin/observer.md +0 -16
- lightfall-0.2.1/src/lightfall/agents/bus.py +0 -126
- lightfall-0.2.1/src/lightfall/agents/bus_tools.py +0 -192
- lightfall-0.2.1/src/lightfall/agents/drafts.py +0 -337
- lightfall-0.2.1/src/lightfall/agents/registry.py +0 -148
- lightfall-0.2.1/src/lightfall/agents/skill_tools.py +0 -148
- lightfall-0.2.1/src/lightfall/agents/skills_store.py +0 -201
- lightfall-0.2.1/src/lightfall/auth/providers/builtin_plugins.py +0 -212
- lightfall-0.2.1/src/lightfall/auth/providers/keycloak.py +0 -1054
- lightfall-0.2.1/src/lightfall/auth/providers/local.py +0 -319
- lightfall-0.2.1/src/lightfall/auth/service_key_auth.py +0 -79
- lightfall-0.2.1/src/lightfall/auth/session.py +0 -730
- lightfall-0.2.1/src/lightfall/claude/_internal/worker.py +0 -580
- lightfall-0.2.1/src/lightfall/claude/_session_assembly.py +0 -89
- lightfall-0.2.1/src/lightfall/claude/agent.py +0 -864
- lightfall-0.2.1/src/lightfall/claude/bus_endpoint.py +0 -245
- lightfall-0.2.1/src/lightfall/claude/cockpit.py +0 -70
- lightfall-0.2.1/src/lightfall/claude/lightfall_core_tools.py +0 -410
- lightfall-0.2.1/src/lightfall/claude/markdown.py +0 -103
- lightfall-0.2.1/src/lightfall/claude/permission_manager.py +0 -588
- lightfall-0.2.1/src/lightfall/claude/tools/__init__.py +0 -45
- lightfall-0.2.1/src/lightfall/claude/tools/controller.py +0 -143
- lightfall-0.2.1/src/lightfall/claude/tools/interaction.py +0 -178
- lightfall-0.2.1/src/lightfall/claude/tools/introspection.py +0 -127
- lightfall-0.2.1/src/lightfall/claude/tools/logs.py +0 -155
- lightfall-0.2.1/src/lightfall/claude/tools/screenshot.py +0 -99
- lightfall-0.2.1/src/lightfall/claude/widget.py +0 -1295
- lightfall-0.2.1/src/lightfall/claude/widgets/permission_request.py +0 -284
- lightfall-0.2.1/src/lightfall/claude/widgets/question_request.py +0 -227
- lightfall-0.2.1/src/lightfall/claude/widgets/task_card.py +0 -225
- lightfall-0.2.1/src/lightfall/config/layers.py +0 -317
- lightfall-0.2.1/src/lightfall/config/manager.py +0 -244
- lightfall-0.2.1/src/lightfall/config/schema.py +0 -154
- lightfall-0.2.1/src/lightfall/core/application.py +0 -667
- lightfall-0.2.1/src/lightfall/devices/backends/__init__.py +0 -17
- lightfall-0.2.1/src/lightfall/devices/backends/bcs.py +0 -569
- lightfall-0.2.1/src/lightfall/devices/backends/happi.py +0 -1060
- lightfall-0.2.1/src/lightfall/devices/backends/mock.py +0 -699
- lightfall-0.2.1/src/lightfall/devices/base.py +0 -383
- lightfall-0.2.1/src/lightfall/devices/catalog.py +0 -1219
- lightfall-0.2.1/src/lightfall/devices/model.py +0 -290
- lightfall-0.2.1/src/lightfall/epics/ca/context.py +0 -100
- lightfall-0.2.1/src/lightfall/epics/ca/pv.py +0 -303
- lightfall-0.2.1/src/lightfall/epics/widgets/ophyd_base.py +0 -469
- lightfall-0.2.1/src/lightfall/epics/widgets/ophyd_combobox.py +0 -86
- lightfall-0.2.1/src/lightfall/exporter/service.py +0 -200
- lightfall-0.2.1/src/lightfall/exporter/tiled_utils.py +0 -92
- lightfall-0.2.1/src/lightfall/ipc/local_server.py +0 -175
- lightfall-0.2.1/src/lightfall/ipc/service.py +0 -932
- lightfall-0.2.1/src/lightfall/ipc/trust.py +0 -144
- lightfall-0.2.1/src/lightfall/logbook/client.py +0 -985
- lightfall-0.2.1/src/lightfall/logbook/entry_widget.py +0 -1123
- lightfall-0.2.1/src/lightfall/logbook/event_listener.py +0 -221
- lightfall-0.2.1/src/lightfall/logbook/fragment_widgets.py +0 -928
- lightfall-0.2.1/src/lightfall/logbook/url.py +0 -29
- lightfall-0.2.1/src/lightfall/main.py +0 -1206
- lightfall-0.2.1/src/lightfall/monitor/advisor.py +0 -148
- lightfall-0.2.1/src/lightfall/monitor/registry.py +0 -82
- lightfall-0.2.1/src/lightfall/monitor/scheduler.py +0 -219
- lightfall-0.2.1/src/lightfall/monitor/service.py +0 -200
- lightfall-0.2.1/src/lightfall/plugins/agents/autonomous_experiment/nats_tools.py +0 -210
- lightfall-0.2.1/src/lightfall/plugins/agents/autonomous_experiment/plugin.py +0 -56
- lightfall-0.2.1/src/lightfall/plugins/agents/autonomous_experiment/prompts.py +0 -164
- lightfall-0.2.1/src/lightfall/plugins/agents/current_esaf.py +0 -371
- lightfall-0.2.1/src/lightfall/plugins/agents/device_tools.py +0 -1043
- lightfall-0.2.1/src/lightfall/plugins/agents/engine_tools.py +0 -1101
- lightfall-0.2.1/src/lightfall/plugins/agents/ipython_tools.py +0 -444
- lightfall-0.2.1/src/lightfall/plugins/agents/panel_builder.py +0 -589
- lightfall-0.2.1/src/lightfall/plugins/agents/plan_tools.py +0 -915
- lightfall-0.2.1/src/lightfall/plugins/auth_provider_plugin.py +0 -84
- lightfall-0.2.1/src/lightfall/plugins/builtin_manifest.py +0 -417
- lightfall-0.2.1/src/lightfall/plugins/loader.py +0 -946
- lightfall-0.2.1/src/lightfall/plugins/plan_plugin.py +0 -163
- lightfall-0.2.1/src/lightfall/plugins/settings_plugin.py +0 -226
- lightfall-0.2.1/src/lightfall/plugins/statusbar_plugin.py +0 -323
- lightfall-0.2.1/src/lightfall/plugins/theme_plugin.py +0 -165
- lightfall-0.2.1/src/lightfall/plugins/tool_plugin.py +0 -138
- lightfall-0.2.1/src/lightfall/plugins/types.py +0 -136
- lightfall-0.2.1/src/lightfall/plugins/user_plugins.py +0 -764
- lightfall-0.2.1/src/lightfall/remote/protocol.py +0 -42
- lightfall-0.2.1/src/lightfall/services/caproxy_lease_service.py +0 -355
- lightfall-0.2.1/src/lightfall/services/shussebora_monitor.py +0 -204
- lightfall-0.2.1/src/lightfall/services/threaded_tiled_writer.py +0 -182
- lightfall-0.2.1/src/lightfall/services/tiled_service.py +0 -1044
- lightfall-0.2.1/src/lightfall/services/tiled_writer_patch.py +0 -316
- lightfall-0.2.1/src/lightfall/skills/builtin/autonomous_experiment/SKILL.md +0 -164
- lightfall-0.2.1/src/lightfall/skills/builtin/panel_builder/SKILL.md +0 -48
- lightfall-0.2.1/src/lightfall/skills/builtin/panel_design/references/panel_design.md +0 -896
- lightfall-0.2.1/src/lightfall/ui/dialogs/bug_report_dialog.py +0 -356
- lightfall-0.2.1/src/lightfall/ui/dialogs/export_dialog.py +0 -569
- lightfall-0.2.1/src/lightfall/ui/dialogs/login_dialog.py +0 -517
- lightfall-0.2.1/src/lightfall/ui/dialogs/oauth_browser_dialog.py +0 -306
- lightfall-0.2.1/src/lightfall/ui/docking/__init__.py +0 -22
- lightfall-0.2.1/src/lightfall/ui/docking/manager.py +0 -1061
- lightfall-0.2.1/src/lightfall/ui/mainwindow.py +0 -1095
- lightfall-0.2.1/src/lightfall/ui/models/device_tree.py +0 -1145
- lightfall-0.2.1/src/lightfall/ui/models/thread_model.py +0 -667
- lightfall-0.2.1/src/lightfall/ui/panels/agent_editor/models.py +0 -304
- lightfall-0.2.1/src/lightfall/ui/panels/agent_editor/panel.py +0 -700
- lightfall-0.2.1/src/lightfall/ui/panels/base.py +0 -684
- lightfall-0.2.1/src/lightfall/ui/panels/bluesky_panel.py +0 -636
- lightfall-0.2.1/src/lightfall/ui/panels/claude/agent_session_tab.py +0 -491
- lightfall-0.2.1/src/lightfall/ui/panels/claude/tool_registry.py +0 -168
- lightfall-0.2.1/src/lightfall/ui/panels/claude_panel.py +0 -1290
- lightfall-0.2.1/src/lightfall/ui/panels/device_panel.py +0 -370
- lightfall-0.2.1/src/lightfall/ui/panels/documents_panel.py +0 -205
- lightfall-0.2.1/src/lightfall/ui/panels/ipython_panel.py +0 -610
- lightfall-0.2.1/src/lightfall/ui/panels/logbook_entries_panel.py +0 -100
- lightfall-0.2.1/src/lightfall/ui/panels/logbook_panel.py +0 -694
- lightfall-0.2.1/src/lightfall/ui/panels/logging_panel.py +0 -602
- lightfall-0.2.1/src/lightfall/ui/panels/monitor_panel.py +0 -62
- lightfall-0.2.1/src/lightfall/ui/panels/pipeline_jobs_panel.py +0 -160
- lightfall-0.2.1/src/lightfall/ui/panels/pipeline_triggers_panel.py +0 -171
- lightfall-0.2.1/src/lightfall/ui/panels/queue.py +0 -755
- lightfall-0.2.1/src/lightfall/ui/panels/registry.py +0 -483
- lightfall-0.2.1/src/lightfall/ui/panels/shussebora_panel.py +0 -275
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/editors.py +0 -482
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/items.py +0 -556
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/models.py +0 -336
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/panel.py +0 -889
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/serialization.py +0 -300
- lightfall-0.2.1/src/lightfall/ui/panels/synoptic/view.py +0 -504
- lightfall-0.2.1/src/lightfall/ui/panels/threads_panel.py +0 -621
- lightfall-0.2.1/src/lightfall/ui/panels/tiled_browser_panel.py +0 -888
- lightfall-0.2.1/src/lightfall/ui/panels/visualization_panel.py +0 -847
- lightfall-0.2.1/src/lightfall/ui/preferences/backend.py +0 -148
- lightfall-0.2.1/src/lightfall/ui/preferences/builtin.py +0 -300
- lightfall-0.2.1/src/lightfall/ui/preferences/claude_settings.py +0 -934
- lightfall-0.2.1/src/lightfall/ui/preferences/device_settings.py +0 -461
- lightfall-0.2.1/src/lightfall/ui/preferences/dialog.py +0 -251
- lightfall-0.2.1/src/lightfall/ui/preferences/editor_settings.py +0 -227
- lightfall-0.2.1/src/lightfall/ui/preferences/ipc_settings.py +0 -300
- lightfall-0.2.1/src/lightfall/ui/preferences/logbook_settings.py +0 -232
- lightfall-0.2.1/src/lightfall/ui/preferences/login_settings.py +0 -184
- lightfall-0.2.1/src/lightfall/ui/preferences/manager.py +0 -591
- lightfall-0.2.1/src/lightfall/ui/preferences/monitor_settings.py +0 -520
- lightfall-0.2.1/src/lightfall/ui/preferences/plugin_settings.py +0 -392
- lightfall-0.2.1/src/lightfall/ui/preferences/proxy_settings.py +0 -562
- lightfall-0.2.1/src/lightfall/ui/preferences/tiled_settings.py +0 -501
- lightfall-0.2.1/src/lightfall/ui/preferences/tool_settings.py +0 -393
- lightfall-0.2.1/src/lightfall/ui/preferences/user_profile_settings.py +0 -316
- lightfall-0.2.1/src/lightfall/ui/preferences/visualization_settings.py +0 -159
- lightfall-0.2.1/src/lightfall/ui/statusbar/manager.py +0 -379
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/als_beam_status.py +0 -224
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/caproxy_lease_status.py +0 -233
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/nats_status.py +0 -193
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/shussebora_status.py +0 -162
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/thread_status.py +0 -556
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/tiled_status.py +0 -222
- lightfall-0.2.1/src/lightfall/ui/statusbar/plugins/user_status.py +0 -153
- lightfall-0.2.1/src/lightfall/ui/theme/__init__.py +0 -26
- lightfall-0.2.1/src/lightfall/ui/theme/builtin.py +0 -737
- lightfall-0.2.1/src/lightfall/ui/theme/manager.py +0 -998
- lightfall-0.2.1/src/lightfall/ui/theme/registry.py +0 -195
- lightfall-0.2.1/src/lightfall/ui/toast.py +0 -221
- lightfall-0.2.1/src/lightfall/ui/tutorial.py +0 -1101
- lightfall-0.2.1/src/lightfall/ui/widgets/camera/base.py +0 -837
- lightfall-0.2.1/src/lightfall/ui/widgets/camera/plan_based.py +0 -202
- lightfall-0.2.1/src/lightfall/ui/widgets/device_tree_tab.py +0 -490
- lightfall-0.2.1/src/lightfall/ui/widgets/plan_config.py +0 -955
- lightfall-0.2.1/src/lightfall/ui/widgets/plan_selector.py +0 -455
- lightfall-0.2.1/src/lightfall/ui/widgets/profile_avatar.py +0 -128
- lightfall-0.2.1/src/lightfall/ui/widgets/signal_control.py +0 -803
- lightfall-0.2.1/src/lightfall/ui/widgets/skill_trigger_button.py +0 -183
- lightfall-0.2.1/src/lightfall/utils/caproto_shutdown.py +0 -90
- lightfall-0.2.1/src/lightfall/utils/crash_diagnostics.py +0 -454
- lightfall-0.2.1/src/lightfall/utils/git_tracker.py +0 -197
- lightfall-0.2.1/src/lightfall/utils/log_buffer.py +0 -233
- lightfall-0.2.1/src/lightfall/utils/logging.py +0 -229
- lightfall-0.2.1/src/lightfall/utils/sentry.py +0 -771
- lightfall-0.2.1/src/lightfall/utils/threads.py +0 -1057
- lightfall-0.2.1/src/lightfall/utils/tiled_helpers.py +0 -222
- lightfall-0.2.1/src/lightfall/visualization/base_visualization.py +0 -83
- lightfall-0.2.1/src/lightfall/visualization/stream_bridge.py +0 -48
- lightfall-0.2.1/src/lightfall/visualization/widgets/adaptive/heatmap.py +0 -669
- lightfall-0.2.1/src/lightfall/visualization/widgets/adaptive/plot.py +0 -233
- lightfall-0.2.1/src/lightfall/visualization/widgets/plot_1d.py +0 -263
- {lightfall-0.2.1 → lightfall-0.4.0}/LEGAL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/LICENSE.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/__main__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/plugins/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/plugins/bluesky_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/plugins/mock_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/protocol.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/registry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/engine/state.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/nats_bridge.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/plan_ui.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/plans/adaptive.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/runengine.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/signals.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/filter.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/manager.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/manual.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/run_end.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/acquire/triggers/run_start.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/agents/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/agents/builtin/.gitkeep +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/agents/spec.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/policy.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/provider_registry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/providers/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/providers/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/providers/pam.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/auth/service_key.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/_internal/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/_internal/serialization.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/_internal/threading.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/transcript.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/claude/widgets/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/config/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/core/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/core/services.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/async_connect.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/connection_manager.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/sim/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/sim/areadetector.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/sim/generators.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/devices/sim/plugins.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/ca/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/areadetector/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/areadetector/areadetector.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/areadetector/controls.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/areadetector/image_view.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/auto.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/checkbox.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/combobox.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/label.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/lineedit.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/motor.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/ophyd_label.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/ophyd_lineedit.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/ophyd_spinbox.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/slider.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/status_indicator.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/epics/widgets/style.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/cli.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/converters/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/converters/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/converters/noop.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/exporter/converters/nxsas.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ipc/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/logbook/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/logbook/action_logger.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/logbook/live_updates.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/logbook/style.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/buffer.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/context_provider.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/data_window.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/feed.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/feeds/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/feeds/acquisition_health.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/models.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/monitor_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/monitor/rate_limiter.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/pipelines/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/pipelines/client.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/_mcp_helpers.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/alignment.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/autonomous_experiment/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/panel_design.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/plan_design.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/agents/scan_planning.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/controller_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/device_backend_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/engine_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/errors.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/happi_database_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/info.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/manifest.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/panel_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/registry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/plugins/visualization_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/remote/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/remote/service.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/resources/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/resources/images/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/resources/images/icon.ico +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/resources/images/icon.png +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/resources/images/logo.png +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/_alshub_client.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/access_stamper.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/als_beam_status.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/ca_tunnel.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/services/tiled_auth.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/settings/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/settings/image_helpers.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/settings/user_settings_client.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/alignment/SKILL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/current_esaf/SKILL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/panel_design/SKILL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/panel_design/references/cross_panel_patterns.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/plan_design/SKILL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/plan_design/references/plan_design.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/skills/builtin/scan_planning/SKILL.md +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/annotations.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/common/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/about_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/add_trigger_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/create_plan_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/device_edit_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/go_to_position_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/lease_request_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/run_pipeline_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/dialogs/sample_metadata_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/docking/icon_sidebar.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/docking/state.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/docking/theme.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/docking/widget.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/events.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/models/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/models/device_selection.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/models/tiled_model.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/agent_editor/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/agent_editor/plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/claude/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/claude/agent_picker.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/bluesky_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/claude_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/device_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/documents_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/ipython_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/logbook_entries_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/logbook_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/logging_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/monitor_panel_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/pipeline_jobs_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/pipeline_triggers_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/queue_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/shussebora_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/synoptic_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/threads_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/tiled_browser_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/plugins/visualization_plugin.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/panels/synoptic/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/preferences/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/preferences/user_portable_backend.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/resources/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/resources/logo.png +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/statusbar/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/statusbar/plugins/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/theater/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/theater/manager.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/theater/overlay.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/theater/proxy.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/base_control.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/dark_frames.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/image_view.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/panels/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/panels/cooler.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/camera/panels/temperature.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/compact_motor.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/controller_matcher.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/controller_registry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/device_control.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/device_selector.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/document_stream.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/favorites_tab.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/motor_control.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/observers/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/observers/camera.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/observers/image_view.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/plan_edit_dialog.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/queue_view.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/runengine_control.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/tiled_filter_widget.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/ui/widgets/warning_banner.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/utils/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/utils/data_migration.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/utils/editor_launcher.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/utils/error_collector.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/utils/module_resolver.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/fitting/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/fitting/base.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/fitting/fitters.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/fitting/panel.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/pg.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/reduction_engine.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/reductions.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/registry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/scan_geometry.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/spec.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/theme.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/adaptive/__init__.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/heatmap.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/image_stack.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/image_view_toolbar.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/lazy_image_view.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/scan_viewer.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/scatter.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/table.py +0 -0
- {lightfall-0.2.1 → lightfall-0.4.0}/src/lightfall/visualization/widgets/time_axis.py +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
*.manifest
|
|
29
|
+
*.spec
|
|
30
|
+
|
|
31
|
+
# Installer logs
|
|
32
|
+
pip-log.txt
|
|
33
|
+
pip-delete-this-directory.txt
|
|
34
|
+
|
|
35
|
+
# Unit test / coverage reports
|
|
36
|
+
htmlcov/
|
|
37
|
+
.tox/
|
|
38
|
+
.nox/
|
|
39
|
+
.coverage
|
|
40
|
+
.coverage.*
|
|
41
|
+
.cache
|
|
42
|
+
nosetests.xml
|
|
43
|
+
coverage.xml
|
|
44
|
+
*.cover
|
|
45
|
+
*.py,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
.pytest_cache/
|
|
48
|
+
|
|
49
|
+
# Translations
|
|
50
|
+
*.mo
|
|
51
|
+
*.pot
|
|
52
|
+
|
|
53
|
+
# Sphinx documentation
|
|
54
|
+
docs/_build/
|
|
55
|
+
|
|
56
|
+
# PyBuilder
|
|
57
|
+
target/
|
|
58
|
+
|
|
59
|
+
# Jupyter Notebook
|
|
60
|
+
.ipynb_checkpoints
|
|
61
|
+
|
|
62
|
+
# IPython
|
|
63
|
+
profile_default/
|
|
64
|
+
ipython_config.py
|
|
65
|
+
|
|
66
|
+
# pyenv
|
|
67
|
+
.python-version
|
|
68
|
+
|
|
69
|
+
# Environments
|
|
70
|
+
.env
|
|
71
|
+
.venv
|
|
72
|
+
.venv-*/
|
|
73
|
+
env/
|
|
74
|
+
venv/
|
|
75
|
+
ENV/
|
|
76
|
+
env.bak/
|
|
77
|
+
venv.bak/
|
|
78
|
+
|
|
79
|
+
# Lock files from non-canonical package managers (project uses hatch)
|
|
80
|
+
uv.lock
|
|
81
|
+
|
|
82
|
+
# Stray debug captures
|
|
83
|
+
test_stderr.txt
|
|
84
|
+
|
|
85
|
+
# IDE
|
|
86
|
+
.idea/
|
|
87
|
+
.vscode/
|
|
88
|
+
*.swp
|
|
89
|
+
*.swo
|
|
90
|
+
*~
|
|
91
|
+
|
|
92
|
+
# mypy
|
|
93
|
+
.mypy_cache/
|
|
94
|
+
.dmypy.json
|
|
95
|
+
dmypy.json
|
|
96
|
+
|
|
97
|
+
# ruff
|
|
98
|
+
.ruff_cache/
|
|
99
|
+
|
|
100
|
+
# OS
|
|
101
|
+
.DS_Store
|
|
102
|
+
Thumbs.db
|
|
103
|
+
|
|
104
|
+
# Project specific
|
|
105
|
+
src/lightfall/_version.py
|
|
106
|
+
|
|
107
|
+
# Runtime debug output
|
|
108
|
+
logs/
|
|
109
|
+
src/lightfall/logs/
|
|
110
|
+
|
|
111
|
+
# Git worktrees
|
|
112
|
+
.worktrees/
|
|
113
|
+
.claude/worktrees/
|
|
114
|
+
|
|
115
|
+
# Historical design docs / working artifacts (kept on disk, not in git)
|
|
116
|
+
docs/investigations/
|
|
117
|
+
docs/plans/
|
|
118
|
+
docs/superpowers/
|
|
119
|
+
|
|
120
|
+
# superpowers skill scratch workspaces
|
|
121
|
+
.superpowers/
|
lightfall-0.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: lightfall
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Lightfall - control system for the ALS facility
|
|
5
|
+
Project-URL: Homepage, https://github.com/als-controls/lightfall
|
|
6
|
+
Project-URL: Documentation, https://als-controls.github.io/lightfall
|
|
7
|
+
Project-URL: Repository, https://github.com/als-controls/lightfall
|
|
8
|
+
Author: ALS Controls Team
|
|
9
|
+
License-Expression: BSD-3-Clause
|
|
10
|
+
License-File: LEGAL.md
|
|
11
|
+
License-File: LICENSE.md
|
|
12
|
+
Keywords: beamline,control-system,data-acquisition,lightfall,scientific-instruments
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Environment :: X11 Applications :: Qt
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: aiohttp-socks>=0.8
|
|
24
|
+
Requires-Dist: aiohttp>=3.8
|
|
25
|
+
Requires-Dist: bluesky-tiled-plugins>=2.0
|
|
26
|
+
Requires-Dist: bluesky>=1.10
|
|
27
|
+
Requires-Dist: caproto>=1.1
|
|
28
|
+
Requires-Dist: claude-agent-sdk>=0.2.158
|
|
29
|
+
Requires-Dist: filelock>=3.12
|
|
30
|
+
Requires-Dist: h5py>=3.0
|
|
31
|
+
Requires-Dist: happi>=2.0
|
|
32
|
+
Requires-Dist: httpx[socks]>=0.27
|
|
33
|
+
Requires-Dist: ipykernel>=6.0
|
|
34
|
+
Requires-Dist: lightfall-settings<0.2,>=0.1.4
|
|
35
|
+
Requires-Dist: lightfall-utils>=0.3.0
|
|
36
|
+
Requires-Dist: loguru>=0.7
|
|
37
|
+
Requires-Dist: mcp<3,>=2.3
|
|
38
|
+
Requires-Dist: mistune>=3.0
|
|
39
|
+
Requires-Dist: nats-py<2.17,>=2.1
|
|
40
|
+
Requires-Dist: netifaces-plus>=0.12.5
|
|
41
|
+
Requires-Dist: ophyd-async>=0.19
|
|
42
|
+
Requires-Dist: ophyd>=1.7
|
|
43
|
+
Requires-Dist: psutil>=5.9
|
|
44
|
+
Requires-Dist: pydantic>=2.0
|
|
45
|
+
Requires-Dist: pyqtgraph>=0.13
|
|
46
|
+
Requires-Dist: pyqttoast-enhanced>=2.0
|
|
47
|
+
Requires-Dist: pyside6<6.12,>=6.6; python_version < '3.12'
|
|
48
|
+
Requires-Dist: pyside6>=6.6; python_version >= '3.12'
|
|
49
|
+
Requires-Dist: pysocks>=1.7
|
|
50
|
+
Requires-Dist: pyyaml>=6.0
|
|
51
|
+
Requires-Dist: qtawesome>=1.3
|
|
52
|
+
Requires-Dist: qtconsole>=5.5
|
|
53
|
+
Requires-Dist: scipy>=1.11
|
|
54
|
+
Requires-Dist: sentry-sdk[loguru]>=2.0
|
|
55
|
+
Requires-Dist: sqlalchemy>=2.0
|
|
56
|
+
Requires-Dist: tiled[client]>=0.2.5
|
|
57
|
+
Provides-Extra: dev
|
|
58
|
+
Requires-Dist: mypy>=1.8; extra == 'dev'
|
|
59
|
+
Requires-Dist: nats-server-bin>=2.14; extra == 'dev'
|
|
60
|
+
Requires-Dist: pre-commit>=3.6; extra == 'dev'
|
|
61
|
+
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
|
|
62
|
+
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
|
|
63
|
+
Requires-Dist: pytest-httpx>=0.30; extra == 'dev'
|
|
64
|
+
Requires-Dist: pytest-qt>=4.2; extra == 'dev'
|
|
65
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
66
|
+
Requires-Dist: ruff>=0.1; extra == 'dev'
|
|
67
|
+
Requires-Dist: starlette>=1.10; extra == 'dev'
|
|
68
|
+
Requires-Dist: tiled[server]>=0.2.5; extra == 'dev'
|
|
69
|
+
Provides-Extra: docs
|
|
70
|
+
Requires-Dist: markdown-it-py<5,>=4.2; extra == 'docs'
|
|
71
|
+
Requires-Dist: myst-parser>=5.1; extra == 'docs'
|
|
72
|
+
Requires-Dist: sphinx-immaterial>=0.12; extra == 'docs'
|
|
73
|
+
Requires-Dist: sphinx<9.0,>=8.0; extra == 'docs'
|
|
74
|
+
Provides-Extra: local-nats
|
|
75
|
+
Requires-Dist: nats-server-bin>=2.14; extra == 'local-nats'
|
|
76
|
+
Provides-Extra: telemetry
|
|
77
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.27; extra == 'telemetry'
|
|
78
|
+
Requires-Dist: opentelemetry-sdk>=1.27; extra == 'telemetry'
|
|
79
|
+
Description-Content-Type: text/markdown
|
|
80
|
+
|
|
81
|
+
# Lightfall
|
|
82
|
+
|
|
83
|
+
<!-- badges:start -->
|
|
84
|
+
[](https://pypi.org/project/lightfall/)
|
|
85
|
+
[](https://pypi.org/project/lightfall/)
|
|
86
|
+
[](https://github.com/als-controls/lightfall/actions/workflows/ci.yml)
|
|
87
|
+
[](https://als-controls.github.io/lightfall/)
|
|
88
|
+
[](LICENSE.md)
|
|
89
|
+
<!-- badges:end -->
|
|
90
|
+
|
|
91
|
+
A modern, unified control system for synchrotron lightsource facilities that provides facility-wide consistency with beamline-specific customization.
|
|
92
|
+
|
|
93
|
+
## Overview
|
|
94
|
+
|
|
95
|
+
Lightfall is designed for the Advanced Light Source (ALS) facility, providing:
|
|
96
|
+
|
|
97
|
+
- **Unified Interface**: Consistent look-and-feel across beamlines with skinnable themes
|
|
98
|
+
- **API-First Architecture**: Modular, extensible design enabling automation and integration
|
|
99
|
+
- **LLM/AI Integration**: Claude-powered chatbot for natural language control and assistance
|
|
100
|
+
- **FAIR-Compliant Data Management**: Integration with Tiled for data cataloging and access
|
|
101
|
+
- **Secure Remote Operations**: Full remote operation capability with fine-grained access control
|
|
102
|
+
|
|
103
|
+
## Features
|
|
104
|
+
|
|
105
|
+
### User Interface
|
|
106
|
+
- Progressive disclosure: user panels with expert panels behind authorization
|
|
107
|
+
- Scripting panel with Jupyter-lab style interface
|
|
108
|
+
- LLM panel for controlling panels via natural language
|
|
109
|
+
- GUI Builder for drag-and-drop interface creation
|
|
110
|
+
- Persistent user preferences saved across sessions
|
|
111
|
+
|
|
112
|
+
### Device Management
|
|
113
|
+
- Centralized device catalog with lifecycle tracking
|
|
114
|
+
- Real-time monitoring via EPICS Channel Access
|
|
115
|
+
- Version-controlled device configurations
|
|
116
|
+
- Rich high-level controls integrated into workflows
|
|
117
|
+
|
|
118
|
+
### Data Acquisition
|
|
119
|
+
- Bluesky-based acquisition engine
|
|
120
|
+
- Flexible signal/stream selection with real-time visualization
|
|
121
|
+
- Interactive, pausable, restartable acquisition
|
|
122
|
+
- Automatic data persistence to Tiled catalog
|
|
123
|
+
|
|
124
|
+
### Data Browser
|
|
125
|
+
- Browse and search data stored in Tiled server
|
|
126
|
+
- Filter by date range, plan type, exit status
|
|
127
|
+
- Pagination for large datasets
|
|
128
|
+
- Click/double-click signals for integration with analysis tools
|
|
129
|
+
|
|
130
|
+
## Installation
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
pip install lightfall
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Development Installation
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Clone the repository
|
|
140
|
+
git clone https://github.com/als-controls/lightfall.git
|
|
141
|
+
cd lightfall
|
|
142
|
+
|
|
143
|
+
# Create and activate virtual environment
|
|
144
|
+
python -m venv .venv
|
|
145
|
+
.venv\Scripts\activate # Windows
|
|
146
|
+
# or
|
|
147
|
+
source .venv/bin/activate # Unix
|
|
148
|
+
|
|
149
|
+
# Install in development mode with dev dependencies
|
|
150
|
+
pip install -e ".[dev]"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Lightfall depends on [`lightfall-utils`](https://github.com/als-controls/lightfall-utils) (installed from PyPI like any other dependency). To co-develop both packages, install a sibling checkout in editable mode on top:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
git clone https://github.com/als-controls/lightfall-utils.git ../lightfall-utils
|
|
157
|
+
pip install -e ../lightfall-utils
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Running the Application
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
lightfall
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Configuration
|
|
167
|
+
|
|
168
|
+
Lightfall uses a layered configuration system:
|
|
169
|
+
|
|
170
|
+
1. **System defaults** - Built-in defaults
|
|
171
|
+
2. **Site configuration** - Facility-wide settings
|
|
172
|
+
3. **User preferences** - Personal customizations
|
|
173
|
+
|
|
174
|
+
Configuration files are stored in:
|
|
175
|
+
- Windows: `%APPDATA%\lightfall\`
|
|
176
|
+
- Linux/Mac: `~/.config/lightfall/`
|
|
177
|
+
|
|
178
|
+
## Architecture
|
|
179
|
+
|
|
180
|
+
Lightfall is built on:
|
|
181
|
+
|
|
182
|
+
- **PySide6** - Qt for Python GUI framework
|
|
183
|
+
- **Bluesky** - Data acquisition framework
|
|
184
|
+
- **Ophyd** - Device abstraction layer
|
|
185
|
+
- **Tiled** - Data catalog and access
|
|
186
|
+
- **EPICS** - Control system communication
|
|
187
|
+
|
|
188
|
+
### Plugin System
|
|
189
|
+
|
|
190
|
+
Lightfall supports plugins for:
|
|
191
|
+
- **Panels** - Custom UI panels
|
|
192
|
+
- **Settings** - Preference pages
|
|
193
|
+
- **Status Bar** - Status indicators
|
|
194
|
+
- **Engines** - Acquisition backends
|
|
195
|
+
- **Plans** - Scan procedures
|
|
196
|
+
|
|
197
|
+
## Development
|
|
198
|
+
|
|
199
|
+
### Running Tests
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
pytest
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Code Quality
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
# Linting
|
|
209
|
+
ruff check src tests
|
|
210
|
+
|
|
211
|
+
# Type checking
|
|
212
|
+
mypy src
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Project Structure
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
lightfall/
|
|
219
|
+
├── src/lightfall/
|
|
220
|
+
│ ├── acquire/ # Data acquisition engine (Bluesky RunEngine, plans)
|
|
221
|
+
│ ├── auth/ # Authentication & authorization
|
|
222
|
+
│ ├── claude/ # Embedded Claude agent integration
|
|
223
|
+
│ ├── config/ # Configuration management
|
|
224
|
+
│ ├── core/ # Core application classes
|
|
225
|
+
│ ├── devices/ # Device catalog & backends
|
|
226
|
+
│ ├── epics/ # EPICS (caproto) widgets & helpers
|
|
227
|
+
│ ├── exporter/ # Data exporter CLI
|
|
228
|
+
│ ├── ipc/ # Inter-process communication (NATS)
|
|
229
|
+
│ ├── logbook/ # Logbook client
|
|
230
|
+
│ ├── pipelines/ # Pipeline client
|
|
231
|
+
│ ├── plugins/ # Plugin system
|
|
232
|
+
│ ├── services/ # Application services (Tiled, CA tunnel, etc.)
|
|
233
|
+
│ ├── settings/ # User-portable settings client
|
|
234
|
+
│ ├── ui/ # User interface
|
|
235
|
+
│ │ ├── panels/ # Panel implementations
|
|
236
|
+
│ │ ├── widgets/ # Reusable widgets
|
|
237
|
+
│ │ ├── preferences/ # Settings UI
|
|
238
|
+
│ │ └── theme/ # Theming system
|
|
239
|
+
│ ├── utils/ # Utilities
|
|
240
|
+
│ └── visualization/ # Plotting & live visualization
|
|
241
|
+
└── tests/ # Test suite
|
|
242
|
+
```
|
|
243
|
+
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Lightfall
|
|
2
|
+
|
|
3
|
+
<!-- badges:start -->
|
|
4
|
+
[](https://pypi.org/project/lightfall/)
|
|
5
|
+
[](https://pypi.org/project/lightfall/)
|
|
6
|
+
[](https://github.com/als-controls/lightfall/actions/workflows/ci.yml)
|
|
7
|
+
[](https://als-controls.github.io/lightfall/)
|
|
8
|
+
[](LICENSE.md)
|
|
9
|
+
<!-- badges:end -->
|
|
10
|
+
|
|
11
|
+
A modern, unified control system for synchrotron lightsource facilities that provides facility-wide consistency with beamline-specific customization.
|
|
12
|
+
|
|
13
|
+
## Overview
|
|
14
|
+
|
|
15
|
+
Lightfall is designed for the Advanced Light Source (ALS) facility, providing:
|
|
16
|
+
|
|
17
|
+
- **Unified Interface**: Consistent look-and-feel across beamlines with skinnable themes
|
|
18
|
+
- **API-First Architecture**: Modular, extensible design enabling automation and integration
|
|
19
|
+
- **LLM/AI Integration**: Claude-powered chatbot for natural language control and assistance
|
|
20
|
+
- **FAIR-Compliant Data Management**: Integration with Tiled for data cataloging and access
|
|
21
|
+
- **Secure Remote Operations**: Full remote operation capability with fine-grained access control
|
|
22
|
+
|
|
23
|
+
## Features
|
|
24
|
+
|
|
25
|
+
### User Interface
|
|
26
|
+
- Progressive disclosure: user panels with expert panels behind authorization
|
|
27
|
+
- Scripting panel with Jupyter-lab style interface
|
|
28
|
+
- LLM panel for controlling panels via natural language
|
|
29
|
+
- GUI Builder for drag-and-drop interface creation
|
|
30
|
+
- Persistent user preferences saved across sessions
|
|
31
|
+
|
|
32
|
+
### Device Management
|
|
33
|
+
- Centralized device catalog with lifecycle tracking
|
|
34
|
+
- Real-time monitoring via EPICS Channel Access
|
|
35
|
+
- Version-controlled device configurations
|
|
36
|
+
- Rich high-level controls integrated into workflows
|
|
37
|
+
|
|
38
|
+
### Data Acquisition
|
|
39
|
+
- Bluesky-based acquisition engine
|
|
40
|
+
- Flexible signal/stream selection with real-time visualization
|
|
41
|
+
- Interactive, pausable, restartable acquisition
|
|
42
|
+
- Automatic data persistence to Tiled catalog
|
|
43
|
+
|
|
44
|
+
### Data Browser
|
|
45
|
+
- Browse and search data stored in Tiled server
|
|
46
|
+
- Filter by date range, plan type, exit status
|
|
47
|
+
- Pagination for large datasets
|
|
48
|
+
- Click/double-click signals for integration with analysis tools
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install lightfall
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Development Installation
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Clone the repository
|
|
60
|
+
git clone https://github.com/als-controls/lightfall.git
|
|
61
|
+
cd lightfall
|
|
62
|
+
|
|
63
|
+
# Create and activate virtual environment
|
|
64
|
+
python -m venv .venv
|
|
65
|
+
.venv\Scripts\activate # Windows
|
|
66
|
+
# or
|
|
67
|
+
source .venv/bin/activate # Unix
|
|
68
|
+
|
|
69
|
+
# Install in development mode with dev dependencies
|
|
70
|
+
pip install -e ".[dev]"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Lightfall depends on [`lightfall-utils`](https://github.com/als-controls/lightfall-utils) (installed from PyPI like any other dependency). To co-develop both packages, install a sibling checkout in editable mode on top:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
git clone https://github.com/als-controls/lightfall-utils.git ../lightfall-utils
|
|
77
|
+
pip install -e ../lightfall-utils
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Running the Application
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
lightfall
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Configuration
|
|
87
|
+
|
|
88
|
+
Lightfall uses a layered configuration system:
|
|
89
|
+
|
|
90
|
+
1. **System defaults** - Built-in defaults
|
|
91
|
+
2. **Site configuration** - Facility-wide settings
|
|
92
|
+
3. **User preferences** - Personal customizations
|
|
93
|
+
|
|
94
|
+
Configuration files are stored in:
|
|
95
|
+
- Windows: `%APPDATA%\lightfall\`
|
|
96
|
+
- Linux/Mac: `~/.config/lightfall/`
|
|
97
|
+
|
|
98
|
+
## Architecture
|
|
99
|
+
|
|
100
|
+
Lightfall is built on:
|
|
101
|
+
|
|
102
|
+
- **PySide6** - Qt for Python GUI framework
|
|
103
|
+
- **Bluesky** - Data acquisition framework
|
|
104
|
+
- **Ophyd** - Device abstraction layer
|
|
105
|
+
- **Tiled** - Data catalog and access
|
|
106
|
+
- **EPICS** - Control system communication
|
|
107
|
+
|
|
108
|
+
### Plugin System
|
|
109
|
+
|
|
110
|
+
Lightfall supports plugins for:
|
|
111
|
+
- **Panels** - Custom UI panels
|
|
112
|
+
- **Settings** - Preference pages
|
|
113
|
+
- **Status Bar** - Status indicators
|
|
114
|
+
- **Engines** - Acquisition backends
|
|
115
|
+
- **Plans** - Scan procedures
|
|
116
|
+
|
|
117
|
+
## Development
|
|
118
|
+
|
|
119
|
+
### Running Tests
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
pytest
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Code Quality
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Linting
|
|
129
|
+
ruff check src tests
|
|
130
|
+
|
|
131
|
+
# Type checking
|
|
132
|
+
mypy src
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Project Structure
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
lightfall/
|
|
139
|
+
├── src/lightfall/
|
|
140
|
+
│ ├── acquire/ # Data acquisition engine (Bluesky RunEngine, plans)
|
|
141
|
+
│ ├── auth/ # Authentication & authorization
|
|
142
|
+
│ ├── claude/ # Embedded Claude agent integration
|
|
143
|
+
│ ├── config/ # Configuration management
|
|
144
|
+
│ ├── core/ # Core application classes
|
|
145
|
+
│ ├── devices/ # Device catalog & backends
|
|
146
|
+
│ ├── epics/ # EPICS (caproto) widgets & helpers
|
|
147
|
+
│ ├── exporter/ # Data exporter CLI
|
|
148
|
+
│ ├── ipc/ # Inter-process communication (NATS)
|
|
149
|
+
│ ├── logbook/ # Logbook client
|
|
150
|
+
│ ├── pipelines/ # Pipeline client
|
|
151
|
+
│ ├── plugins/ # Plugin system
|
|
152
|
+
│ ├── services/ # Application services (Tiled, CA tunnel, etc.)
|
|
153
|
+
│ ├── settings/ # User-portable settings client
|
|
154
|
+
│ ├── ui/ # User interface
|
|
155
|
+
│ │ ├── panels/ # Panel implementations
|
|
156
|
+
│ │ ├── widgets/ # Reusable widgets
|
|
157
|
+
│ │ ├── preferences/ # Settings UI
|
|
158
|
+
│ │ └── theme/ # Theming system
|
|
159
|
+
│ ├── utils/ # Utilities
|
|
160
|
+
│ └── visualization/ # Plotting & live visualization
|
|
161
|
+
└── tests/ # Test suite
|
|
162
|
+
```
|
|
163
|
+
|