feat(cursor): 支持独立控制面账号登录

This commit is contained in:
aike1202
2026-08-01 22:05:08 +08:00
parent 00f52166b2
commit 9d316c0b3d
16 changed files with 1204 additions and 63 deletions
+210 -41
View File
@@ -19,8 +19,8 @@
"refs": [
{
"file": "src/views/ModelConfig.vue",
"line": 256,
"column": 1
"line": 255,
"column": 165
}
]
},
@@ -43,8 +43,8 @@
"refs": [
{
"file": "src/views/Config.vue",
"line": 72,
"column": 1
"line": 71,
"column": 48
}
]
},
@@ -108,8 +108,8 @@
"refs": [
{
"file": "src/views/Config.vue",
"line": 58,
"column": 1
"line": 57,
"column": 48
}
]
},
@@ -197,8 +197,8 @@
"refs": [
{
"file": "src/components/HomeMetricsCard.vue",
"line": 338,
"column": 1
"line": 337,
"column": 65
}
]
},
@@ -298,6 +298,18 @@
}
]
},
"1c631615c1d85c9e": {
"source": "登录 Cursor",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 138,
"column": 12
}
]
},
"1e238093b79b3165": {
"source": "留空时默认 65536",
"kind": "text",
@@ -349,12 +361,12 @@
},
{
"file": "src/views/Home.vue",
"line": 118,
"line": 119,
"column": 27
},
{
"file": "src/views/Home.vue",
"line": 126,
"line": 127,
"column": 27
},
{
@@ -407,8 +419,8 @@
"refs": [
{
"file": "src/views/Config.vue",
"line": 90,
"column": 1
"line": 89,
"column": 48
}
]
},
@@ -429,6 +441,11 @@
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 62,
"column": 17
},
{
"file": "src/components/ModelAdapterModal.vue",
"line": 297,
@@ -531,8 +548,8 @@
"refs": [
{
"file": "src/components/ModelAdapterTestCard.vue",
"line": 151,
"column": 1
"line": 150,
"column": 7
}
]
},
@@ -579,8 +596,8 @@
"refs": [
{
"file": "src/components/ModelAdapterTestCard.vue",
"line": 130,
"column": 1
"line": 129,
"column": 60
}
]
},
@@ -659,6 +676,28 @@
}
]
},
"3ab8cc15939f3b5c": {
"source": "退出登录",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 59,
"column": 12
},
{
"file": "src/components/CursorAccountCard.vue",
"line": 61,
"column": 18
},
{
"file": "src/components/CursorAccountCard.vue",
"line": 130,
"column": 1
}
]
},
"3af7e5489e61ea51": {
"source": "刷新中",
"kind": "text",
@@ -717,6 +756,18 @@
}
]
},
"3d52574ce1500561": {
"source": "未连接",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 31,
"column": 10
}
]
},
"3ea83f9f55062582": {
"source": "发布时间:{0}",
"kind": "template",
@@ -892,8 +943,8 @@
"refs": [
{
"file": "src/components/ModelAdapterTestCard.vue",
"line": 125,
"column": 1
"line": 124,
"column": 9
}
]
},
@@ -1010,7 +1061,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 106,
"line": 107,
"column": 27
}
]
@@ -1150,6 +1201,18 @@
}
]
},
"688102a402ba015a": {
"source": "等待登录...",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 138,
"column": 12
}
]
},
"699fe7ade5407687": {
"source": "直连模式",
"kind": "text",
@@ -1157,7 +1220,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 185,
"line": 186,
"column": 11
}
]
@@ -1196,6 +1259,16 @@
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 37,
"column": 30
},
{
"file": "src/components/CursorAccountCard.vue",
"line": 37,
"column": 48
},
{
"file": "src/state/appState.js",
"line": 23,
@@ -1213,12 +1286,12 @@
},
{
"file": "src/views/Home.vue",
"line": 89,
"line": 90,
"column": 30
},
{
"file": "src/views/Home.vue",
"line": 89,
"line": 90,
"column": 48
},
{
@@ -1426,7 +1499,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 96,
"line": 97,
"column": 27
}
]
@@ -1455,8 +1528,8 @@
"refs": [
{
"file": "src/components/HomeMetricsCard.vue",
"line": 390,
"column": 1
"line": 389,
"column": 65
}
]
},
@@ -1484,6 +1557,18 @@
}
]
},
"83be9cac28873059": {
"source": "Cursor 控制面账号",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 99,
"column": 56
}
]
},
"8672864e90417138": {
"source": "最高",
"kind": "text",
@@ -1556,7 +1641,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 188,
"line": 189,
"column": 11
}
]
@@ -1595,7 +1680,7 @@
},
{
"file": "src/views/Home.vue",
"line": 205,
"line": 208,
"column": 68
}
]
@@ -1708,8 +1793,8 @@
"refs": [
{
"file": "src/components/HomeMetricsCard.vue",
"line": 342,
"column": 1
"line": 341,
"column": 23
}
]
},
@@ -1845,7 +1930,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 136,
"line": 137,
"column": 29
}
]
@@ -1893,8 +1978,8 @@
"refs": [
{
"file": "src/views/ModelEditor.vue",
"line": 297,
"column": 1
"line": 296,
"column": 97
}
]
},
@@ -2016,7 +2101,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 187,
"line": 188,
"column": 11
}
]
@@ -2147,7 +2232,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 201,
"line": 204,
"column": 47
}
]
@@ -2222,7 +2307,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 136,
"line": 137,
"column": 50
}
]
@@ -2400,6 +2485,18 @@
}
]
},
"c3d46b387eeadb23": {
"source": "只会退出 cursor-byok 中的 Cursor 账号,不会退出 Cursor 客户端。是否继续?",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 60,
"column": 14
}
]
},
"c3e9c3c60020b8b7": {
"source": "选择模式",
"kind": "text",
@@ -2431,11 +2528,23 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 204,
"line": 207,
"column": 63
}
]
},
"c8a52b66651d294c": {
"source": "退出登录失败",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 71,
"column": 27
}
]
},
"c8c14507b2d37395": {
"source": "推理强度",
"kind": "text",
@@ -2525,11 +2634,23 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 186,
"line": 187,
"column": 11
}
]
},
"cfa6c803eb3fc713": {
"source": "等待浏览器登录",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 30,
"column": 42
}
]
},
"d0325067fed88e5a": {
"source": "缓存命中率 {0}",
"kind": "template",
@@ -2549,7 +2670,7 @@
"refs": [
{
"file": "src/views/Home.vue",
"line": 133,
"line": 134,
"column": 27
}
]
@@ -2653,6 +2774,18 @@
}
]
},
"d6ce4f0f88178144": {
"source": "独立用于插件、Skills 和 MCP;不会改变 Cursor 客户端当前账号",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 113,
"column": 1
}
]
},
"d7889896c5b7732a": {
"source": "Anthropic 额外参数 JSON",
"kind": "text",
@@ -2771,8 +2904,8 @@
"refs": [
{
"file": "src/views/Config.vue",
"line": 102,
"column": 1
"line": 101,
"column": 48
}
]
},
@@ -2812,11 +2945,35 @@
},
{
"file": "src/views/Home.vue",
"line": 200,
"line": 203,
"column": 56
}
]
},
"e4343921c928a856": {
"source": "登录失败",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 50,
"column": 27
}
]
},
"e53580f8031f13c0": {
"source": "请在浏览器完成登录,完成后返回 Cursor 重新打开插件市场",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 116,
"column": 1
}
]
},
"e552c2accdbf5178": {
"source": "新增模型",
"kind": "text",
@@ -2841,6 +2998,18 @@
}
]
},
"e8a0a6053998ebfa": {
"source": "已经登录",
"kind": "text",
"placeholders": 0,
"refs": [
{
"file": "src/components/CursorAccountCard.vue",
"line": 29,
"column": 43
}
]
},
"eaffd48cd2ea9f1a": {
"source": "例如:https://api.anthropic.com",
"kind": "text",