karajan-code 1.28.0 → 1.28.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "karajan-code",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "Local multi-agent coding orchestrator with TDD, SonarQube, and code review pipeline",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0",
@@ -144,6 +144,10 @@ async function resolveSonarToken(config, apiHost) {
144
144
  ].filter(Boolean);
145
145
 
146
146
  for (const password of new Set(candidates)) {
147
+ if (password === "admin") {
148
+ // eslint-disable-next-line no-console
149
+ console.warn("[karajan] WARNING: Using default admin/admin credentials for SonarQube. Set KJ_SONAR_TOKEN for production use.");
150
+ }
147
151
  const valid = await validateAdminCredentials(apiHost, adminUser, password);
148
152
  if (!valid) continue;
149
153
  const token = await generateUserToken(apiHost, adminUser, password);