veryfront 0.1.72 → 0.1.74

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.
Files changed (69) hide show
  1. package/esm/cli/commands/knowledge/command-help.d.ts.map +1 -1
  2. package/esm/cli/commands/knowledge/command-help.js +3 -1
  3. package/esm/cli/commands/knowledge/command.d.ts +32 -5
  4. package/esm/cli/commands/knowledge/command.d.ts.map +1 -1
  5. package/esm/cli/commands/knowledge/command.js +87 -21
  6. package/esm/cli/commands/knowledge/parser-source.d.ts.map +1 -1
  7. package/esm/cli/commands/knowledge/parser-source.js +110 -5
  8. package/esm/deno.js +1 -1
  9. package/esm/src/html/html-shell-generator.d.ts.map +1 -1
  10. package/esm/src/html/html-shell-generator.js +6 -0
  11. package/esm/src/rendering/orchestrator/pipeline.d.ts.map +1 -1
  12. package/esm/src/rendering/orchestrator/pipeline.js +116 -105
  13. package/esm/src/server/dev-server/error-overlay/error-formatter.d.ts +4 -0
  14. package/esm/src/server/dev-server/error-overlay/error-formatter.d.ts.map +1 -1
  15. package/esm/src/server/dev-server/error-overlay/error-formatter.js +15 -0
  16. package/esm/src/server/dev-server/error-overlay/html-template.d.ts +1 -1
  17. package/esm/src/server/dev-server/error-overlay/html-template.d.ts.map +1 -1
  18. package/esm/src/server/dev-server/error-overlay/html-template.js +131 -8
  19. package/esm/src/server/dev-server/error-overlay/index.d.ts +1 -1
  20. package/esm/src/server/dev-server/error-overlay/index.d.ts.map +1 -1
  21. package/esm/src/server/dev-server/error-overlay/index.js +1 -1
  22. package/esm/src/server/dev-server/error-overlay/overlay-renderer.d.ts +1 -1
  23. package/esm/src/server/dev-server/error-overlay/overlay-renderer.d.ts.map +1 -1
  24. package/esm/src/server/dev-server/error-overlay/overlay-renderer.js +2 -2
  25. package/esm/src/server/dev-server/request-handler.d.ts.map +1 -1
  26. package/esm/src/server/dev-server/request-handler.js +6 -2
  27. package/esm/src/server/handlers/request/ssr/ssr.handler.d.ts +2 -0
  28. package/esm/src/server/handlers/request/ssr/ssr.handler.d.ts.map +1 -1
  29. package/esm/src/server/handlers/request/ssr/ssr.handler.js +6 -2
  30. package/esm/src/server/runtime-handler/adapter-factory.d.ts +3 -0
  31. package/esm/src/server/runtime-handler/adapter-factory.d.ts.map +1 -1
  32. package/esm/src/server/runtime-handler/adapter-factory.js +6 -5
  33. package/esm/src/server/runtime-handler/index.d.ts +33 -0
  34. package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
  35. package/esm/src/server/runtime-handler/index.js +103 -37
  36. package/esm/src/server/runtime-handler/local-project-discovery.d.ts +32 -4
  37. package/esm/src/server/runtime-handler/local-project-discovery.d.ts.map +1 -1
  38. package/esm/src/server/runtime-handler/local-project-discovery.js +46 -16
  39. package/esm/src/server/services/rendering/ssr.service.d.ts +19 -1
  40. package/esm/src/server/services/rendering/ssr.service.d.ts.map +1 -1
  41. package/esm/src/server/services/rendering/ssr.service.js +18 -3
  42. package/esm/src/server/shared/renderer/adapter.d.ts +25 -0
  43. package/esm/src/server/shared/renderer/adapter.d.ts.map +1 -1
  44. package/esm/src/server/shared/renderer/adapter.js +83 -10
  45. package/esm/src/server/shared/renderer/index.d.ts +1 -1
  46. package/esm/src/server/shared/renderer/index.d.ts.map +1 -1
  47. package/esm/src/server/shared/renderer/index.js +1 -1
  48. package/esm/src/server/utils/error-html.d.ts.map +1 -1
  49. package/esm/src/server/utils/error-html.js +26 -6
  50. package/package.json +1 -1
  51. package/src/cli/commands/knowledge/command-help.ts +3 -1
  52. package/src/cli/commands/knowledge/command.ts +104 -21
  53. package/src/cli/commands/knowledge/parser-source.ts +110 -5
  54. package/src/deno.js +1 -1
  55. package/src/src/html/html-shell-generator.ts +9 -0
  56. package/src/src/rendering/orchestrator/pipeline.ts +186 -172
  57. package/src/src/server/dev-server/error-overlay/error-formatter.ts +21 -0
  58. package/src/src/server/dev-server/error-overlay/html-template.ts +139 -8
  59. package/src/src/server/dev-server/error-overlay/index.ts +1 -0
  60. package/src/src/server/dev-server/error-overlay/overlay-renderer.ts +2 -1
  61. package/src/src/server/dev-server/request-handler.ts +6 -2
  62. package/src/src/server/handlers/request/ssr/ssr.handler.ts +11 -2
  63. package/src/src/server/runtime-handler/adapter-factory.ts +13 -5
  64. package/src/src/server/runtime-handler/index.ts +132 -39
  65. package/src/src/server/runtime-handler/local-project-discovery.ts +51 -17
  66. package/src/src/server/services/rendering/ssr.service.ts +43 -5
  67. package/src/src/server/shared/renderer/adapter.ts +107 -8
  68. package/src/src/server/shared/renderer/index.ts +7 -1
  69. package/src/src/server/utils/error-html.ts +29 -6
