@deepseek-ai/dsh-subagent 0.2.2-rc.1 → 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 +46 -28
- package/README.md +52 -23
- package/README.zh.md +52 -23
- package/lib/index.js +845 -902
- package/lib/typert.host.js +91 -125
- package/lib/typert.remote-client.d.ts +3 -3
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +17 -63
- package/lib/types/activation.d.ts +17 -25
- package/lib/types/activation.d.ts.map +1 -0
- package/lib/types/activation.js +1 -1
- package/lib/types/activation.js.map +1 -0
- package/lib/types/archive-admission.d.ts +11 -4
- package/lib/types/archive-admission.d.ts.map +1 -0
- package/lib/types/archive-admission.js +39 -115
- package/lib/types/archive-admission.js.map +1 -0
- package/lib/types/assistant-output.d.ts.map +1 -0
- package/lib/types/assistant-output.js.map +1 -0
- package/lib/types/catalog.d.ts +27 -7
- package/lib/types/catalog.d.ts.map +1 -0
- package/lib/types/catalog.js +31 -8
- package/lib/types/catalog.js.map +1 -0
- package/lib/types/child-agent.d.ts +7 -17
- package/lib/types/child-agent.d.ts.map +1 -0
- package/lib/types/child-agent.js +6 -4
- package/lib/types/child-agent.js.map +1 -0
- package/lib/types/client.d.ts.map +1 -0
- package/lib/types/client.js.map +1 -0
- package/lib/types/continuation-messages.d.ts +13 -10
- package/lib/types/continuation-messages.d.ts.map +1 -0
- package/lib/types/continuation-messages.js +22 -22
- package/lib/types/continuation-messages.js.map +1 -0
- package/lib/types/control-types.d.ts +7 -28
- package/lib/types/control-types.d.ts.map +1 -0
- package/lib/types/control-types.js.map +1 -0
- package/lib/types/control.d.ts +0 -4
- package/lib/types/control.d.ts.map +1 -0
- package/lib/types/control.js +1 -5
- package/lib/types/control.js.map +1 -0
- package/lib/types/depth.d.ts.map +1 -0
- package/lib/types/depth.js.map +1 -0
- package/lib/types/descriptor.d.ts +1 -1
- package/lib/types/descriptor.d.ts.map +1 -0
- package/lib/types/descriptor.js +1 -1
- package/lib/types/descriptor.js.map +1 -0
- package/lib/types/error.d.ts.map +1 -0
- package/lib/types/error.js.map +1 -0
- package/lib/types/index.d.ts +74 -97
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +125 -146
- package/lib/types/index.js.map +1 -0
- package/lib/types/lifecycle.d.ts +9 -38
- package/lib/types/lifecycle.d.ts.map +1 -0
- package/lib/types/lifecycle.js +5 -31
- package/lib/types/lifecycle.js.map +1 -0
- package/lib/types/list-children.d.ts +12 -0
- package/lib/types/list-children.d.ts.map +1 -0
- package/lib/types/list-children.js +35 -6
- package/lib/types/list-children.js.map +1 -0
- package/lib/types/manager.d.ts +96 -112
- package/lib/types/manager.d.ts.map +1 -0
- package/lib/types/manager.js +471 -568
- package/lib/types/manager.js.map +1 -0
- package/lib/types/names.d.ts +56 -0
- package/lib/types/names.d.ts.map +1 -0
- package/lib/types/names.js +96 -0
- package/lib/types/names.js.map +1 -0
- package/lib/types/out-of-process.d.ts.map +1 -0
- package/lib/types/out-of-process.js.map +1 -0
- package/lib/types/projection-types.d.ts +18 -6
- package/lib/types/projection-types.d.ts.map +1 -0
- package/lib/types/projection-types.js.map +1 -0
- package/lib/types/projection.d.ts +2 -2
- package/lib/types/projection.d.ts.map +1 -0
- package/lib/types/projection.js.map +1 -0
- package/lib/types/structured.d.ts +1 -1
- package/lib/types/structured.d.ts.map +1 -0
- package/lib/types/structured.js +2 -2
- package/lib/types/structured.js.map +1 -0
- package/lib/types/types.d.ts +34 -28
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/types.js +2 -4
- package/lib/types/types.js.map +1 -0
- package/package.json +54 -54
- package/src/activation.ts +184 -0
- package/src/archive-admission.ts +84 -0
- package/src/assistant-output.ts +75 -0
- package/src/catalog.ts +194 -0
- package/src/child-agent.ts +280 -0
- package/src/client.ts +8 -0
- package/src/continuation-messages.ts +176 -0
- package/src/control-types.ts +127 -0
- package/src/control.ts +103 -0
- package/src/depth.ts +51 -0
- package/src/descriptor.ts +269 -0
- package/src/error.ts +15 -0
- package/src/index.ts +604 -0
- package/src/lifecycle.ts +116 -0
- package/src/list-children.ts +168 -0
- package/src/manager.ts +1359 -0
- package/src/names.ts +113 -0
- package/src/out-of-process.ts +217 -0
- package/src/projection-types.ts +109 -0
- package/src/projection.ts +184 -0
- package/src/structured.ts +155 -0
- package/src/types.ts +364 -0
- package/lib/types/internal.d.ts +0 -58
- package/lib/types/internal.js +0 -58
package/lib/types/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* `startActivation` establishes every child under the activation manager, which
|
|
15
15
|
* owns execution, result delivery, and resource release. Local providers seed
|
|
16
16
|
* resumable Agents; external providers return a single execution handle.
|
|
17
|
-
* `sendMessage` steers between
|
|
17
|
+
* `sendMessage` steers between local Agents in one subagent tree without exposing
|
|
18
18
|
* whether a child is resident. Discovery combines real child Sessions with
|
|
19
19
|
* parent-owned records for external executions.
|
|
20
20
|
* Direct discovery reads parent catalogs; descendants recursively read reachable
|
|
@@ -36,15 +36,15 @@ import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
|
36
36
|
import type { SessionId } from '@deepseek-ai/dsh-session';
|
|
37
37
|
import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
|
|
38
38
|
import type { SubagentInterruptReceipt, SubagentPromptReceipt, SubagentPromptRequest } from './control-types.ts';
|
|
39
|
-
import type { SubagentActivation, SubagentActivationSpec, SubagentInterruptAuthority, SubagentProvider, SubagentRunEndInfo, SubagentRunInfo, SubagentSendMessageOptions } from './types.ts';
|
|
39
|
+
import type { SubagentActivation, SubagentActivationSpec, SubagentInterruptAuthority, SubagentMemberNames, SubagentProvider, SubagentRunEndInfo, SubagentRunInfo, SubagentSendMessageOptions } from './types.ts';
|
|
40
40
|
import type { SubagentDescendantListEntry } from './list-children.ts';
|
|
41
|
-
import type { SubagentCatalogEntry } from './projection-types.ts';
|
|
42
|
-
import { deliverSubagentPrompt } from './internal.ts';
|
|
43
41
|
export type {} from './catalog.ts';
|
|
42
|
+
export type {} from './projection.ts';
|
|
44
43
|
export * from './out-of-process.ts';
|
|
45
44
|
export { AssistantOutputFold, finalAssistantOutput } from './assistant-output.ts';
|
|
46
45
|
export { SubagentRunId } from './types.ts';
|
|
47
|
-
export
|
|
46
|
+
export { ROOT_AGENT_NAME } from './names.ts';
|
|
47
|
+
export type { ContinuableCreateRequest, ContinuableCreateSpec, SubagentCapabilities, SubagentActivation, SubagentActivationSpec, SubagentInterruptAuthority, SubagentMemberNames, SubagentProvider, SubagentResult, SubagentRun, SubagentSendMessageOptions, SubagentStartRequest, ResolvedSubagentStartRequest, SubagentStopReason, SubagentStopReasonMap, } from './types.ts';
|
|
48
48
|
export { foldSubagentDescriptor, snapshotSubagentDescriptor, SUBAGENT_DESCRIPTOR_VERSION, } from './descriptor.ts';
|
|
49
49
|
export type { ContinuableSubagentDescriptorData, ContinuableSubagentDescriptorInput, OneShotSubagentDescriptorData, SubagentDescriptorData, } from './descriptor.ts';
|
|
50
50
|
export { STRUCTURED_OUTPUT_TOOL } from './structured.ts';
|
|
@@ -77,18 +77,18 @@ declare module '@deepseek-ai/cordis' {
|
|
|
77
77
|
/**
|
|
78
78
|
* A provider established a published child. For in-process providers,
|
|
79
79
|
* `ctx.agents.get(info.id)` resolves during this notification.
|
|
80
|
-
* Scope-filtered dispatch keys the carrier by the
|
|
81
|
-
*
|
|
80
|
+
* Scope-filtered dispatch keys the carrier by the subagent tree root, so a
|
|
81
|
+
* root-scoped listener observes all subagent tree activations. Paired with
|
|
82
82
|
* `subagent/end`.
|
|
83
|
-
* @param info -
|
|
83
|
+
* @param info - provider, child identity, and durable direct creator `parentSessionId`.
|
|
84
84
|
* @mode emit
|
|
85
85
|
*/
|
|
86
86
|
'subagent/start'(this: Scoped<SubagentRuntime>, info: SubagentRunInfo): void;
|
|
87
87
|
/**
|
|
88
|
-
* A published child settled. Scope-filtered dispatch uses the same
|
|
89
|
-
*
|
|
88
|
+
* A published child settled. Scope-filtered dispatch uses the same subagent tree-root
|
|
89
|
+
* carrier as `subagent/start`, so the lifecycle pair reaches the
|
|
90
90
|
* same scoped audience.
|
|
91
|
-
* @param info -
|
|
91
|
+
* @param info - run identity, durable direct creator `parentSessionId`, and terminal outcome.
|
|
92
92
|
* @mode emit
|
|
93
93
|
*/
|
|
94
94
|
'subagent/end'(this: Scoped<SubagentRuntime>, info: SubagentRunEndInfo): void;
|
|
@@ -145,43 +145,61 @@ export declare class SubagentRuntime extends TypertRemoteService {
|
|
|
145
145
|
*/
|
|
146
146
|
startActivation(spec: SubagentActivationSpec): Promise<SubagentActivation>;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* @
|
|
151
|
-
* @
|
|
148
|
+
* Resolve the root shared by an Agent and its other agents in its subagent tree.
|
|
149
|
+
* @param caller - exact live Agent whose subagent ancestry selects the tree.
|
|
150
|
+
* @returns the live root; ordinary Session forks lead independent trees.
|
|
151
|
+
* @throws when the caller or its runtime owner is unavailable.
|
|
152
152
|
*/
|
|
153
|
-
|
|
153
|
+
rootOf(caller: Agent): Agent;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* @
|
|
161
|
-
|
|
155
|
+
* Report the model-facing names of a live tree member and its direct creator.
|
|
156
|
+
* The root is `lead`; a descendant is the slash-separated path of names from
|
|
157
|
+
* the root, or its Session id when it or a creator below the root has no name.
|
|
158
|
+
* @param agent - exact live root or resident tree member.
|
|
159
|
+
* @returns the member's name and, for a descendant, its creator's name.
|
|
160
|
+
* @throws when the caller or its runtime owner is unavailable.
|
|
161
|
+
*/
|
|
162
|
+
namesOf(agent: Agent): SubagentMemberNames;
|
|
163
|
+
/**
|
|
164
|
+
* Resolve a model-supplied agent reference within the caller's tree. `lead`
|
|
165
|
+
* selects the root and a slash-separated path is looked up through the
|
|
166
|
+
* catalogs along it. Any other text that is not a name in the tree is
|
|
167
|
+
* returned as a Session id, because a single token can be one; a
|
|
168
|
+
* slash-separated address never is, so an unmatched path fails instead of
|
|
169
|
+
* reaching a member lookup as an unknown id. Resolution grants no authority:
|
|
170
|
+
* messaging, interruption, and assignment authorize the result.
|
|
171
|
+
* @param caller - exact live Agent whose tree root anchors the lookup.
|
|
172
|
+
* @param name - `lead`, a full name from the root, or a Session id.
|
|
173
|
+
* @param signal - cancellation forwarded to each catalog read.
|
|
174
|
+
* @returns the referenced Session id.
|
|
175
|
+
* @throws {@link SubagentError} `AGENT_NAME_NOT_FOUND` when a path names no member;
|
|
176
|
+
* when the caller's root is unavailable; or when a catalog along the path cannot be read.
|
|
177
|
+
*/
|
|
178
|
+
resolveName(caller: Agent, name: string, signal: AbortSignal): Promise<SessionId>;
|
|
179
|
+
/**
|
|
180
|
+
* Join progressing subagent tree work for its root. Idle members with parked input
|
|
181
|
+
* stay resident without delaying host completion. Ordinary members return false.
|
|
182
|
+
* @param root - exact live subagent tree root whose member work is awaited.
|
|
183
|
+
* @returns whether work was joined; hosts recheck root idle after true.
|
|
184
|
+
*/
|
|
185
|
+
waitForTreeWork(root: Agent): Promise<boolean>;
|
|
186
|
+
/**
|
|
187
|
+
* Steer one model-authored message to another member of the same subagent tree.
|
|
188
|
+
* A running target receives it at its next step; an idle target starts a turn.
|
|
189
|
+
* A cold target resumes under its runtime subagent tree root without restoring
|
|
190
|
+
* its creation ancestors. Sender identity is rechecked before inbox acceptance; cancellation
|
|
191
|
+
* stops only pre-acceptance work and never retracts an accepted message.
|
|
192
|
+
* @param sender - exact live root or resident continuable Agent originating the message.
|
|
193
|
+
* @param targetId - another root or continuable member's durable Session id.
|
|
162
194
|
* @param content - model-authored content to deliver.
|
|
163
195
|
* @param options - caller cancellation before inbox acceptance.
|
|
164
196
|
* @returns the accepted message's inbox id.
|
|
165
|
-
* @throws when
|
|
166
|
-
* or the message was not admitted.
|
|
197
|
+
* @throws when the target is outside the tree, cannot resume, or rejects input.
|
|
167
198
|
*/
|
|
168
199
|
sendMessage(sender: Agent, targetId: SessionId, content: ContentBlock[], options: SubagentSendMessageOptions): Promise<MessageId>;
|
|
169
200
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* widening the public Service Definition or impersonating an Agent sender.
|
|
173
|
-
* @param parent - exact live direct parent authorizing delivery.
|
|
174
|
-
* @param childId - durable direct-child session id.
|
|
175
|
-
* @param content - host-authored content to deliver.
|
|
176
|
-
* @param source - durable host-protocol source descriptor.
|
|
177
|
-
* @param signal - caller cancellation before inbox acceptance.
|
|
178
|
-
* @param delivery - Queue as a distinct turn or Steer at the nearest step.
|
|
179
|
-
* @returns the accepted message's inbox id.
|
|
180
|
-
*/
|
|
181
|
-
private [deliverSubagentPrompt];
|
|
182
|
-
/**
|
|
183
|
-
* Interrupt one live child's current execution under a human parent
|
|
184
|
-
* address or an exact live ancestor Agent. Fire-and-return: the cancel
|
|
201
|
+
* Interrupt one live child's current execution under a trusted user
|
|
202
|
+
* operation or an exact live ancestor Agent. Fire-and-return: the cancel
|
|
185
203
|
* signal is issued before this returns, but the target may keep running
|
|
186
204
|
* until it observes the signal. Unclaimed pending inbox work, the Activation,
|
|
187
205
|
* and published descendants are preserved; claimed work is not requeued.
|
|
@@ -190,43 +208,20 @@ export declare class SubagentRuntime extends TypertRemoteService {
|
|
|
190
208
|
* is an accepted no-op, as is a manager-less composition, which cannot own a
|
|
191
209
|
* live Activation.
|
|
192
210
|
* @param targetSessionId - the durable child session id to interrupt.
|
|
193
|
-
* @param authority -
|
|
211
|
+
* @param authority - a trusted user operation or exact live ancestor Agent.
|
|
194
212
|
* @throws {SubagentError} `UNAUTHORIZED` when the authority does not own the
|
|
195
213
|
* live target.
|
|
196
214
|
*/
|
|
197
215
|
interrupt(targetSessionId: SessionId, authority: SubagentInterruptAuthority): void;
|
|
198
216
|
/**
|
|
199
|
-
* Close
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* @param parents - exact host-owned parent Agents entering teardown.
|
|
205
|
-
* @returns once every retained descendant activation released its execution handle.
|
|
217
|
+
* Close admission and stop all instances in the selected subagent trees, then await
|
|
218
|
+
* pending startup and cleanup. Ordinary members are ignored. The cutoff lasts
|
|
219
|
+
* until each exact root leaves the registry; unrelated subagent trees remain live.
|
|
220
|
+
* @param parents - exact live subagent tree roots entering teardown.
|
|
221
|
+
* @returns once all admitted startup and member cleanup have settled.
|
|
206
222
|
* @throws an aggregate error after all branches settle when any failed.
|
|
207
223
|
*/
|
|
208
224
|
drainDescendants(parents: readonly Agent[]): Promise<void>;
|
|
209
|
-
/**
|
|
210
|
-
* Release selected resident direct children of one exact live
|
|
211
|
-
* parent. Other children of the same parent remain admitted and resident.
|
|
212
|
-
* Absent targets and a manager-less composition are accepted no-ops.
|
|
213
|
-
* @param parent - exact live direct parent authorizing the selected release.
|
|
214
|
-
* @param childIds - durable direct-child ids to release when resident.
|
|
215
|
-
* @returns once every selected activation released its execution handle.
|
|
216
|
-
* @throws {SubagentError} `UNAUTHORIZED` when a resident target belongs to a
|
|
217
|
-
* different parent or the supplied parent identity is stale.
|
|
218
|
-
*/
|
|
219
|
-
drainChildren(parent: Agent, childIds: readonly SessionId[]): Promise<void>;
|
|
220
|
-
/**
|
|
221
|
-
* Read the parent's durable direct-child catalog without loading or resuming an Agent.
|
|
222
|
-
* The service owns and releases the live-preferred Session observation.
|
|
223
|
-
* @param parentSessionId - parent whose direct children are requested.
|
|
224
|
-
* @param signal - cancellation forwarded to the Session query.
|
|
225
|
-
* @returns catalog children in parent event order.
|
|
226
|
-
* @throws {@link SubagentError} when query or catalog projection is unavailable.
|
|
227
|
-
* @throws SessionQueryError when the parent cannot be read or the query is cancelled.
|
|
228
|
-
*/
|
|
229
|
-
listChildren(parentSessionId: SessionId, signal?: AbortSignal): Promise<SubagentCatalogEntry[]>;
|
|
230
225
|
/**
|
|
231
226
|
* Recursively list reachable parent catalogs in stable pre-order, preserving
|
|
232
227
|
* each catalog's event order. Each row carries its catalog parent and depth;
|
|
@@ -245,8 +240,8 @@ export declare class SubagentRuntime extends TypertRemoteService {
|
|
|
245
240
|
*/
|
|
246
241
|
listDescendants(rootSessionId: SessionId, signal?: AbortSignal): Promise<SubagentDescendantListEntry[]>;
|
|
247
242
|
/**
|
|
248
|
-
* Deliver one browser-authored message to a continuable child through
|
|
249
|
-
*
|
|
243
|
+
* Deliver one browser-authored message to a continuable child through its
|
|
244
|
+
* live subagent tree root, retaining the caller-minted request identity and
|
|
250
245
|
* validated browser zone on the accepted message. Success identifies the
|
|
251
246
|
* message the child's inbox accepted; later execution is independent of this
|
|
252
247
|
* call. Queue delivery targets a later turn; steer delivery targets the
|
|
@@ -254,30 +249,26 @@ export declare class SubagentRuntime extends TypertRemoteService {
|
|
|
254
249
|
* Image parts are admitted and persisted through the attachment store
|
|
255
250
|
* before delivery, and the child's model must accept image input.
|
|
256
251
|
* Cold resume at capacity rejects with `subagent/delivery-unavailable`.
|
|
257
|
-
*
|
|
252
|
+
* Access is checked on the target Session before attachment admission or restoration.
|
|
253
|
+
* @param request - target id, delivery, minted identity, content, and optional browser zone.
|
|
258
254
|
* @param signal - carrier cancellation, owning the call until inbox acceptance.
|
|
259
255
|
* @returns the accepted message's inbox identity.
|
|
260
256
|
* @throws {RemoteError} `gateway/bad-request`, `subagent/attachment-invalid`,
|
|
261
|
-
* `subagent/invalid-time-zone`,
|
|
257
|
+
* `subagent/invalid-time-zone`,
|
|
262
258
|
* `subagent/not-resumable`, `subagent/unauthorized`,
|
|
263
259
|
* `subagent/delivery-unavailable`, `gateway/cancelled`, or `gateway/internal`.
|
|
264
260
|
*/
|
|
265
261
|
prompt(request: SubagentPromptRequest, signal: AbortSignal): Promise<SubagentPromptReceipt>;
|
|
266
262
|
/**
|
|
267
|
-
* Remote face of {@link interrupt}
|
|
268
|
-
* catalog, history, persistence, or parent Agent lookup runs
|
|
269
|
-
* primitive alone authorizes the address against the live Activation, which
|
|
270
|
-
* is what keeps a live child interruptible while its parent Agent is offline.
|
|
263
|
+
* Remote face of {@link interrupt}, authorized on the target Session by the Gateway.
|
|
264
|
+
* No catalog, history, persistence, or parent Agent lookup runs.
|
|
271
265
|
* Absent, idle, and already-completed targets are accepted no-ops there.
|
|
272
266
|
* @param childSessionId - durable child session id to interrupt.
|
|
273
|
-
* @param parentSessionId - durable direct parent whose authority is claimed.
|
|
274
|
-
* @param mode - required continuable-address discriminator.
|
|
275
267
|
* @returns acknowledgement that the cancel signal was admitted, not that the target is quiescent.
|
|
276
268
|
* @throws {RemoteError} `gateway/bad-request` for an empty id,
|
|
277
|
-
* `subagent/unauthorized` when the address does not own the live target,
|
|
278
269
|
* otherwise `gateway/internal`.
|
|
279
270
|
*/
|
|
280
|
-
|
|
271
|
+
interruptByUser(childSessionId: SessionId): SubagentInterruptReceipt;
|
|
281
272
|
/**
|
|
282
273
|
* Register a provider under its name. Registration is effect-scoped and HMR
|
|
283
274
|
* safe; removing a provider blocks new starts but does not revoke runs that
|
|
@@ -293,26 +284,12 @@ export declare class SubagentRuntime extends TypertRemoteService {
|
|
|
293
284
|
* @returns the provider, or undefined when absent.
|
|
294
285
|
*/
|
|
295
286
|
getProvider(name: string): SubagentProvider | undefined;
|
|
296
|
-
/**
|
|
297
|
-
|
|
298
|
-
* @returns the registered names.
|
|
299
|
-
*/
|
|
300
|
-
list(): string[];
|
|
301
|
-
/**
|
|
302
|
-
* Resolve one provider's detached continuable-creation contribution. Method
|
|
303
|
-
* presence on the provider IS the capability, so a provider without it is
|
|
304
|
-
* rejected before the manager reserves any child resources.
|
|
305
|
-
*/
|
|
306
|
-
private prepareContinuable;
|
|
287
|
+
/** A pending start must use the exact provider whose capabilities were checked. */
|
|
288
|
+
private assertProviderCurrent;
|
|
307
289
|
/** Look up a provider for dispatch or fail loud. */
|
|
308
290
|
private expectProvider;
|
|
309
291
|
/** Resolve the subagent manager or fail loud. */
|
|
310
292
|
private requireManager;
|
|
311
|
-
/**
|
|
312
|
-
* Build the lifecycle observer for one continuable Activation's residency
|
|
313
|
-
* epoch, so the manager publishes its edges without owning event dispatch.
|
|
314
|
-
*/
|
|
315
|
-
private observeActivation;
|
|
316
293
|
/** Reject the first requested capability that the provider lacks. */
|
|
317
294
|
private assertCapabilities;
|
|
318
295
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAEnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAKxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAEpD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,EAAuB,mBAAmB,EAA+B,MAAM,kCAAkC,CAAA;AAIxH,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EAEtB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAEV,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAE3B,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAKrE,YAAY,EAAE,MAAM,cAAc,CAAA;AAClC,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,mBAAmB,EAAE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