-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.5 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.5 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
{
"name": "elastic-gemini",
"displayName": "Elasticsearch Gemini Query",
"description": "Query Elasticsearch/OpenSearch using natural language with Google Gemini AI",
"version": "0.1.0",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "elastic-gemini.openQueryPanel",
"title": "Elasticsearch: Open Natural Language Query Panel"
}
],
"configuration": {
"title": "Elasticsearch Gemini Query",
"properties": {
"elasticGemini.geminiApiKey": {
"type": "string",
"default": "",
"description": "API Key for Google Gemini"
},
"elasticGemini.elasticsearchHost": {
"type": "string",
"default": "https://localhost:9200",
"description": "Elasticsearch or OpenSearch host URL"
},
"elasticGemini.elasticsearchUsername": {
"type": "string",
"default": "elastic",
"description": "Elasticsearch or OpenSearch username"
},
"elasticGemini.elasticsearchPassword": {
"type": "string",
"default": "",
"description": "Elasticsearch or OpenSearch password",
"format": "password"
},
"elasticGemini.mcpServerEndpoint": {
"type": "string",
"default": "http://localhost:8080",
"description": "Elasticsearch/OpenSearch MCP Server endpoint"
},
"elasticGemini.verifyCerts": {
"type": "boolean",
"default": true,
"description": "Verify SSL certificates for Elasticsearch connections"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.3.3",
"@vscode/vsce": "^2.20.0",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@google/generative-ai": "^0.1.3",
"axios": "^1.6.0"
}
}