dank-ai 1.0.24 → 1.0.25
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/lib/docker/manager.js +3 -2
- package/package.json +1 -1
package/lib/docker/manager.js
CHANGED
|
@@ -1175,8 +1175,9 @@ class DockerManager {
|
|
|
1175
1175
|
// Base repository name logic
|
|
1176
1176
|
let repoName;
|
|
1177
1177
|
if (tagByAgent) {
|
|
1178
|
-
// Use a common repository
|
|
1179
|
-
|
|
1178
|
+
// Use a common repository only when no namespace is provided
|
|
1179
|
+
// Otherwise, fall back to per-agent repository name
|
|
1180
|
+
repoName = namespace ? agent.name.toLowerCase() : 'dank-agent';
|
|
1180
1181
|
} else {
|
|
1181
1182
|
// Default: per-agent repository name
|
|
1182
1183
|
repoName = agent.name.toLowerCase();
|