chron-mcp 0.1.24 → 0.1.26
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 +171 -10
- package/dashboards/logscale/README.md +3 -3
- package/dashboards/logscale/api-key-alert.lql +1 -1
- package/dashboards/logscale/chron-ai-activity.yaml +1 -1
- package/dashboards/sentinel/README.md +1 -1
- package/dashboards/sentinel/secrets-alert.kql +1 -1
- package/dashboards/sentinel/secrets-detected.kql +1 -1
- package/dashboards/splunk/README.md +1 -1
- package/dashboards/splunk/secrets-alert.spl +1 -1
- package/dashboards/splunk/secrets-detected.spl +1 -1
- package/dist/cli/index.js +1020 -30
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38479,7 +38479,7 @@ var init_time = __esm({
|
|
|
38479
38479
|
var version4;
|
|
38480
38480
|
var init_package = __esm({
|
|
38481
38481
|
"package.json"() {
|
|
38482
|
-
version4 = "0.1.
|
|
38482
|
+
version4 = "0.1.26";
|
|
38483
38483
|
}
|
|
38484
38484
|
});
|
|
38485
38485
|
|
|
@@ -39698,8 +39698,8 @@ function detectMutations(content) {
|
|
|
39698
39698
|
}
|
|
39699
39699
|
return hits;
|
|
39700
39700
|
}
|
|
39701
|
-
async function buildSummary(sessionPrefix) {
|
|
39702
|
-
const db = await initDb();
|
|
39701
|
+
async function buildSummary(sessionPrefix, existingDb) {
|
|
39702
|
+
const db = existingDb ?? await initDb();
|
|
39703
39703
|
const allSessions = await db.select().from(sessions);
|
|
39704
39704
|
const session = allSessions.find((s) => s.id.startsWith(sessionPrefix));
|
|
39705
39705
|
if (!session)
|
|
@@ -39771,7 +39771,7 @@ var init_summary = __esm({
|
|
|
39771
39771
|
// src/tools/summary.ts
|
|
39772
39772
|
function summarizeSession(_db) {
|
|
39773
39773
|
return async (args) => {
|
|
39774
|
-
const data = await buildSummary(args.session_id);
|
|
39774
|
+
const data = await buildSummary(args.session_id, _db);
|
|
39775
39775
|
if (!data) {
|
|
39776
39776
|
return {
|
|
39777
39777
|
content: [{
|