Repository navigation
statecore-mcp 1.0.0
Major Changes
-
statecore-mcp 1.0.0.
The tool surface (
remember,recall,facts,why,forget,handoff) and the CLI (export,hook,digest) are now stable and additive-only; data files are versioned and upgrade in place; installation runs no scripts and needs only Node ≥ 22.13. See the README's "Stability" section for the exact promises and the two things deliberately left out of 1.x (embedded semantic retrieval, a resident daemon).Breaking against 0.6.x, all documented in the earlier 1.0 pre-release changesets: Node floor 22.13;
runScopeDigest({ prisma })→runScopeDigest({ db }); thefactsMCP tool returns{ groups, pending? }instead of a bare array;rememberreturns two new fields (distillation,reason) — strict-equality assertions on its return shape need updating.
Minor Changes
-
#3
1bb47f6Thanks @yul761! -statecore-mcp hook <session-start|user-prompt|stop|pre-compact>reads a Claude Code hook payload from stdin and captures the conversation into project memory (keyed, idempotent stream events) or injects the project's memory ashookSpecificOutput.additionalContext. A Claude Code plugin (plugins/claude-code, marketplaceyul761/StateCore) wires the four events and the MCP server.STATECORE_CAPTURE=offdisables capture. The embedded backend gains an optionalcapture({ text, key })method. -
#4
c885c8cThanks @yul761! - Keyless usage is now visible instead of silent.rememberreports its distillation state (scheduledordeferred, with a reason when deferred);factsincludes a top-levelpendingcount of events not yet folded into stable facts. A newstatecore-mcp digestsubcommand runs one explicit distillation pass now —{ ran: true }, or{ ran: false, reason }(no-llm,below-threshold,locked,failed) when it does not. The embedded backend gainspendingEvents()to back thefactscount.--urlmode'sfacts()output now carriesfactIdper item when the server is on contract 1.7.0 or later (a pass-through; an older server simply omits the field). -
#2
21867bcThanks @yul761! - The embedded store now runs on Node's built-innode:sqliteinstead of Prisma.- No
postinstall, no native module, no engine download:npm install --ignore-scriptsand pnpm 10's default script blocking both work. - Requires Node 22.13 or newer.
- The database file is schema-versioned (
PRAGMA user_version) and migrated in place on open; 0.6.x files open unchanged. - New
statecore-mcp export [--data <dir>] [--scope <name>]prints a JSON dump. runScopeDigest's first option is nowdb(wasprisma).createEmbeddedBackend,createHttpBackend,listScopes,resolveScopeNameare unchanged.
- No
StateCore API — contract 1.7.0
Minor Changes
- #4
c885c8cThanks @yul761! -GET /v1/memory/factsitems carry an additive-optionalfactId— the fact-registry evidence-chain id for that item, ornullwhen unmatched (contract1.7.0).attachFactIds, previously local toapps/mcp, is now exported from@statecore/coreso both the API and the embedded MCP backend join the same id from a single implementation.
Patch Changes
- Updated dependencies [
c885c8c]:- @statecore/contracts@1.5.0
- @statecore/core@1.5.0
Install: npx -y statecore-mcp@1.0.0 · Claude Code plugin: /plugin marketplace add yul761/StateCore then /plugin install statecore@statecore · Node ≥ 22.13.