@masons/agent-network 0.6.15 → 0.6.17

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 (48) hide show
  1. package/dist/_vendor/runtime-adapter-client/conformance.d.ts +8 -0
  2. package/dist/_vendor/runtime-adapter-client/conformance.d.ts.map +1 -0
  3. package/dist/_vendor/runtime-adapter-client/conformance.js +75 -0
  4. package/dist/_vendor/runtime-adapter-client/icm.d.ts +6 -0
  5. package/dist/_vendor/runtime-adapter-client/icm.d.ts.map +1 -0
  6. package/dist/_vendor/runtime-adapter-client/icm.js +86 -0
  7. package/dist/_vendor/runtime-adapter-client/index.d.ts +7 -0
  8. package/dist/_vendor/runtime-adapter-client/index.d.ts.map +1 -0
  9. package/dist/_vendor/runtime-adapter-client/index.js +6 -0
  10. package/dist/_vendor/runtime-adapter-client/runtime-adapter-api.d.ts +301 -0
  11. package/dist/_vendor/runtime-adapter-client/runtime-adapter-api.d.ts.map +1 -0
  12. package/dist/_vendor/runtime-adapter-client/runtime-adapter-api.js +3214 -0
  13. package/dist/_vendor/runtime-adapter-client/send-admission.d.ts +89 -0
  14. package/dist/_vendor/runtime-adapter-client/send-admission.d.ts.map +1 -0
  15. package/dist/_vendor/runtime-adapter-client/send-admission.js +169 -0
  16. package/dist/_vendor/runtime-adapter-client/types.d.ts +659 -0
  17. package/dist/_vendor/runtime-adapter-client/types.d.ts.map +1 -0
  18. package/dist/_vendor/runtime-adapter-client/types.js +33 -0
  19. package/dist/_vendor/runtime-adapter-client/work-target.d.ts +5 -0
  20. package/dist/_vendor/runtime-adapter-client/work-target.d.ts.map +1 -0
  21. package/dist/_vendor/runtime-adapter-client/work-target.js +47 -0
  22. package/dist/channel-setup.d.ts.map +1 -1
  23. package/dist/channel-setup.js +0 -1
  24. package/dist/channel.d.ts.map +1 -1
  25. package/dist/channel.js +105 -29
  26. package/dist/cli-setup.d.ts.map +1 -1
  27. package/dist/cli-setup.js +0 -1
  28. package/dist/connector-client.d.ts +2 -1
  29. package/dist/connector-client.d.ts.map +1 -1
  30. package/dist/connector-client.js +6 -1
  31. package/dist/handoff.d.ts +0 -2
  32. package/dist/handoff.d.ts.map +1 -1
  33. package/dist/handoff.js +0 -3
  34. package/dist/plugin.d.ts +1 -1
  35. package/dist/plugin.d.ts.map +1 -1
  36. package/dist/plugin.js +15 -8
  37. package/dist/services-retained-recipient.d.ts +58 -0
  38. package/dist/services-retained-recipient.d.ts.map +1 -0
  39. package/dist/services-retained-recipient.js +324 -0
  40. package/dist/turn-context.d.ts +2 -0
  41. package/dist/turn-context.d.ts.map +1 -1
  42. package/dist/turn-context.js +9 -0
  43. package/dist/types.d.ts +5 -1
  44. package/dist/types.d.ts.map +1 -1
  45. package/dist/types.js +3 -0
  46. package/dist/version.d.ts +1 -1
  47. package/dist/version.js +1 -1
  48. package/package.json +3 -3
