werewolf-6p

Werewolf 6-player: Six-player Werewolf rules run by a resident AI moderator; users may choose to join a pool of random players to participate or watch as spectators.

Last repository push
GitHub Stars
165
Forks
17
Issues / PRs
12

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "werewolf-6p" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c7945afc3318344124ff55037e8fd845a7e73e6c0f7a8590f90f1fa229608fda. Verify the upstream source and version against https://github.com/nexus-research-lab/nexus before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Werewolf 6-player: Six-player Werewolf rules run by a resident AI moderator; users may choose to join a pool of random players to participate or watch as spectators.

0 Downloads

Introduction source: third_party · nexus-research-lab · 0.0.1 Reference

SkillPi interpretation

Tasks
Six-player Werewolf rules for a permanent Agent host, with the user choosing to join the randomized player pool or spectate.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: werewolf-6p
title: Six-Player Werewolf
description: Six-player Werewolf rules for a permanent Agent host, with the user choosing to join the randomized player pool or spectate.
scope: room
tags: [room, game, werewolf]

Six-Player Werewolf

This skill layers werewolf game rules on top of the Room communication kernel. The Room system prompt already documents public @<member> wake semantics and the built-in nexus Room tools; this skill only defines the game contract. The host Agent is always the moderator and never a player.

Game Setup

Resolve participation before assigning any role:

  1. Treat the Room host Agent as the permanent moderator. Exclude it from roles, targets, speeches, votes, deaths, and win-condition counts.
  2. Ask the user exactly once whether to join as a player or spectate, using AskUserQuestion, unless the opening request already states that choice explicitly.
  3. If the user spectates, randomly select six non-host Agent players. The user receives no role and takes no game turn.
  4. If the user joins, use 用户玩家 as the stable public name and randomly select five non-host Agent players. Extra non-host Agents are spectators and must not receive role cards or game wakes.
  5. Stop before dealing roles if the Room has fewer than six candidate Agent players for spectator mode or fewer than five for user-participation mode. State the exact missing count; never start a partial game.
  6. Shuffle the six active players against 2 werewolves + 1 seer + 1 witch + 2 villagers. A participating user enters the same randomized role pool as every Agent player; never hand-pick or restrict the user's role.

The user can only join as a player and can never replace the host. Use the exact participation choices 参加本局 and 仅旁观 so the result is unambiguous.

After the active roster and roles are fixed, announce only the public roster. Keep the participation answer, role mapping, and inactive candidate list out of the public feed.

Wake Plumbing

The game has three execution channels:

  • Public feed: a normal public reply containing a non-code @<member> wakes that Agent member. An Agent handoff has exactly one naked @; a handoff to the user has none.
  • Agent private channel: use nexus.send_message with destination=current_room and visibility=private for Agent role cards, hidden collection, and host state. A private message can be record-only or can wake Agent recipients.
  • User private channel: only the host uses AskUserQuestion for the participation choice, the user's role card, and every hidden user decision. It pauses the host turn until the user answers without publishing the prompt or answer to the Room feed. Player Agents never use it to contact the user.

用户玩家 is not an Agent recipient or wake target. Never place it in send_message.recipients, wake_targets, or a naked public @. When a public chain reaches the user, the preceding Agent stops with no naked @; the user continues through a normal Room message and uses a real @<next Agent> when an Agent should run next.

A user message counts as a speech, vote, last word, or other game action only while the host state is waiting for that exact user turn. Spectator comments and out-of-turn messages never change game state.

For ordered public chains, the current handoff is the only naked @. Future recipients, examples, and format instructions use names without @, or code spans such as `@NextPlayer`. Do not write "please @Sam next" in the host announcement if Sam is not supposed to act now.

When a hidden handback should wake the host and the host's next natural final reply must be public, set reply_route.next_reply_route.mode = "public" on the original directed message. The handback stays private; the host's following final reply enters the public feed and any non-code @ in that reply wakes normally.

Only use nexus.send_message with destination=current_room and visibility=public for an explicit proactive public broadcast from a private/tool-driven turn. This includes the special case where a night transition must become visible before the host blocks on AskUserQuestion for the first hidden actor. Otherwise use next_reply_route={mode:"public"} and a natural host final reply.

Hidden collection must always name the handback route:

{
  "tool": "nexus.send_message",
  "arguments": {
    "destination": "current_room",
    "visibility": "private",
    "recipients": ["<player>"],
    "wake_policy": "immediate",
    "reply_route": {
      "mode": "private",
      "recipients": ["<host>"],
      "wake_policy": "immediate"
    },
    "content": "<question>"
  }
}

The Agent player answers only with the requested plain-text final reply. In a private-message turn, the player must not call any Room tool or append <nexus_room_no_reply/>; runtime already routes that single final reply. Sending the answer again with send_message creates a duplicate handback and can advance the host under the wrong route. If the host's next final reply should be public, include "next_reply_route": {"mode": "public"} on the original message; otherwise omit it and the host can continue with private tool calls plus <nexus_room_no_reply/>.

Public Boundary

