@file — Type @ followed by a filename to search and reference workspace files
#symbol — Type # followed by a symbol name to search and reference workspace symbols
Quick Commands
Type / in the chat input for the command menu:
/help — Show help information
/clear — Clear chat history
/export — Export current session as JSON
/settings — Open Agentao settings
/models — Show available models
Architecture
This extension communicates with agentao via the Agent Client Protocol (ACP) v1 — a stdio-based JSON-RPC 2.0 protocol. The extension spawns agentao --acp --stdio as a subprocess and exchanges NDJSON messages over stdin/stdout.
Project Structure
src/
├── acp/
│ ├── client.ts # ACP client implementation
│ ├── types.ts # ACP type definitions
│ └── json-types.ts # JSON-RPC base types
├── chat/
│ ├── chat-view-provider.ts # Webview provider
│ ├── message-list.ts # Message list management
│ └── webview/
│ └── chat.ts # Webview frontend code
├── persistence/
│ └── session-store.ts # Session and state persistence
├── ui/
│ ├── output-channel.ts # Output channel logging
│ ├── status-bar.ts # Model status bar item
│ └── tool-permission.ts # Tool permission handling
└── extension.ts # Main extension entry point