@kendoo.agentdesk/agentdesk 0.18.2 → 0.18.3
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/CHANGELOG.md +5 -0
- package/cli/init.mjs +2 -1
- package/cli/team.mjs +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,11 @@ All user-facing changes to AgentDesk. Each entry is tagged:
|
|
|
8
8
|
|
|
9
9
|
Internal refactors, infrastructure changes, and architectural notes are not listed here.
|
|
10
10
|
|
|
11
|
+
## [0.18.3] — 2026-04-18
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- `[CLI]` Tracker credentials: if a project has credentials stored both locally (`.env`) and on the server, the local value now wins. Previously the server's copy overrode `.env`, which meant that rotating a Jira / Linear / GitHub token locally didn't take effect while the server still held the old one.
|
|
15
|
+
|
|
11
16
|
## [0.18.2] — 2026-04-18
|
|
12
17
|
|
|
13
18
|
### Fixed
|
package/cli/init.mjs
CHANGED
|
@@ -246,7 +246,8 @@ async function verifyAndPickTrackerProject({ rl, cwd, finalProjectKey, tracker,
|
|
|
246
246
|
const dotEnv = loadDotEnv(cwd);
|
|
247
247
|
const apiKey = loadApiKey(cwd);
|
|
248
248
|
const serverCreds = await fetchServerCreds(apiKey, finalProjectKey);
|
|
249
|
-
|
|
249
|
+
// .env wins over server credentials — fresh local rotation beats stale server state.
|
|
250
|
+
const credentials = resolveCredentialsFromEnv({ ...serverCreds, ...dotEnv });
|
|
250
251
|
const check = await checkTrackerPermissions({ tracker, config, credentials });
|
|
251
252
|
if (!check.ok) {
|
|
252
253
|
console.log(" ⚠ " + (check.errors[0] || "Verification failed"));
|
package/cli/team.mjs
CHANGED
|
@@ -112,7 +112,9 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
112
112
|
} catch {}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
// .env wins over server credentials — a freshly-rotated token in the
|
|
116
|
+
// user's project should beat a stale one left behind on the server.
|
|
117
|
+
const credentials = resolveCredentialsFromEnv({ ...serverCreds, ...projectEnvVars });
|
|
116
118
|
const check = await checkTrackerPermissions({ tracker, config, credentials });
|
|
117
119
|
|
|
118
120
|
if (!check.ok) {
|