mirror of
https://github.com/cline/cline.git
synced 2026-09-19 10:13:34 +08:00
* round 1 * round 2 - searchFiles integration attempt * undo streaming search experiments * Start state.proto and related migrations * state subscription * get the main state flow using it * correct stream ending early, debug statements * clean up build-proto service config * autogenerate index.tses * auto-generate grpc-client service exports * rename web-content -> web to make codegen work * cleaned up streaming flow & cancels * v3.14.0 Release Notes v3.14.0 Release Notes * prettier * uhh prettier ? * rename GrpcRequestRegistry file * auto-generate directory for new services in the config * generate template proto if it doesn't exist and provide instructions * format fix * add models service back to new system --------- Co-authored-by: Andrei Edell <andrei@nugbase.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
18 lines
616 B
TypeScript
18 lines
616 B
TypeScript
// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY
|
|
// Generated by proto/build-proto.js
|
|
|
|
// Import all method implementations
|
|
import { registerMethod } from "./index"
|
|
import { getLatestState } from "./getLatestState"
|
|
import { subscribeToState } from "./subscribeToState"
|
|
|
|
// Streaming methods for this service
|
|
export const streamingMethods = ["subscribeToState"]
|
|
|
|
// Register all state service methods
|
|
export function registerAllMethods(): void {
|
|
// Register each method with the registry
|
|
registerMethod("getLatestState", getLatestState)
|
|
registerMethod("subscribeToState", subscribeToState, { isStreaming: true })
|
|
}
|