Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
175 lines (175 loc) · 4.25 KB
/
Copy pathconfig.example.json
File metadata and controls
175 lines (175 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"server": {
"port": 3000,
"host": "0.0.0.0",
"maxBodyBytes": 104857600
},
"commandcode": {
"base": "https://api.commandcode.ai",
"cliVersion": "1.79.2",
"userAgent": "cli",
"endpoints": {
"whoami": "/alpha/whoami",
"lifecycleEvents": "/alpha/lifecycle-events",
"fingerprintRecord": "/alpha/fingerprint/record",
"billingSubscriptions": "/alpha/billing/subscriptions",
"billingCredits": "/alpha/billing/credits",
"generate": "/alpha/generate",
"models": "/provider/v1/models"
}
},
"models": {
"defaultModel": "claude-sonnet-5",
"refreshMs": 600000
},
"generation": {
"reasoningEffort": "high",
"maxTokens": 64000
},
"retry": {
"429": {
"max": 3,
"baseMs": 1000
}
},
"credentialsFile": "./credentials.json",
"stateDir": "./.state",
"projectSlug": "",
"warmup": {
"_comment": "Credential fingerprint warmup policy. mode: 'startup' = warm all enabled creds in background at boot (legacy default); 'lazy' = warm on first rotation, await before first /alpha/generate (first request on that token pays extra latency); 'lazy-async' = warm on first rotation in background, send generate immediately (non-blocking); 'off' = never warm up. idleRotateHours = regenerate the ephemeral session identity (sessionId/threadId/pid, keeping installId/thumbmark) and re-emit a fresh CLI startup telemetry burst when a credential sits unused longer than this many hours, simulating 'user closed the CLI and reopened it later'. 0 disables. Example: 6.",
"mode": "lazy",
"idleRotateHours": 6
},
"hardware": {
"machinePool": [
{
"cpuModel": "Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz",
"cpuCount": 4,
"memGiB": [
8,
12,
16,
20
]
},
{
"cpuModel": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
"cpuCount": 8,
"memGiB": [
8,
16,
20
]
},
{
"cpuModel": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"cpuCount": 8,
"memGiB": [
8,
16,
20
]
},
{
"cpuModel": "AMD Ryzen 5 5500U with Radeon Graphics",
"cpuCount": 8,
"memGiB": [
8,
16,
20
]
},
{
"cpuModel": "Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz",
"cpuCount": 6,
"memGiB": [
8,
16,
24
]
},
{
"cpuModel": "Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz",
"cpuCount": 12,
"memGiB": [
16,
24,
32
]
},
{
"cpuModel": "Intel(R) Core(TM) i5-12400 CPU @ 2.50GHz",
"cpuCount": 12,
"memGiB": [
16,
24,
32
]
},
{
"cpuModel": "AMD Ryzen 5 5600X 6-Core Processor",
"cpuCount": 12,
"memGiB": [
16,
24,
32
]
},
{
"cpuModel": "Intel(R) Core(TM) i7-11700 CPU @ 2.50GHz",
"cpuCount": 16,
"memGiB": [
16,
32,
64
]
},
{
"cpuModel": "AMD Ryzen 7 5800X 8-Core Processor",
"cpuCount": 16,
"memGiB": [
16,
32,
64
]
}
],
"osReleases": [
"10.0.26200",
"10.0.26100",
"10.0.22631",
"10.0.22621",
"10.0.19045"
],
"nodeVersionPool": [
"v20.18.2",
"v20.19.0",
"v22.14.0",
"v22.15.0",
"v24.3.0",
"v24.19.0"
]
},
"fingerprint": {
"platform": "win32",
"arch": "x64",
"timezone": "Asia/Shanghai",
"runtime": "cli",
"collectorVersion": 1,
"os": "win32-x64"
},
"telemetry": {
"otelUserAgent": "OTel-OTLP-Exporter-JavaScript/0.221.0",
"serviceName": "command-code-cli",
"processExecutableName": "node.exe",
"axiom": {
"url": "https://api.axiom.co/v1/traces",
"token": "xaat-818bfed7-bc54-45bc-8bfa-d1198174064a",
"dataset": "command_code_cli_tracing"
},
"claicode": {
"url": "https://ingestion.claicode.com/v1/inference-events",
"token": "ccotlp-cli-prod-v1-7fc68c07c6f4449f9a4f71d03645a57e"
}
}
}