iwsdk CLI starts the development server and a managed Playwright browser.iwsdk-runtime MCP server exposes the current public tool contract to your AI tool.npx iwsdk dev up npx iwsdk dev status
public/scenes/ are a direct authoring surface for both people and agents. An agent can split a scene into imported modules, edit those JSON files with normal file tools, and use MCP to validate and preview the result.scene_render_file for each changed module and then for the composed root.scene_flatten_file once to write an import-free runtime scene.scene_open only on the flattened file.scene_get_state, scene_set_camera, and scene_screenshot to inspect the editor result.browser_screenshot and browser_get_console_logs to verify the application runtime.scene_render_file renders a detached file without replacing the active editor document. If validation fails, it returns diagnostics and does not produce a preview image. scene_open rejects a composition that still contains imports, so flattening is required before opening that composition. Write the flattened output to the scene path configured by iwsdk.config.json, or update that manifest path and restart the session, before testing the application runtime. A successful flatten reports matching sourceRuntimeHash and outputRuntimeHash; the source-document, composed-document, and runtime hashes represent different projections and are not expected to equal one another.AGENTS.md, scoped guidance, and portable skills under .agents/skills/. The generated skills include iwsdk-scene-composer for native scene work. Claude-compatible projects also receive Claude-native skills and a CLAUDE.md shim that imports the canonical guidance.npx iwsdk adapter sync to refresh supported MCP adapter and permission entries. Sync preserves unrelated configuration, but it does not refresh the generated skill files or overwrite existing instruction files. See Getting started with AI for adapter-specific files and approval behavior.| Mode | Managed browser | DevUI | Use it when |
|---|---|---|---|
collaborate | Headed and resizable | On | A person and an agent share the same visible session. |
agent | Headless with a fixed viewport | Off | An agent runs a deterministic, unattended session. |
npx iwsdk dev up without --ai-mode starts a headed, open workspace-only session. It does not silently select an AI mode. See Modes for the full settings matrix.iwsdk-runtime exposes 45 public tools across these areas:npx iwsdk mcp inspect to read the installed tool inventory. Use npx iwsdk mcp inspect --tool <tool-name> to read one tool’s current input schema. The MCP tools reference describes the public groups and their evidence boundaries.iwsdk-runtime. It can also register these installed packages:@iwsdk/reference for IWSDK reference lookup and local reference-asset utilities@meta-quest/metavr for its separately installed MCP capabilities