A host's public final reply is a game artifact, never an execution-status update. Never expose the private actor, collector, target, decision, or who the host is waiting for. In particular, never output status such as "waiting for Jim's kill target".

  • On the opening turn, after participation, role cards, private state, and the first hidden action have been queued, the public night announcement is exactly: 游戏开始,第 1 夜,天黑请闭眼。
  • On later night transitions, the exact public announcement is: 进入第 N 夜,天黑请闭眼。
  • If the first hidden actor is an Agent, queue its directed message and use the night announcement as the host's natural public final reply.
  • If the first hidden actor is the user, publish the night announcement exactly once with send_message(destination=current_room, visibility=public), then call AskUserQuestion in the same host turn. Never reveal why the user is being asked.
  • Between private night actions, queue the next action and output exactly <nexus_room_no_reply/>.
  • When the final hidden action completes in a public-routed host turn, start the daybreak template immediately. Do not prefix it with private status, duplicate the daybreak heading, or insert ---.

For small-group visibility, send one directed message to all group members and wake only the final collector:

{
  "tool": "nexus.send_message",
  "arguments": {
    "destination": "current_room",
    "visibility": "private",
    "recipients": ["<wolfA>", "<wolfB>"],
    "wake_targets": ["<wolfA>"],
    "wake_policy": "immediate",
    "reply_route": {
      "mode": "private",
      "recipients": ["<host>"],
      "wake_policy": "immediate"
    },
    "content": "你们是狼人。由 <wolfA> 汇总,最终只回复今晚击杀目标。"
  }
}

Both wolves can see the message, but only <wolfA> is activated. This separates private visibility from execution and guarantees one handback route.

Never "open a discussion and wait." The platform will not infer that a small group is done. A named player must hand the result back through reply_route=private(... wake=immediate).

Host private state is also a directed message:

{
  "tool": "nexus.send_message",
  "arguments": {
    "destination": "current_room",
    "visibility": "private",
    "recipients": ["<host>"],
    "wake_policy": "none",
    "reply_route": {"mode": "none"},
    "content": "<round / alive / dead / roles / potion state>"
  }
}

Players And Roles

  • 1 permanent host Agent: assigns roles, collects night actions, announces daybreak, organizes speeches, and runs voting. The host is always the moderator and can never receive a role.
  • Exactly 6 active players: 2 werewolves, 1 seer, 1 witch, 2 villagers.
  • Deliver each Agent role by record-only directed message: recipients=["<player>"], wake_policy="none", reply_route={"mode":"none"}.
  • If the user participates, deliver the user's role through AskUserQuestion with one acknowledgement option. Include the same role rules an Agent would receive; if the user is a wolf, name the Agent wolf teammate.
  • Each wolf's role card names the other wolf. The joint wolf-action message repeats both wolf names.
  • The witch starts with one antidote and one poison; each can be used at most once.
  • Host keeps minimal private state by sending record-only directed messages to itself, including whether the user participates and which candidate Agents are inactive.

Win Conditions

  • Good side wins when both werewolves are eliminated.
  • Werewolves win when all villagers die or all special roles die.
  • Check after each daybreak and each voted elimination. The moment a side wins, announce publicly and stop.

Night Flow

Close these steps in order. At the start of each night, build the pending actor list from living active players: wolves, then the seer if alive, then the witch if alive and at least one potion remains. Skip dead or actionless roles. Agent decisions use a directed message with wake_policy="immediate" and reply_route={mode:"private", recipients:["<host>"], wake_policy:"immediate"}; user decisions use AskUserQuestion with only legal living targets as options. The host always expects one hidden result at a time. An invalid or missing target is re-requested from the same actor and never silently substituted.

If the final pending actor is an Agent, give that Agent message next_reply_route={mode:"public"}. If the final pending actor is the user and an Agent acts immediately before it, give the preceding Agent message next_reply_route={mode:"public"}; the resumed host turn asks the user and then publishes daybreak naturally. If the user acts earlier, ask first, queue the next Agent action, and output <nexus_room_no_reply/>.

1. Werewolves

  1. If both living wolves are Agents, send one directed message to both with one named collector, as in the small-group example above.
  2. If the user and one Agent wolf are alive, ask the Agent wolf privately for one proposal, then show that proposal and all legal targets to the user through AskUserQuestion. The user chooses the final kill target. This keeps the user in the same role while using the host as the bridge between human and Agent private channels.
  3. If the participating user is the only living wolf, ask the user directly for one living non-wolf target through AskUserQuestion.
  4. If only one Agent wolf is alive, ask that Agent directly through a directed message.
  5. Record exactly one valid target and immediately proceed to the next pending actor or daybreak.

2. Seer

  1. For an Agent seer, send a directed message asking for one other living player, then return 好人 or 狼人 by record-only directed message.
  2. For a user seer, use AskUserQuestion to choose one other living player, then use a second private acknowledgement question to reveal 好人 or 狼人.

3. Witch

If the living witch has at least one potion, state tonight's killed player and the remaining potions. Ask an Agent witch through a directed message using the exact format 救:<名字>|不救;毒:<名字>|不毒. Ask a user witch through AskUserQuestion, offering only currently legal save and poison choices. Unavailable potions cannot be selected.

