Skip to content

1.0.3: mcp-server module split (slice 1) + plain-English README#52

Merged
Evilander merged 2 commits into
masterfrom
refactor/mcp-server-slice1-schemas
May 29, 2026
Merged

1.0.3: mcp-server module split (slice 1) + plain-English README#52
Evilander merged 2 commits into
masterfrom
refactor/mcp-server-slice1-schemas

Conversation

@Evilander
Copy link
Copy Markdown
Owner

Summary

Cuts 1.0.3 — a housekeeping release with no behavior change.

Refactor (slice 1 of the mcp-server/index.ts decomposition)

Extracts two self-contained groups out of the ~3,600-line god file into focused modules, re-exported from index.ts so tests/embedders importing mcp-server/index.js keep resolving unchanged:

  • tool-validation.tsVALID_SOURCES/TYPES, MAX_MEMORY_CONTENT_LENGTH, isNonEmptyText, validateMemoryContent, validateForgetSelection, admin guards, initializeEmbeddingProvider.
  • tool-schemas.ts — the nine memory_* zod tool-input schemas.

index.ts: 3,640 → 3,422 lines. Behavior-preserving.

Docs

README now opens with a short, plain-English explanation of what Audrey is for, before the technical detail.

Release

1.0.3 across all version surfaces + human-readable CHANGELOG.

Verification

typecheck / eslint / format:check / prod npm audit (0 vulns) all clean; full suite 785 passed (mcp-server 97/97).

🤖 Generated with Claude Code

Evilander and others added 2 commits May 28, 2026 23:15
First slice of decomposing the mcp-server/index.ts god file. Moves two
self-contained, behavior-preserving groups out of index.ts:

- tool-validation.ts: VALID_SOURCES/TYPES, MAX_MEMORY_CONTENT_LENGTH,
  ADMIN_TOOLS_ENV, isNonEmptyText, validateMemoryContent,
  validateForgetSelection, admin-tool guards, initializeEmbeddingProvider.
- tool-schemas.ts: the nine memory_* zod tool-input schemas.

index.ts re-exports the public surface so tests and embedders importing from
`mcp-server/index.js` keep resolving unchanged. No behavior change: typecheck,
lint, format, and the full suite (785 passed, mcp-server 97/97) stay green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Housekeeping release — no behavior change from 1.0.2.

- README opens with a plain-English "In Plain English" section explaining what
  Audrey is for in everyday language before the technical detail.
- CHANGELOG: human-readable 1.0.3 notes covering the mcp-server module split,
  the test-suite self-bootstrap, and the README.
- Bump version to 1.0.3 across package.json, package-lock.json,
  mcp-server/config.ts, and python/audrey_memory/_version.py.
- Track the released version in the release-cut idempotency / readiness tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Evilander Evilander merged commit 9f771ba into master May 29, 2026
11 checks passed
@Evilander Evilander deleted the refactor/mcp-server-slice1-schemas branch May 29, 2026 13:32
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