MCPcopy
hub / github.com/humanlayer/12-factor-agents / Section

Interface Section

packages/walkthroughgen/src/cli.ts:7–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { execSync } from 'child_process';
6
7interface Section {
8 title: string;
9 text?: string;
10 name?: string; // Optional, used for folder naming
11 steps?: Array<{
12 text?: string; // Make text optional
13 file?: { src: string; dest: string };
14 command?: string;
15 incremental?: boolean; // New field: if true, command only runs for folders target
16 dir?: { create: boolean; path: string }; // Added dir step type
17 results?: Array<{ text: string; code: string }>;
18 }>;
19}
20
21interface WalkthroughData {
22 title: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected