-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.42 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 4.42 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
{
"name": "deslop",
"displayName": "DeSlop - AI Slop Remover",
"description": "Rewrites AI-generated prose into clear technical writing. Removes slop vocabulary, padding phrases, decorative emojis, and cliche structures from READMEs, docstrings, commit messages, and blog posts. Works with OpenRouter and Venice.ai. Any model, your API key.",
"version": "0.1.6",
"publisher": "AUAggy",
"repository": {
"type": "git",
"url": "https://github.com/AUAggy/deslop"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other",
"Formatters"
],
"keywords": [
"ai",
"slop",
"prose",
"writing",
"documentation",
"readme",
"humanizer",
"llm",
"chatgpt",
"copilot",
"rewrite",
"editing",
"technical writing",
"ai writing",
"deSlop",
"venice",
"openrouter",
"grok"
],
"galleryBanner": {
"color": "#1e1e2e",
"theme": "dark"
},
"activationEvents": [
"onCommand:deslop.humanizeSelection",
"onCommand:deslop.resetApiKey",
"onCommand:deslop.showChanges"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "deslop.humanizeSelection",
"title": "DeSlop Selection",
"category": "DeSlop"
},
{
"command": "deslop.resetApiKey",
"title": "Reset API Key",
"category": "DeSlop"
},
{
"command": "deslop.showChanges",
"title": "Show Last Changes",
"category": "DeSlop"
}
],
"keybindings": [
{
"command": "deslop.humanizeSelection",
"key": "shift+alt+d",
"mac": "shift+alt+d",
"when": "editorHasSelection && editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"command": "deslop.humanizeSelection",
"when": "editorHasSelection",
"group": "1_modification"
}
]
},
"configuration": {
"title": "DeSlop",
"properties": {
"deslop.provider": {
"type": "string",
"enum": [
"openrouter",
"venice"
],
"default": "openrouter",
"description": "AI provider. openrouter: uses openrouter.ai (default model: deepseek/deepseek-v4-flash). venice: uses venice.ai (default model: deepseek-v4-flash). Each provider requires its own API key."
},
"deslop.model": {
"type": "string",
"default": "deepseek/deepseek-v4-flash",
"description": "Model ID for the selected provider. OpenRouter: deepseek/deepseek-v4-flash, anthropic/claude-sonnet-4-5, etc. Venice: deepseek-v4-flash, llama-3.3-70b, etc."
},
"deslop.defaultDocumentType": {
"type": [
"string",
"null"
],
"enum": [
null,
"README",
"Docstring/Comment",
"Commit Message",
"Blog/Article"
],
"default": null,
"description": "Pre-select document type; null means always prompt."
},
"deslop.showChangeLog": {
"type": "boolean",
"default": true,
"description": "Show changelog panel after each accepted rewrite. (User-scope only; workspace overrides are ignored for safety.)"
},
"deslop.autoAccept": {
"type": "boolean",
"default": false,
"description": "Skip diff view and replace text immediately. (User-scope only; workspace overrides are ignored for safety.)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run bundle",
"bundle": "esbuild src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --minify",
"compile": "tsc -p ./",
"watch": "esbuild src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --sourcemap --watch",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext .ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.110.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.3.8",
"esbuild": "^0.28.0",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"openai": "^6.33.0"
}
}