Skip to content

Commit 2f55677

Browse files
committed
chore: add JSDoc documentation to DailyOrchestrator and DailyExecutionOptions
1 parent 9a06ef2 commit 2f55677

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/orchestration/daily.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
import { type AgentRunOptions, agentOrchestrator } from './agent.js';
22

3+
/** Options accepted by the daily orchestrator. Aliased from {@link AgentRunOptions}. */
34
export type DailyExecutionOptions = AgentRunOptions;
45

6+
/**
7+
* Thin wrapper that delegates to the agent orchestrator.
8+
*
9+
* The `daily` command exists as a backward-compatible alias for `openmeta agent`.
10+
* All real logic lives in {@link agentOrchestrator}; this class keeps the command
11+
* registration layer decoupled so that future daily-specific behaviour (e.g.
12+
* scheduled digest output) can be layered in without touching the agent flow.
13+
*/
514
export class DailyOrchestrator {
615
async execute(options: DailyExecutionOptions = {}): Promise<void> {
716
await agentOrchestrator.run(options);

0 commit comments

Comments
 (0)