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

推荐订阅源

P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
B
Blog
月光博客
月光博客
博客园 - 【当耐特】
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
博客园 - Franky
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
B
Blog RSS Feed
H
Help Net Security

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(media): remove common helper facades · openclaw/...
vincentkoc · 2026-06-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -2,5 +2,5 @@

22

export { applyMediaUnderstanding } from "../../media-understanding/apply.js";

33

export { MediaAttachmentCache } from "../../media-understanding/attachments.js";

44

export { normalizeAttachments } from "../../media-understanding/attachments.normalize.js";

5-

export { isMediaUnderstandingSkipError } from "../../media-understanding/errors.js";

5+

export { isMediaUnderstandingSkipError } from "../../../packages/media-understanding-common/src/errors.js";

66

export { resolveMediaAttachmentLocalRoots } from "../../media-understanding/runner.js";

Original file line numberDiff line numberDiff line change

@@ -7,7 +7,7 @@ import { AcpRuntimeError } from "../../acp/runtime/errors.js";

77

import type { AcpSessionStoreEntry } from "../../acp/runtime/session-meta.js";

88

import type { OpenClawConfig } from "../../config/config.js";

99

import type { SessionBindingRecord } from "../../infra/outbound/session-binding-service.js";

10-

import type { MediaUnderstandingSkipError } from "../../media-understanding/errors.js";

10+

import type { MediaUnderstandingSkipError } from "../../../packages/media-understanding-common/src/errors.js";

1111

import { withFetchPreconnect } from "../../test-utils/fetch-mock.js";

1212

import {

1313

resolveAgentAttachments,

Original file line numberDiff line numberDiff line change

@@ -12,19 +12,19 @@ import { logVerbose, shouldLogVerbose } from "../globals.js";

1212

import { renderFileContextBlock } from "../media/file-context.js";

1313

import { extractFileContentFromSource, normalizeMimeType } from "../media/input-files.js";

1414

import { wrapExternalContent } from "../security/external-content.js";

15-

import type { ActiveMediaModel } from "./active-model.types.js";

15+

import type { ActiveMediaModel } from "../../packages/media-understanding-common/src/active-model.js";

16+

import {

17+

extractMediaUserText,

18+

formatAudioTranscripts,

19+

formatMediaUnderstandingBody,

20+

} from "../../packages/media-understanding-common/src/format.js";

1621

import { resolveAttachmentKind } from "./attachments.js";

1722

import { runWithConcurrency } from "./concurrency.js";

1823

import { DEFAULT_ECHO_TRANSCRIPT_FORMAT, sendTranscriptEcho } from "./echo-transcript.js";

1924

import {

2025

type FileExtractionLimits,

2126

resolveFileExtractionLimits,

2227

} from "./file-extraction-limits.js";

23-

import {

24-

extractMediaUserText,

25-

formatAudioTranscripts,

26-

formatMediaUnderstandingBody,

27-

} from "./format.js";

2828

import { resolveConcurrency } from "./resolve.js";

2929

import {

3030

buildProviderRegistry,

Original file line numberDiff line numberDiff line change

@@ -21,7 +21,7 @@ import {

2121

import { getDefaultMediaLocalRoots } from "../media/local-roots.js";

2222

import { buildRandomTempFilePath } from "../plugin-sdk/temp-path.js";

2323

import { normalizeAttachmentPath } from "./attachments.normalize.js";

24-

import { MediaUnderstandingSkipError } from "./errors.js";

24+

import { MediaUnderstandingSkipError } from "../../packages/media-understanding-common/src/errors.js";

2525

import type { MediaAttachment } from "./types.js";

2626
2727

type MediaBufferResult = {

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@

33

import type { MsgContext } from "../auto-reply/templating.js";

44

import type { OpenClawConfig } from "../config/types.js";

55

import { logVerbose, shouldLogVerbose } from "../globals.js";

6-

import type { ActiveMediaModel } from "./active-model.types.js";

6+

import type { ActiveMediaModel } from "../../packages/media-understanding-common/src/active-model.js";

77

import { isAudioAttachment } from "./attachments.js";

88

import { runAudioTranscription } from "./audio-transcription-runner.js";

99

import { DEFAULT_ECHO_TRANSCRIPT_FORMAT, sendTranscriptEcho } from "./echo-transcript.js";

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@

22

// pipeline and extracts the first transcript output.

33

import type { MsgContext } from "../auto-reply/templating.js";

44

import type { OpenClawConfig } from "../config/types.js";

5-

import type { ActiveMediaModel } from "./active-model.types.js";

5+

import type { ActiveMediaModel } from "../../packages/media-understanding-common/src/active-model.js";

66

import {

77

buildProviderRegistry,

88

createMediaAttachmentCache,

Original file line numberDiff line numberDiff line change

@@ -4,12 +4,12 @@ import { normalizeOptionalString } from "@openclaw/normalization-core/string-coe

44

import { uniqueStrings } from "@openclaw/normalization-core/string-normalization";

55

import { resolveRuntimeConfigCacheKey } from "../config/runtime-snapshot.js";

66

import type { OpenClawConfig } from "../config/types.js";

7+

import { providerSupportsCapability } from "../../packages/media-understanding-common/src/provider-supports.js";

78

import { buildMediaUnderstandingManifestMetadataRegistry } from "./manifest-metadata.js";

89

import {

910

normalizeMediaExecutionProviderId,

1011

normalizeMediaProviderId,

1112

} from "./provider-registry.js";

12-

import { providerSupportsCapability } from "./provider-supports.js";

1313

import type { MediaUnderstandingCapability, MediaUnderstandingProvider } from "./types.js";

1414

export {

1515

CLI_OUTPUT_MAX_BUFFER,