cc-viewer 1.6.341 → 1.6.342
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 +3 -1
- package/cli.js +6 -1
- package/dist/assets/{App-Dp2WJHli.js → App-BFcpzWEl.js} +1 -1
- package/dist/assets/App-D5BI6yGO.css +1 -0
- package/dist/assets/{MdxEditorPanel-C-J9zemB.js → MdxEditorPanel-CaDMFlsk.js} +1 -1
- package/dist/assets/{Mobile-yWAU0Wid.js → Mobile-C22UBGse.js} +1 -1
- package/dist/assets/{index-CXwhCdjW.js → index-CtSbjm-X.js} +2 -2
- package/dist/assets/{seqResourceLoaders-Deco0hhe.js → seqResourceLoaders-BqKidNto.js} +2 -2
- package/dist/assets/seqResourceLoaders-g06U0FFU.css +41 -0
- package/dist/index.html +1 -1
- package/findcc.js +17 -1
- package/package.json +1 -1
- package/dist/assets/App-DhRbGaoC.css +0 -1
- package/dist/assets/seqResourceLoaders-_JfPy7zE.css +0 -41
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
# CC-Viewer
|
|
4
4
|
|
|
5
|
+
🌐 **Website & feature tour: [weiesky.github.io/cc-viewer](https://weiesky.github.io/cc-viewer/)** — available in 18 languages (e.g. [简体中文](https://weiesky.github.io/cc-viewer/?lang=zh), [日本語](https://weiesky.github.io/cc-viewer/?lang=ja)).
|
|
6
|
+
|
|
5
7
|
Based on Claude Code, a Vibe Coding tool that distills and accumulates real development experience:
|
|
6
8
|
|
|
7
9
|
<img width="860" alt="cc-viewer — deploy once, share with every device" src="https://raw.githubusercontent.com/weiesky/cc-viewer/main/docs/cc-viewer-share.svg" />
|
|
@@ -162,7 +164,7 @@ The **Edit System Prompt** modal (Preferences → Expert Settings) is tabbed:
|
|
|
162
164
|
|
|
163
165
|
## Star History
|
|
164
166
|
|
|
165
|
-
[](https://www.star-history.com/?repos=weiesky%2Fcc-viewer&type=date&legend=top-left)
|
|
166
168
|
|
|
167
169
|
## License
|
|
168
170
|
|
package/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
11
11
|
import { homedir } from 'node:os';
|
|
12
12
|
import { spawn } from 'node:child_process';
|
|
13
13
|
import { t } from './server/i18n.js';
|
|
14
|
-
import { INJECT_IMPORT, LEGACY_INJECT_IMPORTS, resolveCliPath, resolveNativePath, resolveNpmClaudePath, buildShellCandidates, setLogDir, LOG_DIR, hasClaude2xWrapper, getGlobalNodeModulesDir, PACKAGES, getClaudeConfigDir, isBrowserOpenSuppressed } from './findcc.js';
|
|
14
|
+
import { INJECT_IMPORT, LEGACY_INJECT_IMPORTS, resolveCliPath, resolveNativePath, resolveNpmClaudePath, buildShellCandidates, setLogDir, LOG_DIR, hasClaude2xWrapper, getGlobalNodeModulesDir, PACKAGES, getClaudeConfigDir, isBrowserOpenSuppressed, applyAgentTeamsDefault } from './findcc.js';
|
|
15
15
|
import { ensureHooks, removeAllManagedHooks } from './server/lib/ensure-hooks.js';
|
|
16
16
|
import { injectCliJsAt, removeCliJsInjectionAt, INJECT_START as _INJECT_START, INJECT_END as _INJECT_END, buildInjectBlock as _buildInjectBlock } from './server/lib/cli-inject.js';
|
|
17
17
|
import { normalizeBasePath } from './server/lib/base-path.js';
|
|
@@ -19,6 +19,11 @@ import { createHardenedCleanup, installWinKeypressFallback } from './server/lib/
|
|
|
19
19
|
|
|
20
20
|
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
|
21
21
|
|
|
22
|
+
// Default agent-teams (UltraPlan / AgentTeam) on unless the user explicitly
|
|
23
|
+
// configured the flag (shell env or settings.json). Runs before any mode dispatch,
|
|
24
|
+
// so the value is inherited by the spawned claude and reported by /api/claude-settings.
|
|
25
|
+
applyAgentTeamsDefault();
|
|
26
|
+
|
|
22
27
|
// Injection marker constants are defined in server/lib/cli-inject.js (for testability);
|
|
23
28
|
// This file only re-exports them for use by helpers and hooks, preserving existing behavior.
|
|
24
29
|
const INJECT_START = _INJECT_START;
|