opencode-muse-auth 0.1.2 → 0.2.0
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.d.ts +6 -1
- package/dist/index.js +6 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readCache, writeCache, deviceAuthorize, pollToken, mintKey } from "./auth.js";
|
|
2
|
-
|
|
2
|
+
const MuseCodeAuth = async () => {
|
|
3
3
|
return {
|
|
4
4
|
auth: {
|
|
5
5
|
provider: "meta",
|
|
@@ -36,3 +36,8 @@ export const MuseCodeAuth = async () => {
|
|
|
36
36
|
},
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
+
export default {
|
|
40
|
+
id: "muse-code-auth",
|
|
41
|
+
server: MuseCodeAuth,
|
|
42
|
+
setup() { },
|
|
43
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-muse-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Muse Spark in opencode billed to the Muse Code monthly subscription (Meta device login, no API key)",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepublishOnly": "npm run build"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@opencode-ai/plugin": "^1.
|
|
42
|
+
"@opencode-ai/plugin": "^1.19.0",
|
|
43
43
|
"@types/node": "^22.20.3",
|
|
44
44
|
"typescript": "^7.0.2"
|
|
45
45
|
}
|