Skip to content

Commit 828d42e

Browse files
committed
fix: restore referenced test documents, cargo fmt, and uv.lock
Restore 66 test document files that were still referenced by E2E tests, Rust integration tests, and fixture files but were accidentally removed in 0c356b7. Also fix cargo fmt formatting in mcp/server.rs and regenerate uv.lock to resolve version drift.
1 parent f5e7c04 commit 828d42e

68 files changed

Lines changed: 81344 additions & 41 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crates/kreuzberg/src/mcp/server.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,12 @@ impl ServerHandler for KreuzbergMcp {
283283
let mut capabilities = ServerCapabilities::default();
284284
capabilities.tools = Some(ToolsCapability::default());
285285

286-
let server_info = Implementation::new(
287-
"kreuzberg-mcp",
288-
env!("CARGO_PKG_VERSION"),
289-
)
290-
.with_title("Kreuzberg Document Intelligence MCP Server")
291-
.with_description("Document intelligence library for extracting content from PDFs, images, office documents, and more.")
292-
.with_website_url("https://kreuzberg-dev.github.io/kreuzberg/");
286+
let server_info = Implementation::new("kreuzberg-mcp", env!("CARGO_PKG_VERSION"))
287+
.with_title("Kreuzberg Document Intelligence MCP Server")
288+
.with_description(
289+
"Document intelligence library for extracting content from PDFs, images, office documents, and more.",
290+
)
291+
.with_website_url("https://kreuzberg-dev.github.io/kreuzberg/");
293292

294293
InitializeResult::new(capabilities)
295294
.with_server_info(server_info)
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
2+
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
3+
<book id='book01'><title>An Example Book</title>
4+
<chapter id="ch01"><title>XRef Samples</title>
5+
<para>
6+
This paragraph demonstrates several features of
7+
<sgmltag>XRef</sgmltag>.
8+
</para>
9+
<itemizedlist>
10+
<listitem><para>A straight link generates the
11+
cross-reference text: <xref linkend="ch02"/>.
12+
</para></listitem>
13+
<listitem><para>A link to an element with an
14+
<sgmltag class="attribute">XRefLabel</sgmltag>:
15+
<xref linkend="ch03"/>.
16+
</para></listitem>
17+
<listitem><para>A link with an
18+
<sgmltag class="attribute">EndTerm</sgmltag>:
19+
<xref linkend="ch04" endterm="ch04short"/>.
20+
</para></listitem>
21+
<listitem><para>A link to an
22+
<sgmltag>cmdsynopsis</sgmltag> element: <xref linkend="cmd01"/>.
23+
</para></listitem>
24+
<listitem><para>A link to an
25+
<sgmltag>funcsynopsis</sgmltag> element: <xref linkend="func01"/>.
26+
</para></listitem>
27+
<listitem><para>A link to a
28+
<sgmltag>figure</sgmltag> element: <xref linkend="fig01"/>.
29+
</para></listitem>
30+
<listitem><para>A link to a
31+
<sgmltag>table</sgmltag> element: <xref linkend="table01"/>.
32+
</para></listitem>
33+
<listitem><para>A link to a
34+
<sgmltag>part</sgmltag> element: <xref linkend="part01"/>.
35+
</para></listitem>
36+
<listitem><para>A link to a
37+
<sgmltag>book</sgmltag> element: <xref linkend="book01"/>.
38+
</para></listitem>
39+
</itemizedlist>
40+
</chapter>
41+
42+
<chapter id="ch02">
43+
<title>The Second Chapter</title>
44+
<para>Some content here</para>
45+
</chapter>
46+
47+
<part id="part01">
48+
<title>Later Part</title>
49+
50+
<chapter id="ch03" xreflabel="Chapter the Third">
51+
<title>The Third Chapter</title>
52+
<para>Some content here</para>
53+
</chapter>
54+
55+
<chapter id="ch04">
56+
<title>The Fourth Chapter</title>
57+
<titleabbrev id="ch04short">Chapter 4</titleabbrev>
58+
<para>Some content here</para>
59+
60+
<cmdsynopsis id="cmd01">
61+
<command>chgrp</command>
62+
<arg>-R
63+
<group>
64+
<arg>-H</arg>
65+
<arg>-L</arg>
66+
<arg>-P</arg>
67+
</group>
68+
</arg>
69+
<arg>-f</arg>
70+
<arg choice='plain'><replaceable>group</replaceable></arg>
71+
<arg rep='repeat' choice='plain'><replaceable>file</replaceable></arg>
72+
</cmdsynopsis>
73+
74+
75+
<funcsynopsis id="func01">
76+
<funcprototype>
77+
<funcdef>int <function>max</function></funcdef>
78+
<paramdef>int <parameter>int1</parameter></paramdef>
79+
<paramdef>int <parameter>int2</parameter></paramdef>
80+
</funcprototype>
81+
</funcsynopsis>
82+
83+
<figure id="fig01"><title>The Pythagorean Theorem Illustrated</title>
84+
<mediaobject>
85+
<imageobject>
86+
<imagedata fileref="figures/pythag.png"/>
87+
</imageobject>
88+
<textobject><phrase>An illustration of the Pythagorean Theorem</phrase></textobject>
89+
</mediaobject>
90+
</figure>
91+
92+
<table id="table01" frame="all" rowsep="1" colsep="1">
93+
<title>Supported features by version</title>
94+
<tgroup cols="2">
95+
<colspec colname="col_1" colwidth="50*"/>
96+
<colspec colname="col_2" colwidth="50*"/>
97+
<thead>
98+
<row>
99+
<entry>Version</entry>
100+
<entry>Feat</entry>
101+
</row>
102+
</thead>
103+
<tbody>
104+
<row>
105+
<entry>Free</entry>
106+
<entry>no</entry>
107+
</row>
108+
</tbody>
109+
</tgroup>
110+
</table>
111+
112+
</chapter>
113+
</part>
114+
</book>

0 commit comments

Comments
 (0)