kiro-memory 1.8.1 → 2.1.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.
- package/package.json +6 -4
- package/plugin/dist/cli/contextkit.js +428 -205
- package/plugin/dist/hooks/agentSpawn.js +311 -180
- package/plugin/dist/hooks/kiro-hooks.js +299 -168
- package/plugin/dist/hooks/postToolUse.js +303 -172
- package/plugin/dist/hooks/stop.js +308 -177
- package/plugin/dist/hooks/userPromptSubmit.js +303 -172
- package/plugin/dist/index.js +303 -299
- package/plugin/dist/sdk/index.js +299 -172
- package/plugin/dist/services/search/EmbeddingService.js +88 -23
- package/plugin/dist/services/search/HybridSearch.js +190 -84
- package/plugin/dist/services/search/VectorSearch.js +128 -45
- package/plugin/dist/services/search/index.js +192 -223
- package/plugin/dist/services/sqlite/Database.js +55 -153
- package/plugin/dist/services/sqlite/Observations.js +23 -12
- package/plugin/dist/services/sqlite/Search.js +31 -19
- package/plugin/dist/services/sqlite/Sessions.js +5 -0
- package/plugin/dist/services/sqlite/index.js +113 -183
- package/plugin/dist/viewer.css +1 -0
- package/plugin/dist/viewer.html +2 -100
- package/plugin/dist/viewer.js +15 -24896
- package/plugin/dist/viewer.js.map +7 -0
- package/plugin/dist/worker-service.js +158 -5551
- package/plugin/dist/worker-service.js.map +7 -0
- package/scripts/postinstall.cjs +42 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Messaggio post-installazione Kiro Memory
|
|
4
|
+
* Eseguito automaticamente dopo npm install -g kiro-memory
|
|
5
|
+
* File .cjs per compatibilità con "type": "module" nel package.json
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Silenzioso in CI o con npm in modalità silenziosa */
|
|
9
|
+
if (process.env.CI || process.env.npm_config_loglevel === 'silent') {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { readFileSync } = require('fs');
|
|
14
|
+
const { join } = require('path');
|
|
15
|
+
|
|
16
|
+
let version = '';
|
|
17
|
+
try {
|
|
18
|
+
const pkg = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf8'));
|
|
19
|
+
version = pkg.version || '';
|
|
20
|
+
} catch { /* ignora */ }
|
|
21
|
+
|
|
22
|
+
/* Rileva supporto colori */
|
|
23
|
+
const color = !process.env.NO_COLOR && process.env.TERM !== 'dumb' && (process.stdout.isTTY || false);
|
|
24
|
+
const c = (code, text) => color ? `${code}${text}\x1b[0m` : text;
|
|
25
|
+
const BOLD = '\x1b[1m';
|
|
26
|
+
const DIM = '\x1b[2m';
|
|
27
|
+
const UND = '\x1b[4m';
|
|
28
|
+
const VIOLET = '\x1b[38;5;135m';
|
|
29
|
+
const CYAN = '\x1b[36m';
|
|
30
|
+
|
|
31
|
+
console.log('');
|
|
32
|
+
console.log(` ${c(VIOLET + BOLD, 'Kiro Memory')} ${version ? `v${version}` : ''} installed!`);
|
|
33
|
+
console.log('');
|
|
34
|
+
console.log(` ${c(DIM, 'Get started:')}`);
|
|
35
|
+
console.log(` ${c(BOLD, 'kiro-memory install')} Auto-detect editor`);
|
|
36
|
+
console.log(` ${c(BOLD, 'kiro-memory install --claude-code')} Claude Code`);
|
|
37
|
+
console.log(` ${c(BOLD, 'kiro-memory install --cursor')} Cursor`);
|
|
38
|
+
console.log(` ${c(BOLD, 'kiro-memory install --windsurf')} Windsurf`);
|
|
39
|
+
console.log('');
|
|
40
|
+
console.log(` ${c(CYAN, 'Dashboard:')} ${c(UND, 'http://localhost:3001')}`);
|
|
41
|
+
console.log(` ${c(DIM, 'Docs: ')} ${c(UND, 'https://auritidesign.it/docs/kiro-memory/')}`);
|
|
42
|
+
console.log('');
|