概览
Vifu docs 面向构建 companion-native agentic browser game 的开发者。Game 作为 static web content 运行,通过 Companion SDK 暴露安全 state,并接收 Vifu host 请求的小型 player-visible action。
Platform surface
| Area | 内容 |
|---|---|
| Browser runtime | HTML entry、static assets、iframe behavior、local boot requirements。 |
| Companion SDK | context、command、observation、signal、reaction、host connection status。 |
| Vifu CLI | project creation、local run/test/build workflows、publishing commands。 |
| Manifest | entry file 和 companion.plugin.v1 capability。 |
| Release channel | current package version、protocol compatibility、migration notes。 |
Start here
- 阅读 Quickstart。
- 添加
@consenger/companion-sdk。 - 安装
@consenger/vifu用于本地 workflow。 - 声明 manifest capability。
- 确认 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。
