@orq-ai/node 3.3.0-rc.12 → 3.3.0-rc.13
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/bin/mcp-server.js +81 -57
- package/bin/mcp-server.js.map +25 -25
- package/docs/sdks/knowledge/README.md +4 -0
- package/funcs/knowledgeListChunks.js +2 -0
- package/funcs/knowledgeListChunks.js.map +1 -1
- package/funcs/knowledgeListDatasources.js +2 -0
- package/funcs/knowledgeListDatasources.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createchunk.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.d.ts +8 -8
- package/models/operations/createdatasource.d.ts.map +1 -1
- package/models/operations/createdatasource.js +15 -16
- package/models/operations/createdatasource.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listchunks.d.ts +34 -0
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +28 -1
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +37 -0
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +31 -3
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/package.json +1 -1
- package/src/funcs/knowledgeListChunks.ts +2 -0
- package/src/funcs/knowledgeListDatasources.ts +2 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createchunk.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +18 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listchunks.ts +67 -0
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +65 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
package/bin/mcp-server.js
CHANGED
|
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
|
|
|
34231
34231
|
SDK_METADATA = {
|
|
34232
34232
|
language: "typescript",
|
|
34233
34233
|
openapiDocVersion: "2.0",
|
|
34234
|
-
sdkVersion: "3.3.0-rc.
|
|
34234
|
+
sdkVersion: "3.3.0-rc.13",
|
|
34235
34235
|
genVersion: "2.562.2",
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 3.3.0-rc.
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 3.3.0-rc.13 2.562.2 2.0 @orq-ai/node"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -36268,7 +36268,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
36268
36268
|
created_by_id: stringType().optional(),
|
|
36269
36269
|
updated_by_id: stringType().optional(),
|
|
36270
36270
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36271
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36271
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
36272
36272
|
}).transform((v2) => {
|
|
36273
36273
|
return remap(v2, {
|
|
36274
36274
|
_id: "id",
|
|
@@ -36289,7 +36289,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
36289
36289
|
createdById: stringType().optional(),
|
|
36290
36290
|
updatedById: stringType().optional(),
|
|
36291
36291
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36292
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36292
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
36293
36293
|
}).transform((v2) => {
|
|
36294
36294
|
return remap(v2, {
|
|
36295
36295
|
id: "_id",
|
|
@@ -36492,7 +36492,7 @@ var init_createchunk = __esm(() => {
|
|
|
36492
36492
|
knowledge_id: stringType(),
|
|
36493
36493
|
workspace_id: stringType(),
|
|
36494
36494
|
data_source_id: stringType(),
|
|
36495
|
-
id: stringType().default("
|
|
36495
|
+
id: stringType().default("chunk_01JQCTRB5641VM9Z2857QER9BA"),
|
|
36496
36496
|
text: stringType(),
|
|
36497
36497
|
enabled: booleanType().default(true),
|
|
36498
36498
|
metadata: lazyType(() => CreateChunkKnowledgeMetadata$inboundSchema).optional(),
|
|
@@ -36515,7 +36515,7 @@ var init_createchunk = __esm(() => {
|
|
|
36515
36515
|
knowledgeId: stringType(),
|
|
36516
36516
|
workspaceId: stringType(),
|
|
36517
36517
|
dataSourceId: stringType(),
|
|
36518
|
-
id: stringType().default("
|
|
36518
|
+
id: stringType().default("chunk_01JQCTRB5641VM9Z2857QER9BA"),
|
|
36519
36519
|
text: stringType(),
|
|
36520
36520
|
enabled: booleanType().default(true),
|
|
36521
36521
|
metadata: lazyType(() => CreateChunkKnowledgeMetadata$outboundSchema).optional(),
|
|
@@ -36586,7 +36586,7 @@ var init_createcontact = __esm(() => {
|
|
|
36586
36586
|
tags: arrayType(stringType()).optional(),
|
|
36587
36587
|
metadata: recordType(anyType()).optional(),
|
|
36588
36588
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36589
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36589
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
36590
36590
|
}).transform((v2) => {
|
|
36591
36591
|
return remap(v2, {
|
|
36592
36592
|
external_id: "externalId",
|
|
@@ -36603,7 +36603,7 @@ var init_createcontact = __esm(() => {
|
|
|
36603
36603
|
tags: arrayType(stringType()).optional(),
|
|
36604
36604
|
metadata: recordType(anyType()).optional(),
|
|
36605
36605
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36606
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36606
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
36607
36607
|
}).transform((v2) => {
|
|
36608
36608
|
return remap(v2, {
|
|
36609
36609
|
externalId: "external_id",
|
|
@@ -36673,7 +36673,7 @@ var init_createdataset = __esm(() => {
|
|
|
36673
36673
|
updated_by_id: stringType().optional(),
|
|
36674
36674
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36675
36675
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36676
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36676
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
36677
36677
|
}).transform((v2) => {
|
|
36678
36678
|
return remap(v2, {
|
|
36679
36679
|
_id: "id",
|
|
@@ -36693,7 +36693,7 @@ var init_createdataset = __esm(() => {
|
|
|
36693
36693
|
updatedById: stringType().optional(),
|
|
36694
36694
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36695
36695
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36696
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36696
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
36697
36697
|
}).transform((v2) => {
|
|
36698
36698
|
return remap(v2, {
|
|
36699
36699
|
id: "_id",
|
|
@@ -37129,7 +37129,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37129
37129
|
created_by_id: stringType().optional(),
|
|
37130
37130
|
updated_by_id: stringType().optional(),
|
|
37131
37131
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37132
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
37132
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
37133
37133
|
}).transform((v2) => {
|
|
37134
37134
|
return remap(v2, {
|
|
37135
37135
|
_id: "id",
|
|
@@ -37150,7 +37150,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37150
37150
|
createdById: stringType().optional(),
|
|
37151
37151
|
updatedById: stringType().optional(),
|
|
37152
37152
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37153
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
37153
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
37154
37154
|
}).transform((v2) => {
|
|
37155
37155
|
return remap(v2, {
|
|
37156
37156
|
id: "_id",
|
|
@@ -37168,7 +37168,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37168
37168
|
});
|
|
37169
37169
|
|
|
37170
37170
|
// src/models/operations/createdatasource.ts
|
|
37171
|
-
var CreateDatasourceChunkingConfigurationType, ChunkingConfigurationType,
|
|
37171
|
+
var CreateDatasourceChunkingConfigurationType, ChunkingConfigurationType, CreateDatasourceStatus, CreateDatasourceChunkingConfigurationType$inboundSchema, CreateDatasourceChunkingConfigurationType$outboundSchema, CreateDatasourceChunkingConfigurationType$, ChunkingConfiguration2$inboundSchema, ChunkingConfiguration2$outboundSchema, ChunkingConfiguration2$, ChunkingConfigurationType$inboundSchema, ChunkingConfigurationType$outboundSchema, ChunkingConfigurationType$, ChunkingConfiguration1$inboundSchema, ChunkingConfiguration1$outboundSchema, ChunkingConfiguration1$, ChunkingConfiguration$inboundSchema, ChunkingConfiguration$outboundSchema, ChunkingConfiguration$, ChunkingCleanupOptions$inboundSchema, ChunkingCleanupOptions$outboundSchema, ChunkingCleanupOptions$, ChunkingOptions$inboundSchema, ChunkingOptions$outboundSchema, ChunkingOptions$, CreateDatasourceRequestBody$inboundSchema, CreateDatasourceRequestBody$outboundSchema, CreateDatasourceRequestBody$, CreateDatasourceRequest$inboundSchema, CreateDatasourceRequest$outboundSchema, CreateDatasourceRequest$, CreateDatasourceStatus$inboundSchema, CreateDatasourceStatus$outboundSchema, CreateDatasourceStatus$, CreateDatasourceResponseBody$inboundSchema, CreateDatasourceResponseBody$outboundSchema, CreateDatasourceResponseBody$;
|
|
37172
37172
|
var init_createdatasource = __esm(() => {
|
|
37173
37173
|
init_lib();
|
|
37174
37174
|
init_primitives();
|
|
@@ -37178,7 +37178,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37178
37178
|
ChunkingConfigurationType = {
|
|
37179
37179
|
Default: "default"
|
|
37180
37180
|
};
|
|
37181
|
-
|
|
37181
|
+
CreateDatasourceStatus = {
|
|
37182
37182
|
Pending: "pending",
|
|
37183
37183
|
Processing: "processing",
|
|
37184
37184
|
Completed: "completed",
|
|
@@ -37365,17 +37365,17 @@ var init_createdatasource = __esm(() => {
|
|
|
37365
37365
|
CreateDatasourceRequest$.inboundSchema = CreateDatasourceRequest$inboundSchema;
|
|
37366
37366
|
CreateDatasourceRequest$.outboundSchema = CreateDatasourceRequest$outboundSchema;
|
|
37367
37367
|
})(CreateDatasourceRequest$ ||= {});
|
|
37368
|
-
|
|
37369
|
-
|
|
37370
|
-
((
|
|
37371
|
-
|
|
37372
|
-
|
|
37373
|
-
})(
|
|
37368
|
+
CreateDatasourceStatus$inboundSchema = nativeEnumType(CreateDatasourceStatus);
|
|
37369
|
+
CreateDatasourceStatus$outboundSchema = CreateDatasourceStatus$inboundSchema;
|
|
37370
|
+
((CreateDatasourceStatus$) => {
|
|
37371
|
+
CreateDatasourceStatus$.inboundSchema = CreateDatasourceStatus$inboundSchema;
|
|
37372
|
+
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
37373
|
+
})(CreateDatasourceStatus$ ||= {});
|
|
37374
37374
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
37375
|
-
_id: stringType().default("
|
|
37375
|
+
_id: stringType().default("01JQCTRB55NRQE9TA5CZ38G32M"),
|
|
37376
37376
|
display_name: stringType(),
|
|
37377
37377
|
description: stringType().optional(),
|
|
37378
|
-
status:
|
|
37378
|
+
status: CreateDatasourceStatus$inboundSchema,
|
|
37379
37379
|
file_id: nullableType(stringType()).optional(),
|
|
37380
37380
|
created: stringType(),
|
|
37381
37381
|
updated: stringType(),
|
|
@@ -37395,10 +37395,10 @@ var init_createdatasource = __esm(() => {
|
|
|
37395
37395
|
});
|
|
37396
37396
|
});
|
|
37397
37397
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
37398
|
-
id: stringType().default("
|
|
37398
|
+
id: stringType().default("01JQCTRB55NRQE9TA5CZ38G32M"),
|
|
37399
37399
|
displayName: stringType(),
|
|
37400
37400
|
description: stringType().optional(),
|
|
37401
|
-
status:
|
|
37401
|
+
status: CreateDatasourceStatus$outboundSchema,
|
|
37402
37402
|
fileId: nullableType(stringType()).optional(),
|
|
37403
37403
|
created: stringType(),
|
|
37404
37404
|
updated: stringType(),
|
|
@@ -44552,7 +44552,7 @@ var init_fileget = __esm(() => {
|
|
|
44552
44552
|
bytes: numberType(),
|
|
44553
44553
|
file_name: stringType(),
|
|
44554
44554
|
workspace_id: stringType(),
|
|
44555
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
44555
|
+
created: stringType().datetime({ offset: true }).default("2025-03-27T22:14:50.109Z").transform((v2) => new Date(v2))
|
|
44556
44556
|
}).transform((v2) => {
|
|
44557
44557
|
return remap(v2, {
|
|
44558
44558
|
_id: "id",
|
|
@@ -44568,7 +44568,7 @@ var init_fileget = __esm(() => {
|
|
|
44568
44568
|
bytes: numberType(),
|
|
44569
44569
|
fileName: stringType(),
|
|
44570
44570
|
workspaceId: stringType(),
|
|
44571
|
-
created: dateType().default(() => new Date("2025-03-
|
|
44571
|
+
created: dateType().default(() => new Date("2025-03-27T22:14:50.109Z")).transform((v2) => v2.toISOString())
|
|
44572
44572
|
}).transform((v2) => {
|
|
44573
44573
|
return remap(v2, {
|
|
44574
44574
|
id: "_id",
|
|
@@ -44639,7 +44639,7 @@ var init_filelist = __esm(() => {
|
|
|
44639
44639
|
bytes: numberType(),
|
|
44640
44640
|
file_name: stringType(),
|
|
44641
44641
|
workspace_id: stringType(),
|
|
44642
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
44642
|
+
created: stringType().datetime({ offset: true }).default("2025-03-27T22:14:50.109Z").transform((v2) => new Date(v2))
|
|
44643
44643
|
}).transform((v2) => {
|
|
44644
44644
|
return remap(v2, {
|
|
44645
44645
|
_id: "id",
|
|
@@ -44655,7 +44655,7 @@ var init_filelist = __esm(() => {
|
|
|
44655
44655
|
bytes: numberType(),
|
|
44656
44656
|
fileName: stringType(),
|
|
44657
44657
|
workspaceId: stringType(),
|
|
44658
|
-
created: dateType().default(() => new Date("2025-03-
|
|
44658
|
+
created: dateType().default(() => new Date("2025-03-27T22:14:50.109Z")).transform((v2) => v2.toISOString())
|
|
44659
44659
|
}).transform((v2) => {
|
|
44660
44660
|
return remap(v2, {
|
|
44661
44661
|
id: "_id",
|
|
@@ -44787,7 +44787,7 @@ var init_fileupload = __esm(() => {
|
|
|
44787
44787
|
bytes: numberType(),
|
|
44788
44788
|
file_name: stringType(),
|
|
44789
44789
|
workspace_id: stringType(),
|
|
44790
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
44790
|
+
created: stringType().datetime({ offset: true }).default("2025-03-27T22:14:50.109Z").transform((v2) => new Date(v2))
|
|
44791
44791
|
}).transform((v2) => {
|
|
44792
44792
|
return remap(v2, {
|
|
44793
44793
|
_id: "id",
|
|
@@ -44803,7 +44803,7 @@ var init_fileupload = __esm(() => {
|
|
|
44803
44803
|
bytes: numberType(),
|
|
44804
44804
|
fileName: stringType(),
|
|
44805
44805
|
workspaceId: stringType(),
|
|
44806
|
-
created: dateType().default(() => new Date("2025-03-
|
|
44806
|
+
created: dateType().default(() => new Date("2025-03-27T22:14:50.109Z")).transform((v2) => v2.toISOString())
|
|
44807
44807
|
}).transform((v2) => {
|
|
44808
44808
|
return remap(v2, {
|
|
44809
44809
|
id: "_id",
|
|
@@ -47116,7 +47116,7 @@ var init_getpromptversion = __esm(() => {
|
|
|
47116
47116
|
});
|
|
47117
47117
|
|
|
47118
47118
|
// src/models/operations/listchunks.ts
|
|
47119
|
-
var ListChunksObject, ListChunksStatus, ListChunksRequest$inboundSchema, ListChunksRequest$outboundSchema, ListChunksRequest$, ListChunksObject$inboundSchema, ListChunksObject$outboundSchema, ListChunksObject$, ListChunksStatus$inboundSchema, ListChunksStatus$outboundSchema, ListChunksStatus$, ListChunksData$inboundSchema, ListChunksData$outboundSchema, ListChunksData$, ListChunksResponseBody$inboundSchema, ListChunksResponseBody$outboundSchema, ListChunksResponseBody$;
|
|
47119
|
+
var ListChunksObject, ListChunksStatus, QueryParamStatus$inboundSchema, QueryParamStatus$outboundSchema, QueryParamStatus$, ListChunksRequest$inboundSchema, ListChunksRequest$outboundSchema, ListChunksRequest$, ListChunksObject$inboundSchema, ListChunksObject$outboundSchema, ListChunksObject$, ListChunksStatus$inboundSchema, ListChunksStatus$outboundSchema, ListChunksStatus$, ListChunksData$inboundSchema, ListChunksData$outboundSchema, ListChunksData$, ListChunksResponseBody$inboundSchema, ListChunksResponseBody$outboundSchema, ListChunksResponseBody$;
|
|
47120
47120
|
var init_listchunks = __esm(() => {
|
|
47121
47121
|
init_lib();
|
|
47122
47122
|
init_primitives();
|
|
@@ -47130,12 +47130,20 @@ var init_listchunks = __esm(() => {
|
|
|
47130
47130
|
Failed: "failed",
|
|
47131
47131
|
Queued: "queued"
|
|
47132
47132
|
};
|
|
47133
|
+
QueryParamStatus$inboundSchema = unionType([arrayType(stringType()), stringType()]);
|
|
47134
|
+
QueryParamStatus$outboundSchema = unionType([arrayType(stringType()), stringType()]);
|
|
47135
|
+
((QueryParamStatus$) => {
|
|
47136
|
+
QueryParamStatus$.inboundSchema = QueryParamStatus$inboundSchema;
|
|
47137
|
+
QueryParamStatus$.outboundSchema = QueryParamStatus$outboundSchema;
|
|
47138
|
+
})(QueryParamStatus$ ||= {});
|
|
47133
47139
|
ListChunksRequest$inboundSchema = objectType({
|
|
47134
47140
|
knowledge_id: stringType(),
|
|
47135
47141
|
datasource_id: stringType(),
|
|
47136
47142
|
limit: numberType().default(10),
|
|
47137
47143
|
starting_after: stringType().optional(),
|
|
47138
|
-
ending_before: stringType().optional()
|
|
47144
|
+
ending_before: stringType().optional(),
|
|
47145
|
+
q: stringType().optional(),
|
|
47146
|
+
status: unionType([arrayType(stringType()), stringType()]).optional()
|
|
47139
47147
|
}).transform((v2) => {
|
|
47140
47148
|
return remap(v2, {
|
|
47141
47149
|
knowledge_id: "knowledgeId",
|
|
@@ -47149,7 +47157,9 @@ var init_listchunks = __esm(() => {
|
|
|
47149
47157
|
datasourceId: stringType(),
|
|
47150
47158
|
limit: numberType().default(10),
|
|
47151
47159
|
startingAfter: stringType().optional(),
|
|
47152
|
-
endingBefore: stringType().optional()
|
|
47160
|
+
endingBefore: stringType().optional(),
|
|
47161
|
+
q: stringType().optional(),
|
|
47162
|
+
status: unionType([arrayType(stringType()), stringType()]).optional()
|
|
47153
47163
|
}).transform((v2) => {
|
|
47154
47164
|
return remap(v2, {
|
|
47155
47165
|
knowledgeId: "knowledge_id",
|
|
@@ -47469,7 +47479,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
47469
47479
|
created_by_id: stringType().optional(),
|
|
47470
47480
|
updated_by_id: stringType().optional(),
|
|
47471
47481
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
47472
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
47482
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
47473
47483
|
}).transform((v2) => {
|
|
47474
47484
|
return remap(v2, {
|
|
47475
47485
|
_id: "id",
|
|
@@ -47490,7 +47500,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
47490
47500
|
createdById: stringType().optional(),
|
|
47491
47501
|
updatedById: stringType().optional(),
|
|
47492
47502
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
47493
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
47503
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
47494
47504
|
}).transform((v2) => {
|
|
47495
47505
|
return remap(v2, {
|
|
47496
47506
|
id: "_id",
|
|
@@ -47598,7 +47608,7 @@ var init_listdatasets = __esm(() => {
|
|
|
47598
47608
|
updated_by_id: stringType().optional(),
|
|
47599
47609
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
47600
47610
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
47601
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
47611
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
47602
47612
|
}).transform((v2) => {
|
|
47603
47613
|
return remap(v2, {
|
|
47604
47614
|
_id: "id",
|
|
@@ -47618,7 +47628,7 @@ var init_listdatasets = __esm(() => {
|
|
|
47618
47628
|
updatedById: stringType().optional(),
|
|
47619
47629
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
47620
47630
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
47621
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
47631
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
47622
47632
|
}).transform((v2) => {
|
|
47623
47633
|
return remap(v2, {
|
|
47624
47634
|
id: "_id",
|
|
@@ -47658,7 +47668,7 @@ var init_listdatasets = __esm(() => {
|
|
|
47658
47668
|
});
|
|
47659
47669
|
|
|
47660
47670
|
// src/models/operations/listdatasources.ts
|
|
47661
|
-
var ListDatasourcesObject, ListDatasourcesStatus, ListDatasourcesRequest$inboundSchema, ListDatasourcesRequest$outboundSchema, ListDatasourcesRequest$, ListDatasourcesObject$inboundSchema, ListDatasourcesObject$outboundSchema, ListDatasourcesObject$, ListDatasourcesStatus$inboundSchema, ListDatasourcesStatus$outboundSchema, ListDatasourcesStatus$, ListDatasourcesData$inboundSchema, ListDatasourcesData$outboundSchema, ListDatasourcesData$, ListDatasourcesResponseBody$inboundSchema, ListDatasourcesResponseBody$outboundSchema, ListDatasourcesResponseBody$;
|
|
47671
|
+
var ListDatasourcesObject, ListDatasourcesStatus, Status$inboundSchema, Status$outboundSchema, Status$, ListDatasourcesRequest$inboundSchema, ListDatasourcesRequest$outboundSchema, ListDatasourcesRequest$, ListDatasourcesObject$inboundSchema, ListDatasourcesObject$outboundSchema, ListDatasourcesObject$, ListDatasourcesStatus$inboundSchema, ListDatasourcesStatus$outboundSchema, ListDatasourcesStatus$, ListDatasourcesData$inboundSchema, ListDatasourcesData$outboundSchema, ListDatasourcesData$, ListDatasourcesResponseBody$inboundSchema, ListDatasourcesResponseBody$outboundSchema, ListDatasourcesResponseBody$;
|
|
47662
47672
|
var init_listdatasources = __esm(() => {
|
|
47663
47673
|
init_lib();
|
|
47664
47674
|
init_primitives();
|
|
@@ -47672,11 +47682,19 @@ var init_listdatasources = __esm(() => {
|
|
|
47672
47682
|
Failed: "failed",
|
|
47673
47683
|
Queued: "queued"
|
|
47674
47684
|
};
|
|
47685
|
+
Status$inboundSchema = unionType([arrayType(stringType()), stringType()]);
|
|
47686
|
+
Status$outboundSchema = unionType([arrayType(stringType()), stringType()]);
|
|
47687
|
+
((Status$) => {
|
|
47688
|
+
Status$.inboundSchema = Status$inboundSchema;
|
|
47689
|
+
Status$.outboundSchema = Status$outboundSchema;
|
|
47690
|
+
})(Status$ ||= {});
|
|
47675
47691
|
ListDatasourcesRequest$inboundSchema = objectType({
|
|
47676
47692
|
knowledge_id: stringType(),
|
|
47677
47693
|
limit: numberType().default(10),
|
|
47678
47694
|
starting_after: stringType().optional(),
|
|
47679
|
-
ending_before: stringType().optional()
|
|
47695
|
+
ending_before: stringType().optional(),
|
|
47696
|
+
q: stringType().optional(),
|
|
47697
|
+
status: unionType([arrayType(stringType()), stringType()]).optional()
|
|
47680
47698
|
}).transform((v2) => {
|
|
47681
47699
|
return remap(v2, {
|
|
47682
47700
|
knowledge_id: "knowledgeId",
|
|
@@ -47688,7 +47706,9 @@ var init_listdatasources = __esm(() => {
|
|
|
47688
47706
|
knowledgeId: stringType(),
|
|
47689
47707
|
limit: numberType().default(10),
|
|
47690
47708
|
startingAfter: stringType().optional(),
|
|
47691
|
-
endingBefore: stringType().optional()
|
|
47709
|
+
endingBefore: stringType().optional(),
|
|
47710
|
+
q: stringType().optional(),
|
|
47711
|
+
status: unionType([arrayType(stringType()), stringType()]).optional()
|
|
47692
47712
|
}).transform((v2) => {
|
|
47693
47713
|
return remap(v2, {
|
|
47694
47714
|
knowledgeId: "knowledge_id",
|
|
@@ -47713,7 +47733,7 @@ var init_listdatasources = __esm(() => {
|
|
|
47713
47733
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
47714
47734
|
})(ListDatasourcesStatus$ ||= {});
|
|
47715
47735
|
ListDatasourcesData$inboundSchema = objectType({
|
|
47716
|
-
_id: stringType().default("
|
|
47736
|
+
_id: stringType().default("01JQCTRB531JQVNWM64H1NSW6S"),
|
|
47717
47737
|
display_name: stringType(),
|
|
47718
47738
|
description: stringType().optional(),
|
|
47719
47739
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -47736,7 +47756,7 @@ var init_listdatasources = __esm(() => {
|
|
|
47736
47756
|
});
|
|
47737
47757
|
});
|
|
47738
47758
|
ListDatasourcesData$outboundSchema = objectType({
|
|
47739
|
-
id: stringType().default("
|
|
47759
|
+
id: stringType().default("01JQCTRB531JQVNWM64H1NSW6S"),
|
|
47740
47760
|
displayName: stringType(),
|
|
47741
47761
|
description: stringType().optional(),
|
|
47742
47762
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -49164,7 +49184,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
49164
49184
|
created_by_id: stringType().optional(),
|
|
49165
49185
|
updated_by_id: stringType().optional(),
|
|
49166
49186
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
49167
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
49187
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
49168
49188
|
}).transform((v2) => {
|
|
49169
49189
|
return remap(v2, {
|
|
49170
49190
|
_id: "id",
|
|
@@ -49185,7 +49205,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
49185
49205
|
createdById: stringType().optional(),
|
|
49186
49206
|
updatedById: stringType().optional(),
|
|
49187
49207
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
49188
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
49208
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
49189
49209
|
}).transform((v2) => {
|
|
49190
49210
|
return remap(v2, {
|
|
49191
49211
|
id: "_id",
|
|
@@ -49256,7 +49276,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
49256
49276
|
updated_by_id: stringType().optional(),
|
|
49257
49277
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
49258
49278
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
49259
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
49279
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
49260
49280
|
}).transform((v2) => {
|
|
49261
49281
|
return remap(v2, {
|
|
49262
49282
|
_id: "id",
|
|
@@ -49276,7 +49296,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
49276
49296
|
updatedById: stringType().optional(),
|
|
49277
49297
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
49278
49298
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
49279
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
49299
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
49280
49300
|
}).transform((v2) => {
|
|
49281
49301
|
return remap(v2, {
|
|
49282
49302
|
id: "_id",
|
|
@@ -49334,7 +49354,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
49334
49354
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
49335
49355
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
49336
49356
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
49337
|
-
_id: stringType().default("
|
|
49357
|
+
_id: stringType().default("01JQCTRB547V5ST5RD1TFN2CWW"),
|
|
49338
49358
|
display_name: stringType(),
|
|
49339
49359
|
description: stringType().optional(),
|
|
49340
49360
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -49357,7 +49377,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
49357
49377
|
});
|
|
49358
49378
|
});
|
|
49359
49379
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
49360
|
-
id: stringType().default("
|
|
49380
|
+
id: stringType().default("01JQCTRB547V5ST5RD1TFN2CWW"),
|
|
49361
49381
|
displayName: stringType(),
|
|
49362
49382
|
description: stringType().optional(),
|
|
49363
49383
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -50421,7 +50441,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
50421
50441
|
created_by_id: stringType().optional(),
|
|
50422
50442
|
updated_by_id: stringType().optional(),
|
|
50423
50443
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50424
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
50444
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
50425
50445
|
}).transform((v2) => {
|
|
50426
50446
|
return remap(v2, {
|
|
50427
50447
|
_id: "id",
|
|
@@ -50442,7 +50462,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
50442
50462
|
createdById: stringType().optional(),
|
|
50443
50463
|
updatedById: stringType().optional(),
|
|
50444
50464
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50445
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
50465
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
50446
50466
|
}).transform((v2) => {
|
|
50447
50467
|
return remap(v2, {
|
|
50448
50468
|
id: "_id",
|
|
@@ -50537,7 +50557,7 @@ var init_updatedataset = __esm(() => {
|
|
|
50537
50557
|
parent_id: stringType().optional(),
|
|
50538
50558
|
version: stringType().optional(),
|
|
50539
50559
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
50540
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
50560
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-27T22:14:48.594Z").transform((v2) => new Date(v2))
|
|
50541
50561
|
}).transform((v2) => {
|
|
50542
50562
|
return remap(v2, {
|
|
50543
50563
|
_id: "id",
|
|
@@ -50560,7 +50580,7 @@ var init_updatedataset = __esm(() => {
|
|
|
50560
50580
|
parentId: stringType().optional(),
|
|
50561
50581
|
version: stringType().optional(),
|
|
50562
50582
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
50563
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
50583
|
+
updated: dateType().default(() => new Date("2025-03-27T22:14:48.594Z")).transform((v2) => v2.toISOString())
|
|
50564
50584
|
}).transform((v2) => {
|
|
50565
50585
|
return remap(v2, {
|
|
50566
50586
|
id: "_id",
|
|
@@ -57001,7 +57021,9 @@ async function $do31(client, request, options) {
|
|
|
57001
57021
|
const query = encodeFormQuery({
|
|
57002
57022
|
ending_before: payload.ending_before,
|
|
57003
57023
|
limit: payload.limit,
|
|
57004
|
-
|
|
57024
|
+
q: payload.q,
|
|
57025
|
+
starting_after: payload.starting_after,
|
|
57026
|
+
status: payload.status
|
|
57005
57027
|
});
|
|
57006
57028
|
const headers = new Headers(compactMap({
|
|
57007
57029
|
Accept: "application/json"
|
|
@@ -57107,7 +57129,9 @@ async function $do32(client, request, options) {
|
|
|
57107
57129
|
const query = encodeFormQuery({
|
|
57108
57130
|
ending_before: payload.ending_before,
|
|
57109
57131
|
limit: payload.limit,
|
|
57110
|
-
|
|
57132
|
+
q: payload.q,
|
|
57133
|
+
starting_after: payload.starting_after,
|
|
57134
|
+
status: payload.status
|
|
57111
57135
|
});
|
|
57112
57136
|
const headers = new Headers(compactMap({
|
|
57113
57137
|
Accept: "application/json"
|
|
@@ -58640,7 +58664,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
58640
58664
|
function createMCPServer(deps) {
|
|
58641
58665
|
const server = new McpServer({
|
|
58642
58666
|
name: "Orq",
|
|
58643
|
-
version: "3.3.0-rc.
|
|
58667
|
+
version: "3.3.0-rc.13"
|
|
58644
58668
|
});
|
|
58645
58669
|
const client = new OrqCore({
|
|
58646
58670
|
apiKey: deps.apiKey,
|
|
@@ -59965,7 +59989,7 @@ var routes = rn({
|
|
|
59965
59989
|
var app = Ve(routes, {
|
|
59966
59990
|
name: "mcp",
|
|
59967
59991
|
versionInfo: {
|
|
59968
|
-
currentVersion: "3.3.0-rc.
|
|
59992
|
+
currentVersion: "3.3.0-rc.13"
|
|
59969
59993
|
}
|
|
59970
59994
|
});
|
|
59971
59995
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -59973,5 +59997,5 @@ export {
|
|
|
59973
59997
|
app
|
|
59974
59998
|
};
|
|
59975
59999
|
|
|
59976
|
-
//# debugId=
|
|
60000
|
+
//# debugId=33F4AB925BE19E3564756E2164756E21
|
|
59977
60001
|
//# sourceMappingURL=mcp-server.js.map
|