@audiofool/moondog 0.3.0-beta.16 → 0.3.0-beta.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -164,6 +164,10 @@ export default {
164
164
  "ok": "正常",
165
165
  "not set up (optional)": "未设置(可选)",
166
166
  "not working": "不可用",
167
+ "No library yet": "还没有曲库",
168
+ "waits for your library": "等你的曲库",
169
+ "Type `/import` in `moondog` to bring in your listening from Spotify, Apple Music, Last.fm or a playlist link.": "在 `moondog` 里输入 `/import`,从 Spotify、Apple Music、Last.fm 或一个歌单链接导入你的聆听。",
170
+ "To try it first, `moondog demo-history --output <absolute-file.zip>` makes a fictional Spotify history to import.": "想先试试的话,`moondog demo-history --output <绝对路径.zip>` 会生成一份虚构的 Spotify 历史供导入。",
167
171
  "Talking through `{model}`": "正在通过 `{model}` 对话",
168
172
  "Talking through your chosen model": "正在通过你选择的模型对话",
169
173
  "Not signed in yet. `/auth` fixes that.": "还没有登录。用 `/auth` 登录。",
@@ -176,7 +180,7 @@ export default {
176
180
  "Memory": "记忆",
177
181
  "Right now I can't change anything in your music accounts.": "目前我不能修改你音乐账号里的任何内容。",
178
182
  "I can make changes in your connected accounts, and I always ask first.": "我可以修改你已连接的账号,并且每次都会先问你。",
179
- "# Every command\n\nFrom your shell:\n\n- `moondog --version` - show the installed version\n- `moondog update [--check] [--channel latest|beta]` - check for or install a published release\n- `moondog web status|search|read [arguments] [--json]` - look things up on public music sites through DeepSeek, Brave Search or the Codex CLI\n- `moondog demo-history --output <absolute-file.zip> [--json]` - make a fictional Spotify history ZIP to try the importer with\n- `moondog auth login <provider>` - sign in to a model provider; the key is typed out of sight; `openai --chatgpt` signs in with your ChatGPT subscription\n- `moondog auth status [provider]` - see which sign-ins are saved\n- `moondog auth logout <provider>` - sign out of a provider\n- `moondog spotify help` - set up and control Spotify\n- `moondog spotify login [client-id]` - connect Spotify in your browser\n- `moondog spotify now|devices|queue` - see what Spotify is playing, where, and what's next\n- `moondog spotify recent` - see what you played lately\n- `moondog spotify sync-recent` - add your latest plays to your profile\n- `moondog spotify sync-library` - add your Spotify library to your profile\n- `moondog spotify play|pause|next|previous` - control Spotify playback\n- `moondog listenbrainz import-history <listen-history.json>` - add a ListenBrainz listens file to your profile\n- `moondog catalog latest-single --artist <name> [--known-release <title> | --from <spotify-history.zip>]` - find an artist's latest single on Apple Music (US), no model needed\n- `moondog status [--json]` - see where things stand\n- `moondog taste [--json]` - your listening report\n- `moondog taste --html [--output <file.html>]` - save your report as a web page that works offline\n- `moondog taste --card [--output <file.html>]` - save a short recap you can check before sharing\n- `moondog taste --from <spotify-history.zip> --html` - a one-off report from a Spotify ZIP, without saving it\n- `moondog taste --from <account-data.zip> --from <extended-history.zip> --html` - a one-off report from both Spotify exports together\n- `moondog taste --from <spotify-history.zip> --save --html` - save the Spotify history, then show your full report\n- `moondog data inspect --scope <listening|apple|profile>` - see what's stored, and get the code needed to reset it\n- `moondog data export --scope <listening|apple|profile> --output <directory>` - export a copy, leaving the original alone\n- `moondog data reset --scope <listening|apple|profile> --confirm <token>` - set stored data aside (it is archived, not deleted)\n- `moondog profile build [--force]` - build or resume a saved profile with your connected model\n- `moondog profile saved [offset]` - read your saved profile\n- `moondog profile explain <number>` - trace a saved finding to its evidence\n- `moondog profile corrections [--all]` - everything you've told me, including earlier choices\n- `moondog profile correct --artist <name> (--like|--avoid)` - like an artist, or keep them out\n- `moondog profile correct --track <title> --by <artist> (--like|--avoid)` - like a track, or keep it out\n- `moondog profile retract <correction-id>` - undo one of your choices\n- `moondog demo --offline [--json]` - a demo with made-up data, no sign-in needed\n- `moondog demo [prompt] [--json]` - the same demo, talking through your model\n- `moondog ask <prompt>` - ask one question and exit\n- `moondog remember <text>` - ask me to remember something\n- `moondog forget <memory-id>` - forget something\n- `moondog memory reflect [--dry-run] [--json]` - let me think over recent conversations now\n- `moondog` - open the listening room\n\nInside the listening room:\n\n- `/update [--check] [--channel latest|beta]` - check for updates, or save and close this session to install one\n- `/status` or `/sources` - see where things stand\n- `/profile` or `/taste` - your profile, and why each song or artist is there\n- `/taste report` - the whole report on one page\n- `/profile build [--force]` - build or resume a saved reading; Ctrl+C keeps progress\n- `/profile saved [offset]` - read your saved profile\n- `/profile explain <number>` - inspect a saved finding's evidence\n- `/profile corrections [--all]` - everything you've told me\n- `/profile correct --track \"<title>\" --by \"<artist>\" (--like|--avoid)` - like a track, or keep it out\n- `/profile correct --artist \"<name>\" (--like|--avoid)` - like an artist, or keep them out\n- `/profile retract <correction-id>` - undo a choice\n- `/memory` - what I remember\n- `/tools` - what I can do right now\n- `/doctor` - check your setup\n- `/model` - pick the model I talk through\n- `/model <provider> <model>` - switch straight to a model\n- `/model refresh [provider]` - update public model choices; keep the selected model\n- `/model roles` - see what side tasks use: the model that reads images and the web search service\n- `/model vision auto|<provider> <model>` - choose the model that reads images\n- `/model web auto|deepseek|brave|codex` - choose the web search service\n- `/effort` - choose how hard the model thinks\n- `/auth [provider]` - sign in to a model provider\n- `/endpoint add` or `/endpoint remove <id>` - add a model service by its address, or remove it\n- `/web status|search|read` - look things up on public music sites\n- `/import [path]` - bring in your history, library, or a playlist\n- `/library` - your saved songs and playlists\n- `/library play <name>` - play a playlist\n- `/library save [playlist]` - keep the song playing now\n- `/library import <link>` - copy a playlist from a link\n- `/generation on|off` - let Moondog make music on this Mac, or stop\n- `/generation download|use|remove|cancel` - set up a Stable Audio 3 model\n- `/onair` - go on air, or come off it\n- `/language` - choose the language Moondog uses\n- `/service [spotify|apple_music|netease]` - choose where I play music\n- `/spotify` - Spotify commands\n- `/spotify login [client-id]` - connect Spotify\n- `/spotify now|devices|queue` - see what's playing, where, and what's next\n- `/spotify recent|sync-recent` - see or save your latest plays\n- `/spotify import-history \"/path/to/spotify-history.zip\"` - add a Spotify ZIP, no sign-in needed\n- `/skip` or `/stop` - move to the next song preview or stream track, or stop them\n- `/home` - back to the record sleeve; the conversation stays\n- `/theme paper|charcoal|terminal|auto` - change the look\n- `/art braille|ascii|off` - change the artwork\n- `/motion on|off` - turn the animation on or off\n- `/lyrics` - the lyrics on the sleeve; `/lyrics sync` finds more\n- `/reload` - reload model settings and sign-ins\n- `/remember [kind] <text>` - ask me to remember something\n- `/forget <memory-id>` - forget something\n- `/rewind` or Alt+R - edit an earlier message in place; the messages after it are replaced\n- `/branch` - go on from here in a new conversation; this one stays saved\n- `/rewind latest` - edit the most recent message\n- `/resume` - pick up a saved conversation\n- `/resume <session-id>` - go straight to one\n- `/new` - start fresh; the last one stays saved\n- `/quit` - exit\n\nAnything you type that isn't a command goes to the model you picked with `/model`, or the one set in `MOONDOG_PROVIDER` and `MOONDOG_MODEL`.\nSign in with `/auth`, or set the provider's API key in your environment. `/auth openai` signs in with your ChatGPT subscription or an API key.\nOnce your profile is ready, I can search your library, explain what I see, and plan playlists with you.\nI can only control Spotify after `moondog spotify login`. I ask before I remove anything from your library, and I never post, send messages, or spend money.\nAsk me to move playback onto a device by name, such as your iPhone.": "# 全部命令\n\n在终端里:\n\n- `moondog --version` - 显示已安装的版本\n- `moondog update [--check] [--channel latest|beta]` - 检查或安装已发布的版本\n- `moondog web status|search|read [参数] [--json]` - 通过 DeepSeek、Brave Search 或 Codex CLI 在公开音乐网站上查资料\n- `moondog demo-history --output <绝对路径.zip> [--json]` - 生成一个虚构的 Spotify 历史 ZIP,用来试用导入\n- `moondog auth login <provider>` - 登录模型服务商;密钥输入时不显示,`openai --chatgpt` 用你的 ChatGPT 订阅登录\n- `moondog auth status [provider]` - 查看保存了哪些登录\n- `moondog auth logout <provider>` - 退出某个服务商\n- `moondog spotify help` - 设置并控制 Spotify\n- `moondog spotify login [client-id]` - 在浏览器里连接 Spotify\n- `moondog spotify now|devices|queue` - 查看 Spotify 正在放什么、在哪放、接下来是什么\n- `moondog spotify recent` - 查看你最近听了什么\n- `moondog spotify sync-recent` - 把最近的播放加入你的资料\n- `moondog spotify sync-library` - 把你的 Spotify 曲库加入你的资料\n- `moondog spotify play|pause|next|previous` - 控制 Spotify 播放\n- `moondog listenbrainz import-history <listen-history.json>` - 把 ListenBrainz 收听文件加入你的资料\n- `moondog catalog latest-single --artist <名字> [--known-release <标题> | --from <spotify-history.zip>]` - 在 Apple Music(美区)查找某位艺人的最新单曲,无需模型\n- `moondog status [--json]` - 查看当前状态\n- `moondog taste [--json]` - 你的聆听报告\n- `moondog taste --html [--output <文件.html>]` - 把报告保存为可离线打开的网页\n- `moondog taste --card [--output <文件.html>]` - 保存一份简短回顾,分享前可以先检查\n- `moondog taste --from <spotify-history.zip> --html` - 从一个 Spotify ZIP 生成一次性报告,不保存\n- `moondog taste --from <account-data.zip> --from <extended-history.zip> --html` - 从两份 Spotify 导出一起生成一次性报告\n- `moondog taste --from <spotify-history.zip> --save --html` - 保存 Spotify 历史,然后显示完整报告\n- `moondog data inspect --scope <listening|apple|profile>` - 查看保存了什么,并获取重置所需的代码\n- `moondog data export --scope <listening|apple|profile> --output <目录>` - 导出一份副本,原件保持不变\n- `moondog data reset --scope <listening|apple|profile> --confirm <代码>` - 把保存的数据移到一边(归档,不删除)\n- `moondog profile build [--force]` - 用已连接的模型生成或继续生成保存的资料\n- `moondog profile saved [偏移]` - 阅读你保存的资料\n- `moondog profile explain <编号>` - 追溯一条已保存发现的证据\n- `moondog profile corrections [--all]` - 你告诉过我的所有选择,包括早先的\n- `moondog profile correct --artist <名字> (--like|--avoid)` - 标记喜欢某位艺人,或不再推荐\n- `moondog profile correct --track <歌名> --by <艺人> (--like|--avoid)` - 标记喜欢某首歌,或不再推荐\n- `moondog profile retract <correction-id>` - 撤销你的一项选择\n- `moondog demo --offline [--json]` - 用虚构数据的演示,无需登录\n- `moondog demo [提示] [--json]` - 同样的演示,通过你的模型对话\n- `moondog ask <提示>` - 问一个问题后退出\n- `moondog remember <内容>` - 让我记住一件事\n- `moondog forget <memory-id>` - 忘掉一件事\n- `moondog memory reflect [--dry-run] [--json]` - 让我现在回顾最近的对话\n- `moondog` - 打开聆听室\n\n在聆听室里:\n\n- `/update [--check] [--channel latest|beta]` - 检查更新,或保存并关闭本次会话来安装\n- `/status` 或 `/sources` - 查看当前状态\n- `/profile` 或 `/taste` - 你的资料,以及每首歌、每位艺人为什么在这里\n- `/taste report` - 一页看完整份报告\n- `/profile build [--force]` - 生成或继续生成保存的解读;Ctrl+C 会保留进度\n- `/profile saved [偏移]` - 阅读你保存的资料\n- `/profile explain <编号>` - 查看一条已保存发现的证据\n- `/profile corrections [--all]` - 你告诉过我的所有选择\n- `/profile correct --track \"<歌名>\" --by \"<艺人>\" (--like|--avoid)` - 标记喜欢某首歌,或不再推荐\n- `/profile correct --artist \"<名字>\" (--like|--avoid)` - 标记喜欢某位艺人,或不再推荐\n- `/profile retract <correction-id>` - 撤销一项选择\n- `/memory` - 我记住的内容\n- `/tools` - 我现在能做什么\n- `/doctor` - 检查你的设置\n- `/model` - 选择我用来对话的模型\n- `/model <provider> <model>` - 直接切换到某个模型\n- `/model refresh [provider]` - 更新公开的模型列表;保留当前选择\n- `/model roles` - 看看副任务在用什么:读图的模型和网页搜索服务\n- `/model vision auto|<provider> <model>` - 选择读图的模型\n- `/model web auto|deepseek|brave|codex` - 选择网页搜索服务\n- `/effort` - 选择模型思考的程度\n- `/auth [provider]` - 登录模型服务商\n- `/endpoint add` 或 `/endpoint remove <id>` - 按地址添加模型服务,或移除它\n- `/web status|search|read` - 在公开音乐网站上查资料\n- `/import [路径]` - 导入你的历史、曲库或一个歌单\n- `/library` - 你收藏的歌和播放列表\n- `/library play <名称>` - 播放一个播放列表\n- `/library save [播放列表]` - 收藏正在放的歌\n- `/library import <链接>` - 从链接复制一个播放列表\n- `/generation on|off` - 让 Moondog 在这台 Mac 上做音乐,或停下\n- `/generation download|use|remove|cancel` - 设置 Stable Audio 3 模型\n- `/onair` - 开播,或下播\n- `/language` - 选择 Moondog 使用的语言\n- `/service [spotify|apple_music|netease]` - 选择我在哪里放音乐\n- `/spotify` - Spotify 命令\n- `/spotify login [client-id]` - 连接 Spotify\n- `/spotify now|devices|queue` - 查看正在放什么、在哪放、接下来是什么\n- `/spotify recent|sync-recent` - 查看或保存你最近的播放\n- `/spotify import-history \"/path/to/spotify-history.zip\"` - 加入一个 Spotify ZIP,无需登录\n- `/skip` 或 `/stop` - 跳到下一首试听或直播曲目,或停止它们\n- `/home` - 回到唱片封套;对话还在\n- `/theme paper|charcoal|terminal|auto` - 换外观\n- `/art braille|ascii|off` - 换插画\n- `/motion on|off` - 打开或关闭动画\n- `/lyrics` - 封套上的歌词;`/lyrics sync` 找更多\n- `/reload` - 重新加载模型设置和登录\n- `/remember [类型] <内容>` - 让我记住一件事\n- `/forget <memory-id>` - 忘掉一件事\n- `/rewind` 或 Alt+R - 就地编辑之前的一条消息;之后的消息会被替换\n- `/branch` - 从这里在新对话中继续;这段对话会保留\n- `/rewind latest` - 编辑最近的一条消息\n- `/resume` - 继续一段保存的对话\n- `/resume <session-id>` - 直接打开某一段\n- `/new` - 重新开始;上一段会保存下来\n- `/quit` - 退出\n\n你输入的非命令内容,会发给你用 `/model` 选的模型,或 `MOONDOG_PROVIDER` 和 `MOONDOG_MODEL` 指定的模型。\n用 `/auth` 登录,或在环境变量里设置服务商的 API 密钥。`/auth openai` 可以用 ChatGPT 订阅登录,也可以填 API 密钥。\n资料准备好之后,我可以搜索你的曲库、解释我看到的内容,并和你一起规划歌单。\n只有在 `moondog spotify login` 之后我才能控制 Spotify。从你的曲库移除东西之前我会先问你,而且我从不发帖、不发消息,也不花钱。\n说出设备名,比如你的 iPhone,我就能把播放切过去。",
183
+ "# Every command\n\nFrom your shell:\n\n- `moondog --version` - show the installed version\n- `moondog update [--check] [--channel latest|beta]` - check for or install a published release\n- `moondog web status|search|read [arguments] [--json]` - look things up on public music sites through DeepSeek, Brave Search or the Codex CLI\n- `moondog demo-history --output <absolute-file.zip> [--json]` - make a fictional Spotify history ZIP to try the importer with\n- `moondog auth login <provider>` - sign in to a model provider; the key is typed out of sight; `openai --chatgpt` signs in with your ChatGPT subscription\n- `moondog auth status [provider]` - see which sign-ins are saved\n- `moondog auth logout <provider>` - sign out of a provider\n- `moondog spotify help` - set up and control Spotify\n- `moondog spotify login [client-id]` - connect Spotify in your browser\n- `moondog spotify now|devices|queue` - see what Spotify is playing, where, and what's next\n- `moondog spotify recent` - see what you played lately\n- `moondog spotify sync-recent` - add your latest plays to your profile\n- `moondog spotify sync-library` - add your Spotify library to your profile\n- `moondog spotify play|pause|next|previous` - control Spotify playback\n- `moondog listenbrainz import-history <listen-history.json>` - add a ListenBrainz listens file to your profile\n- `moondog catalog latest-single --artist <name> [--known-release <title> | --from <spotify-history.zip>]` - find an artist's latest single on Apple Music (US), no model needed\n- `moondog status [--json]` - see where things stand\n- `moondog taste [--json]` - your listening report\n- `moondog taste --html [--output <file.html>]` - save your report as a web page that works offline\n- `moondog taste --card [--output <file.html>]` - save a short recap you can check before sharing\n- `moondog taste --from <spotify-history.zip> --html` - a one-off report from a Spotify ZIP, without saving it\n- `moondog taste --from <account-data.zip> --from <extended-history.zip> --html` - a one-off report from both Spotify exports together\n- `moondog taste --from <spotify-history.zip> --save --html` - save the Spotify history, then show your full report\n- `moondog data inspect --scope <listening|apple|profile>` - see what's stored, and get the code needed to reset it\n- `moondog data export --scope <listening|apple|profile> --output <directory>` - export a copy, leaving the original alone\n- `moondog data reset --scope <listening|apple|profile> --confirm <token>` - set stored data aside (it is archived, not deleted)\n- `moondog profile build [--force]` - build or resume a saved profile with your connected model\n- `moondog profile saved [offset]` - read your saved profile\n- `moondog profile explain <number>` - trace a saved finding to its evidence\n- `moondog profile corrections [--all]` - everything you've told me, including earlier choices\n- `moondog profile correct --artist <name> (--like|--avoid)` - like an artist, or keep them out\n- `moondog profile correct --track <title> --by <artist> (--like|--avoid)` - like a track, or keep it out\n- `moondog profile retract <correction-id>` - undo one of your choices\n- `moondog demo --offline [--json]` - a demo with made-up data, no sign-in needed\n- `moondog demo [prompt] [--json]` - the same demo, talking through your model\n- `moondog ask <prompt>` - ask one question and exit\n- `moondog remember <text>` - ask me to remember something\n- `moondog forget <memory-id>` - forget something\n- `moondog memory reflect [--dry-run] [--json]` - let me think over recent conversations now\n- `moondog` - open the listening room\n\nInside the listening room:\n\n- `/update [--check] [--channel latest|beta]` - check for updates, or save and close this session to install one\n- `/status` or `/sources` - see where things stand\n- `/profile` or `/taste` - your profile, and why each song or artist is there\n- `/taste report` - the whole report on one page\n- `/profile build [--force]` - build or resume a saved reading; Ctrl+C keeps progress\n- `/profile saved [offset]` - read your saved profile\n- `/profile explain <number>` - inspect a saved finding's evidence\n- `/profile corrections [--all]` - everything you've told me\n- `/profile correct --track \"<title>\" --by \"<artist>\" (--like|--avoid)` - like a track, or keep it out\n- `/profile correct --artist \"<name>\" (--like|--avoid)` - like an artist, or keep them out\n- `/profile retract <correction-id>` - undo a choice\n- `/memory` - what I remember\n- `/tools` - what I can do right now\n- `/doctor` - check your setup\n- `/model` - pick the model I talk through\n- `/model <provider> <model>` - switch straight to a model\n- `/model refresh [provider]` - update public model choices; keep the selected model\n- `/model roles` - see what side tasks use: the model that reads images and the web search service\n- `/model vision auto|<provider> <model>` - choose the model that reads images\n- `/model web auto|deepseek|brave|codex` - choose the web search service\n- `/effort` - choose how hard the model thinks\n- `/auth [provider]` - sign in to a model provider\n- `/endpoint add` or `/endpoint remove <id>` - add a model service by its address, or remove it\n- `/web status|search|read` - look things up on public music sites\n- `/import [path]` - bring in your history, library, or a playlist\n- `/library` - your saved songs and playlists\n- `/library play <name>` - play a playlist\n- `/library save [playlist]` - keep the song playing now\n- `/library import <link>` - copy a playlist from a link\n- `/library export <name>` - send a playlist to Spotify\n- `/generation on|off` - let Moondog make music on this Mac, or stop\n- `/generation download|use|remove|cancel` - set up a Stable Audio 3 model\n- `/onair` - go on air, or come off it\n- `/language` - choose the language Moondog uses\n- `/service [spotify|apple_music|netease]` - choose where I play music\n- `/spotify` - Spotify commands\n- `/spotify login [client-id]` - connect Spotify\n- `/spotify now|devices|queue` - see what's playing, where, and what's next\n- `/spotify recent|sync-recent` - see or save your latest plays\n- `/spotify import-history \"/path/to/spotify-history.zip\"` - add a Spotify ZIP, no sign-in needed\n- `/skip` or `/stop` - move to the next song preview or stream track, or stop them\n- `/home` - back to the record sleeve; the conversation stays\n- `/theme paper|charcoal|terminal|auto` - change the look\n- `/art braille|ascii|off` - change the artwork\n- `/motion on|off` - turn the animation on or off\n- `/lyrics` - the lyrics on the sleeve; `/lyrics sync` finds more\n- `/reload` - reload model settings and sign-ins\n- `/remember [kind] <text>` - ask me to remember something\n- `/forget <memory-id>` - forget something\n- `/rewind` or Alt+R - edit an earlier message in place; the messages after it are replaced\n- `/branch` - go on from here in a new conversation; this one stays saved\n- `/rewind latest` - edit the most recent message\n- `/resume` - pick up a saved conversation\n- `/resume <session-id>` - go straight to one\n- `/new` - start fresh; the last one stays saved\n- `/quit` - exit\n\nAnything you type that isn't a command goes to the model you picked with `/model`, or the one set in `MOONDOG_PROVIDER` and `MOONDOG_MODEL`.\nSign in with `/auth`, or set the provider's API key in your environment. `/auth openai` signs in with your ChatGPT subscription or an API key.\nOnce your profile is ready, I can search your library, explain what I see, and plan playlists with you.\nI can only control Spotify after `moondog spotify login`. I ask before I remove anything from your library, and I never post, send messages, or spend money.\nAsk me to move playback onto a device by name, such as your iPhone.": "# 全部命令\n\n在终端里:\n\n- `moondog --version` - 显示已安装的版本\n- `moondog update [--check] [--channel latest|beta]` - 检查或安装已发布的版本\n- `moondog web status|search|read [参数] [--json]` - 通过 DeepSeek、Brave Search 或 Codex CLI 在公开音乐网站上查资料\n- `moondog demo-history --output <绝对路径.zip> [--json]` - 生成一个虚构的 Spotify 历史 ZIP,用来试用导入\n- `moondog auth login <provider>` - 登录模型服务商;密钥输入时不显示,`openai --chatgpt` 用你的 ChatGPT 订阅登录\n- `moondog auth status [provider]` - 查看保存了哪些登录\n- `moondog auth logout <provider>` - 退出某个服务商\n- `moondog spotify help` - 设置并控制 Spotify\n- `moondog spotify login [client-id]` - 在浏览器里连接 Spotify\n- `moondog spotify now|devices|queue` - 查看 Spotify 正在放什么、在哪放、接下来是什么\n- `moondog spotify recent` - 查看你最近听了什么\n- `moondog spotify sync-recent` - 把最近的播放加入你的资料\n- `moondog spotify sync-library` - 把你的 Spotify 曲库加入你的资料\n- `moondog spotify play|pause|next|previous` - 控制 Spotify 播放\n- `moondog listenbrainz import-history <listen-history.json>` - 把 ListenBrainz 收听文件加入你的资料\n- `moondog catalog latest-single --artist <名字> [--known-release <标题> | --from <spotify-history.zip>]` - 在 Apple Music(美区)查找某位艺人的最新单曲,无需模型\n- `moondog status [--json]` - 查看当前状态\n- `moondog taste [--json]` - 你的聆听报告\n- `moondog taste --html [--output <文件.html>]` - 把报告保存为可离线打开的网页\n- `moondog taste --card [--output <文件.html>]` - 保存一份简短回顾,分享前可以先检查\n- `moondog taste --from <spotify-history.zip> --html` - 从一个 Spotify ZIP 生成一次性报告,不保存\n- `moondog taste --from <account-data.zip> --from <extended-history.zip> --html` - 从两份 Spotify 导出一起生成一次性报告\n- `moondog taste --from <spotify-history.zip> --save --html` - 保存 Spotify 历史,然后显示完整报告\n- `moondog data inspect --scope <listening|apple|profile>` - 查看保存了什么,并获取重置所需的代码\n- `moondog data export --scope <listening|apple|profile> --output <目录>` - 导出一份副本,原件保持不变\n- `moondog data reset --scope <listening|apple|profile> --confirm <代码>` - 把保存的数据移到一边(归档,不删除)\n- `moondog profile build [--force]` - 用已连接的模型生成或继续生成保存的资料\n- `moondog profile saved [偏移]` - 阅读你保存的资料\n- `moondog profile explain <编号>` - 追溯一条已保存发现的证据\n- `moondog profile corrections [--all]` - 你告诉过我的所有选择,包括早先的\n- `moondog profile correct --artist <名字> (--like|--avoid)` - 标记喜欢某位艺人,或不再推荐\n- `moondog profile correct --track <歌名> --by <艺人> (--like|--avoid)` - 标记喜欢某首歌,或不再推荐\n- `moondog profile retract <correction-id>` - 撤销你的一项选择\n- `moondog demo --offline [--json]` - 用虚构数据的演示,无需登录\n- `moondog demo [提示] [--json]` - 同样的演示,通过你的模型对话\n- `moondog ask <提示>` - 问一个问题后退出\n- `moondog remember <内容>` - 让我记住一件事\n- `moondog forget <memory-id>` - 忘掉一件事\n- `moondog memory reflect [--dry-run] [--json]` - 让我现在回顾最近的对话\n- `moondog` - 打开聆听室\n\n在聆听室里:\n\n- `/update [--check] [--channel latest|beta]` - 检查更新,或保存并关闭本次会话来安装\n- `/status` 或 `/sources` - 查看当前状态\n- `/profile` 或 `/taste` - 你的资料,以及每首歌、每位艺人为什么在这里\n- `/taste report` - 一页看完整份报告\n- `/profile build [--force]` - 生成或继续生成保存的解读;Ctrl+C 会保留进度\n- `/profile saved [偏移]` - 阅读你保存的资料\n- `/profile explain <编号>` - 查看一条已保存发现的证据\n- `/profile corrections [--all]` - 你告诉过我的所有选择\n- `/profile correct --track \"<歌名>\" --by \"<艺人>\" (--like|--avoid)` - 标记喜欢某首歌,或不再推荐\n- `/profile correct --artist \"<名字>\" (--like|--avoid)` - 标记喜欢某位艺人,或不再推荐\n- `/profile retract <correction-id>` - 撤销一项选择\n- `/memory` - 我记住的内容\n- `/tools` - 我现在能做什么\n- `/doctor` - 检查你的设置\n- `/model` - 选择我用来对话的模型\n- `/model <provider> <model>` - 直接切换到某个模型\n- `/model refresh [provider]` - 更新公开的模型列表;保留当前选择\n- `/model roles` - 看看副任务在用什么:读图的模型和网页搜索服务\n- `/model vision auto|<provider> <model>` - 选择读图的模型\n- `/model web auto|deepseek|brave|codex` - 选择网页搜索服务\n- `/effort` - 选择模型思考的程度\n- `/auth [provider]` - 登录模型服务商\n- `/endpoint add` 或 `/endpoint remove <id>` - 按地址添加模型服务,或移除它\n- `/web status|search|read` - 在公开音乐网站上查资料\n- `/import [路径]` - 导入你的历史、曲库或一个歌单\n- `/library` - 你收藏的歌和播放列表\n- `/library play <名称>` - 播放一个播放列表\n- `/library save [播放列表]` - 收藏正在放的歌\n- `/library import <链接>` - 从链接复制一个播放列表\n- `/library export <名字>` - 把一个播放列表发到 Spotify\n- `/generation on|off` - 让 Moondog 在这台 Mac 上做音乐,或停下\n- `/generation download|use|remove|cancel` - 设置 Stable Audio 3 模型\n- `/onair` - 开播,或下播\n- `/language` - 选择 Moondog 使用的语言\n- `/service [spotify|apple_music|netease]` - 选择我在哪里放音乐\n- `/spotify` - Spotify 命令\n- `/spotify login [client-id]` - 连接 Spotify\n- `/spotify now|devices|queue` - 查看正在放什么、在哪放、接下来是什么\n- `/spotify recent|sync-recent` - 查看或保存你最近的播放\n- `/spotify import-history \"/path/to/spotify-history.zip\"` - 加入一个 Spotify ZIP,无需登录\n- `/skip` 或 `/stop` - 跳到下一首试听或直播曲目,或停止它们\n- `/home` - 回到唱片封套;对话还在\n- `/theme paper|charcoal|terminal|auto` - 换外观\n- `/art braille|ascii|off` - 换插画\n- `/motion on|off` - 打开或关闭动画\n- `/lyrics` - 封套上的歌词;`/lyrics sync` 找更多\n- `/reload` - 重新加载模型设置和登录\n- `/remember [类型] <内容>` - 让我记住一件事\n- `/forget <memory-id>` - 忘掉一件事\n- `/rewind` 或 Alt+R - 就地编辑之前的一条消息;之后的消息会被替换\n- `/branch` - 从这里在新对话中继续;这段对话会保留\n- `/rewind latest` - 编辑最近的一条消息\n- `/resume` - 继续一段保存的对话\n- `/resume <session-id>` - 直接打开某一段\n- `/new` - 重新开始;上一段会保存下来\n- `/quit` - 退出\n\n你输入的非命令内容,会发给你用 `/model` 选的模型,或 `MOONDOG_PROVIDER` 和 `MOONDOG_MODEL` 指定的模型。\n用 `/auth` 登录,或在环境变量里设置服务商的 API 密钥。`/auth openai` 可以用 ChatGPT 订阅登录,也可以填 API 密钥。\n资料准备好之后,我可以搜索你的曲库、解释我看到的内容,并和你一起规划歌单。\n只有在 `moondog spotify login` 之后我才能控制 Spotify。从你的曲库移除东西之前我会先问你,而且我从不发帖、不发消息,也不花钱。\n说出设备名,比如你的 iPhone,我就能把播放切过去。",
180
184
  "Apple Music library": "Apple Music 曲库",
181
185
  "Model": "模型",
182
186
  "Finding similar music": "查找相似的音乐",
@@ -905,7 +909,7 @@ export default {
905
909
  "Remove a playlist from your library": "把歌单从你的曲库移除",
906
910
  "Preview a playlist change": "预览歌单修改",
907
911
  "Change a Spotify playlist": "修改 Spotify 歌单",
908
- "Save the playlist to Spotify": "把歌单保存到 Spotify",
912
+ "Save the playlist": "保存歌单",
909
913
  "Choose how hard the model thinks": "选择模型思考的程度",
910
914
  "Use /effort, or /effort <level>.": "使用 /effort,或 /effort <级别>。",
911
915
  "Choose a model with /model first.": "请先用 /model 选择模型。",
@@ -1157,6 +1161,15 @@ export default {
1157
1161
  "It couldn't shape your taste this time.": "这次没能把它加入你的口味画像。",
1158
1162
  "It doesn't shape your taste; add taste after the link if it should.": "它不会影响你的口味;如果需要,在链接后加 taste。",
1159
1163
  "Imported {name}.": "已导入“{name}”。",
1160
- "Use /library, /library play <name>, /library save [playlist], or /library import <link>.": "用 /library、/library play <名字>、/library save [播放列表] 或 /library import <链接>。",
1164
+ "Use /library, /library play <name>, /library save [playlist], /library import <link>, or /library export <name>.": "用 /library、/library play <名字>、/library save [播放列表]、/library import <链接> 或 /library export <名字>。",
1161
1165
  "Import a playlist": "导入歌单",
1166
+ "Send a playlist to Spotify": "把一个播放列表发到 Spotify",
1167
+ "Sending {name} to Spotify…": "正在把“{name}”发到 Spotify…",
1168
+ "{name} was changed on Spotify since the last export, so nothing was sent. Add replace after the name to overwrite it there.": "“{name}”在上次导出后在 Spotify 上被改过,所以这次没有发送。在名字后加 replace 可以覆盖那边的内容。",
1169
+ "{name} has no songs to send.": "“{name}”里没有可以发送的歌。",
1170
+ "Updated {name} on Spotify.": "已更新 Spotify 上的“{name}”。",
1171
+ "{name} is now on Spotify.": "“{name}”已发到 Spotify。",
1172
+ "Moondog's tracks stay here; Spotify can't hold them.": "Moondog 做的曲目留在这里,Spotify 放不了它们。",
1173
+ "Export a playlist": "导出歌单",
1174
+ "{count} songs went over.": { one: "发过去 {count} 首。", other: "发过去 {count} 首。" },
1162
1175
  };
@@ -2,6 +2,7 @@ import { setTimeout as delay } from "node:timers/promises";
2
2
 
3
3
  import { musicHash, musicText, prepareMusicBundle } from "../../profile/music-import-bundle.mjs";
4
4
  import { readLastfmConfiguration } from "./settings.mjs";
5
+ import { MOONDOG_USER_AGENT } from "../user-agent.mjs";
5
6
 
6
7
  // A listener's scrobbles (every play Last.fm counted) and loved tracks, read by username.
7
8
  // Last.fm lists scrobbles newest first; the read stops at the moment it started, so new
@@ -75,7 +76,7 @@ async function lastfmCall({ root, apiKey, method, params, fetchImpl, signal, sle
75
76
  try {
76
77
  response = await fetchImpl(url, {
77
78
  signal: signal ? AbortSignal.any([signal, timeout]) : timeout,
78
- headers: { "User-Agent": "Moondog (+https://github.com/Audiofool934/moondog)" },
79
+ headers: { "User-Agent": MOONDOG_USER_AGENT },
79
80
  });
80
81
  body = await response.json().catch(() => null);
81
82
  } catch (error) {
@@ -1,7 +1,7 @@
1
1
  import { lyricIdentity } from "../../core/lyric-profile.mjs";
2
+ import { MOONDOG_USER_AGENT as userAgent } from "../user-agent.mjs";
2
3
 
3
4
  const origin = "https://lrclib.net";
4
- const userAgent = "Moondog/0.1.0 (https://github.com/Audiofool934/moondog)";
5
5
 
6
6
  export class LyricsProviderError extends Error {
7
7
  constructor(message, retryAfterMs = 60_000) {
@@ -329,6 +329,24 @@ export function createNeteasePlayer({
329
329
  await beforePlay?.();
330
330
  await playAt(index + 1);
331
331
  },
332
+ /** One playable song for a title and artist, matched as play() matches, or null. play() takes it back by id. */
333
+ async find({ title, artist, intent } = {}) {
334
+ const wanted = { title: String(title ?? ""), artist: String(artist ?? "") };
335
+ if (!wanted.title.trim()) return null;
336
+ const result = pick(await player.search({ query: `${wanted.title} ${wanted.artist}`.trim(), limit: 10, intent }), wanted);
337
+ return result.song && !result.other_artist ? result.song : null;
338
+ },
339
+ // A song in Up next, counted from the one after this (1 is the next): it plays now, past the ones before it.
340
+ async jump({ ahead, beforePlay } = {}) {
341
+ if (!Number.isInteger(ahead) || ahead < 1 || index + ahead >= queue.length) throw failure("netease_failed", "That song is no longer queued.");
342
+ await beforePlay?.();
343
+ await playAt(index + ahead);
344
+ },
345
+ // A song taken out of Up next, counted the same way. The one playing stays.
346
+ remove({ ahead } = {}) {
347
+ if (!Number.isInteger(ahead) || ahead < 1 || index + ahead >= queue.length) return;
348
+ queue = [...queue.slice(0, index + ahead), ...queue.slice(index + ahead + 1)];
349
+ },
332
350
  // Back to the start of the song, or to the one before when it has only just begun.
333
351
  async previous({ beforePlay } = {}) {
334
352
  const now = await state();
@@ -1,4 +1,5 @@
1
1
  import { uuidV5 } from "../../core/uuid-v5.mjs";
2
+ import { MOONDOG_USER_AGENT } from "../user-agent.mjs";
2
3
 
3
4
  export const LISTENBRAINZ_RECORDING_TRACK_NAMESPACE =
4
5
  "1ea3cad6-a0a2-58a5-a584-64953336f69f";
@@ -15,7 +16,6 @@ export const OPEN_MUSIC_SIMILARITY_LIMITS = Object.freeze({
15
16
 
16
17
  const wikidataOrigin = "https://www.wikidata.org";
17
18
  const listenBrainzOrigin = "https://api.listenbrainz.org";
18
- const defaultUserAgent = "Moondog/0.1 (https://ai.ruc.edu.cn/)";
19
19
  const uuidPattern =
20
20
  /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;
21
21
  const modes = new Set(["easy", "medium", "hard"]);
@@ -209,7 +209,7 @@ export function createWikidataArtistResolver({
209
209
  fetchImpl = globalThis.fetch,
210
210
  now = Date.now,
211
211
  cacheTtlMs = OPEN_MUSIC_SIMILARITY_LIMITS.identityCacheTtlMs,
212
- userAgent = defaultUserAgent,
212
+ userAgent = MOONDOG_USER_AGENT,
213
213
  } = {}) {
214
214
  if (typeof fetchImpl !== "function") {
215
215
  throw new TypeError("A fetch implementation is required.");
@@ -437,7 +437,7 @@ export function createListenBrainzArtistRadioClient({
437
437
  fetchImpl = globalThis.fetch,
438
438
  now = Date.now,
439
439
  cacheTtlMs = OPEN_MUSIC_SIMILARITY_LIMITS.cacheTtlMs,
440
- userAgent = defaultUserAgent,
440
+ userAgent = MOONDOG_USER_AGENT,
441
441
  } = {}) {
442
442
  if (typeof fetchImpl !== "function") {
443
443
  throw new TypeError("A fetch implementation is required.");
@@ -1,6 +1,7 @@
1
1
  import { createSpotifyWebApiClient } from "./web-api-client.mjs";
2
2
  import { readSpotifyLibrarySnapshot } from "./library-snapshot.mjs";
3
3
  import { execFile } from "node:child_process";
4
+ import { createHash } from "node:crypto";
4
5
  import { hostname } from "node:os";
5
6
  import { setTimeout as delay } from "node:timers/promises";
6
7
 
@@ -9,10 +10,9 @@ export const SPOTIFY_SERVICE_LIMITS = Object.freeze({
9
10
  playbackUrisMax: 100,
10
11
  positionMsMax: 86_400_000,
11
12
  playlistNameLengthMax: 100,
12
- playlistDescriptionLengthMax: 200,
13
- playlistTracksMax: 20,
14
13
  editablePlaylistsPageMax: 50,
15
14
  playlistEditTracksMax: 100,
15
+ playlistExportTracksMax: 2000,
16
16
  playlistItemsPageMax: 50,
17
17
  libraryTracksMax: 20,
18
18
  recentlyPlayedDefault: 20,
@@ -353,6 +353,11 @@ function searchLimit(value) {
353
353
  return value;
354
354
  }
355
355
 
356
+ // What a playlist holds, in order, as one short value: two lists with the same signature hold the same songs.
357
+ function playlistSignature(uris) {
358
+ return createHash("sha256").update(uris.join("\n")).digest("hex");
359
+ }
360
+
356
361
  function actionReceipt(action) {
357
362
  return {
358
363
  provider: "spotify",
@@ -1442,68 +1447,68 @@ export function createSpotifyService(options = {}) {
1442
1447
  return actionReceipt("playback.queue.add");
1443
1448
  },
1444
1449
 
1445
- async createPlaylistWithTracks(value, { signal } = {}) {
1450
+ // A library playlist's copy on Spotify: a new playlist, or the copy an earlier export made, set to
1451
+ // these songs in this order. previous names that copy and what the export left in it. A copy that holds
1452
+ // something else was changed on Spotify and is replaced only when the listener says so; a copy that is gone
1453
+ // from their Spotify library is made again.
1454
+ async exportPlaylist(value, { signal } = {}) {
1446
1455
  signal?.throwIfAborted();
1447
1456
  const input = inputObject(value);
1448
- const name = cleanPlaylistText(
1449
- input.name,
1450
- SPOTIFY_SERVICE_LIMITS.playlistNameLengthMax,
1451
- "invalid_playlist_name",
1452
- "name",
1453
- );
1454
- const description =
1455
- input.description === undefined
1456
- ? undefined
1457
- : cleanPlaylistText(
1458
- input.description,
1459
- SPOTIFY_SERVICE_LIMITS.playlistDescriptionLengthMax,
1460
- "invalid_playlist_description",
1461
- "description",
1462
- );
1463
- const uris = requiredTrackUris(
1464
- input.uris,
1465
- "invalid_playlist_tracks",
1466
- SPOTIFY_SERVICE_LIMITS.playlistTracksMax,
1467
- );
1468
- const playlist = await client.createPlaylist({
1469
- name,
1470
- ...(description ? { description } : {}),
1471
- }, { signal });
1472
- if (!playlist?.id) {
1473
- fail(
1474
- "playlist_creation_failed",
1475
- "Spotify did not return the created playlist.",
1476
- { outcomeUnknown: true },
1477
- );
1457
+ const nameMax = SPOTIFY_SERVICE_LIMITS.playlistNameLengthMax;
1458
+ const name = cleanPlaylistText(Array.from(String(input.name ?? "")).slice(0, nameMax).join(""), nameMax, "invalid_playlist_name", "name");
1459
+ const uris = requiredTrackUris(input.uris, "invalid_playlist_tracks", SPOTIFY_SERVICE_LIMITS.playlistExportTracksMax);
1460
+ const batch = SPOTIFY_SERVICE_LIMITS.playlistEditTracksMax;
1461
+ let copy = null;
1462
+ if (isPlainObject(input.previous) && input.previous.playlistId) {
1463
+ const playlistId = requiredPlaylistId(input.previous.playlistId);
1464
+ const ownerId = accountId(await client.getAccount({ signal }));
1465
+ const found = await client.getPlaylist({ playlistId }, { signal }).catch((error) => (error?.status === 404 ? null : Promise.reject(error)));
1466
+ // Deleting a playlist on Spotify only takes it out of the listener's library; it still answers by its id.
1467
+ const kept = found?.id === playlistId && found.owner_id === ownerId && found.uri
1468
+ ? await client.checkSavedTracks({ uris: [found.uri] }, { signal }).then((saved) => saved[0] !== false, (error) => (signal?.aborted ? Promise.reject(error) : true))
1469
+ : false;
1470
+ if (kept) {
1471
+ const there = [];
1472
+ const pageSize = SPOTIFY_SERVICE_LIMITS.playlistItemsPageMax;
1473
+ for (let offset = 0; offset < SPOTIFY_SERVICE_LIMITS.playlistExportTracksMax && found.tracks_total !== 0; offset += pageSize) {
1474
+ const page = await client.getPlaylistItems({ playlistId, limit: pageSize, offset }, { signal });
1475
+ there.push(...page.items.map((entry) => entry.item?.uri ?? ""));
1476
+ if (!page.has_more || !page.items.length) break;
1477
+ }
1478
+ if (input.replace !== true && playlistSignature(there) !== input.previous.signature) {
1479
+ return { provider: "spotify", ok: false, effect: "write_external", action: "playlist.export", state: "changed_on_spotify",
1480
+ playlist: { name: found.name, track_count: there.length, is_public: found.is_public === true } };
1481
+ }
1482
+ copy = found;
1483
+ }
1478
1484
  }
1485
+ signal?.throwIfAborted();
1486
+ const updated = Boolean(copy);
1487
+ let written = 0;
1479
1488
  try {
1480
- signal?.throwIfAborted();
1481
- await client.addPlaylistTracks({ playlistId: playlist.id, uris }, { signal });
1482
- } catch (error) {
1483
- const rejected = error?.outcomeUnknown === false ||
1484
- (Number.isInteger(error?.status) && error.status >= 400 && error.status < 500) ||
1485
- (error?.name === "AbortError" && signal?.aborted);
1486
- if (error?.outcomeUnknown === true || !rejected) {
1487
- fail(
1488
- "playlist_created_tracks_unknown",
1489
- "Spotify created the private playlist, but did not confirm whether its tracks were added. Check the playlist before trying again.",
1490
- { outcomeUnknown: true },
1491
- );
1489
+ if (copy) {
1490
+ if (copy.name !== name) await client.renamePlaylist({ playlistId: copy.id, name }, { signal });
1491
+ await client.replacePlaylistItems({ playlistId: copy.id, uris: uris.slice(0, batch) }, { signal });
1492
+ written = Math.min(batch, uris.length);
1493
+ } else {
1494
+ copy = await client.createPlaylist({ name }, { signal });
1495
+ if (!copy?.id) fail("playlist_creation_failed", "Spotify did not return the created playlist.", { outcomeUnknown: true });
1492
1496
  }
1493
- fail(
1494
- "playlist_created_without_tracks",
1495
- "Spotify created the private playlist but did not accept its tracks. Check the empty playlist before trying again.",
1496
- );
1497
+ for (; written < uris.length; written += batch) {
1498
+ signal?.throwIfAborted();
1499
+ await client.addPlaylistTracks({ playlistId: copy.id, uris: uris.slice(written, written + batch) }, { signal });
1500
+ }
1501
+ } catch (error) {
1502
+ // The copy exists with the songs sent so far. The caller keeps it, so the next export goes on with this copy.
1503
+ if (copy?.id && error && typeof error === "object") error.exportedCopy = { playlistId: copy.id, signature: playlistSignature(uris.slice(0, written)), track_count: written };
1504
+ throw error;
1497
1505
  }
1498
1506
  return {
1499
- ...actionReceipt("playlist.write"),
1500
- playlist: {
1501
- name: playlist.name ?? name,
1502
- track_count: uris.length,
1503
- is_public: false,
1504
- },
1505
- ...(playlist.uri ? { playlist_uri: playlist.uri } : {}),
1506
- ...(playlist.id ? { playlist_id: playlist.id } : {}),
1507
+ ...actionReceipt("playlist.export"),
1508
+ state: updated ? "updated" : "created",
1509
+ playlist: { name, track_count: uris.length },
1510
+ playlist_id: copy.id,
1511
+ signature: playlistSignature(uris),
1507
1512
  };
1508
1513
  },
1509
1514
 
@@ -9,7 +9,6 @@ export const SPOTIFY_WEB_API_LIMITS = Object.freeze({
9
9
  queueItemsMax: 50,
10
10
  artistsPerItemMax: 5,
11
11
  searchResultsMax: 10,
12
- playlistTracksMax: 20,
13
12
  playlistsPageMax: 50,
14
13
  playlistItemsPageMax: 50,
15
14
  playlistEditTracksMax: 100,
@@ -905,9 +904,12 @@ export function createSpotifyWebApiClient({
905
904
  await request("/me/playlists", {
906
905
  method: "POST",
907
906
  signal,
907
+ // Spotify writes the word "null" as the description when none is sent, so an empty one always goes.
908
+ // public: false asks to keep the playlist off the listener's profile. Spotify's own apps can still show it
909
+ // as a public playlist, and the Web API has no way to make one private, so no receipt calls it private.
908
910
  body: {
909
911
  name,
910
- ...(description ? { description } : {}),
912
+ description: description || "",
911
913
  public: false,
912
914
  },
913
915
  }),
@@ -0,0 +1,6 @@
1
+ import { readFileSync } from "node:fs";
2
+
3
+ // The identity Moondog gives public music-data services: its name, version and project page.
4
+ const { version } = JSON.parse(readFileSync(new URL("../../package.json", import.meta.url), "utf8"));
5
+
6
+ export const MOONDOG_USER_AGENT = `Moondog/${version} (https://github.com/Audiofool934/moondog)`;