Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
###############################################################################
set -euo pipefail

readonly VERSION="0.2.5"
readonly VERSION="0.2.6"
readonly STATE_DIR="$HOME/.opskit-install/state"
readonly OPSKIT_DIR="${OPSKIT_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || echo "$HOME/Projects/opskit")}"
OPSKIT_BIN="${OPSKIT_BIN:-$OPSKIT_DIR/bin/opskit}"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "opskit"
version = "0.2.5"
version = "0.2.6"
description = "Generic sysadmin toolset — Ansible catalogue, CMDB pipeline, MCP servers"
license = {text = "MIT"}
requires-python = ">=3.12"
Expand Down
5 changes: 2 additions & 3 deletions tests/test_mail_auth_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ def test_a_report_with_a_naive_timestamp_is_reported_not_a_traceback(tmp_path):
def test_the_startsession_nudge_is_silent_and_unambiguous_when_there_is_no_config():
"""`test -f ... && cmd` exits 1 when the file is absent, which reads like a result of the tool."""
text = (ROOT / ".opencode" / "skills" / "startsession" / "SKILL.md").read_text()
section = text[text.index("Mail-authentication freshness") : text.index("7. **Offer vault-session refresh")]
assert 'if [ -f "environments/$ACTIVE_ENV/mail-domains.yml" ]' in section
assert re.search(r"\n\s+fi\n", section), "the if must be closed"
section = text[text.index("Mail-auth freshness") : text.index("Vault check")]
assert "if `mail-domains.yml` exists" in section
assert 'test -f "environments' not in section
Loading