Skip to content

Commit 42dd3e5

Browse files
sgx-labsclaude
andcommitted
Bump to 0.7.2, enrich npm README for MCP directory listings
The npm README is used by mcp.so and other directories as the package overview. Updated with full product description, 12-tool table, privacy model, and install instructions. Synced Makefile + npm version to 0.7.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3ffa0fa commit 42dd3e5

3 files changed

Lines changed: 61 additions & 14 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BINARY_NAME := same
22
BUILD_DIR := build
3-
VERSION := 0.7.0
3+
VERSION := 0.7.2
44
LDFLAGS := -ldflags "-s -w -X main.Version=$(VERSION)"
55

66
# CGO is required for sqlite3 + sqlite-vec

npm/README.md

Lines changed: 59 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,38 @@
1-
# @sgx-labs/same
1+
# SAME — Stateless Agent Memory Engine
22

3-
NPM wrapper for [SAME (Stateless Agent Memory Engine)](https://github.com/sgx-labs/statelessagent) — persistent memory for AI coding agents.
3+
Persistent memory for AI coding agents. Local-first, private, no cloud.
44

5-
This package downloads the prebuilt SAME binary for your platform at install time. No Go toolchain required.
5+
Your AI agent forgets everything between sessions. SAME fixes that. It indexes your project notes locally, captures decisions as you work, and surfaces relevant context at session start. A 6-gate relevance chain decides when to inject context and when to stay quiet — about 80% of prompts get no injection at all.
6+
7+
## What it does
8+
9+
- **Semantic search** over your markdown notes via local Ollama embeddings (falls back to keyword search without Ollama)
10+
- **Federated search** across multiple registered vaults
11+
- **Session handoffs** — your agent writes what it did, the next session picks up where it left off
12+
- **Decision log** — decisions are saved and surfaced automatically in future sessions
13+
- **`same ask`** — RAG chat over your vault with source citations
14+
- **`same demo`** — try it in 60 seconds, creates a sandbox, cleans up after
15+
16+
## 12 MCP Tools
17+
18+
| Tool | Type | Description |
19+
|------|------|-------------|
20+
| `search_notes` | read | Semantic + keyword search across your vault |
21+
| `search_notes_filtered` | read | Search with domain, workstream, and tag filters |
22+
| `search_across_vaults` | read | Federated search across multiple vaults |
23+
| `find_similar_notes` | read | Find notes related to a given note |
24+
| `get_note` | read | Read full note content |
25+
| `get_session_context` | read | Pinned notes, latest handoff, recent decisions |
26+
| `recent_activity` | read | Recently modified notes |
27+
| `index_stats` | read | Vault health and index statistics |
28+
| `reindex` | read | Re-scan and re-index notes |
29+
| `save_note` | write | Create or update a note in the vault |
30+
| `save_decision` | write | Log a project decision |
31+
| `create_handoff` | write | Create a session handoff note |
632

733
## MCP Configuration
834

9-
Add to your MCP client config (Claude Desktop, Cursor, etc.):
35+
Add to your MCP client config (Claude Code, Cursor, Windsurf, Claude Desktop):
1036

1137
```json
1238
{
@@ -19,22 +45,38 @@ Add to your MCP client config (Claude Desktop, Cursor, etc.):
1945
}
2046
```
2147

48+
## Install
49+
50+
```bash
51+
# Via npm/npx (downloads the Go binary automatically)
52+
npx -y @sgx-labs/same version
53+
54+
# Or via shell script
55+
curl -fsSL https://statelessagent.com/install.sh | bash
56+
```
57+
2258
## CLI Usage
2359

2460
```bash
2561
# Initialize SAME in your project
26-
npx @sgx-labs/same init
62+
same init
2763

2864
# Search your notes
29-
npx @sgx-labs/same search "authentication approach"
65+
same search "authentication approach"
3066

3167
# Ask a question with cited answers
32-
npx @sgx-labs/same ask "what did we decide about the database schema?"
68+
same ask "what did we decide about the database schema?"
3369

34-
# Check version
35-
npx @sgx-labs/same version
70+
# Try the interactive demo
71+
same demo
3672
```
3773

74+
## Privacy
75+
76+
- ~10MB Go binary. SQLite + Ollama on localhost.
77+
- Zero outbound network calls. No telemetry. No analytics. No accounts. No API keys.
78+
- Your notes never leave your machine.
79+
3880
## Platform Support
3981

4082
| Platform | Architecture | Status |
@@ -46,6 +88,11 @@ npx @sgx-labs/same version
4688

4789
## Links
4890

49-
- [Main repository](https://github.com/sgx-labs/statelessagent)
50-
- [Documentation](https://github.com/sgx-labs/statelessagent#readme)
51-
- [Releases](https://github.com/sgx-labs/statelessagent/releases)
91+
- [Website](https://statelessagent.com)
92+
- [Documentation](https://statelessagent.com/docs)
93+
- [GitHub](https://github.com/sgx-labs/statelessagent)
94+
- [Discord](https://discord.gg/9KfTkcGs7g)
95+
96+
## License
97+
98+
BSL 1.1 — converts to Apache 2.0 on 2030-02-02.

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sgx-labs/same",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"description": "Persistent memory for AI coding agents. Local-first, SQLite + vector search. MCP server with 12 tools.",
55
"homepage": "https://statelessagent.com",
66
"repository": {

0 commit comments

Comments
 (0)