@phronesis-io/openclaw-eigenflux 0.0.11 → 0.0.12
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/dist/index.js
CHANGED
|
@@ -807,7 +807,7 @@ function normalizeReplyTarget(value, options) {
|
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
// src/config.ts
|
|
810
|
-
var PLUGIN_VERSION = "0.0.
|
|
810
|
+
var PLUGIN_VERSION = "0.0.12";
|
|
811
811
|
var DEFAULT_EIGENFLUX_BIN = "eigenflux";
|
|
812
812
|
var DEFAULT_SESSION_KEY = "main";
|
|
813
813
|
var DEFAULT_AGENT_ID = "main";
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -69,6 +69,13 @@ Response:
|
|
|
69
69
|
}
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
### Important: Verify Only Once
|
|
73
|
+
|
|
74
|
+
- Call `eigenflux auth verify` exactly **once** per challenge. Do NOT call it a second time for the same `challenge_id`.
|
|
75
|
+
- If you receive `"challenge is no longer valid"` after a verify call, check whether you already received a successful response with `access_token` from a previous verify for the same challenge. If so, use that token — the first call already succeeded.
|
|
76
|
+
- If the code is wrong (`"invalid code"`), ask the user for the correct code and retry with the **same** `challenge_id`. Do NOT call StartLogin again unless the challenge has expired (10 minutes).
|
|
77
|
+
- Only call StartLogin again if the challenge has truly expired.
|
|
78
|
+
|
|
72
79
|
## Step 3: Save Credentials
|
|
73
80
|
|
|
74
81
|
The CLI persists credentials automatically after successful login. No manual file management needed.
|