4. Daybreak

  1. Host resolves deaths from kill / antidote / poison, updates private state, and checks win condition.
  2. Host replies publicly with one daybreak announcement, containing:
    • Day number, e.g. "第 N 天天亮。"
    • Death list: names only, never roles or private content. If nobody died: "昨晚平安夜。"
    • Nothing about who attacked, who saved or poisoned, why nobody died, or any other night action. A death or peaceful night does not publicly identify its cause.
    • Surviving roster.
    • Speech order contains every living active player and excludes the host and spectators.
    • An Agent hands to another Agent with @<next Agent>. An Agent handing to the user uses no naked @, names 用户玩家, and shows the user's future Agent handoff only as code such as `@NextAgent`.
    • If the first speaker is an Agent, the final line contains exactly one naked @: 首位发言 @<FirstSpeaker>,请发表看法;结束时交给 <NextPlayer>。
    • If the first speaker is the user, the final line contains no naked @: 首位发言是用户玩家,请发表看法;结束时按提示交给下一位。
  3. Host then stops. An Agent mention wakes the first Agent; a user-first announcement waits for the user's normal Room message.

Day Flow

5. Speech Chain

  1. Agent-to-Agent: end with @<NextAgent>.
  2. Agent-to-user: use no naked @; end by telling 用户玩家 to speak and show the user's required next handoff in code formatting.
  3. User turn: the user posts a normal public Room message and ends with a real @<NextAgent>, or 归票完毕 @<host> when last.
  4. If the user omits the handoff and host auto-reply is enabled, the host emits one minimal public handoff to the intended next Agent without rewriting the user's speech.

Keep each public statement between 60 and 120 Chinese characters, excluding the final handoff. State one main suspicion and one reason; do not repeat the phase rules or recap every prior speaker. Do not use private messages during the speech phase.

Public speech is the entire final reply. Never prefix it with private reasoning, hidden role facts, drafts, or a separator such as ---. A wolf may think privately as a wolf, but the final public reply must only contain what that public persona says.

6. Voting

  1. Woken by 归票完毕 @<host>, host replies publicly with one voting announcement:
    • "投票开始。顺序:A -> B -> ...(与发言顺序相同)。"
    • Rules: vote publicly with "我投 <名字>" or "弃票" and hand off to the next voter.
    • Final voter ends with 投票结束 @<host>.
    • If the first voter is an Agent, the final line contains exactly one naked @: 首位投票 @<FirstVoter>,请按格式投票;结束时交给 <NextVoter>。
    • If the first voter is the user, the final line contains no naked @: 首位投票是用户玩家,请按格式投票;结束时按提示交给下一位。
  2. Each voter uses at most one short reason, then the exact vote and public handoff; keep it under 60 Chinese characters. Apply the same Agent-to-user and user-to-Agent handoff rules as the speech chain.
  3. Host tallies from the public feed and replies publicly with the tally only, e.g. "票型:Jim 2 / Lucy 2 / Lily 1 / 弃票 0。Jim 与 Lucy 平票。"
  4. Tie-break: run one public PK speech round with @ chaining, then a fresh public voting round among non-tied voters. Still tied means no elimination today.

7. Last Words And End Of Day

  1. If an Agent player is eliminated, host replies publicly: "请发表遗言 @<eliminated>,结束用 遗言完毕 @<host> 交回给我。"
  2. If the user is eliminated, host uses no naked @ and asks 用户玩家 to post at most 80 Chinese characters, ending with a real 遗言完毕 @<host>.
  3. Whether a player was eliminated or the day ended without elimination, host checks the win condition. If the game continues, it queues the first valid night actor and uses the exact public night-transition reply from Public Boundary.

Privacy

  • Private: participation answer, role assignments, wolf night coordination, kill/seer/witch decisions, seer result, host state.
  • Public: phase announcements, death lists, daytime speeches, vote tallies, last words, win announcement.
  • Before the game ends, the host never reveals a role, night decision, private reply, or the cause of a death or peaceful night on the public feed. Announce only the resolved death list.
  • Players never reveal hidden role truth, private night actions, private prompts, or "I am secretly a wolf" reasoning in public. Only the host reveals final roles after the game has ended.
  • Players do not declare the winner before the host announces the official result.
  • A participating user's AskUserQuestion prompts and answers follow the same secrecy rules as Agent directed messages. Never quote or summarize them publicly.

