cc-pets 2.1.1 → 2.2.0
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.
- package/CC_BRIDGE.md +5 -0
- package/CC_BRIDGE.zh-CN.md +4 -0
- package/CHANGELOG.md +40 -1
- package/CHANGELOG.zh-CN.md +40 -1
- package/CONTRIBUTING.md +54 -0
- package/CONTRIBUTING.zh-CN.md +45 -0
- package/README.md +57 -14
- package/README.zh-CN.md +56 -14
- package/Resources/Info.plist +3 -1
- package/Resources/en.lproj/InfoPlist.strings +1 -0
- package/Resources/phrases.default.en.txt +182 -0
- package/Resources/zh-Hans.lproj/InfoPlist.strings +1 -0
- package/Resources/zh-Hans.lproj/Localizable.strings +332 -0
- package/Sources/CCPets/CCPetsAppDelegate+AgentEvents.m +215 -0
- package/Sources/CCPets/CCPetsAppDelegate+AgentStatus.m +660 -0
- package/Sources/CCPets/CCPetsAppDelegate+Bridge.m +299 -0
- package/Sources/CCPets/CCPetsAppDelegate+Pets.m +185 -0
- package/Sources/CCPets/CCPetsAppDelegate+Private.h +325 -0
- package/Sources/CCPets/CCPetsAppDelegate+Quota.m +216 -0
- package/Sources/CCPets/CCPetsAppDelegate+Settings.m +226 -0
- package/Sources/CCPets/CCPetsAppDelegate+Speech.m +392 -0
- package/Sources/CCPets/CCPetsAppDelegate+Update.m +459 -0
- package/Sources/CCPets/CCPetsAppDelegate.h +13 -14
- package/Sources/CCPets/CCPetsAppDelegate.m +68 -2466
- package/Sources/CCPets/CCPetsCleanup.h +4 -0
- package/Sources/CCPets/CCPetsCleanup.m +41 -7
- package/Sources/CCPets/CCPetsEvents.m +4 -3
- package/Sources/CCPets/CCPetsL10n.h +55 -0
- package/Sources/CCPets/CCPetsL10n.m +219 -0
- package/Sources/CCPets/CCPetsPaths.h +0 -1
- package/Sources/CCPets/CCPetsPaths.m +0 -1
- package/Sources/CCPets/CCPetsPhrases.h +7 -1
- package/Sources/CCPets/CCPetsPhrases.m +86 -31
- package/Sources/CCPets/CCPetsPhrasesEditor.m +62 -64
- package/Sources/CCPets/CCPetsPreviews.m +7 -6
- package/Sources/CCPets/CCPetsUsage.h +0 -1
- package/Sources/CCPets/CCPetsUsage.m +0 -3
- package/Sources/CCPets/CCPetsVersion.h +10 -0
- package/Sources/CCPets/CCPetsVersion.m +92 -2
- package/Sources/CCPets/MenuToggleSwitch.m +3 -2
- package/Sources/CCPets/PetView.h +2 -0
- package/Sources/CCPets/PetView.m +115 -74
- package/Sources/CCPets/QuotaDashboardView.m +122 -88
- package/Sources/CCPets/main.m +16 -1
- package/bin/cc-pets +25 -20
- package/bin/claude-with-pet +2 -1
- package/bin/codex-with-pet +2 -1
- package/package.json +5 -3
- package/scripts/bridge/cli.mjs +47 -39
- package/scripts/bridge/core.mjs +28 -27
- package/scripts/bridge/hook.mjs +7 -6
- package/scripts/bridge/install.mjs +42 -19
- package/scripts/bridge/mcp-server.mjs +79 -71
- package/scripts/bridge/options.mjs +7 -6
- package/scripts/bridge/process.mjs +22 -0
- package/scripts/bridge/reservations.mjs +6 -5
- package/scripts/bridge/store.mjs +10 -9
- package/scripts/build.sh +24 -5
- package/scripts/check-l10n.mjs +168 -0
- package/scripts/configure-updater.mjs +4 -3
- package/scripts/doctor.mjs +470 -0
- package/scripts/i18n.mjs +122 -0
- package/scripts/i18n.zsh +66 -0
- package/scripts/install-app.sh +3 -2
- package/scripts/install-claude-hooks.mjs +22 -27
- package/scripts/install-codex-hooks.mjs +10 -15
- package/scripts/install-shell-integration.sh +6 -5
- package/scripts/integration-markers.mjs +51 -0
- package/scripts/locales/zh-Hans.json +366 -0
- package/scripts/pet-store.mjs +47 -45
- package/scripts/uninstall-app.sh +4 -3
- package/scripts/uninstall-integrations.mjs +24 -51
- package/scripts/uninstall-shell-integration.sh +8 -7
- /package/Resources/{phrases.default.txt → phrases.default.zh-Hans.txt} +0 -0
package/CC_BRIDGE.md
CHANGED
|
@@ -188,6 +188,11 @@ The Claude Code watcher arms at session start and at the end of every turn, and
|
|
|
188
188
|
inbox and are included with the user's next prompt; messages that arrive during that turn are
|
|
189
189
|
delivered when it ends.
|
|
190
190
|
|
|
191
|
+
Waking Codex requires a Codex version with the `codex queue` subcommand. `cc-pets bridge enable`,
|
|
192
|
+
`cc-pets bridge status`, and `cc-pets doctor` check the installed version. Without it, CC Bridge
|
|
193
|
+
still works: messages to Codex wait in its inbox until it calls `check_inbox` or the user's next
|
|
194
|
+
prompt brings them in.
|
|
195
|
+
|
|
191
196
|
Senders get receipts such as "queued", "in inbox", or "undeliverable". Delivery does not mean
|
|
192
197
|
the recipient has read or agreed to anything.
|
|
193
198
|
|
package/CC_BRIDGE.zh-CN.md
CHANGED
|
@@ -167,6 +167,10 @@ Claude Code 的 watcher 在会话启动和每轮结束时挂上,每次最多
|
|
|
167
167
|
如果 Claude 会话在这段空窗期里一直空闲,消息会留在信箱,等用户下次输入时一并带入;
|
|
168
168
|
那一轮进行中新到的消息,在该轮结束时投递。
|
|
169
169
|
|
|
170
|
+
自动唤醒 Codex 需要支持 `codex queue` 子命令的 Codex 版本。`cc-pets bridge enable`、
|
|
171
|
+
`cc-pets bridge status` 与 `cc-pets doctor` 会检测当前版本;不支持时 CC Bridge 仍可使用,
|
|
172
|
+
发给 Codex 的消息会先进信箱,由对方调用 `check_inbox` 或在下次输入时带入。
|
|
173
|
+
|
|
170
174
|
发送方只会收到"已送达队列 / 已放入信箱 / 无法投递"这类回执。送达不代表对方已读,也不代表对方同意。
|
|
171
175
|
|
|
172
176
|
## 桌宠里的显示
|
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,48 @@ English | [简体中文](./CHANGELOG.zh-CN.md)
|
|
|
5
5
|
This project follows Semantic Versioning. `package.json` is the single source of
|
|
6
6
|
truth for the version.
|
|
7
7
|
|
|
8
|
+
## [2.2.0] - 2026-10-08
|
|
9
|
+
|
|
10
|
+
First English-language release: the app and CLI are available in English and Simplified Chinese.
|
|
11
|
+
|
|
12
|
+
### Language
|
|
13
|
+
|
|
14
|
+
- The app is now available in English and Simplified Chinese. A new **Language** submenu offers **System Default**, **English** and **简体中文**; System Default follows macOS's preferred languages and falls back to English.
|
|
15
|
+
- `cc-pets` commands, hooks and CC Bridge messages follow the same choice through `~/.cc-pets/language`; `CC_PETS_LANGUAGE` overrides it per command.
|
|
16
|
+
- Added English default lines. An unedited `~/.cc-pets/speech.txt` switches with the language; lines without Chinese, Japanese or Korean text may now be up to 40 characters.
|
|
17
|
+
- The update dialog reads highlights only from the release notes section whose heading exactly matches the UI language; a missing section produces no highlights instead of falling back to other text.
|
|
18
|
+
|
|
19
|
+
### Interface
|
|
20
|
+
|
|
21
|
+
- Added English screenshots to the English README; the Simplified Chinese README retains Chinese screenshots. Each README displays its two screenshots side by side.
|
|
22
|
+
- Strengthened Today and Last 7 days headings, adjusted label spacing and trend captions, shortened quota window and risk labels, and removed redundant English trend descriptions.
|
|
23
|
+
- Update dialogs identify the installed version with “Current version”.
|
|
24
|
+
|
|
25
|
+
## [2.1.2] - 2026-10-04
|
|
26
|
+
|
|
27
|
+
Update prompts through the pet, `cc-pets doctor` and `cc-pets paths`, plus cleanup fixes.
|
|
28
|
+
|
|
29
|
+
### Updates
|
|
30
|
+
|
|
31
|
+
- Check npm for a newer version 5 seconds after launch, and again when a CLI reopens a running pet (at most once every 10 minutes); failed checks stay silent.
|
|
32
|
+
- Announce a new version with a clickable speech bubble that shows up to three highlights from the matching GitHub Release. The bubble waits while an agent is busy, and with chatter on, idle speech now and then reminds you until you choose **Later**.
|
|
33
|
+
- Added a glass "↑" badge on the pet as a lasting entry point, and while a new version is available the right-click menu shows **Update to x.y.z…** at the top level; the update dialog lists highlights and links to the full release notes, and **About CC Pets** uses the same dialog style.
|
|
34
|
+
- **Check for Updates…** and **About CC Pets** moved into a new **Help** submenu.
|
|
35
|
+
|
|
36
|
+
### CLI
|
|
37
|
+
|
|
38
|
+
- Added `cc-pets doctor`, a read-only check of the installation: Node.js, matching versions of the npm package, native binary and installed app, Claude Code and Codex hooks (including hooks that still point to a moved package), the Claude status line, shell shims and `PATH` order, the real CLI binaries, the updater config, and CC Bridge. Each problem comes with a fix, and the output shows the home directory as `~` so it can be pasted into an issue.
|
|
39
|
+
- Added `cc-pets paths [--json]`, which lists where settings, pet assets, phrases, caches and runtime state live, how large each is, and what `clean` and `--purge` remove.
|
|
40
|
+
- `cc-pets clean` now also removes the pet store manifest cache in `~/.cc-pets/cache`.
|
|
41
|
+
- `cc-pets uninstall --purge` keeps your pet assets and phrases in `~/.cc-pets`, as it always did; the help text, confirmation prompt and README now say so instead of promising to remove all local data.
|
|
42
|
+
|
|
43
|
+
### CC Bridge
|
|
44
|
+
|
|
45
|
+
- `cc-pets bridge enable`, `cc-pets bridge status` and `cc-pets doctor` check whether the installed Codex supports `codex queue`. Without it, CC Bridge still turns on and messages to Codex wait in its inbox; upgrading Codex enables wake-up without re-enabling CC Bridge.
|
|
46
|
+
|
|
8
47
|
## [2.1.1] - 2026-09-30
|
|
9
48
|
|
|
10
|
-
Liquid Glass panel theme
|
|
49
|
+
Feature release: the native Liquid Glass panel theme and multi-terminal jump-back, plus quota fixes.
|
|
11
50
|
|
|
12
51
|
### Panels and menus
|
|
13
52
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,9 +4,48 @@
|
|
|
4
4
|
|
|
5
5
|
本项目遵循语义化版本号。版本号以 `package.json` 为唯一来源。
|
|
6
6
|
|
|
7
|
+
## [2.2.0] - 2026-10-08
|
|
8
|
+
|
|
9
|
+
首个英文语言版本:App 与 CLI 支持英语和简体中文。
|
|
10
|
+
|
|
11
|
+
### 界面语言
|
|
12
|
+
|
|
13
|
+
- 界面支持英文和简体中文。右键菜单新增「语言」,可选「跟随系统」「English」「简体中文」;跟随系统时取 macOS 首选语言,都不匹配时用英文。
|
|
14
|
+
- `cc-pets` 命令、hooks 和 CC Bridge 消息通过 `~/.cc-pets/language` 跟随同一设置;`CC_PETS_LANGUAGE` 可按次覆盖。
|
|
15
|
+
- 新增英文默认台词。没改过的 `~/.cc-pets/speech.txt` 会随语言切换;不含中日韩文字的句子上限放宽到 40 个字符。
|
|
16
|
+
- 更新对话框只读取标题与界面语言完全匹配的 Release 段落;缺少对应段落时不展示要点,不会退回其他文字。
|
|
17
|
+
|
|
18
|
+
### 界面
|
|
19
|
+
|
|
20
|
+
- 英文 README 展示英文截图,中文 README 保留中文截图,各自两张图并排展示。
|
|
21
|
+
- Today 和 Last 7 days 标题加粗,标签间距与趋势图说明位置调整,窗口标题和风险提示精简,移除英文趋势区域的重复说明。
|
|
22
|
+
- 更新弹窗以「Current version」标识已安装版本。
|
|
23
|
+
|
|
24
|
+
## [2.1.2] - 2026-10-04
|
|
25
|
+
|
|
26
|
+
桌宠提示新版本,新增 `cc-pets doctor` 与 `cc-pets paths`,以及清理相关修复。
|
|
27
|
+
|
|
28
|
+
### 更新
|
|
29
|
+
|
|
30
|
+
- 启动 5 秒后到 npm 检查新版本,CLI 再次唤起已运行的桌宠时也会检查(最多每 10 分钟一次);检查失败不打扰。
|
|
31
|
+
- 发现新版本时桌宠弹出可点击的气泡,附上对应 GitHub Release 中最多三条要点。Agent 忙碌时气泡会等待;开启碎碎念时,空闲台词会不时提醒,直到选择「稍后」。
|
|
32
|
+
- 桌宠上新增玻璃「↑」角标作为常驻入口;有新版本时,右键菜单顶层临时出现「更新到 x.y.z…」。更新对话框列出要点并可打开完整说明,「关于 CC Pets」改用同样的对话框样式。
|
|
33
|
+
- 「检查更新…」与「关于 CC Pets」收进右键菜单新增的「帮助」子菜单。
|
|
34
|
+
|
|
35
|
+
### 命令行
|
|
36
|
+
|
|
37
|
+
- 新增 `cc-pets doctor`:只读检查安装状态,包括 Node.js、npm 包 / 原生程序 / 已安装 App 的版本是否一致、Claude Code 与 Codex Hooks(含包被移动后仍指向旧位置的 Hooks)、Claude status line、shell shim 与 `PATH` 顺序、真实 CLI、自动更新配置和 CC Bridge。每个问题都给出修复命令;home 目录显示为 `~`,输出可直接贴进 issue。
|
|
38
|
+
- 新增 `cc-pets paths [--json]`:列出偏好、桌宠素材、台词、缓存与运行时状态的存放位置和大小,并注明 `clean` 与 `--purge` 各自会删除哪些。
|
|
39
|
+
- `cc-pets clean` 现在也会清理 `~/.cc-pets/cache` 中的素材清单缓存。
|
|
40
|
+
- `cc-pets uninstall --purge` 一直会保留 `~/.cc-pets` 中的桌宠素材与台词;帮助、确认提示和 README 现已如实说明,不再写"删除全部本地数据"。
|
|
41
|
+
|
|
42
|
+
### CC Bridge
|
|
43
|
+
|
|
44
|
+
- `cc-pets bridge enable`、`cc-pets bridge status` 与 `cc-pets doctor` 会检测当前 Codex 是否支持 `codex queue`。不支持时 CC Bridge 仍可开启,发给 Codex 的消息先进信箱;升级 Codex 后即可自动唤醒,无需重新开启。
|
|
45
|
+
|
|
7
46
|
## [2.1.1] - 2026-09-30
|
|
8
47
|
|
|
9
|
-
Liquid Glass
|
|
48
|
+
功能版本:原生 Liquid Glass 面板主题与多终端跳转,以及额度修复。
|
|
10
49
|
|
|
11
50
|
### 面板与菜单
|
|
12
51
|
|
package/CONTRIBUTING.md
CHANGED
|
@@ -13,6 +13,60 @@ Thank you for contributing to CC Pets. Before submitting a change:
|
|
|
13
13
|
For a substantial feature, open a GitHub Issue before sending a Pull Request so the
|
|
14
14
|
scope can be agreed on first.
|
|
15
15
|
|
|
16
|
+
## Branch and release policy
|
|
17
|
+
|
|
18
|
+
Develop, test, and prepare preview releases on `publish`. Preview releases must be
|
|
19
|
+
marked as GitHub prereleases and use a prerelease version such as `2.2.0-rc.1`.
|
|
20
|
+
Install preview builds explicitly; the automatic updater accepts stable versions only.
|
|
21
|
+
`main` is reserved for stable releases, including the stable GitHub Release and tag.
|
|
22
|
+
Complete implementation, documentation, screenshots, and validation on `publish`
|
|
23
|
+
before submitting to `main`; repeat integration checks there before a stable release.
|
|
24
|
+
The current release candidate is **v2.2.0**, the first English-language release.
|
|
25
|
+
See [release status](docs/release-status.md) for validation and handoff details.
|
|
26
|
+
|
|
27
|
+
## Localization
|
|
28
|
+
|
|
29
|
+
UI text is written in English in the source, and that text is the key into every
|
|
30
|
+
other language's table:
|
|
31
|
+
|
|
32
|
+
- Objective-C: wrap user-visible strings in `L(@"…")` (`Sources/CCPets/CCPetsL10n.h`).
|
|
33
|
+
Use `%1$@` / `%2$@` when a translation needs a different argument order.
|
|
34
|
+
- Node.js: use `t("…", { name })` from `scripts/i18n.mjs` with `{name}` placeholders.
|
|
35
|
+
- zsh: use `cc_pets_t "…" name="$value"` from `scripts/i18n.zsh`. The text must be a
|
|
36
|
+
literal; put variables in `{name}` placeholders, never directly in the text.
|
|
37
|
+
|
|
38
|
+
When you add or change an English string, update its key in every table.
|
|
39
|
+
`node scripts/check-l10n.mjs` (also part of `npm test`) reports missing, stale and
|
|
40
|
+
mismatched-placeholder entries for each language.
|
|
41
|
+
|
|
42
|
+
### Adding a language
|
|
43
|
+
|
|
44
|
+
Adding a language only adds files; no code changes are needed. For a language `xx`
|
|
45
|
+
(use the macOS identifier, such as `ja` or `zh-Hant`):
|
|
46
|
+
|
|
47
|
+
1. `Resources/xx.lproj/Localizable.strings`: copy the `zh-Hans` table and translate
|
|
48
|
+
each value. Set the two metadata entries: `"Language Name"` (the name shown in the
|
|
49
|
+
**Language** menu, written in that language) and `"Release Notes Section"` (the
|
|
50
|
+
heading of that language's section in GitHub release notes; separate alternatives
|
|
51
|
+
with `|`).
|
|
52
|
+
2. `Resources/xx.lproj/InfoPlist.strings`: translate `NSAppleEventsUsageDescription`.
|
|
53
|
+
3. `scripts/locales/xx.json`: translate the CLI table, copied from `zh-Hans.json`.
|
|
54
|
+
4. Optional: `Resources/phrases.default.xx.txt` with default pet lines, translated from
|
|
55
|
+
`phrases.default.en.txt`. Without it the pet falls back to the English lines.
|
|
56
|
+
|
|
57
|
+
`node scripts/check-l10n.mjs --missing xx` lists the keys still to translate. The app
|
|
58
|
+
discovers languages from the `.lproj` directories, `build.sh` writes
|
|
59
|
+
`CFBundleLocalizations` from them, and `package.json` already includes them by pattern.
|
|
60
|
+
|
|
61
|
+
### GitHub Release notes
|
|
62
|
+
|
|
63
|
+
Every GitHub Release body must keep each language in its own section. Use the exact
|
|
64
|
+
headings `## English` and `## 简体中文`, followed by that language's top-level bullet
|
|
65
|
+
highlights. The updater reads only the section whose heading exactly matches the
|
|
66
|
+
current UI language; it never falls back to the full body or another language. If the
|
|
67
|
+
matching section is missing, the update dialog shows no highlights and does not guess
|
|
68
|
+
from other text. Keep the English and Simplified Chinese bullets semantically aligned.
|
|
69
|
+
|
|
16
70
|
## Asset requirements
|
|
17
71
|
|
|
18
72
|
- Use PNG or WebP with a transparent background.
|
package/CONTRIBUTING.zh-CN.md
CHANGED
|
@@ -12,6 +12,51 @@
|
|
|
12
12
|
|
|
13
13
|
建议先开一个 GitHub Issue 描述较大的功能改动,达成一致后再提交 Pull Request。
|
|
14
14
|
|
|
15
|
+
## 分支与发布规则
|
|
16
|
+
|
|
17
|
+
在 `publish` 完成开发、修改、测试和测试版本准备。测试版本必须在 GitHub 标记为
|
|
18
|
+
prerelease,并使用如 `2.2.0-rc.1` 的预发布版本号。`main` 仅负责正式版本,包括正式
|
|
19
|
+
GitHub Release 和 tag。提交到 `main` 前,代码、文档、截图与验证必须全部完成;
|
|
20
|
+
在 `main` 完成集成验证后才能发布正式版本。
|
|
21
|
+
测试版本需显式安装,自动更新器只接受正式版本号。
|
|
22
|
+
当前待发布版本为 **v2.2.0**,作为首个英文语言版本。
|
|
23
|
+
验证和交接状态见[发布状态](docs/release-status.md)。
|
|
24
|
+
|
|
25
|
+
## 多语言
|
|
26
|
+
|
|
27
|
+
界面文案在源码里写英文原文,这段原文就是其他各语言表的 key:
|
|
28
|
+
|
|
29
|
+
- Objective-C:用户可见的字符串包在 `L(@"…")` 里(见 `Sources/CCPets/CCPetsL10n.h`)。
|
|
30
|
+
译文需要调换参数顺序时用 `%1$@` / `%2$@`。
|
|
31
|
+
- Node.js:用 `scripts/i18n.mjs` 的 `t("…", { name })`,参数写成 `{name}` 占位。
|
|
32
|
+
- zsh:用 `scripts/i18n.zsh` 的 `cc_pets_t "…" name="$value"`。原文必须是字面量,
|
|
33
|
+
变量一律写成 `{name}` 占位,不能直接拼进原文。
|
|
34
|
+
|
|
35
|
+
新增或修改英文原文时,要同步更新每张表里的 key。`node scripts/check-l10n.mjs`(`npm test`
|
|
36
|
+
也会跑)会逐个语言报出缺翻译、多余条目和占位符不一致。
|
|
37
|
+
|
|
38
|
+
### 新增一种语言
|
|
39
|
+
|
|
40
|
+
新增语言只需要加文件,不用改代码。以语言 `xx` 为例(用 macOS 的语言标识,如 `ja`、`zh-Hant`):
|
|
41
|
+
|
|
42
|
+
1. `Resources/xx.lproj/Localizable.strings`:复制 `zh-Hans` 那张表,逐条翻译值。
|
|
43
|
+
填好两条元信息:`"Language Name"`(「语言」菜单里显示的名字,用该语言自己的写法)和
|
|
44
|
+
`"Release Notes Section"`(GitHub Release 说明里该语言段落的标题,多种写法用 `|` 隔开)。
|
|
45
|
+
2. `Resources/xx.lproj/InfoPlist.strings`:翻译 `NSAppleEventsUsageDescription`。
|
|
46
|
+
3. `scripts/locales/xx.json`:复制 `zh-Hans.json`,翻译 CLI 文案。
|
|
47
|
+
4. 可选:`Resources/phrases.default.xx.txt`,从 `phrases.default.en.txt` 翻译默认台词;
|
|
48
|
+
没有的话桌宠退回英文台词。
|
|
49
|
+
|
|
50
|
+
`node scripts/check-l10n.mjs --missing xx` 会列出还没翻译的 key。App 按 `.lproj` 目录发现语言,
|
|
51
|
+
`build.sh` 据此生成 `CFBundleLocalizations`,`package.json` 已按通配符包含这些文件。
|
|
52
|
+
|
|
53
|
+
### GitHub Release 说明
|
|
54
|
+
|
|
55
|
+
每个 GitHub Release 的正文必须按语言分段。使用完全匹配的标题 `## English` 和
|
|
56
|
+
`## 简体中文`,标题下面写对应语言的顶层列表要点。更新器只读取与当前界面语言标题
|
|
57
|
+
完全匹配的段落,不会退回全文,也不会读取其他语言;缺少匹配段落时,更新对话框不展示
|
|
58
|
+
要点,不会从其他文字中猜测。英文和简体中文的要点应保持语义对应。
|
|
59
|
+
|
|
15
60
|
## 素材规范
|
|
16
61
|
|
|
17
62
|
- 支持 PNG 或 WebP,背景必须透明。
|
package/README.md
CHANGED
|
@@ -1,22 +1,44 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="docs/images/cover.png" alt="CC Pets v2.2.0: Liquid Glass theme and multi-terminal jump-back">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# CC Pets
|
|
2
6
|
|
|
3
7
|
English | [简体中文](./README.zh-CN.md)
|
|
4
8
|
|
|
5
|
-
A native macOS desktop pet for Codex CLI and Claude Code CLI
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
A native macOS desktop pet for Codex CLI and Claude Code CLI that needs neither
|
|
10
|
+
desktop app. Launch CC Pets directly, or let it appear automatically when Codex CLI
|
|
11
|
+
or Claude Code CLI starts. It reads five-hour and weekly quota data from the official
|
|
12
|
+
Codex App Server interface and Claude Code's official status line input.
|
|
13
|
+
|
|
14
|
+
> The app and CLI are available in English and Simplified Chinese (see [Language](#language)).
|
|
15
|
+
|
|
16
|
+
## What's new in v2.2.0
|
|
17
|
+
|
|
18
|
+
- **First English release** — menus, quota panels, status cards, update dialogs, and CLI
|
|
19
|
+
output now support English and Simplified Chinese. Choose **Language → English**,
|
|
20
|
+
**简体中文**, or **System Default** in the right-click menu.
|
|
21
|
+
- **English panel polish** — stronger summary headings, clearer spacing, shorter window
|
|
22
|
+
titles and risk messages, and a compact explanation of quota and token totals.
|
|
23
|
+
- **Language-specific release highlights** — update dialogs read only the matching
|
|
24
|
+
`English` or `简体中文` section of GitHub Release notes. A missing section leaves the
|
|
25
|
+
highlights empty; content from another language is not substituted.
|
|
8
26
|
|
|
9
|
-
|
|
10
|
-
> English UI localization and English screenshots are planned for v2.1.0.
|
|
27
|
+
See the [changelog](./CHANGELOG.md) for the full list.
|
|
11
28
|
|
|
12
29
|
## Screenshots
|
|
13
30
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
31
|
+
English — v2.2.0 quota panel and Language menu:
|
|
32
|
+
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img src="docs/images/liquid-glass-panel.en.png" width="45%" alt="English Agent Usage panel in v2.2.0 with quota, tokens, trends, and system status">
|
|
35
|
+
<img src="docs/images/liquid-glass-menu.en.png" width="45%" alt="English right-click menu with English selected in the Language submenu">
|
|
36
|
+
</p>
|
|
17
37
|
|
|
18
38
|
## Features
|
|
19
39
|
|
|
40
|
+
- Supports English and Simplified Chinese in the app and CLI, with live UI language switching.
|
|
41
|
+
- Offers Classic and native Liquid Glass panel themes on macOS 26 and later.
|
|
20
42
|
- Starts with Codex CLI or Claude Code CLI and closes after the last managed CLI exits.
|
|
21
43
|
- Shares one pet across multiple simultaneous Codex and Claude sessions.
|
|
22
44
|
- Shows five-hour and weekly remaining quota, reset times, local token totals, and seven-day trends.
|
|
@@ -27,6 +49,7 @@ sessions and Claude Code's official status line input.
|
|
|
27
49
|
- Lists up to eight recent online Agent terminal sessions from the status card icon.
|
|
28
50
|
- Badges the status icon with the number of sessions waiting for approval and pins those sessions to the top of the list.
|
|
29
51
|
- Speaks up when an Agent sits in approval or thinking longer than its threshold.
|
|
52
|
+
- Announces new versions through the pet with release highlights and updates from the right-click menu.
|
|
30
53
|
- Supports optional local quota history and macOS notifications.
|
|
31
54
|
- Supports third-party CLI agents through a provider event protocol.
|
|
32
55
|
- Includes editable global and per-pet speech.
|
|
@@ -125,6 +148,8 @@ cc-pets --version # Print the installed version.
|
|
|
125
148
|
cc-pets --status # Print parsed Codex quota data.
|
|
126
149
|
cc-pets --history # Print local quota history as JSON.
|
|
127
150
|
cc-pets clean # Remove rebuildable state and caches.
|
|
151
|
+
cc-pets doctor # Check the installation and integrations, with fixes.
|
|
152
|
+
cc-pets paths # List where settings, caches and data are stored.
|
|
128
153
|
|
|
129
154
|
cc-pets pet search otter # Search the configured asset source.
|
|
130
155
|
cc-pets pet add boba # Install an asset into CC Pets' own directory.
|
|
@@ -137,7 +162,7 @@ cc-pets bridge enable # CC Bridge (experimental, off by default); see
|
|
|
137
162
|
cc-pets bridge status # Show CC Bridge state and online sessions.
|
|
138
163
|
cc-pets bridge disable # Remove CC Bridge integrations.
|
|
139
164
|
cc-pets uninstall # Remove integrations and restore the status line.
|
|
140
|
-
cc-pets uninstall --purge # Also remove the app
|
|
165
|
+
cc-pets uninstall --purge # Also remove the app, app data and preferences after confirmation; keeps assets and phrases in ~/.cc-pets.
|
|
141
166
|
cc-pets uninstall-app # Remove only ~/Applications/CC Pets.app.
|
|
142
167
|
|
|
143
168
|
codex-with-pet # Start the pet and enter Codex CLI.
|
|
@@ -179,7 +204,7 @@ prompts, command text, file contents, or model output.
|
|
|
179
204
|
| Hover on either body side | Directional interaction animation |
|
|
180
205
|
| Click | Playful response animation |
|
|
181
206
|
| Drag left or right | Directional drag animation |
|
|
182
|
-
| Right-click | Pet, notification, update, and exit menu |
|
|
207
|
+
| Right-click | Pet, notification, Help (update check and About), and exit menu |
|
|
183
208
|
|
|
184
209
|
The **Panel theme** submenu offers **Classic** and **Liquid Glass**. Classic is the
|
|
185
210
|
default. Changes apply immediately to the quota panel, status card, and speech
|
|
@@ -190,6 +215,18 @@ panel, status card, and speech bubble: Clear (0%), Light (15%), Standard (25%,
|
|
|
190
215
|
default), or Legible (45%). Lower levels
|
|
191
216
|
look more transparent; higher levels keep text readable over light backgrounds.
|
|
192
217
|
|
|
218
|
+
### Language
|
|
219
|
+
|
|
220
|
+
The **Language** submenu offers **System Default** plus every bundled language,
|
|
221
|
+
currently **English** and **简体中文**. System Default follows the first supported
|
|
222
|
+
entry in macOS's preferred languages and falls back to English. Menus and panels switch right away; system
|
|
223
|
+
buttons in dialogs follow after the next launch. The choice is written to
|
|
224
|
+
`~/.cc-pets/language`, so `cc-pets` commands, hooks, and CC Bridge messages use the
|
|
225
|
+
same language; set `CC_PETS_LANGUAGE=en` or `zh-Hans` to override it for one
|
|
226
|
+
command. If you never edited `~/.cc-pets/speech.txt`, it switches to the default
|
|
227
|
+
lines of the new language; edited lines are left alone. To contribute another
|
|
228
|
+
language, see [Adding a language](./CONTRIBUTING.md#adding-a-language).
|
|
229
|
+
|
|
193
230
|
The pet switcher scans only built-in assets and `~/.cc-pets/pets/`. It does not
|
|
194
231
|
scan `~/.petdex/pets/` or `~/.codex/pets/`. To use assets installed by Codex,
|
|
195
232
|
enable **Import Codex pets** in the app's right-click menu; CC Pets copies valid
|
|
@@ -211,8 +248,12 @@ add 16-direction mouse tracking while idle.
|
|
|
211
248
|
|
|
212
249
|
## Quota and local usage data
|
|
213
250
|
|
|
214
|
-
Codex quota data comes from
|
|
215
|
-
|
|
251
|
+
Codex quota data comes from the official Codex App Server interface. CC Pets starts
|
|
252
|
+
the installed Codex CLI as `codex app-server --stdio`, reads the current windows with
|
|
253
|
+
`account/rateLimits/read`, and follows `account/rateLimits/updated` notifications. The
|
|
254
|
+
server-side values replace the rate-limit snapshots recorded in local `token_count`
|
|
255
|
+
events under `~/.codex/sessions`; a local snapshot is used only when it is newer than
|
|
256
|
+
the last server value. A `window_minutes` value of `300` is the five-hour window and
|
|
216
257
|
`10080` is the weekly window. CC Pets displays remaining percentage and does not
|
|
217
258
|
substitute expired history when a current window is unavailable.
|
|
218
259
|
|
|
@@ -239,7 +280,8 @@ days, and records at most once every 15 minutes.
|
|
|
239
280
|
The pet's speech comes from `~/.cc-pets/speech.txt`. Open **Speech → Edit lines…**
|
|
240
281
|
in the right-click menu to edit, validate, preview, or restore it. Lines are grouped
|
|
241
282
|
under stable situation tags such as `[idle]`, `[done]`, and `[state_thinking]`.
|
|
242
|
-
Each
|
|
283
|
+
Each line is limited to 30 characters if it contains Chinese, Japanese, or Korean
|
|
284
|
+
text, and to 40 characters otherwise.
|
|
243
285
|
|
|
244
286
|
Supported live placeholders are `{quota5h}`, `{resetTime}`, `{toolName}`,
|
|
245
287
|
`{sessionMin}`, `{failCount}`, and `{hour}`. A line is skipped if one of its values
|
|
@@ -311,11 +353,12 @@ external assets.
|
|
|
311
353
|
|
|
312
354
|
## Privacy
|
|
313
355
|
|
|
314
|
-
-
|
|
356
|
+
- Codex quota is read through the official Codex App Server started from your installed Codex CLI with its existing sign-in; Claude quota comes from the status line input Claude Code passes locally. Token counts are read from local Codex and Claude Code files.
|
|
315
357
|
- Hooks write only redacted state events and quota cache files to the current user's temporary directory.
|
|
316
358
|
- Local quota history is disabled by default and retains seven days when enabled.
|
|
317
359
|
- Status cards and notifications show only provider, state, and redacted tool category.
|
|
318
360
|
- CC Pets contains no telemetry and uploads no conversations, quotas, credentials, or usage statistics.
|
|
361
|
+
- On launch, and when a CLI reopens the running pet, CC Pets asks the npm registry for the latest version (at most once every 10 minutes per run); only when a newer version exists does it read that version's release notes from the GitHub API. These requests carry no account or usage data.
|
|
319
362
|
- Exiting the pet or running `cc-pets uninstall` leaves no background daemon running.
|
|
320
363
|
- [CC Bridge](./CC_BRIDGE.md) is off by default. When enabled, messages between sessions are stored
|
|
321
364
|
in the current user's temporary directory (owner-only, 24-hour expiry); it is the only feature
|
package/README.zh-CN.md
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="docs/images/cover.png" alt="CC Pets v2.2.0:Liquid Glass 主题与多终端回跳">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# CC Pets
|
|
2
6
|
|
|
3
7
|
[English](./README.md) | 简体中文
|
|
4
8
|
|
|
5
|
-
一个不依赖 Codex/Claude 桌面端的 macOS
|
|
6
|
-
|
|
9
|
+
一个不依赖 Codex/Claude 桌面端的 macOS 原生桌宠。直接启动桌面端,或启动 Codex CLI / Claude Code CLI 时自动出现,
|
|
10
|
+
并通过 Codex App Server 官方接口与 Claude Code 官方 status line 数据读取 5 小时额度、周额度和周重置时间。
|
|
7
11
|
|
|
8
|
-
##
|
|
12
|
+
## v2.2.0 新功能
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
- **首个英文版**:菜单、额度面板、状态卡、更新弹窗和 CLI 输出支持英语与简体中文。
|
|
15
|
+
右键「语言」可选择「English」「简体中文」或「跟随系统」。
|
|
16
|
+
- **英文面板优化**:汇总标题加粗、标签与数字间距调整、窗口标题和风险提示精简,
|
|
17
|
+
底部说明清楚区分官方剩余额度与本机 Token 用量。
|
|
18
|
+
- **按语言读取更新要点**:更新弹窗只读取 GitHub Release 中对应的 `English` 或
|
|
19
|
+
`简体中文` 段落;缺少对应段落时不展示要点,不会使用其他语言替代。
|
|
20
|
+
|
|
21
|
+
完整改动见 [更新记录](./CHANGELOG.zh-CN.md)。
|
|
22
|
+
|
|
23
|
+
## 界面预览
|
|
24
|
+
|
|
25
|
+
简体中文:额度面板与右键菜单。
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<img src="docs/images/liquid-glass-panel.png" width="45%" alt="Liquid Glass 主题下的中文额度面板">
|
|
29
|
+
<img src="docs/images/liquid-glass-menu.png" width="45%" alt="中文右键菜单与面板主题子菜单">
|
|
30
|
+
</p>
|
|
13
31
|
|
|
14
32
|
## 功能
|
|
15
33
|
|
|
34
|
+
- App 与 CLI 支持英语和简体中文,界面语言可即时切换
|
|
35
|
+
- macOS 26 及以上可在经典与原生 Liquid Glass 两种面板主题之间切换
|
|
16
36
|
- 随 Codex CLI 或 Claude Code CLI 自动启动,无需打开对应桌面版
|
|
17
37
|
- 多个 Codex/Claude CLI 共用一个桌宠,最后一个 CLI 退出后桌宠自动关闭
|
|
18
38
|
- 鼠标悬停口袋时展开额度详情面板,用两张卡分别显示 Codex、Claude 的剩余 5 小时额度、周额度和精确到秒的周重置时间
|
|
@@ -20,7 +40,8 @@
|
|
|
20
40
|
- 支持待机、左右拖动、身体两侧感应、头部/脚部悬停和点击反馈动画
|
|
21
41
|
- 待机呼吸、随机小动作(11 行素材会转头看鼠标)、拖动时的水平滞后与落脚回弹
|
|
22
42
|
- 桌宠以自己的口吻播报 Agent 状态,闲着时还会自己碎碎念,台词和频率都可自定义
|
|
23
|
-
-
|
|
43
|
+
- 支持拖动桌宠位置,右键「帮助」中检查更新或查看关于;用量定时自动刷新
|
|
44
|
+
- 发现新版本时桌宠用气泡提醒并附上更新要点,点击即可打开更新对话框
|
|
24
45
|
- 响应 Codex 与 Claude Code Agent 的思考、工具调用、审批、子 Agent、完成和失败状态
|
|
25
46
|
- 在桌宠旁显示脱敏后的玻璃 Agent 状态卡片,可展开、折叠并显示活跃 CLI 会话数
|
|
26
47
|
- 点击任意 Hook 状态卡,可返回触发该事件的终端;直接启动、没走包装脚本的会话同样可以回跳
|
|
@@ -83,7 +104,7 @@ JetBrains IDE、Warp、WezTerm、Ghostty 等在不安装扩展的模式下仅激
|
|
|
83
104
|
| 按住并向右拖动 | 播放向右拖行动画,同时移动桌宠 |
|
|
84
105
|
| 按住并向左拖动 | 播放向左拖行动画,同时移动桌宠 |
|
|
85
106
|
| 鼠标移开或拖动结束 | 恢复默认待机动画 |
|
|
86
|
-
| 右键桌宠 |
|
|
107
|
+
| 右键桌宠 | 切换桌宠、设置历史/通知、在「帮助」中检查更新或查看关于、退出 |
|
|
87
108
|
|
|
88
109
|
右键菜单「面板主题」提供「经典」和「Liquid Glass」,默认使用经典样式。
|
|
89
110
|
选择后立即应用于额度面板、状态条和说话气泡,并在重启后保留。Liquid Glass 使用系统原生玻璃,
|
|
@@ -91,6 +112,15 @@ JetBrains IDE、Warp、WezTerm、Ghostty 等在不安装扩展的模式下仅激
|
|
|
91
112
|
可在通透(0%)、轻度(15%)、标准(25%,默认)、清晰(45%)之间切换,作用于额度面板、状态卡和
|
|
92
113
|
说话气泡:档位越低越通透,档位越高在浅色背景上越容易看清。
|
|
93
114
|
|
|
115
|
+
### 界面语言
|
|
116
|
+
|
|
117
|
+
右键菜单「语言」提供「跟随系统」和所有已打包的语言,目前是「English」「简体中文」。
|
|
118
|
+
跟随系统时,取 macOS 首选语言里第一个支持的语言,都不支持就用英文。菜单和面板立即切换;对话框里的系统按钮在下次启动后跟上。
|
|
119
|
+
选择会写入 `~/.cc-pets/language`,`cc-pets` 命令、hooks 和 CC Bridge 消息因此使用同一种语言;
|
|
120
|
+
单次命令可以用 `CC_PETS_LANGUAGE=en` 或 `zh-Hans` 覆盖。如果从没改过 `~/.cc-pets/speech.txt`,
|
|
121
|
+
它会换成新语言的默认台词;改过的台词保持不动。想贡献其他语言的翻译,
|
|
122
|
+
见 [新增一种语言](./CONTRIBUTING.zh-CN.md#新增一种语言)。
|
|
123
|
+
|
|
94
124
|
右键菜单中的“切换桌宠”只扫描 `~/.cc-pets/pets/`(见 [素材管理](#素材管理))和包内素材,
|
|
95
125
|
**不会**去读 `~/.petdex/pets/` 和 `~/.codex/pets/`——那两个目录由 PetDex CLI 和 Codex 写入,
|
|
96
126
|
混在一起就找不到自己装的宠物了。要用 Codex 那边的素材,打开右键菜单里的“导入 Codex
|
|
@@ -173,7 +203,7 @@ Agent **正在干活**时(思考、调用工具、等待审批、子 Agent 工
|
|
|
173
203
|
```
|
|
174
204
|
|
|
175
205
|
- `[情境]` 起一节,下面一行一句,直接改字、加行、删行
|
|
176
|
-
-
|
|
206
|
+
- 含中日韩文字的句子 30 字以内,纯英文等拉丁文字 40 个字符以内,超了那一行会被丢掉
|
|
177
207
|
- 写错只丢那一行,不会让整个文件失效
|
|
178
208
|
|
|
179
209
|
可以插入这些实时数据(连花括号一起写):`{quota5h}` `{resetTime}` `{toolName}`
|
|
@@ -338,7 +368,8 @@ npm 的安装后脚本会自动构建原生应用、安装两套 Agent Hooks,
|
|
|
338
368
|
同时会将标准 macOS 应用安装到 `~/Applications/CC Pets.app`,可从 Finder 或 Launchpad 启动,
|
|
339
369
|
不需要管理员权限。npm 升级时会同步更新该应用。
|
|
340
370
|
|
|
341
|
-
|
|
371
|
+
桌宠启动后会自动检查新版本,发现后用气泡提醒;也可以右键桌宠并选择「帮助 → 检查更新…」;已发现新版本时,右键菜单顶层会直接出现「更新到 x.y.z…」。
|
|
372
|
+
应用会查询 npm Registry,发现新版本后请求确认,
|
|
342
373
|
随后在后台复用首次安装时记录的 Node.js/npm 完成升级;用户无需打开终端。升级会同步更新原生应用、
|
|
343
374
|
Codex/Claude Hooks 和 shell 集成,并自动重启正在运行的桌宠。自动更新不会请求管理员权限;如果原来的
|
|
344
375
|
全局 npm 目录不可写或 Node.js/npm 已被移动,应用会保留旧版本并显示更新日志和手动升级命令。
|
|
@@ -381,9 +412,15 @@ cc-pets --status
|
|
|
381
412
|
# 查看本机额度历史 JSON
|
|
382
413
|
cc-pets --history
|
|
383
414
|
|
|
384
|
-
#
|
|
415
|
+
# 清理可重建的临时状态、更新日志、素材清单缓存和构建缓存,保留历史、配置与偏好
|
|
385
416
|
cc-pets clean
|
|
386
417
|
|
|
418
|
+
# 检查安装、Hooks、status line、shim 与 CC Bridge 是否正常,并给出修复建议;输出已脱敏,可直接贴进 issue
|
|
419
|
+
cc-pets doctor
|
|
420
|
+
|
|
421
|
+
# 列出偏好、桌宠素材、台词、缓存与运行时状态的存放位置和大小(--json 输出机器可读格式)
|
|
422
|
+
cc-pets paths
|
|
423
|
+
|
|
387
424
|
# 管理 ~/.cc-pets/pets 里的桌宠素材,详见「素材与版权」
|
|
388
425
|
cc-pets pet search otter
|
|
389
426
|
cc-pets pet add boba
|
|
@@ -407,7 +444,7 @@ cc-pets --help
|
|
|
407
444
|
# 安全移除 Hooks、恢复 Claude status line,并清理 shell 集成
|
|
408
445
|
cc-pets uninstall
|
|
409
446
|
|
|
410
|
-
#
|
|
447
|
+
# 完整移除集成、应用、应用数据和偏好;执行前会再次确认。~/.cc-pets 下的桌宠素材与台词会保留
|
|
411
448
|
cc-pets uninstall --purge
|
|
412
449
|
|
|
413
450
|
# 仅删除 ~/Applications 中的 macOS 应用(不会删除 npm 包或 Hooks)
|
|
@@ -426,7 +463,11 @@ claude-with-pet
|
|
|
426
463
|
|
|
427
464
|
## 用量数据
|
|
428
465
|
|
|
429
|
-
Codex
|
|
466
|
+
Codex 额度来自 Codex App Server 官方接口:桌宠用本机已安装的 Codex CLI 启动
|
|
467
|
+
`codex app-server --stdio`,通过 `account/rateLimits/read` 读取当前额度窗口,并订阅
|
|
468
|
+
`account/rateLimits/updated` 推送。服务端返回的额度会覆盖 `~/.codex/sessions` 本地
|
|
469
|
+
`token_count` 事件里记录的额度快照;只有本地快照比最近一次服务端数据更新时才使用本地值。
|
|
470
|
+
本地 Token 统计仍来自 `token_count` 事件:
|
|
430
471
|
|
|
431
472
|
- `window_minutes = 300` 对应 5 小时额度
|
|
432
473
|
- `window_minutes = 10080` 对应周额度
|
|
@@ -598,12 +639,13 @@ PetDex 官方 CLI(`npx petdex install <slug>`)会把素材放在 `~/.petdex/
|
|
|
598
639
|
|
|
599
640
|
## 隐私
|
|
600
641
|
|
|
601
|
-
- Codex
|
|
642
|
+
- Codex 额度通过本机 Codex CLI 启动的官方 App Server 读取,沿用 Codex CLI 自身的登录状态;Codex Token 只从本机 `~/.codex/sessions` 读取(可用 `CC_PETS_CODEX_HOME` 覆盖)。
|
|
602
643
|
- Claude 额度只从 Claude Code 传给本机 status line 的 `rate_limits` 字段读取。
|
|
603
644
|
- Agent Hooks 只向当前用户的临时目录写入桌宠事件和额度缓存。
|
|
604
645
|
- 额度历史默认关闭;启用后只在本机保留最近 7 天的剩余比例快照。
|
|
605
646
|
- 状态气泡和通知只显示 Provider、状态及脱敏工具类别,不显示会话正文。
|
|
606
647
|
- 项目不上传会话内容、额度、凭据或使用统计,也不包含遥测服务。
|
|
648
|
+
- 桌宠启动时及 CLI 再次唤起桌宠时会向 npm Registry 查询最新版本号(同一次运行内最多每 10 分钟一次);仅在有新版本时再向 GitHub API 读取该版本的 Release 说明。请求不携带任何账号或使用数据。
|
|
607
649
|
- 右键“退出桌宠”或执行 `cc-pets uninstall` 后,不会继续运行后台守护进程。
|
|
608
650
|
- [CC Bridge](./CC_BRIDGE.zh-CN.md) 默认关闭;开启后,会话之间的消息正文会保存在当前用户的临时目录
|
|
609
651
|
(仅本人可读,24 小时过期),这是本项目唯一会保存正文的功能。
|
package/Resources/Info.plist
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
5
7
|
<key>CFBundleDisplayName</key>
|
|
6
8
|
<string>CC Pets</string>
|
|
7
9
|
<key>CFBundleExecutable</key>
|
|
@@ -23,6 +25,6 @@
|
|
|
23
25
|
<key>NSHighResolutionCapable</key>
|
|
24
26
|
<true/>
|
|
25
27
|
<key>NSAppleEventsUsageDescription</key>
|
|
26
|
-
<string
|
|
28
|
+
<string>Used to switch back to the matching terminal tab when you click the Agent status card.</string>
|
|
27
29
|
</dict>
|
|
28
30
|
</plist>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"NSAppleEventsUsageDescription" = "Used to switch back to the matching terminal tab when you click the Agent status card.";
|