refactor(agent): remove executeAgentToolWorkflow and invoke core services directly (#362)

* refactor(agent): remove executeAgentToolWorkflow and invoke core services directly

* fix(core): ensure creation atomicity, strict assetType filtering, and id-desc listing
This commit is contained in:
Yiling-J
2026-08-29 15:19:08 +08:00
committed by GitHub
parent 4b62c31f29
commit 083753a96d
27 changed files with 1044 additions and 1554 deletions
-7
View File
@@ -275,7 +275,6 @@ declare global {
queryEmbeddingForSearch?: {
text: string
}
agentToolCall?: AgentToolCallPayload
screenshot?: ScreenshotSpec
imageAnnotation?: ImageAnnotationSpec
pdfPages?: PdfPagesSpec
@@ -285,12 +284,6 @@ declare global {
// ----------------------------------------------------------------------
// Task Spec & Payload
// ----------------------------------------------------------------------
export interface AgentToolCallPayload {
toolName: string
args: Record<string, unknown>
userId: string
}
export interface TaskSpec {
videoStrategy?: VideoTranscodeStrategy
hardwareAcceleration?: HardwareAcceleration