mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-12-01 09:15:33 +08:00
feat: add custom context option
This commit is contained in:
1 parent
cfd1e740b2
commit
5509ac45ca
6 files changed
+171
-44
No files matched your search
@@ -38,7 +38,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 92,
|
||||
"line": 95,
|
||||
"column": 39
|
||||
}
|
||||
]
|
||||
@@ -190,7 +190,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "pages/CursorSettingsPage.tsx",
|
||||
"line": 256,
|
||||
"line": 257,
|
||||
"column": 89
|
||||
}
|
||||
]
|
||||
@@ -243,7 +243,7 @@
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 81,
|
||||
"column": 119
|
||||
"column": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -390,7 +390,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "pages/CursorSettingsPage.tsx",
|
||||
"line": 255,
|
||||
"line": 256,
|
||||
"column": 36
|
||||
},
|
||||
{
|
||||
@@ -511,12 +511,12 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 89,
|
||||
"line": 92,
|
||||
"column": 56
|
||||
},
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 89,
|
||||
"line": 92,
|
||||
"column": 141
|
||||
},
|
||||
{
|
||||
@@ -731,12 +731,12 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 88,
|
||||
"line": 91,
|
||||
"column": 56
|
||||
},
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 88,
|
||||
"line": 91,
|
||||
"column": 123
|
||||
},
|
||||
{
|
||||
@@ -912,7 +912,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 85,
|
||||
"line": 88,
|
||||
"column": 58
|
||||
}
|
||||
]
|
||||
@@ -1596,7 +1596,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 88,
|
||||
"line": 91,
|
||||
"column": 78
|
||||
},
|
||||
{
|
||||
@@ -1632,6 +1632,18 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"5cca0b7972a11f3a": {
|
||||
"source": "自定义上下文必须是大于 0 的整数",
|
||||
"kind": "text",
|
||||
"placeholders": [],
|
||||
"refs": [
|
||||
{
|
||||
"file": "pages/CursorSettingsPage.tsx",
|
||||
"line": 238,
|
||||
"column": 171
|
||||
}
|
||||
]
|
||||
},
|
||||
"5d59857bf039cac9": {
|
||||
"source": "Cursor 助手 v{version}",
|
||||
"kind": "template",
|
||||
@@ -1777,7 +1789,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "api.ts",
|
||||
"line": 289,
|
||||
"line": 290,
|
||||
"column": 43
|
||||
}
|
||||
]
|
||||
@@ -2070,7 +2082,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "api.ts",
|
||||
"line": 284,
|
||||
"line": 285,
|
||||
"column": 43
|
||||
}
|
||||
]
|
||||
@@ -2132,12 +2144,12 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 92,
|
||||
"line": 95,
|
||||
"column": 73
|
||||
},
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 92,
|
||||
"line": 95,
|
||||
"column": 122
|
||||
}
|
||||
]
|
||||
@@ -2209,7 +2221,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "api.ts",
|
||||
"line": 230,
|
||||
"line": 231,
|
||||
"column": 21
|
||||
}
|
||||
]
|
||||
@@ -2255,7 +2267,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "pages/CursorSettingsPage.tsx",
|
||||
"line": 250,
|
||||
"line": 251,
|
||||
"column": 21
|
||||
}
|
||||
]
|
||||
@@ -2318,7 +2330,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 89,
|
||||
"line": 92,
|
||||
"column": 85
|
||||
}
|
||||
]
|
||||
@@ -2443,7 +2455,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 86,
|
||||
"line": 89,
|
||||
"column": 100
|
||||
}
|
||||
]
|
||||
@@ -2479,7 +2491,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 86,
|
||||
"line": 89,
|
||||
"column": 81
|
||||
}
|
||||
]
|
||||
@@ -2559,7 +2571,7 @@
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 81,
|
||||
"column": 81
|
||||
"column": 52
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2592,6 +2604,18 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"9d8f2ef4e85ea665": {
|
||||
"source": "自定义上下文 tokens",
|
||||
"kind": "text",
|
||||
"placeholders": [],
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 86,
|
||||
"column": 63
|
||||
}
|
||||
]
|
||||
},
|
||||
"9e46da6923836182": {
|
||||
"source": "如:2026-08-23 09:00、1小时前",
|
||||
"kind": "text",
|
||||
@@ -3117,12 +3141,12 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 93,
|
||||
"line": 96,
|
||||
"column": 66
|
||||
},
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 93,
|
||||
"line": 96,
|
||||
"column": 115
|
||||
}
|
||||
]
|
||||
@@ -3286,16 +3310,28 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 94,
|
||||
"line": 97,
|
||||
"column": 66
|
||||
},
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 94,
|
||||
"line": 97,
|
||||
"column": 115
|
||||
}
|
||||
]
|
||||
},
|
||||
"c6cc835023617457": {
|
||||
"source": "自定义上下文",
|
||||
"kind": "text",
|
||||
"placeholders": [],
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 85,
|
||||
"column": 25
|
||||
}
|
||||
]
|
||||
},
|
||||
"c7ea2c9bc43134bd": {
|
||||
"source": "编辑模型",
|
||||
"kind": "text",
|
||||
@@ -3386,7 +3422,7 @@
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 81,
|
||||
"column": 54
|
||||
"column": 25
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -3443,7 +3479,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 94,
|
||||
"line": 97,
|
||||
"column": 39
|
||||
}
|
||||
]
|
||||
@@ -3477,6 +3513,18 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"d27db596b73a0a66": {
|
||||
"source": "例如:272000",
|
||||
"kind": "text",
|
||||
"placeholders": [],
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 86,
|
||||
"column": 96
|
||||
}
|
||||
]
|
||||
},
|
||||
"d2d648bd1c94b7f9": {
|
||||
"source": "认证",
|
||||
"kind": "text",
|
||||
@@ -3555,7 +3603,7 @@
|
||||
{
|
||||
"file": "components/ProviderEditor.tsx",
|
||||
"line": 26,
|
||||
"column": 190
|
||||
"column": 180
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -3758,7 +3806,7 @@
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 93,
|
||||
"line": 96,
|
||||
"column": 39
|
||||
}
|
||||
]
|
||||
@@ -3866,6 +3914,18 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"e671f8c7598139ef": {
|
||||
"source": "输入 token 数后,将作为额外选项添加到 Cursor 模型的 Context 列表;只有在 Cursor 中选中该选项时才会生效。",
|
||||
"kind": "text",
|
||||
"placeholders": [],
|
||||
"refs": [
|
||||
{
|
||||
"file": "components/cursor/CursorModelEditor.tsx",
|
||||
"line": 85,
|
||||
"column": 44
|
||||
}
|
||||
]
|
||||
},
|
||||
"e6ca887f22288cde": {
|
||||
"source": "Model ID 和显示名称不能为空",
|
||||
"kind": "text",
|
||||
|
||||
Reference in new issue
Block a user