技能 编程开发 OpenCode 任务监控

OpenCode 任务监控

v20260409
opencode
通过工作区内的助手脚本查看和管理 OpenCode 会话,列出任务或消息状态,使用 `uv run python skills/opencode/<script>.py` 命令运行,需安装 Python 3。
获取技能
471 次下载
概览

OpenCode Skill

Use helper scripts to manage your OpenCode instances.

Helper Scripts

All scripts are in the workspace skills directory. Run them with:

uv run python skills/opencode/script_name.py

Note: Do not kill the opencode process.

Scripts

list_sessions.py

Listing all OpenCode sessions

Example: uv run python skills/opencode/list_sessions.py

list_messages_of_session.py

Listing latest OpenCode messages by session_id

Example: uv run python skills/opencode/list_sessions.py {session_id}

Session Status Types

  • 🟢 WAITING: Last message was from user - agent is waiting for input
  • 🔴 WORKING: Last message was from assistant - agent recently finished or may be working
  • 🟡 UNKNOWN: Cannot determine status
信息
Category 编程开发
Name opencode
版本 v20260409
大小 6.42KB
更新时间 2026-04-10
语言