- Dockerfile now runs tsc during build so committed dist/ is never stale - ChatResult interface was missing history[] and memoryUpdates[] fields - Re-add missing MemoryUpdate import in orchestrator.ts - Rebuild dist/ with all new fields included Made-with: Cursor
27 lines
718 B
TypeScript
27 lines
718 B
TypeScript
export interface MemoryUpdate {
|
|
key: string;
|
|
type: string;
|
|
value: string;
|
|
}
|
|
export interface ToolContext {
|
|
workspaceRoot: string;
|
|
gitea: {
|
|
apiUrl: string;
|
|
apiToken: string;
|
|
username: string;
|
|
};
|
|
coolify: {
|
|
apiUrl: string;
|
|
apiToken: string;
|
|
};
|
|
/** Accumulated memory updates from save_memory tool calls in this turn */
|
|
memoryUpdates: MemoryUpdate[];
|
|
}
|
|
export interface ToolDefinition {
|
|
name: string;
|
|
description: string;
|
|
parameters: Record<string, unknown>;
|
|
}
|
|
export declare const ALL_TOOLS: ToolDefinition[];
|
|
export declare function executeTool(name: string, args: Record<string, unknown>, ctx: ToolContext): Promise<unknown>;
|