用途:在终端管理 There There 帮助台,覆盖工单、消息、联系人、频道、标签和成员。安装与登录:先用 there-there --version 检查,未安装则 composer global require spatie/there-there-cli,并确保 Composer 全局 bin 目录在 PATH 中(composer global config bin-dir --absolute)。API 令牌在 https://there-there.app/settings/account/api-tokens 获取,执行 there-there login(可用 --profile=名称 指定配置文件);401 表示令牌失效,重新登录。支持多工作区配置:there-there profiles、there-there use spatie,单条命令可用 --profile 覆盖。
主要能力:get-me 查看用户与工作区;list-tickets 列出工单,支持 --filter-status、--filter-channel-ulids、--filter-tag-ulids、--filter-assigned-to-me、--filter-unassigned、--filter-assigned-user-ulid、--filter-created-after/--filter-created-before、--sort 与分页 --page/--per-page;show-ticket 查看工单消息与活动。搜索有两种:--q 为语义(AI 嵌入,需工作区启用 AI,否则 422),按相关性排序;--filter-search 为全文关键词搜索,可搜主题、消息与联系人信息。操作类命令包括 update-ticket-status、update-ticket-assignee(含 null 取消分配)、update-ticket-team、add-tag-to-ticket、remove-tag-from-ticket、reply-to-ticket、forward-ticket(to_recipients 为 JSON 数组)、add-note-to-ticket、list-ticket-activities、list-tags、list-channels、list-members、list-contacts、show-contact,以及 download-attachment。
使用方式:所有命令输出 JSON;回复与备注的 body 使用 HTML 字符串。典型分诊流程为列出开放工单、查看工单、回复客户、关闭已解决工单。限制:语义搜索依赖工作区启用 AI;令牌无效或过期会返回 401;资料未提供具体收费、价格、速率限制或完整参数细节,需参考项目内 references/commands.md 与 references/workflows.md。