mcp-event-intelligence 0.7.0 → 0.7.1
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/scripts/host-integration.mjs +24 -2
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.1] - 2026-10-04
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- serialize and coalesce concurrent host MCP registry refreshes so an embedded runtime cannot observe a half-attached Events connection while `events/list` is still in flight;
|
|
8
|
+
- add a regression test for the subscribe + explicit-refresh race found while integrating Artemis.
|
|
9
|
+
|
|
3
10
|
## [0.7.0] - 2026-10-04
|
|
4
11
|
|
|
5
12
|
Embedded-host integration release.
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/sarooo17/event-intelligence/actions/workflows/ci.yml)
|
|
6
6
|
[](https://www.npmjs.com/package/mcp-event-intelligence)
|
|
7
|
-
[](https://registry.modelcontextprotocol.io/?q=io.github.sarooo17%2Fevent-intelligence)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
10
|
MCP Event Intelligence is an experimental event runtime for agents that need to react to **future conditions over multiple event sources** without keeping an LLM or agent loop alive.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-event-intelligence",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "MCP-native complex event processing for durable agent workflows: event-time patterns, semantic predicates, derived events, and targeted wakeups.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -144,8 +144,10 @@ export async function createEventIntelligenceHost({
|
|
|
144
144
|
|
|
145
145
|
const registryManaged = new Set();
|
|
146
146
|
let unsubscribe = null;
|
|
147
|
+
let registryRefreshPromise = null;
|
|
148
|
+
let registryRefreshRequested = false;
|
|
147
149
|
|
|
148
|
-
const
|
|
150
|
+
const refreshMcpRegistryOnce = async () => {
|
|
149
151
|
const entries = await listRegistryConnections(mcpRegistry);
|
|
150
152
|
const desired = new Map();
|
|
151
153
|
|
|
@@ -213,6 +215,26 @@ export async function createEventIntelligenceHost({
|
|
|
213
215
|
return outcomes;
|
|
214
216
|
};
|
|
215
217
|
|
|
218
|
+
const refreshMcpRegistry = () => {
|
|
219
|
+
if (registryRefreshPromise) {
|
|
220
|
+
registryRefreshRequested = true;
|
|
221
|
+
return registryRefreshPromise;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
registryRefreshPromise = (async () => {
|
|
225
|
+
const outcomes = [];
|
|
226
|
+
do {
|
|
227
|
+
registryRefreshRequested = false;
|
|
228
|
+
outcomes.push(...await refreshMcpRegistryOnce());
|
|
229
|
+
} while (registryRefreshRequested);
|
|
230
|
+
return outcomes;
|
|
231
|
+
})().finally(() => {
|
|
232
|
+
registryRefreshPromise = null;
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
return registryRefreshPromise;
|
|
236
|
+
};
|
|
237
|
+
|
|
216
238
|
if (mcpRegistry) {
|
|
217
239
|
await refreshMcpRegistry();
|
|
218
240
|
|
|
@@ -297,4 +319,4 @@ export {
|
|
|
297
319
|
describeStoreCapabilities,
|
|
298
320
|
PersistentEventStore,
|
|
299
321
|
validateSharedStoreCapabilities,
|
|
300
|
-
};
|
|
322
|
+
};
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.sarooo17/event-intelligence",
|
|
4
4
|
"title": "MCP Event Intelligence",
|
|
5
5
|
"description": "MCP-native CEP for durable agents: event-time patterns, semantic predicates, derived events.",
|
|
6
|
-
"version": "0.7.
|
|
6
|
+
"version": "0.7.1",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/sarooo17/event-intelligence",
|
|
9
9
|
"source": "github"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
15
15
|
"identifier": "mcp-event-intelligence",
|
|
16
|
-
"version": "0.7.
|
|
16
|
+
"version": "0.7.1",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
},
|