@deepseek-ai/dsh-session-reference 0.1.7-rc.2 → 0.2.0-rc.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/lib/typert.host.js +1 -1
- package/package.json +36 -36
package/lib/typert.host.js
CHANGED
|
@@ -484,7 +484,7 @@ export const TYPERT = {
|
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
486
|
"name": "SessionEventMap",
|
|
487
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n 'subagent/descriptor': SubagentDescriptorData;\n 'permission/preset': { preset: string; };\n 'subagent/catalog': SubagentCatalogEvent;\n '
|
|
487
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'model/selection': ModelSelection;\n 'subagent/descriptor': SubagentDescriptorData;\n 'permission/preset': { preset: string; };\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'feedback/record': FeedbackRecord;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'schedule/change': ScheduleChange;\n}"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"name": "SessionEventType",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-session-reference",
|
|
3
3
|
"description": "Cross-session snapshot references and durable untrusted model context (ctx.sessionReferenceResolver)",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"zod": "^4.4.3",
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/
|
|
50
|
-
"@deepseek-ai/
|
|
48
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.1",
|
|
49
|
+
"@deepseek-ai/schemastery": "~3.18.4",
|
|
50
|
+
"@deepseek-ai/dsh-util-values": "0.2.0-rc.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
54
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
55
|
-
"@deepseek-ai/dsh-compaction": "0.
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-session
|
|
59
|
-
"@deepseek-ai/dsh-session-projection
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-typert-protocol": "0.
|
|
54
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-compaction": "0.2.0-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-output-retention": "0.2.0-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-session-title": "0.2.0-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-spill": "0.2.0-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-subagent": "0.2.0-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-session-projection-cache": "0.2.0-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-session-query": "0.2.0-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
69
69
|
"@deepseek-ai/dsh-spill": {
|
|
@@ -76,24 +76,24 @@
|
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
78
78
|
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
79
|
-
"@deepseek-ai/
|
|
80
|
-
"@deepseek-ai/dsh-
|
|
81
|
-
"@deepseek-ai/dsh-
|
|
82
|
-
"@deepseek-ai/dsh-
|
|
83
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-session-projection": "0.
|
|
86
|
-
"@deepseek-ai/dsh-session-
|
|
87
|
-
"@deepseek-ai/dsh-session-query": "0.
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
"@deepseek-ai/dsh-
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"@deepseek-ai/dsh-
|
|
96
|
-
"@deepseek-ai/dsh-
|
|
97
|
-
"@deepseek-ai/
|
|
79
|
+
"@deepseek-ai/dsh-compaction": "0.2.0-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-fs-local": "0.2.0-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-output-retention": "0.2.0-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-session-projection-cache": "0.2.0-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-session-query": "0.2.0-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-session-query-sqlite": "0.2.0-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-spill": "0.2.0-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-subagent": "0.2.0-rc.1",
|
|
90
|
+
"@deepseek-ai/dsh-spill-local": "0.2.0-rc.1",
|
|
91
|
+
"@deepseek-ai/dsh-session-title": "0.2.0-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-tool-fs": "0.2.0-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.1",
|
|
97
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5"
|
|
98
98
|
}
|
|
99
99
|
}
|