chore(sdk): satisfy CI gates — config catalog, md-wrap, knip

Regenerate docs/config-catalog.md for the telemetry package, unwrap the
design doc's multi-line blockquote paragraphs, and stop exporting the
create-sdk headless spec internals that have no external consumer.
This commit is contained in:
imccyu
2026-07-18 16:32:08 +08:00
parent 560ce3b539
commit ed418827c2
3 changed files with 5 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import type { CreateArgs } from './args.ts'
* (the interactive tree/suggests prompts are skipped). Absent required answers make
* the run fail loud through `HeadlessPromptPort` rather than blocking.
*/
export interface HeadlessCreateSpec {
interface HeadlessCreateSpec {
directory?: string
description?: string
provider?: 'deepseek' | 'custom'
@@ -43,7 +43,7 @@ function asRecord(value: unknown, source: string): Record<string, unknown> {
}
/** Parse and shallow-validate a headless spec from JSON text. */
export function parseHeadlessSpec(text: string, source: string): HeadlessCreateSpec {
function parseHeadlessSpec(text: string, source: string): HeadlessCreateSpec {
let parsed: unknown
try {
parsed = JSON.parse(text)