feat: adapt to DSH 0.1.2-alpha.5 and bump to v0.19.0-alpha.0
- pins: CI mount-gate CLI, dsh.plugin.json engines floor, and the @deepseek-ai/* peer floor / devDependencies baseline move to 0.1.2-alpha.5 (dsh-client-locale trails at 0.1.2-alpha.3 — no such release upstream; ^0.1.2-alpha.3 already accepts the alpha.5 runtime) - code: migrate the alpha.4 Session.events removal to snapshotEvents() (sidechat transcript live reads, fork inheritance, jobs.output replay, subagent activity) and drop the seedLength meta field the host removed from CreateAgentOptions.meta - gates: pnpm peers check clean, typecheck + 1137 unit tests green, real-host mount smoke 14/14 on npm-published 0.1.2-alpha.5
This commit is contained in:
1 parent
dd499b2560
commit
a78dd57b23
20 files changed
+327
-333
No files matched your search
+1
-1
@@ -473,7 +473,7 @@ function buildApi(
|
||||
// log opens on a tool event (subagent seeds do) carries seq 0, which a
|
||||
// literal `> 0` comparison would drop, so the absent case floors at -1.
|
||||
const afterSeq = rawAfter ?? -1
|
||||
let events: readonly SidebarSessionEvent[] | undefined = ctx.sessions.get(sessionId)?.events
|
||||
let events: readonly SidebarSessionEvent[] | undefined = ctx.sessions.get(sessionId)?.snapshotEvents()
|
||||
if (events === undefined) {
|
||||
const persistence = ctx.get('sessionPersistence')
|
||||
if (persistence !== undefined) {
|
||||
|
||||
Reference in new issue
Block a user