Skip to content

概览

Vifu docs 面向构建 companion-native agentic browser game 的开发者。Game 作为 static web content 运行,通过 Companion SDK 暴露安全 state,并接收 Vifu host 请求的小型 player-visible action。

Platform surface

Area内容
Browser runtimeHTML entry、static assets、iframe behavior、local boot requirements。
Companion SDKcontext、command、observation、signal、reaction、host connection status。
Vifu CLIproject creation、local run/test/build workflows、publishing commands。
Manifestentry file 和 companion.plugin.v1 capability。
Release channelcurrent package version、protocol compatibility、migration notes。

Start here

  1. 阅读 Quickstart
  2. 添加 @consenger/companion-sdk
  3. 安装 @consenger/vifu 用于本地 workflow。
  4. 声明 manifest capability
  5. 确认 browser runtime contract

Good fit

  • HTML、Canvas、Phaser、Pixi、Three.js 和 Godot web exports。
  • Language-learning games、quizzes、simulations、flashcards 和 lightweight interactive scenes。
  • 能描述 current state,并向 companion 暴露小型安全 action 的 games。