ccman 3.0.29 → 3.0.31
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/dist/index.js +578 -17762
- package/dist/templates/claude/settings.json +14 -0
- package/dist/templates/codex/config.toml +109 -0
- package/package.json +2 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"ANTHROPIC_AUTH_TOKEN": "{{apiKey}}",
|
|
4
|
+
"ANTHROPIC_BASE_URL": "{{baseUrl}}",
|
|
5
|
+
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1,
|
|
6
|
+
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": 32000
|
|
7
|
+
},
|
|
8
|
+
"permissions": {
|
|
9
|
+
"allow": [],
|
|
10
|
+
"deny": []
|
|
11
|
+
},
|
|
12
|
+
"alwaysThinkingEnabled": true
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
########################################
|
|
2
|
+
# 基础设置:通用 Codex 默认配置
|
|
3
|
+
########################################
|
|
4
|
+
|
|
5
|
+
model = "gpt-5.1"
|
|
6
|
+
|
|
7
|
+
# model_provider 与 model_providers 由 ccman 根据当前服务商自动写入
|
|
8
|
+
# 如需手动指定可自行在此添加:
|
|
9
|
+
# model_provider = "YourProviderName"
|
|
10
|
+
|
|
11
|
+
# 保留你原来的推理力度设置
|
|
12
|
+
model_reasoning_effort = "high"
|
|
13
|
+
|
|
14
|
+
# 保留你原来的存储策略
|
|
15
|
+
disable_response_storage = true
|
|
16
|
+
|
|
17
|
+
# 沙箱模式
|
|
18
|
+
sandbox_mode = "workspace-write"
|
|
19
|
+
windows_wsl_setup_acknowledged = true
|
|
20
|
+
|
|
21
|
+
# 命令审批策略(只影响本地行为,不会影响上游服务商)
|
|
22
|
+
# - "never":尽量自动执行命令(自动模式)
|
|
23
|
+
approval_policy = "never"
|
|
24
|
+
|
|
25
|
+
# 默认使用的 profile(下面定义,只改行为,不改 model)
|
|
26
|
+
profile = "auto-max"
|
|
27
|
+
|
|
28
|
+
# 打开文件用哪个编辑器
|
|
29
|
+
file_opener = "vscode"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
########################################
|
|
33
|
+
# 历史记录 & 终端 UI(纯本地)
|
|
34
|
+
########################################
|
|
35
|
+
|
|
36
|
+
[history]
|
|
37
|
+
persistence = "save-all"
|
|
38
|
+
|
|
39
|
+
[tui]
|
|
40
|
+
notifications = true
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
########################################
|
|
44
|
+
# Shell 环境(纯本地)
|
|
45
|
+
########################################
|
|
46
|
+
|
|
47
|
+
[shell_environment_policy]
|
|
48
|
+
inherit = "all"
|
|
49
|
+
ignore_default_excludes = false
|
|
50
|
+
# 如有需要可以再加 exclude / include_only / set
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
########################################
|
|
54
|
+
# workspace-write 沙箱设置(纯本地)
|
|
55
|
+
########################################
|
|
56
|
+
|
|
57
|
+
[sandbox_workspace_write]
|
|
58
|
+
network_access = true
|
|
59
|
+
# 可按需再加 writable_roots / exclude_tmpdir_env_var / exclude_slash_tmp
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
########################################
|
|
63
|
+
# Features(完全沿用你原来的 + 本地能力)
|
|
64
|
+
########################################
|
|
65
|
+
|
|
66
|
+
[features]
|
|
67
|
+
plan_tool = true
|
|
68
|
+
apply_patch_freeform = true
|
|
69
|
+
view_image_tool = true
|
|
70
|
+
web_search_request = true
|
|
71
|
+
unified_exec = false
|
|
72
|
+
streamable_shell = false
|
|
73
|
+
rmcp_client = true
|
|
74
|
+
# 如以后确认 88Code 完全兼容,可以考虑再打开 ghost_commit 等
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
########################################
|
|
78
|
+
# Profiles:只改“行为”,不改模型/提供方
|
|
79
|
+
########################################
|
|
80
|
+
|
|
81
|
+
[profiles.auto-max]
|
|
82
|
+
# 使用顶层的 model / model_provider(即 gpt-5.1-codex + 88Code)
|
|
83
|
+
# 这里只覆盖“本地行为”,例如审批和沙箱
|
|
84
|
+
approval_policy = "never"
|
|
85
|
+
sandbox_mode = "workspace-write"
|
|
86
|
+
|
|
87
|
+
[profiles.review]
|
|
88
|
+
# 审核模式:命令前多问一句(适合公司仓库)
|
|
89
|
+
approval_policy = "on-request"
|
|
90
|
+
sandbox_mode = "workspace-write"
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
########################################
|
|
94
|
+
# 其它提示 / 杂项
|
|
95
|
+
########################################
|
|
96
|
+
|
|
97
|
+
[notice]
|
|
98
|
+
hide_gpt5_1_migration_prompt = true
|
|
99
|
+
|
|
100
|
+
########################################
|
|
101
|
+
# 模型提供方示例(仅注释示例,不会生效)
|
|
102
|
+
########################################
|
|
103
|
+
|
|
104
|
+
# [model_providers.88Code]
|
|
105
|
+
# name = "88Code"
|
|
106
|
+
# base_url = "https://www.88code.org/openai/v1"
|
|
107
|
+
# wire_api = "responses"
|
|
108
|
+
# requires_openai_auth = true
|
|
109
|
+
|