add-rpc

Official

Extend Wave Terminal's communication.

Authorwavetermdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide for developers to add new Remote Procedure Calls (RPC) to Wave Terminal, enabling new forms of communication and functionality between its various components.

Core Features & Use Cases

  • RPC Command Definition: Learn how to define new RPC methods, including request and response types, in the central interface.
  • Code Generation: Understand how to use the task generate command to automatically create necessary TypeScript bindings and Go helper code.
  • Implementation Guidance: Get detailed instructions on where and how to implement new RPC commands within the Wave Terminal architecture (main server, Electron, frontend, remote server, terminal block).
  • Streaming Commands: Learn how to implement commands that return data progressively using channels.
  • Use Case: A developer needs to add a new command to allow the frontend to request a list of active terminal sessions from the backend. This guide walks them through defining the GetActiveSessionsCommand, generating the types, and implementing the logic in the wshserver.go file.

Quick Start

Follow the steps in this guide to add a new RPC command to Wave Terminal.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-rpc
Download link: https://github.com/wavetermdev/waveterm/archive/main.zip#add-rpc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.