Release cortex-memory v0.1.1 (propagate credential + connect fixes)#2
Merged
Conversation
owner-identity, sealed-memory, and auth/me tests read the real ~/.cortex/config.json, so they failed on machines where cortex auth had run. Point them at an empty temp config and reset the cache between tests. Also fix an embedding-key fixture that was below the 16-char minimum.
All secrets (session key, owner EOA, encryption signature, embedding key) now resolve env then ~/.cortex/config.json through one pure synchronous resolver. Migrate arkiv-client, payload-key, embeddings, and owner-identity to delegate; the owner address now falls back to config (was env-only). Characterization tests lock the prior precedence.
The MCP cortex_act tool read the owner from USER_PRIMARY_ADDRESS only, so it failed for installers who ran cortex auth but set no env var. Resolve via resolveCredentials() (env then config) and correct the tool description to the additive extend amount. Add a config-only extend proof script that fires a real Braga extendEntity.
recall() treated a missing embeddings key as a fatal throw. Catch MissingEmbeddingKeyError and fall back to text-overlap scoring so rules and documents still recall; pure-vector observations score 0.
First-time visitors without local data see plugin install steps and the walkthrough video; the full live dashboard renders for local development.
Document that Cortex runs locally via the plugin (MCP over stdio, local mirror, your own session key) and add plugin prerequisites: bun on PATH, faucet funding, and the cortex auth config file.
The committed cortex-plugin/dist bundles were built 2026-05-28, before the credential-resolution refactor (resolveCredentials, cortex_act owner-from-config, recall keyword degradation). Marketplace installs run the default-branch dist, so every fresh installer was running pre-fix code: cortex_act failed with 'USER_PRIMARY_ADDRESS not set' even after 'cortex auth' wrote ~/.cortex/config.json. Rebuild all bundles from current source. Also route the MCP write tools' errors through formatBragaError so an unfunded session key surfaces the Braga faucet link instead of a raw revert string, and make the bun prerequisite explicit in the auth command.
The injected connector always exists in wagmi even with no wallet installed, so
connecting threw a raw ProviderNotFoundError that surfaced verbatim in the UI
('Provider not found. Version: @wagmi/core@2.22.1'). Detect whether a provider is
actually present (window.ethereum / EIP-6963 getProvider) before connecting, and
route guidance through the hook's own error channel (a thrown error from the click
handler was void-discarded and never shown). No-wallet visitors now get actionable
instructions instead of a dead button.
Rebuilds cortex-plugin/dist from src on every PR touching src/scripts and fails if the committed bundles differ — the structural cause of the stale-bundle regression.
…n update Claude Code only delivers plugin updates when the version field changes, so the 0.1.0 fix would not reach anyone who already added the marketplace. Bump marketplace + plugin manifests to 0.1.1.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps marketplace + plugin manifests to 0.1.1 so the fixes merged in #1 reach existing installs (Claude Code only delivers plugin updates on a version change). No code change beyond the version fields.