Repository navigation
Tags
Tags
fix: build the dlopen shim table from the OpenSSL archive symbols
CI failed on the first release attempt at:
error: .mooncakes/moonbitlang/async/src/tls/openssl.c is missing
The shim generator read the async package's source to learn which entry
points to expose, but `.mooncakes` is still empty at that point in a fresh
checkout: `moon update` only refreshes the registry index, and the packages
are unpacked by the `moon build` that needs the shim. Local runs never saw
it because a previous build had already populated the directory.
The table now comes from the symbols libssl.a and libcrypto.a export. The
runtime can only ask for OpenSSL symbols, so that list is a superset of
whatever it requests, and it survives a dependency upgrade that renames an
entry point. Reading the dependency source is still done when it is present,
as a cross-check only.
Verified in a clean clone with no `.mooncakes`, both with a prebuilt OpenSSL
prefix and with the download-and-compile path: static binary, TLS handshake
to a real host.
fix: read configs saved with a UTF-8 BOM and keep ad-hoc calls out of…
… the daemon
Two follow-ups from mcporter 0.17.0.
A leading byte-order mark is dropped before parsing. Windows editors write
one by default, and the JSON parser rejected it as an unexpected character,
so a perfectly valid config looked broken:
$ mcpbox config # with a BOM
mcpbox: invalid JSON: Invalid character '\u{feff}' ...
An ad-hoc server (`--http-url` / `--stdio`) no longer uses the keep-alive
service. It is defined by the current command line, not by a config file the
daemon could share, and a retained session keyed on the name `adhoc` keeps a
process alive that no config describes. Upstream made the same call in
0.16.1 (#444).
feat: document tools and add keep-alive daemon - list prints server names only; --all starts servers and shows tools - render JSDoc tool docs, parameter choices/defaults and instructions - show a terminal spinner with elapsed time during slow starts - add optional per-user daemon (-b) and stop <server|all> - ship the mcpbox skill and a daemon lifecycle integration test - bump version to 0.1.6
fix: align with upstream mcporter transport/config fixes; dump versio… …n 0.1.4 Align mcpbox with the applicable October upstream mcporter commits: - render: coerce non-finite numeric tokens (Infinity/-Infinity/NaN) as strings so tool arguments never serialise invalid JSON; JSON null is preserved in results and structured content - cli: reject non-finite, non-positive, sub-millisecond and oversized --timeout values; config filters with substring and bounded * / ? glob matching; documented literal -- argument separator - config: trim and ~-expand MCPBOX_CONFIG; resolve an explicit stdio cwd relative to the declaring config file - session: follow same-origin redirects with correct method rules (301/302 preserve non-POST, post->GET; 303 ->GET except HEAD; 307/308 preserve) so the session DELETE survives them; control Accept-Encoding so gzip responses are decoded; split SSE bodies into separate events instead of concatenating them - tests: extend the HTTP fixture (redirect, gzip, multi-event SSE, DELETE marker) and integration checks; new unit tests for coercion, timeouts, filters, cwd and null results - npmjs: document tool usage (list/call/config, schema-aware args, ad-hoc servers, transports, config files) in the package README - version 0.1.4 (moon.mod, types.mbt, npmjs/package.json); moon fmt's toolchain migration rewrites Int as Int32 throughout
Read ~/.mcpbox.json from the home directory A home-level mcpbox file sat between the project-local files and the XDG config directory, so a user-wide mcpbox.json was never picked up. Add it to the candidate list (after the XDG file would be wrong: a file the user wrote for mcpbox should win over the shared config dir) and document it.