@@ -1 +1 @@
1
- {"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/knowledge/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,WAqC3B,CAAC"}
1
+ {"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/knowledge/command-help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,WAuC3B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export const knowledgeHelp = {
2
2
  name: "knowledge",
3
3
  description: "Ingest documents into the project knowledge base",
4
- usage: "veryfront knowledge ingest <source> [options]",
4
+ usage: "veryfront knowledge ingest <source...> [options]",
5
5
  options: [
6
6
  {
7
7
  flag: "--project, -p <slug>",
@@ -26,6 +26,7 @@ export const knowledgeHelp = {
26
26
  ],
27
27
  examples: [
28
28
  "veryfront knowledge ingest uploads/contracts/q1.pdf --json",
29
+ "veryfront knowledge ingest uploads/contracts/a.pdf uploads/contracts/b.pdf uploads/contracts/c.pdf --json",
29
30
  "veryfront knowledge ingest /workspace/uploads/q1.pdf --json",
30
31
  "veryfront knowledge ingest --path uploads/ --all --json",
31
32
  ],
@@ -34,5 +35,6 @@ export const knowledgeHelp = {
34
35
  "`uploads/...` means a remote project upload; use `./uploads/...` or `/workspace/uploads/...` to force a local file",
35
36
  "`ingest` orchestrates upload resolution, parsing, and project file writes",
36
37
  "Requires python3; non-text formats also require the supported parser packages unless you run inside the Veryfront sandbox",
38
+ "The Veryfront sandbox image includes `kreuzberg`, and knowledge ingest falls back to the built-in parser when `kreuzberg` is unavailable or extraction fails",
37
39
  ],
38
40
  };
@@ -41,10 +41,10 @@ type DownloadResult = {
41
41
  localPath: string;
42
42
  bytes?: number;
43
43
  };
44
- declare const KnowledgeIngestArgsSchema: z.ZodObject<{
44
+ declare const KnowledgeIngestArgsSchema: z.ZodEffects<z.ZodObject<{
45
45
  projectSlug: z.ZodOptional<z.ZodString>;
46
46
  projectDir: z.ZodOptional<z.ZodString>;
47
- source: z.ZodOptional<z.ZodString>;
47
+ sources: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
48
48
  path: z.ZodOptional<z.ZodString>;
49
49
  all: z.ZodDefault<z.ZodBoolean>;
50
50
  recursive: z.ZodDefault<z.ZodBoolean>;
@@ -58,6 +58,7 @@ declare const KnowledgeIngestArgsSchema: z.ZodObject<{
58
58
  json: boolean;
59
59
  recursive: boolean;
60
60
  all: boolean;
61
+ sources: string[];
61
62
  quiet: boolean;
62
63
  knowledgePath: string;
63
64
  path?: string | undefined;
@@ -66,7 +67,6 @@ declare const KnowledgeIngestArgsSchema: z.ZodObject<{
66
67
  outputDir?: string | undefined;
67
68
  projectDir?: string | undefined;
68
69
  slug?: string | undefined;
69
- source?: string | undefined;
70
70
  }, {
71
71
  path?: string | undefined;
72
72
  projectSlug?: string | undefined;
@@ -77,7 +77,33 @@ declare const KnowledgeIngestArgsSchema: z.ZodObject<{
77
77
  projectDir?: string | undefined;
78
78
  slug?: string | undefined;
79
79
  all?: boolean | undefined;
80
- source?: string | undefined;
80
+ sources?: string[] | undefined;
81
+ quiet?: boolean | undefined;
82
+ knowledgePath?: string | undefined;
83
+ }>, {
84
+ json: boolean;
85
+ recursive: boolean;
86
+ all: boolean;
87
+ sources: string[];
88
+ quiet: boolean;
89
+ knowledgePath: string;
90
+ path?: string | undefined;
91
+ projectSlug?: string | undefined;
92
+ description?: string | undefined;
93
+ outputDir?: string | undefined;
94
+ projectDir?: string | undefined;
95
+ slug?: string | undefined;
96
+ }, {
97
+ path?: string | undefined;
98
+ projectSlug?: string | undefined;
99
+ description?: string | undefined;
100
+ outputDir?: string | undefined;
101
+ json?: boolean | undefined;
102
+ recursive?: boolean | undefined;
103
+ projectDir?: string | undefined;
104
+ slug?: string | undefined;
105
+ all?: boolean | undefined;
106
+ sources?: string[] | undefined;
81
107
  quiet?: boolean | undefined;
82
108
  knowledgePath?: string | undefined;
83
109
  }>;
@@ -102,8 +128,9 @@ export declare function runKnowledgeParser(input: {
102
128
  description?: string;
103
129
  slug?: string;
104
130
  sourceReference?: string;
131
+ env?: Record<string, string>;
105
132
  }): Promise<KnowledgeParserResult>;
106
- export declare function collectKnowledgeSources(options: Pick<KnowledgeIngestOptions, "source" | "path" | "all" | "recursive">, deps: {
133
+ export declare function collectKnowledgeSources(options: Pick<KnowledgeIngestOptions, "sources" | "path" | "all" | "recursive">, deps: {
107
134
  client: ApiClient;
108
135
  projectSlug: string;
109
136
  downloadUploads: (uploadPaths: string[]) => Promise<DownloadResult[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/knowledge/command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,wBAAwB,CAAC;AAChG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAqBxD,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,IAAI,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,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,KAAK,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;CACvE,GACA,OAAO,CAAC,eAAe,EAAE,CAAC,CA0G5B;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,eAAe,EAAE,EAC1B,OAAO,EAAE,sBAAsB,EAC/B,IAAI,EAAE;IACJ,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,kBAAkB,CAAC;IACrC,mBAAmB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3F,GACA,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAkCtC;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAwEtE"}
@@ -26,7 +26,7 @@ const SUPPORTED_EXTENSIONS = new Set([
26
26
  const KnowledgeIngestArgsSchema = z.object({
27
27
  projectSlug: z.string().optional(),
28
28
  projectDir: z.string().optional(),
29
- source: z.string().optional(),
29
+ sources: z.array(z.string()).default([]),
30
30
  path: z.string().optional(),
31
31
  all: z.boolean().default(false),
32
32
  recursive: z.boolean().default(false),
@@ -36,6 +36,39 @@ const KnowledgeIngestArgsSchema = z.object({
36
36
  slug: z.string().optional(),
37
37
  json: z.boolean().default(false),
38
38
  quiet: z.boolean().default(false),
39
+ }).superRefine((value, ctx) => {
40
+ const hasExplicitSources = value.sources.length > 0;
41
+ const hasPath = typeof value.path === "string" && value.path.length > 0;
42
+ if (hasExplicitSources && (hasPath || value.all)) {
43
+ ctx.addIssue({
44
+ code: z.ZodIssueCode.custom,
45
+ message: "Use either explicit source paths or --path with --all, not both.",
46
+ });
47
+ }
48
+ if (!hasExplicitSources && !hasPath && !value.all) {
49
+ ctx.addIssue({
50
+ code: z.ZodIssueCode.custom,
51
+ message: "Provide one or more source paths or use --path with --all.",
52
+ });
53
+ }
54
+ if (hasPath && !value.all) {
55
+ ctx.addIssue({
56
+ code: z.ZodIssueCode.custom,
57
+ message: "--path requires --all.",
58
+ });
59
+ }
60
+ if (!hasPath && value.all) {
61
+ ctx.addIssue({
62
+ code: z.ZodIssueCode.custom,
63
+ message: "--all requires --path.",
64
+ });
65
+ }
66
+ if (value.slug && value.sources.length !== 1) {
67
+ ctx.addIssue({
68
+ code: z.ZodIssueCode.custom,
69
+ message: "--slug can only be used with a single explicit source.",
70
+ });
71
+ }
39
72
  });
40
73
  function getStringArg(args, ...keys) {
41
74
  for (const key of keys) {
@@ -56,7 +89,7 @@ function showKnowledgeUsage() {
56
89
  Veryfront Knowledge
57
90
 
58
91
  Usage:
59
- veryfront knowledge ingest <source> [options]
92
+ veryfront knowledge ingest <source...> [options]
60
93
  veryfront knowledge ingest --path <prefix-or-dir> --all [options]
61
94
 
62
95
  Subcommands:
@@ -67,7 +100,7 @@ export function parseKnowledgeIngestArgs(args) {
67
100
  return KnowledgeIngestArgsSchema.safeParse({
68
101
  projectSlug: getStringArg(args, "project", "p", "project-slug"),
69
102
  projectDir: getStringArg(args, "project-dir", "dir", "d"),
70
- source: typeof args._[2] === "string" ? args._[2] : undefined,
103
+ sources: args._.slice(2).filter((value) => typeof value === "string"),
71
104
  path: getStringArg(args, "path"),
72
105
  all: getBooleanArg(args, "all"),
73
106
  recursive: getBooleanArg(args, "recursive"),
@@ -218,6 +251,7 @@ export async function runKnowledgeParser(input) {
218
251
  try {
219
252
  result = await new dntShim.Deno.Command("python3", {
220
253
  args: [scriptPath, "--input-json", inputJsonPath, "--output-json", outputJsonPath],
254
+ ...(input.env ? { env: input.env } : {}),
221
255
  stdout: "piped",
222
256
  stderr: "piped",
223
257
  }).output();
@@ -241,27 +275,56 @@ export async function runKnowledgeParser(input) {
241
275
  }
242
276
  export async function collectKnowledgeSources(options, deps) {
243
277
  const fs = createFileSystem();
244
- if (options.source) {
245
- if (!isProjectUploadReference(options.source) && await fs.exists(options.source)) {
246
- const localFiles = await collectLocalFiles(options.source, options.recursive);
247
- if (!localFiles.length)
248
- throw new Error(`No supported files found at ${options.source}`);
249
- return localFiles.map((localPath) => ({ kind: "local", input: options.source, localPath }));
278
+ if (options.sources.length > 0) {
279
+ const explicitSources = [];
280
+ const uploadTargets = [];
281
+ for (const input of options.sources) {
282
+ if (!isProjectUploadReference(input) && await fs.exists(input)) {
283
+ const localFiles = await collectLocalFiles(input, options.recursive);
284
+ if (!localFiles.length)
285
+ throw new Error(`No supported files found at ${input}`);
286
+ explicitSources.push({
287
+ kind: "local",
288
+ sources: localFiles.map((localPath) => ({ kind: "local", input, localPath })),
289
+ });
290
+ continue;
291
+ }
292
+ if (isLikelyLocalPath(input)) {
293
+ throw new Error(`Local file not found: ${input}`);
294
+ }
295
+ const uploadPath = normalizeProjectUploadPath(input);
296
+ explicitSources.push({ kind: "upload", input, uploadPath });
297
+ uploadTargets.push(uploadPath);
250
298
  }
251
- if (isLikelyLocalPath(options.source)) {
252
- throw new Error(`Local file not found: ${options.source}`);
299
+ const downloads = uploadTargets.length > 0 ? await deps.downloadUploads(uploadTargets) : [];
300
+ const downloadsByPath = new Map();
301
+ for (const download of downloads) {
302
+ const existing = downloadsByPath.get(download.uploadPath) ?? [];
303
+ existing.push(download);
304
+ downloadsByPath.set(download.uploadPath, existing);
253
305
  }
254
- const uploadPath = normalizeProjectUploadPath(options.source);
255
- const downloads = await deps.downloadUploads([uploadPath]);
256
- return downloads.map((download) => ({
257
- kind: "upload",
258
- input: options.source,
259
- uploadPath: download.uploadPath,
260
- localPath: download.localPath,
261
- }));
306
+ const resolvedSources = [];
307
+ for (const source of explicitSources) {
308
+ if (source.kind === "local") {
309
+ resolvedSources.push(...source.sources);
310
+ continue;
311
+ }
312
+ const matchingDownloads = downloadsByPath.get(source.uploadPath);
313
+ const download = matchingDownloads?.shift();
314
+ if (!download) {
315
+ throw new Error(`Upload not found: ${formatKnowledgeUploadSource(source.uploadPath)}`);
316
+ }
317
+ resolvedSources.push({
318
+ kind: "upload",
319
+ input: source.input,
320
+ uploadPath: download.uploadPath,
321
+ localPath: download.localPath,
322
+ });
323
+ }
324
+ return resolvedSources;
262
325
  }
263
326
  if (!options.path || !options.all) {
264
- throw new Error("Provide a source path or use --path with --all.");
327
+ throw new Error("Provide one or more source paths or use --path with --all.");
265
328
  }
266
329
  if (!isProjectUploadReference(options.path) && await fs.exists(options.path)) {
267
330
  const localFiles = await collectLocalFiles(options.path, options.recursive);
@@ -298,7 +361,10 @@ export async function collectKnowledgeSources(options, deps) {
298
361
  }));
299
362
  }
300
363
  export async function ingestResolvedSources(sources, options, deps) {
301
- const slugs = options.slug && sources.length === 1 ? [options.slug] : ensureUniqueSlugs(sources);
364
+ if (options.slug && sources.length !== 1) {
365
+ throw new Error("--slug can only be used with a single explicit source.");
366
+ }
367
+ const slugs = options.slug ? [options.slug] : ensureUniqueSlugs(sources);
302
368
  const results = [];
303
369
  for (const [index, source] of sources.entries()) {
304
370
  const parser = await deps.runParser({
@@ -1 +1 @@
1
- {"version":3,"file":"parser-source.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/knowledge/parser-source.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,QA8ZvC,CAAC"}
1
+ {"version":3,"file":"parser-source.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/knowledge/parser-source.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,QAugBvC,CAAC"}
@@ -3,6 +3,7 @@ import argparse
3
3
  import csv
4
4
  import json
5
5
  import re
6
+ import subprocess
6
7
  from datetime import date
7
8
  from pathlib import Path
8
9
  from typing import Any, Optional
@@ -71,6 +72,107 @@ def build_frontmatter(source: str, source_type: str, description: str) -> str:
71
72
  ])
72
73
 
73
74
 
75
+ def metadata_int(metadata: dict[str, Any], *keys: str) -> Optional[int]:
76
+ for key in keys:
77
+ value = metadata.get(key)
78
+ if isinstance(value, int) and not isinstance(value, bool):
79
+ return value
80
+ return None
81
+
82
+
83
+ def metadata_string_list(metadata: dict[str, Any], *keys: str) -> Optional[list[str]]:
84
+ for key in keys:
85
+ value = metadata.get(key)
86
+ if isinstance(value, list) and all(isinstance(item, str) for item in value):
87
+ return value
88
+ return None
89
+
90
+
91
+ def build_kreuzberg_stats(source_type: str, content: str, metadata: dict[str, Any]):
92
+ stats: dict[str, Any] = {
93
+ "characters": len(content),
94
+ "lines": len(content.splitlines()) if content else 0,
95
+ "engine": "kreuzberg",
96
+ }
97
+
98
+ if isinstance(metadata.get("mime_type"), str):
99
+ stats["mime_type"] = metadata["mime_type"]
100
+
101
+ if source_type == "pdf":
102
+ stats["pages"] = metadata_int(metadata, "page_count") or 0
103
+ stats["tables"] = metadata_int(metadata, "table_count") or 0
104
+ elif source_type in {"xlsx", "xls"}:
105
+ stats["sheets"] = metadata_int(metadata, "sheet_count") or 0
106
+ stats["rows"] = metadata_int(metadata, "row_count") or 0
107
+ stats["sheet_names"] = metadata_string_list(metadata, "sheet_names") or []
108
+ elif source_type == "docx":
109
+ stats["paragraphs"] = metadata_int(metadata, "paragraph_count") or 0
110
+ stats["tables"] = metadata_int(metadata, "table_count") or 0
111
+ elif source_type == "pptx":
112
+ stats["slides"] = metadata_int(metadata, "slide_count", "page_count") or 0
113
+ stats["tables"] = metadata_int(metadata, "table_count") or 0
114
+ elif source_type == "html":
115
+ stats["tables"] = metadata_int(metadata, "table_count") or 0
116
+
117
+ return stats
118
+
119
+
120
+ def parse_with_kreuzberg(path: str, source_type: str):
121
+ warnings: list[str] = []
122
+ completed = subprocess.run(
123
+ [
124
+ "kreuzberg",
125
+ "extract",
126
+ path,
127
+ "--format",
128
+ "json",
129
+ "--output-format",
130
+ "markdown",
131
+ ],
132
+ capture_output=True,
133
+ text=True,
134
+ check=False,
135
+ )
136
+
137
+ if completed.returncode != 0:
138
+ detail = completed.stderr.strip() or completed.stdout.strip() or f"exit code {completed.returncode}"
139
+ raise RuntimeError(f"kreuzberg extract failed: {detail}")
140
+
141
+ try:
142
+ payload = json.loads(completed.stdout)
143
+ except json.JSONDecodeError as error:
144
+ raise RuntimeError(f"kreuzberg extract returned invalid JSON: {error}") from error
145
+
146
+ content = payload.get("content", "")
147
+ if not isinstance(content, str):
148
+ raise RuntimeError("kreuzberg extract did not return string content")
149
+
150
+ metadata = payload.get("metadata") if isinstance(payload.get("metadata"), dict) else {}
151
+ normalized_content = clean_text(content)
152
+ stats = build_kreuzberg_stats(source_type, normalized_content, metadata)
153
+
154
+ return normalized_content or "_No extractable text found in document._", stats, warnings
155
+
156
+
157
+ def prefer_kreuzberg(source_type: str, fallback_parser):
158
+ def parser(path: str):
159
+ try:
160
+ return parse_with_kreuzberg(path, source_type)
161
+ except FileNotFoundError as error:
162
+ if getattr(error, "filename", "") == "kreuzberg":
163
+ return fallback_parser(path)
164
+ raise
165
+ except RuntimeError as error:
166
+ content, stats, warnings = fallback_parser(path)
167
+ warnings.append(
168
+ "kreuzberg extraction failed; fell back to the built-in parser: "
169
+ + str(error)
170
+ )
171
+ return content, stats, warnings
172
+
173
+ return parser
174
+
175
+
74
176
  def parse_csv_like(path: str, delimiter: str = ","):
75
177
  warnings: list[str] = []
76
178
  with open(path, newline="", encoding="utf-8-sig") as file:
@@ -305,18 +407,19 @@ def parse_json(path: str):
305
407
  def select_parser(path: Path):
306
408
  ext = path.suffix.lower()
307
409
  if ext == ".pdf":
308
- return "pdf", parse_pdf
410
+ return "pdf", prefer_kreuzberg("pdf", parse_pdf)
309
411
  if ext in {".csv", ".tsv"}:
310
412
  delimiter = "\t" if ext == ".tsv" else ","
311
413
  return ext.lstrip("."), lambda file_path: parse_csv_like(file_path, delimiter)
312
414
  if ext in {".xlsx", ".xls"}:
313
- return ext.lstrip("."), parse_excel
415
+ source_type = ext.lstrip(".")
416
+ return source_type, prefer_kreuzberg(source_type, parse_excel)
314
417
  if ext == ".docx":
315
- return "docx", parse_docx
418
+ return "docx", prefer_kreuzberg("docx", parse_docx)
316
419
  if ext == ".pptx":
317
- return "pptx", parse_pptx
420
+ return "pptx", prefer_kreuzberg("pptx", parse_pptx)
318
421
  if ext in {".html", ".htm"}:
319
- return "html", parse_html
422
+ return "html", prefer_kreuzberg("html", parse_html)
320
423
  if ext in {".txt", ".md", ".mdx"}:
321
424
  return ext.lstrip("."), parse_text
322
425
  if ext == ".json":
@@ -325,6 +428,8 @@ def select_parser(path: Path):
325
428
 
326
429
 
327
430
  def build_summary(source_type: str, stats: dict[str, Any]) -> str:
431
+ if stats.get("engine") == "kreuzberg":
432
+ return f"Converted {source_type.upper()} to markdown ({stats.get('characters', 0)} chars)."
328
433
  if source_type in {"csv", "tsv"}:
329
434
  return f"Parsed {stats.get('rows', 0)} rows across {stats.get('columns', 0)} columns."
330
435
  if source_type in {"xlsx", "xls"}:
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "exclude": [
@@ -1 +1 @@
1
- {"version":3,"file":"html-shell-generator.d.ts","sourceRoot":"","sources":["../../../src/src/html/html-shell-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAmBxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA+ExD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,qBAAqB,EAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC1C,KAAK,CAAC,EAAE,cAAc,EACtB,kBAAkB,CAAC,EAAE,MAAM,GAC1B,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAWzC;AAsPD,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,qBAAqB,EAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC1C,KAAK,CAAC,EAAE,cAAc,GACrB,OAAO,CAAC,MAAM,CAAC,CAmBjB"}
1
+ {"version":3,"file":"html-shell-generator.d.ts","sourceRoot":"","sources":["../../../src/src/html/html-shell-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAmBxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA+ExD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,qBAAqB,EAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC1C,KAAK,CAAC,EAAE,cAAc,EACtB,kBAAkB,CAAC,EAAE,MAAM,GAC1B,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAWzC;AA+PD,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,qBAAqB,EAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC1C,KAAK,CAAC,EAAE,cAAc,GACrB,OAAO,CAAC,MAAM,CAAC,CAmBjB"}
@@ -134,6 +134,11 @@ async function generateHTMLShellPartsImpl(meta, options, params, props, contentF
134
134
  ? `<link rel="modulepreload" href="${jsxRuntimeUrl}">`
135
135
  : "";
136
136
  const nonceAttr = nonce ? ` nonce="${nonce}"` : "";
137
+ // Expose project slug for runtime error overlay "Fix in Veryfront" button
138
+ const overlaySlug = options.projectId || meta.slug;
139
+ const slugForOverlay = useDevScripts && overlaySlug
140
+ ? `<script${nonceAttr}>window.__VF_PROJECT_SLUG__=${JSON.stringify(overlaySlug).replace(/</g, "\\u003c")};</script>`
141
+ : "";
137
142
  const hydrationErrorSuppression = useDevScripts ? "" : `<script${nonceAttr}>
138
143
  (function(){
139
144
  var origError = console.error;
@@ -222,6 +227,7 @@ async function generateHTMLShellPartsImpl(meta, options, params, props, contentF
222
227
  ${linkTags}
223
228
  ${styleTags}
224
229
  ${modeStyles}
230
+ ${slugForOverlay}
225
231
  </head>
226
232
  <body${bodyClass ? ` class="${bodyClass}"` : ""} suppressHydrationWarning>
227
233
  <div ${rootAttributes}>`;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/src/rendering/orchestrator/pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6ChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACxE,aAAa,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,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