• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jzombie / rust-oxdock / 40161722275
88%

Build:
DEFAULT BRANCH: main
Ran 25 Oct 2026 04:29AM UTC
Jobs 1
Files 124
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Oct 2026 04:23AM UTC coverage: 84.29% (-0.3%) from 84.617%
40161722275

push

github

web-flow
feat: Add MCP tool hosting crate and CLI integration (#242)

### Added

- MCP server hosting for exported script functions (#153): `oxdock --mcp script.oxdock` serves top-level `EXPORT`ed `FUNC`s as MCP tools over stdio (rmcp, JSON-RPC). The new `oxdock-mcp` crate owns the reactor and tool table; `--mcp` is behind a `mcp` cargo feature (off by default, on with `--all-features`). Full module `EXPORT` stays deferred to #115: only single-file top-level `EXPORT FOO` / `EXPORT [FOO, BAR]` with unknown-name and duplicate validation.
- JSON projection for exported signatures: `STRING/INT/FLOAT/BOOL/LIST/MAP` plus shaped containers project to tool schemas; opaque handles (`PIPE/HANDLE/DURATION/PATH/SEMAPHORE/PERMIT`, custom types) fail fast before serving. Bare primitives are wrapped as `{"result": value}` with a matching `outputSchema`.
- Hot reload for the MCP server: the script file is re-read on change and swapped atomically, so edits take effect on the next call with no restart. Broken edits keep serving the previous generation and record the failure instead of swapping. Successful reloads emit `notifications/tools/list_changed` (advertised via the tools `listChanged` capability) so clients re-fetch instead of showing a frozen list.
- Synthesized `MCP_STATUS` tool on every MCP server: reports load generation (starts at 1, +1 per successful reload), tool list, script SHA-256, load time, and the last reload outcome. `EXPORT MCP_STATUS` is reserved and rejected.
- Live-streamed tool output: default-routed stdout/stderr flow to the MCP client while the call runs. Clients sending a progress token get progress notifications (chunk text in `message`, byte count as progress); without a token, chunks arrive as `notifications/message` log records. Streams stay attributed and ordered; the final result carries the return value.
- Script-driven background tasks for MCP tools: wrap slow steps in an `ASYNC` block and `RETURN` the task `HANDLE`, which crosses the wire a... (continued)

1604 of 2127 new or added lines in 23 files covered. (75.41%)

3 existing lines in 1 file now uncovered.

42015 of 49846 relevant lines covered (84.29%)

7214.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
271
59.43
crates/oxdock-mcp/src/server.rs
41
79.8
crates/oxdock-core/src/exec/mcp.rs
36
86.83
-5.67% crates/oxdock-core/src/exec/state.rs
28
28.21
crates/oxdock-mcp/src/lib.rs
27
75.89
crates/oxdock-mcp/src/schema.rs
21
0.0
oxdock-cli/src/mcp.rs
19
86.62
crates/oxdock-mcp/src/tools.rs
18
75.64
0.78% crates/oxdock-parser/src/parser.rs
15
93.87
-1.99% crates/plugins/oxdock-ssh-plugin/src/funcs.rs
14
92.12
-4.48% crates/plugins/oxdock-ssh-plugin/src/runtime.rs
8
87.82
0.51% crates/oxdock-core/src/exec/io.rs
8
90.43
-0.49% oxdock-cli/src/lib.rs
4
90.51
0.06% crates/oxdock-core/src/exec/args.rs
4
71.16
0.49% crates/oxdock-core/src/exec/handlers.rs
3
90.49
1.4% crates/oxdock-core/src/exec/native.rs
3
90.48
-0.02% crates/sys/oxdock-process/src/expand.rs
1
57.48
-0.19% crates/oxdock-core/src/exec/conformance.rs
1
80.49
0.05% crates/oxdock-func-macro/src/lib.rs
1
94.33
0.0% crates/oxdock-parser/src/commands.rs

Coverage Regressions

Lines Coverage ∆ File
3
90.51
0.06% crates/oxdock-core/src/exec/args.rs
Jobs
ID Job ID Ran Files Coverage
1 40161722275.1 25 Oct 2026 04:29AM UTC 124
84.29
GitHub Action Run
Source Files on build 40161722275
  • Tree
  • List 124
  • Changed 21
  • Source Changed 19
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40161722275
  • bdf579d2 on github
  • Prev Build on main (#39664822517)
  • Next Build on main (#40164550502)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc