memory-journal-mcp 6.1.2 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -28
- package/dist/{chunk-X4SWFATC.js → chunk-BI4ZNSKA.js} +38 -24
- package/dist/{chunk-HCEWINSB.js → chunk-N6EBIDN7.js} +99 -102
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/tools-WPRY5MJ6.js +2 -0
- package/package.json +10 -1
- package/skills/github-commander/SKILL.md +151 -0
- package/skills/github-commander/config/project-config.example.md +125 -0
- package/skills/github-commander/workflows/code-quality-audit.md +80 -0
- package/skills/github-commander/workflows/full-audit.md +134 -0
- package/skills/github-commander/workflows/issue-triage.md +239 -0
- package/skills/github-commander/workflows/milestone-sprint.md +81 -0
- package/skills/github-commander/workflows/perf-audit.md +142 -0
- package/skills/github-commander/workflows/pr-review.md +123 -0
- package/skills/github-commander/workflows/security-audit.md +170 -0
- package/skills/github-commander/workflows/update-deps.md +109 -0
- package/.dockerignore +0 -139
- package/.gitattributes +0 -20
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -95
- package/.github/ISSUE_TEMPLATE/config.yml +0 -11
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -110
- package/.github/ISSUE_TEMPLATE/question.md +0 -78
- package/.github/aw/actions-lock.json +0 -14
- package/.github/copilot-instructions.md +0 -122
- package/.github/dependabot.yml +0 -93
- package/.github/pull_request_template.md +0 -135
- package/.github/workflows/README.md +0 -133
- package/.github/workflows/agentics-maintenance.yml +0 -141
- package/.github/workflows/auto-release.yml +0 -68
- package/.github/workflows/ci-health-monitor.lock.yml +0 -1121
- package/.github/workflows/ci-health-monitor.md +0 -87
- package/.github/workflows/codeql.yml +0 -41
- package/.github/workflows/dependabot-auto-merge.yml +0 -42
- package/.github/workflows/dependency-maintenance.lock.yml +0 -1182
- package/.github/workflows/dependency-maintenance.md +0 -147
- package/.github/workflows/docker-publish.yml +0 -254
- package/.github/workflows/docs-drift-detector.lock.yml +0 -1142
- package/.github/workflows/docs-drift-detector.md +0 -115
- package/.github/workflows/lint-and-test.yml +0 -60
- package/.github/workflows/publish-npm.yml +0 -85
- package/.github/workflows/secrets-scanning.yml +0 -32
- package/.github/workflows/security-update.yml +0 -127
- package/.gitleaks.toml +0 -9
- package/.prettierignore +0 -21
- package/.prettierrc +0 -33
- package/.scout-ignore +0 -12
- package/.trivyignore +0 -21
- package/CHANGELOG.md +0 -1814
- package/CODE_OF_CONDUCT.md +0 -133
- package/CONTRIBUTING.md +0 -263
- package/DOCKER_README.md +0 -331
- package/Dockerfile +0 -128
- package/SECURITY.md +0 -227
- package/UNRELEASED.md +0 -1
- package/dist/tools-T4U5A3X4.js +0 -2
- package/docker-compose.yml +0 -71
- package/docs/README.md +0 -18
- package/docs/agentic-journal-synergy.md +0 -175
- package/docs/copilot-setup.md +0 -72
- package/eslint.config.js +0 -110
- package/mcp-config-example.json +0 -21
- package/playwright.config.ts +0 -35
- package/releases/v2.1.0.md +0 -220
- package/releases/v2.2.0.md +0 -168
- package/releases/v3.0.0.md +0 -237
- package/releases/v3.1.0.md +0 -104
- package/releases/v3.1.1.md +0 -42
- package/releases/v3.1.2.md +0 -40
- package/releases/v3.1.3.md +0 -64
- package/releases/v3.1.4.md +0 -32
- package/releases/v3.1.5.md +0 -44
- package/releases/v4.0.0.md +0 -71
- package/releases/v4.1.0.md +0 -88
- package/releases/v4.2.0.md +0 -90
- package/releases/v4.3.0.md +0 -92
- package/releases/v4.3.1.md +0 -69
- package/releases/v4.4.0.md +0 -120
- package/releases/v4.4.1.md +0 -33
- package/releases/v4.4.2.md +0 -31
- package/releases/v4.5.0.md +0 -116
- package/releases/v5.0.0.md +0 -105
- package/releases/v5.0.1.md +0 -25
- package/releases/v5.1.0.md +0 -83
- package/releases/v5.1.1.md +0 -10
- package/releases/v6.0.0.md +0 -48
- package/releases/v6.0.1.md +0 -36
- package/releases/v6.1.0.md +0 -68
- package/releases/v6.1.1.md +0 -30
- package/releases/v6.1.2.md +0 -23
- package/scripts/generate-server-instructions.ts +0 -306
- package/scripts/server-instructions-function-body.ts +0 -107
- package/scripts/server-instructions-gotchas.ts +0 -45
- package/server.json +0 -42
- package/social-preview.png +0 -0
- package/src/auth/auth-context.ts +0 -78
- package/src/auth/authorization-server-discovery.ts +0 -263
- package/src/auth/errors.ts +0 -215
- package/src/auth/index.ts +0 -58
- package/src/auth/middleware.ts +0 -392
- package/src/auth/oauth-resource-server.ts +0 -170
- package/src/auth/scope-map.ts +0 -46
- package/src/auth/scopes.ts +0 -256
- package/src/auth/token-validator.ts +0 -293
- package/src/auth/transport-agnostic.ts +0 -164
- package/src/auth/types.ts +0 -372
- package/src/cli.ts +0 -279
- package/src/codemode/api-constants.ts +0 -263
- package/src/codemode/api.ts +0 -302
- package/src/codemode/auto-return.ts +0 -65
- package/src/codemode/index.ts +0 -47
- package/src/codemode/sandbox-factory.ts +0 -144
- package/src/codemode/sandbox.ts +0 -220
- package/src/codemode/security.ts +0 -155
- package/src/codemode/types.ts +0 -228
- package/src/codemode/worker-sandbox.ts +0 -277
- package/src/codemode/worker-script.ts +0 -239
- package/src/constants/icons.ts +0 -183
- package/src/constants/server-instructions.md +0 -166
- package/src/constants/server-instructions.ts +0 -514
- package/src/database/adapter-factory.ts +0 -16
- package/src/database/core/entry-columns.ts +0 -10
- package/src/database/core/interfaces.ts +0 -188
- package/src/database/core/schema.ts +0 -152
- package/src/database/sqlite-adapter/backup.ts +0 -167
- package/src/database/sqlite-adapter/entries/crud.ts +0 -233
- package/src/database/sqlite-adapter/entries/importance.ts +0 -76
- package/src/database/sqlite-adapter/entries/index.ts +0 -142
- package/src/database/sqlite-adapter/entries/search.ts +0 -294
- package/src/database/sqlite-adapter/entries/shared.ts +0 -102
- package/src/database/sqlite-adapter/entries/statistics.ts +0 -162
- package/src/database/sqlite-adapter/index.ts +0 -265
- package/src/database/sqlite-adapter/native-connection.ts +0 -301
- package/src/database/sqlite-adapter/relationships.ts +0 -70
- package/src/database/sqlite-adapter/tags.ts +0 -182
- package/src/filtering/tool-filter.ts +0 -312
- package/src/github/github-integration/client.ts +0 -114
- package/src/github/github-integration/index.ts +0 -297
- package/src/github/github-integration/insights.ts +0 -155
- package/src/github/github-integration/issues.ts +0 -213
- package/src/github/github-integration/milestones.ts +0 -262
- package/src/github/github-integration/projects.ts +0 -414
- package/src/github/github-integration/pull-requests.ts +0 -235
- package/src/github/github-integration/repository.ts +0 -110
- package/src/github/github-integration/types.ts +0 -43
- package/src/handlers/prompts/github.ts +0 -210
- package/src/handlers/prompts/index.ts +0 -97
- package/src/handlers/prompts/workflow.ts +0 -361
- package/src/handlers/resources/core/briefing/context-section.ts +0 -182
- package/src/handlers/resources/core/briefing/github-section.ts +0 -354
- package/src/handlers/resources/core/briefing/index.ts +0 -106
- package/src/handlers/resources/core/briefing/user-message.ts +0 -114
- package/src/handlers/resources/core/health.ts +0 -75
- package/src/handlers/resources/core/index.ts +0 -31
- package/src/handlers/resources/core/instructions.ts +0 -45
- package/src/handlers/resources/core/utilities.ts +0 -310
- package/src/handlers/resources/github.ts +0 -340
- package/src/handlers/resources/graph.ts +0 -218
- package/src/handlers/resources/help.ts +0 -410
- package/src/handlers/resources/index.ts +0 -143
- package/src/handlers/resources/shared.ts +0 -219
- package/src/handlers/resources/team.ts +0 -134
- package/src/handlers/resources/templates.ts +0 -334
- package/src/handlers/tools/admin.ts +0 -351
- package/src/handlers/tools/analytics.ts +0 -346
- package/src/handlers/tools/backup.ts +0 -272
- package/src/handlers/tools/codemode.ts +0 -188
- package/src/handlers/tools/core.ts +0 -359
- package/src/handlers/tools/error-fields-mixin.ts +0 -10
- package/src/handlers/tools/export.ts +0 -150
- package/src/handlers/tools/github/copilot-tools.ts +0 -72
- package/src/handlers/tools/github/helpers.ts +0 -125
- package/src/handlers/tools/github/insights-tools.ts +0 -112
- package/src/handlers/tools/github/issue-tools.ts +0 -442
- package/src/handlers/tools/github/kanban-tools.ts +0 -153
- package/src/handlers/tools/github/milestone-tools.ts +0 -371
- package/src/handlers/tools/github/mutation-tools.ts +0 -17
- package/src/handlers/tools/github/read-tools.ts +0 -302
- package/src/handlers/tools/github/schemas.ts +0 -435
- package/src/handlers/tools/github.ts +0 -39
- package/src/handlers/tools/index.ts +0 -255
- package/src/handlers/tools/relationships.ts +0 -390
- package/src/handlers/tools/schemas.ts +0 -165
- package/src/handlers/tools/search.ts +0 -448
- package/src/handlers/tools/team/admin-tools.ts +0 -164
- package/src/handlers/tools/team/analytics-tools.ts +0 -233
- package/src/handlers/tools/team/backup-tools.ts +0 -83
- package/src/handlers/tools/team/core-tools.ts +0 -197
- package/src/handlers/tools/team/export-tools.ts +0 -130
- package/src/handlers/tools/team/helpers.ts +0 -66
- package/src/handlers/tools/team/index.ts +0 -45
- package/src/handlers/tools/team/relationship-tools.ts +0 -219
- package/src/handlers/tools/team/schemas.ts +0 -558
- package/src/handlers/tools/team/search-tools.ts +0 -145
- package/src/handlers/tools/team/vector-tools.ts +0 -261
- package/src/index.ts +0 -57
- package/src/server/mcp-server.ts +0 -446
- package/src/server/registration.ts +0 -141
- package/src/server/scheduler.ts +0 -283
- package/src/transports/http/handlers.ts +0 -78
- package/src/transports/http/index.ts +0 -8
- package/src/transports/http/security.ts +0 -147
- package/src/transports/http/server/index.ts +0 -397
- package/src/transports/http/server/legacy-sse.ts +0 -87
- package/src/transports/http/server/stateful.ts +0 -222
- package/src/transports/http/server/stateless.ts +0 -42
- package/src/transports/http/types.ts +0 -132
- package/src/types/entities.ts +0 -145
- package/src/types/error-types.ts +0 -92
- package/src/types/errors.ts +0 -200
- package/src/types/filtering.ts +0 -55
- package/src/types/github.ts +0 -216
- package/src/types/index.ts +0 -348
- package/src/utils/error-helpers.ts +0 -78
- package/src/utils/errors/error-response-fields.ts +0 -29
- package/src/utils/errors/suggestions.ts +0 -94
- package/src/utils/github-helpers.ts +0 -33
- package/src/utils/logger.ts +0 -107
- package/src/utils/mcp-logger.ts +0 -155
- package/src/utils/progress-utils.ts +0 -100
- package/src/utils/query-helpers.ts +0 -78
- package/src/utils/resource-annotations.ts +0 -75
- package/src/utils/security-utils.ts +0 -198
- package/src/utils/vector-index-helpers.ts +0 -24
- package/src/vector/vector-search-manager.ts +0 -409
- package/src/version.ts +0 -15
- package/test-server/README.md +0 -193
- package/test-server/code-map.md +0 -399
- package/test-server/test-agent-experience.md +0 -213
- package/test-server/test-filter-instructions.mjs +0 -295
- package/test-server/test-instruction-levels.mjs +0 -102
- package/test-server/test-preflight.md +0 -55
- package/test-server/test-prompts.mjs +0 -185
- package/test-server/test-scheduler.mjs +0 -174
- package/test-server/test-tool-annotations.mjs +0 -115
- package/test-server/test-tools-codemode.md +0 -632
- package/test-server/test-tools-codemode2.md +0 -1218
- package/test-server/test-tools-team.md +0 -215
- package/test-server/test-tools.md +0 -429
- package/test-server/test-tools2.md +0 -361
- package/test-server/test-tools3.md +0 -396
- package/test-server/tool-reference.md +0 -231
- package/tests/README.md +0 -54
- package/tests/auth/auth-context.test.ts +0 -162
- package/tests/auth/authorization-server-discovery.test.ts +0 -265
- package/tests/auth/errors.test.ts +0 -170
- package/tests/auth/middleware.test.ts +0 -585
- package/tests/auth/oauth-resource-server.test.ts +0 -173
- package/tests/auth/scope-map.test.ts +0 -66
- package/tests/auth/scopes.test.ts +0 -347
- package/tests/auth/token-validator.test.ts +0 -271
- package/tests/codemode/api.test.ts +0 -396
- package/tests/codemode/auto-return.test.ts +0 -167
- package/tests/codemode/codemode-tool-handlers.test.ts +0 -197
- package/tests/codemode/sandbox-factory.test.ts +0 -152
- package/tests/codemode/sandbox.test.ts +0 -190
- package/tests/codemode/security.test.ts +0 -242
- package/tests/codemode/worker-sandbox.test.ts +0 -106
- package/tests/constants/icons.test.ts +0 -101
- package/tests/constants/server-instructions.test.ts +0 -514
- package/tests/database/crud-workflow-branches.test.ts +0 -418
- package/tests/database/database-branches.test.ts +0 -132
- package/tests/database/entries-auth-branches.test.ts +0 -390
- package/tests/database/native-connection.test.ts +0 -249
- package/tests/database/shared-helpers.test.ts +0 -103
- package/tests/database/sqlite-adapter.bench.ts +0 -63
- package/tests/database/sqlite-adapter.test.ts +0 -690
- package/tests/database/tags.test.ts +0 -134
- package/tests/e2e/README.md +0 -39
- package/tests/e2e/auth.spec.ts +0 -106
- package/tests/e2e/codemode-abuse.spec.ts +0 -75
- package/tests/e2e/health.spec.ts +0 -63
- package/tests/e2e/helpers.ts +0 -139
- package/tests/e2e/oauth-discovery.spec.ts +0 -102
- package/tests/e2e/oauth-scopes.spec.ts +0 -222
- package/tests/e2e/payloads-admin.spec.ts +0 -76
- package/tests/e2e/payloads-analytics.spec.ts +0 -37
- package/tests/e2e/payloads-backup-restore.spec.ts +0 -102
- package/tests/e2e/payloads-backup.spec.ts +0 -44
- package/tests/e2e/payloads-codemode-api.spec.ts +0 -131
- package/tests/e2e/payloads-codemode-readonly.spec.ts +0 -116
- package/tests/e2e/payloads-codemode.spec.ts +0 -116
- package/tests/e2e/payloads-core.spec.ts +0 -82
- package/tests/e2e/payloads-error-contracts.spec.ts +0 -159
- package/tests/e2e/payloads-export.spec.ts +0 -46
- package/tests/e2e/payloads-github-degradation.spec.ts +0 -73
- package/tests/e2e/payloads-github.spec.ts +0 -176
- package/tests/e2e/payloads-relationships.spec.ts +0 -56
- package/tests/e2e/payloads-search.spec.ts +0 -64
- package/tests/e2e/payloads-team-happy.spec.ts +0 -231
- package/tests/e2e/payloads-team.spec.ts +0 -174
- package/tests/e2e/prompts-expanded.spec.ts +0 -137
- package/tests/e2e/prompts.spec.ts +0 -62
- package/tests/e2e/protocols.spec.ts +0 -134
- package/tests/e2e/rate-limiting.spec.ts +0 -291
- package/tests/e2e/resources-briefing-env.spec.ts +0 -106
- package/tests/e2e/resources-complete.spec.ts +0 -180
- package/tests/e2e/resources-expanded.spec.ts +0 -83
- package/tests/e2e/resources-instructions-levels.spec.ts +0 -145
- package/tests/e2e/resources-templates.spec.ts +0 -123
- package/tests/e2e/resources.spec.ts +0 -103
- package/tests/e2e/scheduler.spec.ts +0 -79
- package/tests/e2e/security.spec.ts +0 -112
- package/tests/e2e/session-advanced.spec.ts +0 -152
- package/tests/e2e/sessions.spec.ts +0 -95
- package/tests/e2e/stateless.spec.ts +0 -79
- package/tests/e2e/streaming.spec.ts +0 -176
- package/tests/e2e/tool-filtering-presets.spec.ts +0 -192
- package/tests/e2e/tool-filtering.spec.ts +0 -77
- package/tests/e2e/tools.spec.ts +0 -111
- package/tests/filtering/tool-filter.test.ts +0 -314
- package/tests/github/client-issues-errors.test.ts +0 -433
- package/tests/github/github-integration-branches.test.ts +0 -490
- package/tests/github/github-integration.test.ts +0 -1015
- package/tests/github/github-managers-branches.test.ts +0 -907
- package/tests/github/pull-requests.test.ts +0 -334
- package/tests/handlers/analytics-branches.test.ts +0 -222
- package/tests/handlers/backup-branches.test.ts +0 -270
- package/tests/handlers/briefing-context-section.test.ts +0 -388
- package/tests/handlers/briefing-github-section.test.ts +0 -392
- package/tests/handlers/briefing-user-message.test.ts +0 -405
- package/tests/handlers/codemode-tools.test.ts +0 -85
- package/tests/handlers/copilot-tools.test.ts +0 -126
- package/tests/handlers/error-path-coverage.test.ts +0 -324
- package/tests/handlers/export-tools.test.ts +0 -203
- package/tests/handlers/github-resource-handlers.test.ts +0 -929
- package/tests/handlers/github-tool-handlers.test.ts +0 -1452
- package/tests/handlers/handler-error-branches.test.ts +0 -346
- package/tests/handlers/help-resource.test.ts +0 -92
- package/tests/handlers/prompt-handler-coverage.test.ts +0 -108
- package/tests/handlers/prompt-handlers.test.ts +0 -131
- package/tests/handlers/resource-handler-coverage.test.ts +0 -281
- package/tests/handlers/resource-handlers.test.ts +0 -357
- package/tests/handlers/resource-prompt-branches.test.ts +0 -495
- package/tests/handlers/search-tool-handlers.test.ts +0 -379
- package/tests/handlers/targeted-gap-closure.test.ts +0 -387
- package/tests/handlers/team-admin.test.ts +0 -291
- package/tests/handlers/team-analytics.test.ts +0 -220
- package/tests/handlers/team-core.test.ts +0 -148
- package/tests/handlers/team-data.test.ts +0 -198
- package/tests/handlers/team-relationships.test.ts +0 -271
- package/tests/handlers/team-resource-handlers.test.ts +0 -161
- package/tests/handlers/team-search.test.ts +0 -134
- package/tests/handlers/team-tool-handlers.test.ts +0 -301
- package/tests/handlers/team-vector.test.ts +0 -213
- package/tests/handlers/template-github-branches.test.ts +0 -676
- package/tests/handlers/tool-annotations.test.ts +0 -90
- package/tests/handlers/tool-handler-coverage.test.ts +0 -514
- package/tests/handlers/tool-handlers.test.ts +0 -510
- package/tests/handlers/tool-output-schemas.test.ts +0 -116
- package/tests/handlers/vector-tool-handlers.test.ts +0 -238
- package/tests/security/sql-injection.test.ts +0 -284
- package/tests/server/mcp-server.bench.ts +0 -55
- package/tests/server/mcp-server.test.ts +0 -1326
- package/tests/server/scheduler.test.ts +0 -400
- package/tests/transports/http-legacy-sse.test.ts +0 -275
- package/tests/transports/http-security.test.ts +0 -322
- package/tests/transports/http-stateful.test.ts +0 -487
- package/tests/transports/http-transport-server.test.ts +0 -301
- package/tests/transports/http-transport.test.ts +0 -771
- package/tests/utils/github-helpers.test.ts +0 -58
- package/tests/utils/logger.test.ts +0 -180
- package/tests/utils/mcp-logger.test.ts +0 -211
- package/tests/utils/progress-utils.test.ts +0 -156
- package/tests/utils/query-helpers.test.ts +0 -80
- package/tests/utils/security-utils.test.ts +0 -82
- package/tests/vector/vector-search-branches.test.ts +0 -111
- package/tests/vector/vector-search-manager.test.ts +0 -375
- package/tests/vector/vector-search.bench.ts +0 -48
- package/tsconfig.json +0 -42
- package/tsup.config.ts +0 -19
- package/vitest.config.ts +0 -25
package/mcp-config-example.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"memory-journal-mcp": {
|
|
4
|
-
"command": "docker",
|
|
5
|
-
"args": [
|
|
6
|
-
"run",
|
|
7
|
-
"--rm",
|
|
8
|
-
"-i",
|
|
9
|
-
"-v",
|
|
10
|
-
"./data:/app/data",
|
|
11
|
-
"writenotenow/memory-journal-mcp:latest"
|
|
12
|
-
],
|
|
13
|
-
"env": {
|
|
14
|
-
"DB_PATH": "/path/to/data/memory_journal.db",
|
|
15
|
-
"MEMORY_JOURNAL_MCP_TOOL_FILTER": "tool_group_name_here",
|
|
16
|
-
"GITHUB_TOKEN": "your_github_token_here",
|
|
17
|
-
"DEFAULT_PROJECT_NUMBER": "1"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
package/playwright.config.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineConfig, devices } from '@playwright/test'
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
testDir: './tests/e2e',
|
|
5
|
-
outputDir: '.test-output/playwright',
|
|
6
|
-
fullyParallel: false,
|
|
7
|
-
forbidOnly: !!process.env.CI,
|
|
8
|
-
retries: process.env.CI ? 2 : 0,
|
|
9
|
-
workers: 1,
|
|
10
|
-
reporter: 'list',
|
|
11
|
-
use: {
|
|
12
|
-
baseURL: 'http://localhost:3100',
|
|
13
|
-
trace: 'on-first-retry',
|
|
14
|
-
},
|
|
15
|
-
projects: [
|
|
16
|
-
{
|
|
17
|
-
name: 'api',
|
|
18
|
-
use: { ...devices['Desktop Chrome'] },
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
webServer: {
|
|
22
|
-
command:
|
|
23
|
-
'node dist/cli.js --transport http --port 3100 --db ./.test-output/e2e/test-e2e.db --backup-interval 1 --keep-backups 3 --vacuum-interval 2 --rebuild-index-interval 2',
|
|
24
|
-
env: {
|
|
25
|
-
...process.env,
|
|
26
|
-
// Prevent 429s during E2E runs with many client connections
|
|
27
|
-
MCP_RATE_LIMIT_MAX: '10000',
|
|
28
|
-
},
|
|
29
|
-
url: 'http://localhost:3100/health',
|
|
30
|
-
reuseExistingServer: !process.env.CI,
|
|
31
|
-
timeout: 15000,
|
|
32
|
-
stdout: 'pipe',
|
|
33
|
-
stderr: 'pipe',
|
|
34
|
-
},
|
|
35
|
-
})
|
package/releases/v2.1.0.md
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
# Memory Journal MCP v2.1.0 - GitHub Actions & Complete Type Safety
|
|
2
|
-
|
|
3
|
-
_Released: November 26, 2025_
|
|
4
|
-
|
|
5
|
-
## 🎉 Major Release Highlights
|
|
6
|
-
|
|
7
|
-
Memory Journal v2.1.0 brings comprehensive GitHub Actions integration and true Pyright strict compliance:
|
|
8
|
-
|
|
9
|
-
1. **🔧 Complete GitHub Actions Integration** - CI/CD visibility with 5 new resources
|
|
10
|
-
2. **🔗 GitHub Issues & Pull Requests** - Auto-detection and linking
|
|
11
|
-
3. **✅ True Pyright Strict Compliance** - 700+ type issues fixed, zero exclusions
|
|
12
|
-
4. **📊 Actions Visual Graph** - CI/CD narrative visualization with Mermaid diagrams
|
|
13
|
-
|
|
14
|
-
**What this means for you:**
|
|
15
|
-
|
|
16
|
-
- ✅ **CI status in context** - AI sees your build status in every conversation
|
|
17
|
-
- ✅ **Workflow debugging** - Failure analysis with `actions-failure-digest` prompt
|
|
18
|
-
- ✅ **Better IDE support** - Complete type coverage means better autocomplete
|
|
19
|
-
- ✅ **Issue/PR auto-linking** - Entries automatically linked from branch names
|
|
20
|
-
- ✅ **No breaking changes** - Simply upgrade and restart
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## 🔧 GitHub Actions Integration
|
|
25
|
-
|
|
26
|
-
### CI Status in Context Bundle
|
|
27
|
-
|
|
28
|
-
Memory Journal now automatically captures GitHub Actions workflow status:
|
|
29
|
-
|
|
30
|
-
```json
|
|
31
|
-
{
|
|
32
|
-
"ci_status": "passing",
|
|
33
|
-
"github_workflow_runs": [
|
|
34
|
-
{
|
|
35
|
-
"id": 12345678,
|
|
36
|
-
"name": "CI Tests",
|
|
37
|
-
"status": "completed",
|
|
38
|
-
"conclusion": "success"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**CI Status Values:**
|
|
45
|
-
|
|
46
|
-
- `passing` - All recent workflow runs succeeded
|
|
47
|
-
- `failing` - At least one recent workflow run failed
|
|
48
|
-
- `pending` - Workflow runs are in progress or queued
|
|
49
|
-
- `unknown` - No recent workflow runs found
|
|
50
|
-
|
|
51
|
-
### Linking Entries to Workflow Runs
|
|
52
|
-
|
|
53
|
-
```javascript
|
|
54
|
-
create_entry({
|
|
55
|
-
content: 'Fixed flaky test - mocked external API calls',
|
|
56
|
-
entry_type: 'bug_fix',
|
|
57
|
-
tags: ['ci', 'testing'],
|
|
58
|
-
workflow_run_id: 12345678,
|
|
59
|
-
workflow_name: 'CI Tests',
|
|
60
|
-
workflow_status: 'completed',
|
|
61
|
-
})
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### 5 New GitHub Actions Resources
|
|
65
|
-
|
|
66
|
-
1. **`memory://graph/actions`** - CI/CD narrative graph visualization
|
|
67
|
-
- Shows: Commits → Workflow Runs → Failures → Entries → Fixes → Deployments
|
|
68
|
-
- Query params: `?branch=X&workflow=Y&limit=15`
|
|
69
|
-
|
|
70
|
-
2. **`memory://actions/recent`** - Recent workflow runs (JSON)
|
|
71
|
-
- Query params: `?branch=X&workflow=Y&commit=SHA&pr=N&limit=10`
|
|
72
|
-
|
|
73
|
-
3. **`memory://actions/workflows/{name}/timeline`** - Workflow-specific timeline
|
|
74
|
-
- Blends: workflow runs, journal entries, PR events
|
|
75
|
-
|
|
76
|
-
4. **`memory://actions/branches/{branch}/timeline`** - Branch CI timeline
|
|
77
|
-
- Blends: workflow runs, journal entries, PR lifecycle events
|
|
78
|
-
|
|
79
|
-
5. **`memory://actions/commits/{sha}/timeline`** - Commit-specific timeline
|
|
80
|
-
- Blends: workflow runs for commit, related journal entries
|
|
81
|
-
|
|
82
|
-
### Actions Failure Digest Prompt
|
|
83
|
-
|
|
84
|
-
New prompt for comprehensive CI/CD failure analysis:
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
/actions-failure-digest days_back:7 limit:5
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
**Output includes:**
|
|
91
|
-
|
|
92
|
-
- Failing jobs summary with failed steps
|
|
93
|
-
- Linked journal entries
|
|
94
|
-
- Recent code/PR changes
|
|
95
|
-
- Previous similar failures (semantic search)
|
|
96
|
-
- Possible root causes
|
|
97
|
-
- Actionable next steps
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## 🔗 GitHub Issues & Pull Requests Integration
|
|
102
|
-
|
|
103
|
-
### Auto-Detection
|
|
104
|
-
|
|
105
|
-
Issue and PR numbers are automatically detected from branch names:
|
|
106
|
-
|
|
107
|
-
- `issue-123`, `issue/123`, `fix/issue-456`
|
|
108
|
-
- `#123` (shorthand)
|
|
109
|
-
- `/123-` or `/123/` patterns
|
|
110
|
-
|
|
111
|
-
### Manual Linking
|
|
112
|
-
|
|
113
|
-
```javascript
|
|
114
|
-
create_entry({
|
|
115
|
-
content: 'Fixed authentication bug',
|
|
116
|
-
entry_type: 'bug_fix',
|
|
117
|
-
issue_number: 123,
|
|
118
|
-
pr_number: 456,
|
|
119
|
-
})
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### 3 PR Workflow Prompts
|
|
123
|
-
|
|
124
|
-
1. **`pr-summary`** - Journal activity summary for a PR
|
|
125
|
-
2. **`code-review-prep`** - Comprehensive PR review preparation
|
|
126
|
-
3. **`pr-retrospective`** - Completed PR analysis with learnings
|
|
127
|
-
|
|
128
|
-
### 3 New Resources
|
|
129
|
-
|
|
130
|
-
1. **`memory://issues/{issue_number}/entries`** - All entries linked to an issue
|
|
131
|
-
2. **`memory://prs/{pr_number}/entries`** - All entries linked to a PR
|
|
132
|
-
3. **`memory://prs/{pr_number}/timeline`** - Combined PR + journal timeline
|
|
133
|
-
|
|
134
|
-
---
|
|
135
|
-
|
|
136
|
-
## ✅ True Pyright Strict Compliance
|
|
137
|
-
|
|
138
|
-
### What Changed
|
|
139
|
-
|
|
140
|
-
- **700+ type issues fixed** - Complete strict mode compliance
|
|
141
|
-
- **All exclusions removed** from `pyrightconfig.json`:
|
|
142
|
-
- Removed `reportMissingTypeStubs` exclusion
|
|
143
|
-
- Removed `reportUnknownVariableType` exclusion
|
|
144
|
-
- Removed `reportUnknownMemberType` exclusion
|
|
145
|
-
- Removed `reportUnknownArgumentType` exclusion
|
|
146
|
-
- Removed `reportUnknownParameterType` exclusion
|
|
147
|
-
- Removed `reportUnknownLambdaType` exclusion
|
|
148
|
-
- **All `Any` types replaced** with proper TypedDicts and explicit annotations
|
|
149
|
-
|
|
150
|
-
### Benefits
|
|
151
|
-
|
|
152
|
-
- **Type safety badge now accurate** - `Pyright-Strict` reflects true compliance
|
|
153
|
-
- **Better IDE support** - Enhanced autocomplete and error detection
|
|
154
|
-
- **Improved maintainability** - Complete type coverage catches bugs early
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## 📦 Updated Statistics
|
|
159
|
-
|
|
160
|
-
| Metric | v2.0.0 | v2.1.0 |
|
|
161
|
-
| ---------------- | --------------- | -------------------- |
|
|
162
|
-
| MCP Tools | 16 | 16 |
|
|
163
|
-
| Workflow Prompts | 11 | 14 (+3 PR + Actions) |
|
|
164
|
-
| MCP Resources | 8 | 13 (+5 Actions) |
|
|
165
|
-
| Pyright Issues | 700+ exclusions | 0 |
|
|
166
|
-
|
|
167
|
-
---
|
|
168
|
-
|
|
169
|
-
## 🔧 Database Changes
|
|
170
|
-
|
|
171
|
-
New columns added (automatic migration):
|
|
172
|
-
|
|
173
|
-
- `workflow_run_id` - GitHub Actions workflow run ID
|
|
174
|
-
- `workflow_name` - Workflow name for quick reference
|
|
175
|
-
- `workflow_status` - Workflow status (queued/in_progress/completed)
|
|
176
|
-
|
|
177
|
-
New index:
|
|
178
|
-
|
|
179
|
-
- `idx_memory_journal_workflow_run_id`
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
## 📚 Documentation Updates
|
|
184
|
-
|
|
185
|
-
- Updated all wiki pages with v2.1.0 references
|
|
186
|
-
- Added comprehensive GitHub Actions documentation
|
|
187
|
-
- Updated prompts guide with `actions-failure-digest`
|
|
188
|
-
- Updated visualization guide with `memory://graph/actions`
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## ⬆️ Upgrade Instructions
|
|
193
|
-
|
|
194
|
-
### PyPI
|
|
195
|
-
|
|
196
|
-
```bash
|
|
197
|
-
pip install --upgrade memory-journal-mcp
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### Docker
|
|
201
|
-
|
|
202
|
-
```bash
|
|
203
|
-
docker pull writenotenow/memory-journal-mcp:latest
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
**No configuration changes required!** Database migrations run automatically on startup.
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
## 🔗 Links
|
|
211
|
-
|
|
212
|
-
- **Compare Changes**: https://github.com/neverinfamous/memory-journal-mcp/compare/v2.0.1...v2.1.0
|
|
213
|
-
- **Full Changelog**: [CHANGELOG.md](../CHANGELOG.md)
|
|
214
|
-
- **Wiki**: https://github.com/neverinfamous/memory-journal-mcp/wiki
|
|
215
|
-
- **Docker Hub**: https://hub.docker.com/r/writenotenow/memory-journal-mcp
|
|
216
|
-
- **PyPI**: https://pypi.org/project/memory-journal-mcp/
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
**Built by developers, for developers.** 🚀
|
package/releases/v2.2.0.md
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
# Memory Journal MCP v2.2.0 - Tool Filtering & Token Efficiency
|
|
2
|
-
|
|
3
|
-
_Released: December 8, 2025_
|
|
4
|
-
|
|
5
|
-
## 🎉 Release Highlights
|
|
6
|
-
|
|
7
|
-
Memory Journal v2.2.0 introduces **Tool Filtering** for significant token efficiency gains:
|
|
8
|
-
|
|
9
|
-
1. **🎛️ Tool Filtering** - Reduce token usage by up to 69%
|
|
10
|
-
2. **🎨 Dark Mode Improvements** - Better contrast in Actions Visual Graph
|
|
11
|
-
3. **📊 Token Efficiency** - Concrete savings for different configurations
|
|
12
|
-
|
|
13
|
-
**What this means for you:**
|
|
14
|
-
|
|
15
|
-
- ✅ **Save tokens** - Disable unused tools to reduce context window consumption
|
|
16
|
-
- ✅ **Stay under limits** - Essential for Windsurf (100-tool limit) and constrained clients
|
|
17
|
-
- ✅ **Faster responses** - Smaller context = faster AI processing
|
|
18
|
-
- ✅ **Lower costs** - Fewer tokens = reduced API bills
|
|
19
|
-
- ✅ **No breaking changes** - All 16 tools enabled by default
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## 🎛️ Tool Filtering
|
|
24
|
-
|
|
25
|
-
### Overview
|
|
26
|
-
|
|
27
|
-
Control which tools are exposed using `MEMORY_JOURNAL_MCP_TOOL_FILTER`:
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
# Production mode - disable test tools
|
|
31
|
-
MEMORY_JOURNAL_MCP_TOOL_FILTER="-test"
|
|
32
|
-
|
|
33
|
-
# Read-only mode - prevent modifications
|
|
34
|
-
MEMORY_JOURNAL_MCP_TOOL_FILTER="-admin"
|
|
35
|
-
|
|
36
|
-
# Lightweight mode - core only (~69% token savings)
|
|
37
|
-
MEMORY_JOURNAL_MCP_TOOL_FILTER="-search,-analytics,-relationships,-export,-admin,-test"
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Token Savings
|
|
41
|
-
|
|
42
|
-
| Configuration | Filter | Tools | Token Reduction |
|
|
43
|
-
| -------------- | -------------- | ----- | --------------- |
|
|
44
|
-
| Full (default) | _(none)_ | 16 | Baseline |
|
|
45
|
-
| Production | `-test` | 14 | ~12% |
|
|
46
|
-
| Read-only | `-admin` | 14 | ~15% |
|
|
47
|
-
| Focused | `-test,-admin` | 12 | ~25% |
|
|
48
|
-
| Lightweight | (core only) | 5 | **~69%** |
|
|
49
|
-
|
|
50
|
-
### MCP Config Example
|
|
51
|
-
|
|
52
|
-
```json
|
|
53
|
-
{
|
|
54
|
-
"mcpServers": {
|
|
55
|
-
"memory-journal-mcp": {
|
|
56
|
-
"command": "memory-journal-mcp",
|
|
57
|
-
"env": {
|
|
58
|
-
"MEMORY_JOURNAL_MCP_TOOL_FILTER": "-test,-admin",
|
|
59
|
-
"GITHUB_TOKEN": "your_token"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Available Tool Groups
|
|
67
|
-
|
|
68
|
-
| Group | Tools | Description |
|
|
69
|
-
| --------------- | ----- | ---------------------------------------------------------------------------- |
|
|
70
|
-
| `core` | 5 | create_entry, search_entries, get_recent_entries, get_entry_by_id, list_tags |
|
|
71
|
-
| `search` | 2 | semantic_search, search_by_date_range |
|
|
72
|
-
| `analytics` | 2 | get_statistics, get_cross_project_insights |
|
|
73
|
-
| `relationships` | 2 | link_entries, visualize_relationships |
|
|
74
|
-
| `export` | 1 | export_entries |
|
|
75
|
-
| `admin` | 2 | update_entry, delete_entry |
|
|
76
|
-
| `test` | 2 | test_simple, create_entry_minimal |
|
|
77
|
-
|
|
78
|
-
**[Complete Tool Filtering Guide →](https://github.com/neverinfamous/memory-journal-mcp/wiki/Tool-Filtering)**
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## 🎨 Dark Mode Improvements
|
|
83
|
-
|
|
84
|
-
### Actions Visual Graph
|
|
85
|
-
|
|
86
|
-
The `memory://graph/actions` resource now uses improved colors for dark mode:
|
|
87
|
-
|
|
88
|
-
- **Medium-saturated fills** - Better visibility in both light and dark modes
|
|
89
|
-
- **Black text** - Readable on colored backgrounds
|
|
90
|
-
- **Darker strokes** - Clear node boundaries
|
|
91
|
-
- **Compact output** - Class-based Mermaid styling reduces output size
|
|
92
|
-
|
|
93
|
-
### Color Scheme
|
|
94
|
-
|
|
95
|
-
| Element | Color | Purpose |
|
|
96
|
-
| --------------- | --------- | ------------- |
|
|
97
|
-
| Commits | `#4CAF50` | Medium green |
|
|
98
|
-
| Success runs | `#66BB6A` | Lighter green |
|
|
99
|
-
| Failed runs | `#EF5350` | Medium red |
|
|
100
|
-
| Pending runs | `#FFCA28` | Amber |
|
|
101
|
-
| Journal entries | `#42A5F5` | Medium blue |
|
|
102
|
-
| Deployments | `#26A69A` | Teal |
|
|
103
|
-
| Pull requests | `#AB47BC` | Medium purple |
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
## 📦 Updated Statistics
|
|
108
|
-
|
|
109
|
-
| Metric | v2.1.0 | v2.2.0 |
|
|
110
|
-
| ---------------- | ------ | ----------------- |
|
|
111
|
-
| MCP Tools | 16 | 16 (filterable) |
|
|
112
|
-
| Workflow Prompts | 14 | 14 |
|
|
113
|
-
| MCP Resources | 13 | 13 |
|
|
114
|
-
| Token Efficiency | N/A | Up to 69% savings |
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## 🔧 Technical Details
|
|
119
|
-
|
|
120
|
-
### New Files
|
|
121
|
-
|
|
122
|
-
- `src/tool_filtering.py` - Complete filtering logic with caching
|
|
123
|
-
- `tests/test_tool_filtering.py` - 100% test coverage
|
|
124
|
-
|
|
125
|
-
### Changed Files
|
|
126
|
-
|
|
127
|
-
- `src/server.py` - Integration with filtering in `handle_list_tools()` and `handle_call_tool()`
|
|
128
|
-
- `src/constants.py` - Actions graph color constants
|
|
129
|
-
- `src/handlers/resources.py` - Dark mode color improvements, compact Mermaid output
|
|
130
|
-
|
|
131
|
-
### Environment Variable
|
|
132
|
-
|
|
133
|
-
- `MEMORY_JOURNAL_MCP_TOOL_FILTER` - Comma-separated filter rules
|
|
134
|
-
- Processed left-to-right for precise control
|
|
135
|
-
- Cached at startup for performance
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## ⬆️ Upgrade Instructions
|
|
140
|
-
|
|
141
|
-
### PyPI
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
pip install --upgrade memory-journal-mcp
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
### Docker
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
docker pull writenotenow/memory-journal-mcp:latest
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
**No configuration changes required!** All 16 tools remain enabled by default.
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## 🔗 Links
|
|
158
|
-
|
|
159
|
-
- **Compare Changes**: https://github.com/neverinfamous/memory-journal-mcp/compare/v2.1.0...v2.2.0
|
|
160
|
-
- **Full Changelog**: [CHANGELOG.md](../CHANGELOG.md)
|
|
161
|
-
- **Wiki**: https://github.com/neverinfamous/memory-journal-mcp/wiki
|
|
162
|
-
- **Tool Filtering Guide**: https://github.com/neverinfamous/memory-journal-mcp/wiki/Tool-Filtering
|
|
163
|
-
- **Docker Hub**: https://hub.docker.com/r/writenotenow/memory-journal-mcp
|
|
164
|
-
- **PyPI**: https://pypi.org/project/memory-journal-mcp/
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
**Built by developers, for developers.** 🚀
|
package/releases/v3.0.0.md
DELETED
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
# Memory Journal MCP v3.0.0 Release Notes
|
|
2
|
-
|
|
3
|
-
**Release Date:** December 28, 2025
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 🎉 Overview
|
|
8
|
-
|
|
9
|
-
Memory Journal v3.0.0 is a **complete ground-up rewrite in TypeScript**, delivering a pure JavaScript stack with zero native dependencies. This release deprecates and archives the Python codebase in favor of a modern, portable, strictly-typed implementation.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## 🚀 Highlights
|
|
14
|
-
|
|
15
|
-
### Complete TypeScript Rewrite
|
|
16
|
-
|
|
17
|
-
- **Strict Type Safety** - 100% TypeScript strict mode with zero lint errors
|
|
18
|
-
- **Pure JS Stack** - No native compilation required:
|
|
19
|
-
- `sql.js` - SQLite in pure JavaScript
|
|
20
|
-
- `vectra` - Vector similarity search without native deps
|
|
21
|
-
- `@xenova/transformers` - ML embeddings in JavaScript
|
|
22
|
-
- **Cross-Platform** - Works on Windows, macOS, Linux without binary dependencies
|
|
23
|
-
- **Faster Startup** - Lazy ML model loading for instant cold starts
|
|
24
|
-
- **MCP 2025-11-25 Compliance** - Full protocol spec compliance
|
|
25
|
-
|
|
26
|
-
### Dynamic Structured Logging
|
|
27
|
-
|
|
28
|
-
Enterprise-grade logging with RFC 5424 severity levels:
|
|
29
|
-
|
|
30
|
-
- **Centralized Logger** - All output to stderr (stdout reserved for MCP protocol)
|
|
31
|
-
- **Structured Format** - `[timestamp] [LEVEL] [MODULE] [CODE] message {context}`
|
|
32
|
-
- **Module Prefixes** - Operation-specific codes like `DB_CONNECT`, `VECTOR_SEARCH`
|
|
33
|
-
- **Debug Mode** - Enable with `DEBUG=true` environment variable
|
|
34
|
-
|
|
35
|
-
### Tool Annotations (MCP 2025-11-25)
|
|
36
|
-
|
|
37
|
-
All 27 tools now include behavioral hints:
|
|
38
|
-
|
|
39
|
-
| Hint | Purpose |
|
|
40
|
-
| ----------------- | ------------------------------- |
|
|
41
|
-
| `readOnlyHint` | Indicates read-only operations |
|
|
42
|
-
| `destructiveHint` | Warns of data modification |
|
|
43
|
-
| `idempotentHint` | Safe to retry |
|
|
44
|
-
| `openWorldHint` | External service calls (GitHub) |
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## ✨ New Features
|
|
49
|
-
|
|
50
|
-
### Backup & Restore Tools
|
|
51
|
-
|
|
52
|
-
Never lose your journal data again with the new `backup` tool group:
|
|
53
|
-
|
|
54
|
-
| Tool | Description |
|
|
55
|
-
| ---------------- | --------------------------------------------------------- |
|
|
56
|
-
| `backup_journal` | Create timestamped database backups |
|
|
57
|
-
| `list_backups` | List all available backup files |
|
|
58
|
-
| `restore_backup` | Restore from any backup (with auto-backup before restore) |
|
|
59
|
-
|
|
60
|
-
```javascript
|
|
61
|
-
// Create a named backup
|
|
62
|
-
backup_journal({ name: 'before_migration' })
|
|
63
|
-
// → { success: true, filename: "before_migration.db", sizeBytes: 524288 }
|
|
64
|
-
|
|
65
|
-
// List available backups
|
|
66
|
-
list_backups()
|
|
67
|
-
// → { backups: [...], total: 3, backupsDirectory: "~/.memory-journal/backups" }
|
|
68
|
-
|
|
69
|
-
// Restore with safety (auto-creates backup before restore)
|
|
70
|
-
restore_backup({ filename: 'before_migration.db', confirm: true })
|
|
71
|
-
// → { success: true, previousEntryCount: 50, newEntryCount: 42 }
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Server Health Resource
|
|
75
|
-
|
|
76
|
-
New `memory://health` resource provides comprehensive diagnostics:
|
|
77
|
-
|
|
78
|
-
```json
|
|
79
|
-
{
|
|
80
|
-
"database": {
|
|
81
|
-
"path": "~/.memory-journal/memory_journal.db",
|
|
82
|
-
"sizeBytes": 524288,
|
|
83
|
-
"entryCount": 150,
|
|
84
|
-
"deletedEntryCount": 5,
|
|
85
|
-
"relationshipCount": 42,
|
|
86
|
-
"tagCount": 28
|
|
87
|
-
},
|
|
88
|
-
"backups": {
|
|
89
|
-
"directory": "~/.memory-journal/backups",
|
|
90
|
-
"count": 3,
|
|
91
|
-
"lastBackup": { "filename": "...", "createdAt": "...", "sizeBytes": 524288 }
|
|
92
|
-
},
|
|
93
|
-
"vectorIndex": {
|
|
94
|
-
"available": true,
|
|
95
|
-
"indexedEntries": 150,
|
|
96
|
-
"modelName": "all-MiniLM-L6-v2"
|
|
97
|
-
},
|
|
98
|
-
"toolFilter": {
|
|
99
|
-
"active": false,
|
|
100
|
-
"enabledCount": 27,
|
|
101
|
-
"totalCount": 27
|
|
102
|
-
},
|
|
103
|
-
"timestamp": "2025-12-28T05:47:00Z"
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## 📊 Capabilities Summary
|
|
110
|
-
|
|
111
|
-
| Category | Count | Details |
|
|
112
|
-
| ---------------------- | ----- | ------------------------------------------------------------------------- |
|
|
113
|
-
| **MCP Tools** | 27 | +3 backup tools from v2.x |
|
|
114
|
-
| **Tool Groups** | 8 | core, search, analytics, relationships, export, admin, github, **backup** |
|
|
115
|
-
| **Workflow Prompts** | 14 | Standups, retros, PR workflows, CI/CD analysis |
|
|
116
|
-
| **Resources** | 14 | +1 health resource from v2.x |
|
|
117
|
-
| **Relationship Types** | 5 | relates_to, blocks, follows_up, parent_of, references |
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## 🔧 Technical Improvements
|
|
122
|
-
|
|
123
|
-
### Architecture
|
|
124
|
-
|
|
125
|
-
- **Modular File Structure** - Clean separation of concerns
|
|
126
|
-
- **Handler Pattern** - Dedicated handlers for tools, prompts, resources
|
|
127
|
-
- **Type-Safe Database Layer** - Full TypeScript types for SQLite operations
|
|
128
|
-
- **Centralized Constants** - Server instructions and configuration
|
|
129
|
-
|
|
130
|
-
### CI/CD Modernization
|
|
131
|
-
|
|
132
|
-
- **Native ARM64 Builds** - No more slow QEMU emulation
|
|
133
|
-
- **NPM Publishing** - Replaces PyPI distribution
|
|
134
|
-
- **CodeQL Analysis** - Static security analysis
|
|
135
|
-
- **Docker Scout** - Container vulnerability scanning
|
|
136
|
-
- **Dependabot Auto-Merge** - Automatic patch/minor updates
|
|
137
|
-
|
|
138
|
-
### Security
|
|
139
|
-
|
|
140
|
-
- **Input Validation** - Zod schemas for all tool parameters
|
|
141
|
-
- **Path Traversal Protection** - Backup filename validation
|
|
142
|
-
- **SQL Injection Prevention** - Parameterized queries throughout
|
|
143
|
-
- **Content Size Limits** - Configurable per field
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## ⬆️ Migration from v2.x
|
|
148
|
-
|
|
149
|
-
### Breaking Changes
|
|
150
|
-
|
|
151
|
-
- **Python Deprecated** - The Python codebase is archived at `archive/python-v2`
|
|
152
|
-
- **Installation Changed** - Now via npm instead of pip:
|
|
153
|
-
|
|
154
|
-
```bash
|
|
155
|
-
# Old (Python)
|
|
156
|
-
pip install memory-journal-mcp
|
|
157
|
-
|
|
158
|
-
# New (TypeScript)
|
|
159
|
-
npm install -g memory-journal-mcp
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
### Database Compatibility
|
|
163
|
-
|
|
164
|
-
✅ **Your existing database is fully compatible!**
|
|
165
|
-
|
|
166
|
-
The TypeScript version uses the same SQLite schema and data format. No migration needed.
|
|
167
|
-
|
|
168
|
-
### Configuration Changes
|
|
169
|
-
|
|
170
|
-
Update your MCP client configuration:
|
|
171
|
-
|
|
172
|
-
```json
|
|
173
|
-
{
|
|
174
|
-
"mcpServers": {
|
|
175
|
-
"memory-journal-mcp": {
|
|
176
|
-
"command": "memory-journal-mcp"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
Or use npx (no installation):
|
|
183
|
-
|
|
184
|
-
```json
|
|
185
|
-
{
|
|
186
|
-
"mcpServers": {
|
|
187
|
-
"memory-journal-mcp": {
|
|
188
|
-
"command": "npx",
|
|
189
|
-
"args": ["-y", "memory-journal-mcp"]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## 📦 Installation
|
|
198
|
-
|
|
199
|
-
### npm (Recommended)
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
npm install -g memory-journal-mcp
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### Docker
|
|
206
|
-
|
|
207
|
-
```bash
|
|
208
|
-
docker pull writenotenow/memory-journal-mcp:v3.0.0
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
### From Source
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
git clone https://github.com/neverinfamous/memory-journal-mcp.git
|
|
215
|
-
cd memory-journal-mcp
|
|
216
|
-
npm install
|
|
217
|
-
npm run build
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
---
|
|
221
|
-
|
|
222
|
-
## 📚 Resources
|
|
223
|
-
|
|
224
|
-
- **[GitHub Repository](https://github.com/neverinfamous/memory-journal-mcp)**
|
|
225
|
-
- **[npm Package](https://www.npmjs.com/package/memory-journal-mcp)**
|
|
226
|
-
- **[Docker Hub](https://hub.docker.com/r/writenotenow/memory-journal-mcp)**
|
|
227
|
-
- **[Documentation Wiki](https://github.com/neverinfamous/memory-journal-mcp/wiki)**
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## 🙏 Acknowledgments
|
|
232
|
-
|
|
233
|
-
Thank you to all users who provided feedback during the Python era. This TypeScript rewrite addresses the core requests for better portability, faster startup, and stricter type safety.
|
|
234
|
-
|
|
235
|
-
---
|
|
236
|
-
|
|
237
|
-
**Full Changelog:** [v2.2.5...v3.0.0](https://github.com/neverinfamous/memory-journal-mcp/compare/v2.2.5...v3.0.0)
|