@pairsystems/goodmem-mcp 0.1.24 → 0.1.25
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.js +143 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21115,7 +21115,7 @@ function _concatBytes(a, b) {
|
|
|
21115
21115
|
out.set(b, a.length);
|
|
21116
21116
|
return out;
|
|
21117
21117
|
}
|
|
21118
|
-
var BASED_ON_GOODMEM_COMMIT = "
|
|
21118
|
+
var BASED_ON_GOODMEM_COMMIT = "6acf6dd013451935e42f95562622209ef59b9515";
|
|
21119
21119
|
function isConfigured() {
|
|
21120
21120
|
return goodmemBaseUrl !== "";
|
|
21121
21121
|
}
|
|
@@ -21844,6 +21844,25 @@ var MODEL_REGISTRY = {
|
|
|
21844
21844
|
],
|
|
21845
21845
|
"maxSequenceLength": 8192
|
|
21846
21846
|
},
|
|
21847
|
+
"qwen3.7-text-embedding": {
|
|
21848
|
+
"providerType": "DASHSCOPE",
|
|
21849
|
+
"dimensions": {
|
|
21850
|
+
"default": 1024,
|
|
21851
|
+
"allowed": [
|
|
21852
|
+
256,
|
|
21853
|
+
512,
|
|
21854
|
+
768,
|
|
21855
|
+
1024,
|
|
21856
|
+
1536,
|
|
21857
|
+
2048,
|
|
21858
|
+
2560
|
|
21859
|
+
]
|
|
21860
|
+
},
|
|
21861
|
+
"supportedModalities": [
|
|
21862
|
+
"TEXT"
|
|
21863
|
+
],
|
|
21864
|
+
"maxSequenceLength": 131072
|
|
21865
|
+
},
|
|
21847
21866
|
"tongyi-embedding-vision-plus": {
|
|
21848
21867
|
"providerType": "DASHSCOPE",
|
|
21849
21868
|
"dimensions": {
|
|
@@ -22049,20 +22068,6 @@ var MODEL_REGISTRY = {
|
|
|
22049
22068
|
],
|
|
22050
22069
|
"maxContextLength": 2e5
|
|
22051
22070
|
},
|
|
22052
|
-
"o1-mini": {
|
|
22053
|
-
"providerType": "OPENAI",
|
|
22054
|
-
"supportedModalities": [
|
|
22055
|
-
"TEXT"
|
|
22056
|
-
],
|
|
22057
|
-
"maxContextLength": 128e3
|
|
22058
|
-
},
|
|
22059
|
-
"o1-preview": {
|
|
22060
|
-
"providerType": "OPENAI",
|
|
22061
|
-
"supportedModalities": [
|
|
22062
|
-
"TEXT"
|
|
22063
|
-
],
|
|
22064
|
-
"maxContextLength": 128e3
|
|
22065
|
-
},
|
|
22066
22071
|
"qwen-max": {
|
|
22067
22072
|
"providerType": "DASHSCOPE",
|
|
22068
22073
|
"supportedModalities": [
|
|
@@ -22119,6 +22124,13 @@ var MODEL_REGISTRY = {
|
|
|
22119
22124
|
],
|
|
22120
22125
|
"maxContextLength": 1e6
|
|
22121
22126
|
},
|
|
22127
|
+
"qwen3.7-flash": {
|
|
22128
|
+
"providerType": "DASHSCOPE",
|
|
22129
|
+
"supportedModalities": [
|
|
22130
|
+
"TEXT"
|
|
22131
|
+
],
|
|
22132
|
+
"maxContextLength": 1e6
|
|
22133
|
+
},
|
|
22122
22134
|
"qwen3.8-max": {
|
|
22123
22135
|
"providerType": "DASHSCOPE",
|
|
22124
22136
|
"supportedModalities": [
|
|
@@ -22126,6 +22138,13 @@ var MODEL_REGISTRY = {
|
|
|
22126
22138
|
],
|
|
22127
22139
|
"maxContextLength": 1e6
|
|
22128
22140
|
},
|
|
22141
|
+
"qwen3.8-flash": {
|
|
22142
|
+
"providerType": "DASHSCOPE",
|
|
22143
|
+
"supportedModalities": [
|
|
22144
|
+
"TEXT"
|
|
22145
|
+
],
|
|
22146
|
+
"maxContextLength": 1e6
|
|
22147
|
+
},
|
|
22129
22148
|
"qwen3.6-flash": {
|
|
22130
22149
|
"providerType": "DASHSCOPE",
|
|
22131
22150
|
"supportedModalities": [
|
|
@@ -22153,6 +22172,104 @@ var MODEL_REGISTRY = {
|
|
|
22153
22172
|
"TEXT"
|
|
22154
22173
|
],
|
|
22155
22174
|
"maxContextLength": 1e6
|
|
22175
|
+
},
|
|
22176
|
+
"deepseek-v4-flash": {
|
|
22177
|
+
"providerType": "DASHSCOPE",
|
|
22178
|
+
"supportedModalities": [
|
|
22179
|
+
"TEXT"
|
|
22180
|
+
],
|
|
22181
|
+
"maxContextLength": 1e6
|
|
22182
|
+
},
|
|
22183
|
+
"deepseek-v4.1-flash": {
|
|
22184
|
+
"providerType": "DASHSCOPE",
|
|
22185
|
+
"supportedModalities": [
|
|
22186
|
+
"TEXT"
|
|
22187
|
+
],
|
|
22188
|
+
"maxContextLength": 1e6
|
|
22189
|
+
},
|
|
22190
|
+
"glm-5.2": {
|
|
22191
|
+
"providerType": "DASHSCOPE",
|
|
22192
|
+
"supportedModalities": [
|
|
22193
|
+
"TEXT"
|
|
22194
|
+
],
|
|
22195
|
+
"maxContextLength": 1048576
|
|
22196
|
+
},
|
|
22197
|
+
"glm-5.3": {
|
|
22198
|
+
"providerType": "DASHSCOPE",
|
|
22199
|
+
"supportedModalities": [
|
|
22200
|
+
"TEXT"
|
|
22201
|
+
],
|
|
22202
|
+
"maxContextLength": 1048576
|
|
22203
|
+
},
|
|
22204
|
+
"kimi-k2.6": {
|
|
22205
|
+
"providerType": "DASHSCOPE",
|
|
22206
|
+
"supportedModalities": [
|
|
22207
|
+
"TEXT"
|
|
22208
|
+
],
|
|
22209
|
+
"maxContextLength": 262144
|
|
22210
|
+
},
|
|
22211
|
+
"kimi-k3": {
|
|
22212
|
+
"providerType": "DASHSCOPE",
|
|
22213
|
+
"supportedModalities": [
|
|
22214
|
+
"TEXT"
|
|
22215
|
+
],
|
|
22216
|
+
"maxContextLength": 1048576
|
|
22217
|
+
},
|
|
22218
|
+
"gpt-6-astra": {
|
|
22219
|
+
"providerType": "OPENAI",
|
|
22220
|
+
"supportedModalities": [
|
|
22221
|
+
"TEXT",
|
|
22222
|
+
"IMAGE"
|
|
22223
|
+
],
|
|
22224
|
+
"maxContextLength": 105e4
|
|
22225
|
+
},
|
|
22226
|
+
"gpt-6-sol": {
|
|
22227
|
+
"providerType": "OPENAI",
|
|
22228
|
+
"supportedModalities": [
|
|
22229
|
+
"TEXT",
|
|
22230
|
+
"IMAGE"
|
|
22231
|
+
],
|
|
22232
|
+
"maxContextLength": 105e4
|
|
22233
|
+
},
|
|
22234
|
+
"gpt-6-luna": {
|
|
22235
|
+
"providerType": "OPENAI",
|
|
22236
|
+
"supportedModalities": [
|
|
22237
|
+
"TEXT",
|
|
22238
|
+
"IMAGE"
|
|
22239
|
+
],
|
|
22240
|
+
"maxContextLength": 105e4
|
|
22241
|
+
},
|
|
22242
|
+
"gpt-5.6-sol": {
|
|
22243
|
+
"providerType": "OPENAI",
|
|
22244
|
+
"supportedModalities": [
|
|
22245
|
+
"TEXT",
|
|
22246
|
+
"IMAGE"
|
|
22247
|
+
],
|
|
22248
|
+
"maxContextLength": 105e4
|
|
22249
|
+
},
|
|
22250
|
+
"gpt-5.6-terra": {
|
|
22251
|
+
"providerType": "OPENAI",
|
|
22252
|
+
"supportedModalities": [
|
|
22253
|
+
"TEXT",
|
|
22254
|
+
"IMAGE"
|
|
22255
|
+
],
|
|
22256
|
+
"maxContextLength": 105e4
|
|
22257
|
+
},
|
|
22258
|
+
"gpt-5.6-luna": {
|
|
22259
|
+
"providerType": "OPENAI",
|
|
22260
|
+
"supportedModalities": [
|
|
22261
|
+
"TEXT",
|
|
22262
|
+
"IMAGE"
|
|
22263
|
+
],
|
|
22264
|
+
"maxContextLength": 105e4
|
|
22265
|
+
},
|
|
22266
|
+
"gpt-5.5": {
|
|
22267
|
+
"providerType": "OPENAI",
|
|
22268
|
+
"supportedModalities": [
|
|
22269
|
+
"TEXT",
|
|
22270
|
+
"IMAGE"
|
|
22271
|
+
],
|
|
22272
|
+
"maxContextLength": 105e4
|
|
22156
22273
|
}
|
|
22157
22274
|
},
|
|
22158
22275
|
"rerankers": {
|
|
@@ -22191,6 +22308,14 @@ var MODEL_REGISTRY = {
|
|
|
22191
22308
|
],
|
|
22192
22309
|
"maxContextLength": 4096
|
|
22193
22310
|
},
|
|
22311
|
+
"jina-reranker-v3.5": {
|
|
22312
|
+
"providerType": "JINA",
|
|
22313
|
+
"supportedModalities": [
|
|
22314
|
+
"TEXT"
|
|
22315
|
+
],
|
|
22316
|
+
"maxContextLength": 131072,
|
|
22317
|
+
"description": "Domain-ready listwise reranker for multilingual and structured retrieval"
|
|
22318
|
+
},
|
|
22194
22319
|
"jina-reranker-v3": {
|
|
22195
22320
|
"providerType": "JINA",
|
|
22196
22321
|
"supportedModalities": [
|
|
@@ -22287,7 +22412,7 @@ var MODEL_REGISTRY = {
|
|
|
22287
22412
|
"supportedModalities": [
|
|
22288
22413
|
"TEXT"
|
|
22289
22414
|
],
|
|
22290
|
-
"maxContextLength":
|
|
22415
|
+
"maxContextLength": 3e4
|
|
22291
22416
|
}
|
|
22292
22417
|
}
|
|
22293
22418
|
};
|
|
@@ -22377,7 +22502,7 @@ function autoInferFromRegistry(registryType, args) {
|
|
|
22377
22502
|
}
|
|
22378
22503
|
var server = new McpServer({
|
|
22379
22504
|
name: "goodmem",
|
|
22380
|
-
version: "0.1.
|
|
22505
|
+
version: "0.1.25"
|
|
22381
22506
|
});
|
|
22382
22507
|
server.tool("goodmem_configure", "Configure GoodMem server connection. Call this before using other GoodMem tools if GOODMEM_BASE_URL and GOODMEM_API_KEY environment variables are not set. Session credentials override environment variables. For bootstrap workflows that need to call /v1/system/info or /v1/system/init before keys exist, api_key may be omitted; most other tools will return AuthenticationException until a real key is provided.", {
|
|
22383
22508
|
base_url: external_exports.string().describe("GoodMem server URL (e.g., https://your-server.example.com)"),
|
|
@@ -22463,7 +22588,7 @@ ${allModels.join("\n")}` }] };
|
|
|
22463
22588
|
});
|
|
22464
22589
|
server.tool("goodmem_client_info", "Return the MCP client package version and the goodmem server commit it was built against. No server connection required.", {}, { readOnlyHint: true, destructiveHint: false, openWorldHint: false }, async () => {
|
|
22465
22590
|
return { content: [{ type: "text", text: JSON.stringify({
|
|
22466
|
-
mcp_version: "0.1.
|
|
22591
|
+
mcp_version: "0.1.25",
|
|
22467
22592
|
based_on_goodmem_commit: BASED_ON_GOODMEM_COMMIT
|
|
22468
22593
|
}, null, 2) }] };
|
|
22469
22594
|
});
|