running-process 4.0.2__tar.gz → 4.1.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.
- {running_process-4.0.2 → running_process-4.1.0}/Cargo.lock +123 -14
- {running_process-4.0.2 → running_process-4.1.0}/Cargo.toml +8 -2
- {running_process-4.0.2 → running_process-4.1.0}/PKG-INFO +66 -1
- {running_process-4.0.2 → running_process-4.1.0}/README.md +65 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/Cargo.toml +26 -2
- running_process-4.1.0/crates/running-process/README.md +54 -0
- running_process-4.1.0/crates/running-process/build.rs +22 -0
- running_process-4.1.0/crates/running-process/proto/broker_v1/broker_v1_admin.proto +45 -0
- running_process-4.1.0/crates/running-process/proto/broker_v1/broker_v1_envelope.proto +134 -0
- running_process-4.1.0/crates/running-process/proto/broker_v1/broker_v1_manifest.proto +220 -0
- running_process-4.1.0/crates/running-process/proto/broker_v1/broker_v1_service_def.proto +41 -0
- running_process-4.1.0/crates/running-process/proto/broker_v1/buf.yaml +24 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/proto/daemon.proto +42 -1
- running_process-4.1.0/crates/running-process/src/bin/running-process-broker-v1.rs +377 -0
- running_process-4.1.0/crates/running-process/src/bin/running-process-cleanup.rs +229 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/bin/runpm.rs +47 -2
- running_process-4.1.0/crates/running-process/src/broker/backend_handle.rs +368 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lib/accept_handed_off.rs +190 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lib/mod.rs +23 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lib/wire.rs +133 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lifecycle/identity.rs +263 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lifecycle/mod.rs +7 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lifecycle/probe.rs +519 -0
- running_process-4.1.0/crates/running-process/src/broker/backend_lifecycle/verify_pid.rs +509 -0
- running_process-4.1.0/crates/running-process/src/broker/capabilities.rs +25 -0
- running_process-4.1.0/crates/running-process/src/broker/client.rs +484 -0
- running_process-4.1.0/crates/running-process/src/broker/host_identity.rs +287 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/crash_dump.rs +214 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/mod.rs +29 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/names.rs +461 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/privilege.rs +276 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/process_tree.rs +425 -0
- running_process-4.1.0/crates/running-process/src/broker/lifecycle/sid.rs +307 -0
- running_process-4.1.0/crates/running-process/src/broker/manifest.rs +440 -0
- running_process-4.1.0/crates/running-process/src/broker/mod.rs +44 -0
- running_process-4.1.0/crates/running-process/src/broker/protocol/framing.rs +209 -0
- running_process-4.1.0/crates/running-process/src/broker/protocol/mod.rs +28 -0
- running_process-4.1.0/crates/running-process/src/broker/secure_dir.rs +195 -0
- running_process-4.1.0/crates/running-process/src/broker/server/admin.rs +729 -0
- running_process-4.1.0/crates/running-process/src/broker/server/backend_endpoint_allocator.rs +128 -0
- running_process-4.1.0/crates/running-process/src/broker/server/backend_launcher.rs +349 -0
- running_process-4.1.0/crates/running-process/src/broker/server/backend_registry.rs +189 -0
- running_process-4.1.0/crates/running-process/src/broker/server/broadcast.rs +319 -0
- running_process-4.1.0/crates/running-process/src/broker/server/connection.rs +636 -0
- running_process-4.1.0/crates/running-process/src/broker/server/control_socket.rs +203 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/ack.rs +278 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/fallback.rs +337 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/handoff_token.rs +278 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/latency.rs +166 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/mod.rs +63 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/orchestrate.rs +353 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/orchestrate_unix.rs +276 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/pending.rs +164 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/unix.rs +425 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/windows.rs +317 -0
- running_process-4.1.0/crates/running-process/src/broker/server/handoff/wire.rs +272 -0
- running_process-4.1.0/crates/running-process/src/broker/server/hello_handler.rs +462 -0
- running_process-4.1.0/crates/running-process/src/broker/server/hello_router.rs +460 -0
- running_process-4.1.0/crates/running-process/src/broker/server/idle_coord.rs +189 -0
- running_process-4.1.0/crates/running-process/src/broker/server/instance.rs +86 -0
- running_process-4.1.0/crates/running-process/src/broker/server/metrics.rs +99 -0
- running_process-4.1.0/crates/running-process/src/broker/server/mod.rs +109 -0
- running_process-4.1.0/crates/running-process/src/broker/server/perf_guard.rs +110 -0
- running_process-4.1.0/crates/running-process/src/broker/server/recovery.rs +169 -0
- running_process-4.1.0/crates/running-process/src/broker/server/serve.rs +327 -0
- running_process-4.1.0/crates/running-process/src/broker/server/service_def_loader.rs +253 -0
- running_process-4.1.0/crates/running-process/src/broker/server/spawn_coordinator.rs +635 -0
- running_process-4.1.0/crates/running-process/src/broker/server/spawn_wait.rs +130 -0
- running_process-4.1.0/crates/running-process/src/broker/server/trace_context.rs +37 -0
- running_process-4.1.0/crates/running-process/src/broker/server/version_allow_list.rs +103 -0
- running_process-4.1.0/crates/running-process/src/cleanup/instances.rs +72 -0
- running_process-4.1.0/crates/running-process/src/cleanup/list.rs +19 -0
- running_process-4.1.0/crates/running-process/src/cleanup/mod.rs +177 -0
- running_process-4.1.0/crates/running-process/src/cleanup/prune.rs +119 -0
- running_process-4.1.0/crates/running-process/src/cleanup/uninstall.rs +66 -0
- running_process-4.1.0/crates/running-process/src/cleanup/verify_basic.rs +122 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/client.rs +23 -12
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/paths.rs +2 -2
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/pipe_session.rs +83 -30
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/pty_session.rs +81 -25
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/telemetry.rs +34 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/console_detect.rs +7 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/containment.rs +2 -2
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/attach_stream.rs +10 -2
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/mod.rs +3 -2
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/pty_sessions_handlers.rs +21 -9
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/pty_sessions.rs +29 -3
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/lib.rs +118 -37
- running_process-4.1.0/crates/running-process/src/maintenance/mod.rs +9 -0
- running_process-4.1.0/crates/running-process/src/maintenance/release_handles.rs +229 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/backend.rs +31 -9
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/mod.rs +80 -8
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/native_pty_process.rs +80 -8
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/terminal_input.rs +55 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/rust_debug.rs +6 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/spawn.rs +9 -1
- running_process-4.1.0/crates/running-process/src/terminal_graphics.rs +774 -0
- running_process-4.1.0/crates/running-process/src/types.rs +128 -0
- running_process-4.1.0/crates/running-process/tests/broker/admin.rs +523 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_endpoint_allocator.rs +90 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_handle_boot_id.rs +13 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_handle_common.rs +183 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_handle_dead.rs +13 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_handle_probe.rs +82 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_handle_recycled.rs +13 -0
- running_process-4.1.0/crates/running-process/tests/broker/backend_registry.rs +69 -0
- running_process-4.1.0/crates/running-process/tests/broker/broadcast_release_handles.rs +138 -0
- running_process-4.1.0/crates/running-process/tests/broker/client.rs +212 -0
- running_process-4.1.0/crates/running-process/tests/broker/connection.rs +661 -0
- running_process-4.1.0/crates/running-process/tests/broker/contrib_templates.rs +101 -0
- running_process-4.1.0/crates/running-process/tests/broker/docs_escape_hatch.rs +61 -0
- running_process-4.1.0/crates/running-process/tests/broker/docs_index.rs +227 -0
- running_process-4.1.0/crates/running-process/tests/broker/framing.rs +176 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_ack_deadline.rs +247 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_adopted_backend.rs +42 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_adoption.rs +385 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_backend_lib.rs +154 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_capability.rs +231 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_cross_os_acceptance.rs +56 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_end_to_end_acceptance.rs +203 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_fallback_perm_denied.rs +162 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_latency.rs +119 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_latency_e2e.rs +746 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_orchestrate.rs +475 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_token_mismatch.rs +101 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_transport.rs +284 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_under_load.rs +105 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_unix_e2e_orchestrate.rs +180 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_unix_orchestrate.rs +468 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_windows_duplicate_handle.rs +465 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_windows_orchestrate.rs +475 -0
- running_process-4.1.0/crates/running-process/tests/broker/handoff_wire.rs +516 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_concurrent.rs +112 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_handler.rs +257 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_rate_limit.rs +135 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_router.rs +481 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_service_unknown.rs +74 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_skip.rs +93 -0
- running_process-4.1.0/crates/running-process/tests/broker/hello_version_blocked.rs +126 -0
- running_process-4.1.0/crates/running-process/tests/broker/idle_coord.rs +145 -0
- running_process-4.1.0/crates/running-process/tests/broker/instance.rs +90 -0
- running_process-4.1.0/crates/running-process/tests/broker/instance_isolation.rs +142 -0
- running_process-4.1.0/crates/running-process/tests/broker/lifecycle_event_size.rs +82 -0
- running_process-4.1.0/crates/running-process/tests/broker/main.rs +75 -0
- running_process-4.1.0/crates/running-process/tests/broker/manifest_atomic.rs +131 -0
- running_process-4.1.0/crates/running-process/tests/broker/manifest_boot_id.rs +50 -0
- running_process-4.1.0/crates/running-process/tests/broker/manifest_corruption.rs +41 -0
- running_process-4.1.0/crates/running-process/tests/broker/manifest_roundtrip.rs +101 -0
- running_process-4.1.0/crates/running-process/tests/broker/metrics_names_frozen.rs +62 -0
- running_process-4.1.0/crates/running-process/tests/broker/names.rs +243 -0
- running_process-4.1.0/crates/running-process/tests/broker/peer_creds_drop.rs +103 -0
- running_process-4.1.0/crates/running-process/tests/broker/perf_guard.rs +260 -0
- running_process-4.1.0/crates/running-process/tests/broker/process_tree_lifecycle.rs +61 -0
- running_process-4.1.0/crates/running-process/tests/broker/proto_field_numbers.rs +130 -0
- running_process-4.1.0/crates/running-process/tests/broker/proto_roundtrip.rs +272 -0
- running_process-4.1.0/crates/running-process/tests/broker/recovery_one_retry.rs +80 -0
- running_process-4.1.0/crates/running-process/tests/broker/serve.rs +453 -0
- running_process-4.1.0/crates/running-process/tests/broker/service_def_loader.rs +244 -0
- running_process-4.1.0/crates/running-process/tests/broker/socket_common.rs +116 -0
- running_process-4.1.0/crates/running-process/tests/broker/spawn_coordinator.rs +169 -0
- running_process-4.1.0/crates/running-process/tests/broker/spawn_wait.rs +96 -0
- running_process-4.1.0/crates/running-process/tests/broker/trace_propagation.rs +63 -0
- running_process-4.1.0/crates/running-process/tests/broker/verify_pid/linux.rs +23 -0
- running_process-4.1.0/crates/running-process/tests/broker/verify_pid/macos.rs +69 -0
- running_process-4.1.0/crates/running-process/tests/broker/verify_pid/mod.rs +6 -0
- running_process-4.1.0/crates/running-process/tests/broker/verify_pid/windows.rs +23 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/cleanup_list.rs +26 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/cleanup_prune_confirm.rs +41 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/cleanup_prune_dryrun.rs +41 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/cleanup_uninstall.rs +30 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/common.rs +48 -0
- running_process-4.1.0/crates/running-process/tests/cleanup/main.rs +7 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_non_tty_attach_test.rs +38 -2
- running_process-4.1.0/crates/running-process/tests/maintenance/main.rs +12 -0
- running_process-4.1.0/crates/running-process/tests/maintenance/release_handles_unix.rs +50 -0
- running_process-4.1.0/crates/running-process/tests/maintenance/release_handles_windows.rs +54 -0
- running_process-4.1.0/crates/running-process/tests/security/cross_user_release_handles.rs +83 -0
- running_process-4.1.0/crates/running-process/tests/security/cve_dbus_2014_3639.rs +102 -0
- running_process-4.1.0/crates/running-process/tests/security/cve_dbus_2023_34969.rs +206 -0
- running_process-4.1.0/crates/running-process/tests/security/cve_sccache_2023_1521.rs +131 -0
- running_process-4.1.0/crates/running-process/tests/security/deferred_runtime_surfaces.rs +5 -0
- running_process-4.1.0/crates/running-process/tests/security/dependency_surface.rs +196 -0
- running_process-4.1.0/crates/running-process/tests/security/fuzz_campaign_signoff.rs +329 -0
- running_process-4.1.0/crates/running-process/tests/security/main.rs +27 -0
- running_process-4.1.0/crates/running-process/tests/security/manifest_tamper_detection.rs +51 -0
- running_process-4.1.0/crates/running-process/tests/security/no_network_dependencies.rs +114 -0
- running_process-4.1.0/crates/running-process/tests/security/pipe_name_validation.rs +42 -0
- running_process-4.1.0/crates/running-process/tests/security/pipe_squatting.rs +154 -0
- running_process-4.1.0/crates/running-process/tests/security/security_audit_workflow.rs +104 -0
- running_process-4.1.0/crates/running-process/tests/security/security_fuzz_workflow.rs +378 -0
- running_process-4.1.0/crates/running-process/tests/security/service_name_validation.rs +31 -0
- running_process-4.1.0/crates/running-process/tests/security/unsafe_inventory.rs +367 -0
- running_process-4.1.0/crates/running-process/tests/security/wanted_version_shell_injection.rs +19 -0
- running_process-4.1.0/crates/running-process/tests/security/wanted_version_traversal.rs +28 -0
- running_process-4.1.0/crates/running-process/tests/terminal_graphics_capabilities_test.rs +218 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/Cargo.toml +5 -1
- {running_process-4.0.2 → running_process-4.1.0}/crates/test-watchdog/Cargo.toml +3 -0
- {running_process-4.0.2 → running_process-4.1.0}/pyproject.toml +1 -1
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/__init__.py +1 -1
- running_process-4.0.2/crates/running-process/build.rs +0 -9
- running_process-4.0.2/crates/running-process/src/types.rs +0 -89
- {running_process-4.0.2 → running_process-4.1.0}/LICENSE +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/bin/daemon.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/bin/trampoline.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/client/mod.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/config.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/core.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/kill.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/maintenance.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/pipe_sessions_handlers.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/process_tree.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/registry_handlers.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/services.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/spawn.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/telemetry.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers/util.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/handlers_tests.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/idle.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/mod.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/pipe_attach_stream.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/pipe_sessions.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/platform/mod.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/platform/unix.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/platform/windows.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/reaper.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/registry.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/runtime_gc.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/server.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/shadow.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/daemon/telemetry.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/helpers.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/originator.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/conpty_passthrough/child.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/conpty_passthrough/mod.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/conpty_passthrough/pipes.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/conpty_passthrough/proc_thread_attr.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/conpty_passthrough/pseudoconsole.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/pty_posix.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/pty/pty_windows.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/public_symbols.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/spawn_imp_unix.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/spawn_imp_windows.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/tests.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/unix.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/src/windows.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/containment_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_autostart_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_backlog_accumulation_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_cross_process_pty_attach_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_fast_ctrl_c_handoff_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_integration/compiler_wrap_seam_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_integration/env_replace_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_integration/main.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_integration/more_tests.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_integration/stdout_seam_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_pipe_session_attach_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_pty_session_attach_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_resize_rpc_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_runpm_service_stubs.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_sessions_bulk_ops_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_sessions_log_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_tee_ring_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_termination_outcome_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_tree_kill_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/daemon_tui_repaint_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/fs_adversarial_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/interactive_pty_session_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/originator_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/process_core_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/pty_conhost_job_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/pty_master_public_api_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process/tests/spawn_test.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/containment.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/daemon_client.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/debug_traces.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/helpers.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/idle_detector.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/lib.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/metrics.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/originator.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/pid_tracking.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/priority.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/process.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/process_tree.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/pty_buffer.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/pty_process.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/public_symbols.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/py_native_process.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/registry.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/signal_bool.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/terminal_input.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/control_churn.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/expect_match.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/idle_detector.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/mod.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/parse_command.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/process_tree.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/pty_buffer.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/pty_process.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/registry.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/signal_bool.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/running-process-py/src/tests/terminal_input.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/crates/test-watchdog/src/lib.rs +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/assets/example.txt +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/cli.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/command_render.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/compat.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/console_encoding.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/daemon.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/dashboard.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/exit_status.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/expect.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/interrupt_handler.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/launch.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/line_iterator.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/output_formatter.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/priority.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/process_utils.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/processor_cli.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/__init__.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_command.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_console_io.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_errors.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_idle_helpers.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_idle_state.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_interactive.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_process_helpers.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pseudo_terminal.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pty_expect.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pty_idle_waiter.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pty_input_relay.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pty_reader.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_pty_wait_for.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_terminal_strip.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_types.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/pty/_wait_input.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/__init__.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_classmethod_api.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_core.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_helpers.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_iter.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_subprocess.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_types.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process/_wait_methods.py +0 -0
- {running_process-4.0.2 → running_process-4.1.0}/src/running_process/running_process_manager.py +0 -0
|
@@ -79,6 +79,18 @@ version = "1.0.102"
|
|
|
79
79
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
80
|
checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
|
|
81
81
|
|
|
82
|
+
[[package]]
|
|
83
|
+
name = "arrayref"
|
|
84
|
+
version = "0.3.9"
|
|
85
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
86
|
+
checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "arrayvec"
|
|
90
|
+
version = "0.7.6"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
|
|
93
|
+
|
|
82
94
|
[[package]]
|
|
83
95
|
name = "autocfg"
|
|
84
96
|
version = "1.5.0"
|
|
@@ -103,6 +115,29 @@ version = "2.11.1"
|
|
|
103
115
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
116
|
checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
|
|
105
117
|
|
|
118
|
+
[[package]]
|
|
119
|
+
name = "blake3"
|
|
120
|
+
version = "1.8.5"
|
|
121
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
+
checksum = "0aa83c34e62843d924f905e0f5c866eb1dd6545fc4d719e803d9ba6030371fce"
|
|
123
|
+
dependencies = [
|
|
124
|
+
"arrayref",
|
|
125
|
+
"arrayvec",
|
|
126
|
+
"cc",
|
|
127
|
+
"cfg-if",
|
|
128
|
+
"constant_time_eq",
|
|
129
|
+
"cpufeatures 0.3.0",
|
|
130
|
+
]
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "block-buffer"
|
|
134
|
+
version = "0.10.4"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"generic-array",
|
|
139
|
+
]
|
|
140
|
+
|
|
106
141
|
[[package]]
|
|
107
142
|
name = "bytes"
|
|
108
143
|
version = "1.11.1"
|
|
@@ -177,12 +212,36 @@ version = "1.0.5"
|
|
|
177
212
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
213
|
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
179
214
|
|
|
215
|
+
[[package]]
|
|
216
|
+
name = "constant_time_eq"
|
|
217
|
+
version = "0.4.2"
|
|
218
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
219
|
+
checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
|
|
220
|
+
|
|
180
221
|
[[package]]
|
|
181
222
|
name = "core-foundation-sys"
|
|
182
223
|
version = "0.8.7"
|
|
183
224
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
225
|
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
185
226
|
|
|
227
|
+
[[package]]
|
|
228
|
+
name = "cpufeatures"
|
|
229
|
+
version = "0.2.17"
|
|
230
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
231
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
232
|
+
dependencies = [
|
|
233
|
+
"libc",
|
|
234
|
+
]
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "cpufeatures"
|
|
238
|
+
version = "0.3.0"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"libc",
|
|
243
|
+
]
|
|
244
|
+
|
|
186
245
|
[[package]]
|
|
187
246
|
name = "crossbeam-deque"
|
|
188
247
|
version = "0.8.6"
|
|
@@ -208,6 +267,26 @@ version = "0.8.21"
|
|
|
208
267
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
209
268
|
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
210
269
|
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "crypto-common"
|
|
272
|
+
version = "0.1.7"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
275
|
+
dependencies = [
|
|
276
|
+
"generic-array",
|
|
277
|
+
"typenum",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "digest"
|
|
282
|
+
version = "0.10.7"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
285
|
+
dependencies = [
|
|
286
|
+
"block-buffer",
|
|
287
|
+
"crypto-common",
|
|
288
|
+
]
|
|
289
|
+
|
|
211
290
|
[[package]]
|
|
212
291
|
name = "dirs"
|
|
213
292
|
version = "6.0.0"
|
|
@@ -359,6 +438,16 @@ dependencies = [
|
|
|
359
438
|
"slab",
|
|
360
439
|
]
|
|
361
440
|
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "generic-array"
|
|
443
|
+
version = "0.14.7"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"typenum",
|
|
448
|
+
"version_check",
|
|
449
|
+
]
|
|
450
|
+
|
|
362
451
|
[[package]]
|
|
363
452
|
name = "getrandom"
|
|
364
453
|
version = "0.2.17"
|
|
@@ -873,9 +962,9 @@ dependencies = [
|
|
|
873
962
|
|
|
874
963
|
[[package]]
|
|
875
964
|
name = "pyo3"
|
|
876
|
-
version = "0.
|
|
965
|
+
version = "0.24.2"
|
|
877
966
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
878
|
-
checksum = "
|
|
967
|
+
checksum = "e5203598f366b11a02b13aa20cab591229ff0a89fd121a308a5df751d5fc9219"
|
|
879
968
|
dependencies = [
|
|
880
969
|
"cfg-if",
|
|
881
970
|
"indoc",
|
|
@@ -891,9 +980,9 @@ dependencies = [
|
|
|
891
980
|
|
|
892
981
|
[[package]]
|
|
893
982
|
name = "pyo3-build-config"
|
|
894
|
-
version = "0.
|
|
983
|
+
version = "0.24.2"
|
|
895
984
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
896
|
-
checksum = "
|
|
985
|
+
checksum = "99636d423fa2ca130fa5acde3059308006d46f98caac629418e53f7ebb1e9999"
|
|
897
986
|
dependencies = [
|
|
898
987
|
"once_cell",
|
|
899
988
|
"target-lexicon",
|
|
@@ -901,9 +990,9 @@ dependencies = [
|
|
|
901
990
|
|
|
902
991
|
[[package]]
|
|
903
992
|
name = "pyo3-ffi"
|
|
904
|
-
version = "0.
|
|
993
|
+
version = "0.24.2"
|
|
905
994
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
906
|
-
checksum = "
|
|
995
|
+
checksum = "78f9cf92ba9c409279bc3305b5409d90db2d2c22392d443a87df3a1adad59e33"
|
|
907
996
|
dependencies = [
|
|
908
997
|
"libc",
|
|
909
998
|
"pyo3-build-config",
|
|
@@ -911,9 +1000,9 @@ dependencies = [
|
|
|
911
1000
|
|
|
912
1001
|
[[package]]
|
|
913
1002
|
name = "pyo3-macros"
|
|
914
|
-
version = "0.
|
|
1003
|
+
version = "0.24.2"
|
|
915
1004
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
916
|
-
checksum = "
|
|
1005
|
+
checksum = "0b999cb1a6ce21f9a6b147dcf1be9ffedf02e0043aec74dc390f3007047cecd9"
|
|
917
1006
|
dependencies = [
|
|
918
1007
|
"proc-macro2",
|
|
919
1008
|
"pyo3-macros-backend",
|
|
@@ -923,9 +1012,9 @@ dependencies = [
|
|
|
923
1012
|
|
|
924
1013
|
[[package]]
|
|
925
1014
|
name = "pyo3-macros-backend"
|
|
926
|
-
version = "0.
|
|
1015
|
+
version = "0.24.2"
|
|
927
1016
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
928
|
-
checksum = "
|
|
1017
|
+
checksum = "822ece1c7e1012745607d5cf0bcb2874769f0f7cb34c4cde03b9358eb9ef911a"
|
|
929
1018
|
dependencies = [
|
|
930
1019
|
"heck",
|
|
931
1020
|
"proc-macro2",
|
|
@@ -1026,13 +1115,15 @@ checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a"
|
|
|
1026
1115
|
|
|
1027
1116
|
[[package]]
|
|
1028
1117
|
name = "running-process"
|
|
1029
|
-
version = "4.0
|
|
1118
|
+
version = "4.1.0"
|
|
1030
1119
|
dependencies = [
|
|
1031
1120
|
"anyhow",
|
|
1121
|
+
"blake3",
|
|
1032
1122
|
"bytes",
|
|
1033
1123
|
"clap",
|
|
1034
1124
|
"dirs",
|
|
1035
1125
|
"futures-util",
|
|
1126
|
+
"getrandom 0.4.2",
|
|
1036
1127
|
"interprocess",
|
|
1037
1128
|
"libc",
|
|
1038
1129
|
"portable-pty",
|
|
@@ -1043,6 +1134,7 @@ dependencies = [
|
|
|
1043
1134
|
"rusqlite",
|
|
1044
1135
|
"serde",
|
|
1045
1136
|
"serde_json",
|
|
1137
|
+
"sha2",
|
|
1046
1138
|
"sysinfo",
|
|
1047
1139
|
"tempfile",
|
|
1048
1140
|
"test-watchdog",
|
|
@@ -1058,7 +1150,7 @@ dependencies = [
|
|
|
1058
1150
|
|
|
1059
1151
|
[[package]]
|
|
1060
1152
|
name = "running-process-py"
|
|
1061
|
-
version = "4.0
|
|
1153
|
+
version = "4.1.0"
|
|
1062
1154
|
dependencies = [
|
|
1063
1155
|
"interprocess",
|
|
1064
1156
|
"libc",
|
|
@@ -1187,6 +1279,17 @@ dependencies = [
|
|
|
1187
1279
|
"windows-sys 0.61.2",
|
|
1188
1280
|
]
|
|
1189
1281
|
|
|
1282
|
+
[[package]]
|
|
1283
|
+
name = "sha2"
|
|
1284
|
+
version = "0.10.9"
|
|
1285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1286
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
1287
|
+
dependencies = [
|
|
1288
|
+
"cfg-if",
|
|
1289
|
+
"cpufeatures 0.2.17",
|
|
1290
|
+
"digest",
|
|
1291
|
+
]
|
|
1292
|
+
|
|
1190
1293
|
[[package]]
|
|
1191
1294
|
name = "sharded-slab"
|
|
1192
1295
|
version = "0.1.7"
|
|
@@ -1284,9 +1387,9 @@ dependencies = [
|
|
|
1284
1387
|
|
|
1285
1388
|
[[package]]
|
|
1286
1389
|
name = "target-lexicon"
|
|
1287
|
-
version = "0.
|
|
1390
|
+
version = "0.13.5"
|
|
1288
1391
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1289
|
-
checksum = "
|
|
1392
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
1290
1393
|
|
|
1291
1394
|
[[package]]
|
|
1292
1395
|
name = "tempfile"
|
|
@@ -1505,6 +1608,12 @@ dependencies = [
|
|
|
1505
1608
|
"tracing-log",
|
|
1506
1609
|
]
|
|
1507
1610
|
|
|
1611
|
+
[[package]]
|
|
1612
|
+
name = "typenum"
|
|
1613
|
+
version = "1.20.1"
|
|
1614
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1615
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
1616
|
+
|
|
1508
1617
|
[[package]]
|
|
1509
1618
|
name = "unicode-ident"
|
|
1510
1619
|
version = "1.0.24"
|
|
@@ -3,7 +3,7 @@ resolver = "2"
|
|
|
3
3
|
members = ["crates/running-process", "crates/running-process-py", "crates/test-watchdog"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "4.0
|
|
6
|
+
version = "4.1.0"
|
|
7
7
|
edition = "2021"
|
|
8
8
|
rust-version = "1.85"
|
|
9
9
|
license = "BSD-3-Clause"
|
|
@@ -11,10 +11,16 @@ repository = "https://github.com/zackees/running-process"
|
|
|
11
11
|
homepage = "https://github.com/zackees/running-process"
|
|
12
12
|
|
|
13
13
|
[workspace.dependencies]
|
|
14
|
-
pyo3 = { version = "0.
|
|
14
|
+
pyo3 = { version = "0.24", features = ["abi3-py310"] }
|
|
15
15
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
16
16
|
thiserror = "2"
|
|
17
17
|
|
|
18
|
+
# Phase 0 of #228: workspace-wide lints. `disallowed_methods` is wired
|
|
19
|
+
# through `clippy.toml` at the workspace root so every member crate
|
|
20
|
+
# refuses bincode serialization (broker wire stays prost-only).
|
|
21
|
+
[workspace.lints.clippy]
|
|
22
|
+
disallowed_methods = "deny"
|
|
23
|
+
|
|
18
24
|
[profile.release]
|
|
19
25
|
debug = true
|
|
20
26
|
strip = "none"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: running_process
|
|
3
|
-
Version: 4.0
|
|
3
|
+
Version: 4.1.0
|
|
4
4
|
License-File: LICENSE
|
|
5
5
|
Summary: A Rust-backed subprocess wrapper with split stdout/stderr streaming
|
|
6
6
|
Home-Page: https://github.com/zackees/running-process
|
|
@@ -18,6 +18,18 @@ Project-URL: Repository, https://github.com/zackees/running-process
|
|
|
18
18
|
|
|
19
19
|
`running-process` is what you wished python's subprocess was. Blazing fast, highly concurrent, huge feature list, dead process tracking, pty support. Built in Rust with a thin python api.
|
|
20
20
|
|
|
21
|
+
## v1 Broker Docs
|
|
22
|
+
|
|
23
|
+
The v1 broker work is documented as a stable spec alongside the implementation:
|
|
24
|
+
|
|
25
|
+
- Core spec: [architecture](docs/v1-architecture-overview.md), [frozen commitments](docs/v1-frozen-commitments.md), [pipe naming](docs/v1-pipe-naming.md), [platform behavior](docs/v1-platform-behavior.md), [security model](docs/v1-security-model.md)
|
|
26
|
+
- Schemas: [wire envelope](docs/v1-wire-envelope.md), [cache manifest](docs/v1-cache-manifest.md), [service definition](docs/v1-service-definition.md), [lifecycle events](docs/v1-lifecycle-events.md)
|
|
27
|
+
- Consumer adoption: [dashboard](docs/v1-consumer-adoption-dashboard.md), [clud](docs/consumer-adoption-clud.md), [zccache](docs/consumer-adoption-zccache.md), [soldr](docs/consumer-adoption-soldr.md), [fbuild](docs/consumer-adoption-fbuild.md)
|
|
28
|
+
- Operations: [broker architecture](docs/v1-broker-architecture.md), [admin verbs](docs/v1-admin-verbs.md), [backend lifecycle](docs/v1-backend-lifecycle.md), [handoff optimization](docs/v1-handoff-optimization.md), [observability](docs/v1-observability.md)
|
|
29
|
+
- Rollout: [policy](docs/v1-rollout-policy.md), [escape hatch](docs/v1-escape-hatch.md), [troubleshooting](docs/v1-troubleshooting.md)
|
|
30
|
+
- Examples: [minimal consumer](examples/minimal-consumer/), [release-handles CLI](examples/release-handles-cli/), [custom isolation](examples/custom-isolation/)
|
|
31
|
+
- Contrib service templates: [systemd](contrib/systemd/running-process-broker-v1.service), [launchd](contrib/launchd/com.zackees.running-process-broker-v1.plist), [Windows service installer](contrib/windows-service/install.ps1)
|
|
32
|
+
|
|
21
33
|
| Platform | Build | Lint | Unit Test | Integration Test |
|
|
22
34
|
|----------|-------|------|-----------|------------------|
|
|
23
35
|
| Linux x86 | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-build.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-lint.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-unit-test.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-integration-test.yml) |
|
|
@@ -47,6 +59,22 @@ On those platforms, `RunningProcess.pseudo_terminal(...)`, `wait_for_expect(...)
|
|
|
47
59
|
|
|
48
60
|
`Pty.is_available()` remains as a compatibility shim and only reports `False` on unsupported platforms.
|
|
49
61
|
|
|
62
|
+
## Terminal Graphics Capabilities
|
|
63
|
+
|
|
64
|
+
Rust callers can inspect terminal graphics support with
|
|
65
|
+
`running_process::current_terminal_capabilities()` or the pure
|
|
66
|
+
`running_process::detect_terminal_capabilities(...)` helper. The result reports
|
|
67
|
+
Sixel, Kitty graphics, and iTerm2 `File=` image support as structured
|
|
68
|
+
capability records with `status`, `evidence`, `source`, and `risks` metadata.
|
|
69
|
+
|
|
70
|
+
The detector intentionally distinguishes terminal hosts from shells. `cmd.exe`,
|
|
71
|
+
PowerShell, Git Bash, bash, zsh, and fish are command interpreters; they do not
|
|
72
|
+
prove graphics support. The terminal host or multiplexer does: Windows
|
|
73
|
+
Terminal, xterm, foot, Konsole, WezTerm, Kitty, iTerm2, tmux, GNU screen, and
|
|
74
|
+
similar programs provide the relevant evidence. Weak aliases such as
|
|
75
|
+
`TERM=xterm-256color` are reported as unknown unless a live probe or stronger
|
|
76
|
+
host signal confirms support.
|
|
77
|
+
|
|
50
78
|
## CLI Helpers
|
|
51
79
|
|
|
52
80
|
The package installs a `running-process` wrapper CLI for supervised command execution:
|
|
@@ -59,6 +87,43 @@ running-process --find-leaks -- python worker.py
|
|
|
59
87
|
`--find-leaks` tags the wrapped process tree with a unique originator marker and reports any
|
|
60
88
|
descendants still alive after the direct child exits.
|
|
61
89
|
|
|
90
|
+
## Cleanup Manifests
|
|
91
|
+
|
|
92
|
+
The `running-process-cleanup` binary reads v1 broker `CacheManifest` files
|
|
93
|
+
without requiring a broker or daemon to be running. Manifests are written in two
|
|
94
|
+
places:
|
|
95
|
+
|
|
96
|
+
- each daemon cache root: `.running-process-manifest.pb`
|
|
97
|
+
- the central registry: `$XDG_DATA_HOME/running-process/manifests/` on Linux,
|
|
98
|
+
`~/Library/Application Support/running-process/manifests/` on macOS, and
|
|
99
|
+
`%APPDATA%\running-process\manifests\` on Windows
|
|
100
|
+
|
|
101
|
+
Destructive commands are dry-run by default. Add `--confirm` to delete selected
|
|
102
|
+
roots:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
running-process-cleanup list --json
|
|
106
|
+
running-process-cleanup verify --json
|
|
107
|
+
running-process-cleanup prune --dormant-after 30d
|
|
108
|
+
running-process-cleanup prune --dormant-after 30d --confirm
|
|
109
|
+
running-process-cleanup prune --keep-current --keep-last 2
|
|
110
|
+
running-process-cleanup uninstall zccache --keep-config
|
|
111
|
+
running-process-cleanup instances --json
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
For GitHub Actions cache restores, run verification after `actions/cache@v4`
|
|
115
|
+
restores daemon state. Manifests from a prior runner boot are reported as stale:
|
|
116
|
+
|
|
117
|
+
```yaml
|
|
118
|
+
- uses: actions/cache@v4
|
|
119
|
+
with:
|
|
120
|
+
path: ~/.local/share/running-process
|
|
121
|
+
key: running-process-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
|
122
|
+
|
|
123
|
+
- name: Verify restored running-process manifests
|
|
124
|
+
run: running-process-cleanup verify --json
|
|
125
|
+
```
|
|
126
|
+
|
|
62
127
|
## Pipe-backed API
|
|
63
128
|
|
|
64
129
|
```python
|
|
@@ -4,6 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
`running-process` is what you wished python's subprocess was. Blazing fast, highly concurrent, huge feature list, dead process tracking, pty support. Built in Rust with a thin python api.
|
|
6
6
|
|
|
7
|
+
## v1 Broker Docs
|
|
8
|
+
|
|
9
|
+
The v1 broker work is documented as a stable spec alongside the implementation:
|
|
10
|
+
|
|
11
|
+
- Core spec: [architecture](docs/v1-architecture-overview.md), [frozen commitments](docs/v1-frozen-commitments.md), [pipe naming](docs/v1-pipe-naming.md), [platform behavior](docs/v1-platform-behavior.md), [security model](docs/v1-security-model.md)
|
|
12
|
+
- Schemas: [wire envelope](docs/v1-wire-envelope.md), [cache manifest](docs/v1-cache-manifest.md), [service definition](docs/v1-service-definition.md), [lifecycle events](docs/v1-lifecycle-events.md)
|
|
13
|
+
- Consumer adoption: [dashboard](docs/v1-consumer-adoption-dashboard.md), [clud](docs/consumer-adoption-clud.md), [zccache](docs/consumer-adoption-zccache.md), [soldr](docs/consumer-adoption-soldr.md), [fbuild](docs/consumer-adoption-fbuild.md)
|
|
14
|
+
- Operations: [broker architecture](docs/v1-broker-architecture.md), [admin verbs](docs/v1-admin-verbs.md), [backend lifecycle](docs/v1-backend-lifecycle.md), [handoff optimization](docs/v1-handoff-optimization.md), [observability](docs/v1-observability.md)
|
|
15
|
+
- Rollout: [policy](docs/v1-rollout-policy.md), [escape hatch](docs/v1-escape-hatch.md), [troubleshooting](docs/v1-troubleshooting.md)
|
|
16
|
+
- Examples: [minimal consumer](examples/minimal-consumer/), [release-handles CLI](examples/release-handles-cli/), [custom isolation](examples/custom-isolation/)
|
|
17
|
+
- Contrib service templates: [systemd](contrib/systemd/running-process-broker-v1.service), [launchd](contrib/launchd/com.zackees.running-process-broker-v1.plist), [Windows service installer](contrib/windows-service/install.ps1)
|
|
18
|
+
|
|
7
19
|
| Platform | Build | Lint | Unit Test | Integration Test |
|
|
8
20
|
|----------|-------|------|-----------|------------------|
|
|
9
21
|
| Linux x86 | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-build.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-lint.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-unit-test.yml) | [](https://github.com/zackees/running-process/actions/workflows/linux-x86-integration-test.yml) |
|
|
@@ -33,6 +45,22 @@ On those platforms, `RunningProcess.pseudo_terminal(...)`, `wait_for_expect(...)
|
|
|
33
45
|
|
|
34
46
|
`Pty.is_available()` remains as a compatibility shim and only reports `False` on unsupported platforms.
|
|
35
47
|
|
|
48
|
+
## Terminal Graphics Capabilities
|
|
49
|
+
|
|
50
|
+
Rust callers can inspect terminal graphics support with
|
|
51
|
+
`running_process::current_terminal_capabilities()` or the pure
|
|
52
|
+
`running_process::detect_terminal_capabilities(...)` helper. The result reports
|
|
53
|
+
Sixel, Kitty graphics, and iTerm2 `File=` image support as structured
|
|
54
|
+
capability records with `status`, `evidence`, `source`, and `risks` metadata.
|
|
55
|
+
|
|
56
|
+
The detector intentionally distinguishes terminal hosts from shells. `cmd.exe`,
|
|
57
|
+
PowerShell, Git Bash, bash, zsh, and fish are command interpreters; they do not
|
|
58
|
+
prove graphics support. The terminal host or multiplexer does: Windows
|
|
59
|
+
Terminal, xterm, foot, Konsole, WezTerm, Kitty, iTerm2, tmux, GNU screen, and
|
|
60
|
+
similar programs provide the relevant evidence. Weak aliases such as
|
|
61
|
+
`TERM=xterm-256color` are reported as unknown unless a live probe or stronger
|
|
62
|
+
host signal confirms support.
|
|
63
|
+
|
|
36
64
|
## CLI Helpers
|
|
37
65
|
|
|
38
66
|
The package installs a `running-process` wrapper CLI for supervised command execution:
|
|
@@ -45,6 +73,43 @@ running-process --find-leaks -- python worker.py
|
|
|
45
73
|
`--find-leaks` tags the wrapped process tree with a unique originator marker and reports any
|
|
46
74
|
descendants still alive after the direct child exits.
|
|
47
75
|
|
|
76
|
+
## Cleanup Manifests
|
|
77
|
+
|
|
78
|
+
The `running-process-cleanup` binary reads v1 broker `CacheManifest` files
|
|
79
|
+
without requiring a broker or daemon to be running. Manifests are written in two
|
|
80
|
+
places:
|
|
81
|
+
|
|
82
|
+
- each daemon cache root: `.running-process-manifest.pb`
|
|
83
|
+
- the central registry: `$XDG_DATA_HOME/running-process/manifests/` on Linux,
|
|
84
|
+
`~/Library/Application Support/running-process/manifests/` on macOS, and
|
|
85
|
+
`%APPDATA%\running-process\manifests\` on Windows
|
|
86
|
+
|
|
87
|
+
Destructive commands are dry-run by default. Add `--confirm` to delete selected
|
|
88
|
+
roots:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
running-process-cleanup list --json
|
|
92
|
+
running-process-cleanup verify --json
|
|
93
|
+
running-process-cleanup prune --dormant-after 30d
|
|
94
|
+
running-process-cleanup prune --dormant-after 30d --confirm
|
|
95
|
+
running-process-cleanup prune --keep-current --keep-last 2
|
|
96
|
+
running-process-cleanup uninstall zccache --keep-config
|
|
97
|
+
running-process-cleanup instances --json
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
For GitHub Actions cache restores, run verification after `actions/cache@v4`
|
|
101
|
+
restores daemon state. Manifests from a prior runner boot are reported as stale:
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
- uses: actions/cache@v4
|
|
105
|
+
with:
|
|
106
|
+
path: ~/.local/share/running-process
|
|
107
|
+
key: running-process-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
|
108
|
+
|
|
109
|
+
- name: Verify restored running-process manifests
|
|
110
|
+
run: running-process-cleanup verify --json
|
|
111
|
+
```
|
|
112
|
+
|
|
48
113
|
## Pipe-backed API
|
|
49
114
|
|
|
50
115
|
```python
|
|
@@ -7,6 +7,12 @@ license.workspace = true
|
|
|
7
7
|
repository.workspace = true
|
|
8
8
|
homepage.workspace = true
|
|
9
9
|
description = "Subprocess and PTY runtime for the running-process project"
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
|
|
12
|
+
[lints]
|
|
13
|
+
# Phase 0 of #228: pick up the workspace-wide `disallowed_methods =
|
|
14
|
+
# "deny"` so bincode serialization is rejected at compile time.
|
|
15
|
+
workspace = true
|
|
10
16
|
|
|
11
17
|
[[bin]]
|
|
12
18
|
# Wave 4 of #165: PM2-style supervisor CLI absorbed from
|
|
@@ -31,6 +37,16 @@ required-features = ["daemon"]
|
|
|
31
37
|
name = "daemon-trampoline"
|
|
32
38
|
path = "src/bin/trampoline.rs"
|
|
33
39
|
|
|
40
|
+
[[bin]]
|
|
41
|
+
name = "running-process-cleanup"
|
|
42
|
+
path = "src/bin/running-process-cleanup.rs"
|
|
43
|
+
required-features = ["client"]
|
|
44
|
+
|
|
45
|
+
[[bin]]
|
|
46
|
+
name = "running-process-broker-v1"
|
|
47
|
+
path = "src/bin/running-process-broker-v1.rs"
|
|
48
|
+
required-features = ["daemon"]
|
|
49
|
+
|
|
34
50
|
[features]
|
|
35
51
|
# Final feature scheme per #165:
|
|
36
52
|
# * `core` — always-available API (spawn / pty / containment).
|
|
@@ -44,7 +60,7 @@ path = "src/bin/trampoline.rs"
|
|
|
44
60
|
default = ["client"]
|
|
45
61
|
core = []
|
|
46
62
|
telemetry = []
|
|
47
|
-
client = ["dep:prost", "dep:prost-types", "dep:interprocess", "dep:dirs", "dep:anyhow", "dep:clap"]
|
|
63
|
+
client = ["dep:prost", "dep:prost-types", "dep:interprocess", "dep:dirs", "dep:anyhow", "dep:clap", "dep:blake3", "dep:sha2", "dep:getrandom"]
|
|
48
64
|
daemon = [
|
|
49
65
|
"client",
|
|
50
66
|
"interprocess/tokio",
|
|
@@ -59,7 +75,7 @@ libc = "0.2"
|
|
|
59
75
|
portable-pty = "0.9"
|
|
60
76
|
sysinfo = "0.30"
|
|
61
77
|
thiserror = { workspace = true }
|
|
62
|
-
winapi = { version = "0.3", features = ["errhandlingapi", "fileapi", "handleapi", "ioapiset", "jobapi2", "namedpipeapi", "processthreadsapi", "winnt", "minwindef", "windef", "winuser", "consoleapi", "processenv", "synchapi", "winbase", "wincon", "tlhelp32"] }
|
|
78
|
+
winapi = { version = "0.3", features = ["errhandlingapi", "fileapi", "handleapi", "ioapiset", "jobapi2", "namedpipeapi", "processthreadsapi", "winnt", "minwindef", "windef", "winuser", "consoleapi", "processenv", "synchapi", "winbase", "wincon", "tlhelp32", "securitybaseapi", "winerror", "sysinfoapi"] }
|
|
63
79
|
# Wave 4 of #165: client-feature deps. All optional so the always-on
|
|
64
80
|
# `core` API stays a minimal-dep leaf.
|
|
65
81
|
prost = { version = "0.14", optional = true }
|
|
@@ -69,6 +85,12 @@ dirs = { version = "6", optional = true }
|
|
|
69
85
|
# Used by the `runpm` PM2-style supervisor CLI (src/bin/runpm.rs).
|
|
70
86
|
anyhow = { version = "1", optional = true }
|
|
71
87
|
clap = { version = "4", features = ["derive"], optional = true }
|
|
88
|
+
# Phase 1 of #228 (issue #230): broker user-SID hashing in
|
|
89
|
+
# `src/broker/lifecycle/sid.rs`. blake3 is small (no_std-capable,
|
|
90
|
+
# no transitive deps beyond `arrayref`/`arrayvec` and `cc`-built SIMD).
|
|
91
|
+
blake3 = { version = "1", optional = true }
|
|
92
|
+
sha2 = { version = "0.10", optional = true }
|
|
93
|
+
getrandom = { version = "0.4", optional = true }
|
|
72
94
|
# Wave 5 of #165: daemon-feature deps. All optional.
|
|
73
95
|
tokio = { version = "1", features = ["full"], optional = true }
|
|
74
96
|
tokio-util = { version = "0.7", features = ["codec"], optional = true }
|
|
@@ -108,11 +130,13 @@ test-watchdog = { path = "../test-watchdog" }
|
|
|
108
130
|
windows-sys = { version = "0.59", features = [
|
|
109
131
|
"Win32_Foundation",
|
|
110
132
|
"Win32_Security",
|
|
133
|
+
"Win32_Security_Authorization",
|
|
111
134
|
"Win32_Storage_FileSystem",
|
|
112
135
|
"Win32_System_Console",
|
|
113
136
|
"Win32_System_IO",
|
|
114
137
|
"Win32_System_Memory",
|
|
115
138
|
"Win32_System_Pipes",
|
|
139
|
+
"Win32_System_Registry",
|
|
116
140
|
"Win32_System_Threading",
|
|
117
141
|
"Win32_System_Diagnostics_Debug",
|
|
118
142
|
] }
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# running-process crate
|
|
2
|
+
|
|
3
|
+
This crate contains the Rust implementation for `running-process`, including
|
|
4
|
+
the v1 broker protocol schemas and lifecycle helpers.
|
|
5
|
+
|
|
6
|
+
## v1 Broker Specification
|
|
7
|
+
|
|
8
|
+
Core broker docs:
|
|
9
|
+
|
|
10
|
+
- [Architecture overview](../../docs/v1-architecture-overview.md)
|
|
11
|
+
- [Frozen commitments](../../docs/v1-frozen-commitments.md)
|
|
12
|
+
- [Pipe naming](../../docs/v1-pipe-naming.md)
|
|
13
|
+
- [Platform behavior](../../docs/v1-platform-behavior.md)
|
|
14
|
+
- [Security model](../../docs/v1-security-model.md)
|
|
15
|
+
|
|
16
|
+
Schema docs:
|
|
17
|
+
|
|
18
|
+
- [Wire envelope](../../docs/v1-wire-envelope.md)
|
|
19
|
+
- [Cache manifest](../../docs/v1-cache-manifest.md)
|
|
20
|
+
- [Service definition](../../docs/v1-service-definition.md)
|
|
21
|
+
- [Lifecycle events](../../docs/v1-lifecycle-events.md)
|
|
22
|
+
|
|
23
|
+
Consumer adoption guides:
|
|
24
|
+
|
|
25
|
+
- [Dashboard](../../docs/v1-consumer-adoption-dashboard.md)
|
|
26
|
+
- [clud](../../docs/consumer-adoption-clud.md)
|
|
27
|
+
- [zccache](../../docs/consumer-adoption-zccache.md)
|
|
28
|
+
- [soldr](../../docs/consumer-adoption-soldr.md)
|
|
29
|
+
- [fbuild](../../docs/consumer-adoption-fbuild.md)
|
|
30
|
+
|
|
31
|
+
Operations and rollout docs:
|
|
32
|
+
|
|
33
|
+
- [Broker internal architecture](../../docs/v1-broker-architecture.md)
|
|
34
|
+
- [Admin verbs](../../docs/v1-admin-verbs.md)
|
|
35
|
+
- [Backend lifecycle](../../docs/v1-backend-lifecycle.md)
|
|
36
|
+
- [Handoff optimization](../../docs/v1-handoff-optimization.md)
|
|
37
|
+
- [Observability](../../docs/v1-observability.md)
|
|
38
|
+
- [Rollout policy](../../docs/v1-rollout-policy.md)
|
|
39
|
+
- [Escape hatch](../../docs/v1-escape-hatch.md)
|
|
40
|
+
- [Troubleshooting](../../docs/v1-troubleshooting.md)
|
|
41
|
+
|
|
42
|
+
Examples:
|
|
43
|
+
|
|
44
|
+
- [Minimal consumer](../../examples/minimal-consumer/)
|
|
45
|
+
- [Release-handles CLI](../../examples/release-handles-cli/)
|
|
46
|
+
- [Custom isolation](../../examples/custom-isolation/)
|
|
47
|
+
|
|
48
|
+
Contrib service templates:
|
|
49
|
+
|
|
50
|
+
- [systemd user service](../../contrib/systemd/running-process-broker-v1.service)
|
|
51
|
+
- [macOS LaunchAgent](../../contrib/launchd/com.zackees.running-process-broker-v1.plist)
|
|
52
|
+
- [Windows service installer](../../contrib/windows-service/install.ps1)
|
|
53
|
+
|
|
54
|
+
The authoritative v1 proto files live under `proto/broker_v1/`.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
2
|
+
// Without these, edits to the .proto don't reliably retrigger
|
|
3
|
+
// codegen on incremental builds.
|
|
4
|
+
println!("cargo:rerun-if-changed=proto/daemon.proto");
|
|
5
|
+
println!("cargo:rerun-if-changed=proto/broker_v1/broker_v1_envelope.proto");
|
|
6
|
+
println!("cargo:rerun-if-changed=proto/broker_v1/broker_v1_admin.proto");
|
|
7
|
+
println!("cargo:rerun-if-changed=proto/broker_v1/broker_v1_manifest.proto");
|
|
8
|
+
println!("cargo:rerun-if-changed=proto/broker_v1/broker_v1_service_def.proto");
|
|
9
|
+
println!("cargo:rerun-if-changed=build.rs");
|
|
10
|
+
let file_descriptors = protox::compile(
|
|
11
|
+
[
|
|
12
|
+
"proto/daemon.proto",
|
|
13
|
+
"proto/broker_v1/broker_v1_envelope.proto",
|
|
14
|
+
"proto/broker_v1/broker_v1_admin.proto",
|
|
15
|
+
"proto/broker_v1/broker_v1_manifest.proto",
|
|
16
|
+
"proto/broker_v1/broker_v1_service_def.proto",
|
|
17
|
+
],
|
|
18
|
+
["proto/"],
|
|
19
|
+
)?;
|
|
20
|
+
prost_build::compile_fds(file_descriptors)?;
|
|
21
|
+
Ok(())
|
|
22
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// running-process v1 broker admin payload schema.
|
|
2
|
+
//
|
|
3
|
+
// Admin frames use Frame.payload_protocol = 0xAD01 and carry AdminRequest or
|
|
4
|
+
// AdminReply in Frame.payload. This file is part of the frozen v1 broker
|
|
5
|
+
// package; breaking changes require a v2 broker.
|
|
6
|
+
|
|
7
|
+
syntax = "proto3";
|
|
8
|
+
package running_process.broker.v1;
|
|
9
|
+
|
|
10
|
+
message AdminRequest {
|
|
11
|
+
AdminVerb verb = 1;
|
|
12
|
+
bool json = 2;
|
|
13
|
+
string service_name = 3; // backend-health
|
|
14
|
+
string output_path = 4; // diagnose
|
|
15
|
+
reserved 10 to 20;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message AdminReply {
|
|
19
|
+
AdminReplyKind kind = 1;
|
|
20
|
+
string body = 2;
|
|
21
|
+
uint32 exit_code = 3;
|
|
22
|
+
string content_type = 4;
|
|
23
|
+
reserved 10 to 20;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
enum AdminVerb {
|
|
27
|
+
ADMIN_VERB_UNSPECIFIED = 0;
|
|
28
|
+
ADMIN_VERB_STATUS = 1;
|
|
29
|
+
ADMIN_VERB_DUMP = 2;
|
|
30
|
+
ADMIN_VERB_LIST_INSTANCES = 3;
|
|
31
|
+
ADMIN_VERB_HEALTHZ = 4;
|
|
32
|
+
ADMIN_VERB_READYZ = 5;
|
|
33
|
+
ADMIN_VERB_BACKEND_HEALTH = 6;
|
|
34
|
+
ADMIN_VERB_CONFIG = 7;
|
|
35
|
+
ADMIN_VERB_DIAGNOSE = 8;
|
|
36
|
+
ADMIN_VERB_METRICS = 9;
|
|
37
|
+
reserved 10 to 20;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
enum AdminReplyKind {
|
|
41
|
+
ADMIN_REPLY_KIND_TEXT = 0;
|
|
42
|
+
ADMIN_REPLY_KIND_JSON = 1;
|
|
43
|
+
ADMIN_REPLY_KIND_OPENMETRICS = 2;
|
|
44
|
+
reserved 10 to 20;
|
|
45
|
+
}
|