From 97b97a9999f8515a7990a9485e91b3fb8dee78c2 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 21 Jun 2026 10:21:58 +0800 Subject: [PATCH] chore(deadcode): drop unused private exports --- extensions/oc-path/src/oc-path/index.ts | 9 --------- scripts/diffs-shiki-curated.ts | 3 --- 2 files changed, 12 deletions(-) diff --git a/extensions/oc-path/src/oc-path/index.ts b/extensions/oc-path/src/oc-path/index.ts index 3df5a963fef..75aa07e6b9b 100644 --- a/extensions/oc-path/src/oc-path/index.ts +++ b/extensions/oc-path/src/oc-path/index.ts @@ -24,15 +24,6 @@ * @module @openclaw/oc-path */ -/** - * SDK version this build of `@openclaw/oc-path` exposes. Bumped on - * every breaking change to AST shape, OcPath syntax, or universal - * verbs (`resolveOcPath`, `setOcPath`, `findOcPaths`, `parseXxx`, - * `emitXxx`). Plugin packs that depend on the substrate declare the - * version they were authored against and the host warns on mismatch. - */ -export const SDK_VERSION = "0.1.0"; - // AST types export type { AstBlock, AstItem, Diagnostic, FrontmatterEntry, ParseResult, MdAst } from "./ast.js"; export type { JsoncAst, JsoncEntry, JsoncValue } from "./jsonc/ast.js"; diff --git a/scripts/diffs-shiki-curated.ts b/scripts/diffs-shiki-curated.ts index 61bef2ef789..7aaeec39cc0 100644 --- a/scripts/diffs-shiki-curated.ts +++ b/scripts/diffs-shiki-curated.ts @@ -24,9 +24,6 @@ export { export { bundledThemes, bundledThemesInfo } from "shiki/themes"; import { bundledThemes } from "shiki/themes"; -export type BundledLanguage = keyof typeof bundledLanguages; -export type BundledTheme = keyof typeof bundledThemes; - export const createHighlighter = createBundledHighlighter({ langs: bundledLanguages, themes: bundledThemes,