Skip to content

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 26 Nov 21:29
· 23 commits to main since this release

Changed

  • The bridge no longer follows redirects. A reply that redirects is an error naming its HTTP
    status, so a redirect can't move a message to plain http or another server, or turn it into a
    GET.
  • The bridge answers requests from the server itself and passes none of them to the client: a
    ping gets an empty answer, and anything else, such as sampling/createMessage,
    elicitation/create or roots/list, a method-not-found error. It also removes the roots,
    sampling, elicitation and tasks capabilities from the client's initialize. Before, a
    server could ask the client's model for text, the person for input or the client for its folders.
  • Size limits: the bridge stops reading an answer past 8 MB, JSON or event stream, and drops a
    line from the client over 1 MB, each with a JSON-RPC error that says so. Before, either could
    grow until the bridge ran out of memory. Event streams are also read in one pass, so a large
    event no longer costs time in proportion to its size squared.
  • With a key from HYPERODDS_FORECAST_KEY, the bridge checks the folder for
    forecast-times.json the way it checks the key's folder, and refuses to sign through a link
    or in a folder others control. It reads that file only if it is a regular file of at most 1 MB,
    opened without following a link, and never signs further than 10 minutes ahead of the clock,
    whatever the file says. A key file must be a regular file too; a FIFO in its place no longer
    stops the bridge.
  • Errors the client sees write your home folder as ~, or $HOME inside a command to run, so
    the model never sees your user name. The server log keeps the full path.
  • The README's client entries pin the release, and say how to follow @latest instead. The README
    and SECURITY.md now say plainly what removing HYPERODDS_FORECAST_KEY from the bridge's
    environment does not do: the key stays in the client's config and in the environment the
    operating system recorded when the bridge started.
  • Releases publish in two jobs: one that checks out the tag without keeping its credentials,
    installs with --ignore-scripts, tests and packs with a read-only token, and one that publishes
    the packed package to npm with provenance and makes the GitHub release, running nothing from the
    repository. Release notes now come from the tag's own changelog entry.
  • SECURITY.md explains the zod advisory npm audit reports: it affects only tools used to build
    and test, never the published package or the extension.

Added

  • HYPERODDS_FORECAST_KEY_FILE names a key file of your own by its absolute path, so the key
    needn't pass through the environment. The bridge checks that file and its folders as it checks
    the key it makes, and never makes a key there. Setting it together with
    HYPERODDS_FORECAST_KEY, or as a relative path, is refused at startup.
  • When the client supports MCP elicitation forms, the bridge asks the person to confirm each
    odds_forecast call before it signs, showing the outcome ids, probabilities and forecaster.
    Nothing is entered without an accept. Other clients work as before.
  • The bridge signs at most 200 forecasts a session, from start to exit, and says so when a call
    would pass that. HYPERODDS_FORECAST_LIMIT changes the limit. Forecasts the server refuses
    don't count.
  • The odds_forecast description now also names market rules among the deployer-written text an
    agent must treat as data, never as instructions.

hyperodds.mcpb SHA-256: f4302a294cd2ddca1803cc9c10ba4907556be6fec9036e802da9ffb58b4c86be. To verify that GitHub Actions built it in this repository, run
gh attestation verify hyperodds.mcpb --repo usehyperodds/hyperodds-mcp.