mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
refactor: trim cron and rescue exports
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user