ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
// The events of the agent module. A web write publishes the request; the module's own subscriber
// (in the worker's outbox relay) enqueues the run job with the run id as its singleton key, so a
// start, a cancel or a review resumes the one job.
import { defineEvent } from "@conusai-kit/core"
import { z } from "zod"
const inProject = {
orgId: z.string(),
workspaceId: z.string(),
projectId: z.string(),
}
/** A run was asked to start (or resume after a cancel/review decision). */
export const runResumeRequested = defineEvent(
"agent.runResumeRequested",
z.object({
...inProject,
runId: z.string(),
}),
)
export const AGENT_EVENTS = [runResumeRequested]