@xberg-io/opencode-xberg 1.3.8 → 1.3.11
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/.opencode/ai-rulez-bundle.json +17 -16
- package/.opencode/ai-rulez-content.js +3 -3
- package/.opencode/commands/xberg-extract.md +3 -3
- package/.opencode/commands/xberg-ocr.md +3 -3
- package/.opencode/plugins/xberg.js +1 -1
- package/.opencode/skills/xberg/SKILL.md +16 -21
- package/.opencode/skills/xberg/index.md +10 -0
- package/.opencode/skills/xberg/references/advanced-features.md +1 -1
- package/.opencode/skills/xberg/references/cli-reference.md +3 -3
- package/.opencode/skills/xberg/references/configuration.md +4 -4
- package/.opencode/skills/xberg/references/nodejs-api.md +1 -1
- package/.opencode/skills/xberg/references/other-bindings.md +1 -1
- package/.opencode/skills/xberg/references/python-api.md +3 -3
- package/.opencode/skills/xberg/references/rust-api.md +5 -5
- package/.opencode/skills/xberg/references/supported-formats.md +1 -1
- package/.opencode/skills/{batch-extraction → xberg-batch-extraction}/SKILL.md +11 -9
- package/.opencode/skills/xberg-batch-extraction/index.md +10 -0
- package/.opencode/skills/xberg-batch-extraction/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-batch-extraction/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-batch-extraction/references/configuration.md +587 -0
- package/.opencode/skills/xberg-batch-extraction/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-batch-extraction/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-batch-extraction/references/python-api.md +657 -0
- package/.opencode/skills/xberg-batch-extraction/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-batch-extraction/references/supported-formats.md +252 -0
- package/{.pi/skills/chunking → .opencode/skills/xberg-chunking}/SKILL.md +5 -5
- package/.opencode/skills/xberg-chunking/index.md +10 -0
- package/.opencode/skills/xberg-chunking/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-chunking/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-chunking/references/configuration.md +587 -0
- package/.opencode/skills/xberg-chunking/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-chunking/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-chunking/references/python-api.md +657 -0
- package/.opencode/skills/xberg-chunking/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-chunking/references/supported-formats.md +252 -0
- package/.opencode/skills/{extracting-keywords → xberg-extracting-keywords}/SKILL.md +7 -8
- package/.opencode/skills/xberg-extracting-keywords/index.md +10 -0
- package/.opencode/skills/xberg-extracting-keywords/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-extracting-keywords/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-extracting-keywords/references/configuration.md +587 -0
- package/.opencode/skills/xberg-extracting-keywords/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-extracting-keywords/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-extracting-keywords/references/python-api.md +657 -0
- package/.opencode/skills/xberg-extracting-keywords/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-extracting-keywords/references/supported-formats.md +252 -0
- package/{.pi/skills/extracting-tables → .opencode/skills/xberg-extracting-tables}/SKILL.md +4 -5
- package/.opencode/skills/xberg-extracting-tables/index.md +10 -0
- package/.opencode/skills/xberg-extracting-tables/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-extracting-tables/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-extracting-tables/references/configuration.md +587 -0
- package/.opencode/skills/xberg-extracting-tables/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-extracting-tables/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-extracting-tables/references/python-api.md +657 -0
- package/.opencode/skills/xberg-extracting-tables/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-extracting-tables/references/supported-formats.md +252 -0
- package/{.pi/skills/extracting-with-ocr → .opencode/skills/xberg-extracting-with-ocr}/SKILL.md +5 -6
- package/.opencode/skills/xberg-extracting-with-ocr/index.md +10 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/configuration.md +587 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/python-api.md +657 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-extracting-with-ocr/references/supported-formats.md +252 -0
- package/.opencode/skills/{picking-a-format → xberg-picking-a-format}/SKILL.md +4 -4
- package/.opencode/skills/xberg-picking-a-format/index.md +10 -0
- package/.opencode/skills/xberg-picking-a-format/references/advanced-features.md +628 -0
- package/.opencode/skills/xberg-picking-a-format/references/cli-reference.md +462 -0
- package/.opencode/skills/xberg-picking-a-format/references/configuration.md +587 -0
- package/.opencode/skills/xberg-picking-a-format/references/nodejs-api.md +485 -0
- package/.opencode/skills/xberg-picking-a-format/references/other-bindings.md +345 -0
- package/.opencode/skills/xberg-picking-a-format/references/python-api.md +657 -0
- package/.opencode/skills/xberg-picking-a-format/references/rust-api.md +412 -0
- package/.opencode/skills/xberg-picking-a-format/references/supported-formats.md +252 -0
- package/.pi/prompts/xberg-extract.md +1 -1
- package/.pi/prompts/xberg-ocr.md +1 -1
- package/.pi/skills/xberg/SKILL.md +16 -21
- package/.pi/skills/xberg/index.md +10 -0
- package/.pi/skills/xberg/references/advanced-features.md +1 -1
- package/.pi/skills/xberg/references/cli-reference.md +3 -3
- package/.pi/skills/xberg/references/configuration.md +4 -4
- package/.pi/skills/xberg/references/nodejs-api.md +1 -1
- package/.pi/skills/xberg/references/other-bindings.md +1 -1
- package/.pi/skills/xberg/references/python-api.md +3 -3
- package/.pi/skills/xberg/references/rust-api.md +5 -5
- package/.pi/skills/xberg/references/supported-formats.md +1 -1
- package/.pi/skills/{batch-extraction → xberg-batch-extraction}/SKILL.md +11 -9
- package/.pi/skills/xberg-batch-extraction/index.md +10 -0
- package/.pi/skills/xberg-batch-extraction/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-batch-extraction/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-batch-extraction/references/configuration.md +587 -0
- package/.pi/skills/xberg-batch-extraction/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-batch-extraction/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-batch-extraction/references/python-api.md +657 -0
- package/.pi/skills/xberg-batch-extraction/references/rust-api.md +412 -0
- package/.pi/skills/xberg-batch-extraction/references/supported-formats.md +252 -0
- package/{.opencode/skills/chunking → .pi/skills/xberg-chunking}/SKILL.md +5 -5
- package/.pi/skills/xberg-chunking/index.md +10 -0
- package/.pi/skills/xberg-chunking/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-chunking/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-chunking/references/configuration.md +587 -0
- package/.pi/skills/xberg-chunking/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-chunking/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-chunking/references/python-api.md +657 -0
- package/.pi/skills/xberg-chunking/references/rust-api.md +412 -0
- package/.pi/skills/xberg-chunking/references/supported-formats.md +252 -0
- package/.pi/skills/{extracting-keywords → xberg-extracting-keywords}/SKILL.md +7 -8
- package/.pi/skills/xberg-extracting-keywords/index.md +10 -0
- package/.pi/skills/xberg-extracting-keywords/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-extracting-keywords/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-extracting-keywords/references/configuration.md +587 -0
- package/.pi/skills/xberg-extracting-keywords/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-extracting-keywords/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-extracting-keywords/references/python-api.md +657 -0
- package/.pi/skills/xberg-extracting-keywords/references/rust-api.md +412 -0
- package/.pi/skills/xberg-extracting-keywords/references/supported-formats.md +252 -0
- package/{.opencode/skills/extracting-tables → .pi/skills/xberg-extracting-tables}/SKILL.md +4 -5
- package/.pi/skills/xberg-extracting-tables/index.md +10 -0
- package/.pi/skills/xberg-extracting-tables/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-extracting-tables/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-extracting-tables/references/configuration.md +587 -0
- package/.pi/skills/xberg-extracting-tables/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-extracting-tables/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-extracting-tables/references/python-api.md +657 -0
- package/.pi/skills/xberg-extracting-tables/references/rust-api.md +412 -0
- package/.pi/skills/xberg-extracting-tables/references/supported-formats.md +252 -0
- package/{.opencode/skills/extracting-with-ocr → .pi/skills/xberg-extracting-with-ocr}/SKILL.md +5 -6
- package/.pi/skills/xberg-extracting-with-ocr/index.md +10 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/configuration.md +587 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/python-api.md +657 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/rust-api.md +412 -0
- package/.pi/skills/xberg-extracting-with-ocr/references/supported-formats.md +252 -0
- package/.pi/skills/{picking-a-format → xberg-picking-a-format}/SKILL.md +4 -4
- package/.pi/skills/xberg-picking-a-format/index.md +10 -0
- package/.pi/skills/xberg-picking-a-format/references/advanced-features.md +628 -0
- package/.pi/skills/xberg-picking-a-format/references/cli-reference.md +462 -0
- package/.pi/skills/xberg-picking-a-format/references/configuration.md +587 -0
- package/.pi/skills/xberg-picking-a-format/references/nodejs-api.md +485 -0
- package/.pi/skills/xberg-picking-a-format/references/other-bindings.md +345 -0
- package/.pi/skills/xberg-picking-a-format/references/python-api.md +657 -0
- package/.pi/skills/xberg-picking-a-format/references/rust-api.md +412 -0
- package/.pi/skills/xberg-picking-a-format/references/supported-formats.md +252 -0
- package/README.md +72 -6
- package/package.json +135 -20
- package/scripts/mcp-launch.sh +6 -5
package/README.md
CHANGED
|
@@ -17,6 +17,20 @@ Self-host:
|
|
|
17
17
|
/plugin install xberg@xberg
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
### Kimi installation and compatibility
|
|
21
|
+
|
|
22
|
+
From a checkout of this repository, install with the Python Kimi CLI version used for native
|
|
23
|
+
plugin validation:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
uvx --from kimi-cli==1.51.0 kimi plugin install ./plugin
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Native plugin installation was validated with Python Kimi CLI 1.51.0. The replacement
|
|
30
|
+
`@moonshot-ai/kimi-code` 2.1.1 does not provide a `plugin` CLI subcommand; its interactive
|
|
31
|
+
plugin loading has not been verified. These results do not establish compatibility with
|
|
32
|
+
newer Kimi releases.
|
|
33
|
+
|
|
20
34
|
### Pi
|
|
21
35
|
|
|
22
36
|
From a checkout of this repository, run:
|
|
@@ -76,12 +90,12 @@ sudo apt install tesseract-ocr-* # Debian/Ubuntu
|
|
|
76
90
|
| Skill | Trigger |
|
|
77
91
|
|-------|---------|
|
|
78
92
|
| **xberg** | Extract text, tables, metadata, and images from 107 document formats (PDF, Office, images, HTML, email, archives, academic) using Xberg. Use when writing code that calls Xberg APIs in Python, Node.js/TypeScript, Rust, or CLI. Covers installation, extraction (sync/async), configuration (OCR, chunking, output format), batch processing, error handling, and plugins. |
|
|
79
|
-
| **extracting-with-ocr** | Use when extracting text from scanned PDFs, photographed pages, or images that have no embedded text layer. Covers OCR backends, language packs, force-OCR, and performance tuning. |
|
|
80
|
-
| **extracting-tables** | Use when extracting tabular data from PDFs, spreadsheets, or images. Covers layout-aware table detection, table model selection, output formats (markdown / JSON cells), and known limits. |
|
|
81
|
-
| **chunking** | Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone `chunk` command. |
|
|
82
|
-
| **extracting-keywords** | Use when extracting keywords (YAKE/RAKE), detecting document language, or generating embeddings for RAG and search. Covers the keyword config, `--detect-language`, and the standalone `embed` command. |
|
|
83
|
-
| **batch-extraction** | Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout. |
|
|
84
|
-
| **picking-a-format** | Use when choosing an output format for extracted documents — text, markdown, djot, html, or JSON. Maps consumer (LLM, parser, archive) to the right `--format` / `--content-format` pair. |
|
|
93
|
+
| **xberg-extracting-with-ocr** | Use when extracting text from scanned PDFs, photographed pages, or images that have no embedded text layer. Covers OCR backends, language packs, force-OCR, and performance tuning. |
|
|
94
|
+
| **xberg-extracting-tables** | Use when extracting tabular data from PDFs, spreadsheets, or images. Covers layout-aware table detection, table model selection, output formats (markdown / JSON cells), and known limits. |
|
|
95
|
+
| **xberg-chunking** | Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone `chunk` command. |
|
|
96
|
+
| **xberg-extracting-keywords** | Use when extracting keywords (YAKE/RAKE), detecting document language, or generating embeddings for RAG and search. Covers the keyword config, `--detect-language`, and the standalone `embed` command. |
|
|
97
|
+
| **xberg-batch-extraction** | Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout. |
|
|
98
|
+
| **xberg-picking-a-format** | Use when choosing an output format for extracted documents — text, markdown, djot, html, or JSON. Maps consumer (LLM, parser, archive) to the right `--format` / `--content-format` pair. |
|
|
85
99
|
|
|
86
100
|
**Reference materials** (linked from the `xberg` skill):
|
|
87
101
|
|
|
@@ -167,3 +181,55 @@ MIT. The skill content uses Elastic-2.0 references to the upstream [xberg](https
|
|
|
167
181
|
- **Marketplace**: this repo — `/plugin marketplace add xberg-io/xberg`
|
|
168
182
|
- **Upstream**: [xberg-io/xberg](https://github.com/xberg-io/xberg)
|
|
169
183
|
- **Related plugins**: [crawlberg](https://github.com/xberg-io/crawlberg)
|
|
184
|
+
|
|
185
|
+
## Generated runtime bundles
|
|
186
|
+
|
|
187
|
+
`plugin/.ai-rulez/config.toml` loads `config.plugins.toml` through the `plugins` layer;
|
|
188
|
+
skills, commands and runtime adapters are authored alongside it. AI-Rulez 5.3.0 generates
|
|
189
|
+
all eleven supported runtimes: Claude, Cursor, Codex, Gemini, Kimi, OpenCode, Factory,
|
|
190
|
+
Hermes, Pi, Agent Plugins and Copilot. Codex ships both manifest layouts; repository-root
|
|
191
|
+
Claude and Codex marketplace indexes point to the `plugin` bundle. Cursor also has a marketplace index.
|
|
192
|
+
|
|
193
|
+
Pi packages skills and prompts without MCP integration. Copilot packages skills and MCP configuration, but does not package slash commands or hooks.
|
|
194
|
+
Hermes includes a Python package under `.hermes/package`; OpenCode and Pi share the npm package.
|
|
195
|
+
The Agent Plugins manifest uses the stable 1.0 specification. Runtime capabilities differ;
|
|
196
|
+
install the CLI before using skills in a runtime without MCP registration.
|
|
197
|
+
|
|
198
|
+
Run `ai-rulez generate --plugin` from the repository root to regenerate and
|
|
199
|
+
`ai-rulez verify --plugin` to compare current source output and provenance.
|
|
200
|
+
The release workflow packages every runtime into a deterministic archive, checksums,
|
|
201
|
+
and marketplace metadata; npm and PyPI retain their existing publishing jobs.
|
|
202
|
+
|
|
203
|
+
## Hermes runtime setup
|
|
204
|
+
|
|
205
|
+
Install the product CLI with MCP support and put it on Hermes' PATH before using the plugin.
|
|
206
|
+
The Hermes adapter registers every bundled skill under the product namespace and provides
|
|
207
|
+
`xberg_call`, which calls the selected native MCP tool with `tool_arguments` through a local
|
|
208
|
+
stdio session. Select `tool: "list_tools"` first to inspect the server's exact request schemas. Hermes skills are selected explicitly; they are not automatically appended to the
|
|
209
|
+
system prompt. Enable the plugin in Hermes configuration; project plugins also require
|
|
210
|
+
`HERMES_ENABLE_PROJECT_PLUGINS=true`.
|
|
211
|
+
|
|
212
|
+
The bridge uses the installed CLI directly. The auto-installing launchers used by other MCP clients
|
|
213
|
+
are not included in the Hermes Python wheel. Provider credentials are inherited from the environment,
|
|
214
|
+
and are needed for provider-backed requests. Missing CLIs, unavailable tools and model preparation
|
|
215
|
+
fail with an actionable request error. CLI result data remains untrusted document content.
|
|
216
|
+
|
|
217
|
+
## Public Agent Skills
|
|
218
|
+
|
|
219
|
+
The repository-root `skills/` directory contains the same generated skills and supporting
|
|
220
|
+
resources as `plugin/skills/`. Install them independently of a plugin runtime:
|
|
221
|
+
|
|
222
|
+
```sh
|
|
223
|
+
npx skills add xberg-io/xberg --skill xberg
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Edit `plugin/.ai-rulez/skills`, then run `task plugin:generate` to regenerate runtime
|
|
227
|
+
bundles and synchronize the public export. `task plugin:verify` checks both projections;
|
|
228
|
+
`task plugin:skills:test` verifies resource freshness, ownership and symlink protection.
|
|
229
|
+
The public ownership manifest records SHA-256 hashes of every exported file.
|
|
230
|
+
|
|
231
|
+
Download integrity: the launcher currently relies on HTTPS for direct binary downloads.
|
|
232
|
+
Verify release checksums separately when available before manually installing an archive.
|
|
233
|
+
|
|
234
|
+
Launcher and visual assets are authored in `plugin/.ai-rulez/scripts/` and
|
|
235
|
+
`plugin/.ai-rulez/assets/`; `task plugin:generate` copies them into the runtime bundle.
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": {
|
|
3
|
+
"email": "contact@xberg.io",
|
|
4
|
+
"name": "Kreuzberg, Inc.",
|
|
5
|
+
"url": "https://xberg.io"
|
|
6
|
+
},
|
|
2
7
|
"dependencies": {
|
|
3
|
-
"@opencode/plugin": "^2.0.
|
|
8
|
+
"@opencode/plugin": "^2.0.26"
|
|
4
9
|
},
|
|
5
10
|
"description": "Local document extraction: text, tables, metadata, images from 107 formats with optional OCR.",
|
|
6
11
|
"exports": {
|
|
@@ -12,13 +17,68 @@
|
|
|
12
17
|
".opencode/commands/xberg-extract.md",
|
|
13
18
|
".opencode/commands/xberg-ocr.md",
|
|
14
19
|
".opencode/plugins/xberg.js",
|
|
15
|
-
".opencode/skills/batch-extraction/SKILL.md",
|
|
16
|
-
".opencode/skills/
|
|
17
|
-
".opencode/skills/
|
|
18
|
-
".opencode/skills/
|
|
19
|
-
".opencode/skills/
|
|
20
|
-
".opencode/skills/
|
|
20
|
+
".opencode/skills/xberg-batch-extraction/SKILL.md",
|
|
21
|
+
".opencode/skills/xberg-batch-extraction/index.md",
|
|
22
|
+
".opencode/skills/xberg-batch-extraction/references/advanced-features.md",
|
|
23
|
+
".opencode/skills/xberg-batch-extraction/references/cli-reference.md",
|
|
24
|
+
".opencode/skills/xberg-batch-extraction/references/configuration.md",
|
|
25
|
+
".opencode/skills/xberg-batch-extraction/references/nodejs-api.md",
|
|
26
|
+
".opencode/skills/xberg-batch-extraction/references/other-bindings.md",
|
|
27
|
+
".opencode/skills/xberg-batch-extraction/references/python-api.md",
|
|
28
|
+
".opencode/skills/xberg-batch-extraction/references/rust-api.md",
|
|
29
|
+
".opencode/skills/xberg-batch-extraction/references/supported-formats.md",
|
|
30
|
+
".opencode/skills/xberg-chunking/SKILL.md",
|
|
31
|
+
".opencode/skills/xberg-chunking/index.md",
|
|
32
|
+
".opencode/skills/xberg-chunking/references/advanced-features.md",
|
|
33
|
+
".opencode/skills/xberg-chunking/references/cli-reference.md",
|
|
34
|
+
".opencode/skills/xberg-chunking/references/configuration.md",
|
|
35
|
+
".opencode/skills/xberg-chunking/references/nodejs-api.md",
|
|
36
|
+
".opencode/skills/xberg-chunking/references/other-bindings.md",
|
|
37
|
+
".opencode/skills/xberg-chunking/references/python-api.md",
|
|
38
|
+
".opencode/skills/xberg-chunking/references/rust-api.md",
|
|
39
|
+
".opencode/skills/xberg-chunking/references/supported-formats.md",
|
|
40
|
+
".opencode/skills/xberg-extracting-keywords/SKILL.md",
|
|
41
|
+
".opencode/skills/xberg-extracting-keywords/index.md",
|
|
42
|
+
".opencode/skills/xberg-extracting-keywords/references/advanced-features.md",
|
|
43
|
+
".opencode/skills/xberg-extracting-keywords/references/cli-reference.md",
|
|
44
|
+
".opencode/skills/xberg-extracting-keywords/references/configuration.md",
|
|
45
|
+
".opencode/skills/xberg-extracting-keywords/references/nodejs-api.md",
|
|
46
|
+
".opencode/skills/xberg-extracting-keywords/references/other-bindings.md",
|
|
47
|
+
".opencode/skills/xberg-extracting-keywords/references/python-api.md",
|
|
48
|
+
".opencode/skills/xberg-extracting-keywords/references/rust-api.md",
|
|
49
|
+
".opencode/skills/xberg-extracting-keywords/references/supported-formats.md",
|
|
50
|
+
".opencode/skills/xberg-extracting-tables/SKILL.md",
|
|
51
|
+
".opencode/skills/xberg-extracting-tables/index.md",
|
|
52
|
+
".opencode/skills/xberg-extracting-tables/references/advanced-features.md",
|
|
53
|
+
".opencode/skills/xberg-extracting-tables/references/cli-reference.md",
|
|
54
|
+
".opencode/skills/xberg-extracting-tables/references/configuration.md",
|
|
55
|
+
".opencode/skills/xberg-extracting-tables/references/nodejs-api.md",
|
|
56
|
+
".opencode/skills/xberg-extracting-tables/references/other-bindings.md",
|
|
57
|
+
".opencode/skills/xberg-extracting-tables/references/python-api.md",
|
|
58
|
+
".opencode/skills/xberg-extracting-tables/references/rust-api.md",
|
|
59
|
+
".opencode/skills/xberg-extracting-tables/references/supported-formats.md",
|
|
60
|
+
".opencode/skills/xberg-extracting-with-ocr/SKILL.md",
|
|
61
|
+
".opencode/skills/xberg-extracting-with-ocr/index.md",
|
|
62
|
+
".opencode/skills/xberg-extracting-with-ocr/references/advanced-features.md",
|
|
63
|
+
".opencode/skills/xberg-extracting-with-ocr/references/cli-reference.md",
|
|
64
|
+
".opencode/skills/xberg-extracting-with-ocr/references/configuration.md",
|
|
65
|
+
".opencode/skills/xberg-extracting-with-ocr/references/nodejs-api.md",
|
|
66
|
+
".opencode/skills/xberg-extracting-with-ocr/references/other-bindings.md",
|
|
67
|
+
".opencode/skills/xberg-extracting-with-ocr/references/python-api.md",
|
|
68
|
+
".opencode/skills/xberg-extracting-with-ocr/references/rust-api.md",
|
|
69
|
+
".opencode/skills/xberg-extracting-with-ocr/references/supported-formats.md",
|
|
70
|
+
".opencode/skills/xberg-picking-a-format/SKILL.md",
|
|
71
|
+
".opencode/skills/xberg-picking-a-format/index.md",
|
|
72
|
+
".opencode/skills/xberg-picking-a-format/references/advanced-features.md",
|
|
73
|
+
".opencode/skills/xberg-picking-a-format/references/cli-reference.md",
|
|
74
|
+
".opencode/skills/xberg-picking-a-format/references/configuration.md",
|
|
75
|
+
".opencode/skills/xberg-picking-a-format/references/nodejs-api.md",
|
|
76
|
+
".opencode/skills/xberg-picking-a-format/references/other-bindings.md",
|
|
77
|
+
".opencode/skills/xberg-picking-a-format/references/python-api.md",
|
|
78
|
+
".opencode/skills/xberg-picking-a-format/references/rust-api.md",
|
|
79
|
+
".opencode/skills/xberg-picking-a-format/references/supported-formats.md",
|
|
21
80
|
".opencode/skills/xberg/SKILL.md",
|
|
81
|
+
".opencode/skills/xberg/index.md",
|
|
22
82
|
".opencode/skills/xberg/references/advanced-features.md",
|
|
23
83
|
".opencode/skills/xberg/references/cli-reference.md",
|
|
24
84
|
".opencode/skills/xberg/references/configuration.md",
|
|
@@ -29,13 +89,68 @@
|
|
|
29
89
|
".opencode/skills/xberg/references/supported-formats.md",
|
|
30
90
|
".pi/prompts/xberg-extract.md",
|
|
31
91
|
".pi/prompts/xberg-ocr.md",
|
|
32
|
-
".pi/skills/batch-extraction/SKILL.md",
|
|
33
|
-
".pi/skills/
|
|
34
|
-
".pi/skills/
|
|
35
|
-
".pi/skills/
|
|
36
|
-
".pi/skills/
|
|
37
|
-
".pi/skills/
|
|
92
|
+
".pi/skills/xberg-batch-extraction/SKILL.md",
|
|
93
|
+
".pi/skills/xberg-batch-extraction/index.md",
|
|
94
|
+
".pi/skills/xberg-batch-extraction/references/advanced-features.md",
|
|
95
|
+
".pi/skills/xberg-batch-extraction/references/cli-reference.md",
|
|
96
|
+
".pi/skills/xberg-batch-extraction/references/configuration.md",
|
|
97
|
+
".pi/skills/xberg-batch-extraction/references/nodejs-api.md",
|
|
98
|
+
".pi/skills/xberg-batch-extraction/references/other-bindings.md",
|
|
99
|
+
".pi/skills/xberg-batch-extraction/references/python-api.md",
|
|
100
|
+
".pi/skills/xberg-batch-extraction/references/rust-api.md",
|
|
101
|
+
".pi/skills/xberg-batch-extraction/references/supported-formats.md",
|
|
102
|
+
".pi/skills/xberg-chunking/SKILL.md",
|
|
103
|
+
".pi/skills/xberg-chunking/index.md",
|
|
104
|
+
".pi/skills/xberg-chunking/references/advanced-features.md",
|
|
105
|
+
".pi/skills/xberg-chunking/references/cli-reference.md",
|
|
106
|
+
".pi/skills/xberg-chunking/references/configuration.md",
|
|
107
|
+
".pi/skills/xberg-chunking/references/nodejs-api.md",
|
|
108
|
+
".pi/skills/xberg-chunking/references/other-bindings.md",
|
|
109
|
+
".pi/skills/xberg-chunking/references/python-api.md",
|
|
110
|
+
".pi/skills/xberg-chunking/references/rust-api.md",
|
|
111
|
+
".pi/skills/xberg-chunking/references/supported-formats.md",
|
|
112
|
+
".pi/skills/xberg-extracting-keywords/SKILL.md",
|
|
113
|
+
".pi/skills/xberg-extracting-keywords/index.md",
|
|
114
|
+
".pi/skills/xberg-extracting-keywords/references/advanced-features.md",
|
|
115
|
+
".pi/skills/xberg-extracting-keywords/references/cli-reference.md",
|
|
116
|
+
".pi/skills/xberg-extracting-keywords/references/configuration.md",
|
|
117
|
+
".pi/skills/xberg-extracting-keywords/references/nodejs-api.md",
|
|
118
|
+
".pi/skills/xberg-extracting-keywords/references/other-bindings.md",
|
|
119
|
+
".pi/skills/xberg-extracting-keywords/references/python-api.md",
|
|
120
|
+
".pi/skills/xberg-extracting-keywords/references/rust-api.md",
|
|
121
|
+
".pi/skills/xberg-extracting-keywords/references/supported-formats.md",
|
|
122
|
+
".pi/skills/xberg-extracting-tables/SKILL.md",
|
|
123
|
+
".pi/skills/xberg-extracting-tables/index.md",
|
|
124
|
+
".pi/skills/xberg-extracting-tables/references/advanced-features.md",
|
|
125
|
+
".pi/skills/xberg-extracting-tables/references/cli-reference.md",
|
|
126
|
+
".pi/skills/xberg-extracting-tables/references/configuration.md",
|
|
127
|
+
".pi/skills/xberg-extracting-tables/references/nodejs-api.md",
|
|
128
|
+
".pi/skills/xberg-extracting-tables/references/other-bindings.md",
|
|
129
|
+
".pi/skills/xberg-extracting-tables/references/python-api.md",
|
|
130
|
+
".pi/skills/xberg-extracting-tables/references/rust-api.md",
|
|
131
|
+
".pi/skills/xberg-extracting-tables/references/supported-formats.md",
|
|
132
|
+
".pi/skills/xberg-extracting-with-ocr/SKILL.md",
|
|
133
|
+
".pi/skills/xberg-extracting-with-ocr/index.md",
|
|
134
|
+
".pi/skills/xberg-extracting-with-ocr/references/advanced-features.md",
|
|
135
|
+
".pi/skills/xberg-extracting-with-ocr/references/cli-reference.md",
|
|
136
|
+
".pi/skills/xberg-extracting-with-ocr/references/configuration.md",
|
|
137
|
+
".pi/skills/xberg-extracting-with-ocr/references/nodejs-api.md",
|
|
138
|
+
".pi/skills/xberg-extracting-with-ocr/references/other-bindings.md",
|
|
139
|
+
".pi/skills/xberg-extracting-with-ocr/references/python-api.md",
|
|
140
|
+
".pi/skills/xberg-extracting-with-ocr/references/rust-api.md",
|
|
141
|
+
".pi/skills/xberg-extracting-with-ocr/references/supported-formats.md",
|
|
142
|
+
".pi/skills/xberg-picking-a-format/SKILL.md",
|
|
143
|
+
".pi/skills/xberg-picking-a-format/index.md",
|
|
144
|
+
".pi/skills/xberg-picking-a-format/references/advanced-features.md",
|
|
145
|
+
".pi/skills/xberg-picking-a-format/references/cli-reference.md",
|
|
146
|
+
".pi/skills/xberg-picking-a-format/references/configuration.md",
|
|
147
|
+
".pi/skills/xberg-picking-a-format/references/nodejs-api.md",
|
|
148
|
+
".pi/skills/xberg-picking-a-format/references/other-bindings.md",
|
|
149
|
+
".pi/skills/xberg-picking-a-format/references/python-api.md",
|
|
150
|
+
".pi/skills/xberg-picking-a-format/references/rust-api.md",
|
|
151
|
+
".pi/skills/xberg-picking-a-format/references/supported-formats.md",
|
|
38
152
|
".pi/skills/xberg/SKILL.md",
|
|
153
|
+
".pi/skills/xberg/index.md",
|
|
39
154
|
".pi/skills/xberg/references/advanced-features.md",
|
|
40
155
|
".pi/skills/xberg/references/cli-reference.md",
|
|
41
156
|
".pi/skills/xberg/references/configuration.md",
|
|
@@ -66,12 +181,12 @@
|
|
|
66
181
|
"./.pi/prompts/xberg-ocr.md"
|
|
67
182
|
],
|
|
68
183
|
"skills": [
|
|
69
|
-
"./.pi/skills/batch-extraction",
|
|
70
|
-
"./.pi/skills/chunking",
|
|
71
|
-
"./.pi/skills/extracting-keywords",
|
|
72
|
-
"./.pi/skills/extracting-tables",
|
|
73
|
-
"./.pi/skills/extracting-with-ocr",
|
|
74
|
-
"./.pi/skills/picking-a-format",
|
|
184
|
+
"./.pi/skills/xberg-batch-extraction",
|
|
185
|
+
"./.pi/skills/xberg-chunking",
|
|
186
|
+
"./.pi/skills/xberg-extracting-keywords",
|
|
187
|
+
"./.pi/skills/xberg-extracting-tables",
|
|
188
|
+
"./.pi/skills/xberg-extracting-with-ocr",
|
|
189
|
+
"./.pi/skills/xberg-picking-a-format",
|
|
75
190
|
"./.pi/skills/xberg"
|
|
76
191
|
]
|
|
77
192
|
},
|
|
@@ -80,5 +195,5 @@
|
|
|
80
195
|
"url": "https://github.com/xberg-io/xberg"
|
|
81
196
|
},
|
|
82
197
|
"type": "module",
|
|
83
|
-
"version": "1.3.
|
|
198
|
+
"version": "1.3.11"
|
|
84
199
|
}
|
package/scripts/mcp-launch.sh
CHANGED
|
@@ -47,12 +47,13 @@ if have "$BINARY_NAME"; then
|
|
|
47
47
|
fi
|
|
48
48
|
|
|
49
49
|
if want npx && have npx; then
|
|
50
|
-
log "
|
|
50
|
+
log "resolving npx $NPM_PKG@latest ..."
|
|
51
51
|
scratch="$(mktemp -d)"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
# Resolve in an empty project, then execute the selected binary in the caller's cwd. ~keep
|
|
53
|
+
if npm_bin="$(cd "$scratch" && npx -y --package "$NPM_PKG@latest" --call "command -v ${BINARY_NAME%.exe}" 2>/dev/null)" && runnable "$npm_bin"; then
|
|
54
|
+
rm -rf "$scratch"
|
|
55
|
+
log "launching npm package binary $npm_bin"
|
|
56
|
+
exec "$npm_bin" "$@"
|
|
56
57
|
fi
|
|
57
58
|
rm -rf "$scratch"
|
|
58
59
|
log "npx $NPM_PKG not available (no CLI bin yet); falling through"
|