@deepseek-ai/dsh-user-questions 0.2.2-alpha.3 → 0.2.2-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.
package/README.i18n.yaml CHANGED
@@ -15,8 +15,8 @@
15
15
  en: 382a21c0ea17b2e4
16
16
  zh: 1a4335e571de92dd
17
17
  /deepseek-ai-dsh-user-questions/ask-a-question:
18
- en: 2563276cd9689955
19
- zh: 561c750ceb799b9f
18
+ en: a9a852f48c387045
19
+ zh: f418e1120c66dc07
20
20
  /deepseek-ai-dsh-user-questions/role:
21
21
  en: 1a321b5a204dc4dd
22
22
  zh: 5e30055a3774e606
package/README.md CHANGED
@@ -30,7 +30,7 @@ For a single-select question, `custom` overrides the selected choice and `select
30
30
 
31
31
  A question may carry a presentation `intent`. `plan-review` names the approve option and uses `detail` as the plan. `approval` presents one blocking question as fixed reject, allow and optional always-allow actions; it may include subject metadata and localized copy. Its action labels must be distinct and cover exactly the offered options, with no multi-select or timed wait. `ask()` rejects invalid intents with `BAD_INTENT`. Both presentations return the original option labels, and an older UI can render the same options generically. The caller continues to own authorization and persistence.
32
32
 
33
- When a request carries an agent, `ask()` authenticates its exact identity through the live `AgentRegistry` and admits only a runtime root. A live child cannot open a human interaction. An agentless programmatic request remains available to unscoped local waterfall listeners and fails with `NO_PROVIDER` when none accepts it.
33
+ When a request carries an agent, `ask()` authenticates its exact identity through the live `AgentRegistry` and rejects Sessions whose `origin` is `subagent`. Historical ordinary forks with `parentSession` remain eligible. An agentless programmatic request remains available to unscoped local waterfall listeners and fails with `NO_PROVIDER` when none accepts it.
34
34
 
35
35
  While the tool call is open, the only answer path is that request; a browser that reconnects receives it again and can still complete it. Once the call has returned pending, or the process that owned it ended, the question is `continued`: the `answer` Remote method steers the reply into the agent as a `user-question-reply` message. No Remote method abandons a question — a Client that puts its panel away sends nothing, so the call stays answerable until an answer arrives. Answering a closed Session resumes its root agent first. Neither path fabricates a result for the finished tool call.
36
36
 
package/README.zh.md CHANGED
@@ -30,7 +30,7 @@ kind: "package-reference"
30
30
 
31
31
  问题可以携带呈现意图 `intent`。`plan-review` 指定批准选项,并将 `detail` 作为待审阅计划。`approval` 将一个阻塞式问题显示为拒绝、允许和可选的始终允许操作,可附带对象信息和本地化文案。操作标签必须互不相同,并完整对应已提供的选项,不支持多选或计时等待。`ask()` 以 `BAD_INTENT` 拒绝无效意图。两种呈现都返回原始选项标签,旧界面仍可显示通用选项列表。授权与持久化仍由调用方负责。
32
32
 
33
- 请求包含 agent 时,`ask()` 会通过当前 `AgentRegistry` 验证该 agent 与注册表中的存活实例是同一对象,并且只允许运行时根调用。存活子级不能发起人机交互。不含 agent 的程序化请求仍会交给本地未限定 scope 的 waterfall listener,若无人接受则以 `NO_PROVIDER` 失败。
33
+ 请求包含 agent 时,`ask()` 会通过当前 `AgentRegistry` 验证该 agent 与注册表中的存活实例是同一对象,并拒绝 `origin` 为 `subagent` 的 Session。带有 `parentSession` 的历史普通 fork 仍可调用。不含 agent 的程序化请求仍会交给本地未限定 scope 的 waterfall listener,若无人接受则以 `NO_PROVIDER` 失败。
34
34
 
35
35
  工具调用开放期间,唯一的回答路径就是这条请求;重新连接的浏览器会再次收到它,仍可完成。调用返回 pending 之后,或拥有它的进程结束之后,问题进入 `continued`:`answer` Remote 方法把回复作为 `user-question-reply` 消息 steer 给 agent。没有任何 Remote 方法会放弃问题——Client 收起面板时不发送任何内容,因此该调用在收到回答前一直可回答。回答已关闭的会话时先恢复其根 agent。两条路径都不会为已结束的工具调用伪造结果。
36
36
 
package/lib/index.js CHANGED
@@ -539,7 +539,7 @@ let UserQuestionService = (() => {
539
539
  assertLiveRoot(agent) {
540
540
  const agents = this.ctx.get("agents");
541
541
  if (agents === void 0 || agents.get(agent.id) !== agent) throw new UserQuestionError("human interaction requires the exact live calling agent when an agent is supplied", "CALLER_NOT_LIVE");
542
- if (!agents.roots().includes(agent)) throw new UserQuestionError("human interaction is unavailable while the calling agent is owned by another live agent; include the unresolved question or decision in the child agent's final result", "DELEGATED_CALLER");
542
+ if (agent.session.header.origin === "subagent") throw new UserQuestionError("human interaction is unavailable while the calling agent is owned by another live agent; include the unresolved question or decision in the child agent's final result", "DELEGATED_CALLER");
543
543
  }
544
544
  continued(agent) {
545
545
  return this.userQuestionProjectionHandle?.stateOf(agent.session).questions.active.filter((question) => question.state === "continued") ?? [];
@@ -661,17 +661,16 @@ let UserQuestionService = (() => {
661
661
  * Ask the scoped answerer waterfall and wait for the user's answer.
662
662
  *
663
663
  * When a caller supplies an agent, human interaction is valid only for the
664
- * exact live runtime root. Runtime ownership, not durable session lineage,
665
- * decides this boundary: an owned child has no human answerer and would
666
- * block forever, while a lineage-bearing session resumed as a new runtime
667
- * root may ask normally.
664
+ * exact live instance of an ordinary Session. Explicit subagent origin
665
+ * rejects delegated callers; historical ordinary forks may retain parent
666
+ * metadata and still ask normally.
668
667
  *
669
668
  * @param request Questions, owner agent, and abort signal.
670
669
  * @returns The answer chosen or typed by the human.
671
670
  * @throws {UserQuestionError} code `ASK_ABORTED` when the supplied signal
672
671
  * is already or becomes aborted, `CALLER_NOT_LIVE` when a supplied agent
673
672
  * is not the registry's exact live instance, or `DELEGATED_CALLER` when
674
- * that live agent is owned by another agent.
673
+ * that live agent has subagent origin.
675
674
  */
676
675
  async ask(request) {
677
676
  if (request.signal?.aborted) throw abortedQuestion();
@@ -219,7 +219,7 @@ export const TYPERT = {
219
219
  "name": "ask",
220
220
  "signature": "async ask(request: AskUserQuestionRequest): Promise<AskUserQuestionAnswer>",
221
221
  "summary": "Ask the scoped answerer waterfall and wait for the user's answer.",
222
- "jsDoc": "/**\n * Ask the scoped answerer waterfall and wait for the user's answer.\n *\n * When a caller supplies an agent, human interaction is valid only for the\n * exact live runtime root. Runtime ownership, not durable session lineage,\n * decides this boundary: an owned child has no human answerer and would\n * block forever, while a lineage-bearing session resumed as a new runtime\n * root may ask normally.\n *\n * @param request Questions, owner agent, and abort signal.\n * @returns The answer chosen or typed by the human.\n * @throws {UserQuestionError} code `ASK_ABORTED` when the supplied signal\n * is already or becomes aborted, `CALLER_NOT_LIVE` when a supplied agent\n * is not the registry's exact live instance, or `DELEGATED_CALLER` when\n * that live agent is owned by another agent.\n */"
222
+ "jsDoc": "/**\n * Ask the scoped answerer waterfall and wait for the user's answer.\n *\n * When a caller supplies an agent, human interaction is valid only for the\n * exact live instance of an ordinary Session. Explicit subagent origin\n * rejects delegated callers; historical ordinary forks may retain parent\n * metadata and still ask normally.\n *\n * @param request Questions, owner agent, and abort signal.\n * @returns The answer chosen or typed by the human.\n * @throws {UserQuestionError} code `ASK_ABORTED` when the supplied signal\n * is already or becomes aborted, `CALLER_NOT_LIVE` when a supplied agent\n * is not the registry's exact live instance, or `DELEGATED_CALLER` when\n * that live agent has subagent origin.\n */"
223
223
  }
224
224
  ],
225
225
  "types": [
@@ -585,7 +585,7 @@ export const TYPERT = {
585
585
  },
586
586
  {
587
587
  "name": "MessageSourceMap",
588
- "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 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
588
+ "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 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'retry-rpc': { kind: 'retry'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
589
589
  },
590
590
  {
591
591
  "name": "Model",
@@ -681,15 +681,19 @@ export const TYPERT = {
681
681
  },
682
682
  {
683
683
  "name": "Session",
684
- "declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n toolHistory(): ToolHistory;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
684
+ "declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n get currentBatchPublication(): SessionEvent | undefined;\n append(inputs: readonly SessionEventInput[]): readonly SessionEvent[];\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n toolHistory(): ToolHistory;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
685
685
  },
686
686
  {
687
687
  "name": "SessionEvent",
688
688
  "declaration": "export type SessionEvent<T extends SessionEventType = SessionEventType> = { [K in SessionEventType]: { type: K; seq: SessionSeq; time: number; data: SessionEventMap[K]; ignorable?: true; } & (K extends SurfaceEventType ? SurfaceIntent<K> : { surfaceOp?: never; sourceEventSeqs?: never; }) }[T];"
689
689
  },
690
+ {
691
+ "name": "SessionEventInput",
692
+ "declaration": "export type SessionEventInput = { [K in SessionEventType]: readonly [type: K, data: SessionEventMap[K], ...opts: K extends SurfaceEventType ? [opts: SurfaceIntent<K>] : []] }[SessionEventType];"
693
+ },
690
694
  {
691
695
  "name": "SessionEventMap",
692
- "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 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\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 'working-directory/change': { cwd: string; };\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 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\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 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
696
+ "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 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'team/mode': { enabled: boolean; };\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'working-directory/change': { cwd: string; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\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 '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 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\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 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'session-log-deepseek/delivery-accepted': { sessionId: import('@deepseek-ai/dsh-session/types').SessionId; sessionFormatVersion?: number; throughSeq: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
693
697
  },
694
698
  {
695
699
  "name": "SessionEventType",
@@ -753,7 +757,7 @@ export const TYPERT = {
753
757
  },
754
758
  {
755
759
  "name": "SubagentCatalogEvent",
756
- "declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; });"
760
+ "declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; } | ({ readonly version: 3; readonly name: string; } & ({ readonly mode: 'continuable'; readonly label: string; } | { readonly mode: 'external'; readonly label?: string; })));"
757
761
  },
758
762
  {
759
763
  "name": "SubagentDescriptorBase",
@@ -763,9 +767,21 @@ export const TYPERT = {
763
767
  "name": "SubagentDescriptorData",
764
768
  "declaration": "export type SubagentDescriptorData = OneShotSubagentDescriptorData | ContinuableSubagentDescriptorData;"
765
769
  },
770
+ {
771
+ "name": "SubagentResult",
772
+ "declaration": "export interface SubagentResult {\n readonly output: readonly ContentBlock[];\n readonly structured?: unknown;\n readonly diagnostic?: string;\n readonly stopReason: SubagentStopReason;\n}"
773
+ },
766
774
  {
767
775
  "name": "SubagentSettledMessageSource",
768
- "declaration": "export interface SubagentSettledMessageSource {\n readonly kind: 'subagent-settled';\n readonly form: 'notice';\n readonly summary: string;\n readonly senderSessionId: SessionId;\n}"
776
+ "declaration": "export interface SubagentSettledMessageSource {\n readonly kind: 'subagent-settled';\n readonly form: 'notice';\n readonly summary: string;\n readonly stopReason?: SubagentResult['stopReason'];\n readonly senderSessionId: SessionId;\n}"
777
+ },
778
+ {
779
+ "name": "SubagentStopReason",
780
+ "declaration": "export type SubagentStopReason = SubagentStopReasonMap[keyof SubagentStopReasonMap];"
781
+ },
782
+ {
783
+ "name": "SubagentStopReasonMap",
784
+ "declaration": "export interface SubagentStopReasonMap {\n completed: 'completed';\n aborted: 'aborted';\n error: 'error';\n 'max-tokens': 'max-tokens';\n refusal: 'refusal';\n}"
769
785
  },
770
786
  {
771
787
  "name": "SurfaceEventType",
@@ -821,7 +837,7 @@ export const TYPERT = {
821
837
  },
822
838
  {
823
839
  "name": "TeamTaskSnapshot",
824
- "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}"
840
+ "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 ownerName?: string;\n readonly blockedBy: TeamTaskId[];\n readonly writeScopes: string[];\n}"
825
841
  },
826
842
  {
827
843
  "name": "TeamTaskStatus",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typert.remote-client.d.ts","names":["answer","attachWait"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;IAyKEA,M;IAmDOC,U;;;IAnDPD,sB;IAmDOC,0B;;;;;;IAnDPD,4B;IAmDOC,gC","ignoreList":[]}
@@ -85,17 +85,16 @@ export declare class UserQuestionService extends TypertRemoteService {
85
85
  * Ask the scoped answerer waterfall and wait for the user's answer.
86
86
  *
87
87
  * When a caller supplies an agent, human interaction is valid only for the
88
- * exact live runtime root. Runtime ownership, not durable session lineage,
89
- * decides this boundary: an owned child has no human answerer and would
90
- * block forever, while a lineage-bearing session resumed as a new runtime
91
- * root may ask normally.
88
+ * exact live instance of an ordinary Session. Explicit subagent origin
89
+ * rejects delegated callers; historical ordinary forks may retain parent
90
+ * metadata and still ask normally.
92
91
  *
93
92
  * @param request Questions, owner agent, and abort signal.
94
93
  * @returns The answer chosen or typed by the human.
95
94
  * @throws {UserQuestionError} code `ASK_ABORTED` when the supplied signal
96
95
  * is already or becomes aborted, `CALLER_NOT_LIVE` when a supplied agent
97
96
  * is not the registry's exact live instance, or `DELEGATED_CALLER` when
98
- * that live agent is owned by another agent.
97
+ * that live agent has subagent origin.
99
98
  */
100
99
  ask(request: AskUserQuestionRequest): Promise<AskUserQuestionAnswer>;
101
100
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAqB,YAAY,EAAkB,KAAK,UAAU,EAAoB,MAAM,sBAAsB,CAAA;AAGzH,OAAO,EAAU,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAC9E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAEnD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAIxC,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,OAAO;QACf,aAAa,EAAE,mBAAmB,CAAA;KACnC;CACF;AAED,OAAO,KAAK,EACV,qBAAqB,EAAE,2BAA2B,EACnD,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,qBAAqB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,mBAAmB,EAC5F,qBAAqB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,0BAA0B,EAC3F,iBAAiB,GAClB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEpF,kCAAkC;AAClC,MAAM,WAAW,sBAAuB,SAAQ,2BAA2B;CAAG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C;CAuE3E;AAED,eAAe,mBAAmB,CAAA"}
@@ -155,7 +155,7 @@ let UserQuestionService = (() => {
155
155
  if (agents === undefined || agents.get(agent.id) !== agent) {
156
156
  throw new UserQuestionError('human interaction requires the exact live calling agent when an agent is supplied', 'CALLER_NOT_LIVE');
157
157
  }
158
- if (!agents.roots().includes(agent)) {
158
+ if (agent.session.header.origin === 'subagent') {
159
159
  throw new UserQuestionError('human interaction is unavailable while the calling agent is owned by another live agent; '
160
160
  + "include the unresolved question or decision in the child agent's final result", 'DELEGATED_CALLER');
161
161
  }
@@ -285,17 +285,16 @@ let UserQuestionService = (() => {
285
285
  * Ask the scoped answerer waterfall and wait for the user's answer.
286
286
  *
287
287
  * When a caller supplies an agent, human interaction is valid only for the
288
- * exact live runtime root. Runtime ownership, not durable session lineage,
289
- * decides this boundary: an owned child has no human answerer and would
290
- * block forever, while a lineage-bearing session resumed as a new runtime
291
- * root may ask normally.
288
+ * exact live instance of an ordinary Session. Explicit subagent origin
289
+ * rejects delegated callers; historical ordinary forks may retain parent
290
+ * metadata and still ask normally.
292
291
  *
293
292
  * @param request Questions, owner agent, and abort signal.
294
293
  * @returns The answer chosen or typed by the human.
295
294
  * @throws {UserQuestionError} code `ASK_ABORTED` when the supplied signal
296
295
  * is already or becomes aborted, `CALLER_NOT_LIVE` when a supplied agent
297
296
  * is not the registry's exact live instance, or `DELEGATED_CALLER` when
298
- * that live agent is owned by another agent.
297
+ * that live agent has subagent origin.
299
298
  */
300
299
  async ask(request) {
301
300
  if (request.signal?.aborted) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,EAAW,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAqD,MAAM,sBAAsB,CAAA;AAEzH,OAAO,EAAE,WA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ACzD,UAAU,oBAAoB;QAC5B,iGAAiG;QACjG,aAAa,EAAE,0BAA0B,CAAA;KAC1C;CACF;AAED,6EAA6E;AAC7E,MAAM,WAAW,2BAA2B;IAC1C,4BAA4B;IAC5B,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAChC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,oDAAoD;IACpD,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE;QACL,6CAA6C;QAC7C,MAAM,EAAE,UAAU,CAAA;QAClB,4FAA4F;QAC5F,KAAK,CAAC,EAAE,OAAO,CAAA;KAChB,CAAA;CACF;AAED,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,MAAM;QACd;;;;;;WAMG;QACH,wBAAwB,CACtB,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,EACnB,OAAO,EAAE,2BAA2B,EACpC,IAAI,EAAE,MAAM,OAAO,CAAC,qBAAqB,CAAC,GACzC,OAAO,CAAC,qBAAqB,CAAC,CAAA;KAClC;CACF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,mGAAmG"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-user-questions",
3
3
  "description": "Abstract user-questions seam (ctx.userQuestions) for asking the human during agent runs",
4
- "version": "0.2.2-alpha.3",
4
+ "version": "0.2.2-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,34 +39,38 @@
39
39
  "lib/index.js",
40
40
  "lib/types/**/*.js",
41
41
  "lib/types/**/*.d.ts",
42
+ "lib/types/**/*.d.ts.map",
43
+ "lib/**/*.js.map",
42
44
  "lib/typert.host.js",
43
45
  "lib/typert.host.d.ts",
44
46
  "lib/typert.remote-client.js",
45
- "lib/typert.remote-client.d.ts"
47
+ "lib/typert.remote-client.d.ts",
48
+ "lib/typert.remote-client.d.ts.map",
49
+ "src"
46
50
  ],
47
51
  "license": "MIT",
48
52
  "peerDependencies": {
49
- "@deepseek-ai/dsh-agent": "0.2.2-alpha.3",
50
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
51
- "@deepseek-ai/dsh-scope": "0.2.2-alpha.3",
52
- "@deepseek-ai/cordis": "~4.0.6-alpha.2",
53
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.3",
54
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
55
- "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.3"
53
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.2",
54
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.2",
55
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.2",
56
+ "@deepseek-ai/cordis": "~4.1.0",
57
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2",
58
+ "@deepseek-ai/dsh-session": "0.2.2-rc.2",
59
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2"
56
60
  },
57
61
  "devDependencies": {
58
- "@deepseek-ai/dsh-agent": "0.2.2-alpha.3",
59
- "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
60
- "@deepseek-ai/dsh-scope": "0.2.2-alpha.3",
61
- "@deepseek-ai/cordis": "~4.0.6-alpha.2",
62
- "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-alpha.3",
63
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.3",
64
- "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
65
- "@deepseek-ai/dsh-session-projection": "0.2.2-alpha.3",
66
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-alpha.3"
62
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.2",
63
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.2",
64
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.2",
65
+ "@deepseek-ai/cordis": "~4.1.0",
66
+ "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.2",
67
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2",
68
+ "@deepseek-ai/dsh-session": "0.2.2-rc.2",
69
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.2",
70
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.2"
67
71
  },
68
72
  "dependencies": {
69
- "zod": "4.4.3",
70
- "@deepseek-ai/schemastery": "~3.18.6-alpha.2"
73
+ "zod": "4.6.6",
74
+ "@deepseek-ai/schemastery": "~3.19.0"
71
75
  }
72
76
  }