stratum-cli 0.3.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.
- package/.stratumrc.json.example +137 -118
- package/dist/index.js +4455 -1015
- package/package.json +1 -1
package/.stratumrc.json.example
CHANGED
|
@@ -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
|
-
"
|
|
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
|
-
|
|
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
|
+
}
|