@deepseek-ai/dsh-subagent 0.1.7-alpha.1 → 0.1.7-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 +2 -38
- package/package.json +53 -53
package/lib/typert.host.js
CHANGED
|
@@ -512,7 +512,7 @@ export const TYPERT = {
|
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
514
|
"name": "MessageSourceMap",
|
|
515
|
-
"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
|
|
515
|
+
"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 'compact-checkpoint': CompactionCheckpointSource;\n 'session-reference': SessionReferenceSource;\n}"
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
"name": "ModelMessageSource",
|
|
@@ -588,7 +588,7 @@ export const TYPERT = {
|
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
590
|
"name": "SessionEventMap",
|
|
591
|
-
"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 '
|
|
591
|
+
"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 '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}"
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"name": "SessionEventType",
|
|
@@ -754,42 +754,6 @@ export const TYPERT = {
|
|
|
754
754
|
"name": "SystemPromptUpdate",
|
|
755
755
|
"declaration": "export type SystemPromptUpdate = 'in-history';"
|
|
756
756
|
},
|
|
757
|
-
{
|
|
758
|
-
"name": "TeamId",
|
|
759
|
-
"declaration": "export type TeamId = Branded<'TeamId'>;"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"name": "TeamMemberPhase",
|
|
763
|
-
"declaration": "export type TeamMemberPhase = 'provisioning' | 'active' | 'failed';"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"name": "TeamMemberSnapshot",
|
|
767
|
-
"declaration": "export interface TeamMemberSnapshot {\n readonly id: SessionId;\n readonly name: string;\n readonly description: string;\n readonly provider: string;\n readonly context: 'fresh' | 'fork';\n readonly phase: TeamMemberPhase;\n readonly error?: string;\n}"
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"name": "TeamMessageId",
|
|
771
|
-
"declaration": "export type TeamMessageId = Branded<'TeamMessageId'>;"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"name": "TeamMessageSnapshot",
|
|
775
|
-
"declaration": "export interface TeamMessageSnapshot {\n readonly id: TeamMessageId;\n readonly senderId: SessionId;\n readonly senderName: string;\n readonly targetId: SessionId;\n readonly content: ContentBlock[];\n}"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"name": "TeamMessageSource",
|
|
779
|
-
"declaration": "export interface TeamMessageSource {\n readonly kind: 'team-message';\n readonly teamId: TeamId;\n readonly messageId: TeamMessageId;\n readonly senderId: SessionId;\n readonly senderName: string;\n}"
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"name": "TeamTaskId",
|
|
783
|
-
"declaration": "export type TeamTaskId = Branded<'TeamTaskId'>;"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"name": "TeamTaskSnapshot",
|
|
787
|
-
"declaration": "export interface TeamTaskSnapshot {\n readonly id: TeamTaskId;\n readonly revision: number;\n readonly subject: string;\n readonly description: string;\n readonly status: TeamTaskStatus;\n readonly ownerId?: SessionId;\n readonly blockedBy: TeamTaskId[];\n readonly writeScopes: string[];\n}"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"name": "TeamTaskStatus",
|
|
791
|
-
"declaration": "export type TeamTaskStatus = 'pending' | 'in_progress' | 'completed' | 'deleted';"
|
|
792
|
-
},
|
|
793
757
|
{
|
|
794
758
|
"name": "TextBlock",
|
|
795
759
|
"declaration": "export interface TextBlock {\n type: 'text';\n text: string;\n}"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-subagent",
|
|
3
3
|
"description": "Abstract subagent seam (ctx.subagents): named-provider registry for delegating to child agents",
|
|
4
|
-
"version": "0.1.7-
|
|
4
|
+
"version": "0.1.7-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -54,34 +54,34 @@
|
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"zod": "^4.4.3",
|
|
57
|
-
"@deepseek-ai/dsh-chunked-list": "
|
|
58
|
-
"@deepseek-ai/dsh-util-values": "
|
|
59
|
-
"@deepseek-ai/
|
|
60
|
-
"@deepseek-ai/
|
|
57
|
+
"@deepseek-ai/dsh-chunked-list": "0.1.7-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-util-values": "0.1.7-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-brand": "0.1.7-rc.1",
|
|
60
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@deepseek-ai/cordis": "
|
|
64
|
-
"@deepseek-ai/dsh-agent": "
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-invariants": "
|
|
67
|
-
"@deepseek-ai/dsh-jobs": "
|
|
68
|
-
"@deepseek-ai/dsh-llm": "
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
70
|
-
"@deepseek-ai/dsh-sandbox": "
|
|
71
|
-
"@deepseek-ai/dsh-scope": "
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-session": "
|
|
74
|
-
"@deepseek-ai/dsh-session-
|
|
75
|
-
"@deepseek-ai/dsh-session-projection": "
|
|
76
|
-
"@deepseek-ai/dsh-session-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
"@deepseek-ai/dsh-
|
|
81
|
-
"@deepseek-ai/dsh-
|
|
82
|
-
"@deepseek-ai/dsh-permission-presets": "
|
|
83
|
-
"@deepseek-ai/dsh-workspace": "
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
63
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
64
|
+
"@deepseek-ai/dsh-agent": "0.1.7-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-invariants": "0.1.7-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-jobs": "0.1.7-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-sandbox": "0.1.7-rc.1",
|
|
71
|
+
"@deepseek-ai/dsh-scope": "0.1.7-rc.1",
|
|
72
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.1",
|
|
73
|
+
"@deepseek-ai/dsh-session-persistence": "0.1.7-rc.1",
|
|
74
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-rc.1",
|
|
75
|
+
"@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.1",
|
|
76
|
+
"@deepseek-ai/dsh-session-query": "0.1.7-rc.1",
|
|
77
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.1",
|
|
78
|
+
"@deepseek-ai/dsh-tools": "0.1.7-rc.1",
|
|
79
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-util-time": "0.1.7-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-user-approval": "0.1.7-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-permission-presets": "0.1.7-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-workspace": "0.1.7-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-rc.1"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"@deepseek-ai/dsh-agent-preset-registry": {
|
|
@@ -122,31 +122,31 @@
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@deepseek-ai/cordis": "
|
|
126
|
-
"@deepseek-ai/dsh-agent": "
|
|
127
|
-
"@deepseek-ai/dsh-attachment": "
|
|
128
|
-
"@deepseek-ai/dsh-invariants": "
|
|
129
|
-
"@deepseek-ai/dsh-
|
|
130
|
-
"@deepseek-ai/dsh-
|
|
131
|
-
"@deepseek-ai/dsh-sandbox": "
|
|
132
|
-
"@deepseek-ai/dsh-sandbox-policy": "
|
|
133
|
-
"@deepseek-ai/dsh-schedule": "
|
|
134
|
-
"@deepseek-ai/dsh-scope": "
|
|
135
|
-
"@deepseek-ai/dsh-session": "
|
|
136
|
-
"@deepseek-ai/dsh-session-
|
|
137
|
-
"@deepseek-ai/dsh-session-projection": "
|
|
138
|
-
"@deepseek-ai/dsh-session-
|
|
139
|
-
"@deepseek-ai/dsh-
|
|
140
|
-
"@deepseek-ai/dsh-storage": "
|
|
141
|
-
"@deepseek-ai/dsh-
|
|
142
|
-
"@deepseek-ai/dsh-
|
|
143
|
-
"@deepseek-ai/dsh-
|
|
144
|
-
"@deepseek-ai/dsh-
|
|
145
|
-
"@deepseek-ai/dsh-
|
|
146
|
-
"@deepseek-ai/dsh-util-time": "
|
|
147
|
-
"@deepseek-ai/dsh-
|
|
148
|
-
"@deepseek-ai/dsh-
|
|
149
|
-
"@deepseek-ai/dsh-
|
|
150
|
-
"@deepseek-ai/dsh-
|
|
125
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
126
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-invariants": "0.1.7-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-agent": "0.1.7-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-jobs": "0.1.7-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-sandbox": "0.1.7-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-schedule": "0.1.7-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-scope": "0.1.7-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-session-projection": "0.1.7-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-session-query": "0.1.7-rc.1",
|
|
139
|
+
"@deepseek-ai/dsh-storage": "0.1.7-rc.1",
|
|
140
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.7-rc.1",
|
|
141
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.1",
|
|
142
|
+
"@deepseek-ai/dsh-session-persistence": "0.1.7-rc.1",
|
|
143
|
+
"@deepseek-ai/dsh-tools": "0.1.7-rc.1",
|
|
144
|
+
"@deepseek-ai/dsh-user-approval": "0.1.7-rc.1",
|
|
145
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.1",
|
|
146
|
+
"@deepseek-ai/dsh-util-time": "0.1.7-rc.1",
|
|
147
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.7-rc.1",
|
|
148
|
+
"@deepseek-ai/dsh-permission-presets": "0.1.7-rc.1",
|
|
149
|
+
"@deepseek-ai/dsh-workspace": "0.1.7-rc.1",
|
|
150
|
+
"@deepseek-ai/dsh-storage-json": "0.1.7-rc.1"
|
|
151
151
|
}
|
|
152
152
|
}
|