mystack-rig 1.11.1__tar.gz → 1.11.2__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.
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/PKG-INFO +2 -2
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/README.md +1 -1
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/assets/tmux.conf +5 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/live_agent.py +4 -1
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/main.py +3 -1
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/PKG-INFO +2 -2
- mystack_rig-1.11.2/src/mystack_rig.egg-info/scm_version.json +8 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_live_agent.py +12 -0
- mystack_rig-1.11.1/src/mystack_rig.egg-info/scm_version.json +0 -8
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/.coveragerc +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/.git-blame-ignore-revs +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/.github/workflows/release.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/.github/workflows/tests.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/.gitignore +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/CLAUDE.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/CLI_STORAGE_SUMMARY.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/Dockerfile +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/GIT_CLONE_FEATURE.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/GLOSSARY.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/HETZNER_STORAGE_GUIDE.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/HETZNER_STORAGE_SECURITY_GUIDE.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/LICENSE +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/Makefile +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/README_REAL_E2E.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/STORAGE_CLI_GUIDE.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0001-per-profile-generated-state-bucket.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0002-outputs-as-separate-object-via-file-handoff.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0003-mcp-servers-declared-once-rendered-at-authorize.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0004-agents-run-as-live-agents-in-tmux.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0005-docker-in-configure-for-devcontainers.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0006-workspace-user-instead-of-root.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0007-managed-playbook-content-ships-as-bundled-roles.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/architecture.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/architecture.png +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/architecture.svg +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/roles.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/forged-idea.md +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/pyproject.toml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/pytest.ini +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/requirements.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/sample.env +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/scripts/coverage_badge.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/scripts/pypi_version.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/setup.cfg +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/__init__.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/__init__.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/__main__.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/agents.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/ansible_filters/__init__.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/ansible_filters/rig_live.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/ansible_filters/rig_mcp.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/assets/rig-agent-queue +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/assets/rig-agent-state +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/config.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/devcontainers.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/encrypt.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/git.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/git_author.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/last_env.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/last_session.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/last_target.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/log.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/mcp.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/outputs.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/remote_dev.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/repos.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/requirements.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_base/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_base/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_claude_code/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_claude_code/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_claude_code/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_code_server/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_code_server/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_code_server/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_cursor_cli/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_cursor_cli/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_cursor_cli/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_destroy/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_destroy/tasks/destroy.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_git/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_git/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_git/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_live_agent/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_live_agent/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_live_agent/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_mcp/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_mcp/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_opencode/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_opencode/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_opencode/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_repos/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_repos/tasks/materialize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/defaults/main.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/tasks/authorize.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/tasks/install.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/snapshots.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/state_bucket.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/vault_keys.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/vpn.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/workspace_user.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/SOURCES.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/dependency_links.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/entry_points.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/requires.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/scm_file_list.json +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/mystack_rig.egg-info/top_level.txt +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/test_hetzner_integration.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/_roles.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/conftest.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/fixtures/vpn-gateway.yml +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_agents.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_ansible_galaxy.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_attach_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_bundled_roles.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_credential_security.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_destroy_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_dev_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_devcontainers.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_encrypt_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_encrypt_coverage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_firewall_client_ip.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_git_clone_unit.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_git_credentials_and_author.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_git_manager.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_gitignore_init.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_hetzner_storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_init_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_inspect_describe.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_last_env.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_last_session.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_last_target.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_live_agent_cli.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_log.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_main_coverage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_mcp_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_mcp_render.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_outputs.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_outputs_storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_pypi_version.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_python_floor.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_r2_storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_real_e2e_integration.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_real_e2e_storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_real_e2e_vpn.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_real_e2e_vpn_tunnel.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_remote_dev.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_remote_dev_coverage_extensions.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_repo_command.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_rig_ansible_vars.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_rig_config.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_run_remote_decoding.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_secret_prompt_hidden.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_setup_provision.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_simulation_storage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_small_module_coverage.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_snapshots.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_state_bucket.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_storage_basic.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_vault_keys.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_vpn_optional.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_vpn_unit.py +0 -0
- {mystack_rig-1.11.1 → mystack_rig-1.11.2}/tests/test_workspace_git_clone.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mystack-rig
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.2
|
|
4
4
|
Summary: Ephemeral remotes with full local parity for coding agents
|
|
5
5
|
Author: mystack-cloud
|
|
6
6
|
License-Expression: MIT
|
|
@@ -117,7 +117,7 @@ rig mcp remove awx
|
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
119
|
rig attach # start the live agent, or join the running one
|
|
120
|
-
# leave: close the terminal, or detach with Ctrl+b d
|
|
120
|
+
# leave: close the terminal, or detach with Ctrl+b d (Ctrl+b Ctrl+d works too) or Ctrl+\. Ctrl+C still goes to the agent.
|
|
121
121
|
rig attach --restart # replace it with a fresh process (resumes the same conversation)
|
|
122
122
|
rig attach --no-persist # old behaviour: the agent ends with the SSH session
|
|
123
123
|
```
|
|
@@ -95,7 +95,7 @@ rig mcp remove awx
|
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
97
|
rig attach # start the live agent, or join the running one
|
|
98
|
-
# leave: close the terminal, or detach with Ctrl+b d
|
|
98
|
+
# leave: close the terminal, or detach with Ctrl+b d (Ctrl+b Ctrl+d works too) or Ctrl+\. Ctrl+C still goes to the agent.
|
|
99
99
|
rig attach --restart # replace it with a fresh process (resumes the same conversation)
|
|
100
100
|
rig attach --no-persist # old behaviour: the agent ends with the SSH session
|
|
101
101
|
```
|
|
@@ -25,3 +25,8 @@ set -g aggressive-resize on
|
|
|
25
25
|
# Keep the pane when the agent fails so its error stays readable. `rig attach` and
|
|
26
26
|
# `rig exec` replace a dead pane the next time.
|
|
27
27
|
set -g remain-on-exit failed
|
|
28
|
+
|
|
29
|
+
# Ctrl+b d also detaches while Ctrl is still held (Ctrl+b Ctrl+d), which tmux leaves
|
|
30
|
+
# unbound. Ctrl+\ detaches with no prefix. Ctrl+C goes to the agent and stops it.
|
|
31
|
+
bind C-d detach-client
|
|
32
|
+
bind -n 'C-\' detach-client
|
|
@@ -134,7 +134,10 @@ def attach_script(agent: str, launch_cmd: str, **kwargs: object) -> str:
|
|
|
134
134
|
socket = str(kwargs.get("socket", TMUX_SOCKET))
|
|
135
135
|
conf = str(kwargs.get("conf", TMUX_CONF))
|
|
136
136
|
body = ensure_session_script(agent, launch_cmd, **kwargs) # type: ignore[arg-type]
|
|
137
|
-
|
|
137
|
+
tmux = _tmux(socket, conf)
|
|
138
|
+
# -f is read only when the server starts; reload so a running agent gets the current keys.
|
|
139
|
+
reload = f"{tmux} source-file {shlex.quote(conf)} 2>/dev/null || true"
|
|
140
|
+
return f'{body}\n{reload}\nexec {tmux} attach-session -t "{session_name(agent)}"'
|
|
138
141
|
|
|
139
142
|
|
|
140
143
|
def verify_started_script(
|
|
@@ -318,7 +318,9 @@ def _cmd_attach(args: argparse.Namespace) -> int:
|
|
|
318
318
|
if agent_args:
|
|
319
319
|
log.debug("Agent args: %s", " ".join(agent_args))
|
|
320
320
|
if persist:
|
|
321
|
-
log.info(
|
|
321
|
+
log.info(
|
|
322
|
+
"The agent keeps running when you leave: detach with Ctrl+b d (Ctrl+b Ctrl+d works too) or Ctrl+\\, or just close the terminal"
|
|
323
|
+
)
|
|
322
324
|
return env.attach_to_agent(
|
|
323
325
|
project_dir=os.getcwd(),
|
|
324
326
|
agent_type=str(agent_type),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mystack-rig
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.2
|
|
4
4
|
Summary: Ephemeral remotes with full local parity for coding agents
|
|
5
5
|
Author: mystack-cloud
|
|
6
6
|
License-Expression: MIT
|
|
@@ -117,7 +117,7 @@ rig mcp remove awx
|
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
119
|
rig attach # start the live agent, or join the running one
|
|
120
|
-
# leave: close the terminal, or detach with Ctrl+b d
|
|
120
|
+
# leave: close the terminal, or detach with Ctrl+b d (Ctrl+b Ctrl+d works too) or Ctrl+\. Ctrl+C still goes to the agent.
|
|
121
121
|
rig attach --restart # replace it with a fresh process (resumes the same conversation)
|
|
122
122
|
rig attach --no-persist # old behaviour: the agent ends with the SSH session
|
|
123
123
|
```
|
|
@@ -625,3 +625,15 @@ def test_authorize_hands_live_agent_state_and_log_dirs_to_the_workspace_user():
|
|
|
625
625
|
task = next(t for t in play["tasks"] if t.get("name", "").startswith("Let the workspace user write live-agent"))
|
|
626
626
|
assert task["file"]["owner"] == "{{ rig_user }}"
|
|
627
627
|
assert task["loop"] == [la.STATE_DIR, la.LOG_DIR]
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
def test_detach_keys_cover_ctrl_still_held_and_no_prefix():
|
|
631
|
+
conf = open(CONF).read()
|
|
632
|
+
assert "bind C-d detach-client" in conf # Ctrl+b, then d typed with Ctrl still held
|
|
633
|
+
assert "bind -n 'C-\\' detach-client" in conf # no prefix needed
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
def test_attach_reloads_the_config_into_a_running_server():
|
|
637
|
+
lines = la.attach_script("claude", "exec claude").splitlines()
|
|
638
|
+
assert lines[-2].startswith("tmux -L rig") and "source-file /etc/rig/tmux.conf" in lines[-2]
|
|
639
|
+
assert lines[-1].startswith("exec tmux")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0001-per-profile-generated-state-bucket.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0004-agents-run-as-live-agents-in-tmux.md
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/docs/adr/0005-docker-in-configure-for-devcontainers.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/defaults/main.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/tasks/authorize.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_home_ownership/tasks/install.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_repos/defaults/main.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_repos/tasks/materialize.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/defaults/main.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/tasks/authorize.yml
RENAMED
|
File without changes
|
{mystack_rig-1.11.1 → mystack_rig-1.11.2}/src/cli/roles/rig_workspace_user/tasks/install.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|