hank9999 commited on
Commit
bb56248
·
1 Parent(s): f8e8dfe

docs: 更新 README,完善配置字段及示例

Browse files
Files changed (1) hide show
  1. README.md +9 -8
README.md CHANGED
@@ -33,13 +33,14 @@ cargo build --release
33
 
34
  ```json
35
  {
36
- "host": "127.0.0.1",
37
- "port": 8990,
38
- "apiKey": "sk-your-custom-api-key",
39
- "region": "us-east-1",
40
- "kiroVersion": "0.8.0",
41
- "systemVersion": "darwin#24.6.0",
42
- "nodeVersion": "22.21.1"
 
43
  }
44
  ```
45
 
@@ -51,7 +52,7 @@ cargo build --release
51
  {
52
  "accessToken": "your-access-token",
53
  "refreshToken": "your-refresh-token",
54
- "profileArn": "arn:aws:sso::123456789:profile/xxx", // 登录时返回
55
  "expiresAt": "2024-01-01T00:00:00Z",
56
  "authMethod": "social",
57
  "provider": "Google"
 
33
 
34
  ```json
35
  {
36
+ "host": "127.0.0.1",
37
+ "port": 8990,
38
+ "apiKey": "sk-kiro-rs-qazWSXedcRFV123456",
39
+ "region": "us-east-1",
40
+ "kiroVersion": "0.8.0",
41
+ "machineId": "如果你需要自定义机器码请将64位机器码填到这里", // 不是标准格式会自动忽略, 自动生成
42
+ "systemVersion": "darwin#24.6.0",
43
+ "nodeVersion": "22.21.1"
44
  }
45
  ```
46
 
 
52
  {
53
  "accessToken": "your-access-token",
54
  "refreshToken": "your-refresh-token",
55
+ "profileArn": "arn:aws:codewhisperer:us-east-1:{12位数字}:profile/{12位大写字母数字字符串}", // 登录时返回
56
  "expiresAt": "2024-01-01T00:00:00Z",
57
  "authMethod": "social",
58
  "provider": "Google"