plugin.json
- name
- claude-auth
- version
- 0.1.1
- description
- Sign in to use Claude models
- license
- MIT
- extensions
- dev.sailry.platform
plugin.json
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "claude-auth",
"version": "0.1.1",
"description": "Sign in to use Claude models",
"license": "MIT",
"extensions": {
"dev.sailry.platform": {
"api_version": "v1",
"scope": "host",
"actions": [
"models.authenticate",
"credentials.inspect"
],
"display": {
"label": "Claude OAuth",
"icon": "reicon:newicons/key-square8"
},
"description": {
"label": "Sign in to use Claude models",
"locales": {
"zh-CN": "登录并使用 Claude 模型",
"zh-TW": "登入並使用 Claude 模型",
"de": "Bei Claude anmelden und Modelle nutzen",
"es": "Inicia sesión para usar modelos de Claude",
"fr": "Se connecter pour utiliser les modèles Claude",
"ja": "ログインして Claude モデルを利用",
"ko": "로그인하여 Claude 모델 사용",
"pt-BR": "Entre para usar os modelos Claude",
"ru": "Войдите, чтобы использовать модели Claude"
}
},
"category": "data",
"tint": "teal",
"model_auth": [
{
"id": "subscription",
"authentication": "claude_oauth",
"display": {
"label": "Claude OAuth"
},
"flow": {
"kind": "script",
"script": {
"entry": "dev.sailry.platform/auth/flow.js",
"resources": []
},
"handler": "authorize",
"requests": {
"token": {
"url": "https://platform.claude.com/v1/oauth/token",
"body": {
"kind": "json",
"value": {
"grant_type": "authorization_code",
"client_id": "{client_id}",
"code": "{code}",
"state": "{state}",
"redirect_uri": "{redirect_uri}",
"code_verifier": "{verifier}"
}
},
"headers": {
"User-Agent": "{user_agent}"
}
},
"refresh": {
"url": "https://platform.claude.com/v1/oauth/token",
"body": {
"kind": "json",
"value": {
"grant_type": "refresh_token",
"client_id": "{client_id}",
"refresh_token": "{refresh}"
}
},
"headers": {
"User-Agent": "{user_agent}"
}
}
},
"callback": {
"path": "/callback",
"redirect_uri": "https://platform.claude.com/oauth/code/callback",
"manual": true,
"allow_localhost": true
},
"issuer": null,
"refresh": true
},
"client": {
"client_id": "9d1c250a-e61b-44d9-88ed-5944d1962f5e"
},
"scopes": [
"org:create_api_key",
"user:profile",
"user:inference",
"user:sessions:claude_code",
"user:mcp_servers",
"user:file_upload"
]
}
]
}
}
}
What else this package ships
These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.
- flow.js
Client extensions
Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.
- dev.sailry.platformships a directory of files