You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6a36cac
Browse filesBrowse the repository at this point in the historyBrowse files
fix(everything): event store rejects an unknown id; kebab-case module name
Copilot round 1 on #5006:
- replayEventsAfter throws for an unknown event id instead of returning
undefined through a cast: getStreamIdForEventId is the SDK's path for an
unknown id, so reaching replay with one is a caller error.
- The event store module and its test become in-memory-event-store.ts, per
the everything package's kebab-case file names, and both open with a
purpose header.
- The unknown-session POST table covers a batch body (null id).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>
Copy file name to clipboardExpand all lines: src/everything/docs/structure.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ src/everything
58
58
│ ├── trigger-sampling-request-async.ts
59
59
│ └── trigger-url-elicitation.ts
60
60
└── transports
61
-
├── inMemoryEventStore.ts
61
+
├── in-memory-event-store.ts
62
62
├── listen.ts
63
63
├── sse.ts
64
64
├── stdio.ts
@@ -190,7 +190,7 @@ src/everything
190
190
191
191
### `transports/`
192
192
193
-
-`inMemoryEventStore.ts`
193
+
-`in-memory-event-store.ts`
194
194
-`InMemoryEventStore`: the Streamable HTTP transport's event store for resumability. Replays only the events of the stream a `Last-Event-ID` belongs to, and reports an unknown event ID as having no stream, so the SDK refuses the resume.
195
195
-`listen.ts`
196
196
-`listenOrExit(app, port, listeningMessage)`: binds an Express app to its port for both HTTP transports.
0 commit comments