stratum-cli 0.2.1-beta.0 → 0.4.0

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.
@@ -1,118 +1,137 @@
1
- {
2
- "provider": {
3
- "default": "local-ollama",
4
- "providers": {
5
- "local-ollama": {
6
- "type": "openai-compatible",
7
- "baseUrl": "http://localhost:11434/v1",
8
- "model": "qwen3.5:9b",
9
- "apiKey": "ollama",
10
- "contextWindow": 32768
11
- },
12
- "litellm-proxy": {
13
- "type": "openai-compatible",
14
- "baseUrl": "http://localhost:4000/v1",
15
- "model": "claude-sonnet-4-5",
16
- "apiKey": "${LITELLM_API_KEY}",
17
- "contextWindow": 200000
18
- }
19
- }
20
- },
21
- "memory": {
22
- "projectFile": "./STRATUM.md",
23
- "globalFile": "~/.stratum/STRATUM.md",
24
- "decisionsFile": "~/.stratum/memory/decisions.json",
25
- "vectorDb": "~/.stratum/memory/vectors.db",
26
- "embeddingModel": "Xenova/all-MiniLM-L6-v2",
27
- "embeddingDimension": 384,
28
- "embeddingEndpoint": {
29
- "url": "http://localhost:11434/v1/embeddings",
30
- "model": "all-minilm",
31
- "apiKey": ""
32
- },
33
- "retrievalTopK": 5,
34
- "similarityThreshold": 0.9,
35
- "autoExtract": true,
36
- "extractionModel": "qwen3.5:9b",
37
- "embeddingWarmup": false
38
- },
39
- "tools": {
40
- "confirmDestructive": true,
41
- "bashTimeout": 30000,
42
- "webSearch": {
43
- "backend": "meta",
44
- "tavilyApiKey": "${TAVILY_API_KEY}",
45
- "maxResults": 10
46
- },
47
- "destructivePatterns": ["rm", "rmdir", "dd", "mkfs", "format", "DROP", "DELETE", "truncate", "shred", "wipefs"]
48
- },
49
- "mcp": {
50
- "startup": "lazy",
51
- "installDir": "~/.stratum/mcp",
52
- "autoInstall": true,
53
- "heartbeatInterval": 30000,
54
- "servers": [
55
- {
56
- "name": "filesystem",
57
- "package": "@modelcontextprotocol/server-filesystem@2025.8.21",
58
- "args": ["/home/user/projects"],
59
- "startupTimeout": 15000
60
- },
61
- {
62
- "name": "chrome-devtools",
63
- "package": "chrome-devtools-mcp@0.6.0"
64
- },
65
- {
66
- "name": "legacy-npx",
67
- "command": "npx",
68
- "args": ["-y", "some-mcp-server@latest"]
69
- }
70
- ]
71
- },
72
- "agent": {
73
- "maxIterations": 50,
74
- "maxToolRetries": 3,
75
- "toolErrorFormat": "xml",
76
- "compressionKeepRounds": 6
77
- },
78
- "agents": {
79
- "defaultProfile": "general",
80
- "maxConcurrency": 1
81
- },
82
- "logging": {
83
- "level": "info",
84
- "stderr": true,
85
- "redact": true,
86
- "file": {
87
- "enabled": false,
88
- "dir": "~/.stratum/logs",
89
- "maxBytes": 5242880,
90
- "maxFiles": 5
91
- }
92
- },
93
- "ssh": {
94
- "auditLog": true,
95
- "hosts": {
96
- "bastion": {
97
- "host": "bastion.example.com",
98
- "port": 22,
99
- "user": "javi",
100
- "privateKey": "~/.ssh/id_ed25519"
101
- },
102
- "prod-web": {
103
- "host": "192.168.1.10",
104
- "port": 22,
105
- "user": "javi",
106
- "privateKey": "~/.ssh/id_ed25519",
107
- "jumpHost": "bastion",
108
- "confirmAll": true
109
- },
110
- "dev-server": {
111
- "host": "10.0.0.5",
112
- "port": 22,
113
- "user": "javi",
114
- "useAgent": true
115
- }
116
- }
117
- }
118
- }
1
+ {
2
+ "provider": {
3
+ "default": "local-ollama",
4
+ "providers": {
5
+ "local-ollama": {
6
+ "type": "openai-compatible",
7
+ "baseUrl": "http://localhost:11434/v1",
8
+ "model": "qwen3.5:9b",
9
+ "apiKey": "ollama",
10
+ "contextWindow": 32768
11
+ },
12
+ "litellm-proxy": {
13
+ "type": "openai-compatible",
14
+ "baseUrl": "http://localhost:4000/v1",
15
+ "model": "claude-sonnet-4-5",
16
+ "apiKey": "${LITELLM_API_KEY}",
17
+ "contextWindow": 200000
18
+ }
19
+ }
20
+ },
21
+ "memory": {
22
+ "projectFile": "./STRATUM.md",
23
+ "globalFile": "~/.stratum/STRATUM.md",
24
+ "decisionsFile": "~/.stratum/memory/decisions.json",
25
+ "vectorDb": "~/.stratum/memory/vectors.db",
26
+ "embeddingModel": "Xenova/all-MiniLM-L6-v2",
27
+ "embeddingDimension": 384,
28
+ "embeddingEndpoint": {
29
+ "url": "http://localhost:11434/v1/embeddings",
30
+ "model": "all-minilm",
31
+ "apiKey": ""
32
+ },
33
+ "retrievalTopK": 5,
34
+ "similarityThreshold": 0.9,
35
+ "autoExtract": true,
36
+ "extractionModel": "qwen3.5:9b",
37
+ "embeddingWarmup": false
38
+ },
39
+ "tools": {
40
+ "confirmDestructive": true,
41
+ "bashTimeout": 30000,
42
+ "testCommand": "npm test",
43
+ "webSearch": {
44
+ "backend": "meta",
45
+ "tavilyApiKey": "${TAVILY_API_KEY}",
46
+ "maxResults": 10
47
+ },
48
+ "destructivePatterns": ["rm", "rmdir", "dd", "mkfs", "format", "DROP", "DELETE", "truncate", "shred", "wipefs"],
49
+ "guardedCommands": {
50
+ "gitPushForce": "confirm",
51
+ "gitResetHard": "confirm",
52
+ "gitRebase": "confirm",
53
+ "gitBranchDeleteForce": "confirm",
54
+ "npmPublish": "block",
55
+ "dockerPrune": "confirm",
56
+ "curlPipeShell": "confirm"
57
+ },
58
+ "sensitivePathAllowlist": []
59
+ },
60
+ "mcp": {
61
+ "startup": "lazy",
62
+ "installDir": "~/.stratum/mcp",
63
+ "autoInstall": true,
64
+ "heartbeatInterval": 30000,
65
+ "servers": [
66
+ {
67
+ "name": "filesystem",
68
+ "package": "@modelcontextprotocol/server-filesystem@2025.8.21",
69
+ "args": ["/home/user/projects"],
70
+ "startupTimeout": 15000
71
+ },
72
+ {
73
+ "name": "chrome-devtools",
74
+ "package": "chrome-devtools-mcp@0.6.0"
75
+ },
76
+ {
77
+ "name": "legacy-npx",
78
+ "command": "npx",
79
+ "args": ["-y", "some-mcp-server@latest"]
80
+ }
81
+ ]
82
+ },
83
+ "agent": {
84
+ "maxIterations": 50,
85
+ "maxToolRetries": 3,
86
+ "toolErrorFormat": "xml",
87
+ "compressionKeepRounds": 6
88
+ },
89
+ "agents": {
90
+ "defaultProfile": "general",
91
+ "maxConcurrency": 1
92
+ },
93
+ "skills": {
94
+ "enabled": true,
95
+ "registryFile": "./.stratum/skill-registry.md"
96
+ },
97
+ "prompt": {
98
+ "guides": "inline",
99
+ "guidesDir": "./.stratum/guides"
100
+ },
101
+ "logging": {
102
+ "level": "info",
103
+ "stderr": true,
104
+ "redact": true,
105
+ "file": {
106
+ "enabled": false,
107
+ "dir": "~/.stratum/logs",
108
+ "maxBytes": 5242880,
109
+ "maxFiles": 5
110
+ }
111
+ },
112
+ "ssh": {
113
+ "auditLog": true,
114
+ "hosts": {
115
+ "bastion": {
116
+ "host": "bastion.example.com",
117
+ "port": 22,
118
+ "user": "javi",
119
+ "privateKey": "~/.ssh/id_ed25519"
120
+ },
121
+ "prod-web": {
122
+ "host": "192.168.1.10",
123
+ "port": 22,
124
+ "user": "javi",
125
+ "privateKey": "~/.ssh/id_ed25519",
126
+ "jumpHost": "bastion",
127
+ "confirmAll": true
128
+ },
129
+ "dev-server": {
130
+ "host": "10.0.0.5",
131
+ "port": 22,
132
+ "user": "javi",
133
+ "useAgent": true
134
+ }
135
+ }
136
+ }
137
+ }