@work-shape/catalyst-cli 0.8.0-rc.34 → 0.8.0-rc.35
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.d.ts +3 -0
- package/dist/index.js +12 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -27212,6 +27212,7 @@ declare const knowledgeOperations: {
|
|
|
27212
27212
|
processingWaiting: z.ZodOptional<z.ZodBoolean>;
|
|
27213
27213
|
embedding: z.ZodOptional<z.ZodType<KnowledgeEmbeddingStateResponse, unknown, z.core.$ZodTypeInternals<KnowledgeEmbeddingStateResponse, unknown>>>;
|
|
27214
27214
|
documentFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27215
|
+
maxFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
27215
27216
|
id: z.ZodString;
|
|
27216
27217
|
name: z.ZodString;
|
|
27217
27218
|
status: z.ZodEnum<{
|
|
@@ -27274,6 +27275,7 @@ declare const knowledgeOperations: {
|
|
|
27274
27275
|
processingWaiting: z.ZodOptional<z.ZodBoolean>;
|
|
27275
27276
|
embedding: z.ZodOptional<z.ZodType<KnowledgeEmbeddingStateResponse, unknown, z.core.$ZodTypeInternals<KnowledgeEmbeddingStateResponse, unknown>>>;
|
|
27276
27277
|
documentFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27278
|
+
maxFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
27277
27279
|
id: z.ZodString;
|
|
27278
27280
|
name: z.ZodString;
|
|
27279
27281
|
status: z.ZodEnum<{
|
|
@@ -28634,6 +28636,7 @@ declare const knowledgeOperations: {
|
|
|
28634
28636
|
text: z.ZodString;
|
|
28635
28637
|
score: z.ZodNumber;
|
|
28636
28638
|
originLink: z.ZodOptional<z.ZodString>;
|
|
28639
|
+
path: z.ZodOptional<z.ZodString>;
|
|
28637
28640
|
statedAt: z.ZodOptional<z.ZodString>;
|
|
28638
28641
|
retrievedAt: z.ZodOptional<z.ZodString>;
|
|
28639
28642
|
}, z.core.$strip>>;
|
package/dist/index.js
CHANGED
|
@@ -639,6 +639,7 @@ var KNOWLEDGE_EMBEDDING_STATES = [
|
|
|
639
639
|
];
|
|
640
640
|
var KNOWLEDGE_DOCUMENT_STATES = ["pending", "indexed", "failed"];
|
|
641
641
|
var KNOWLEDGE_FILE_MAX_BYTES = 25 * 1024 * 1024;
|
|
642
|
+
var KNOWLEDGE_FILE_MAX_BYTES_CEILING = 256 * 1024 * 1024;
|
|
642
643
|
var KNOWLEDGE_DOCUMENT_FAILURE_CODES = [
|
|
643
644
|
// The extractor does not read the file's format.
|
|
644
645
|
"knowledge_file_format_unsupported",
|
|
@@ -2838,7 +2839,7 @@ import { z as z68 } from "zod";
|
|
|
2838
2839
|
// ../api-contract/package.json
|
|
2839
2840
|
var package_default = {
|
|
2840
2841
|
name: "@work-shape/catalyst-api-contract",
|
|
2841
|
-
version: "0.8.0-rc.
|
|
2842
|
+
version: "0.8.0-rc.35",
|
|
2842
2843
|
license: "MIT",
|
|
2843
2844
|
repository: {
|
|
2844
2845
|
type: "git",
|
|
@@ -11932,6 +11933,11 @@ var knowledgeStateResponseSchema = z57.object({
|
|
|
11932
11933
|
* `markdown`, with document processing also `pdf`, `docx`, `xlsx` and `pptx`. Omitted for a structured one.
|
|
11933
11934
|
*/
|
|
11934
11935
|
documentFormats: z57.array(z57.string()).optional(),
|
|
11936
|
+
/**
|
|
11937
|
+
* The largest file in bytes such a Knowledge Base takes on this instance, as
|
|
11938
|
+
* `knowledge.maxFileBytes` sets it. Omitted for a structured one.
|
|
11939
|
+
*/
|
|
11940
|
+
maxFileBytes: z57.number().int().optional(),
|
|
11935
11941
|
/** The id of the Knowledge Base's asset. */
|
|
11936
11942
|
id: z57.string(),
|
|
11937
11943
|
/** The id operations and routes name the Knowledge Base by. */
|
|
@@ -12070,6 +12076,11 @@ var knowledgeSearchResponseSchema = z57.object({
|
|
|
12070
12076
|
/** Reciprocal rank fusion of the lists in `signals`: compare it only within one Knowledge Base. */
|
|
12071
12077
|
score: z57.number(),
|
|
12072
12078
|
originLink: z57.string().optional(),
|
|
12079
|
+
/**
|
|
12080
|
+
* The path of a synced or Workflow-fed document below its source's boundary, folders and
|
|
12081
|
+
* file name, such as `/Projekte/Nord/Angebot.pdf`. None for a file added by hand.
|
|
12082
|
+
*/
|
|
12083
|
+
path: z57.string().optional(),
|
|
12073
12084
|
/**
|
|
12074
12085
|
* The date a synced document states of its own version, such as the "Stand" of a web
|
|
12075
12086
|
* page. An ISO date-time in UTC; none where the document states no date.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@work-shape/catalyst-cli",
|
|
3
|
-
"version": "0.8.0-rc.
|
|
3
|
+
"version": "0.8.0-rc.35",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/node": "^24.13.1",
|
|
41
41
|
"tsup": "^8.5.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"@work-shape/catalyst-api-client": "0.8.0-rc.
|
|
44
|
-
"@work-shape/catalyst-api-contract": "0.8.0-rc.
|
|
45
|
-
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.
|
|
43
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.35",
|
|
44
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.35",
|
|
45
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.35"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup",
|