Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
export type ApplyStatus =
| "attaching"
| "post-attach"
| "pending"
| "pre-creating"
| "creating"
| "creating replacement"
| "created"
| "updating"
| "updated"
| "deleting"
| "deleted"
| "retained"
| "replacing"
| "replaced"
// Action lifecycle (see {@link Action})
| "running"
| "ran"
| "skipped"
| "fail";
export type ApplyEvent = AnnotateEvent | StatusChangeEvent;
export interface AnnotateEvent {
kind: "annotate";
id: string;
message: string;
}
export interface StatusChangeEvent {
kind: "status-change";
id: string; // resource id (e.g. "messages", "api")
type: string; // resource type (e.g. "AWS::Lambda::Function", "Cloudflare::Worker")
status: ApplyStatus;
message?: string; // optional details
bindingId?: string; // if this event is for a binding
}