agent-mp 0.4.8 → 0.4.10

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.
@@ -225,6 +225,9 @@ export async function qwenAuthStatus() {
225
225
  const token = await loadToken();
226
226
  if (!token)
227
227
  return { authenticated: false };
228
+ // Verify token is not expired (loadToken already refreshes if close to expiry)
229
+ if (token.expiresAt > 0 && token.expiresAt < Date.now())
230
+ return { authenticated: false };
228
231
  return { authenticated: true };
229
232
  }
230
233
  export async function fetchQwenModels() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-mp",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Deterministic multi-agent CLI orchestrator — plan, code, review",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",