kiro-memory 1.9.0 → 3.0.0

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.
Files changed (34) hide show
  1. package/README.md +5 -1
  2. package/package.json +5 -5
  3. package/plugin/dist/cli/contextkit.js +2611 -345
  4. package/plugin/dist/hooks/agentSpawn.js +853 -223
  5. package/plugin/dist/hooks/kiro-hooks.js +841 -211
  6. package/plugin/dist/hooks/postToolUse.js +853 -222
  7. package/plugin/dist/hooks/stop.js +850 -220
  8. package/plugin/dist/hooks/userPromptSubmit.js +848 -216
  9. package/plugin/dist/index.js +843 -340
  10. package/plugin/dist/plugins/github/github-client.js +152 -0
  11. package/plugin/dist/plugins/github/index.js +412 -0
  12. package/plugin/dist/plugins/github/issue-parser.js +54 -0
  13. package/plugin/dist/plugins/slack/formatter.js +90 -0
  14. package/plugin/dist/plugins/slack/index.js +215 -0
  15. package/plugin/dist/sdk/index.js +841 -215
  16. package/plugin/dist/servers/mcp-server.js +4461 -397
  17. package/plugin/dist/services/search/EmbeddingService.js +146 -37
  18. package/plugin/dist/services/search/HybridSearch.js +564 -116
  19. package/plugin/dist/services/search/VectorSearch.js +187 -60
  20. package/plugin/dist/services/search/index.js +565 -254
  21. package/plugin/dist/services/sqlite/Backup.js +416 -0
  22. package/plugin/dist/services/sqlite/Database.js +126 -153
  23. package/plugin/dist/services/sqlite/ImportExport.js +452 -0
  24. package/plugin/dist/services/sqlite/Observations.js +314 -19
  25. package/plugin/dist/services/sqlite/Prompts.js +1 -1
  26. package/plugin/dist/services/sqlite/Search.js +41 -29
  27. package/plugin/dist/services/sqlite/Summaries.js +4 -4
  28. package/plugin/dist/services/sqlite/index.js +1428 -208
  29. package/plugin/dist/viewer.css +1 -0
  30. package/plugin/dist/viewer.html +2 -179
  31. package/plugin/dist/viewer.js +23 -24942
  32. package/plugin/dist/viewer.js.map +7 -0
  33. package/plugin/dist/worker-service.js +427 -5569
  34. package/plugin/dist/worker-service.js.map +7 -0
package/README.md CHANGED
@@ -59,6 +59,10 @@ When a new session starts, Kiro Memory automatically injects previous session co
59
59
  - **Session Tracking** -- Sessions view with stats (total, active, completed, avg duration) and expandable session details
60
60
  - **Session Summaries** -- Structured summaries with investigated/completed/learned/next_steps sections
61
61
  - **Web Dashboard** -- Real-time viewer at `http://localhost:3001` with dark/light/system theme, hybrid search, project filters, mobile drawer, and live updates via SSE
62
+ - **Plugin System** -- Extensible architecture with auto-discovery, lifecycle management, REST API. Built-in Slack and GitHub plugins
63
+ - **Backup & Restore** -- Automatic SQLite backup with rotation, point-in-time restore, gzip compression
64
+ - **Import/Export JSONL** -- Streaming import/export with SHA256 deduplication for portable backups
65
+ - **Secret Filtering** -- Automatic redaction of API keys, passwords, and tokens in observations
62
66
  - **MCP Server** -- 11 tools exposed via Model Context Protocol
63
67
  - **Full-Text Search** -- SQLite FTS5 with weighted BM25 scoring for relevance-ranked results
64
68
  - **Data Export** -- Export observations and summaries in JSON or Markdown format
@@ -112,7 +116,7 @@ For editors without hook support, Kiro Memory uses **rules files** + **MCP serve
112
116
  - **Windsurf**: `.windsurfrules` + MCP config in `~/.codeium/windsurf/mcp_config.json`
113
117
  - **Cline**: `.clinerules` + MCP config in Cline settings
114
118
 
115
- The MCP server exposes 10 tools that your AI assistant can use directly.
119
+ The MCP server exposes 11 tools that your AI assistant can use directly.
116
120
 
117
121
  ## Architecture
118
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiro-memory",
3
- "version": "1.9.0",
3
+ "version": "3.0.0",
4
4
  "description": "Persistent cross-session memory for AI coding assistants. Works with Claude Code, Cursor, Windsurf, Cline, and any MCP-compatible editor.",
5
5
  "keywords": [
6
6
  "kiro",
@@ -54,6 +54,7 @@
54
54
  "scripts": {
55
55
  "dev": "npm run build-and-sync",
56
56
  "build": "node scripts/build-plugin.js",
57
+ "typecheck": "tsc --noEmit",
57
58
  "build-and-sync": "npm run build && npm run sync-kiro && npm run worker:restart",
58
59
  "sync-kiro": "node scripts/sync-kiro.cjs",
59
60
  "sync-kiro:force": "node scripts/sync-kiro.cjs --force",
@@ -90,15 +91,13 @@
90
91
  "2fa": false
91
92
  },
92
93
  "dependencies": {
93
- "@chroma-core/default-embed": "^0.1.9",
94
94
  "@modelcontextprotocol/sdk": "^1.0.0",
95
95
  "ansi-to-html": "^0.7.2",
96
96
  "better-sqlite3": "^12.6.2",
97
- "chromadb": "^3.2.2",
98
97
  "class-variance-authority": "^0.7.1",
99
98
  "cors": "^2.8.5",
100
99
  "dompurify": "^3.3.1",
101
- "express": "^4.18.2",
100
+ "express": "^5.2.1",
102
101
  "express-rate-limit": "^8.2.1",
103
102
  "glob": "^11.0.3",
104
103
  "handlebars": "^4.7.8",
@@ -117,7 +116,7 @@
117
116
  "@types/better-sqlite3": "^7.6.13",
118
117
  "@types/cors": "^2.8.19",
119
118
  "@types/dompurify": "^3.0.5",
120
- "@types/express": "^4.17.21",
119
+ "@types/express": "^5.0.6",
121
120
  "@types/express-rate-limit": "^5.1.3",
122
121
  "@types/node": "^20.0.0",
123
122
  "@types/react": "^18.3.5",
@@ -125,6 +124,7 @@
125
124
  "bun-types": "^1.0.0",
126
125
  "esbuild": "^0.27.2",
127
126
  "np": "^11.0.2",
127
+ "tailwindcss": "^3.4.19",
128
128
  "tsx": "^4.20.6",
129
129
  "typescript": "^5.3.0"
130
130
  }