返回顶部
v

vibetunnel

Manage VibeTunnel terminal sessions. Create, list, monitor, and control terminal sessions visible in the VibeTunnel web dashboard.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,907
下载量
0
收藏
概述
安装方式
版本历史

vibetunnel

# VibeTunnel Manage [VibeTunnel](https://github.com/AugmentedMomentum/vibetunnel) terminal sessions via REST API. Create, list, monitor, and control sessions visible in the web dashboard. ## Setup VibeTunnel must be running. Default: `http://localhost:8080`. Override with `VT_URL` env var. ## Health Check ```bash curl -s ${VT_URL:-http://localhost:8080}/api/health | jq . ``` ## List Sessions ```bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq . ``` Compact view: ```bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq -r '.[] | "\(.status | if . == "running" then "●" else "○" end) \(.name) [\(.id | .[0:8])]"' ``` ## Create Session ```bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \ -H "Content-Type: application/json" \ -d '{"command": ["zsh", "-l", "-i"], "name": "my-session", "workingDir": "/path/to/dir"}' | jq . ``` Parameters: - `command`: array — command + args (default: `["zsh", "-l", "-i"]`) - `name`: string — display name - `workingDir`: string — working directory - `cols`: number — terminal width (default: 120) - `rows`: number — terminal height (default: 30) ## Get Session ```bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions/<id> | jq . ``` ## Delete Session ```bash curl -s -X DELETE ${VT_URL:-http://localhost:8080}/api/sessions/<id> | jq . ``` ## Send Input ```bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions/<id>/input \ -H "Content-Type: application/json" \ -d '{"text": "ls -la\n"}' | jq . ``` Note: include `\n` to execute the command. ## Resize Session ```bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions/<id>/resize \ -H "Content-Type: application/json" \ -d '{"cols": 150, "rows": 40}' | jq . ``` ## Examples **Launch Claude Code session:** ```bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \ -H "Content-Type: application/json" \ -d '{"command": ["claude"], "name": "claude-code", "workingDir": "~/repos/my-project"}' | jq . ``` **Launch tmux session:** ```bash curl -s -X POST ${VT_URL:-http://localhost:8080}/api/sessions \ -H "Content-Type: application/json" \ -d '{"command": ["tmux", "new", "-A", "-s", "work"], "name": "tmux-work"}' | jq . ``` **Clean up exited sessions:** ```bash curl -s ${VT_URL:-http://localhost:8080}/api/sessions | jq -r '.[] | select(.status == "exited") | .id' | \ xargs -I {} curl -s -X DELETE ${VT_URL:-http://localhost:8080}/api/sessions/{} ``` ## Environment Variables | Variable | Default | Description | |----------|---------|-------------| | `VT_URL` | `http://localhost:8080` | VibeTunnel server URL |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vibetunnel-1776382596 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vibetunnel-1776382596 技能

通过命令行安装

skillhub install vibetunnel-1776382596

下载 Zip 包

⬇ 下载 vibetunnel v1.0.0

文件大小: 1.66 KB | 发布时间: 2026-4-17 15:44

v1.0.0 最新 2026-4-17 15:44
Initial release: pure SKILL.md with curl-based REST API patterns for VibeTunnel session management

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部