pocketshell 0.5.12__tar.gz → 0.5.13__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.
- {pocketshell-0.5.12 → pocketshell-0.5.13}/PKG-INFO +11 -3
- {pocketshell-0.5.12 → pocketshell-0.5.13}/README.md +8 -0
- pocketshell-0.5.13/SCOPE.md +14 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/architecture.md +20 -38
- pocketshell-0.5.13/docs/bounded-container-sessions.md +43 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/gateway.md +32 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/link-transport.md +2 -2
- pocketshell-0.5.13/docs/vault-enrollment.md +86 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/windows-tray-installer.md +16 -3
- {pocketshell-0.5.12 → pocketshell-0.5.13}/pyproject.toml +23 -13
- pocketshell-0.5.13/release/inputs/guardian-interactive/README.md +16 -0
- pocketshell-0.5.13/release/inputs/guardian-interactive/SHA256SUMS +3 -0
- pocketshell-0.5.13/release/inputs/guardian-interactive/guardian.py +332 -0
- pocketshell-0.5.13/release/inputs/guardian-interactive/policy.py +95 -0
- pocketshell-0.5.13/release/inputs/guardian-servicing/native_api.py +94 -0
- pocketshell-0.5.13/scripts/ci/scope_guard.py +263 -0
- pocketshell-0.5.13/scripts/ci/test_scope_guard.py +172 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/build_backend_windows.py +1 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/build_closure.py +8 -1
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/build_tray_installer.py +39 -33
- pocketshell-0.5.13/scripts/release/update_tray_runtime.py +65 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/windows-gateway-qualify.py +54 -3
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/broker.py +1 -1
- pocketshell-0.5.13/src/pocketshell/account/shared_vault.py +395 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/conversations/__init__.py +5 -16
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/conversations/cli.py +5 -120
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/cli.py +8 -11
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/environment.py +2 -2
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/cli.py +1 -8
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/__init__.py +4 -3
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/builtin.py +10 -6
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/registry.py +70 -31
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/cli.py +6 -2
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_agent_endpoint.py +19 -6
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_endpoint.py +20 -7
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_user_agent.py +33 -7
- pocketshell-0.5.13/src/pocketshell/gateway/vault_enrollment.py +506 -0
- pocketshell-0.5.13/src/pocketshell/runtime/inherited_cgroup.py +214 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/memcap.py +6 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/create.py +15 -4
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/app.py +18 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/dialogs.py +18 -0
- pocketshell-0.5.13/src/pocketshell/tray/vault_password.py +47 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray_bundle.py +46 -40
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray_repair.py +4 -2
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray_supervisor.py +21 -6
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/__init__.py +3 -4
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/paths.py +2 -3
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/storage.py +1 -1
- pocketshell-0.5.13/src/pocketshell/usage/__init__.py +44 -0
- pocketshell-0.5.13/src/pocketshell/usage/cli.py +171 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/usage/quse.py +0 -17
- pocketshell-0.5.13/tests/account/fixtures/trusted-host-v1-vector.json +35 -0
- pocketshell-0.5.13/tests/account/fixtures/vault-v1-vectors.json +74 -0
- pocketshell-0.5.13/tests/account/test_shared_vault.py +244 -0
- pocketshell-0.5.13/tests/account/test_vault_enrollment.py +278 -0
- pocketshell-0.5.13/tests/account/test_vault_revocation_replay.py +167 -0
- pocketshell-0.5.13/tests/account/test_vault_trust_store.py +150 -0
- pocketshell-0.5.13/tests/aplexer_requirement.py +13 -0
- pocketshell-0.5.13/tests/docker/inherited-memory/Dockerfile +8 -0
- pocketshell-0.5.13/tests/docker/inherited-memory/proof.py +55 -0
- pocketshell-0.5.13/tests/docker/phone-host/.gitattributes +1 -0
- pocketshell-0.5.13/tests/docker/phone-host/Dockerfile +29 -0
- pocketshell-0.5.13/tests/docker/phone-host/README.md +34 -0
- pocketshell-0.5.13/tests/docker/phone-host/entrypoint.sh +10 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_agent_setup_cli.py +30 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_endpoint_setup.py +23 -1
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_service_endpoint.py +4 -1
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_user_agent.py +25 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_complete_runtime_native.py +54 -23
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_gateway_e2e.py +38 -2
- pocketshell-0.5.13/tests/gateway/test_windows_qualify_accounting.py +94 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_release_closure_native.py +5 -1
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/release/test_build_backend.py +18 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/release/test_tray_installer.py +23 -1
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/release/test_windows_psc_upgrade_native.py +5 -2
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_agent_log.py +0 -201
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_aplexer_contract.py +83 -18
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_aplexer_resolution.py +13 -51
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_cli.py +20 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_engines.py +27 -9
- pocketshell-0.5.13/tests/test_inherited_cgroup.py +188 -0
- pocketshell-0.5.13/tests/test_inherited_cgroup_kernel_proof.py +51 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_create_routing.py +8 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_windows_startup.py +0 -2
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_bundle.py +59 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_supervisor.py +22 -1
- pocketshell-0.5.13/tests/tray/test_vault_password.py +33 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/uv.lock +74 -45
- pocketshell-0.5.12/scheduler/README.md +0 -74
- pocketshell-0.5.12/scheduler/pocketshell-usage-capture.service +0 -14
- pocketshell-0.5.12/scheduler/pocketshell-usage-capture.timer +0 -15
- pocketshell-0.5.12/src/pocketshell/agents/conversations/handoff.py +0 -135
- pocketshell-0.5.12/src/pocketshell/agents/conversations/messages.py +0 -220
- pocketshell-0.5.12/src/pocketshell/cards/__init__.py +0 -113
- pocketshell-0.5.12/src/pocketshell/cards/cli.py +0 -267
- pocketshell-0.5.12/src/pocketshell/cards/paths.py +0 -76
- pocketshell-0.5.12/src/pocketshell/cards/push.py +0 -283
- pocketshell-0.5.12/src/pocketshell/cards/store.py +0 -313
- pocketshell-0.5.12/src/pocketshell/cards/types/__init__.py +0 -20
- pocketshell-0.5.12/src/pocketshell/cards/types/checklist.py +0 -103
- pocketshell-0.5.12/src/pocketshell/cards/types/note.py +0 -51
- pocketshell-0.5.12/src/pocketshell/cards/types/registry.py +0 -37
- pocketshell-0.5.12/src/pocketshell/push/__init__.py +0 -95
- pocketshell-0.5.12/src/pocketshell/push/cli.py +0 -46
- pocketshell-0.5.12/src/pocketshell/push/events.py +0 -152
- pocketshell-0.5.12/src/pocketshell/push/fcm.py +0 -156
- pocketshell-0.5.12/src/pocketshell/push/store.py +0 -119
- pocketshell-0.5.12/src/pocketshell/usage/__init__.py +0 -97
- pocketshell-0.5.12/src/pocketshell/usage/capture/__init__.py +0 -85
- pocketshell-0.5.12/src/pocketshell/usage/capture/durability.py +0 -122
- pocketshell-0.5.12/src/pocketshell/usage/capture/history.py +0 -358
- pocketshell-0.5.12/src/pocketshell/usage/capture/paths.py +0 -100
- pocketshell-0.5.12/src/pocketshell/usage/capture/quarantine.py +0 -131
- pocketshell-0.5.12/src/pocketshell/usage/cli.py +0 -331
- pocketshell-0.5.12/src/pocketshell/usage/reset/__init__.py +0 -94
- pocketshell-0.5.12/src/pocketshell/usage/reset/detect.py +0 -306
- pocketshell-0.5.12/src/pocketshell/usage/reset/store.py +0 -106
- pocketshell-0.5.12/tests/test_agent_card_push.py +0 -277
- pocketshell-0.5.12/tests/test_cards.py +0 -725
- pocketshell-0.5.12/tests/test_cards_push_notify.py +0 -151
- pocketshell-0.5.12/tests/test_push.py +0 -321
- pocketshell-0.5.12/tests/test_usage_capture.py +0 -531
- pocketshell-0.5.12/tests/test_usage_reset.py +0 -287
- {pocketshell-0.5.12 → pocketshell-0.5.13}/.gitattributes +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/.gitignore +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/LICENSE +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/account.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/gateway-distribution.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/keys.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/tray.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/windows-gateway-client.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/docs/windows-gateway-private-runtime.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/launcher/go.mod +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/launcher/main.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/context.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/context_test.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/context_windows.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/entry.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/go.mod +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/go.sum +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/main.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/protocol.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/protocol_test.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/spawn_test.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/spawn_windows.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/verify_other.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/native/verify/verify_windows.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/pocketshell-tray.spec +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/aplexer-fc396/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/aplexer-fc396/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/aplexer-fc396/windows-native-fc396.zip +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/OWNED-BUILD-V26A.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/quiet-build-terminal-fields-addendum.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/quiet-host-source-build-role-handoff.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/transfer-manifest.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/dossiers/windows-aplexer-msys-backend-source-role-handoff.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/.gitattributes +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/guardian.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/native_api.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-6cf7ae85/policy.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/DERIVATION.diff +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/guardian.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/native_api.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-e862645d/policy.py +0 -0
- {pocketshell-0.5.12/release/inputs/guardian-servicing → pocketshell-0.5.13/release/inputs/guardian-interactive}/native_api.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-servicing/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-servicing/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-servicing/guardian.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/guardian-servicing/policy.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/msys2-runtime-5a1665c8/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/msys2-runtime-5a1665c8/console.cc +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/NULL-PATH-FIX.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/policy-manifest.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/shell-host.c +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/w32fd.c +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/wmain_sshd-auth.c +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/wmain_sshd-session.c +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/openssh-quiet-e302fe1/wmain_sshd.c +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/pocketshell-link-70f5a4b/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/pocketshell-link-70f5a4b/SHA256SUMS +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/release/inputs/pocketshell-link-70f5a4b/pocketshell-link-windows-amd64.exe +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/check-antigravity-contract.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/check-cgroup-cap-proof.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/check-product-tmux-absent.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/check-python-ci-lock.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/reinstall-box-cli.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/private_shell_overlay.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/psc-install.ps1 +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/smoke_tray_bundle.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/release/tray-installer.nsi +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/sync-readme-exit-codes.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/test-usage-missing-window-mutation.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/scripts/windows-e2e-sshd-setup.ps1 +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/__main__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/config.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/credentials.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/device.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/errors.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/jsonutil.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/account/sanitize.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/conversations/readers.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/conversations/resolve.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/conversations/roots.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/kind.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/command.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/run.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/spec.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/agents/launch/trust.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/attachments/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/attachments/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/attachments/prune.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/cache.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/client.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/dispatch.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/failures.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/lifecycle.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/methods.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/paths.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/protocol.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/daemon/server.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/harness.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/engines/spec.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/env/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/env/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/env/parse.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/env/store.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/client_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/devices.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/endpoint.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/helper.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/pins.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/private_endpoint.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/proxy.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_agent_firstuse.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_agent_install.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_common.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_hostkey.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_linux.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_task_acl.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_windows.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/service_windows_endpoint.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/sshcmd.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/status.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/tokens.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/gateway/winssh.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/github.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/handlers.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/installers.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/paths.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/providers/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/providers/claude.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/providers/codex.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/hooks/status.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/crypto.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/prompt.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/session.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/sshkeys.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/keys/store.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/client.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/daemon.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/protocol.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/link/relay.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/events.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/hooks.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/paths.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/logs/redact.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/profiles/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/profiles/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/profiles/discovery.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/profiles/model.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/profiles/resolve.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/handlers.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/local.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/model.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/remote.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/repos/render.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/aplexer.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/cgroups.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/console_scripts.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/runtime/sessions.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/serve.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/attach.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/kill.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/listing.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/rename.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/sessions/warnings.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tokentls.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/__main__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/autostart.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/gateway_auth.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/icons.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/model.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/single_instance.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tray/status_client.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/daemon.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/model.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/workspaces/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/workspaces/cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/tree/workspaces/membership.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/usage/normalize.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/windows_security.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/src/pocketshell/windows_sessions.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_basics.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_broker.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_credentials.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_device_flow.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_account_tls.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/account/test_windows_private_storage.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/conftest.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.11-usage.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.13-usage.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.15-usage.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.15-usage.ndjson +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.15-usage.provenance.txt +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.17-gemini.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.17-gemini.provenance.txt +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/quse-0.0.9-usage.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/data/sshd_anchor/Dockerfile.from-unanchored-base +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/docker/link/e2e.sh +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/docker/link/e2e_client.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/docker/link/host_entry.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/docker/link/relay_entry.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fake_broker.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/README.md +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-agent.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-crashed-start.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-liveness-mix.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-mid-create.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-post-kill-window.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot-reported-state.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/fixtures/aplexer/snapshot.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/agent_harness.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/conftest.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fake_gateway.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fakeguardian/go.mod +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fakeguardian/go.sum +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fakeguardian/main.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fakelink/main.go +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fixtures/ordinary-v2-authority.schema.json +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/fixtures/task-object-authority.ps1 +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/gateway_keyblobs.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_bundled_hostkey.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_agent_firstuse.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_agent_install.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_agent_resume.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_auth_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_connect_e2e.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_devices.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_endpoint.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_enroll_login.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_exec_passthrough.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_helper_metadata.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_helper_resolution.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_helper_wheel.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_pins.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_proxy.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_service.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_service_task_acl.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_service_task_object.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_ssh.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_ssh_key.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_ssh_key_e2e.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_gateway_status.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_private_endpoint.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_agent_install_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_aplexer_probe_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_endpoint_keys_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_gateway_service_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_gateway_user_agent_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_helper_execution.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_launcher_quiet_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_service_private_read.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_spawn_entry_tree_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_sshcmd.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_verify_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_windows_winssh_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/test_winssh.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/gateway/unelevated.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/keys/conftest.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/keys/keyhelpers.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/keys/test_keys_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/keys/test_keys_crypto.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/keys/test_keys_store.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_adversarial_security.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_cli_link.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_exec_semantics.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_loopback.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_protocol.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_resilience.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/link/test_workload_integrity.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/release/test_windows_psc_install_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_agents.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_agents_kind.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_antigravity.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_attachments.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_cgroup_agents.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_daemon.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_daemon_fallback.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_daemon_wire.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_env.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_github.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_hooks.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_logs.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_main.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_profiles.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_repos.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_serve.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_serve_http.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_session_cgroup_kernel_proof.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_session_enum.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_attach.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_kill.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_mem_cap.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_rename.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_sessions_warnings.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_tree.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_usage.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/test_workspaces.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/__init__.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/conftest.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_app.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_autostart.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_cli.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_endpoint_native.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_gateway_auth.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_icons.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_model.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_private_replacement.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_repair.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_single_instance.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_status_client.py +0 -0
- {pocketshell-0.5.12 → pocketshell-0.5.13}/tests/tray/test_windows_sessions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pocketshell
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.13
|
|
4
4
|
Summary: Unified server-side Python utility for the PocketShell Android and desktop clients.
|
|
5
5
|
Project-URL: Homepage, https://github.com/PocketShell-io/pocketshell-cli
|
|
6
6
|
Project-URL: Issues, https://github.com/PocketShell-io/pocketshell-cli/issues
|
|
@@ -19,10 +19,10 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
19
19
|
Classifier: Topic :: Software Development
|
|
20
20
|
Classifier: Topic :: System :: Monitoring
|
|
21
21
|
Requires-Python: >=3.11
|
|
22
|
-
Requires-Dist: aplexer
|
|
22
|
+
Requires-Dist: aplexer<0.2,>=0.1.19; sys_platform == 'linux'
|
|
23
|
+
Requires-Dist: argon2-cffi>=23.1.0
|
|
23
24
|
Requires-Dist: click>=8.2.0
|
|
24
25
|
Requires-Dist: cryptography>=42
|
|
25
|
-
Requires-Dist: google-auth>=2.0.0
|
|
26
26
|
Requires-Dist: pyyaml>=6.0
|
|
27
27
|
Requires-Dist: quse>=0.0.15
|
|
28
28
|
Provides-Extra: dev
|
|
@@ -37,6 +37,8 @@ Description-Content-Type: text/markdown
|
|
|
37
37
|
|
|
38
38
|
# pocketshell
|
|
39
39
|
|
|
40
|
+
See [SCOPE.md](SCOPE.md) for ownership and product boundaries.
|
|
41
|
+
|
|
40
42
|
Unified server-side Python utility for the [PocketShell](https://github.com/PocketShell-io/pocketshell)
|
|
41
43
|
Android and desktop clients. This is the host-side companion CLI, maintained in its own
|
|
42
44
|
repo with an independent release cycle; before v0.5.5 it lived at
|
|
@@ -46,6 +48,12 @@ host and uses its subcommands for usage, aplexer session lifecycle, agent
|
|
|
46
48
|
conversations, repository discovery, environment files, hooks,
|
|
47
49
|
logs, and daemon lifecycle checks.
|
|
48
50
|
|
|
51
|
+
The CLI keeps human-operated terminal/session access, manual agent launch, raw
|
|
52
|
+
conversation-log reads, and display-only local quota queries. Hub-managed agent
|
|
53
|
+
automation, app cards and push notifications, quota history/reset capture, and
|
|
54
|
+
conversation handoff exports are not provided here. The standalone CLI remains
|
|
55
|
+
usable without Hub.
|
|
56
|
+
|
|
49
57
|
## Durable workspaces
|
|
50
58
|
|
|
51
59
|
The Quiet workspace-first client uses the host-side workspace membership
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# pocketshell
|
|
2
2
|
|
|
3
|
+
See [SCOPE.md](SCOPE.md) for ownership and product boundaries.
|
|
4
|
+
|
|
3
5
|
Unified server-side Python utility for the [PocketShell](https://github.com/PocketShell-io/pocketshell)
|
|
4
6
|
Android and desktop clients. This is the host-side companion CLI, maintained in its own
|
|
5
7
|
repo with an independent release cycle; before v0.5.5 it lived at
|
|
@@ -9,6 +11,12 @@ host and uses its subcommands for usage, aplexer session lifecycle, agent
|
|
|
9
11
|
conversations, repository discovery, environment files, hooks,
|
|
10
12
|
logs, and daemon lifecycle checks.
|
|
11
13
|
|
|
14
|
+
The CLI keeps human-operated terminal/session access, manual agent launch, raw
|
|
15
|
+
conversation-log reads, and display-only local quota queries. Hub-managed agent
|
|
16
|
+
automation, app cards and push notifications, quota history/reset capture, and
|
|
17
|
+
conversation handoff exports are not provided here. The standalone CLI remains
|
|
18
|
+
usable without Hub.
|
|
19
|
+
|
|
12
20
|
## Durable workspaces
|
|
13
21
|
|
|
14
22
|
The Quiet workspace-first client uses the host-side workspace membership
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# PocketShell scope
|
|
2
|
+
|
|
3
|
+
The [PocketShell product charter](https://github.com/PocketShell-io/pocketshell/blob/main/SCOPE.md)
|
|
4
|
+
is the scope policy for this repository, including its in-scope, owner-labelled
|
|
5
|
+
NOT and "Removed (Hub owns this)" lists.
|
|
6
|
+
|
|
7
|
+
This repo: the host access adapter for human terminals and local display-only
|
|
8
|
+
`quse`. Cards, push notifications, quota history/capture/reset detection,
|
|
9
|
+
agent conversation handoff exports, and Hub-managed agent automation are
|
|
10
|
+
outside this repo's scope. Manual `pocketshell agent` launches and active
|
|
11
|
+
`pocketshell hooks` event handlers remain for local use.
|
|
12
|
+
|
|
13
|
+
PocketShell must work without Hub. Hub owns managed agent work and may stop/delete
|
|
14
|
+
any session, including manual PocketShell/psc sessions; PocketShell owns live human access.
|
|
@@ -14,10 +14,8 @@ src/pocketshell/
|
|
|
14
14
|
├── serve.py # one-file foreground HTTP integration
|
|
15
15
|
├── agents/ # agent domain
|
|
16
16
|
│ ├── kind.py # `pocketshell agents kind`
|
|
17
|
-
│ ├── conversations/ # conversation-log discovery and
|
|
17
|
+
│ ├── conversations/ # conversation-log discovery and raw reads
|
|
18
18
|
│ │ ├── cli.py # `pocketshell agent-log`
|
|
19
|
-
│ │ ├── handoff.py # compact cross-agent handoff export
|
|
20
|
-
│ │ ├── messages.py # conversation message extraction
|
|
21
19
|
│ │ ├── readers.py # bounded JSONL reads
|
|
22
20
|
│ │ ├── resolve.py # provider log resolution
|
|
23
21
|
│ │ └── roots.py # provider storage roots
|
|
@@ -28,12 +26,6 @@ src/pocketshell/
|
|
|
28
26
|
│ ├── run.py # process execution
|
|
29
27
|
│ ├── spec.py # aplexer launch specs
|
|
30
28
|
│ └── trust.py # provider trust preparation
|
|
31
|
-
├── cards/ # typed agent→app cards
|
|
32
|
-
│ ├── types/ # registry and concrete card behaviors
|
|
33
|
-
│ │ ├── registry.py
|
|
34
|
-
│ │ ├── checklist.py
|
|
35
|
-
│ │ └── note.py
|
|
36
|
-
│ └── push.py # card FCM notification adapter
|
|
37
29
|
├── daemon/ # Unix-socket JSON-RPC server/client
|
|
38
30
|
├── engines/ # engine registry and harness probes
|
|
39
31
|
├── env/ # .env/.envrc parsing and persistence
|
|
@@ -46,7 +38,6 @@ src/pocketshell/
|
|
|
46
38
|
├── attachments/ # uploaded attachment domain
|
|
47
39
|
│ ├── cli.py # `pocketshell prune-attachments`
|
|
48
40
|
│ └── prune.py # TTL and size-cap policy
|
|
49
|
-
├── push/ # FCM transport and usage-reset pushes
|
|
50
41
|
├── repos/ # local/remote repository discovery
|
|
51
42
|
├── runtime/ # shared host-runtime primitives
|
|
52
43
|
│ ├── aplexer.py # bundled `a` backend adapter
|
|
@@ -60,11 +51,9 @@ src/pocketshell/
|
|
|
60
51
|
│ │ ├── membership.py # durable workspace records
|
|
61
52
|
│ │ └── cli.py # `pocketshell workspaces`
|
|
62
53
|
│ └── ... # tree registry and reconciliation
|
|
63
|
-
└── usage/ #
|
|
64
|
-
├── cli.py #
|
|
65
|
-
|
|
66
|
-
├── capture/ # cache, history, durability, quarantine
|
|
67
|
-
└── reset/ # reset detection and event persistence
|
|
54
|
+
└── usage/ # display-only local quota queries
|
|
55
|
+
├── cli.py # daemon proxy and one-shot command
|
|
56
|
+
└── quse.py # thin process boundary to quse
|
|
68
57
|
```
|
|
69
58
|
|
|
70
59
|
The remaining root modules are deliberately small integrations shared by more
|
|
@@ -85,8 +74,8 @@ single-file external-tool adapter does not need a package solely to gain an
|
|
|
85
74
|
- `sessions` owns aplexer lifecycle commands and delegates shared policy and
|
|
86
75
|
enumeration to `runtime`.
|
|
87
76
|
- `agents` owns three related but separate domains: launch preparation and
|
|
88
|
-
execution under `launch/`, conversation
|
|
89
|
-
|
|
77
|
+
execution under `launch/`, raw conversation-log reads under `conversations/`,
|
|
78
|
+
and live process-kind detection in `kind.py`. The plural
|
|
90
79
|
`agents` command and singular `agent` command remain separate Click
|
|
91
80
|
commands.
|
|
92
81
|
- `attachments` owns the uploaded-attachment domain. `cli.py` is only the
|
|
@@ -95,15 +84,11 @@ single-file external-tool adapter does not need a package solely to gain an
|
|
|
95
84
|
- `tree` owns the registry and reconciliation. Workspace membership is a
|
|
96
85
|
nested subdomain under `tree/workspaces/`; live session enumeration is
|
|
97
86
|
imported from `runtime`, never duplicated in the tree store.
|
|
98
|
-
- `cards` owns card persistence and delivery. Concrete card behavior and its
|
|
99
|
-
registry live under `cards/types/`, while FCM notification construction
|
|
100
|
-
remains in `cards/push.py`; `push` owns usage-reset transport.
|
|
101
87
|
- `hooks/providers` owns provider-specific configuration formats; installation
|
|
102
88
|
orchestration and generated handlers remain in the parent `hooks` package.
|
|
103
|
-
- `usage`
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
belong to `quse`; PocketShell should not reimplement them.
|
|
89
|
+
- `usage` is a display-only adapter around `quse`, with an optional daemon
|
|
90
|
+
proxy. Provider collection, provider schemas, and provider-specific
|
|
91
|
+
formatting belong to `quse`; PocketShell should not reimplement them.
|
|
107
92
|
|
|
108
93
|
## Dependency direction
|
|
109
94
|
|
|
@@ -112,16 +97,14 @@ root CLI
|
|
|
112
97
|
└── feature public surfaces
|
|
113
98
|
├── feature implementation modules
|
|
114
99
|
├── shared host adapters (runtime, daemon, filesystem stores)
|
|
115
|
-
└── external providers (quse, gh
|
|
100
|
+
└── external providers (quse, gh)
|
|
116
101
|
```
|
|
117
102
|
|
|
118
103
|
Implementation modules may depend downward on shared adapters, but shared
|
|
119
104
|
adapters must not import Click command registration. Persistence code should
|
|
120
105
|
be reusable by both a CLI command and a daemon handler. The daemon method
|
|
121
106
|
table is an application-composition boundary and may import feature handlers;
|
|
122
|
-
transport and protocol modules underneath it must stay reusable.
|
|
123
|
-
push intentionally share capture paths and reset-event records, so that
|
|
124
|
-
cross-domain dependency is documented rather than hidden behind re-exports.
|
|
107
|
+
transport and protocol modules underneath it must stay reusable.
|
|
125
108
|
Tests should patch the module that owns the symbol being exercised rather than
|
|
126
109
|
a re-exporting package.
|
|
127
110
|
|
|
@@ -129,9 +112,8 @@ a re-exporting package.
|
|
|
129
112
|
|
|
130
113
|
`quse` is the provider backend: it discovers credentials, calls provider APIs,
|
|
131
114
|
normalizes provider records, and formats provider-owned output. PocketShell is
|
|
132
|
-
the host integration: it optionally proxies through its daemon
|
|
133
|
-
successful live readings into the client wire format
|
|
134
|
-
detects resets across captures, and sends best-effort notifications.
|
|
115
|
+
the host integration: it optionally proxies through its daemon and converts
|
|
116
|
+
successful live readings into the client wire format.
|
|
135
117
|
|
|
136
118
|
When a transformation is provider/schema logic, it should be implemented and
|
|
137
119
|
tested in `quse`; when it is PocketShell state or client transport logic, it
|
|
@@ -145,7 +127,7 @@ authority rather than grow a parallel implementation.
|
|
|
145
127
|
|
|
146
128
|
| Aplexer owns | PocketShell keeps |
|
|
147
129
|
| --- | --- |
|
|
148
|
-
| Engine/profile configuration and discovery (`a engines`, `a profiles`) | Picker-facing labels, usage-provider metadata, host availability probes, and the optional PocketShell
|
|
130
|
+
| Engine/profile configuration and discovery (`a engines`, `a profiles`) | Picker-facing labels, usage-provider and launch-policy metadata, host availability probes, and the optional PocketShell config layer in `engines/` and `profiles/` |
|
|
149
131
|
| Launch argv, profile environment, provider-key removal, cwd, and skip-permission arguments (`a launch-spec`) | Folder `.env`/`.envrc` exports, explicit profile-to-directory UX, Claude trust seeding, binary preflight, and the thin `launch-spec` adapter |
|
|
150
132
|
| Session creation/claiming, worker and workload lifecycle, PTY/history/cgroup containment, `start`, `snapshot`, `status`, `attach`, `kill`, and `forget` | Schema-3 rows, display-name/target resolution, idempotent create policy, memory-cap policy, attach chrome suppression, JSON envelopes, and client-facing recovery diagnostics |
|
|
151
133
|
| Query-time agent/profile detection for a recorded session | `agents.kind_for_panes`, which classifies arbitrary pane PIDs and therefore has a different input and client contract |
|
|
@@ -159,9 +141,9 @@ compatibility shims after aplexer became the owner of session metadata. The
|
|
|
159
141
|
old host-side dead-record reaper was removed for the same reason: `a start`
|
|
160
142
|
owns workspace/tag reclamation, while `a kill` reports whether its own final
|
|
161
143
|
record removal succeeded. PocketShell does not issue a second `forget --force`
|
|
162
|
-
or inspect workload PIDs to reproduce those lifecycle decisions.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
144
|
+
or inspect workload PIDs to reproduce those lifecycle decisions. For
|
|
145
|
+
aplexer-managed engines, the live registry reads IDs and commands from
|
|
146
|
+
`a engines --json`. PocketShell keeps presentation and launch-policy metadata
|
|
147
|
+
for known engines, and uses its static entries only when aplexer is unavailable.
|
|
148
|
+
Any future removal of that offline fallback must first migrate those metadata
|
|
149
|
+
fields into aplexer.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Memory bounds in containers without systemd
|
|
2
|
+
|
|
3
|
+
`pocketshell sessions create` keeps its existing project/default cap policy.
|
|
4
|
+
When a dedicated user scope is unavailable, it can use an already stronger
|
|
5
|
+
kernel-enforced cgroup-v2 boundary. This is a shared container limit, not an
|
|
6
|
+
independent per-session allocation.
|
|
7
|
+
|
|
8
|
+
The CLI verifies actual procfs membership and mountinfo, then reads the current
|
|
9
|
+
domain's real cgroup2 files through directory FDs. It rejects symlinks, overmounts,
|
|
10
|
+
ambiguous mappings, writable mounts and non-cgroup filesystems. `memory.max` must
|
|
11
|
+
be finite, positive and no greater than the requested cap. `memory.swap.max`
|
|
12
|
+
must equal zero, preserving the existing no-swap policy. An Aplexer system-scope
|
|
13
|
+
escape override is incompatible with this mode. Evidence is read again directly
|
|
14
|
+
before launch; it is never cached as host configuration.
|
|
15
|
+
|
|
16
|
+
For example, a Docker server container can use:
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
--memory 384m --memory-swap 384m --pids-limit 192 --cpus 1
|
|
20
|
+
--cap-drop ALL --security-opt no-new-privileges
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Docker's equal memory/swap settings mean zero additional swap. Its implicit
|
|
24
|
+
extra-swap default is intentionally refused. Do not expose a writable cgroup
|
|
25
|
+
mount or host runtime directories to the container.
|
|
26
|
+
|
|
27
|
+
The created response reports `memory_enforcement.mode: inherited_cgroup`, actual
|
|
28
|
+
`memory_max_bytes`, `swap_max_bytes: 0`, requested bytes and `shared: true`.
|
|
29
|
+
Sibling sessions share that hard bound; they are not each given the requested
|
|
30
|
+
default12GiB. A request smaller than the existing limit is refused. Unbounded or
|
|
31
|
+
unverifiable hosts never silently start an uncapped session. The explicit
|
|
32
|
+
`--mem none` call-site override and rejection of project `mem = "none"` remain
|
|
33
|
+
unchanged. Dedicated systemd scope behavior is unchanged where available.
|
|
34
|
+
|
|
35
|
+
Aplexer's direct worker/workload spawn inherits the caller's domain, and the
|
|
36
|
+
read-only mount prevents writing membership controls. The guarantee assumes a
|
|
37
|
+
trusted installed Aplexer/runtime and container/host administrator: a privileged
|
|
38
|
+
administrator can change limits, just as with a dedicated scope.
|
|
39
|
+
|
|
40
|
+
CI runs real session creation in separate disposable Docker containers, checks
|
|
41
|
+
both worker and workload kernel memberships and cleans up sessions, containers
|
|
42
|
+
and its image. Negative cases cover too-small requested limits, nonzero swap
|
|
43
|
+
and an unbounded container. No OOM test runs on production or registered hosts.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Gateway: `pocketshell gateway`
|
|
2
2
|
|
|
3
|
+
For normal phone access, use **`pocketshell gateway register`**. It handles
|
|
4
|
+
device-flow sign-in, vault unlock, dedicated SSH key provisioning and trusted
|
|
5
|
+
server registration; the phone then connects with one tap after vault unlock.
|
|
6
|
+
See [vault enrollment](vault-enrollment.md). The lower-level host and operator
|
|
7
|
+
commands below also serve setup tooling and isolated development gateways.
|
|
8
|
+
|
|
3
9
|
`pocketshell gateway enroll|run|show` are the host-side entry points for the
|
|
4
10
|
PocketShell **gateway transport**: the reverse-tunnel host agent for machines
|
|
5
11
|
that have no inbound SSH (a phone cannot dial into a laptop behind NAT). The
|
|
@@ -847,3 +853,29 @@ you can capture the device password as you type it, or use the private
|
|
|
847
853
|
agent during its 120 s key lifetime); you pinning a key without checking
|
|
848
854
|
where it came from; hosts whose sshd still allows non-key authentication
|
|
849
855
|
(see §2.1); denial of service by any party on the path.
|
|
856
|
+
|
|
857
|
+
## Private runtime location for interactive tray sessions
|
|
858
|
+
|
|
859
|
+
An enrolled tray can use an explicit owner-private data directory with
|
|
860
|
+
`GatewayTray.exe --user-data C:\Users\User\.pocketshell-runtime`. Its status
|
|
861
|
+
children and autostart entry keep that directory. This does not change Windows
|
|
862
|
+
known folders or the environment of unrelated applications.
|
|
863
|
+
|
|
864
|
+
For an endpoint outside AppData, install with `gateway agent install
|
|
865
|
+
--isolated-sessions` so new backend runtime/state directories also stay inside
|
|
866
|
+
the private root. The default still shares the user's existing aplexer session
|
|
867
|
+
namespace. Explicit isolation does not move or delete that existing state and
|
|
868
|
+
is preserved by subsequent tray repair.
|
|
869
|
+
|
|
870
|
+
A controlled operator upgrade can rebuild only the measured Python application
|
|
871
|
+
and guardian using `scripts/release/update_tray_runtime.py --resources BASE
|
|
872
|
+
--catalog-sha256 EXPECTED --out FRESH_DIRECTORY`. BASE must contain the complete
|
|
873
|
+
previous `runtime` and its exact `host-runtime-catalog.json`; changed inputs
|
|
874
|
+
are rejected before output. The builder reuses verified native binaries,
|
|
875
|
+
rebuilds frozen dependencies and source, and emits a fresh catalog and receipt.
|
|
876
|
+
It never installs, binds or accesses keys. Use committed clean source and normal
|
|
877
|
+
CI before promoting that closure through the existing agent install/bind API.
|
|
878
|
+
Keep private host/device keys on their original machine; any same-host relocation
|
|
879
|
+
must retain their public fingerprints, preserve account credentials, stop the
|
|
880
|
+
previous owned runtime, and use the compare-and-swap binding API. Never edit an
|
|
881
|
+
installed manifest or hash list to bypass validation.
|
|
@@ -195,8 +195,8 @@ relay sees the token); it makes configuration mistakes visible.
|
|
|
195
195
|
## Not supported over link (v1)
|
|
196
196
|
|
|
197
197
|
- SFTP (browse/upload/download) and port forwarding → typed `UNSUPPORTED`.
|
|
198
|
-
- Everything else clients do — sessions, attach, tree,
|
|
199
|
-
unchanged, including multiple concurrent clients per host.
|
|
198
|
+
- Everything else clients do — sessions, attach, tree, and display-only quota
|
|
199
|
+
queries — works unchanged, including multiple concurrent clients per host.
|
|
200
200
|
|
|
201
201
|
## Testing
|
|
202
202
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Register a server with the account vault
|
|
2
|
+
|
|
3
|
+
Run `pocketshell gateway register` on the server. It starts PocketShell's normal
|
|
4
|
+
device-flow account sign-in when necessary and continues after approval. Enter
|
|
5
|
+
your strong vault passphrase locally; a new account asks you to create and
|
|
6
|
+
confirm one. An existing vault must be unlocked and is never reset or replaced.
|
|
7
|
+
|
|
8
|
+
On Linux, registration enables and starts the supported systemd user daemon.
|
|
9
|
+
An existing managed service for the same enrollment is preserved and started
|
|
10
|
+
without restarting its active connections. An unrelated service is never replaced.
|
|
11
|
+
Container entrypoints without systemd can use `pocketshell gateway register
|
|
12
|
+
--foreground`: after successful registration and vault lock, the verified agent
|
|
13
|
+
runs as the foreground process. Registration alone does not prove gateway
|
|
14
|
+
connectivity; online presence requires its running agent to reach the gateway.
|
|
15
|
+
|
|
16
|
+
Registration creates a dedicated Ed25519 access key for this server. The private
|
|
17
|
+
key goes to the account vault only after encryption on this machine. Only its
|
|
18
|
+
public half is added to this machine's private endpoint. There is no system SSH
|
|
19
|
+
service, inbound port or remote key-install command. Linux uses the private
|
|
20
|
+
inetd endpoint; Windows uses the measured owner-private tray endpoint.
|
|
21
|
+
|
|
22
|
+
The encrypted trusted server descriptor binds account subject, vault generation,
|
|
23
|
+
gateway, device identity, complete SSH host key, username, server name and key.
|
|
24
|
+
The phone signs in with Google, unlocks that same vault and connects by tapping
|
|
25
|
+
the server. Directory-advertised keys never establish trust.
|
|
26
|
+
|
|
27
|
+
Windows Gateway Setup performs vault registration automatically after account
|
|
28
|
+
authorization and endpoint enrollment. Existing tray installations can choose
|
|
29
|
+
**Register this server with vault**. Passphrase entry uses native Windows CredUI
|
|
30
|
+
in generic non-persistent mode; it is not your Windows password and is not saved
|
|
31
|
+
in Credential Manager.
|
|
32
|
+
|
|
33
|
+
## Interrupted registration
|
|
34
|
+
|
|
35
|
+
Encrypted key blob and index writes use optimistic concurrency. The descriptor
|
|
36
|
+
is published before local public-key authorization. A failed upload never
|
|
37
|
+
authorizes the new key. A refused local authorization leaves an authentic server
|
|
38
|
+
entry that cannot connect yet; run registration again to finish it.
|
|
39
|
+
|
|
40
|
+
A protected local `vault-enrollment-intent.json` contains public registration
|
|
41
|
+
facts and key ID only. It lets a retry distinguish its own unfinished enrollment
|
|
42
|
+
from an unrelated cloud alias. It contains no passphrase, private key or vault
|
|
43
|
+
decryption key. A retry reuses the same encrypted key. Existing aliases or changed
|
|
44
|
+
server identities are never silently overwritten or repinned.
|
|
45
|
+
|
|
46
|
+
The separate owner-private `vault-enrollment-trust.json` records accepted
|
|
47
|
+
descriptor revisions and ciphertext digests, scoped to account, vault generation
|
|
48
|
+
and exact server route, with the full device/SSH/key identity. Ordinary
|
|
49
|
+
registration refuses older, deleted or substituted previously accepted records.
|
|
50
|
+
Revocation intent is persisted here **before** the public key is removed, so
|
|
51
|
+
failed uploads or replay of valid old cloud ciphertext cannot revive that key
|
|
52
|
+
after process restart. A revoked key requires an independently authorized
|
|
53
|
+
re-enrollment/rotation operation; ordinary registration has no force-unrevoke flag.
|
|
54
|
+
Do not delete or reset this history as an error-recovery step.
|
|
55
|
+
|
|
56
|
+
New pending enrollment journals use local version2. Legacy identity-only journals
|
|
57
|
+
without a trust floor are refused rather than promoted to trusted history, since
|
|
58
|
+
they cannot prove that a key was not previously revoked. Unsupported local trust
|
|
59
|
+
formats and unsafe file permissions are also refused without modifying the files.
|
|
60
|
+
|
|
61
|
+
First-vault creation uses the broker's atomic initializer: header and verifier
|
|
62
|
+
are created together or neither is changed. If the response is lost, retry with
|
|
63
|
+
the same chosen passphrase to unlock the existing vault. Do not reset it.
|
|
64
|
+
|
|
65
|
+
## Revocation and security boundary
|
|
66
|
+
|
|
67
|
+
Run `pocketshell gateway register --revoke` locally, or use the tray's revoke
|
|
68
|
+
action. It removes this server's actual public-key authorization before
|
|
69
|
+
publishing an authenticated revocation tombstone. Unrelated endpoint keys remain
|
|
70
|
+
intact. Removing an authorized key prevents new SSH authentication; existing SSH
|
|
71
|
+
connections continue until the owner closes or drains them. Deleting a cloud
|
|
72
|
+
record alone does not revoke endpoint access.
|
|
73
|
+
|
|
74
|
+
A strong passphrase is required. Ciphertext stolen from cloud storage permits
|
|
75
|
+
offline guessing; Argon2id increases its cost, but a numeric PIN is insufficient.
|
|
76
|
+
Google login or account recovery cannot decrypt the vault. Keep your vault
|
|
77
|
+
passphrase safely: losing it and all trusted unlocked devices means the
|
|
78
|
+
encrypted keys cannot be recovered through Google.
|
|
79
|
+
Memory erasure in Python is best effort; registration does not save plaintext
|
|
80
|
+
secrets, but cannot protect an already compromised local process or operating
|
|
81
|
+
system. The installed application and update chain must remain trusted.
|
|
82
|
+
|
|
83
|
+
The canonical encryption and descriptor byte contract is
|
|
84
|
+
[pocketshell-core/TRUSTED-HOSTS.md](https://github.com/PocketShell-io/pocketshell-core/blob/main/docs/TRUSTED-HOSTS.md).
|
|
85
|
+
Public synthetic fixtures in `tests/account/fixtures` pin cross-language
|
|
86
|
+
Argon2id normalization, HKDF, AES-GCM, SSH key blobs and trusted host descriptors.
|
|
@@ -24,12 +24,19 @@ host's independently obtained key. Then use `psc hetzner ls` or
|
|
|
24
24
|
`psc hetzner connect`. PSC device login has its own current-user DPAPI store.
|
|
25
25
|
|
|
26
26
|
Run `PocketShellGateway-Setup-x64.exe` as the ordinary Windows user. First-use
|
|
27
|
-
Gateway Setup generates the local host key, opens
|
|
28
|
-
gateway and asks for
|
|
29
|
-
|
|
27
|
+
Gateway Setup generates the local host key, opens device-flow account sign-in,
|
|
28
|
+
enrolls the gateway, and asks for your **vault passphrase** in a masked native
|
|
29
|
+
dialog. It creates a dedicated SSH access key locally, uploads its encrypted
|
|
30
|
+
private half and authenticated server identity, then authorizes only its public
|
|
31
|
+
half on this private endpoint. No public-key file selection or fingerprint copy
|
|
32
|
+
is required. Approve the browser code using your PocketShell account. These identities
|
|
30
33
|
cannot be bundled in an installer. Cancelled setup can be resumed from the
|
|
31
34
|
Start menu's **Gateway Setup** shortcut without regenerating keys.
|
|
32
35
|
|
|
36
|
+
An existing tray can use **Register this server with vault** to enable this flow.
|
|
37
|
+
The Windows passphrase dialog never persists the secret in Credential Manager.
|
|
38
|
+
See [vault enrollment](vault-enrollment.md) for retry, recovery and revocation.
|
|
39
|
+
|
|
33
40
|
The tray starts at login. If the user's Run registry key is read-only (as
|
|
34
41
|
observed on win35), it uses a per-user Startup-folder shortcut instead.
|
|
35
42
|
Right-click for online/offline status, current
|
|
@@ -39,6 +46,12 @@ quits or crashes. This also works when Explorer itself has inherited job
|
|
|
39
46
|
restrictions. The ordinary CLI retains its separate independent-launch policy.
|
|
40
47
|
The helper reconnects after network outages. The tray checks dead local
|
|
41
48
|
processes every 30 seconds and asks the measured guardian to recover them.
|
|
49
|
+
The tray supports the signed-in owner's RDP session as well as the physical
|
|
50
|
+
console. Its explicit `interactive-session` readiness mode requires the same
|
|
51
|
+
owner SID and caller session, visible WinSta0/Default at launch, the pinned
|
|
52
|
+
guardian and endpoint, private desktop and owned worker job. It does not require
|
|
53
|
+
that RDP session to equal the physical console session. The ordinary CLI retains
|
|
54
|
+
its `active-console` policy and S4U retains its separate session-0 policy.
|
|
42
55
|
Stop is remembered across app restarts and logins. An existing unrelated
|
|
43
56
|
gateway binding is refused rather than replaced. Client names and key comments
|
|
44
57
|
depend on available OpenSSH authentication records; a connection whose identity
|
|
@@ -11,7 +11,7 @@ name = "pocketshell"
|
|
|
11
11
|
# since the extraction (PocketShell-io/pocketshell#2643): the first
|
|
12
12
|
# self-governed release is 0.5.5, continuing from the last app-coupled
|
|
13
13
|
# release 0.5.4 so `uv tool upgrade pocketshell` stays monotonic.
|
|
14
|
-
version = "0.5.
|
|
14
|
+
version = "0.5.13"
|
|
15
15
|
description = "Unified server-side Python utility for the PocketShell Android and desktop clients."
|
|
16
16
|
readme = "README.md"
|
|
17
17
|
requires-python = ">=3.11"
|
|
@@ -46,11 +46,6 @@ dependencies = [
|
|
|
46
46
|
# loudly. Later quse releases may add providers or provider-owned details;
|
|
47
47
|
# PocketShell forwards those fields without reimplementing provider logic.
|
|
48
48
|
"quse>=0.0.15",
|
|
49
|
-
# FCM HTTP v1 push delivery (#690): service-account OAuth2 bearer minting
|
|
50
|
-
# for `pocketshell push` / the `usage --capture` reset-push send. Imported
|
|
51
|
-
# lazily and fail-soft — a host without it (or without a Firebase
|
|
52
|
-
# credential) simply no-ops the send, so the lower bound is advisory.
|
|
53
|
-
"google-auth>=2.0.0",
|
|
54
49
|
# YAML serialization for `pocketshell profiles list` (#718) — the host's
|
|
55
50
|
# human/agent-readable default output format (#714). The Android client
|
|
56
51
|
# consumes the `--json` flag instead; the host-facing default is YAML.
|
|
@@ -58,12 +53,13 @@ dependencies = [
|
|
|
58
53
|
# AES-256-GCM for the device-password key vault (`pocketshell keys`,
|
|
59
54
|
# docs/keys.md) and in-memory key generation. The stdlib has PBKDF2
|
|
60
55
|
# (hashlib) but no AEAD, so this is the one primitive we cannot get
|
|
61
|
-
# without a dependency.
|
|
62
|
-
#
|
|
63
|
-
#
|
|
64
|
-
# dependency choices. 42 is a conservative floor for the APIs used
|
|
65
|
-
# (GCM `update_into`, OpenSSH private-key serialization).
|
|
56
|
+
# without a dependency. Declaring it directly keeps the vault independent
|
|
57
|
+
# of transitive dependency choices. 42 is a conservative floor for the
|
|
58
|
+
# APIs used (GCM `update_into`, OpenSSH private-key serialization).
|
|
66
59
|
"cryptography>=42",
|
|
60
|
+
# The account vault shares the clients' Argon2id v1 format. Never use
|
|
61
|
+
# the separate local device-password vault's PBKDF2 format for sync.
|
|
62
|
+
"argon2-cffi>=23.1.0",
|
|
67
63
|
# aplexer ships WITH the pocketshell CLI (issue #2543). `pocketshell
|
|
68
64
|
# sessions create` needs BOTH the `a` CLI and its
|
|
69
65
|
# `aplexer` worker binary (aplexer/src/lib.rs::worker_executable resolves
|
|
@@ -199,7 +195,17 @@ dependencies = [
|
|
|
199
195
|
# 2.17 to 2.28. Linux hosts older than that (CentOS 7, Ubuntu 18.04) can
|
|
200
196
|
# no longer install pocketshell at all now that aplexer is a hard
|
|
201
197
|
# dependency. Flagged, not solved here — see docs/aplexer-integration.md.
|
|
202
|
-
|
|
198
|
+
#
|
|
199
|
+
# F5 (hub-pocketshell separation): one aplexer per host. The exact pin
|
|
200
|
+
# 0.1.8 is replaced by a compatible range >=0.1.19,<0.2 so hosts converge
|
|
201
|
+
# on a single modern aplexer instead of pinning an old bundle while Hub
|
|
202
|
+
# runs 0.1.19. 0.1.19 is the first released wheel containing the full
|
|
203
|
+
# Hub/PocketShell consumer surface (message send/deliver/log/ack, status,
|
|
204
|
+
# capture --screen/--plain, context hook, task run); the Hub binding
|
|
205
|
+
# labels (--label hub.managed/hub.session, aplexer F5) arrive with the
|
|
206
|
+
# next aplexer release and are consumed opportunistically (see
|
|
207
|
+
# tests/test_aplexer_contract.py).
|
|
208
|
+
"aplexer>=0.1.19,<0.2; sys_platform == 'linux'",
|
|
203
209
|
]
|
|
204
210
|
|
|
205
211
|
[project.scripts]
|
|
@@ -279,7 +285,11 @@ required-version = "==0.10.11"
|
|
|
279
285
|
# quse 0.0.17 uploaded at 2026-10-02T08:56:21Z for the `gemini` provider (the
|
|
280
286
|
# Antigravity CLI quota; aliases `antigravity` / `agy`) — the usage panel's
|
|
281
287
|
# seventh row.
|
|
282
|
-
|
|
288
|
+
# 0.1.19 uploaded at 2026-10-18T09:40:14Z (client at 09:40:06Z) for F5
|
|
289
|
+
# (hub-pocketshell separation): the first released wheel with the full
|
|
290
|
+
# Hub/PocketShell consumer surface. Cutoff moved past it for the
|
|
291
|
+
# >=0.1.19,<0.2 range pin.
|
|
292
|
+
exclude-newer = "2026-10-24T00:00:00Z"
|
|
283
293
|
|
|
284
294
|
[tool.pytest.ini_options]
|
|
285
295
|
testpaths = ["tests"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Interactive-session guardian
|
|
2
|
+
|
|
3
|
+
Derived from `guardian-servicing` by allowing an owner-authenticated interactive
|
|
4
|
+
WinSta0/Default session to differ from the physical console session. The token
|
|
5
|
+
SID, token/process session equality, station visibility and Default desktop are
|
|
6
|
+
still measured natively. Session 0 keeps its non-visible station contract.
|
|
7
|
+
Private desktop ACLs, pinned images, endpoint/host-key custody, owned jobs and
|
|
8
|
+
controlled stop are unchanged.
|
|
9
|
+
|
|
10
|
+
The policy change has its own new source hash and the guardian embeds that hash.
|
|
11
|
+
The tray installer ships this source trio and re-catalogues the complete closure.
|
|
12
|
+
The tray uses the explicit `interactive-session` readiness mode tied to its own
|
|
13
|
+
caller SID and session. The ordinary CLI still defaults to `active-console`;
|
|
14
|
+
S4U tasks still require session 0. Old source triples remain trusted only so the
|
|
15
|
+
existing validated tray-repair path can stop and upgrade enrolled installations.
|
|
16
|
+
Never modify hashes or installed guardian files manually.
|