@deepseek-ai/dsh-goal 0.1.7-rc.2 → 0.2.0-rc.2

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.
Files changed (2) hide show
  1. package/lib/typert.host.js +2 -2
  2. package/package.json +25 -25
@@ -827,7 +827,7 @@ export const TYPERT = {
827
827
  },
828
828
  {
829
829
  "name": "MessageSourceMap",
830
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
830
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; };\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n goal: GoalMessageSource;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n}"
831
831
  },
832
832
  {
833
833
  "name": "ModelMessageSource",
@@ -915,7 +915,7 @@ export const TYPERT = {
915
915
  },
916
916
  {
917
917
  "name": "SessionEventMap",
918
- "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 'feedback/record': FeedbackRecord;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'schedule/change': ScheduleChange;\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}"
918
+ "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}"
919
919
  },
920
920
  {
921
921
  "name": "SessionEventType",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-goal",
3
3
  "description": "Event-sourced same-session goal state and lifecycle service for the DeepSeek Harness",
4
- "version": "0.1.7-rc.2",
4
+ "version": "0.2.0-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -53,36 +53,36 @@
53
53
  ],
54
54
  "license": "MIT",
55
55
  "peerDependencies": {
56
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
57
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
58
- "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
59
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
60
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
61
- "@deepseek-ai/dsh-scope": "0.1.7-rc.2",
62
- "@deepseek-ai/dsh-session": "0.1.7-rc.2",
63
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
64
- "@deepseek-ai/cordis": "~4.0.4"
56
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
57
+ "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
58
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
59
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
60
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
61
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
62
+ "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
63
+ "@deepseek-ai/cordis": "~4.0.4",
64
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.2"
65
65
  },
66
66
  "dependencies": {
67
67
  "zod": "^4.4.3",
68
68
  "@deepseek-ai/schemastery": "~3.18.4"
69
69
  },
70
70
  "devDependencies": {
71
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
72
- "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
73
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
74
- "@deepseek-ai/dsh-bash-local": "0.1.7-rc.2",
75
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
76
- "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
77
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
78
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
79
- "@deepseek-ai/dsh-scope": "0.1.7-rc.2",
80
- "@deepseek-ai/dsh-session": "0.1.7-rc.2",
81
- "@deepseek-ai/dsh-session-checkpoint-policy": "0.1.7-rc.2",
82
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-rc.2",
83
- "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
84
- "@deepseek-ai/dsh-loader-smoke": "0.1.7-rc.2",
71
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
72
+ "@deepseek-ai/dsh-bash-local": "0.2.0-rc.2",
73
+ "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.2",
74
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.0-rc.2",
75
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
76
+ "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
77
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
78
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.2",
79
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
80
+ "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.0-rc.2",
81
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.0-rc.2",
82
+ "@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.2",
85
83
  "@deepseek-ai/cordis": "~4.0.4",
86
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2"
84
+ "@deepseek-ai/dsh-loader-smoke": "0.2.0-rc.2",
85
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
86
+ "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2"
87
87
  }
88
88
  }