refactor: trim cron and rescue exports

This commit is contained in:
Peter Steinberger
2026-05-01 22:27:33 +01:00
parent 5b613cfa89
commit a45c92b992
3 changed files with 9 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
import type { OpenClawConfig } from "../config/types.openclaw.js";
import type { CrestodianOverview } from "./overview.js";
export const CRESTODIAN_CLAUDE_CLI_MODEL = "claude-opus-4-7";
export const CRESTODIAN_CODEX_MODEL = "gpt-5.5";
const CRESTODIAN_CLAUDE_CLI_MODEL = "claude-opus-4-7";
const CRESTODIAN_CODEX_MODEL = "gpt-5.5";
export type CrestodianLocalPlannerBackend = {
type CrestodianLocalPlannerBackend = {
kind: "claude-cli" | "codex-app-server" | "codex-cli";
label: string;
runner: "cli" | "embedded";

View File

@@ -1,7 +1,7 @@
import type { OpenClawConfig } from "../config/types.openclaw.js";
import { normalizeAgentId } from "../routing/session-key.js";
export type CrestodianRescueDecision =
type CrestodianRescueDecision =
| {
allowed: true;
enabled: true;
@@ -21,7 +21,7 @@ export type CrestodianRescueDecision =
message: string;
};
export type CrestodianRescuePolicyInput = {
type CrestodianRescuePolicyInput = {
cfg: OpenClawConfig;
agentId?: string;
senderIsOwner: boolean;

View File

@@ -34,10 +34,10 @@ export type CronRunLogEntry = {
nextRunAtMs?: number;
} & CronRunTelemetry;
export type CronRunLogSortDir = "asc" | "desc";
export type CronRunLogStatusFilter = "all" | "ok" | "error" | "skipped";
type CronRunLogSortDir = "asc" | "desc";
type CronRunLogStatusFilter = "all" | "ok" | "error" | "skipped";
export type ReadCronRunLogPageOptions = {
type ReadCronRunLogPageOptions = {
limit?: number;
offset?: number;
jobId?: string;
@@ -49,7 +49,7 @@ export type ReadCronRunLogPageOptions = {
sortDir?: CronRunLogSortDir;
};
export type CronRunLogPageResult = {
type CronRunLogPageResult = {
entries: CronRunLogEntry[];
total: number;
offset: number;