@vertesia/common 1.6.0-dev.20260918.063824Z → 1.6.0-dev.20260918.115658Z
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/lib/api-contract/components.generated.json +612 -1
- package/lib/api-schemas/app-runtime.d.ts +18 -0
- package/lib/api-schemas/app-runtime.d.ts.map +1 -1
- package/lib/api-schemas/apps.d.ts +5 -0
- package/lib/api-schemas/apps.d.ts.map +1 -1
- package/lib/api-schemas/apps.js +6 -3
- package/lib/api-schemas/apps.js.map +1 -1
- package/lib/api-schemas/embeddings.d.ts +250 -0
- package/lib/api-schemas/embeddings.d.ts.map +1 -1
- package/lib/api-schemas/embeddings.js +163 -0
- package/lib/api-schemas/embeddings.js.map +1 -1
- package/lib/api-schemas/files.d.ts +1 -0
- package/lib/api-schemas/files.d.ts.map +1 -1
- package/lib/api-schemas/files.js +1 -0
- package/lib/api-schemas/files.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +271 -0
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/api-schemas/registry.js +20 -1
- package/lib/api-schemas/registry.js.map +1 -1
- package/lib/embeddings.d.ts +18 -1
- package/lib/embeddings.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/store/rendering.d.ts +1 -0
- package/lib/store/rendering.d.ts.map +1 -1
- package/lib/store/rendering.js +4 -0
- package/lib/store/rendering.js.map +1 -1
- package/lib/vertesia-common.js +1 -1
- package/lib/vertesia-common.js.map +1 -1
- package/package.json +2 -2
- package/src/api-contract/components.generated.json +612 -1
- package/src/api-schemas/apps.ts +6 -3
- package/src/api-schemas/embeddings.ts +184 -0
- package/src/api-schemas/files.ts +1 -0
- package/src/api-schemas/indexing.contract.test.ts +40 -1
- package/src/api-schemas/mcp-api-key.contract.test.ts +39 -0
- package/src/api-schemas/registry.ts +36 -0
- package/src/embeddings.ts +34 -0
- package/src/index.ts +1 -0
- package/src/store/rendering.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertesia/common",
|
|
3
|
-
"version": "1.6.0-dev.20260918.
|
|
3
|
+
"version": "1.6.0-dev.20260918.115658Z",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"ai",
|
|
52
52
|
"typescript"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "5961811f0fdaee3b4902a2230875a3325e64ad80",
|
|
55
55
|
"scripts": {
|
|
56
56
|
"lint": "biome lint src",
|
|
57
57
|
"test": "vitest run",
|
|
@@ -5391,11 +5391,12 @@
|
|
|
5391
5391
|
"ToolCollectionAuthType": {
|
|
5392
5392
|
"type": "string",
|
|
5393
5393
|
"enum": [
|
|
5394
|
+
"none",
|
|
5394
5395
|
"oauth",
|
|
5395
5396
|
"api_key",
|
|
5396
5397
|
"other"
|
|
5397
5398
|
],
|
|
5398
|
-
"description": "Authentication type for tool collections.\n- 'oauth': the runtime resolves a per-user or per-project OAuth access token\n- 'api_key': a static key held in the project's secret store is sent as the RFC 6750 bearer token (`Authorization: Bearer <key>`)"
|
|
5399
|
+
"description": "Authentication type for tool collections.\n- 'none': connect directly without credentials for MCP collections; does not disable authentication for Vertesia SDK collections\n- 'oauth': the runtime resolves a per-user or per-project OAuth access token\n- 'api_key': a static key held in the project's secret store is sent as the RFC 6750 bearer token (`Authorization: Bearer <key>`)\n- 'other' or omitted: use the legacy provider connection-details flow for MCP collections"
|
|
5399
5400
|
},
|
|
5400
5401
|
"MCPOAuthConfig": {
|
|
5401
5402
|
"type": "object",
|
|
@@ -24322,6 +24323,9 @@
|
|
|
24322
24323
|
"properties": {
|
|
24323
24324
|
"bucket": {
|
|
24324
24325
|
"type": "string"
|
|
24326
|
+
},
|
|
24327
|
+
"location": {
|
|
24328
|
+
"type": "string"
|
|
24325
24329
|
}
|
|
24326
24330
|
},
|
|
24327
24331
|
"required": [
|
|
@@ -42764,6 +42768,9 @@
|
|
|
42764
42768
|
"embeddingRunsInProgress": {
|
|
42765
42769
|
"type": "number"
|
|
42766
42770
|
},
|
|
42771
|
+
"latestBatchRun": {
|
|
42772
|
+
"$ref": "#/components/schemas/EmbeddingBatchRunSummary"
|
|
42773
|
+
},
|
|
42767
42774
|
"totalIndexableObjects": {
|
|
42768
42775
|
"type": "number"
|
|
42769
42776
|
},
|
|
@@ -42807,6 +42814,86 @@
|
|
|
42807
42814
|
],
|
|
42808
42815
|
"additionalProperties": false
|
|
42809
42816
|
},
|
|
42817
|
+
"EmbeddingBatchRunSummary": {
|
|
42818
|
+
"type": "object",
|
|
42819
|
+
"properties": {
|
|
42820
|
+
"id": {
|
|
42821
|
+
"type": "string"
|
|
42822
|
+
},
|
|
42823
|
+
"state": {
|
|
42824
|
+
"type": "string",
|
|
42825
|
+
"enum": [
|
|
42826
|
+
"preparing",
|
|
42827
|
+
"submitted",
|
|
42828
|
+
"running",
|
|
42829
|
+
"applying",
|
|
42830
|
+
"completed",
|
|
42831
|
+
"completed_with_errors",
|
|
42832
|
+
"cancelled",
|
|
42833
|
+
"stale",
|
|
42834
|
+
"failed"
|
|
42835
|
+
]
|
|
42836
|
+
},
|
|
42837
|
+
"model": {
|
|
42838
|
+
"type": "string"
|
|
42839
|
+
},
|
|
42840
|
+
"created_at": {
|
|
42841
|
+
"type": "string",
|
|
42842
|
+
"format": "date-time"
|
|
42843
|
+
},
|
|
42844
|
+
"completed_at": {
|
|
42845
|
+
"type": "string",
|
|
42846
|
+
"format": "date-time"
|
|
42847
|
+
},
|
|
42848
|
+
"applied": {
|
|
42849
|
+
"type": "integer",
|
|
42850
|
+
"minimum": 0,
|
|
42851
|
+
"maximum": 9007199254740991
|
|
42852
|
+
},
|
|
42853
|
+
"skipped": {
|
|
42854
|
+
"type": "integer",
|
|
42855
|
+
"minimum": 0,
|
|
42856
|
+
"maximum": 9007199254740991
|
|
42857
|
+
},
|
|
42858
|
+
"failed": {
|
|
42859
|
+
"type": "integer",
|
|
42860
|
+
"minimum": 0,
|
|
42861
|
+
"maximum": 9007199254740991
|
|
42862
|
+
},
|
|
42863
|
+
"stale": {
|
|
42864
|
+
"type": "integer",
|
|
42865
|
+
"minimum": 0,
|
|
42866
|
+
"maximum": 9007199254740991
|
|
42867
|
+
}
|
|
42868
|
+
},
|
|
42869
|
+
"required": [
|
|
42870
|
+
"id",
|
|
42871
|
+
"state",
|
|
42872
|
+
"model",
|
|
42873
|
+
"created_at",
|
|
42874
|
+
"applied",
|
|
42875
|
+
"skipped",
|
|
42876
|
+
"failed",
|
|
42877
|
+
"stale"
|
|
42878
|
+
],
|
|
42879
|
+
"additionalProperties": false,
|
|
42880
|
+
"description": "Latest batch run for this embedding type, without provider payloads or input content."
|
|
42881
|
+
},
|
|
42882
|
+
"RecalculateEmbeddingsQuery": {
|
|
42883
|
+
"type": "object",
|
|
42884
|
+
"properties": {
|
|
42885
|
+
"mode": {
|
|
42886
|
+
"type": "string",
|
|
42887
|
+
"const": "sync",
|
|
42888
|
+
"description": "Force synchronous per-object recalculation. When omitted, batch inference is used when supported."
|
|
42889
|
+
},
|
|
42890
|
+
"force": {
|
|
42891
|
+
"type": "boolean",
|
|
42892
|
+
"description": "Recalculate all eligible objects, including current embeddings. Token limits still apply; existing renditions are reused."
|
|
42893
|
+
}
|
|
42894
|
+
},
|
|
42895
|
+
"additionalProperties": false
|
|
42896
|
+
},
|
|
42810
42897
|
"ProjectConfigurationEmbeddingEnablePayload": {
|
|
42811
42898
|
"type": "object",
|
|
42812
42899
|
"properties": {
|
|
@@ -42825,6 +42912,530 @@
|
|
|
42825
42912
|
],
|
|
42826
42913
|
"additionalProperties": false
|
|
42827
42914
|
},
|
|
42915
|
+
"EmbeddingBatchProviderState": {
|
|
42916
|
+
"type": "string",
|
|
42917
|
+
"enum": [
|
|
42918
|
+
"pending",
|
|
42919
|
+
"running",
|
|
42920
|
+
"succeeded",
|
|
42921
|
+
"failed",
|
|
42922
|
+
"cancelled",
|
|
42923
|
+
"paused"
|
|
42924
|
+
]
|
|
42925
|
+
},
|
|
42926
|
+
"EmbeddingBatchCapabilityRequest": {
|
|
42927
|
+
"type": "object",
|
|
42928
|
+
"properties": {
|
|
42929
|
+
"embedding_type": {
|
|
42930
|
+
"$ref": "#/components/schemas/SupportedEmbeddingTypes"
|
|
42931
|
+
}
|
|
42932
|
+
},
|
|
42933
|
+
"required": [
|
|
42934
|
+
"embedding_type"
|
|
42935
|
+
]
|
|
42936
|
+
},
|
|
42937
|
+
"EmbeddingBatchCapabilityResponse": {
|
|
42938
|
+
"type": "object",
|
|
42939
|
+
"properties": {
|
|
42940
|
+
"eligible": {
|
|
42941
|
+
"type": "boolean"
|
|
42942
|
+
},
|
|
42943
|
+
"reason": {
|
|
42944
|
+
"type": "string"
|
|
42945
|
+
},
|
|
42946
|
+
"environment": {
|
|
42947
|
+
"type": "string"
|
|
42948
|
+
},
|
|
42949
|
+
"provider": {
|
|
42950
|
+
"type": "string"
|
|
42951
|
+
},
|
|
42952
|
+
"model": {
|
|
42953
|
+
"type": "string"
|
|
42954
|
+
},
|
|
42955
|
+
"dimensions": {
|
|
42956
|
+
"type": "integer",
|
|
42957
|
+
"exclusiveMinimum": 0,
|
|
42958
|
+
"maximum": 9007199254740991
|
|
42959
|
+
},
|
|
42960
|
+
"max_tokens": {
|
|
42961
|
+
"type": "integer",
|
|
42962
|
+
"exclusiveMinimum": 0,
|
|
42963
|
+
"maximum": 9007199254740991
|
|
42964
|
+
},
|
|
42965
|
+
"location": {
|
|
42966
|
+
"type": "string"
|
|
42967
|
+
},
|
|
42968
|
+
"input_format": {
|
|
42969
|
+
"type": "string"
|
|
42970
|
+
},
|
|
42971
|
+
"max_rows": {
|
|
42972
|
+
"type": "integer",
|
|
42973
|
+
"exclusiveMinimum": 0,
|
|
42974
|
+
"maximum": 9007199254740991
|
|
42975
|
+
},
|
|
42976
|
+
"artifact_uri": {
|
|
42977
|
+
"type": "string"
|
|
42978
|
+
}
|
|
42979
|
+
},
|
|
42980
|
+
"required": [
|
|
42981
|
+
"eligible"
|
|
42982
|
+
]
|
|
42983
|
+
},
|
|
42984
|
+
"EmbeddingBatchCreateRequest": {
|
|
42985
|
+
"type": "object",
|
|
42986
|
+
"properties": {
|
|
42987
|
+
"embedding_type": {
|
|
42988
|
+
"$ref": "#/components/schemas/SupportedEmbeddingTypes"
|
|
42989
|
+
},
|
|
42990
|
+
"model": {
|
|
42991
|
+
"type": "string"
|
|
42992
|
+
},
|
|
42993
|
+
"dimensions": {
|
|
42994
|
+
"type": "integer",
|
|
42995
|
+
"exclusiveMinimum": 0,
|
|
42996
|
+
"maximum": 9007199254740991
|
|
42997
|
+
},
|
|
42998
|
+
"display_name": {
|
|
42999
|
+
"type": "string"
|
|
43000
|
+
},
|
|
43001
|
+
"input_uri": {
|
|
43002
|
+
"type": "string"
|
|
43003
|
+
},
|
|
43004
|
+
"output_uri": {
|
|
43005
|
+
"type": "string"
|
|
43006
|
+
}
|
|
43007
|
+
},
|
|
43008
|
+
"required": [
|
|
43009
|
+
"embedding_type",
|
|
43010
|
+
"model",
|
|
43011
|
+
"dimensions",
|
|
43012
|
+
"display_name",
|
|
43013
|
+
"input_uri",
|
|
43014
|
+
"output_uri"
|
|
43015
|
+
]
|
|
43016
|
+
},
|
|
43017
|
+
"EmbeddingBatchJobRequest": {
|
|
43018
|
+
"type": "object",
|
|
43019
|
+
"properties": {
|
|
43020
|
+
"embedding_type": {
|
|
43021
|
+
"$ref": "#/components/schemas/SupportedEmbeddingTypes"
|
|
43022
|
+
},
|
|
43023
|
+
"model": {
|
|
43024
|
+
"type": "string"
|
|
43025
|
+
},
|
|
43026
|
+
"name": {
|
|
43027
|
+
"type": "string"
|
|
43028
|
+
},
|
|
43029
|
+
"include_output_artifacts": {
|
|
43030
|
+
"type": "boolean",
|
|
43031
|
+
"description": "On get, resolve terminal result artifacts for application. Omit for lightweight status polling."
|
|
43032
|
+
}
|
|
43033
|
+
},
|
|
43034
|
+
"required": [
|
|
43035
|
+
"embedding_type",
|
|
43036
|
+
"model",
|
|
43037
|
+
"name"
|
|
43038
|
+
]
|
|
43039
|
+
},
|
|
43040
|
+
"EmbeddingBatchJobResponse": {
|
|
43041
|
+
"type": "object",
|
|
43042
|
+
"properties": {
|
|
43043
|
+
"name": {
|
|
43044
|
+
"type": "string"
|
|
43045
|
+
},
|
|
43046
|
+
"display_name": {
|
|
43047
|
+
"type": "string"
|
|
43048
|
+
},
|
|
43049
|
+
"state": {
|
|
43050
|
+
"type": "string",
|
|
43051
|
+
"enum": [
|
|
43052
|
+
"pending",
|
|
43053
|
+
"running",
|
|
43054
|
+
"succeeded",
|
|
43055
|
+
"failed",
|
|
43056
|
+
"cancelled",
|
|
43057
|
+
"paused"
|
|
43058
|
+
]
|
|
43059
|
+
},
|
|
43060
|
+
"model": {
|
|
43061
|
+
"type": "string"
|
|
43062
|
+
},
|
|
43063
|
+
"input_uri": {
|
|
43064
|
+
"type": "string"
|
|
43065
|
+
},
|
|
43066
|
+
"output_uri": {
|
|
43067
|
+
"type": "string"
|
|
43068
|
+
},
|
|
43069
|
+
"output_artifacts": {
|
|
43070
|
+
"type": "array",
|
|
43071
|
+
"items": {
|
|
43072
|
+
"type": "string"
|
|
43073
|
+
},
|
|
43074
|
+
"description": "Terminal job result artifacts in application storage, including partial results. Never provider file IDs."
|
|
43075
|
+
},
|
|
43076
|
+
"error_message": {
|
|
43077
|
+
"type": "string"
|
|
43078
|
+
}
|
|
43079
|
+
},
|
|
43080
|
+
"required": [
|
|
43081
|
+
"name",
|
|
43082
|
+
"state"
|
|
43083
|
+
]
|
|
43084
|
+
},
|
|
43085
|
+
"EmbeddingBatchRunState": {
|
|
43086
|
+
"type": "string",
|
|
43087
|
+
"enum": [
|
|
43088
|
+
"preparing",
|
|
43089
|
+
"submitted",
|
|
43090
|
+
"running",
|
|
43091
|
+
"applying",
|
|
43092
|
+
"completed",
|
|
43093
|
+
"completed_with_errors",
|
|
43094
|
+
"cancelled",
|
|
43095
|
+
"stale",
|
|
43096
|
+
"failed"
|
|
43097
|
+
]
|
|
43098
|
+
},
|
|
43099
|
+
"EmbeddingBatchSubjob": {
|
|
43100
|
+
"type": "object",
|
|
43101
|
+
"properties": {
|
|
43102
|
+
"index": {
|
|
43103
|
+
"type": "integer",
|
|
43104
|
+
"minimum": 0,
|
|
43105
|
+
"maximum": 9007199254740991
|
|
43106
|
+
},
|
|
43107
|
+
"display_name": {
|
|
43108
|
+
"type": "string"
|
|
43109
|
+
},
|
|
43110
|
+
"input_uri": {
|
|
43111
|
+
"type": "string"
|
|
43112
|
+
},
|
|
43113
|
+
"output_uri": {
|
|
43114
|
+
"type": "string"
|
|
43115
|
+
},
|
|
43116
|
+
"row_count": {
|
|
43117
|
+
"type": "integer",
|
|
43118
|
+
"minimum": 0,
|
|
43119
|
+
"maximum": 9007199254740991
|
|
43120
|
+
},
|
|
43121
|
+
"provider_name": {
|
|
43122
|
+
"type": "string"
|
|
43123
|
+
},
|
|
43124
|
+
"state": {
|
|
43125
|
+
"type": "string",
|
|
43126
|
+
"enum": [
|
|
43127
|
+
"pending",
|
|
43128
|
+
"running",
|
|
43129
|
+
"succeeded",
|
|
43130
|
+
"failed",
|
|
43131
|
+
"cancelled",
|
|
43132
|
+
"paused"
|
|
43133
|
+
]
|
|
43134
|
+
}
|
|
43135
|
+
},
|
|
43136
|
+
"required": [
|
|
43137
|
+
"index",
|
|
43138
|
+
"display_name",
|
|
43139
|
+
"input_uri",
|
|
43140
|
+
"output_uri",
|
|
43141
|
+
"row_count"
|
|
43142
|
+
]
|
|
43143
|
+
},
|
|
43144
|
+
"EmbeddingBatchPrepareRequest": {
|
|
43145
|
+
"type": "object",
|
|
43146
|
+
"properties": {
|
|
43147
|
+
"run_id": {
|
|
43148
|
+
"type": "string"
|
|
43149
|
+
},
|
|
43150
|
+
"embedding_type": {
|
|
43151
|
+
"$ref": "#/components/schemas/SupportedEmbeddingTypes"
|
|
43152
|
+
},
|
|
43153
|
+
"capability": {
|
|
43154
|
+
"$ref": "#/components/schemas/EmbeddingBatchCapabilityResponse"
|
|
43155
|
+
}
|
|
43156
|
+
},
|
|
43157
|
+
"required": [
|
|
43158
|
+
"run_id",
|
|
43159
|
+
"embedding_type",
|
|
43160
|
+
"capability"
|
|
43161
|
+
]
|
|
43162
|
+
},
|
|
43163
|
+
"EmbeddingBatchPrepareResponse": {
|
|
43164
|
+
"type": "object",
|
|
43165
|
+
"properties": {
|
|
43166
|
+
"run_id": {
|
|
43167
|
+
"type": "string"
|
|
43168
|
+
},
|
|
43169
|
+
"row_count": {
|
|
43170
|
+
"type": "integer",
|
|
43171
|
+
"minimum": 0,
|
|
43172
|
+
"maximum": 9007199254740991
|
|
43173
|
+
},
|
|
43174
|
+
"subjobs": {
|
|
43175
|
+
"type": "array",
|
|
43176
|
+
"items": {
|
|
43177
|
+
"type": "object",
|
|
43178
|
+
"properties": {
|
|
43179
|
+
"index": {
|
|
43180
|
+
"type": "integer",
|
|
43181
|
+
"minimum": 0,
|
|
43182
|
+
"maximum": 9007199254740991
|
|
43183
|
+
},
|
|
43184
|
+
"display_name": {
|
|
43185
|
+
"type": "string"
|
|
43186
|
+
},
|
|
43187
|
+
"input_uri": {
|
|
43188
|
+
"type": "string"
|
|
43189
|
+
},
|
|
43190
|
+
"output_uri": {
|
|
43191
|
+
"type": "string"
|
|
43192
|
+
},
|
|
43193
|
+
"row_count": {
|
|
43194
|
+
"type": "integer",
|
|
43195
|
+
"minimum": 0,
|
|
43196
|
+
"maximum": 9007199254740991
|
|
43197
|
+
},
|
|
43198
|
+
"provider_name": {
|
|
43199
|
+
"type": "string"
|
|
43200
|
+
},
|
|
43201
|
+
"state": {
|
|
43202
|
+
"type": "string",
|
|
43203
|
+
"enum": [
|
|
43204
|
+
"pending",
|
|
43205
|
+
"running",
|
|
43206
|
+
"succeeded",
|
|
43207
|
+
"failed",
|
|
43208
|
+
"cancelled",
|
|
43209
|
+
"paused"
|
|
43210
|
+
]
|
|
43211
|
+
}
|
|
43212
|
+
},
|
|
43213
|
+
"required": [
|
|
43214
|
+
"index",
|
|
43215
|
+
"display_name",
|
|
43216
|
+
"input_uri",
|
|
43217
|
+
"output_uri",
|
|
43218
|
+
"row_count"
|
|
43219
|
+
],
|
|
43220
|
+
"additionalProperties": false
|
|
43221
|
+
}
|
|
43222
|
+
}
|
|
43223
|
+
},
|
|
43224
|
+
"required": [
|
|
43225
|
+
"run_id",
|
|
43226
|
+
"row_count",
|
|
43227
|
+
"subjobs"
|
|
43228
|
+
]
|
|
43229
|
+
},
|
|
43230
|
+
"EmbeddingBatchRenditionPageRequest": {
|
|
43231
|
+
"type": "object",
|
|
43232
|
+
"properties": {
|
|
43233
|
+
"run_id": {
|
|
43234
|
+
"type": "string"
|
|
43235
|
+
}
|
|
43236
|
+
},
|
|
43237
|
+
"required": [
|
|
43238
|
+
"run_id"
|
|
43239
|
+
]
|
|
43240
|
+
},
|
|
43241
|
+
"EmbeddingBatchRenditionPageResponse": {
|
|
43242
|
+
"type": "object",
|
|
43243
|
+
"properties": {
|
|
43244
|
+
"status": {
|
|
43245
|
+
"type": "string",
|
|
43246
|
+
"enum": [
|
|
43247
|
+
"running",
|
|
43248
|
+
"page_completed",
|
|
43249
|
+
"completed"
|
|
43250
|
+
]
|
|
43251
|
+
},
|
|
43252
|
+
"page_index": {
|
|
43253
|
+
"type": "integer",
|
|
43254
|
+
"minimum": 0,
|
|
43255
|
+
"maximum": 9007199254740991
|
|
43256
|
+
},
|
|
43257
|
+
"page_scanned": {
|
|
43258
|
+
"type": "integer",
|
|
43259
|
+
"minimum": 0,
|
|
43260
|
+
"maximum": 9007199254740991
|
|
43261
|
+
},
|
|
43262
|
+
"page_ready": {
|
|
43263
|
+
"type": "integer",
|
|
43264
|
+
"minimum": 0,
|
|
43265
|
+
"maximum": 9007199254740991
|
|
43266
|
+
},
|
|
43267
|
+
"page_generated": {
|
|
43268
|
+
"type": "integer",
|
|
43269
|
+
"minimum": 0,
|
|
43270
|
+
"maximum": 9007199254740991
|
|
43271
|
+
},
|
|
43272
|
+
"page_failed": {
|
|
43273
|
+
"type": "integer",
|
|
43274
|
+
"minimum": 0,
|
|
43275
|
+
"maximum": 9007199254740991
|
|
43276
|
+
},
|
|
43277
|
+
"running": {
|
|
43278
|
+
"type": "integer",
|
|
43279
|
+
"minimum": 0,
|
|
43280
|
+
"maximum": 9007199254740991
|
|
43281
|
+
}
|
|
43282
|
+
},
|
|
43283
|
+
"required": [
|
|
43284
|
+
"status",
|
|
43285
|
+
"page_index",
|
|
43286
|
+
"page_scanned",
|
|
43287
|
+
"page_ready",
|
|
43288
|
+
"page_generated",
|
|
43289
|
+
"page_failed",
|
|
43290
|
+
"running"
|
|
43291
|
+
]
|
|
43292
|
+
},
|
|
43293
|
+
"EmbeddingBatchUpdateRequest": {
|
|
43294
|
+
"type": "object",
|
|
43295
|
+
"properties": {
|
|
43296
|
+
"run_id": {
|
|
43297
|
+
"type": "string"
|
|
43298
|
+
},
|
|
43299
|
+
"state": {
|
|
43300
|
+
"type": "string",
|
|
43301
|
+
"enum": [
|
|
43302
|
+
"preparing",
|
|
43303
|
+
"submitted",
|
|
43304
|
+
"running",
|
|
43305
|
+
"applying",
|
|
43306
|
+
"completed",
|
|
43307
|
+
"completed_with_errors",
|
|
43308
|
+
"cancelled",
|
|
43309
|
+
"stale",
|
|
43310
|
+
"failed"
|
|
43311
|
+
]
|
|
43312
|
+
},
|
|
43313
|
+
"subjobs": {
|
|
43314
|
+
"type": "array",
|
|
43315
|
+
"items": {
|
|
43316
|
+
"type": "object",
|
|
43317
|
+
"properties": {
|
|
43318
|
+
"index": {
|
|
43319
|
+
"type": "integer",
|
|
43320
|
+
"minimum": 0,
|
|
43321
|
+
"maximum": 9007199254740991
|
|
43322
|
+
},
|
|
43323
|
+
"display_name": {
|
|
43324
|
+
"type": "string"
|
|
43325
|
+
},
|
|
43326
|
+
"input_uri": {
|
|
43327
|
+
"type": "string"
|
|
43328
|
+
},
|
|
43329
|
+
"output_uri": {
|
|
43330
|
+
"type": "string"
|
|
43331
|
+
},
|
|
43332
|
+
"row_count": {
|
|
43333
|
+
"type": "integer",
|
|
43334
|
+
"minimum": 0,
|
|
43335
|
+
"maximum": 9007199254740991
|
|
43336
|
+
},
|
|
43337
|
+
"provider_name": {
|
|
43338
|
+
"type": "string"
|
|
43339
|
+
},
|
|
43340
|
+
"state": {
|
|
43341
|
+
"type": "string",
|
|
43342
|
+
"enum": [
|
|
43343
|
+
"pending",
|
|
43344
|
+
"running",
|
|
43345
|
+
"succeeded",
|
|
43346
|
+
"failed",
|
|
43347
|
+
"cancelled",
|
|
43348
|
+
"paused"
|
|
43349
|
+
]
|
|
43350
|
+
}
|
|
43351
|
+
},
|
|
43352
|
+
"required": [
|
|
43353
|
+
"index",
|
|
43354
|
+
"display_name",
|
|
43355
|
+
"input_uri",
|
|
43356
|
+
"output_uri",
|
|
43357
|
+
"row_count"
|
|
43358
|
+
],
|
|
43359
|
+
"additionalProperties": false
|
|
43360
|
+
}
|
|
43361
|
+
},
|
|
43362
|
+
"error_code": {
|
|
43363
|
+
"type": "string"
|
|
43364
|
+
},
|
|
43365
|
+
"error_message": {
|
|
43366
|
+
"type": "string"
|
|
43367
|
+
}
|
|
43368
|
+
},
|
|
43369
|
+
"required": [
|
|
43370
|
+
"run_id",
|
|
43371
|
+
"state"
|
|
43372
|
+
]
|
|
43373
|
+
},
|
|
43374
|
+
"EmbeddingBatchApplyRequest": {
|
|
43375
|
+
"type": "object",
|
|
43376
|
+
"properties": {
|
|
43377
|
+
"run_id": {
|
|
43378
|
+
"type": "string"
|
|
43379
|
+
}
|
|
43380
|
+
},
|
|
43381
|
+
"required": [
|
|
43382
|
+
"run_id"
|
|
43383
|
+
]
|
|
43384
|
+
},
|
|
43385
|
+
"EmbeddingBatchApplyResponse": {
|
|
43386
|
+
"type": "object",
|
|
43387
|
+
"properties": {
|
|
43388
|
+
"state": {
|
|
43389
|
+
"type": "string",
|
|
43390
|
+
"enum": [
|
|
43391
|
+
"preparing",
|
|
43392
|
+
"submitted",
|
|
43393
|
+
"running",
|
|
43394
|
+
"applying",
|
|
43395
|
+
"completed",
|
|
43396
|
+
"completed_with_errors",
|
|
43397
|
+
"cancelled",
|
|
43398
|
+
"stale",
|
|
43399
|
+
"failed"
|
|
43400
|
+
]
|
|
43401
|
+
},
|
|
43402
|
+
"succeeded": {
|
|
43403
|
+
"type": "integer",
|
|
43404
|
+
"minimum": 0,
|
|
43405
|
+
"maximum": 9007199254740991
|
|
43406
|
+
},
|
|
43407
|
+
"failed": {
|
|
43408
|
+
"type": "integer",
|
|
43409
|
+
"minimum": 0,
|
|
43410
|
+
"maximum": 9007199254740991
|
|
43411
|
+
},
|
|
43412
|
+
"stale": {
|
|
43413
|
+
"type": "integer",
|
|
43414
|
+
"minimum": 0,
|
|
43415
|
+
"maximum": 9007199254740991
|
|
43416
|
+
},
|
|
43417
|
+
"applied": {
|
|
43418
|
+
"type": "integer",
|
|
43419
|
+
"minimum": 0,
|
|
43420
|
+
"maximum": 9007199254740991
|
|
43421
|
+
},
|
|
43422
|
+
"failure_counts": {
|
|
43423
|
+
"type": "object",
|
|
43424
|
+
"additionalProperties": {
|
|
43425
|
+
"type": "integer",
|
|
43426
|
+
"minimum": 0,
|
|
43427
|
+
"maximum": 9007199254740991
|
|
43428
|
+
}
|
|
43429
|
+
}
|
|
43430
|
+
},
|
|
43431
|
+
"required": [
|
|
43432
|
+
"state",
|
|
43433
|
+
"succeeded",
|
|
43434
|
+
"failed",
|
|
43435
|
+
"stale",
|
|
43436
|
+
"applied"
|
|
43437
|
+
]
|
|
43438
|
+
},
|
|
42828
43439
|
"GenericCommandResponse": {
|
|
42829
43440
|
"type": "object",
|
|
42830
43441
|
"properties": {
|
package/src/api-schemas/apps.ts
CHANGED
|
@@ -113,12 +113,15 @@ export const AppUIConfigSchema = z
|
|
|
113
113
|
})
|
|
114
114
|
.meta({ id: 'AppUIConfig' });
|
|
115
115
|
|
|
116
|
-
export const ToolCollectionAuthTypeSchema = z.enum(['oauth', 'api_key', 'other']).meta({
|
|
116
|
+
export const ToolCollectionAuthTypeSchema = z.enum(['none', 'oauth', 'api_key', 'other']).meta({
|
|
117
117
|
id: 'ToolCollectionAuthType',
|
|
118
118
|
description:
|
|
119
|
-
"Authentication type for tool collections.\n- '
|
|
119
|
+
"Authentication type for tool collections.\n- 'none': connect directly without credentials for MCP collections; " +
|
|
120
|
+
'does not disable authentication for Vertesia SDK collections\n' +
|
|
121
|
+
"- 'oauth': the runtime resolves a per-user or per-project " +
|
|
120
122
|
"OAuth access token\n- 'api_key': a static key held in the project's secret store is sent as the RFC 6750 " +
|
|
121
|
-
'bearer token (`Authorization: Bearer <key>`)'
|
|
123
|
+
'bearer token (`Authorization: Bearer <key>`)\n' +
|
|
124
|
+
"- 'other' or omitted: use the legacy provider connection-details flow for MCP collections",
|
|
122
125
|
});
|
|
123
126
|
|
|
124
127
|
export const MCPOAuthConfigSchema = z
|