Skip to content

v0.2.1: Multi-Shell Init, PyPI Packaging & Safety Guidelines

Latest

Choose a tag to compare

@akatzmann akatzmann released this 11 Oct 20:05
· 1 commit to main since this release

What's Changed in v0.2.1

🚀 Features & Enhancements

  • Multi-Shell Dynamic Initialization (slash-agent init):
    • Emits native shell integration scripts for Bash, Zsh, Fish, and Ksh to stdout.
    • Added --install flag for idempotent registration into shell RC profiles (~/.zshrc, ~/.bashrc, ~/.config/fish/config.fish, ~/.kshrc, ~/.bash_profile).
    • Added --cmd <name> support to customize shell function aliases.
  • In-Place Self-Updating:
    • Support for /agent --update / /agent --upgrade (-u) in shell wrappers and Python CLI to update git or package installations.
  • Background Task Execution:
    • Asynchronous background task execution tools (list_background_tasks, get_task_logs, kill_background_task, wait_seconds) with cross-platform process isolation and orphan protection (prctl, POSIX process groups, Job Objects).
  • Safety & Ergonomics:
    • Output truncation guards for large command logs.
    • Multi-tiered risk gating (safe, low, moderate, critical).
  • PyPI Distribution & Packaging:
    • Standard PEP 621 pyproject.toml configuration with console entrypoint slash-agent.
    • Added PyPI Trusted Publishing OIDC workflow (publish.yml).
    • Pinned core dependency to python-agent-core>=0.2.0.

🛡️ Documentation & Best Practices

  • Repositioned Quick Start to highlight pipx install slash-agent && slash-agent init --install as recommended path.
  • Added comprehensive "Best Practices: Safety, Cost & Responsible Usage" guidelines across README.md, docs/documentation.md, and docs/security_model.md.