@formthefog/stratus 2026.2.19 → 2026.2.20
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/README.md +1 -1
- package/TROUBLESHOOTING.md +3 -3
- package/index.ts +1 -1
- package/install.sh +4 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/skills/stratus-info/SKILL.md +1 -1
- package/src/client.ts +3 -3
- package/src/config.ts +2 -2
- package/src/setup.ts +1 -1
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ Edit `~/.openclaw/openclaw.json`:
|
|
|
154
154
|
"stratus": {
|
|
155
155
|
"enabled": true,
|
|
156
156
|
"apiKey": "${STRATUS_API_KEY}",
|
|
157
|
-
"baseUrl": "https://
|
|
157
|
+
"baseUrl": "https://api.stratus.run",
|
|
158
158
|
"provider": {
|
|
159
159
|
"enabled": true,
|
|
160
160
|
"defaultModel": "stratus-x1ac-base-claude-sonnet-4-5"
|
package/TROUBLESHOOTING.md
CHANGED
|
@@ -37,7 +37,7 @@ vim ~/.openclaw/agents/main/agent/auth-profiles.json
|
|
|
37
37
|
"profiles": [
|
|
38
38
|
{
|
|
39
39
|
"provider": "stratus",
|
|
40
|
-
"baseUrl": "https://
|
|
40
|
+
"baseUrl": "https://api.stratus.run/v1",
|
|
41
41
|
"apiKey": "stratus_sk_your_actual_key_here"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
@@ -53,7 +53,7 @@ openclaw gateway restart
|
|
|
53
53
|
4. Verify auth is working with manual curl:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
curl https://
|
|
56
|
+
curl https://api.stratus.run/v1/chat/completions \
|
|
57
57
|
-H "Content-Type: application/json" \
|
|
58
58
|
-H "Authorization: Bearer stratus_sk_your_actual_key_here" \
|
|
59
59
|
-d '{
|
|
@@ -200,7 +200,7 @@ When Stratus integration isn't working:
|
|
|
200
200
|
4. **Test with curl**: Use manual curl command (see above)
|
|
201
201
|
5. **Check gateway logs**: `openclaw gateway logs`
|
|
202
202
|
6. **Restart gateway**: `openclaw gateway restart`
|
|
203
|
-
7. **Verify endpoint**: Should be `https://
|
|
203
|
+
7. **Verify endpoint**: Should be `https://api.stratus.run/v1`
|
|
204
204
|
|
|
205
205
|
---
|
|
206
206
|
|
package/index.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { setupStratus } from "./src/setup.js";
|
|
|
7
7
|
|
|
8
8
|
const PROVIDER_ID = "stratus";
|
|
9
9
|
const PROVIDER_LABEL = "Stratus";
|
|
10
|
-
const DEFAULT_BASE_URL = "https://
|
|
10
|
+
const DEFAULT_BASE_URL = "https://api.stratus.run/v1";
|
|
11
11
|
|
|
12
12
|
function buildModelDefinition(params: {
|
|
13
13
|
id: string;
|
package/install.sh
CHANGED
|
@@ -79,7 +79,7 @@ echo " 🔧 Updating OpenClaw configuration..."
|
|
|
79
79
|
|
|
80
80
|
# Add models.providers.stratus if not present
|
|
81
81
|
if ! jq -e '.models.providers.stratus' "$OPENCLAW_CONFIG" > /dev/null 2>&1; then
|
|
82
|
-
jq --arg baseUrl "https://
|
|
82
|
+
jq --arg baseUrl "https://api.stratus.run/v1" \
|
|
83
83
|
'.models.providers.stratus = {
|
|
84
84
|
baseUrl: $baseUrl,
|
|
85
85
|
api: "openai-completions",
|
|
@@ -156,7 +156,7 @@ if [[ -n "$SHELL_CONFIG" ]] && [[ "$EXISTING_KEY" != "$API_KEY" ]]; then
|
|
|
156
156
|
|
|
157
157
|
# Stratus X1 configuration for OpenClaw
|
|
158
158
|
export STRATUS_API_KEY=$API_KEY
|
|
159
|
-
export STRATUS_BASE_URL=https://
|
|
159
|
+
export STRATUS_BASE_URL=https://api.stratus.run/v1
|
|
160
160
|
EOF
|
|
161
161
|
echo " ✓ Added to $SHELL_CONFIG"
|
|
162
162
|
echo " 💡 Run: source $SHELL_CONFIG"
|
|
@@ -179,8 +179,8 @@ if [[ "$OS" == "Darwin" ]] && [[ -f "$LAUNCHD_PLIST" ]]; then
|
|
|
179
179
|
/usr/libexec/PlistBuddy -c "Add :EnvironmentVariables:STRATUS_API_KEY string $API_KEY" "$LAUNCHD_PLIST" 2>/dev/null || \
|
|
180
180
|
/usr/libexec/PlistBuddy -c "Set :EnvironmentVariables:STRATUS_API_KEY $API_KEY" "$LAUNCHD_PLIST"
|
|
181
181
|
|
|
182
|
-
/usr/libexec/PlistBuddy -c "Add :EnvironmentVariables:STRATUS_BASE_URL string https://
|
|
183
|
-
/usr/libexec/PlistBuddy -c "Set :EnvironmentVariables:STRATUS_BASE_URL https://
|
|
182
|
+
/usr/libexec/PlistBuddy -c "Add :EnvironmentVariables:STRATUS_BASE_URL string https://api.stratus.run/v1" "$LAUNCHD_PLIST" 2>/dev/null || \
|
|
183
|
+
/usr/libexec/PlistBuddy -c "Set :EnvironmentVariables:STRATUS_BASE_URL https://api.stratus.run/v1" "$LAUNCHD_PLIST"
|
|
184
184
|
|
|
185
185
|
echo " ✓ Updated LaunchAgent plist"
|
|
186
186
|
echo " 💡 Restart gateway: openclaw gateway stop && openclaw gateway install"
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -13,8 +13,8 @@ import type {
|
|
|
13
13
|
* - STRATUS_API_KEY: User's Stratus API key (optional, can use config instead)
|
|
14
14
|
*
|
|
15
15
|
* Network Endpoints:
|
|
16
|
-
* - https://
|
|
17
|
-
* - https://
|
|
16
|
+
* - https://api.stratus.run/v1/embeddings (POST)
|
|
17
|
+
* - https://api.stratus.run/v1/rollout (POST)
|
|
18
18
|
*
|
|
19
19
|
* Data Transmitted:
|
|
20
20
|
* - Authorization header: Bearer token (Stratus API key)
|
|
@@ -80,7 +80,7 @@ export class StratusClient {
|
|
|
80
80
|
|
|
81
81
|
export function createStratusClient(config: StratusPluginConfig | undefined): StratusClient {
|
|
82
82
|
const apiKey = config?.apiKey || process.env.STRATUS_API_KEY;
|
|
83
|
-
const baseUrl = config?.baseUrl || "https://
|
|
83
|
+
const baseUrl = config?.baseUrl || "https://api.stratus.run";
|
|
84
84
|
|
|
85
85
|
if (!apiKey) {
|
|
86
86
|
throw new Error(
|
package/src/config.ts
CHANGED
|
@@ -10,7 +10,7 @@ export const StratusConfigSchema: OpenClawPluginConfigSchema = {
|
|
|
10
10
|
|
|
11
11
|
const enabled = typeof raw.enabled === "boolean" ? raw.enabled : true;
|
|
12
12
|
const apiKey = typeof raw.apiKey === "string" ? raw.apiKey : process.env.STRATUS_API_KEY;
|
|
13
|
-
const baseUrl = typeof raw.baseUrl === "string" ? raw.baseUrl : "https://
|
|
13
|
+
const baseUrl = typeof raw.baseUrl === "string" ? raw.baseUrl : "https://api.stratus.run";
|
|
14
14
|
|
|
15
15
|
const provider =
|
|
16
16
|
raw.provider && typeof raw.provider === "object" && !Array.isArray(raw.provider)
|
|
@@ -58,7 +58,7 @@ export const StratusConfigSchema: OpenClawPluginConfigSchema = {
|
|
|
58
58
|
uiHints: {
|
|
59
59
|
enabled: { label: "Enabled" },
|
|
60
60
|
apiKey: { label: "API Key", sensitive: true },
|
|
61
|
-
baseUrl: { label: "Base URL", placeholder: "https://
|
|
61
|
+
baseUrl: { label: "Base URL", placeholder: "https://api.stratus.run" },
|
|
62
62
|
"provider.enabled": { label: "Provider Enabled" },
|
|
63
63
|
"provider.defaultModel": {
|
|
64
64
|
label: "Default Model",
|
package/src/setup.ts
CHANGED
|
@@ -75,7 +75,7 @@ export async function setupStratus(prompter?: any): Promise<SetupResult> {
|
|
|
75
75
|
}
|
|
76
76
|
if (!config.models.providers.stratus) {
|
|
77
77
|
config.models.providers.stratus = {
|
|
78
|
-
baseUrl: "https://
|
|
78
|
+
baseUrl: "https://api.stratus.run/v1",
|
|
79
79
|
api: "openai-completions",
|
|
80
80
|
models: [
|
|
81
81
|
{
|