UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines (10 loc) • 492 B
import { type Context, defineService, type ReplicatedState } from "@earendil-works/chord"; export interface ExampleFacetReply { readonly message: string; readonly workerActivations: number; } export interface ExampleFacetService { readonly workerActivations: ReplicatedState<{ count: number }>; greet(input: { readonly name: string }, context: Context): Promise<ExampleFacetReply>; } export const ExampleFacetService = defineService<ExampleFacetService>("pi.example-plugin.greeting");