Skip to content

Release cortex-memory v0.1.1 (propagate credential + connect fixes)#2

Merged
LingSiewWin merged 11 commits into
mainfrom
plugin-first-pivot
Jun 9, 2026
Merged

Release cortex-memory v0.1.1 (propagate credential + connect fixes)#2
LingSiewWin merged 11 commits into
mainfrom
plugin-first-pivot

Conversation

@LingSiewWin

Copy link
Copy Markdown
Owner

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.

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.
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cortex-arkiv Building Building Preview, Comment Jun 9, 2026 8:02am

@LingSiewWin LingSiewWin merged commit 27285c8 into main Jun 9, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant