cline/cline · error
schedule does not exist
Error message
schedule does not exist
What it means
Error "schedule does not exist" thrown in cline/cline.
Source
Thrown at sdk/packages/core/src/cron/service/schedule-tool.ts:209
function canonicalSessionDefaults(
defaults: ScheduleSessionDefaults,
): ScheduleSessionDefaults {
const workspaceRoot = canonicalExistingPath(
defaults.workspaceRoot,
"workspaceRoot",
);
const cwd = defaults.cwd
? canonicalWorkspacePath(workspaceRoot, defaults.cwd, "cwd")
: workspaceRoot;
assertPathWithin(workspaceRoot, cwd, "cwd");
return { ...defaults, workspaceRoot, cwd };
}
function assertScheduleScope(
schedule: ScheduleRecord | undefined,
defaults: ScheduleSessionDefaults,
): asserts schedule is ScheduleRecord {
if (!schedule) throw new Error("schedule does not exist");
if (!sameWorkspace(schedule.workspaceRoot, defaults.workspaceRoot)) {
throw new Error("schedule is outside this session's workspace scope");
}
const scheduleWorkspaceRoot = canonicalExistingPath(
schedule.workspaceRoot,
"schedule workspaceRoot",
);
if (schedule.cwd) {
const scheduleCwd = canonicalWorkspacePath(
scheduleWorkspaceRoot,
schedule.cwd,
"schedule cwd",
);
assertPathWithin(scheduleWorkspaceRoot, scheduleCwd, "schedule cwd");
}
}
function modelSelectionOf(View on GitHub (pinned to 491b30b806)
When it happens
Trigger: Thrown at sdk/packages/core/src/cron/service/schedule-tool.ts:209 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of cline/cline@491b30b806 (2026-08-25).
Data as JSON: /api/errors/3a0117e100689f16.
Report an issue: GitHub.