mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 15:02:32 +00:00
Add comprehensive RPC protocol documentation
This commit is contained in:
parent
faa0b5f6da
commit
92b2ba9e91
2 changed files with 470 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import type { AgentState } from "@mariozechner/pi-agent-core";
|
||||
import type { AgentState, AppMessage } from "@mariozechner/pi-agent-core";
|
||||
import { randomBytes } from "crypto";
|
||||
import { appendFileSync, existsSync, mkdirSync, readdirSync, readFileSync, statSync } from "fs";
|
||||
import { homedir } from "os";
|
||||
|
|
@ -25,7 +25,7 @@ export interface SessionHeader {
|
|||
export interface SessionMessageEntry {
|
||||
type: "message";
|
||||
timestamp: string;
|
||||
message: any; // AppMessage from agent state
|
||||
message: AppMessage;
|
||||
}
|
||||
|
||||
export interface ThinkingLevelChangeEntry {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue