@magpie-community/opencode-cursor-auth 0.1.3 → 0.1.4
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/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -855,7 +855,7 @@ const signInExpired = (low) => low.includes("expired") && /token|session|sign[-
|
|
|
855
855
|
// statusOf is the status and words for Cursor's error of this code and
|
|
856
856
|
// message. A region the team isn't served in says so, not to sign in.
|
|
857
857
|
function statusOf(status, code, msg) {
|
|
858
|
-
msg ||= `HTTP ${status}`
|
|
858
|
+
msg ||= statusText(status) || `HTTP ${status}`
|
|
859
859
|
const low = msg.toLowerCase()
|
|
860
860
|
// magpie names the provider before the message itself
|
|
861
861
|
const out = (status, message) => ({ status, message })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magpie-community/opencode-cursor-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Cursor subscriptions (Pro, Pro+, Ultra, Teams) in OpenCode and magpie, through the API cursor-agent talks to",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|