init: vibn-agent-runner — Gemini autonomous agent backend
Made-with: Cursor
This commit is contained in:
24
dist/job-store.d.ts
vendored
Normal file
24
dist/job-store.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
export type JobStatus = 'queued' | 'running' | 'completed' | 'failed';
|
||||
export interface ToolCallRecord {
|
||||
turn: number;
|
||||
tool: string;
|
||||
args: unknown;
|
||||
timestamp: string;
|
||||
}
|
||||
export interface Job {
|
||||
id: string;
|
||||
agent: string;
|
||||
task: string;
|
||||
repo?: string;
|
||||
status: JobStatus;
|
||||
progress: string;
|
||||
toolCalls: ToolCallRecord[];
|
||||
result?: string;
|
||||
error?: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
export declare function createJob(agent: string, task: string, repo?: string): Job;
|
||||
export declare function getJob(id: string): Job | undefined;
|
||||
export declare function updateJob(id: string, updates: Partial<Job>): Job | undefined;
|
||||
export declare function listJobs(limit?: number): Job[];
|
||||
Reference in New Issue
Block a user