ccjk 2.3.2 → 2.4.2
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/README.md +270 -444
- package/README.zh-CN.md +273 -447
- package/dist/chunks/api-providers.mjs +5 -35
- package/dist/chunks/auto-bootstrap.mjs +1 -1
- package/dist/chunks/ccr.mjs +5 -2
- package/dist/chunks/claude-wrapper.mjs +442 -0
- package/dist/chunks/cloud-sync.mjs +29 -0
- package/dist/chunks/constants.mjs +1 -1
- package/dist/chunks/context-manager.mjs +641 -0
- package/dist/chunks/context.mjs +248 -0
- package/dist/chunks/index2.mjs +2 -0
- package/dist/chunks/index3.mjs +19 -19
- package/dist/chunks/init.mjs +18 -8
- package/dist/chunks/marketplace.mjs +6 -2
- package/dist/chunks/mcp.mjs +1 -1
- package/dist/chunks/menu.mjs +3 -3
- package/dist/chunks/notification.mjs +27 -27
- package/dist/chunks/package.mjs +1 -1
- package/dist/chunks/platform.mjs +70 -21
- package/dist/chunks/skills-sync.mjs +1 -1
- package/dist/chunks/version-checker.mjs +31 -31
- package/dist/cli.mjs +55 -5
- package/dist/i18n/locales/en/context.json +32 -0
- package/dist/i18n/locales/en/marketplace.json +1 -0
- package/dist/i18n/locales/en/mcp.json +12 -1
- package/dist/i18n/locales/en/superpowers.json +46 -0
- package/dist/i18n/locales/zh-CN/context.json +32 -0
- package/dist/i18n/locales/zh-CN/marketplace.json +1 -0
- package/dist/i18n/locales/zh-CN/mcp.json +12 -1
- package/dist/i18n/locales/zh-CN/superpowers.json +46 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/shared/ccjk.QbS8EAOd.mjs +1019 -0
- package/dist/shared/ccjk.RR9TS76h.mjs +698 -0
- package/package.json +4 -1
- package/dist/shared/ccjk.Bi-m3LKY.mjs +0 -357
- package/dist/shared/ccjk.D-RZS4E2.mjs +0 -416
|
@@ -42,7 +42,18 @@
|
|
|
42
42
|
"searchKeywordRequired": "需要搜索关键词",
|
|
43
43
|
"installNameRequired": "需要服务器名称",
|
|
44
44
|
"uninstallNameRequired": "卸载需要服务器名称",
|
|
45
|
-
"unknownAction": "未知操作:{{action}}"
|
|
45
|
+
"unknownAction": "未知操作:{{action}}",
|
|
46
|
+
"apiUnavailable": "⚠ 市场 API 不可用",
|
|
47
|
+
"usingLocalData": "使用本地备用数据",
|
|
48
|
+
"moreResults": "显示 {{shown}}/{{total}} 个结果。使用 --limit 查看更多。",
|
|
49
|
+
"ratings": "评分",
|
|
50
|
+
"noTrending": "暂无热门包",
|
|
51
|
+
"recommendedForYou": "📦 为您推荐",
|
|
52
|
+
"basedOnInstalled": "基于您已安装的 {{count}} 个包",
|
|
53
|
+
"noInstalledForRecommendations": "未找到已安装的包",
|
|
54
|
+
"installSomeFirst": "请先安装一些包以获取个性化推荐",
|
|
55
|
+
"noRecommendations": "暂无推荐",
|
|
56
|
+
"recommendationsFailed": "获取推荐失败"
|
|
46
57
|
},
|
|
47
58
|
"installer": {
|
|
48
59
|
"serviceNotFound": "未找到 MCP 服务:{{id}}",
|
|
@@ -31,6 +31,12 @@
|
|
|
31
31
|
"menu.status": "检查状态",
|
|
32
32
|
"menu.skills": "查看可用技能",
|
|
33
33
|
"menu.back": "返回主菜单",
|
|
34
|
+
"menu.cloudSync": "云同步",
|
|
35
|
+
"menu.configureCloudSync": "配置云同步",
|
|
36
|
+
"menu.syncFromCloud": "从云端同步技能",
|
|
37
|
+
"menu.uploadToCloud": "上传技能到云端",
|
|
38
|
+
"menu.checkUpdates": "检查技能更新",
|
|
39
|
+
"menu.disableCloudSync": "禁用云同步",
|
|
34
40
|
"skills.title": "可用的 Superpowers 技能",
|
|
35
41
|
"skills.noSkills": "未找到技能",
|
|
36
42
|
"skills.list": "技能列表:",
|
|
@@ -45,12 +51,52 @@
|
|
|
45
51
|
"features.debugging": "系统化调试流程",
|
|
46
52
|
"features.codeReview": "代码审查工作流",
|
|
47
53
|
"features.gitWorktrees": "Git 工作树管理",
|
|
54
|
+
"cloudSync.title": "云技能同步",
|
|
55
|
+
"cloudSync.description": "在多设备间同步您的 Superpowers 技能,并与团队成员共享",
|
|
56
|
+
"cloudSync.notConfigured": "云同步未配置,请先进行配置。",
|
|
57
|
+
"cloudSync.configured": "云同步配置成功",
|
|
58
|
+
"cloudSync.configFailed": "云同步配置失败",
|
|
59
|
+
"cloudSync.initializing": "正在初始化云同步...",
|
|
60
|
+
"cloudSync.syncing": "正在从云端同步技能...",
|
|
61
|
+
"cloudSync.uploading": "正在上传技能到云端...",
|
|
62
|
+
"cloudSync.syncSuccess": "成功从云端同步 {count} 个技能",
|
|
63
|
+
"cloudSync.syncFailed": "从云端同步技能失败",
|
|
64
|
+
"cloudSync.uploadSuccess": "成功上传 {count} 个技能到云端",
|
|
65
|
+
"cloudSync.uploadFailed": "上传技能到云端失败",
|
|
66
|
+
"cloudSync.checkingUpdates": "正在检查技能更新...",
|
|
67
|
+
"cloudSync.updatesAvailable": "有 {count} 个技能更新可用",
|
|
68
|
+
"cloudSync.noUpdates": "所有技能都是最新的",
|
|
69
|
+
"cloudSync.disabling": "正在禁用云同步...",
|
|
70
|
+
"cloudSync.disabled": "云同步已成功禁用",
|
|
71
|
+
"cloudSync.status.configured": "已配置",
|
|
72
|
+
"cloudSync.status.notConfigured": "未配置",
|
|
73
|
+
"cloudSync.status.provider": "提供商: {provider}",
|
|
74
|
+
"cloudSync.status.lastSync": "上次同步: {time}",
|
|
75
|
+
"cloudSync.status.autoSync": "自动同步: {enabled}",
|
|
76
|
+
"cloudSync.provider.githubGist": "GitHub Gist",
|
|
77
|
+
"cloudSync.provider.webdav": "WebDAV",
|
|
78
|
+
"cloudSync.provider.local": "本地存储",
|
|
79
|
+
"cloudSync.prompts.selectProvider": "选择云存储提供商:",
|
|
80
|
+
"cloudSync.prompts.enterToken": "输入 GitHub 个人访问令牌:",
|
|
81
|
+
"cloudSync.prompts.enterUsername": "输入 WebDAV 用户名:",
|
|
82
|
+
"cloudSync.prompts.enterPassword": "输入 WebDAV 密码:",
|
|
83
|
+
"cloudSync.prompts.enterUrl": "输入 WebDAV 服务器 URL:",
|
|
84
|
+
"cloudSync.prompts.enableAutoSync": "启用自动同步?",
|
|
85
|
+
"cloudSync.prompts.confirmDisable": "即将禁用云同步,是否继续?",
|
|
86
|
+
"cloudSync.prompts.confirmSync": "即将从云端同步技能,是否继续?",
|
|
87
|
+
"cloudSync.prompts.confirmUpload": "即将上传本地技能到云端,是否继续?",
|
|
88
|
+
"cloudSync.conflicts.title": "检测到同步冲突",
|
|
89
|
+
"cloudSync.conflicts.description": "有 {count} 个冲突需要解决",
|
|
90
|
+
"cloudSync.conflicts.keepLocal": "保留本地版本",
|
|
91
|
+
"cloudSync.conflicts.keepRemote": "保留远程版本",
|
|
92
|
+
"cloudSync.conflicts.merge": "合并两个版本",
|
|
48
93
|
"errors.installError": "安装错误: {error}",
|
|
49
94
|
"errors.uninstallError": "卸载错误: {error}",
|
|
50
95
|
"errors.updateError": "更新错误: {error}",
|
|
51
96
|
"errors.networkError": "网络错误,请检查网络连接。",
|
|
52
97
|
"errors.permissionError": "权限不足,请检查访问权限。",
|
|
53
98
|
"errors.claudeNotFound": "未找到 Claude Code CLI,请先安装 Claude Code。",
|
|
99
|
+
"errors.cloudSyncError": "云同步错误: {error}",
|
|
54
100
|
"prompts.confirmInstall": "即将安装 Superpowers 插件,是否继续?",
|
|
55
101
|
"prompts.confirmUninstall": "即将卸载 Superpowers 插件,是否继续?",
|
|
56
102
|
"prompts.confirmUpdate": "即将更新 Superpowers 到最新版本,是否继续?",
|
package/dist/index.d.mts
CHANGED
|
@@ -28,8 +28,8 @@ declare const CCJK_CLOUD_PLUGINS_DIR: string;
|
|
|
28
28
|
declare const CCJK_CLOUD_PLUGINS_CACHE_DIR: string;
|
|
29
29
|
declare const CCJK_CLOUD_PLUGINS_CACHE_FILE: string;
|
|
30
30
|
declare const CCJK_CLOUD_PLUGINS_INSTALLED_DIR: string;
|
|
31
|
-
declare const CCJK_CLOUD_API_URL = "https://api.
|
|
32
|
-
declare const CCJK_CLOUD_PLUGINS_API = "https://api.
|
|
31
|
+
declare const CCJK_CLOUD_API_URL = "https://api.api.claudehome.cn/v1";
|
|
32
|
+
declare const CCJK_CLOUD_PLUGINS_API = "https://api.api.claudehome.cn/v1/plugins";
|
|
33
33
|
declare const CLOUD_PLUGINS_CACHE_TTL: number;
|
|
34
34
|
declare const CLOUD_PLUGINS_MAX_CACHE_SIZE = 1000;
|
|
35
35
|
declare const LEGACY_ZCF_CONFIG_DIR: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -28,8 +28,8 @@ declare const CCJK_CLOUD_PLUGINS_DIR: string;
|
|
|
28
28
|
declare const CCJK_CLOUD_PLUGINS_CACHE_DIR: string;
|
|
29
29
|
declare const CCJK_CLOUD_PLUGINS_CACHE_FILE: string;
|
|
30
30
|
declare const CCJK_CLOUD_PLUGINS_INSTALLED_DIR: string;
|
|
31
|
-
declare const CCJK_CLOUD_API_URL = "https://api.
|
|
32
|
-
declare const CCJK_CLOUD_PLUGINS_API = "https://api.
|
|
31
|
+
declare const CCJK_CLOUD_API_URL = "https://api.api.claudehome.cn/v1";
|
|
32
|
+
declare const CCJK_CLOUD_PLUGINS_API = "https://api.api.claudehome.cn/v1/plugins";
|
|
33
33
|
declare const CLOUD_PLUGINS_CACHE_TTL: number;
|
|
34
34
|
declare const CLOUD_PLUGINS_MAX_CACHE_SIZE = 1000;
|
|
35
35
|
declare const LEGACY_ZCF_CONFIG_DIR: string;
|