ccjk 13.6.3 → 13.6.4
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.
|
@@ -5,7 +5,6 @@ import { i18n } from './index2.mjs';
|
|
|
5
5
|
import { readZcfConfig } from './ccjk-config.mjs';
|
|
6
6
|
import { ClaudeCodeConfigManager } from './claude-code-config-manager.mjs';
|
|
7
7
|
import { handleCustomApiMode } from './features.mjs';
|
|
8
|
-
import { configSwitchCommand } from './config-switch.mjs';
|
|
9
8
|
import '../shared/ccjk.BAGoDD49.mjs';
|
|
10
9
|
import 'node:readline';
|
|
11
10
|
import 'stream';
|
|
@@ -43,12 +42,6 @@ import '../shared/ccjk.BP5hsTZQ.mjs';
|
|
|
43
42
|
import '../shared/ccjk.BFQ7yr5S.mjs';
|
|
44
43
|
import '../shared/ccjk.DZ2LLOa-.mjs';
|
|
45
44
|
import '../shared/ccjk.DeWpAShp.mjs';
|
|
46
|
-
import './codex.mjs';
|
|
47
|
-
import './index8.mjs';
|
|
48
|
-
import '../shared/ccjk.CxpGa6MC.mjs';
|
|
49
|
-
import './prompts.mjs';
|
|
50
|
-
import '../shared/ccjk.gDEDGD_t.mjs';
|
|
51
|
-
import '../shared/ccjk.DGllfVCZ.mjs';
|
|
52
45
|
|
|
53
46
|
function getCurrentCodeTool() {
|
|
54
47
|
const config = readZcfConfig();
|
|
@@ -85,10 +78,6 @@ async function showApiConfigMenu(title, options) {
|
|
|
85
78
|
return await handleCustomConfig(isZh, options?.context);
|
|
86
79
|
case "ccr":
|
|
87
80
|
return await handleCcrProxy(codeTool, isZh);
|
|
88
|
-
case "switch":
|
|
89
|
-
return await handleConfigSwitch(codeTool);
|
|
90
|
-
case "view":
|
|
91
|
-
return await handleViewConfig(codeTool);
|
|
92
81
|
case "skip":
|
|
93
82
|
return { mode: "skip", success: true, cancelled: false };
|
|
94
83
|
default:
|
|
@@ -151,21 +140,5 @@ async function handleCcrProxy(codeTool, isZh) {
|
|
|
151
140
|
return { mode: "ccr", success: false, cancelled: false };
|
|
152
141
|
}
|
|
153
142
|
}
|
|
154
|
-
async function handleConfigSwitch(codeTool) {
|
|
155
|
-
try {
|
|
156
|
-
await configSwitchCommand({ codeType: codeTool });
|
|
157
|
-
return { mode: "switch", success: true, cancelled: false };
|
|
158
|
-
} catch {
|
|
159
|
-
return { mode: "switch", success: false, cancelled: false };
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
async function handleViewConfig(codeTool) {
|
|
163
|
-
try {
|
|
164
|
-
await configSwitchCommand({ codeType: codeTool, list: true });
|
|
165
|
-
return { mode: "view", success: true, cancelled: false };
|
|
166
|
-
} catch {
|
|
167
|
-
return { mode: "view", success: false, cancelled: false };
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
143
|
|
|
171
144
|
export { showApiConfigMenu };
|
package/dist/chunks/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccjk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.6.
|
|
4
|
+
"version": "13.6.4",
|
|
5
5
|
"description": "Production-ready AI dev environment for Claude Code, Codex, and modern coding workflows with 30-second onboarding, persistent memory, Agent Teams, remote control, and capability discovery.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "CCJK Team",
|