Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

Clarify Show Page agent guidance

cyhcb4c3cadbd51
diff --git a/tests/test_show_pages.py b/tests/test_show_pages.py
index 5bb361ae3..a95ee1bb2 100644
--- a/tests/test_show_pages.py
+++ b/tests/test_show_pages.py
@@ -137,6 +137,12 @@ def test_show_path_cli_json_creates_page(monkeypatch, tmp_path, capsys):
assert payload["public_url"] is None
assert payload["url_available"] is True
assert payload["url_guidance"] is None
+ assert "Do not send implementation details such as local paths to the user unless they ask for them." in payload["next_actions"]
+ assert "Treat the Show Page as the primary collaboration surface; put meaningful updates there first." in payload["next_actions"]
+ assert (
+ "Use visual thinking: diagrams, timelines, maps, comparisons, dashboards, or small prototypes when they help."
+ in payload["next_actions"]
+ )
assert (tmp_path / "show" / "ses123" / "index.html").exists()
diff --git a/vibe/cli.py b/vibe/cli.py
index 5d64be419..28188392c 100644
--- a/vibe/cli.py
+++ b/vibe/cli.py
@@ -3723,7 +3723,10 @@ def _show_page_result(page, *, message: str, previous_payload: dict | None = Non
def _show_page_next_actions(payload: dict) -> list[str]:
session_id = payload.get("session_id") or "<session-id>"
visibility = payload.get("visibility")
- actions = [f"Edit files under: {payload.get('path')}"]
+ actions = [
+ f"Use this local workspace internally: {payload.get('path')}",
+ "Do not send implementation details such as local paths to the user unless they ask for them.",
+ ]
active_url = payload.get("active_url")
if active_url:
actions.append(f"Send this URL to the user: {active_url}")
@@ -3731,6 +3734,8 @@ def _show_page_next_actions(payload: dict) -> list[str]:
actions.append(f"Bring the page online again with: vibe show update --session-id {session_id} --visibility private")
elif not payload.get("url_guidance"):
actions.append("No active URL is available right now.")
+ actions.append("Treat the Show Page as the primary collaboration surface; put meaningful updates there first.")
+ actions.append("Use visual thinking: diagrams, timelines, maps, comparisons, dashboards, or small prototypes when they help.")
actions.append("To update the page later, edit the same directory and refresh.")
actions.append("For more options, run: vibe show --help")
return actions