Каркас monorepo: scheduler, data_collector, khbuild_assistant_prep, khb_common; миграции; CI/CD
Some checks failed
ci / test (push) Failing after 20s
ci / deploy (push) Has been skipped

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 09:44:50 +03:00
commit ebb1cb7950
101 changed files with 4971 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { z } from "zod";
export const assistantPrepSchema = z.object({
http: z.object({ host: z.string().default("127.0.0.1"), port: z.number(), token: z.string().min(1) }),
lookaheadWorkDays: z.number().default(10),
modes: z.array(z.string()).default(["test"]),
requiredTables: z.array(z.string()).default(["jt_job", "jt_membership", "jt_task", "jt_task_dependency", "jt_task_assignment"]),
maxSnapshotAgeMinutes: z.number().default(90),
agent: z.object({ triggerUrl: z.string(), triggerToken: z.string() }),
});
export type AssistantPrepSettings = z.infer<typeof assistantPrepSchema>;