Version history

  1. v0.2.10 GitHub ↗
    Original release notes

    ## [0.2.10] - 2026-11-18 ### Fixed - 长群聊流式回复时,任务进程只重算正在输出的智能体,轮次导航不再在每次更新时重建滚动监听、强制同步布局,进一步减少卡顿。 - 修复 Windows 桌面端经远程桌面连接或切回本机后窗口持续白屏、重载和清缓存都无效、只能重启恢复的问题:标题栏和托盘的重载、清缓存改为重建 WebView 控件;显示设置变化或远程会话连上、切回本地控制台后,窗口可见时自动重建一次(窗口隐藏时等恢复显示再重建),并记录会话类型与工作区尺寸供诊断。 - 长群聊和私聊在流式回复时复用历史正文的高度估算、消息内存估算和会话身份解析,减少界面卡顿。 - 新增 IM 配对时可按渠道选择已知联系人或群聊并管理已有配对;首次联系提供获取对象的提示,个人微信仅显示私聊。 - 限制多个会话与子智能体同时启动造成的资源挤兑:共享 runtime 默认按物理内存保留 4–12 个会话、同时受理 8 个子智能体;会话名额用满时回收空闲会话,内存紧张时每个请求最多回收一个空闲会话并有界等待,macOS 只在 critical 内存压力时暂缓,内存读数不可用时不阻塞新任务,同一会话排队与全局等待共用 30 秒预算,回滚可在满队列执行。续跑消息投递前预留名额,按任务代次释放。同步 DM 准备响应取消,已持久受理的任务可在连接断开后继续。 - 智能体轮次只在收到 runtime `result` 后结束;模型回复结束后继续用工具或续写时保持运行,缺少结果的断流不再误报成功。 - 加快长 DM 会话每轮结束后的历史刷新并减少内存占用:transcript 纯追加时只解析新增内容,投影从上一个用户轮次的检查点继续,读模型只重写变化的分组;2000 轮(约 20 MB transcript)每轮刷新从约 910 ms / 360 MB 分配降到约 130 ms / 55 MB,重新打开从约 910 ms 降到约 330 ms;应用重启后首次打开有新内容的长会话从约 540 ms / 330 MB 降到约 370 ms / 270 MB(大 transcript 按换行分块并行解析,工具输入与结果不再做一次 JSON 往返);重启后第一轮对话结束时,历史在模型回复期间已于后台预热,刷新显示从约 290 ms 降到约 100 ms。 - 修复运行时退出后长期提示 `runtime session is closing`:Bridge 区分执行失败与资源清理失败,已确认清理完成的非零退出不再阻塞后续任务,真实清理失败仍保留关闭保护。

  2. v0.2.9 GitHub ↗
    Original release notes

    ## [0.2.9] - 2026-11-11 - Desktop updates can reconstruct the new app from the installed directory on Windows and macOS. Unchanged files are reused locally, changed files are verified after patching, and missing or unusable deltas fall back to the full release package. - Speed up local Rooms with long member transcripts. History indexing checkpoints public replies across restarts, updates the latest rounds on append, and loads excess tool output on expansion. Opening the round navigator no longer replays all member transcripts when the index is unavailable. - Show who is online in online rooms: members and Agents whose host is connected get a presence dot in the member dialog and room header, and Agents receive the same presence snapshot with each task. Requires nexus-relay with member presence. - Let online-room Agents read the room's shared files: each task syncs shared files (bounded, cached by file ID) into the room conversation and lists them with their local paths; files that cannot be synced are listed as not synced instead of failing the task. - Keep the reading position stable in online rooms while delivery cards, attachments or earlier history change the feed height.

  3. v0.2.8 GitHub ↗
    Original release notes

    ## [0.2.8] - 2026-11-04 - Allow macOS Intel hosts to install the pinned CUA v0.2.0 x86_64 archive. The runtime archive passed Intel build, source tests, signing, notarization and diagnostic smoke; interactive native acceptance remains unverified. - Detect previously installed Computer Use components that differ from the pinned runtime. Offer an explicit update action and update legacy installations before enabling, preserving the previous enablement state on component updates.

  4. v0.2.7 GitHub ↗
    Original release notes

    ## [0.2.7] - 2026-11-04 - Pin Bridge v0.2.7 and bundled nxs v0.2.7 across desktop platforms, including the Windows MXC helper and matching SDK validation revision. - Pin the Computer Use SDK and runtime to v0.2.0 with matching macOS and Windows release archive digests. - Retry paused, interrupted and failed WorkGraph tasks from their nodes. Redo submitted tasks with a confirmed downstream impact preview, preserving history and waiting for fresh upstream acceptance before redispatch. - Raise chat density: DM replies drop the repeated agent avatar/name row, Room identities use a 24px inline avatar, user message actions float below the bubble on hover-capable desktops instead of reserving an invisible row, round and footer spacing are tightened, the default reading line height moves from 1.7 to 1.6, and narrow columns respect the personal line-height preference. A short question and answer now takes about 134px instead of 229px. - Refresh chat and agent directories after standalone CLI changes using committed directory revisions and WebSocket invalidation, with reconciliation when subscriptions connect. In-process changes already notified are not repeated, room-only changes no longer reload the Agent list, versioned invalidations skip directories already loaded, and PostgreSQL advances the revision once per transaction at commit. - Add a shared icon-only continuation action to empty DM/Room composers, including paused queues and exact recoverable WorkGraph tasks; preserve existing send/stop icons and prevent duplicate or unknown-outcome replay. - Continue interrupted WorkGraph tasks with their original agent from the stopped reply or graph, preserving accepted work and durable dispatch across restart. - Install only the SDK-pinned nexus-cua release and archive digests instead of `releases/latest`, accept the nexus-cua `nexus.cua.release.v1` pipeline manifest, and reject a sidecar whose `runtime_version` differs from the pin. - Deliver Windows screenshots across equivalent native path spellings using directory-confined reads. - Expose Windows Computer Use settings, recognize native executables, verify Windows release packages, and retain bundled-runtime enablement across restarts. - Build Windows CUA previews with separate data, registry and instance identities, verify the pinned CUA payload, and start the sidecar without a focus-stealing console window. - Hand Windows foreground eligibility from the native Nexus host to its owned CUA child over a private, bounded pipe. Validate the backend caller and child process identity; retain runtime authority checks and native foreground readback. - Filter Computer Use app discovery by name or application id to avoid catalog pagination, and clarify recovery after stale observations or an app starting concurrently. - Expose discovery window state in Computer Use observations, distinguish Stage Manager thumbnails from minimized windows, and bound recovery of unknown mutation results. - Preserve Computer Use recovery fields in model-visible error text and explain both required options for background-window metadata recovery. - Fix Computer Use screenshot responses getting stuck at the bridge's default 1 MiB message limit: use a bounded 32 MiB budget and close failed runtime streams before waiting for process exit. - Remember the exact selected Computer Use window, include screenshots by default, normalize common key spellings, and correct the read-operation request ID guidance. - Preserve macOS CUA authority during input between actions with a bounded idle wait and fresh observation; keep immediate cancellation and explicit reauthorization for takeover during native dispatch. - Distinguish missing Computer Use observations from missing target authority, and guide bounded recovery of macOS Stage Manager windows without repeated target grants. - Deliver Computer Use screenshots as native MCP image blocks instead of oversized JSON text, and remove post-action screenshots and AX trees from durable message projections. - Scope macOS packaging smoke checks to the target bundle, including previews without a registered URL scheme. - Integrate the pinned CUA v0.2.0-rc.5 SDK: return fresh post-action observations and images, expose same-application scene capture, preserve mutation evidence on read failure, and latch user takeover until a new target grant. Completed-action caches retain no screenshots or AX trees. - Guide macOS Input Control setup through Input Monitoring as well as Accessibility. - Allow isolated macOS preview bundles to retain their own default state root and exact CUA payload, include runtime license/provenance files, and scope lifecycle notifications by bundle identity. - Revoke active Computer Use sessions before waiting for in-flight actions during round close, and close sessions returned after concurrent shutdown. - C3: pin the reviewed CUA SDK revision and verify backend builds with GOWORK=off in the dedicated target and CI. - C9: approve Computer Use target scope once per bounded session, reserve per-action approval for sensitive operations, expose restore/window/range/hold and launch operations, and derive input bounds from runtime capabilities. - Protect the entire private app tree, including newly created directories; migrate readable Skill projections to skills-public and cover package-manager, agent and browser credentials. - Clean disposable Windows workspace scratch only before runtime startup under desktop ownership, preserve migration safety across Windows path separators, and pin the Windows Rust toolchain. ### Added - Add macOS `make preview`, `preview-run`, and `preview-package` with a separate app identity, persistent preview state root, and isolated package output; previews do not register the production URL scheme or check for production updates. Select a bounded fallback loopback port when the preferred port is occupied so isolated apps can coexist. - WorkGraph 支持显式声明后续节点的负责人和审核人,依赖验收后由宿主一次派发到 DM/Room;保留暂停、Plan/Goal 版本及成员权限检查,不自动重试失败任务。 - WorkGraph 支持记录可恢复进展检查点,接管后保留产物和未知外部效果的核对线索;检查点不代表交付或验收。 - 命名 WorkGraph 支持类型化参数、默认值与约束;详情展示输入示例和按模板版本聚合的实际运行、失败及完成耗时样本,对话编辑可参考统计。 - WorkGraph 节点详情支持显式恢复:只受理当前失败根节点的协调检查,丢失回执先查询,保留其他暂停任务。 - 已绑定责任且 runtime 能力匹配的 WorkGraph 轮次可通过 Stop 结构化声明交付或审核;结果先持久接收,再按领域回执对账,支持工具竞态和重启恢复,不把运行结束当作验收。 - WorkGraph 命令增加独立的开始/结束诊断和离线汇总入口,可统计输入失败、重复请求观察及宿主耗时;正文不进入诊断,缺失结果保留未知,不改变业务回执或恢复行为。 - Windows 桌面沙箱:受限 nxs 会话由随包签名的 Rust `nxs-mxc.exe`(固定版本 Microsoft mxc-sdk 的 MXC ProcessContainer)执行,用户无需安装 Rust 或 MXC。需要 Windows 11 24H2(build 26100.9278)或更新版本并以普通用户运行;组件缺失、系统 API 不可用或以管理员权限运行时受限会话直接拒绝,不回退为无沙箱执行。完全访问不下发沙箱设置;受限 Claude 会话在 Windows 上直接拒绝。 - Windows 受限会话与 macOS 使用同一套 nxs 合同(含严格 MCP 配置与 MCP 网络 / headers helper / stdio 约束),使用原生 PowerShell;沙箱临时目录位于工作区之外,工具启动前恢复可写的 TEMP/TMP,普通命令失败不影响同一会话的其他调用。 - “检查沙箱支持”与会话启动失败时给出可操作的说明(组件缺失、管理员权限、系统不支持),并提示可在“设置 › 沙箱”关闭沙箱后重新发起会话及其代价。 - Windows 原生开发入口支持 `make dev`、`dev-nxs` 和独立服务启动,自动等待 Control 就绪、检查端口并在退出时清理本次启动的进程;`nexus-server check-desktop-runtime` 可在原生 Windows 上验证随包 nxs。 ### Changed - Build Preview nxs from the local SDK checkout and bind host builds to the local Bridge checkout through an isolated Go workspace. Bundle source revisions and dirty-state metadata instead of silently reusing dist binaries. - WorkGraph 内部 DM 交付、审核与恢复轮次在支持的 runtime 上跳过自动记忆抽取,减少额外模型调用;Goal 功能关闭时独立 Room 工作图仍可恢复检查。宿主关闭使用独立宽限等待运行时的退出阶段,并继续保留真实清理失败。 - Markdown 正文与流式显示隐藏 HTML 注释,包括结果钩子声明;代码块中的注释示例继续显示。 - WorkGraph 相邻重试改为短侧连线,回环就近走侧轨并从独立侧口返回;区分流程实线、重试虚线与回连,增加关系图例。工具栏与搜索移出画布内容区,背景改为点阵,详情浮层按可视区域避让并保持正常字号。 - WorkGraph 复用本轮已提供的上下文与操作 schema,Room 审核派发也内联准确协议;多项已就绪责任可通过 `assign_work_batch` 一次原子派发,任一项失败整批回滚,重复请求不会重复派发。 - C8: Computer Use 对接支持小数归一化坐标的 SDK,模型工具继续使用整数坐标。 - C1: Computer Use 窗口列表返回明确的 state(normal/minimized/offscreen/unknown),与新版 Runtime/SDK 同步。 - Computer Use 指针动作统一使用 `0..1000` 归一化坐标;滚动必须指定目标点,参数上限与 Runtime 一致。开发时需要配套重建新版 CUA Runtime 与 SDK。 - macOS 桌面沙箱对齐 Codex 的无状态模型:每条命令独立套用 Seatbelt 策略,删除宿主 scratch 租约、监督启动记录、策略回执、启动崩溃恢复与随包 `nexus-runtime-bootstrap` helper,“设置 › 沙箱”不再有残留资源回收入口。App 启动不再依赖沙箱恢复。升级后自动删除旧版留下的沙箱记录表、`app/processes` 与带租约标记的 scratch 目录;清理失败只记日志、下次启动重试,不阻止 App 启动。 - macOS 开启沙箱后,命令在沙箱内失败时可以通过一次性审批改为沙箱外执行(此前只能切换到完全访问)。 - Windows 关闭窗口时先询问“最小化到托盘”或“退出”;退出时后端先排空运行时再结束其 Job,后端以原子方式加入桌面壳持有的 kill-on-close Job,单实例锁保持到清理完成;按保存的进程身份回收旧后端,不再按进程名扫描结束同名进程。 ### Fixed - Clear inherited control CLI and nxs command overrides when launching Preview, so stale `.env` paths cannot route agents to an incompatible installed CLI or the wrong database. - macOS nxs 完全访问使用普通文件执行路径,保留严格 MCP 配置、宿主授权与模式切换时的 runtime 退休流程;网络准入不会重新安装沙箱。DM 已确认完成的事件先于上下文占用统计发布。 - WorkGraph 长历史读取不再逐节点重扫控制边;按保留的目标节点分批读取连线,减少大图的读取耗时与分配,保留失败、恢复、产物和主图计数语义。 - WorkGraph 历史目录改为摘要,选中后才读取完整图;普通对话不再触发历史工作图重读,状态刷新复用未变化的画布几何。 - 旧 Subagent transcript 改为版本化、可重试的一次性回填,读取失败明确标记历史迁移待完成;长执行在 SQL 层裁剪普通成功详情,保留失败、恢复、控制关系和产物。 - 工作图命令一次返回全部字段错误及准确 schema,Room 派发内联交付协议;Agent 失败记录脱敏错误摘要。 - 工作图草稿和编辑器直接读取数据库,修复重启、多窗口与取消请求时的缓存依赖;写入回执对应本次事务,保留唯一编辑会话与明确的授权撤销。 - 修复 PostgreSQL 历史迁移中过程块被拆分执行的问题,恢复新库初始化与跨版本升级。 - 待发送队列的每条记录写入后立即刷盘,整机断电后也不会丢失已派发标记或“停止后暂停发送”的状态。 - 启动时因临时错误(如数据库繁忙)未能恢复的 WorkGraph 会在后台自动重试;单个 WorkGraph 恢复失败也不再拖住同一轮的完成审计与 Goal 确认。 - 崩溃恰好发生在排队消息已开始、但尚未从队列移除时,重启后不再把同一条消息再发一轮;派发明确失败的排队消息重试时也不再附带多余的“结果未知”对账提示。 - 重启后只恢复宿主退出或崩溃时正在进行的 WorkGraph 工作,不再唤醒早已停滞、正在等待输入或被用户停止的旧工作图。 - 暂停 Goal、Automation 取消或超时、关闭 Echo 等内部停止不再被当成“用户停止”:会话的待发送队列不会被冻结,Goal 不会显示“你停止了上一轮”,重启后也能照常恢复对应工作。 - DM 运行中重新显示“停止生成”按钮(自 9 月 30 日起该按钮在回复、等待权限和压缩期间都不出现);宿主恢复轮次的内部对账指令不再以用户消息气泡实时显示。 - 启动恢复不再因为单条坏数据让 App 无法启动:已删除 Room 或已离开协调者的旧 WorkGraph、无法读取的队列日志都会被跳过并记录日志,其余 WorkGraph 与排队消息照常恢复;周期审计也不会再卡在同一个出错的 WorkGraph 上。 - 修复 DM/Room 断点恢复:派发 claim 保留队列原位、停止门禁跨重启保留、启动扫描无需浏览器绑定;恢复 WorkGraph 根 Attempt 与非 Goal 协调推进,用户停止同步停止本轮子任务,未知副作用先对账。 - Preserve queue order after dispatch failure, acknowledge already-ended exact stop targets, keep low-frequency WebSocket recovery, explain unknown outcomes of incomplete historical turns, and suggest coordinator takeover for failed or interrupted WorkGraph root attempts. - 停止正在自动续跑的 Goal 后,它不再立刻或在约 15 分钟后自行重新运行:DM 与 Room 的停止(包括 provider 未响应时的本地取消)都会结算本轮续跑并暂停自动续跑,直到用户点击“继续”;Goal 状态条会说明是“你停止了上一轮”。新消息打断、暂停成员参与等其他中断也不会再让已结束的续跑轮次被重放。 - Windows 开发启动器增加独占端口绑定检查,避免系统监听端口枚举漏报时误启动服务。 - 修复 Windows 桌面沙箱会话启动时报 “project: read commands directory failed … Access is denied”:项目命令、智能体与设置改由 nxs 的只读文件 helper 读取,沙箱内命令仍不能写入 `.nexus/commands` 等自动加载目录;设置文件读不到时直接报错,不再静默跳过其中的拒绝规则。 - 修复 Windows 智能体初始化失败:沙箱临时目录移到工作区之外,提前创建所需的合成用户目录,并在凭据目录的中间目录不存在时仍保持拒绝。 - 修复 Windows 打包清理会误结束构建命令自身:只结束输出目录内的可执行文件。 - 修复 Windows 后端身份记录写入中断后桌面端永久无法启动:记录改为原子替换,读不到时提示需要删除的文件。 - 修复对话框延迟自动聚焦会抢走用户已选中输入框的焦点。 ### Security - 受限桌面沙箱默认禁止读取用户凭据位置:`~/.ssh`、`~/.aws`、`~/.gnupg`、`~/.netrc`、`~/.git-credentials`、`~/.config/gh`、`~/.config/gcloud`、`~/.azure`、`~/.kube`、`~/.docker/config.json`、`~/.pypirc`、`~/.cargo/credentials`、`~/Library/Keychains`、`~/Library/Cookies` 以及 Chrome/Firefox 用户资料目录;需要这些文件的命令在 macOS 上走一次性沙箱外审批。 - 受限桌面沙箱不再能读取宿主 app 目录中除 Skill 投影外的任何条目(此前数据库备份等未登记目录在 macOS 上可读),也不能读写状态根下的本机 Control 目录。

  5. v0.2.6 GitHub ↗
    Original release notes

    ## [0.2.6] - 2026-10-24 ### Added - 模型选择器新增“思考强度”:当前模型支持时(Claude Opus/Sonnet 4.6 及以后、OpenAI 推理系列、DeepSeek V4、GLM-5.3),在模型菜单底部的“思考强度 ›”行悬浮或点击,于模型面板左侧展开档位侧栏(窄窗口时原位进入)选择自动/低/中/高/最高;不支持的模型该行置灰并标注“当前模型不支持”,按会话保存,入口显示为“模型 · 强度”;换模型时不支持的档位自动回到“自动”,改强度会在下一轮重启该会话的运行时生效。模型菜单同时改为按 Provider 分组、标出默认模型,DM 浮层收窄到 288px,模型行改用更紧凑的 28px 行高。 ### Changed - 简化管理页面页头:移除技能、工作图、连接器、定时任务、频道、配对及联系人目录页头中的冗余二级副标题,与设置页面统一保持单一主标题与操作动作并排的紧凑布局。 - 统一在线多人聊天室(Team Room)与本地群聊(Local Room)界面组件:群设置弹窗共用主持 Agent 设置块、人员/Agent 分段页签与暂停控制;桌面/窄屏右栏共用分隔条容器与工作图/子智能体/工作区/简介四栏内容层;群共享文件工作区对齐标准工作区页头几何;在线消息流拆分为独立模块并与本地群聊共用 `RoomAgentResultCard` 展示 Agent 回复与投递状态。 - 渠道绑定到群聊时改为公开模式:微信等外部消息以“来自微信 · 发送者”的身份发在群里并 @ 绑定的智能体,app 里能看到原话和流式回复;这条消息引出的群内公开回复(包括被 @ 接手的成员,带署名)统一由系统转回微信,智能体不再自行选择回传通道,对话只记录在群聊里。 - 沙箱相关设置集中到新的“设置 › 沙箱”(仅桌面端):桌面沙箱开关从“权限”移入,“检查沙箱支持”与“沙箱残留资源”从“运行时”移入,且不再要求先选择 nxs 引擎;依赖齐全的提示改为“可以开启桌面沙箱”,不再暗示新任务已在沙箱中运行。 - 统一界面零散样式:移除旧的第二套圆角刻度,侧栏 Dock、会话标签、Mermaid 图、代码块、Launcher 输入框、执行图卡片与内联命令标记的圆角改用统一档位;hover、展开等动效时长统一到同一组节奏;Slash 候选、执行图徽标和会话标签角标的小字从 8–9px 提升到 10px;提问卡片里的对勾改为与其他图标一致的细描边。 ### Fixed - 沙箱设置页:三行的开关与按钮统一靠右对齐、垂直居中,按钮改为带图标的描边按钮,等待时显示加载图标;“检查沙箱支持”按钮改为“检查”,不再重复行标题;诊断与回收结果按成功/警告/错误着色。 - 修复旧版或测试夹具缺少思考强度列表时模型选择器渲染崩溃:相关菜单与高度估算现在将缺失列表视为空列表,仍可正常使用模型与权限控制。 - 修复登录组织账号后在线群聊、私聊与“创建群聊 › 在线”被静默隐藏而无任何说明:线上服务缺少或无法返回多人能力(旧版本、升级中、网络失败)时,聊天目录、联系人目录与建群弹窗显示“在线服务暂不可用”并可重试,本地群聊不受影响;部署明确关闭多人时仍不提示。多人能力接口 `/nexus/v1/team/capabilities` 改为公开路由,登录前即可读取,不再返回 401。 - 修复连续对话时模型反复整段重读上下文、首包变慢:工作区 AGENTS.md 与 USER.md / SOUL.md / TOOLS.md 改由运行时按会话进程加载(压缩后重载),Connector 状态改为变化时才随消息告知,群聊 IM 回信说明改为按轮注入,系统提示词不再随文件改写、连接器配置或请求入口逐轮变化。此前智能体工作区的 AGENTS.md 档案实际没有发给模型,现在会生效。 - 修复桌面端登录、初始化等入口页无法拖动窗口:页面空白处可拖动;登录页的“返回”移到左上角窗口按钮旁,不再和“登录”挤在表单里。 - 修复用户消息气泡两三个字就换行:85% 宽度上限改为以消息行为基准,不再随气泡自身收缩。 - 修复微信等频道恢复正常收发后仍提示“频道连接异常”:启动成功会清除上次遗留的错误,通道实时就绪时不再显示旧错误。 - 整理配对页:下拉框文字改为左对齐,会话目标与处理智能体使用同一种选择框样式并铺满卡片,技术详情改为一行一项的清单。 - 修复侧栏搜索旁的新建按钮、品牌栏折叠按钮、底部设置按钮及在线不可用提示的关闭按钮不在同一垂线:统一以侧栏右缘内 26px 为中轴;搜索框与提醒固定在顶部,下方列表独立滚动并预留滚动条宽度,Windows 与 Web 出现滚动条时行尾按钮不再跳动。 - 修复 macOS 升级后沙箱 scratch 所在卷的 `st_dev` 编号漂移导致恢复身份永久不匹配、启动栅栏无法解除的问题;身份格式保持不变,匹配仅忽略设备号漂移,仍严格校验 inode、generation 与创建时间。 - macOS 从 Finder 启动的桌面 App 不再在“检查沙箱支持”里误报“沙箱所需的本机依赖不齐全”:sidecar 把包内 `bin`(随包 `rg` 等工具)追加到 PATH 末尾,不遮蔽用户 PATH 中的同名工具。

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 完整的六人狼人杀游戏实现,包含角色分配、昼夜流程、投票机制等核心功能
  • 支持用户参与和旁观两种模式,适用场景明确
  • 具备完善的隐私保护和信息流控制机制
Trigger Precision88/100

Highlights

  • 触发词精准:werewolf, six-player, game, room 等标签准确描述功能
  • description 清晰说明用户可选择参与或旁观,边界明确
  • 不易与其他游戏类 Skill 产生混淆
Structure and Standards92/100

Highlights

  • 结构清晰:Game Setup, Wake Plumbing, Night Flow, Day Flow 等章节逻辑分明
  • 包含完整的 JSON 工具调用示例和流程说明
  • frontmatter 完整,单文件长度适中
Execution Reliability90/100

Highlights

  • 工具使用规范:nexus.send_message 和 AskUserQuestion 参数完整正确
  • 异常处理完善:涵盖玩家不足、角色分配、用户参与等关键场景
  • 隐私边界清晰:严格区分 public/private 信息流,防止信息泄露
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.