惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
Hugging Face - Blog
Hugging Face - Blog
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
F
Fortinet All Blogs
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
Jina AI
Jina AI
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
S
SegmentFault 最新的问题
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
美团技术团队
博客园 - 司徒正美
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
refactor: trim memory wiki helper exports · openclaw/open...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -7,13 +7,13 @@ import {

77

} from "openclaw/plugin-sdk/text-runtime";

88

import YAML from "yaml";

9910-

export const WIKI_PAGE_KINDS = ["entity", "concept", "source", "synthesis", "report"] as const;

10+

const WIKI_PAGE_KINDS = ["entity", "concept", "source", "synthesis", "report"] as const;

1111

export const WIKI_RELATED_START_MARKER = "<!-- openclaw:wiki:related:start -->";

1212

export const WIKI_RELATED_END_MARKER = "<!-- openclaw:wiki:related:end -->";

13131414

export type WikiPageKind = (typeof WIKI_PAGE_KINDS)[number];

151516-

export type ParsedWikiMarkdown = {

16+

type ParsedWikiMarkdown = {

1717

frontmatter: Record<string, unknown>;

1818

body: string;

1919

};

@@ -39,7 +39,7 @@ export type WikiClaim = {

3939

updatedAt?: string;

4040

};

414142-

export type WikiPersonCard = {

42+

type WikiPersonCard = {

4343

canonicalId?: string;

4444

handles: string[];

4545

socials: string[];

@@ -180,7 +180,7 @@ export function renderWikiMarkdown(params: {

180180

return `---\n${frontmatter}\n---\n\n${params.body.trimStart()}`;

181181

}

182182183-

export function extractTitleFromMarkdown(body: string): string | undefined {

183+

function extractTitleFromMarkdown(body: string): string | undefined {

184184

const match = body.match(/^#\s+(.+?)\s*$/m);

185185

return normalizeOptionalString(match?.[1]);

186186

}

@@ -365,7 +365,7 @@ function normalizeWikiRelationships(value: unknown): WikiRelationship[] {

365365

});

366366

}

367367368-

export function extractWikiLinks(markdown: string): string[] {

368+

function extractWikiLinks(markdown: string): string[] {

369369

const searchable = markdown.replace(RELATED_BLOCK_PATTERN, "");

370370

const links: string[] = [];

371371

for (const match of searchable.matchAll(OBSIDIAN_LINK_PATTERN)) {