@@ -0,0 +1,8 @@
1
+ import type { RuntimeWorkTargetRef } from "./types.js";
2
+ export declare const PEER_VISIBLE_RUNTIME_METADATA_KEYS: readonly ["runtime_session_id", "runtimeSessionId", "runtime_session_identity_key", "runtimeSessionIdentityKey", "runtime_work_target_ref", "runtimeWorkTargetRef", "assignment_id", "assignmentId", "reply_request_id", "replyRequestId", "source_message_id", "sourceMessageId", "endpoint_id", "endpointId", "source_endpoint_id", "sourceEndpointId", "target_endpoint_id", "targetEndpointId", "projection_endpoint_id", "projectionEndpointId", "broker_projection_token", "brokerProjectionToken", "wakeup_ref", "wakeupRef", "threadId", "thread_id", "codexThreadId", "codex_thread_id", "turnId", "turn_id", "codexTurnId", "codex_turn_id"];
3
+ export declare function runtimeWorkTargetMatchesSession(targetRef: RuntimeWorkTargetRef, runtimeSessionId: string): boolean;
4
+ export declare function assertRuntimeWorkTargetMatchesSession(targetRef: RuntimeWorkTargetRef, runtimeSessionId: string): void;
5
+ export declare function assertNoSiblingRuntimeTarget(selected: RuntimeWorkTargetRef, candidate: RuntimeWorkTargetRef): void;
6
+ export declare function findPeerVisibleRuntimeMetadataKeys(value: unknown): string[];
7
+ export declare function assertNoPeerVisibleRuntimeMetadata(value: unknown): void;
8
+ //# sourceMappingURL=conformance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conformance.d.ts","sourceRoot":"","sources":["../../../src/_vendor/runtime-adapter-client/conformance.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAGvD,eAAO,MAAM,kCAAkC,wnBAiCrC,CAAC;AAEX,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,oBAAoB,EAC/B,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAKT;AAED,wBAAgB,qCAAqC,CACnD,SAAS,EAAE,oBAAoB,EAC/B,gBAAgB,EAAE,MAAM,GACvB,IAAI,CAIN;AAED,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,oBAAoB,GAC9B,IAAI,CAIN;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,EAAE,CAI3E;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAOvE"}
@@ -0,0 +1,75 @@
1
+ import { sameRuntimeWorkTargetRef } from "./work-target.js";
2
+ export const PEER_VISIBLE_RUNTIME_METADATA_KEYS = [
3
+ "runtime_session_id",
4
+ "runtimeSessionId",
5
+ "runtime_session_identity_key",
6
+ "runtimeSessionIdentityKey",
7
+ "runtime_work_target_ref",
8
+ "runtimeWorkTargetRef",
9
+ "assignment_id",
10
+ "assignmentId",
11
+ "reply_request_id",
12
+ "replyRequestId",
13
+ "source_message_id",
14
+ "sourceMessageId",
15
+ "endpoint_id",
16
+ "endpointId",
17
+ "source_endpoint_id",
18
+ "sourceEndpointId",
19
+ "target_endpoint_id",
20
+ "targetEndpointId",
21
+ "projection_endpoint_id",
22
+ "projectionEndpointId",
23
+ "broker_projection_token",
24
+ "brokerProjectionToken",
25
+ "wakeup_ref",
26
+ "wakeupRef",
27
+ "threadId",
28
+ "thread_id",
29
+ "codexThreadId",
30
+ "codex_thread_id",
31
+ "turnId",
32
+ "turn_id",
33
+ "codexTurnId",
34
+ "codex_turn_id",
35
+ ];
36
+ export function runtimeWorkTargetMatchesSession(targetRef, runtimeSessionId) {
37
+ return (targetRef.background_exchange_mode !== "resident_endpoint" &&
38
+ targetRef.runtime_session_id === runtimeSessionId);
39
+ }
40
+ export function assertRuntimeWorkTargetMatchesSession(targetRef, runtimeSessionId) {
41
+ if (!runtimeWorkTargetMatchesSession(targetRef, runtimeSessionId)) {
42
+ throw new Error("runtime work target does not match selected session");
43
+ }
44
+ }
45
+ export function assertNoSiblingRuntimeTarget(selected, candidate) {
46
+ if (!sameRuntimeWorkTargetRef(selected, candidate)) {
47
+ throw new Error("candidate runtime work target is a sibling target");
48
+ }
49
+ }
50
+ export function findPeerVisibleRuntimeMetadataKeys(value) {
51
+ const found = new Set();
52
+ visitJson(value, found);
53
+ return [...found].sort();
54
+ }
55
+ export function assertNoPeerVisibleRuntimeMetadata(value) {
56
+ const keys = findPeerVisibleRuntimeMetadataKeys(value);
57
+ if (keys.length > 0) {
58
+ throw new Error(`peer-visible runtime metadata keys found: ${keys.join(", ")}`);
59
+ }
60
+ }
61
+ function visitJson(value, found) {
62
+ if (Array.isArray(value)) {
63
+ for (const item of value)
64
+ visitJson(item, found);
65
+ return;
66
+ }
67
+ if (!value || typeof value !== "object")
68
+ return;
69
+ for (const [key, child] of Object.entries(value)) {
70
+ if (PEER_VISIBLE_RUNTIME_METADATA_KEYS.includes(key)) {
71
+ found.add(key);
72
+ }
73
+ visitJson(child, found);
74
+ }
75
+ }
@@ -0,0 +1,6 @@
1
+ import type { RuntimeSessionDisplayMetadata } from "./types.js";
2
+ export declare const RUNTIME_SESSION_DISPLAY_TITLE_SOURCES: readonly ["session_name", "task_hint", "workspace", "tracking_ref", "fallback"];
3
+ export declare function parseRuntimeSessionDisplayMetadata(value: unknown): RuntimeSessionDisplayMetadata | null;
4
+ export declare function parseRuntimeSessionIdentityKey(value: unknown): string | null;
5
+ export declare function isRuntimeDebugIdentifierTitle(title: string, identifiers: Iterable<string | undefined>): boolean;
6
+ //# sourceMappingURL=icm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icm.d.ts","sourceRoot":"","sources":["../../../src/_vendor/runtime-adapter-client/icm.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEV,6BAA6B,EAE9B,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,qCAAqC,iFAMc,CAAC;AAEjE,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,OAAO,GACb,6BAA6B,GAAG,IAAI,CAiBtC;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAI5E;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GACxC,OAAO,CAaT"}
@@ -0,0 +1,86 @@
1
+ export const RUNTIME_SESSION_DISPLAY_TITLE_SOURCES = [
2
+ "session_name",
3
+ "task_hint",
4
+ "workspace",
5
+ "tracking_ref",
6
+ "fallback",
7
+ ];
8
+ export function parseRuntimeSessionDisplayMetadata(value) {
9
+ if (!isRecord(value))
10
+ return null;
11
+ if (typeof value.title !== "string" ||
12
+ value.title.trim().length === 0 ||
13
+ !RUNTIME_SESSION_DISPLAY_TITLE_SOURCES.includes(value.title_source)) {
14
+ return null;
15
+ }
16
+ const context = parseRuntimeSessionDisplayContext(value.context);
17
+ return {
18
+ title: value.title,
19
+ title_source: value.title_source,
20
+ ...(context !== undefined && context !== null && { context }),
21
+ };
22
+ }
23
+ export function parseRuntimeSessionIdentityKey(value) {
24
+ if (typeof value !== "string")
25
+ return null;
26
+ const trimmed = value.trim();
27
+ return trimmed.length > 0 ? trimmed : null;
28
+ }
29
+ export function isRuntimeDebugIdentifierTitle(title, identifiers) {
30
+ const trimmed = title.trim();
31
+ for (const identifier of identifiers) {
32
+ const raw = identifier?.trim();
33
+ if (!raw)
34
+ continue;
35
+ if (trimmed === raw)
36
+ return true;
37
+ if (raw.length >= 8 && trimmed.includes(raw))
38
+ return true;
39
+ if (raw.length >= 8) {
40
+ const rawPrefix = raw.slice(0, 8);
41
+ if (containsToken(trimmed, rawPrefix))
42
+ return true;
43
+ }
44
+ }
45
+ return false;
46
+ }
47
+ function containsToken(value, token) {
48
+ return new RegExp(`(^|[^A-Za-z0-9_])${escapeRegExp(token)}($|[^A-Za-z0-9_])`).test(value);
49
+ }
50
+ function escapeRegExp(value) {
51
+ return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
52
+ }
53
+ function parseRuntimeSessionDisplayContext(value) {
54
+ if (value === undefined)
55
+ return undefined;
56
+ if (!isRecord(value))
57
+ return null;
58
+ if ((value.display_label !== undefined &&
59
+ typeof value.display_label !== "string") ||
60
+ (value.workspace_label !== undefined &&
61
+ typeof value.workspace_label !== "string") ||
62
+ (value.branch !== undefined && typeof value.branch !== "string") ||
63
+ (value.tracking_ref !== undefined &&
64
+ typeof value.tracking_ref !== "string") ||
65
+ (value.runtime_kind !== undefined && typeof value.runtime_kind !== "string")) {
66
+ return null;
67
+ }
68
+ return {
69
+ ...(typeof value.display_label === "string" && {
70
+ display_label: value.display_label,
71
+ }),
72
+ ...(typeof value.workspace_label === "string" && {
73
+ workspace_label: value.workspace_label,
74
+ }),
75
+ ...(typeof value.branch === "string" && { branch: value.branch }),
76
+ ...(typeof value.tracking_ref === "string" && {
77
+ tracking_ref: value.tracking_ref,
78
+ }),
79
+ ...(typeof value.runtime_kind === "string" && {
80
+ runtime_kind: value.runtime_kind,
81
+ }),
82
+ };
83
+ }
84
+ function isRecord(value) {
85
+ return typeof value === "object" && value !== null && !Array.isArray(value);
86
+ }
@@ -0,0 +1,7 @@
1
+ export * from "./conformance.js";
2
+ export * from "./icm.js";
3
+ export * from "./runtime-adapter-api.js";
4
+ export * from "./send-admission.js";
5
+ export * from "./types.js";
6
+ export * from "./work-target.js";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_vendor/runtime-adapter-client/index.ts"],"names":[],"mappings":"AAMA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from "./conformance.js";
2
+ export * from "./icm.js";
3
+ export * from "./runtime-adapter-api.js";
4
+ export * from "./send-admission.js";
5
+ export * from "./types.js";
6
+ export * from "./work-target.js";
@@ -0,0 +1,301 @@
1
+ import { type ListOwnedRuntimeEndpointsResponse, type OwnedRuntimeEndpointView, type RegisterRuntimeEndpointParams, type RegisterRuntimeEndpointResponse, type RuntimeAdapterEventOutcome, type RuntimeAdapterProcessingStateEvent, type RuntimeAssignmentReplyIntentParams, type RuntimeAssignmentReplyIntentResponse, type RuntimeClaimCandidatesParams, type RuntimeClaimCandidatesResponse, type RuntimeDispatchUndispatchedParams, type RuntimeDispatchUndispatchedResponse, type RuntimeExactTargetPresentationAcquireParams, type RuntimeExactTargetPresentationAcquireResponse, type RuntimeExactTargetPresentationEvidenceEvent, type RuntimeExactTargetPresentationReleaseEvent, type RuntimeExactTargetPresentationReleaseOutcome, type RuntimeExactTargetRecipientAdmissionEvidenceEvent, type RuntimeExactTargetRecipientAdmissionEvidenceOutcome, type RuntimeNodeRecipientMessageAcquireResponse, type RuntimeNodeRecipientMessageAdmissionEvidenceEvent, type RuntimeNodeRecipientMessageAdmissionOutcome, type RuntimeOutboundMessageIntentParams, type RuntimeOutboundMessageIntentResponse, type RuntimeOwnerActionHandoffInitParams, type RuntimeOwnerActionHandoffInitResponse, type RuntimeOwnerActionHandoffPollParams, type RuntimeOwnerActionHandoffPollResponse, type RuntimeSelfClaimOutcome, type RuntimeSelfClaimParams, type RuntimeSelfClaimReleaseParams, type RuntimeSelfSettleOutcome, type RuntimeSelfSettleParams, type RuntimeServicesRetainedNodeRecipientAcquireParams, type RuntimeServicesRetainedNodeRecipientAcquireResponse, type RuntimeServicesRetainedNodeRecipientConsumptionEvent, type RuntimeServicesRetainedNodeRecipientConsumptionOutcome, type RuntimeServicesRetainedNodeRecipientReplyEvent, type RuntimeServicesRetainedNodeRecipientReplyOutcome, type RuntimeSessionConversationHistoryParams, type RuntimeSessionConversationHistoryResponse, type RuntimeUndispatchedDismissParams, type RuntimeUndispatchedDismissResponse, type TransitionRuntimeEndpointStateParams, type TransitionRuntimeEndpointStateResponse, type UnregisterRuntimeEndpointResponse, type UpdateRuntimeEndpointDisplayMetadataParams } from "./types.js";
2
+ export type RuntimeAdapterFetch = typeof fetch;
3
+ export declare const TARGET_MESSAGING_MEDIA_TYPE = "application/vnd.masons.icm-messaging-v1+json";
4
+ export type RuntimeAdapterRequestKind = "register_runtime_endpoint" | "heartbeat_runtime_endpoint" | "transition_runtime_endpoint_state" | "update_runtime_endpoint_display_metadata" | "unregister_runtime_endpoint" | "list_owned_runtime_endpoints" | "get_owned_runtime_endpoint" | "list_runtime_claim_candidates" | "read_runtime_session_conversation_history" | "dispatch_runtime_undispatched" | "init_runtime_owner_action_handoff" | "poll_runtime_owner_action_handoff" | "claim_runtime_self_assignment" | "release_runtime_self_assignment" | "settle_runtime_mailbox_item" | "dismiss_runtime_undispatched" | "create_runtime_assignment_reply_intent" | "create_runtime_outbound_message_intent" | "list_runtime_directed_session_targets" | "submit_runtime_target_send" | "read_runtime_target_attempt_outcome" | "read_runtime_target_message_outcome" | "acquire_node_recipient_message" | "submit_node_recipient_message_admission_evidence" | "acquire_services_retained_node_recipient_message" | "consume_services_retained_node_recipient_message" | "reply_services_retained_node_recipient_message" | "acquire_exact_target_presentation" | "submit_exact_target_recipient_admission_evidence" | "submit_exact_target_presentation_evidence" | "release_exact_target_presentation" | "emit_runtime_processing_state";
5
+ export interface RuntimeAdapterClientConfig {
6
+ apiHost: string;
7
+ fetch?: RuntimeAdapterFetch;
8
+ requestTimeoutMs?: Partial<Record<RuntimeAdapterRequestKind, number>>;
9
+ }
10
+ export interface RuntimeEndpointReadOptions {
11
+ endpointNonce?: string;
12
+ }
13
+ export declare class RuntimeAdapterApiError extends Error {
14
+ readonly status: number;
15
+ readonly code: string;
16
+ constructor(status: number, code: string, message: string);
17
+ }
18
+ export declare class RuntimeAdapterNetworkError extends Error {
19
+ readonly code: "timeout" | "network";
20
+ readonly detail: string;
21
+ readonly requestKind: RuntimeAdapterRequestKind;
22
+ constructor(code: "timeout" | "network", detail: string, requestKind: RuntimeAdapterRequestKind);
23
+ }
24
+ export interface RuntimeDirectedSessionTargetListParams {
25
+ endpoint_id: string;
26
+ endpoint_nonce: string;
27
+ continuation?: string;
28
+ }
29
+ export type RuntimeDirectedSessionResolutionQuery = {
30
+ kind: "node_match";
31
+ match: {
32
+ kind: "canonical_handle_exact";
33
+ handle: string;
34
+ };
35
+ } | {
36
+ kind: "node_sessions";
37
+ node_ref: string;
38
+ match?: {
39
+ kind: "approved_display_exact";
40
+ label: string;
41
+ };
42
+ } | {
43
+ kind: "browse_nodes";
44
+ };
45
+ export interface RuntimeDirectedSessionResolutionParams extends RuntimeDirectedSessionTargetListParams {
46
+ query: RuntimeDirectedSessionResolutionQuery;
47
+ }
48
+ export type RuntimeDirectedSessionLabelOrigin = "approved_display" | "approved_display_with_query_discriminator" | "query_discriminator_only";
49
+ export type RuntimeTargetSendSource = {
50
+ kind: "node";
51
+ node_ref: string;
52
+ } | {
53
+ kind: "exact_session";
54
+ session_ref: string;
55
+ };
56
+ export interface RuntimeDirectedSessionTargetDirectory {
57
+ nodes: Array<{
58
+ node_ref: string;
59
+ display: {
60
+ label: string;
61
+ label_origin: RuntimeDirectedSessionLabelOrigin;
62
+ };
63
+ coverage: "exact_sessions_complete" | "exact_sessions_not_applicable" | "exact_sessions_incomplete";
64
+ sessions: Array<{
65
+ display: {
66
+ label: string;
67
+ label_origin: RuntimeDirectedSessionLabelOrigin;
68
+ host_label?: string;
69
+ };
70
+ target_ref: string;
71
+ }>;
72
+ }>;
73
+ }
74
+ export interface RuntimeDirectedSessionTargetPage {
75
+ status: "exact_session_target_page";
76
+ contract_version: 1;
77
+ acting_source: RuntimeTargetSendSource;
78
+ traversal: {
79
+ query_kind: "all_owned_nodes";
80
+ traversal_ref: string;
81
+ page: number;
82
+ page_bound: 12;
83
+ entry_count: number;
84
+ choice_count: number;
85
+ complete: boolean;
86
+ expires_at: string;
87
+ continuation?: string;
88
+ };
89
+ nodes: RuntimeDirectedSessionTargetDirectory["nodes"];
90
+ }
91
+ export interface RuntimeDirectedSessionActionTargetRow {
92
+ node: {
93
+ node_ref: string;
94
+ display: {
95
+ label: string;
96
+ label_origin: RuntimeDirectedSessionLabelOrigin;
97
+ };
98
+ };
99
+ session: {
100
+ display: {
101
+ label: string;
102
+ label_origin: RuntimeDirectedSessionLabelOrigin;
103
+ host_label?: string;
104
+ };
105
+ };
106
+ last_message_at: string;
107
+ routes: Array<"exact_target_store">;
108
+ target_ref?: string;
109
+ }
110
+ export interface RuntimeDirectedSessionActionTargetPage {
111
+ status: "exact_session_action_target_projection";
112
+ contract_version: 2;
113
+ acting_source: RuntimeTargetSendSource;
114
+ current_online: {
115
+ status: "unavailable";
116
+ code: "receiver_evidence_provider_unavailable";
117
+ };
118
+ recent_conversations: {
119
+ status: "available";
120
+ traversal_ref: string;
121
+ page: number;
122
+ page_bound: 12;
123
+ entry_count: number;
124
+ choice_count: number;
125
+ complete: boolean;
126
+ expires_at: string;
127
+ continuation?: string;
128
+ rows: RuntimeDirectedSessionActionTargetRow[];
129
+ };
130
+ directory_access: {
131
+ status: "available";
132
+ contract_version: 1;
133
+ };
134
+ }
135
+ export type RuntimeDirectedSessionTargetCoverage = RuntimeDirectedSessionTargetDirectory["nodes"][number]["coverage"];
136
+ export interface RuntimeDirectedSessionResolutionNode {
137
+ node_ref: string;
138
+ display: {
139
+ label: string;
140
+ label_origin: RuntimeDirectedSessionLabelOrigin;
141
+ };
142
+ coverage: RuntimeDirectedSessionTargetCoverage;
143
+ }
144
+ export interface RuntimeDirectedSessionResolutionSession {
145
+ display: {
146
+ label: string;
147
+ label_origin: RuntimeDirectedSessionLabelOrigin;
148
+ host_label?: string;
149
+ };
150
+ target_ref: string;
151
+ }
152
+ export interface RuntimeDirectedSessionResolutionTraversal {
153
+ traversal_ref: string;
154
+ page: number;
155
+ page_bound: 12;
156
+ entry_count: number;
157
+ choice_count: number;
158
+ complete: boolean;
159
+ expires_at: string;
160
+ continuation?: string;
161
+ }
162
+ export type RuntimeDirectedSessionResolutionResponse = {
163
+ status: "runtime_node_target_resolution";
164
+ contract_version: 3;
165
+ acting_source: RuntimeTargetSendSource;
166
+ query: {
167
+ kind: "node_match";
168
+ match: "canonical_handle_exact";
169
+ handle: string;
170
+ };
171
+ outcome: "zero" | "one";
172
+ nodes: RuntimeDirectedSessionResolutionNode[];
173
+ } | {
174
+ status: "runtime_node_session_target_resolution";
175
+ contract_version: 3;
176
+ acting_source: RuntimeTargetSendSource;
177
+ query: {
178
+ kind: "node_sessions";
179
+ match: "approved_display_exact";
180
+ node_ref: string;
181
+ label: string;
182
+ };
183
+ node: RuntimeDirectedSessionResolutionNode;
184
+ outcome: "not_applicable" | "zero" | "one";
185
+ sessions: RuntimeDirectedSessionResolutionSession[];
186
+ } | {
187
+ status: "runtime_node_target_page";
188
+ contract_version: 3;
189
+ acting_source: RuntimeTargetSendSource;
190
+ query: {
191
+ kind: "browse_nodes";
192
+ };
193
+ traversal: RuntimeDirectedSessionResolutionTraversal;
194
+ nodes: RuntimeDirectedSessionResolutionNode[];
195
+ } | {
196
+ status: "runtime_node_session_target_page";
197
+ contract_version: 3;
198
+ acting_source: RuntimeTargetSendSource;
199
+ query: {
200
+ kind: "node_sessions";
201
+ node_ref: string;
202
+ };
203
+ node: RuntimeDirectedSessionResolutionNode;
204
+ traversal: RuntimeDirectedSessionResolutionTraversal;
205
+ sessions: RuntimeDirectedSessionResolutionSession[];
206
+ };
207
+ export interface RuntimeTargetSendInitiateParams {
208
+ send_request_id: string;
209
+ acting_source: RuntimeTargetSendSource;
210
+ content: string;
211
+ content_type: string;
212
+ send_intent: "initiate";
213
+ addressed_grain: "node" | "exact_session";
214
+ addressed_party_ref: string;
215
+ }
216
+ export type RuntimeTargetSenderAttemptOutcome = {
217
+ attempt_ref: string;
218
+ projection_etag: string;
219
+ outcome: "refused";
220
+ refusal_code: "not_authorized" | "identity_not_admissible" | "invalid_target" | "invalid_declaration" | "capability_not_current";
221
+ outcome_at: string;
222
+ } | {
223
+ attempt_ref: string;
224
+ projection_etag: string;
225
+ outcome: "refused";
226
+ refusal_code: "remote_definitive_refusal";
227
+ remote_refusal_decided_at: string;
228
+ local_outcome_recorded_at: string;
229
+ outcome_at: string;
230
+ } | {
231
+ attempt_ref: string;
232
+ projection_etag: string;
233
+ outcome: "placement_pending" | "placement_lapsed";
234
+ placement_deadline: string;
235
+ outcome_at: string;
236
+ } | {
237
+ attempt_ref: string;
238
+ projection_etag: string;
239
+ outcome: "dispatch_pending" | "acceptance_unconfirmed";
240
+ outcome_at: string;
241
+ };
242
+ interface RuntimeTargetSenderMessageOutcomeCommon {
243
+ message_ref: string;
244
+ conversation_ref: string;
245
+ projection_etag: string;
246
+ outcome_at: string;
247
+ placement: "placed";
248
+ }
249
+ export type RuntimeTargetSenderMessageOutcome = (RuntimeTargetSenderMessageOutcomeCommon & {
250
+ custody: "held";
251
+ hold_deadline: string;
252
+ }) | (RuntimeTargetSenderMessageOutcomeCommon & {
253
+ custody: "taken";
254
+ hold_deadline: string;
255
+ custody_decided_at: string;
256
+ }) | (RuntimeTargetSenderMessageOutcomeCommon & {
257
+ custody: "lapsed";
258
+ hold_deadline: string;
259
+ lapsed_at: string;
260
+ }) | (RuntimeTargetSenderMessageOutcomeCommon & {
261
+ custody: "taken";
262
+ remote_custody_decided_at: string;
263
+ local_outcome_recorded_at: string;
264
+ });
265
+ export type RuntimeTargetSendOutcome = RuntimeTargetSenderAttemptOutcome | RuntimeTargetSenderMessageOutcome;
266
+ export declare function registerRuntimeEndpoint(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RegisterRuntimeEndpointParams): Promise<RegisterRuntimeEndpointResponse>;
267
+ export declare function heartbeatRuntimeEndpoint(cfg: RuntimeAdapterClientConfig, runtimeKey: string, endpointId: string): Promise<Record<string, unknown>>;
268
+ export declare function transitionRuntimeEndpointState(cfg: RuntimeAdapterClientConfig, runtimeKey: string, endpointId: string, params: TransitionRuntimeEndpointStateParams): Promise<TransitionRuntimeEndpointStateResponse>;
269
+ export declare function updateRuntimeEndpointDisplayMetadata(cfg: RuntimeAdapterClientConfig, runtimeKey: string, endpointId: string, params: UpdateRuntimeEndpointDisplayMetadataParams): Promise<void>;
270
+ export declare function unregisterRuntimeEndpoint(cfg: RuntimeAdapterClientConfig, runtimeKey: string, endpointId: string, asNodeId?: string): Promise<UnregisterRuntimeEndpointResponse>;
271
+ export declare function listOwnedRuntimeEndpoints(cfg: RuntimeAdapterClientConfig, runtimeKey: string, asNodeId: string, options?: RuntimeEndpointReadOptions): Promise<ListOwnedRuntimeEndpointsResponse>;
272
+ export declare function getOwnedRuntimeEndpoint(cfg: RuntimeAdapterClientConfig, runtimeKey: string, endpointId: string, asNodeId: string, options?: RuntimeEndpointReadOptions): Promise<OwnedRuntimeEndpointView>;
273
+ export declare function listRuntimeClaimCandidates(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeClaimCandidatesParams): Promise<RuntimeClaimCandidatesResponse>;
274
+ export declare function readRuntimeSessionConversationHistory(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeSessionConversationHistoryParams): Promise<RuntimeSessionConversationHistoryResponse>;
275
+ export declare function dispatchRuntimeUndispatched(cfg: RuntimeAdapterClientConfig, ownerAccessToken: string, params: RuntimeDispatchUndispatchedParams): Promise<RuntimeDispatchUndispatchedResponse>;
276
+ export declare function initRuntimeOwnerActionHandoff(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeOwnerActionHandoffInitParams): Promise<RuntimeOwnerActionHandoffInitResponse>;
277
+ export declare function pollRuntimeOwnerActionHandoff(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeOwnerActionHandoffPollParams): Promise<RuntimeOwnerActionHandoffPollResponse>;
278
+ export declare function claimRuntimeSelfAssignment(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeSelfClaimParams): Promise<RuntimeSelfClaimOutcome>;
279
+ export declare function releaseRuntimeSelfAssignment(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeSelfClaimReleaseParams): Promise<RuntimeAdapterEventOutcome>;
280
+ export declare function settleRuntimeMailboxItem(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeSelfSettleParams): Promise<RuntimeSelfSettleOutcome>;
281
+ export declare function dismissRuntimeUndispatched(cfg: RuntimeAdapterClientConfig, ownerAccessToken: string, params: RuntimeUndispatchedDismissParams): Promise<RuntimeUndispatchedDismissResponse>;
282
+ export declare function createRuntimeAssignmentReplyIntent(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeAssignmentReplyIntentParams): Promise<RuntimeAssignmentReplyIntentResponse>;
283
+ export declare function createRuntimeOutboundMessageIntent(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeOutboundMessageIntentParams): Promise<RuntimeOutboundMessageIntentResponse>;
284
+ export declare function listRuntimeDirectedSessionTargets(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeDirectedSessionTargetListParams): Promise<RuntimeDirectedSessionTargetPage>;
285
+ export declare function listRuntimeDirectedSessionActionTargets(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeDirectedSessionTargetListParams): Promise<RuntimeDirectedSessionActionTargetPage>;
286
+ export declare function resolveRuntimeDirectedSessionTargets(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeDirectedSessionResolutionParams): Promise<RuntimeDirectedSessionResolutionResponse>;
287
+ export declare function submitRuntimeTargetSend(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeTargetSendInitiateParams): Promise<RuntimeTargetSendOutcome>;
288
+ export declare function readRuntimeTargetAttemptOutcome(cfg: RuntimeAdapterClientConfig, runtimeKey: string, attemptRef: string): Promise<RuntimeTargetSendOutcome>;
289
+ export declare function readRuntimeTargetMessageOutcome(cfg: RuntimeAdapterClientConfig, runtimeKey: string, messageRef: string): Promise<RuntimeTargetSenderMessageOutcome>;
290
+ export declare function emitRuntimeProcessingState(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeAdapterProcessingStateEvent): Promise<RuntimeAdapterEventOutcome>;
291
+ export declare function acquireNodeRecipientMessage(cfg: RuntimeAdapterClientConfig, runtimeKey: string): Promise<RuntimeNodeRecipientMessageAcquireResponse>;
292
+ export declare function submitNodeRecipientMessageAdmissionEvidence(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeNodeRecipientMessageAdmissionEvidenceEvent): Promise<RuntimeNodeRecipientMessageAdmissionOutcome>;
293
+ export declare function acquireServicesRetainedNodeRecipientMessage(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeServicesRetainedNodeRecipientAcquireParams): Promise<RuntimeServicesRetainedNodeRecipientAcquireResponse>;
294
+ export declare function consumeServicesRetainedNodeRecipientMessage(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeServicesRetainedNodeRecipientConsumptionEvent): Promise<RuntimeServicesRetainedNodeRecipientConsumptionOutcome>;
295
+ export declare function replyServicesRetainedNodeRecipientMessage(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeServicesRetainedNodeRecipientReplyEvent): Promise<RuntimeServicesRetainedNodeRecipientReplyOutcome>;
296
+ export declare function acquireExactTargetPresentation(cfg: RuntimeAdapterClientConfig, runtimeKey: string, params: RuntimeExactTargetPresentationAcquireParams): Promise<RuntimeExactTargetPresentationAcquireResponse>;
297
+ export declare function submitExactTargetRecipientAdmissionEvidence(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeExactTargetRecipientAdmissionEvidenceEvent): Promise<RuntimeExactTargetRecipientAdmissionEvidenceOutcome>;
298
+ export declare function submitExactTargetPresentationEvidence(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeExactTargetPresentationEvidenceEvent): Promise<RuntimeAdapterEventOutcome>;
299
+ export declare function releaseExactTargetPresentation(cfg: RuntimeAdapterClientConfig, runtimeKey: string, event: RuntimeExactTargetPresentationReleaseEvent): Promise<RuntimeExactTargetPresentationReleaseOutcome>;
300
+ export {};
301
+ //# sourceMappingURL=runtime-adapter-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-adapter-api.d.ts","sourceRoot":"","sources":["../../../src/_vendor/runtime-adapter-client/runtime-adapter-api.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAE7B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EAEpC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EAGvC,KAAK,kCAAkC,EACvC,KAAK,oCAAoC,EAEzC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EAEnC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,2CAA2C,EAChD,KAAK,6CAA6C,EAElD,KAAK,2CAA2C,EAChD,KAAK,0CAA0C,EAC/C,KAAK,4CAA4C,EACjD,KAAK,iDAAiD,EACtD,KAAK,mDAAmD,EAGxD,KAAK,0CAA0C,EAC/C,KAAK,iDAAiD,EAEtD,KAAK,2CAA2C,EAEhD,KAAK,kCAAkC,EACvC,KAAK,oCAAoC,EACzC,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,uBAA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