Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 5.21 KB
/
Copy pathpackage.json
File metadata and controls
169 lines (169 loc) · 5.21 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "gravityguard",
"displayName": "GravityGuard — Architecture Airbag & Gatekeeper for AI Agents",
"description": "Deterministic architectural gatekeeper, test sufficiency analyzer, and prompt engineering copilot for Antigravity IDE & AI Coding Agents.",
"version": "1.5.0",
"publisher": "halilogia",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/halilogia/GravityGuard.git"
},
"bugs": {
"url": "https://github.com/halilogia/GravityGuard/issues"
},
"homepage": "https://github.com/halilogia/GravityGuard#readme",
"license": "GPL-3.0",
"engines": {
"vscode": "^1.107.0"
},
"categories": [
"Linters",
"Programming Languages",
"Testing",
"Other"
],
"keywords": [
"antigravity",
"ai-agent",
"architecture",
"srp",
"gatekeeper",
"clean-code",
"prompt-engineering"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"scripts": {
"build": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run build && node --test \"tests/**/*.test.mjs\"",
"test:engine": "python -m unittest discover -s engine -t engine -p \"test_*.py\"",
"package": "vsce package --no-git-tag-version",
"verify:package": "python tools/verify_package.py",
"update:ide": "python tools/auto_update_ide.py",
"docs:arch": "python tools/generate_architecture.py --sync",
"docs:arch:check": "python tools/generate_architecture.py --sync --check"
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "gravityguard-sidebar",
"title": "GravityGuard",
"icon": "media/shield.svg"
}
]
},
"views": {
"gravityguard-sidebar": [
{
"type": "webview",
"id": "antigravity-guardian-view",
"name": "GravityGuard Live Monitor"
}
]
},
"commands": [
{
"command": "antigravityBridge.setRouterToken",
"title": "GravityGuard: Set Router Token (Secure Storage)"
},
{
"command": "antigravityBridge.openConfig",
"title": "GravityGuard: Yapılandırmayı Aç / Open Configuration (.gravityguard.json)",
"icon": "$(gear)"
},
{
"command": "antigravityBridge.enhancePrompt",
"title": "GravityGuard: Prompt Geliştir / Enhance",
"icon": "$(sparkle)"
},
{
"command": "antigravityBridge.ping",
"title": "GravityGuard: Ping Status (yerel AI geçidi kontrolü)"
},
{
"command": "antigravityBridge.refreshLogs",
"title": "GravityGuard: Refresh Logs",
"icon": "$(refresh)"
},
{
"command": "antigravityBridge.clearLogs",
"title": "GravityGuard: Clear Logs",
"icon": "$(trash)"
},
{
"command": "antigravityBridge.resetWebview",
"title": "GravityGuard: Reset Live Monitor / Paneli Sıfırla",
"icon": "$(debug-restart)"
},
{
"command": "antigravityBridge.findSkills",
"title": "GravityGuard: Projeye Uygun Skill Bul / Find Skills for Project",
"icon": "$(sparkle)"
},
{
"command": "gravityguard.pause",
"title": "GravityGuard: Duraklat / Pause"
},
{
"command": "gravityguard.resume",
"title": "GravityGuard: Devam Et / Resume"
}
],
"keybindings": [
{
"command": "antigravityBridge.enhancePrompt",
"key": "ctrl+alt+e",
"mac": "cmd+alt+e"
}
],
"configuration": {
"title": "GravityGuard",
"properties": {
"gravityguard.routerToken": {
"type": "string",
"default": "",
"description": "Legacy token setting, migrated to SecretStorage on activation. Use GravityGuard: Set Router Token or GRAVITYGUARD_ROUTER_TOKEN."
},
"gravityguard.routerHost": {
"type": "string",
"scope": "machine",
"default": "127.0.0.1",
"description": "Loopback hostname or HTTPS URL of an OpenAI-compatible gateway. Remote HTTP is rejected."
},
"gravityguard.routerPort": {
"type": "number",
"scope": "machine",
"default": 20128,
"description": "Port of the local AI gateway."
},
"gravityguard.routerTimeoutMs": {
"type": "number",
"default": 12000,
"description": "Per-model request timeout in milliseconds. A connection-level failure (gateway down) skips the remaining models immediately instead of waiting for each timeout."
},
"gravityguard.models": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"ag/gemini-3.8-flash-low",
"ag/gemini-3.7-flash-medium",
"all"
],
"description": "Model cascade, tried in order. Any OpenAI-compatible model id works (e.g. ollama: \"llama3.1\", LM Studio: \"local-model\"). When every model fails, GravityGuard falls back to the offline deterministic composer instead of erroring."
}
}
}
},
"devDependencies": {
"@types/node": "^20.19.43",
"@types/vscode": "^1.107.0",
"typescript": "^5.9.3"
}
}