forked from shuyu-labs/WebCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
91 lines (91 loc) · 2.45 KB
/
appsettings.json
File metadata and controls
91 lines (91 loc) · 2.45 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
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"urls": "http://*:6021",
"App": {
"DefaultUsername": "luhaiyan"
},
"Authentication": {
"Enabled": true,
"Users": []
},
"Feishu": {
"Enabled": true,
"AppId": "",
"AppSecret": "",
"EncryptKey": "",
"VerificationToken": "",
"StreamingThrottleMs": 500,
"HttpTimeoutSeconds": 30,
"DefaultCardTitle": "AI助手",
"ThinkingMessage": "⏳ 思考中..."
},
"CliTools": {
"MaxConcurrentExecutions": 3,
"DefaultTimeoutSeconds": 300,
"EnableCommandWhitelist": true,
"TempWorkspaceRoot": "",
"WorkspaceExpirationHours": 24,
"NpmGlobalPath": "",
"Tools": [
{
"Id": "claude-code",
"Name": "小树",
"Description": "Claude Code",
"Command": "claude",
"ArgumentTemplate": "",
"_Comment_ArgumentTemplate": "可选,为空时使用默认值: -p --verbose --output-format=stream-json --dangerously-skip-permissions {session} \"{prompt}\"",
"WorkingDirectory": "",
"Enabled": true,
"TimeoutSeconds": 600,
"EnvironmentVariables": {
"CLAUDECODE": ""
}
},
{
"Id": "codex",
"Name": "小树",
"Description": "Codex",
"Command": "codex",
"ArgumentTemplate": "",
"_Comment_ArgumentTemplate": "可选,为空时使用默认值: exec --skip-git-repo-check --dangerously-bypass-approvals-and-sandbox --json {session} \"{prompt}\"",
"WorkingDirectory": "",
"Enabled": true,
"TimeoutSeconds": 0,
"EnvironmentVariables": {}
},
{
"Id": "opencode",
"Name": "小树",
"Description": "OpenCode",
"Command": "opencode",
"ArgumentTemplate": "",
"WorkingDirectory": "",
"Enabled": true,
"TimeoutSeconds": 0,
"EnvironmentVariables": {
"OPENCODE_CONFIG_CONTENT": "{\"model\":\"openai/gpt-4o-mini\",\"permission\":{\"edit\":\"allow\",\"bash\":\"allow\"}}"
}
}
]
},
"Workspace": {
"AllowedRoots": [
"D:\\VSWorkshop\\WebCode",
"D:\\VSWorkshop\\TestWebCode\\projects"
],
"AutoCreateMissingDirectories": true
},
"FrontendPreview": {
"PortRangeStart": 8010,
"PortRangeEnd": 9000,
"MaxConcurrentServers": 10,
"ServerStartupTimeout": 120,
"EnableHotReload": true
}
}