@massa-ai/mcp-client 1.37.0 → 1.38.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/dist/config-cli.js +1335 -1316
- package/dist/index.js +19 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -114790,6 +114790,7 @@ var init_registry = __esm(() => {
|
|
|
114790
114790
|
search_analytics: { storeId: "search_analytics", identityColumn: "project_id", mutable: true },
|
|
114791
114791
|
search_events: { storeId: "search_events", identityColumn: "project_id", mutable: true },
|
|
114792
114792
|
synapse_sessions: { storeId: "synapse_sessions", identityColumn: "workspace_id", mutable: true },
|
|
114793
|
+
managed_runs: { storeId: "managed_runs", identityColumn: "project_id", mutable: true },
|
|
114793
114794
|
operation_log: { storeId: "operation_log", identityColumn: "project_id", mutable: false },
|
|
114794
114795
|
project_identity_operations: {
|
|
114795
114796
|
storeId: "project_identity_operations",
|
|
@@ -135860,6 +135861,10 @@ var init_checkpoint_store_pg = __esm(() => {
|
|
|
135860
135861
|
});
|
|
135861
135862
|
|
|
135862
135863
|
// ../../packages/core/dist/services/checkpoint/checkpoint-manager.js
|
|
135864
|
+
var exports_checkpoint_manager = {};
|
|
135865
|
+
__export(exports_checkpoint_manager, {
|
|
135866
|
+
CheckpointManager: () => CheckpointManager
|
|
135867
|
+
});
|
|
135863
135868
|
var CheckpointManager;
|
|
135864
135869
|
var init_checkpoint_manager = __esm(() => {
|
|
135865
135870
|
init_config();
|
|
@@ -144093,6 +144098,11 @@ function registerDefaultJobs(scheduler) {
|
|
|
144093
144098
|
const projectId = job.payload?.projectId ?? "default";
|
|
144094
144099
|
await observationConsolidationJob2.runOnce(projectId);
|
|
144095
144100
|
});
|
|
144101
|
+
scheduler.registerHandler("checkpoint-purge", async () => {
|
|
144102
|
+
const { CheckpointManager: CheckpointManager2 } = await Promise.resolve().then(() => (init_checkpoint_manager(), exports_checkpoint_manager));
|
|
144103
|
+
const count = CheckpointManager2.getInstance().purgeExpired();
|
|
144104
|
+
logger.info("Scheduled checkpoint purge completed", { count });
|
|
144105
|
+
});
|
|
144096
144106
|
for (const rawDef of DEFAULT_SCHEDULED_JOBS) {
|
|
144097
144107
|
const def = applySafeDefaults(rawDef);
|
|
144098
144108
|
const enabled2 = envBool2(def.enableEnvVar, def.defaultEnabled);
|
|
@@ -144154,6 +144164,15 @@ var init_scheduler_defaults = __esm(() => {
|
|
|
144154
144164
|
defaultEnabled: false,
|
|
144155
144165
|
enableEnvVar: "MASSA_AI_SCHEDULER_OBSERVATION_BRIDGE_ENABLED",
|
|
144156
144166
|
intervalEnvVar: "MASSA_AI_SCHEDULER_OBSERVATION_BRIDGE_INTERVAL_MS"
|
|
144167
|
+
},
|
|
144168
|
+
{
|
|
144169
|
+
id: "scheduled-checkpoint-purge",
|
|
144170
|
+
name: "Checkpoint Purge (clock)",
|
|
144171
|
+
jobKind: "checkpoint-purge",
|
|
144172
|
+
schedule: { type: "interval", intervalMs: ONE_HOUR },
|
|
144173
|
+
defaultEnabled: false,
|
|
144174
|
+
enableEnvVar: "MASSA_AI_SCHEDULER_CHECKPOINT_PURGE_ENABLED",
|
|
144175
|
+
intervalEnvVar: "MASSA_AI_SCHEDULER_CHECKPOINT_PURGE_INTERVAL_MS"
|
|
144157
144176
|
}
|
|
144158
144177
|
];
|
|
144159
144178
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massa-ai/mcp-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "massa-ai MCP server - Semantic code search, memory, and context compression via Model Context Protocol",
|
|
5
5
|
"author": "luizgmassa",
|
|
6
6
|
"type": "module",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"type-check": "tsc --noEmit"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@massa-ai/core": "^1.
|
|
24
|
-
"@massa-ai/shared": "^1.
|
|
23
|
+
"@massa-ai/core": "^1.38.0",
|
|
24
|
+
"@massa-ai/shared": "^1.38.0",
|
|
25
25
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|