VibeHub
v0.3.1Save AI coding sessions to VibeHub and attach the conversation to the git commit it produced.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vibehub_start_session
Start a new VibeHub conversation session and remember it as the current session. Call this when a new chat begins.
| Parameter | Type | Description |
|---|---|---|
source * | string | Where the chat originated. Known values: "claude-code", "cursor", "windsurf", "claude-desktop", "aider", "codex", "sdk", "manual". |
externalId | string | Idempotency key — replays return the same session. |
kind | string | Default "commit": the session closes when attached to a commit. "live": stays open across many commits (long-running terminals, agent mirrors). |
model | string | Model identifier, e.g. claude-opus-4. |
projectId | string | Optional VibeHub project id to scope this session. |
summary | string | Short human description of the chat. |
vibehub_append_message
Append a single message to the current (or specified) session. Call this after every user or assistant turn.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
role * | string | |
sessionId | string | Defaults to the current session id. |
timestamp | string | ISO timestamp; defaults to now. |
toolName | string |
vibehub_append_messages
Append a batch of messages to the current (or specified) session. Use for backfilling history.
| Parameter | Type | Description |
|---|---|---|
messages * | array | |
sessionId | string |
vibehub_attach_to_commit
Attach the current (or specified) session to a git commit by SHA. Call this right after the user commits. A normal session is closed by this; a live session stays open and keeps accepting messages for later commits.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
authorEmail | string | |
authorName | string | |
branch | string | |
committedAt | string | |
deletions | number | |
diff | string | |
diffStat | string | Output of `git show --stat`. |
filesChanged | number | |
insertions | number | |
message | string | Commit message — required if the commit isn't already registered in VibeHub. |
parentSha | string | |
projectId | string | Required if session has no project. |
sessionId | string |
vibehub_current_session
Return the id of the currently active session (the last one started by this server).
vibehub_list_sessions
List the user's recent conversation sessions (newest first). Filter by status (open, attached, orphaned) or project.
| Parameter | Type | Description |
|---|---|---|
limit | number | Default 50, max 200. |
projectId | string | |
status | string |
vibehub_whoami
Check the connection: confirms the API token works and returns the signed-in user plus when the token expires. Call this first if other tools fail with 401.
vibehub_list_projects
List the authenticated user's VibeHub projects (repos).
vibehub_create_project
Create (or reuse) a VibeHub project by name.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
description | string | |
visibility | string |
vibehub_capture_commit
One-shot commit + conversation capture. Use when you have the commit metadata + transcript already in hand and don't want to maintain a live session. Mirrors `vb commit`.
| Parameter | Type | Description |
|---|---|---|
committedAt * | string | ISO timestamp. |
message * | string | |
projectId * | string | |
sha * | string | |
authorEmail | string | |
authorName | string | |
branch | string | |
conversation | object | |
deletions | number | |
diff | string | |
diffStat | string | |
filesChanged | number | |
insertions | number | |
parentSha | string | |
replace | boolean | Refresh the commit row + re-link the conversation. Use after git amend/rebase. |
vibehub_list_commits
List recent commits for a project (newest first). Each entry includes filesChanged/insertions/deletions and the number of conversation messages linked to it.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
limit | number | Default 20, max 100. |
vibehub_get_commit
Fetch a single commit and its linked conversation. Accepts short sha prefixes (≥4 hex chars).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
sha * | string |
vibehub_get_commit_diff
Diff for a commit. Omit `path` to receive the list of files changed; pass `path` to receive the per-file unified diff. Reads from the server-stored diff — no local git objects required.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
sha * | string | |
path | string |
vibehub_blame
Approximate blame for a file. Replays every stored diff that touched the path and attributes each surviving line to the commit that last inserted (or touched) it. Filter by branch with `branch`.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
projectId * | string | |
branch | string |
vibehub_list_branches
List the branches VibeHub knows about for a project, with their head shas.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
vibehub_upsert_branch
Create or update a tracked branch row. Pass `headSha` to advance the head, or `isDefault: true` to swap the project's default branch.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
headSha | string | |
isDefault | boolean |
vibehub_get_mirror
Read the git mirror config for a project. Returns the provider (github, gitlab or bitbucket), owner/repo, default branch, last push/receive timestamps, and the most recent push error (if any).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
vibehub_set_mirror
Configure (or update) the git mirror on GitHub, GitLab or Bitbucket. Token is stored AES-256-GCM encrypted server-side. Omit token to keep the existing one (switching provider or host drops it).
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub owner, GitLab namespace (group/subgroup), or Bitbucket workspace. |
projectId * | string | |
repo * | string | |
defaultBranch | string | |
host | string | Self-managed GitLab host, e.g. gitlab.example.com. |
provider | string | |
token | string | Access token with repo write access (GitHub PAT, GitLab write_repository, Bitbucket repository:write). |
username | string | git-over-HTTPS username, only for Bitbucket app passwords or similar. |
vibehub_rotate_mirror_webhook
Generate (or rotate) the inbound webhook secret for a project's mirror. Returns the plaintext secret exactly once — register it in the provider's webhook settings (settingsUrl) with the payload URL. Pass register: true to have VibeHub create the webhook through the provider's API (needs a token with webhook scope).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
register | boolean |
vibehub_verify_mirror
Check that the stored mirror token can reach the repo on its provider (GitHub, GitLab or Bitbucket) and, where the provider reports it, push to it.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |