From 0bf590d01ac580461135018c94fed03ada47ba3e Mon Sep 17 00:00:00 2001 From: zhangjun-bytedance Date: Tue, 26 May 2026 18:42:29 +0800 Subject: [PATCH] feat: get minutes keywords (#1079) Parse keywords from minutes artifacts API in vc +notes and document the field in lark-vc skill references. Co-authored-by: Cursor --- shortcuts/vc/vc_notes.go | 3 +++ shortcuts/vc/vc_notes_test.go | 1 + skills/lark-vc/SKILL.md | 3 ++- skills/lark-vc/references/lark-vc-notes.md | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/shortcuts/vc/vc_notes.go b/shortcuts/vc/vc_notes.go index 2c1455e2..4b03a7e7 100644 --- a/shortcuts/vc/vc_notes.go +++ b/shortcuts/vc/vc_notes.go @@ -414,6 +414,9 @@ func fetchInlineArtifacts(runtime *common.RuntimeContext, minuteToken string, re if chapters, ok := data["minute_chapters"].([]any); ok && len(chapters) > 0 { result["chapters"] = chapters } + if keywords, ok := data["keywords"].([]any); ok && len(keywords) > 0 { + result["keywords"] = keywords + } } // parseArtifactType extracts artifact_type as int from varying JSON number representations. diff --git a/shortcuts/vc/vc_notes_test.go b/shortcuts/vc/vc_notes_test.go index 9027cce1..5757c515 100644 --- a/shortcuts/vc/vc_notes_test.go +++ b/shortcuts/vc/vc_notes_test.go @@ -126,6 +126,7 @@ func artifactsStub(token string) *httpmock.Stub { "summary": "Test summary content", "minute_todos": []interface{}{map[string]interface{}{"content": "Buy milk"}}, "minute_chapters": []interface{}{map[string]interface{}{"title": "Intro", "summary_content": "Opening"}}, + "keywords": []interface{}{"budget", "roadmap"}, }, }, } diff --git a/skills/lark-vc/SKILL.md b/skills/lark-vc/SKILL.md index 2623de1a..e471b16b 100644 --- a/skills/lark-vc/SKILL.md +++ b/skills/lark-vc/SKILL.md @@ -96,7 +96,8 @@ Meeting (视频会议) ├── Transcript (文字记录) ├── Summary (总结) ├── Todos (待办) - └── Chapters (章节) + ├── Chapters (章节) + └── Keywords (推荐关键词) ``` > **注意**:`+search` 只能查询已结束的历史会议。查询未来的日程安排请使用 [lark-calendar](../lark-calendar/SKILL.md)。 diff --git a/skills/lark-vc/references/lark-vc-notes.md b/skills/lark-vc/references/lark-vc-notes.md index 1ada8353..00b5fd7e 100644 --- a/skills/lark-vc/references/lark-vc-notes.md +++ b/skills/lark-vc/references/lark-vc-notes.md @@ -93,6 +93,7 @@ lark-cli vc +notes --meeting-ids 69xxxxxxxxxxxxx28 --dry-run | `artifacts.summary` | AI 总结(JSON 内联) | | `artifacts.todos` | 待办事项(JSON 内联) | | `artifacts.chapters` | 章节纪要(JSON 内联) | +| `artifacts.keywords` | 妙记推荐关键词(JSON 内联) | | `artifacts.transcript_file` | 逐字稿本地文件路径。默认落到 `./minutes/{minute_token}/transcript.txt`(与 `minutes +download` 聚合);显式 `--output-dir` 时走旧布局 `./{output-dir}/artifact-{title}-{token}/transcript.txt` | ## 如何获取输入参数