-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.json
More file actions
55 lines (55 loc) · 1.44 KB
/
module.json
File metadata and controls
55 lines (55 loc) · 1.44 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
{
"id": "llm",
"name": "LLM Services",
"version": "0.3.1",
"description": "Provider registry, model routing, auth profiles, cost tracking, and interactive chat",
"runtime": "deno",
"entry": "runner.ts",
"provides": ["llm", "providerRegistry", "authProfileManager", "model-router", "cost-tracker"],
"subscribes": ["llm:generate", "llm:stream:request"],
"optionalRequires": ["http-router"],
"priority": 5,
"configKey": "models",
"configSchema": "./src/config.schema.ts",
"configDependencies": ["models"],
"cli": {
"entrypoint": "cli.ts"
},
"permissions": {
"net": [
"api.anthropic.com",
"api.openai.com",
"api.deepseek.com",
"api.githubcopilot.com",
"api.github.com",
"*.openai.azure.com",
"openrouter.ai",
"localhost"
],
"read": [".", "~/.pons/"],
"write": [".", "~/.pons/"],
"env": [
"ANTHROPIC_API_KEY",
"ANTHROPIC_BASE_URL",
"ANTHROPIC_AUTH_TOKEN",
"COPILOT_GITHUB_TOKEN",
"GH_TOKEN",
"GITHUB_TOKEN",
"AZURE_OPENAI_API_KEY",
"AZURE_OPENAI_ENDPOINT",
"DEBUG",
"OPENROUTER_API_KEY",
"OPENAI_API_KEY",
"OPENAI_ORG_ID",
"OPENAI_PROJECT_ID",
"OPENAI_BASE_URL",
"LOG_TOKENS",
"LOG_STREAM"
],
"run": ["gh", "claude"]
},
"capabilities": {
"services": ["http-router"],
"topics": ["llm:generate", "llm:stream:request", "llm:stream:chunk", "usage:updated"]
}
}