-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.47 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 3.47 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
{
"name": "programming-cheerleader",
"displayName": "Programming Cheerleader",
"description": "A cute cheerleader that praises you based on your code!",
"version": "0.1.1",
"publisher": "wddd",
"repository": {
"type": "git",
"url": "https://github.com/wdwind/ProgrammingCheerleader.git"
},
"license": "MIT",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "programmingCheerleader.start",
"title": "Programming Cheerleader: Start"
},
{
"command": "programmingCheerleader.stop",
"title": "Programming Cheerleader: Stop"
}
],
"configuration": {
"title": "Programming Cheerleader",
"properties": {
"programmingCheerleader.praiseApiKey": {
"type": "string",
"default": "",
"format": "password",
"description": "API key for AI praise text generation"
},
"programmingCheerleader.praiseApiEndpoint": {
"type": "string",
"default": "https://api.xiaomimimo.com/v1/chat/completions",
"description": "API endpoint for praise text generation"
},
"programmingCheerleader.praiseTextModel": {
"type": "string",
"default": "mimo-v2-flash",
"description": "AI model used for generating praise messages"
},
"programmingCheerleader.ttsApiKey": {
"type": "string",
"default": "",
"format": "password",
"description": "API key for text-to-speech synthesis (falls back to praiseApiKey if empty)"
},
"programmingCheerleader.ttsApiEndpoint": {
"type": "string",
"default": "https://api.xiaomimimo.com/v1/chat/completions",
"description": "API endpoint for text-to-speech synthesis (falls back to praiseApiEndpoint if empty)"
},
"programmingCheerleader.ttsModel": {
"type": "string",
"default": "mimo-v2-tts",
"description": "AI model used for text-to-speech synthesis"
},
"programmingCheerleader.praiseLanguage": {
"type": "string",
"default": "zh",
"enum": ["zh", "en"],
"enumDescriptions": ["Chinese (中文)", "English"],
"description": "Language for praise messages"
},
"programmingCheerleader.useAI": {
"type": "boolean",
"default": false,
"description": "Generate praise via AI instead of pre-defined messages"
},
"programmingCheerleader.intervalSeconds": {
"type": "number",
"default": 30,
"minimum": 5,
"description": "Interval between cheerleader sentences (seconds)"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "node out/test/runTests.js",
"test:unit": "mocha --ui tdd ./out/test/unit/**/*.test.js",
"lint": "eslint src --ext ts",
"package": "vsce package",
"generateAudio": "tsc -p tsconfig.scripts.json && node out-scripts/scripts/generateAudio.js"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"glob": "^13.0.6",
"mocha": "^10.3.0",
"typescript": "^5.3.3"
}
}