-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
238 lines (238 loc) · 7.62 KB
/
package.json
File metadata and controls
238 lines (238 loc) · 7.62 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
{
"name": "depthos-bridge",
"version": "5.3.2",
"type": "module",
"displayName": "DepthOS Bridge",
"description": "Constitutional Polyphonic Bridge for Universal IDEs. Orchestrate model-agnostic expert teams grounded in truth.",
"publisher": "LVHLLC",
"repository": {
"type": "git",
"url": "https://github.com/The-Promethean-Society/DepthOSUB.git"
},
"main": "dist/extension.cjs",
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "depthos-bridge.start",
"title": "DepthOS: Start Bridge Orchestration"
},
{
"command": "depthos-bridge.focus",
"title": "DepthOS: Focus Constitutional Bridge",
"icon": "$(rocket)"
},
{
"command": "depthos-bridge.configure",
"title": "DepthOS: Configure Bridge (API Keys)",
"icon": "$(settings-gear)"
},
{
"command": "depthos-bridge.ping",
"title": "DepthOS: Ping (Verify Activation)"
},
{
"command": "depthos-bridge.reset",
"title": "DepthOS: Reset Bridge UI"
}
],
"configuration": {
"title": "DepthOS Bridge",
"properties": {
"depthos-bridge.openRouterApiKey": {
"type": "string",
"default": "",
"description": "API Key for OpenRouter.ai (used for the Meritocratic Ensemble).",
"scope": "application"
},
"depthos-bridge.ratificationScale": {
"type": "integer",
"default": 3,
"minimum": 0,
"maximum": 10,
"description": "The level of human ratification required (0: None, 10: Strict).",
"scope": "application"
},
"depthos-bridge.permissionCli": {
"type": "boolean",
"default": false,
"description": "Allow agents to execute terminal/CLI commands.",
"scope": "application"
},
"depthos-bridge.googleAiApiKey": {
"type": "string",
"default": "",
"description": "Your Google AI Studio (Gemini) API Key.",
"scope": "application"
},
"depthos-bridge.groqApiKey": {
"type": "string",
"default": "",
"description": "Your Groq API Key for ultra-fast Llama 3 models.",
"scope": "application"
},
"depthos-bridge.permissionBrowser": {
"type": "boolean",
"default": false,
"description": "Allow agents to access the browser and internet.",
"scope": "application"
},
"depthos-bridge.permissionAuth": {
"type": "boolean",
"default": false,
"description": "Allow agents to handle authentication and credentials.",
"scope": "application"
},
"depthos-bridge.orchestrationMode": {
"type": "string",
"enum": [
"meritocratic",
"frugal",
"sovereign"
],
"default": "meritocratic",
"description": "Select the brain of the Ensemble (Meritocratic: High-end models, Frugal: Free models, Sovereign: Local models via Ollama).",
"scope": "application"
},
"depthos-bridge.ollamaUrl": {
"type": "string",
"default": "http://localhost:11434",
"description": "The URL of your local Ollama instance (used in Sovereign mode).",
"scope": "application"
},
"depthos-bridge.permissionFileSystem": {
"type": "boolean",
"default": false,
"description": "Allow agents to read and write project files.",
"scope": "application"
},
"depthos-bridge.terminalTarget": {
"type": "string",
"enum": [
"bridge",
"native",
"both"
],
"default": "bridge",
"description": "Where to execute and display command output.",
"scope": "application"
},
"depthos-bridge.maxTokensPerRequest": {
"type": "integer",
"default": 4000,
"description": "Global ceiling for tokens per agent turn (Prevents 402 errors).",
"scope": "application"
},
"depthos-bridge.modelPreferences": {
"type": "object",
"default": {},
"description": "Map of model ID substrings to score adjustments (e.g., {'mistral': -500, 'gemini': 200}).",
"scope": "application"
},
"depthos-bridge.customProviders": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique ID for this provider (e.g., 'lm-studio')"
},
"name": {
"type": "string",
"description": "Display name (e.g., 'Local LM Studio')"
},
"url": {
"type": "string",
"description": "Base URL (e.g., 'http://localhost:1234/v1')"
},
"key": {
"type": "string",
"description": "API Key (if required)"
}
},
"required": [
"id",
"name",
"url"
]
},
"default": [],
"description": "Add custom OpenAI-compatible providers to the ensemble.",
"scope": "application"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "depthos-bridge-container",
"title": "DepthOS Bridge",
"icon": "$(rocket)"
}
]
},
"views": {
"depthos-bridge-container": [
{
"type": "webview",
"id": "depthos-bridge-view",
"name": "Bridge Controls",
"icon": "$(rocket)"
}
]
}
},
"bin": {
"depthos-bridge": "dist/setup.mjs",
"depthos-start": "dist/server.mjs"
},
"scripts": {
"clean": "rm -rf dist && rm -f *.vsix",
"sync-version": "node scripts/sync-version.js",
"prebuild": "npm run sync-version && npm run clean",
"build": "npm run build-extension && npm run build-server && npm run build-setup",
"build-extension": "esbuild src/extension.ts --bundle --outfile=dist/extension.cjs --external:vscode --format=cjs --platform=node && cp -r src/webview dist/webview",
"build-server": "esbuild src/server.ts --bundle --outfile=dist/server.mjs --format=esm --platform=node --external:path --external:fs --external:child_process --external:util --external:events --external:crypto --external:stream --external:url --banner:js=\"import { createRequire } from 'module'; const require = createRequire(import.meta.url);\"",
"build-setup": "esbuild src/setup.ts --bundle --outfile=dist/setup.mjs --format=esm --platform=node",
"start": "node dist/server.mjs",
"setup": "node dist/setup.mjs",
"sideload": "npm run build && vsce package && antigravity --install-extension *.vsix"
},
"keywords": [
"mcp",
"llm",
"ensemble",
"depthos",
"neural-router",
"promethea-network",
"antigravity",
"constitutional-ai"
],
"mcp": {
"servers": {
"depthos-bridge": "dist/server.mjs"
}
},
"dependencies": {
"@google/generative-ai": "^0.2.0",
"@modelcontextprotocol/sdk": "^1.25.2",
"dotenv": "^16.4.1",
"marked": "^17.0.1",
"node-fetch": "^3.3.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"esbuild": "^0.27.2",
"typescript": "^5.3.3",
"vsce": "^1.97.0"
},
"publishConfig": {
"access": "public"
}
}