Manage workspace paper subsets — create workspaces, add/remove papers, search within a workspace, and export BibTeX. Workspaces are thin layers that reference papers in the main library by UUID. Use when the user wants to organize papers into groups for writing, review, or focused analysis.
工作区是论文子集管理工具。每个工作区引用主库中的论文(通过 UUID),支持在子集内搜索和导出。
scholaraio ws init <名称>
逐个添加:
scholaraio ws add <名称> <论文标识...>
论文标识可以是:DOI、目录名、UUID、或搜索关键词(模糊匹配)。
批量添加:
scholaraio ws add <名称> --search "<查询词>" [--top N] [--year YYYY] [--journal 期刊名] [--type 类型]
scholaraio ws add <名称> --topic <主题ID>
scholaraio ws add <名称> --all
--search:按融合检索结果批量添加,支持 --top/--year/--journal/--type 过滤--topic:按 BERTopic 主题 ID 批量添加该主题下的全部论文--all:将主库全部论文加入工作区三个批量参数互斥。提供批量参数时,位置参数 <论文标识> 被忽略。
scholaraio ws remove <名称> <论文标识...>
scholaraio ws list
scholaraio ws show <名称>
scholaraio ws search <名称> "<查询词>" [--top N] [--year YYYY] [--journal 期刊名]
使用融合检索(关键词 + 语义),范围限定在工作区论文内。
scholaraio ws export <名称> [--year YYYY] [--journal 期刊名]
ws show 的输出应由 subagent 执行并返回摘要(如"工作区包含 N 篇论文,涵盖 XX 方向"),避免直接输出长列表到主 context用户说:"帮我建一个 drag reduction 的工作区"
→ 执行 ws init drag-reduction
用户说:"把这几篇论文加到工作区"
→ 执行 ws add drag-reduction <DOI或目录名...>
用户说:"把搜索到的论文都加到工作区"
→ 执行 ws add drag-reduction --search "turbulent drag reduction" --top 20
用户说:"把主题 3 的论文加到工作区"
→ 执行 ws add drag-reduction --topic 3
用户说:"在工作区里搜 turbulent boundary layer"
→ 执行 ws search drag-reduction "turbulent boundary layer"
用户说:"导出工作区的引用"
→ 执行 ws export drag-reduction
用户说:"我有哪些工作区"
→ 执行 ws list