k0ntext 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.
- package/LICENSE +21 -0
- package/README.md +623 -0
- package/bin/k0ntext.js +12 -0
- package/dist/agents/cleanup-agent.d.ts +39 -0
- package/dist/agents/cleanup-agent.d.ts.map +1 -0
- package/dist/agents/cleanup-agent.js +56 -0
- package/dist/agents/cleanup-agent.js.map +1 -0
- package/dist/agents/performance-agent.d.ts +37 -0
- package/dist/agents/performance-agent.d.ts.map +1 -0
- package/dist/agents/performance-agent.js +91 -0
- package/dist/agents/performance-agent.js.map +1 -0
- package/dist/analyzer/index.d.ts +5 -0
- package/dist/analyzer/index.d.ts.map +1 -0
- package/dist/analyzer/index.js +5 -0
- package/dist/analyzer/index.js.map +1 -0
- package/dist/analyzer/intelligent-analyzer.d.ts +111 -0
- package/dist/analyzer/intelligent-analyzer.d.ts.map +1 -0
- package/dist/analyzer/intelligent-analyzer.js +537 -0
- package/dist/analyzer/intelligent-analyzer.js.map +1 -0
- package/dist/cli/commands/cleanup.d.ts +3 -0
- package/dist/cli/commands/cleanup.d.ts.map +1 -0
- package/dist/cli/commands/cleanup.js +24 -0
- package/dist/cli/commands/cleanup.js.map +1 -0
- package/dist/cli/commands/export.d.ts +9 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +72 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/import.d.ts +9 -0
- package/dist/cli/commands/import.d.ts.map +1 -0
- package/dist/cli/commands/import.js +62 -0
- package/dist/cli/commands/import.js.map +1 -0
- package/dist/cli/commands/performance.d.ts +9 -0
- package/dist/cli/commands/performance.d.ts.map +1 -0
- package/dist/cli/commands/performance.js +36 -0
- package/dist/cli/commands/performance.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +9 -0
- package/dist/cli/commands/validate.d.ts.map +1 -0
- package/dist/cli/commands/validate.js +82 -0
- package/dist/cli/commands/validate.js.map +1 -0
- package/dist/cli/commands/watch.d.ts +9 -0
- package/dist/cli/commands/watch.d.ts.map +1 -0
- package/dist/cli/commands/watch.js +72 -0
- package/dist/cli/commands/watch.js.map +1 -0
- package/dist/cli/generate.d.ts +3 -0
- package/dist/cli/generate.d.ts.map +1 -0
- package/dist/cli/generate.js +194 -0
- package/dist/cli/generate.js.map +1 -0
- package/dist/cli/index.d.ts +9 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +448 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/sync.d.ts +26 -0
- package/dist/cli/sync.d.ts.map +1 -0
- package/dist/cli/sync.js +163 -0
- package/dist/cli/sync.js.map +1 -0
- package/dist/config/cleanup-config.d.ts +26 -0
- package/dist/config/cleanup-config.d.ts.map +1 -0
- package/dist/config/cleanup-config.js +21 -0
- package/dist/config/cleanup-config.js.map +1 -0
- package/dist/db/client.d.ts +284 -0
- package/dist/db/client.d.ts.map +1 -0
- package/dist/db/client.js +688 -0
- package/dist/db/client.js.map +1 -0
- package/dist/db/index.d.ts +6 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +6 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/schema.d.ts +41 -0
- package/dist/db/schema.d.ts.map +1 -0
- package/dist/db/schema.js +226 -0
- package/dist/db/schema.js.map +1 -0
- package/dist/embeddings/index.d.ts +5 -0
- package/dist/embeddings/index.d.ts.map +1 -0
- package/dist/embeddings/index.js +5 -0
- package/dist/embeddings/index.js.map +1 -0
- package/dist/embeddings/openrouter.d.ts +133 -0
- package/dist/embeddings/openrouter.d.ts.map +1 -0
- package/dist/embeddings/openrouter.js +455 -0
- package/dist/embeddings/openrouter.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp.d.ts +29 -0
- package/dist/mcp.d.ts.map +1 -0
- package/dist/mcp.js +257 -0
- package/dist/mcp.js.map +1 -0
- package/docs/ARCHIVE/MIGRATE_TO_NEW_REPO.md +222 -0
- package/docs/ARCHIVE/MIGRATE_TO_UNIFIED.md +220 -0
- package/docs/CLEANUP.md +76 -0
- package/docs/MCP_QUICKSTART.md +219 -0
- package/docs/QUICKSTART.md +119 -0
- package/docs/TROUBLESHOOTING.md +611 -0
- package/package.json +100 -0
- package/skills/context-optimize/SKILL.md +86 -0
- package/skills/implement/SKILL.md +150 -0
- package/skills/plan/SKILL.md +143 -0
- package/skills/research/SKILL.md +103 -0
- package/skills/validate/SKILL.md +62 -0
- package/skills/verify-docs/SKILL.md +77 -0
- package/src/agents/cleanup-agent.ts +96 -0
- package/src/agents/performance-agent.ts +117 -0
- package/src/analyzer/index.ts +10 -0
- package/src/analyzer/intelligent-analyzer.ts +640 -0
- package/src/cli/commands/cleanup.ts +26 -0
- package/src/cli/commands/export.ts +82 -0
- package/src/cli/commands/import.ts +73 -0
- package/src/cli/commands/performance.ts +40 -0
- package/src/cli/commands/validate.ts +98 -0
- package/src/cli/commands/watch.ts +83 -0
- package/src/cli/generate.ts +219 -0
- package/src/cli/index.ts +510 -0
- package/src/cli/sync.ts +194 -0
- package/src/config/cleanup-config.ts +42 -0
- package/src/db/client.ts +949 -0
- package/src/db/index.ts +19 -0
- package/src/db/schema.ts +241 -0
- package/src/embeddings/index.ts +11 -0
- package/src/embeddings/openrouter.ts +592 -0
- package/src/index.ts +57 -0
- package/src/mcp.ts +354 -0
- package/templates/AI_CONTEXT.md.template +245 -0
- package/templates/base/README.md +260 -0
- package/templates/base/RPI_WORKFLOW_PLAN.md +325 -0
- package/templates/base/agents/api-developer.md +76 -0
- package/templates/base/agents/context-engineer.md +525 -0
- package/templates/base/agents/core-architect.md +76 -0
- package/templates/base/agents/database-ops.md +76 -0
- package/templates/base/agents/deployment-ops.md +76 -0
- package/templates/base/agents/integration-hub.md +76 -0
- package/templates/base/analytics/README.md +114 -0
- package/templates/base/automation/config.json +58 -0
- package/templates/base/automation/generators/code-mapper.js +308 -0
- package/templates/base/automation/generators/index-builder.js +321 -0
- package/templates/base/automation/hooks/post-commit.sh +83 -0
- package/templates/base/automation/hooks/pre-commit.sh +103 -0
- package/templates/base/ci-templates/README.md +108 -0
- package/templates/base/ci-templates/github-actions/context-check.yml +144 -0
- package/templates/base/ci-templates/github-actions/validate-docs.yml +105 -0
- package/templates/base/commands/analytics.md +238 -0
- package/templates/base/commands/auto-sync.md +172 -0
- package/templates/base/commands/collab.md +194 -0
- package/templates/base/commands/context-optimize.md +226 -0
- package/templates/base/commands/help.md +485 -0
- package/templates/base/commands/rpi-implement.md +164 -0
- package/templates/base/commands/rpi-plan.md +147 -0
- package/templates/base/commands/rpi-research.md +145 -0
- package/templates/base/commands/session-resume.md +144 -0
- package/templates/base/commands/session-save.md +112 -0
- package/templates/base/commands/validate-all.md +77 -0
- package/templates/base/commands/verify-docs-current.md +86 -0
- package/templates/base/config/base.json +57 -0
- package/templates/base/config/environments/development.json +13 -0
- package/templates/base/config/environments/production.json +17 -0
- package/templates/base/config/environments/staging.json +13 -0
- package/templates/base/config/local.json.example +21 -0
- package/templates/base/context/.meta/generated-at.json +18 -0
- package/templates/base/context/ARCHITECTURE_SNAPSHOT.md +156 -0
- package/templates/base/context/CODE_TO_WORKFLOW_MAP.md +94 -0
- package/templates/base/context/FILE_OWNERSHIP.md +57 -0
- package/templates/base/context/INTEGRATION_POINTS.md +92 -0
- package/templates/base/context/KNOWN_GOTCHAS.md +195 -0
- package/templates/base/context/TESTING_MAP.md +95 -0
- package/templates/base/context/WORKFLOW_INDEX.md +129 -0
- package/templates/base/context/workflows/WORKFLOW_TEMPLATE.md +294 -0
- package/templates/base/indexes/agents/CAPABILITY_MATRIX.md +255 -0
- package/templates/base/indexes/agents/CATEGORY_INDEX.md +44 -0
- package/templates/base/indexes/code/CATEGORY_INDEX.md +38 -0
- package/templates/base/indexes/routing/CATEGORY_INDEX.md +39 -0
- package/templates/base/indexes/search/CATEGORY_INDEX.md +39 -0
- package/templates/base/indexes/workflows/CATEGORY_INDEX.md +38 -0
- package/templates/base/knowledge/README.md +98 -0
- package/templates/base/knowledge/sessions/README.md +88 -0
- package/templates/base/knowledge/sessions/TEMPLATE.md +150 -0
- package/templates/base/knowledge/shared/decisions/0001-adopt-context-engineering.md +144 -0
- package/templates/base/knowledge/shared/decisions/README.md +49 -0
- package/templates/base/knowledge/shared/decisions/TEMPLATE.md +123 -0
- package/templates/base/knowledge/shared/patterns/README.md +62 -0
- package/templates/base/knowledge/shared/patterns/TEMPLATE.md +120 -0
- package/templates/base/plans/PLAN_TEMPLATE.md +316 -0
- package/templates/base/plans/active/.gitkeep +0 -0
- package/templates/base/plans/completed/.gitkeep +0 -0
- package/templates/base/research/RESEARCH_TEMPLATE.md +245 -0
- package/templates/base/research/active/.gitkeep +0 -0
- package/templates/base/research/completed/.gitkeep +0 -0
- package/templates/base/schemas/agent.schema.json +141 -0
- package/templates/base/schemas/anchors.schema.json +54 -0
- package/templates/base/schemas/automation.schema.json +93 -0
- package/templates/base/schemas/command.schema.json +134 -0
- package/templates/base/schemas/hashes.schema.json +40 -0
- package/templates/base/schemas/manifest.schema.json +117 -0
- package/templates/base/schemas/plan.schema.json +136 -0
- package/templates/base/schemas/research.schema.json +115 -0
- package/templates/base/schemas/roles.schema.json +34 -0
- package/templates/base/schemas/session.schema.json +77 -0
- package/templates/base/schemas/settings.schema.json +244 -0
- package/templates/base/schemas/staleness.schema.json +53 -0
- package/templates/base/schemas/team-config.schema.json +42 -0
- package/templates/base/schemas/workflow.schema.json +126 -0
- package/templates/base/session/checkpoints/.gitkeep +2 -0
- package/templates/base/session/current/state.json +20 -0
- package/templates/base/session/history/.gitkeep +2 -0
- package/templates/base/settings.json +3 -0
- package/templates/base/standards/COMPATIBILITY.md +219 -0
- package/templates/base/standards/EXTENSION_GUIDELINES.md +280 -0
- package/templates/base/standards/QUALITY_CHECKLIST.md +211 -0
- package/templates/base/standards/README.md +66 -0
- package/templates/base/sync/anchors.json +6 -0
- package/templates/base/sync/hashes.json +6 -0
- package/templates/base/sync/staleness.json +10 -0
- package/templates/base/team/README.md +168 -0
- package/templates/base/team/config.json +79 -0
- package/templates/base/team/roles.json +145 -0
- package/templates/base/tools/bin/claude-context.js +151 -0
- package/templates/base/tools/lib/anchor-resolver.js +276 -0
- package/templates/base/tools/lib/config-loader.js +363 -0
- package/templates/base/tools/lib/detector.js +350 -0
- package/templates/base/tools/lib/diagnose.js +206 -0
- package/templates/base/tools/lib/drift-detector.js +373 -0
- package/templates/base/tools/lib/errors.js +199 -0
- package/templates/base/tools/lib/index.js +36 -0
- package/templates/base/tools/lib/init.js +192 -0
- package/templates/base/tools/lib/logger.js +230 -0
- package/templates/base/tools/lib/placeholder.js +201 -0
- package/templates/base/tools/lib/session-manager.js +354 -0
- package/templates/base/tools/lib/validate.js +521 -0
- package/templates/base/tools/package.json +49 -0
- package/templates/handlebars/aider-config.hbs +146 -0
- package/templates/handlebars/antigravity.hbs +377 -0
- package/templates/handlebars/claude.hbs +183 -0
- package/templates/handlebars/cline.hbs +62 -0
- package/templates/handlebars/continue-config.hbs +116 -0
- package/templates/handlebars/copilot.hbs +130 -0
- package/templates/handlebars/partials/gotcha-list.hbs +11 -0
- package/templates/handlebars/partials/header.hbs +3 -0
- package/templates/handlebars/partials/workflow-summary.hbs +16 -0
- package/templates/handlebars/windsurf-rules.hbs +69 -0
- package/templates/hooks/post-commit.hbs +28 -0
- package/templates/hooks/pre-commit.hbs +46 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { DEFAULT_CLEANUP_CONFIG } from '../config/cleanup-config.js';
|
|
4
|
+
|
|
5
|
+
export interface CleanupOptions {
|
|
6
|
+
dryRun?: boolean;
|
|
7
|
+
keep?: string[];
|
|
8
|
+
verbose?: boolean;
|
|
9
|
+
cwd?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface CleanupConfig {
|
|
13
|
+
/** Default dry run mode (safe mode) */
|
|
14
|
+
dryRun: boolean;
|
|
15
|
+
|
|
16
|
+
/** Default folders to keep */
|
|
17
|
+
defaultKeep: string[];
|
|
18
|
+
|
|
19
|
+
/** Verbose output by default */
|
|
20
|
+
verbose: boolean;
|
|
21
|
+
|
|
22
|
+
/** Maximum folder depth to scan */
|
|
23
|
+
maxDepth: number;
|
|
24
|
+
|
|
25
|
+
/** Timeout for folder operations in milliseconds */
|
|
26
|
+
timeout: number;
|
|
27
|
+
|
|
28
|
+
/** Default working directory */
|
|
29
|
+
cwd: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface CleanupResult {
|
|
33
|
+
scanned: number;
|
|
34
|
+
removed: string[];
|
|
35
|
+
kept: string[];
|
|
36
|
+
errors: Array<{ folder: string; error: unknown }>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class CleanupAgent {
|
|
40
|
+
private readonly KNOWN_TOOL_FOLDERS = [
|
|
41
|
+
'.cursor', '.windsurf', '.cline', '.aider',
|
|
42
|
+
'.continue', '.copilot', '.cursorrules',
|
|
43
|
+
'.ai-context', // legacy
|
|
44
|
+
'.github', '.vscode', '.idea', '.devcontainer'
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
private config: typeof DEFAULT_CLEANUP_CONFIG;
|
|
48
|
+
|
|
49
|
+
constructor(config?: Partial<typeof DEFAULT_CLEANUP_CONFIG>) {
|
|
50
|
+
this.config = { ...DEFAULT_CLEANUP_CONFIG, ...config, cwd: config?.cwd || process.cwd() };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
async cleanup(options: CleanupOptions = {}): Promise<CleanupResult> {
|
|
54
|
+
const cwd = options.cwd || this.config.cwd;
|
|
55
|
+
const entries = fs.readdirSync(cwd, { withFileTypes: true });
|
|
56
|
+
|
|
57
|
+
const toolFolders = entries
|
|
58
|
+
.filter(e => e.isDirectory() && e.name.startsWith('.'))
|
|
59
|
+
.filter(e => this.KNOWN_TOOL_FOLDERS.includes(e.name))
|
|
60
|
+
.filter(e => !options.keep?.includes(e.name) && !this.config.defaultKeep.includes(e.name));
|
|
61
|
+
|
|
62
|
+
const results: CleanupResult = {
|
|
63
|
+
scanned: toolFolders.length,
|
|
64
|
+
removed: [],
|
|
65
|
+
kept: [],
|
|
66
|
+
errors: [],
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
for (const folder of toolFolders) {
|
|
70
|
+
try {
|
|
71
|
+
const folderPath = path.join(cwd, folder.name);
|
|
72
|
+
|
|
73
|
+
if (options.dryRun || this.config.dryRun) {
|
|
74
|
+
results.removed.push(folder.name + ' (dry-run)');
|
|
75
|
+
if (options.verbose || this.config.verbose) console.log(`Would remove: ${folder.name}`);
|
|
76
|
+
} else {
|
|
77
|
+
fs.rmSync(folderPath, { recursive: true, force: true });
|
|
78
|
+
results.removed.push(folder.name);
|
|
79
|
+
if (options.verbose || this.config.verbose) console.log(`Removed: ${folder.name}`);
|
|
80
|
+
}
|
|
81
|
+
} catch (error) {
|
|
82
|
+
results.errors.push({ folder: folder.name, error });
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return results;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
async analyze(options: Omit<CleanupOptions, 'dryRun'> = {}): Promise<CleanupResult> {
|
|
90
|
+
return this.cleanup({ ...options, dryRun: true, verbose: true });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
getConfig(): typeof DEFAULT_CLEANUP_CONFIG {
|
|
94
|
+
return { ...this.config };
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Performance Monitor Agent
|
|
3
|
+
*
|
|
4
|
+
* Monitors database performance, query times, and system metrics.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import path from 'path';
|
|
8
|
+
import fs from 'fs';
|
|
9
|
+
import { DatabaseClient } from '../db/client.js';
|
|
10
|
+
|
|
11
|
+
export interface PerformanceMetrics {
|
|
12
|
+
queryCount: number;
|
|
13
|
+
avgQueryTime: number;
|
|
14
|
+
slowQueries: number;
|
|
15
|
+
databaseSize: number;
|
|
16
|
+
indexUsage: number;
|
|
17
|
+
cacheHitRate: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class PerformanceMonitorAgent {
|
|
21
|
+
private db: DatabaseClient;
|
|
22
|
+
private queryTimes: number[] = [];
|
|
23
|
+
private slowQueryThreshold = 1000; // ms
|
|
24
|
+
|
|
25
|
+
constructor(projectRoot: string) {
|
|
26
|
+
this.db = new DatabaseClient(projectRoot);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Track query execution time
|
|
31
|
+
*/
|
|
32
|
+
trackQuery(durationMs: number): void {
|
|
33
|
+
this.queryTimes.push(durationMs);
|
|
34
|
+
|
|
35
|
+
// Keep only last 100 queries
|
|
36
|
+
if (this.queryTimes.length > 100) {
|
|
37
|
+
this.queryTimes.shift();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Get current performance metrics
|
|
43
|
+
*/
|
|
44
|
+
getMetrics(): PerformanceMetrics {
|
|
45
|
+
const avgQueryTime = this.queryTimes.length > 0
|
|
46
|
+
? this.queryTimes.reduce((a, b) => a + b, 0) / this.queryTimes.length
|
|
47
|
+
: 0;
|
|
48
|
+
|
|
49
|
+
const slowQueries = this.queryTimes.filter(t => t > this.slowQueryThreshold).length;
|
|
50
|
+
|
|
51
|
+
// Get database size
|
|
52
|
+
const dbPath = path.resolve(this.db.getPath());
|
|
53
|
+
let databaseSize = 0;
|
|
54
|
+
try {
|
|
55
|
+
const stats = fs.statSync(dbPath);
|
|
56
|
+
databaseSize = stats.size;
|
|
57
|
+
} catch (error) {
|
|
58
|
+
// File doesn't exist or can't be read
|
|
59
|
+
console.error(`Warning: Could not read database size for ${dbPath}:`, error instanceof Error ? error.message : error);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return {
|
|
63
|
+
queryCount: this.queryTimes.length,
|
|
64
|
+
avgQueryTime,
|
|
65
|
+
slowQueries,
|
|
66
|
+
databaseSize,
|
|
67
|
+
indexUsage: 0, // Would need PRAGMA stats
|
|
68
|
+
cacheHitRate: 0 // Would need cache tracking
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Generate performance report
|
|
74
|
+
*/
|
|
75
|
+
generateReport(): string {
|
|
76
|
+
const metrics = this.getMetrics();
|
|
77
|
+
|
|
78
|
+
let report = 'Performance Report\n';
|
|
79
|
+
report += '==================\n\n';
|
|
80
|
+
report += `Query Count: ${metrics.queryCount}\n`;
|
|
81
|
+
report += `Avg Query Time: ${metrics.avgQueryTime.toFixed(2)}ms\n`;
|
|
82
|
+
report += `Slow Queries: ${metrics.slowQueries}\n`;
|
|
83
|
+
report += `Database Size: ${(metrics.databaseSize / 1024).toFixed(2)} KB\n\n`;
|
|
84
|
+
|
|
85
|
+
if (metrics.slowQueries > 0) {
|
|
86
|
+
report += '⚠ Warning: Slow queries detected. Consider adding indexes.\n';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return report;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Suggest optimizations
|
|
94
|
+
*/
|
|
95
|
+
suggestOptimizations(): string[] {
|
|
96
|
+
const suggestions: string[] = [];
|
|
97
|
+
const metrics = this.getMetrics();
|
|
98
|
+
|
|
99
|
+
if (metrics.avgQueryTime > 500) {
|
|
100
|
+
suggestions.push('Consider adding indexes for frequently queried columns');
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (metrics.databaseSize > 10 * 1024 * 1024) { // 10 MB
|
|
104
|
+
suggestions.push('Database is large. Consider running VACUUM to reclaim space');
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (metrics.slowQueries > 0) {
|
|
108
|
+
suggestions.push('Review slow queries and optimize with proper indexes');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return suggestions;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
close(): void {
|
|
115
|
+
this.db.close();
|
|
116
|
+
}
|
|
117
|
+
}
|