iaurora 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +29 -0
- package/bin/aurora.exe +0 -0
- package/bin/aurora.js +8 -4
- package/package.json +2 -1
package/.env.example
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Aurora Gateway — Environment Variables
|
|
2
|
+
# Copy or rename this file to .env and fill in your values.
|
|
3
|
+
# The .env file must be in the same directory as your config YAML.
|
|
4
|
+
|
|
5
|
+
# REQUIRED: Gateway security key (set before exposing outside localhost)
|
|
6
|
+
AURORA_MASTER_KEY=replace-with-secure-key
|
|
7
|
+
|
|
8
|
+
# REQUIRED: At least one provider API key (uncomment one or more)
|
|
9
|
+
# GROQ_API_KEY=gsk_...
|
|
10
|
+
# OPENAI_API_KEY=sk-...
|
|
11
|
+
# ANTHROPIC_API_KEY=sk-ant-...
|
|
12
|
+
# GEMINI_API_KEY=...
|
|
13
|
+
# DEEPSEEK_API_KEY=...
|
|
14
|
+
# OPENROUTER_API_KEY=sk-or-...
|
|
15
|
+
# XAI_API_KEY=...
|
|
16
|
+
# AZURE_API_KEY=...
|
|
17
|
+
# AZURE_BASE_URL=https://your-resource.openai.azure.com/...
|
|
18
|
+
# OLLAMA_BASE_URL=http://localhost:11434/v1
|
|
19
|
+
# VLLM_BASE_URL=http://localhost:8000/v1
|
|
20
|
+
|
|
21
|
+
# OPTIONAL: Server settings
|
|
22
|
+
# PORT=8080
|
|
23
|
+
# BASE_PATH=/
|
|
24
|
+
# STORAGE_TYPE=sqlite
|
|
25
|
+
# METRICS_ENABLED=false
|
|
26
|
+
|
|
27
|
+
# OPTIONAL: Redis (for response cache)
|
|
28
|
+
# REDIS_URL=redis://localhost:6379
|
|
29
|
+
# RESPONSE_CACHE_SIMPLE_ENABLED=true
|
package/bin/aurora.exe
CHANGED
|
Binary file
|
package/bin/aurora.js
CHANGED
|
@@ -33,7 +33,7 @@ function execBinary(args) {
|
|
|
33
33
|
const binary = findBinary();
|
|
34
34
|
if (!binary) {
|
|
35
35
|
console.error('Aurora binary not found.');
|
|
36
|
-
console.error('Run `aurora install` to download
|
|
36
|
+
console.error('Run `aurora install` to download the binary for your platform.');
|
|
37
37
|
process.exit(1);
|
|
38
38
|
}
|
|
39
39
|
const result = spawnSync(binary, args, { stdio: 'inherit' });
|
|
@@ -60,9 +60,13 @@ FLAGS (passed to binary)
|
|
|
60
60
|
-version Show Go binary version info
|
|
61
61
|
|
|
62
62
|
SETUP
|
|
63
|
-
1. ${cmd} install
|
|
64
|
-
2.
|
|
65
|
-
|
|
63
|
+
1. ${cmd} install # Download the binary
|
|
64
|
+
2. Create a .env file with your keys:
|
|
65
|
+
AURORA_MASTER_KEY=<your-key>
|
|
66
|
+
GROQ_API_KEY=gsk_... # (or any provider)
|
|
67
|
+
3. Create a minimal config.yaml (or use the bundled one)
|
|
68
|
+
4. Set AURORA_CONFIG_PATH=./config.yaml
|
|
69
|
+
5. ${cmd} # Start the gateway
|
|
66
70
|
|
|
67
71
|
Docs: https://github.com/gurveeer/Aurora#readme
|
|
68
72
|
`.trim());
|