mcp-event-intelligence 0.6.0 → 0.6.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1] - 2026-09-30
4
+
5
+ Patch release for post-merge v0.6 review findings.
6
+
7
+ ### Fixed
8
+
9
+ - migrate the advertised store conformance fixture to the v0.2 Pattern trigger schema;
10
+ - create a valid Pattern match before exercising wake-claim exclusion in store conformance;
11
+ - bind temporal match `completedAt` to the reached deadline for that candidate's signature instead of the latest deadline reached by the whole Pattern buffer;
12
+ - add regression coverage for multiple temporal candidates becoming due in one scheduler tick;
13
+ - harden release automation against npm registry propagation delay.
14
+
3
15
  ## [0.6.0] - 2026-09-30
4
16
 
5
17
  Breaking architecture cleanup: Pattern AST is now the single trigger model.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![CI](https://github.com/sarooo17/event-intelligence/actions/workflows/ci.yml/badge.svg)](https://github.com/sarooo17/event-intelligence/actions/workflows/ci.yml)
6
6
  [![npm](https://img.shields.io/npm/v/mcp-event-intelligence.svg)](https://www.npmjs.com/package/mcp-event-intelligence)
7
- [![MCP Registry](https://img.shields.io/badge/MCP%20Registry-v0.6.0-5b5bd6)](https://registry.modelcontextprotocol.io/?q=io.github.sarooo17%2Fevent-intelligence)
7
+ [![MCP Registry](https://img.shields.io/badge/MCP%20Registry-v0.6.1-5b5bd6)](https://registry.modelcontextprotocol.io/?q=io.github.sarooo17%2Fevent-intelligence)
8
8
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](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.
@@ -439,13 +439,13 @@ The standalone service supports manual/provider-native event ingress. It does no
439
439
  ### Docker
440
440
 
441
441
  ```bash
442
- docker build -t mcp-event-intelligence:0.6.0 .
442
+ docker build -t mcp-event-intelligence:0.6.1 .
443
443
 
444
444
  docker run --rm \
445
445
  -p 3000:3000 \
446
446
  -v mcp-event-intelligence-data:/data \
447
447
  -e SERVICE_AUTH_TOKEN="$(openssl rand -hex 32)" \
448
- mcp-event-intelligence:0.6.0
448
+ mcp-event-intelligence:0.6.1
449
449
  ```
450
450
 
451
451
  ## Optional MCP control plane
@@ -4,12 +4,12 @@ const args = process.argv.slice(2);
4
4
  const flags = new Set(args);
5
5
 
6
6
  if (flags.has('--version') || flags.has('-v')) {
7
- console.log('0.6.0');
7
+ console.log('0.6.1');
8
8
  process.exit(0);
9
9
  }
10
10
 
11
11
  if (flags.has('--help') || flags.has('-h')) {
12
- console.log(`MCP Event Intelligence v0.6
12
+ console.log(`MCP Event Intelligence v0.6.1
13
13
 
14
14
  MCP-native complex event processing for durable agents.
15
15
 
@@ -559,7 +559,9 @@ export class CompositeTriggerEngine {
559
559
  .map((item) => Date.parse(item.occurredAt))
560
560
  .filter(Number.isFinite)
561
561
  .sort((a, b) => b - a)[0] ?? evaluationNow.getTime();
562
+ const deadlineConditionId = `pattern-v2:${signature}`;
562
563
  const deadlineCompletionAt = reachedDeadlines
564
+ .filter((deadline) => deadline.conditionId === deadlineConditionId)
563
565
  .map((deadline) => Date.parse(deadline.dueAt))
564
566
  .filter(Number.isFinite)
565
567
  .sort((a, b) => b - a)[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-event-intelligence",
3
- "version": "0.6.0",
3
+ "version": "0.6.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",
@@ -28,8 +28,8 @@ export async function runStoreConformance({
28
28
 
29
29
  await check('trigger-state round trip', async () => {
30
30
  await store.putTrigger({
31
- protocolVersion: '0.1.0',
32
- schemaVersion: 'trigger.v0.1',
31
+ protocolVersion: '0.2.0',
32
+ schemaVersion: 'trigger.v0.2',
33
33
  triggerId: 'store-conf-trigger',
34
34
  version: '1',
35
35
  conditionOnly: true,
@@ -39,8 +39,10 @@ export async function runStoreConformance({
39
39
  arguments: {},
40
40
  where: [],
41
41
  }],
42
- expression: { kind: 'anyOf', refs: ['event'] },
43
- temporal: [],
42
+ pattern: {
43
+ version: '2',
44
+ root: { kind: 'event', ref: 'event' },
45
+ },
44
46
  withinMs: 60000,
45
47
  lifecycle: {
46
48
  oneShot: false,
@@ -61,10 +63,33 @@ export async function runStoreConformance({
61
63
  });
62
64
 
63
65
  await check('wake claim exclusion', async () => {
66
+ await store.appendTriggerMatch({
67
+ protocolVersion: '0.2.0',
68
+ schemaVersion: 'trigger.v0.2',
69
+ matchId: 'store-conf-match',
70
+ triggerId: 'store-conf-trigger',
71
+ triggerVersion: '1',
72
+ status: 'matched',
73
+ partitionKey: null,
74
+ openedAt: '2026-09-30T00:00:00.000Z',
75
+ expiresAt: '2026-09-30T00:01:00.000Z',
76
+ updatedAt: '2026-09-30T00:00:00.000Z',
77
+ sourceEvents: [],
78
+ semanticDecision: null,
79
+ patternState: {
80
+ version: '2',
81
+ role: 'match',
82
+ signature: 'store-conf-match',
83
+ semanticDecisions: [],
84
+ },
85
+ firedWakeId: null,
86
+ derivedEventIds: [],
87
+ });
64
88
  await store.ensureWakeDelivery({
65
89
  wakeId: 'store-conf-wake',
66
- sourceType: 'event',
67
- sourceId: 'source-1',
90
+ matchId: 'store-conf-match',
91
+ triggerId: 'store-conf-trigger',
92
+ triggerVersion: '1',
68
93
  runtime: 'conformance',
69
94
  now: '2026-09-30T00:00:00.000Z',
70
95
  });
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.6.0",
6
+ "version": "0.6.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.6.0",
16
+ "version": "0.6.1",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  },