You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2069d8e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): name the Kreuzberg install command when knowledge ingest cannot load it (#5684)
* fix(cli): name the Kreuzberg install command when knowledge ingest cannot load it
PDF, Office, EPUB, HTML and RTF parsing needs the optional
@veryfront/ext-document-kreuzberg package. The npm package does not
include it, and the error only said to install it alongside veryfront.
The parser now names the npm install and npx commands, and the help and
docs no longer call the parser built-in.
* test(cli): cover the Kreuzberg install hint with a hermetic unit test
* fix(cli): pin the Kreuzberg hint to the running version and the project's package manager
* test(cli): cover the default package-manager formatter in the Kreuzberg hint
* fix(cli): base the Kreuzberg hint on --project-dir and cover global and npx installs
* fix(cli): keep the Kreuzberg hint to the project command and point other installs to the guide
---------
Co-authored-by: Koji Wakayama <koji@codersociety.com>
Copy file name to clipboardExpand all lines: cli/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Run `veryfront <command> --help` for options:
77
77
|`studio`| Open Studio UI |
78
78
79
79
Use one or more `uploads/...` paths for remote project-upload references in `veryfront knowledge ingest`; use `./uploads/...` or `/workspace/uploads/...` to force a local sandbox path.
80
-
`veryfront knowledge ingest` parses PDF, Office, EPUB, HTML, and RTF sources through the built-in Kreuzberg document extension. Plain text, Markdown, JSON, CSV, TSV, and common code files are converted directly by the CLI.
80
+
`veryfront knowledge ingest` parses PDF, Office, EPUB, HTML, and RTF sources through the Kreuzberg document extension. The standalone binary includes it. The `veryfront` npm package does not: install `@veryfront/ext-document-kreuzberg` at the same version as `veryfront` with your project's package manager, or the same way as a global `veryfront`. For npx, see [CLI knowledge ingestion](../docs/guides/cli-knowledge-ingestion.md). Plain text, Markdown, JSON, CSV, TSV, and common code files are converted directly by the CLI.
"`uploads/...` means a remote project upload; use `./uploads/...` or `/workspace/uploads/...` to force a local file",
55
55
"`ingest` orchestrates upload resolution, parsing, and project file writes",
56
-
"Supported PDF, Office, and HTMLsources are parsed through the built-in Kreuzberg document extension",
56
+
"PDF, Office, EPUB, HTML, and RTF sources are parsed by the Kreuzberg document extension. The standalone binary includes it; with the veryfront npm package, also install @veryfront/ext-document-kreuzberg at the same version",
57
57
"Plain text, Markdown, JSON, CSV, TSV, and common code files are converted directly by the CLI",
`${missing.message} First-party extension "ext-document-kreuzberg" is not installed; install @veryfront/ext-document-kreuzberg alongside veryfront to enable it.`,
0 commit comments