@multi-agent-protocol/sdk 0.0.12 → 0.1.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/dist/{index-BojLgS6o.d.cts → index-DHxPjZ_2.d.cts} +211 -4
- package/dist/{index-BojLgS6o.d.ts → index-DHxPjZ_2.d.ts} +211 -4
- package/dist/index.cjs +72 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -39
- package/dist/index.d.ts +39 -39
- package/dist/index.js +71 -5
- package/dist/index.js.map +1 -1
- package/dist/testing.cjs +25 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +25 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RequestId, M as MAPError, a as MAPErrorData, E as ErrorCategory, F as FederationBufferConfig, b as FederationEnvelope, c as Message, S as Stream, B as BaseConnectionOptions, P as ParticipantCapabilities, d as FederationRoutingConfig, e as EventType, C as ConnectResponseResult, f as SessionId, g as FederationAuth, h as FederationConnectResponseResult, i as FederationRouteResponseResult, j as ConnectionState, k as ParticipantId, l as ParticipantType, A as AgentId, m as ScopeId, n as Agent, o as Scope, p as Address, q as SubscriptionFilter, r as Event, s as AgentsGetResponseResult, t as AgentsListResponseResult, u as AgentsRegisterResponseResult, v as AgentsSpawnResponseResult, w as AgentsUnregisterResponseResult, x as AgentsUpdateResponseResult, y as ProtocolVersion, z as SessionInfo, D as DisconnectResponseResult, G as ScopesCreateResponseResult, H as ScopesJoinResponseResult, I as ScopesLeaveResponseResult, J as ScopesListResponseResult, K as MessageId, L as SendResponseResult, N as SubscriptionId, O as SubscribeResponseResult, U as UnsubscribeResponseResult, Q as AgentVisibility, T as ScopeVisibility, V as AgentState, W as MessageMeta, X as AgentConnection, Y as ACPAgentHandler, Z as ACPSessionNotification, _ as ACPRequestPermissionRequest, $ as ACPRequestPermissionResponse, a0 as ACPReadTextFileRequest, a1 as ACPReadTextFileResponse, a2 as ACPWriteTextFileRequest, a3 as ACPWriteTextFileResponse, a4 as ACPCreateTerminalRequest, a5 as ACPCreateTerminalResponse, a6 as ACPTerminalOutputRequest, a7 as ACPTerminalOutputResponse, a8 as ACPReleaseTerminalRequest, a9 as ACPReleaseTerminalResponse, aa as ACPWaitForTerminalExitRequest, ab as ACPWaitForTerminalExitResponse, ac as ACPKillTerminalCommandRequest, ad as ACPKillTerminalCommandResponse, ae as ACPSessionId } from './index-
|
|
2
|
-
export { af as ACPAgentCapabilities, ag as ACPAgentContext, ah as ACPAnnotations, ai as ACPAudioContent, aj as ACPAuthMethod, ak as ACPAuthenticateRequest, al as ACPAuthenticateResponse, am as ACPAvailableCommand, an as ACPAvailableCommandsUpdate, ao as ACPBlobResourceContents, ap as ACPCancelNotification, aq as ACPCancelledPermissionOutcome, ar as ACPCapability, as as ACPClientCapabilities, at as ACPClientHandlers, au as ACPContent, av as ACPContentBlock, aw as ACPContentChunk, ax as ACPContext, ay as ACPCurrentModeUpdate, az as ACPDiff, aA as ACPEmbeddedResource, aB as ACPEnvVariable, aC as ACPEnvelope, aD as ACPError, aE as ACPErrorCode, aF as ACPErrorObject, aG as ACPErrorResponse, aH as ACPFileSystemCapability, aI as ACPHttpHeader, aJ as ACPImageContent, aK as ACPImplementation, aL as ACPInitializeRequest, aM as ACPInitializeResponse, aN as ACPLoadSessionRequest, aO as ACPLoadSessionResponse, aP as ACPMcpCapabilities, aQ as ACPMcpServer, aR as ACPMcpServerHttp, aS as ACPMcpServerSse, aT as ACPMcpServerStdio, aU as ACPMessage, aV as ACPMeta, aW as ACPNewSessionRequest, aX as ACPNewSessionResponse, aY as ACPNotification, aZ as ACPPermissionOption, a_ as ACPPermissionOptionId, a$ as ACPPermissionOptionKind, b0 as ACPPlan, b1 as ACPPlanEntry, b2 as ACPPlanEntryPriority, b3 as ACPPlanEntryStatus, b4 as ACPPromptCapabilities, b5 as ACPPromptRequest, b6 as ACPPromptResponse, b7 as ACPProtocolVersion, b8 as ACPRequest, b9 as ACPRequestId, ba as ACPRequestPermissionOutcome, bb as ACPResourceLink, bc as ACPResponse, bd as ACPRole, be as ACPSelectedPermissionOutcome, bf as ACPSessionCapabilities, bg as ACPSessionInfoUpdate, bh as ACPSessionMode, bi as ACPSessionModeId, bj as ACPSessionModeState, bk as ACPSessionUpdate, bl as ACPSetSessionModeRequest, bm as ACPSetSessionModeResponse, bn as ACPStopReason, bo as ACPStreamConnection, bp as ACPStreamEvents, bq as ACPStreamOptions, br as ACPSuccessResponse, bs as ACPTerminal, bt as ACPTerminalExitStatus, bu as ACPTextContent, bv as ACPTextResourceContents, bw as ACPToolCall, bx as ACPToolCallContent, by as ACPToolCallId, bz as ACPToolCallLocation, bA as ACPToolCallStatus, bB as ACPToolCallUpdate, bC as ACPToolKind, bD as ACP_ERROR_CODES, bE as ACP_METHODS, bF as ACP_PROTOCOL_VERSION, bG as AGENT_ERROR_CODES, bH as AUTH_ERROR_CODES, bI as AUTH_METHODS, bJ as AcceptanceContext, bK as AgentAcceptanceRule, bL as AgentConnectOptions, bM as AgentConnectionOptions, bN as AgentEnvironment, bO as AgentIncludeOptions, bP as AgentLifecycle, bQ as AgentMeshConnectOptions, bR as AgentMessagingRule, bS as AgentPermissionConfig, bT as AgentPermissions, bU as AgentReconnectionEventHandler, bV as AgentReconnectionEventType, bW as AgentReconnectionOptions, bX as AgentRelationship, bY as AgentRelationshipType, bZ as AgentVisibilityRule, b_ as AgenticMeshStreamConfig, b$ as AgentsGetRequest, c0 as AgentsGetRequestParams, c1 as AgentsListFilter, c2 as AgentsListRequest, c3 as AgentsListRequestParams, c4 as AgentsRegisterRequest, c5 as AgentsRegisterRequestParams, c6 as AgentsResumeRequest, c7 as AgentsResumeRequestParams, c8 as AgentsResumeResponseResult, c9 as AgentsSpawnRequest, ca as AgentsSpawnRequestParams, cb as AgentsStopRequest, cc as AgentsStopRequestParams, cd as AgentsStopResponseResult, ce as AgentsSuspendRequest, cf as AgentsSuspendRequestParams, cg as AgentsSuspendResponseResult, ch as AgentsUnregisterRequest, ci as AgentsUnregisterRequestParams, cj as AgentsUpdateRequest, ck as AgentsUpdateRequestParams, cl as AnyMessage, cm as AuthCredentials, cn as AuthError, co as AuthErrorCode, cp as AuthMethod, cq as AuthPrincipal, cr as AuthRefreshRequest, cs as AuthRefreshRequestParams, ct as AuthRefreshResponseResult, cu as AuthResult, cv as AuthenticateRequest, cw as AuthenticateRequestParams, cx as AuthenticateResponseResult, cy as BaseConnection, cz as BroadcastAddress, cA as CAPABILITY_REQUIREMENTS, cB as CORE_METHODS, cC as ClientAcceptanceRule, cD as ClientConnectOptions, cE as ClientConnection, cF as ClientConnectionOptions, cG as ConnectRequest, cH as ConnectRequestParams, cI as Conversation, cJ as ConversationId, cK as ConversationParticipant, cL as ConversationPermissions, cM as ConversationStatus, cN as ConversationType, cO as CorrelationId, cP as DEFAULT_AGENT_PERMISSION_CONFIG, cQ as DIDDocument, cR as DIDService, cS as DIDVerificationMethod, cT as DIDWBACredentials, cU as DIDWBAProof, cV as DeliverySemantics, cW as DirectAddress, cX as DisconnectPolicy, cY as DisconnectRequest, cZ as DisconnectRequestParams, c_ as ERROR_CODES, c$ as EVENT_TYPES, d0 as EXTENSION_METHODS, d1 as EventInput, d2 as EventNotification, d3 as EventNotificationParams, d4 as FEDERATION_ERROR_CODES, d5 as FEDERATION_METHODS, d6 as FederatedAddress, d7 as FederationAuthMethod, d8 as FederationConnectRequest, d9 as FederationConnectRequestParams, da as FederationMetadata, db as FederationReplayConfig, dc as FederationRouteRequest, dd as FederationRouteRequestParams, de as GatewayReconnectionEvent, df as GatewayReconnectionEventHandler, dg as GatewayReconnectionEventType, dh as GatewayReconnectionOptions, di as GraphEdge, dj as HierarchicalAddress, dk as InjectDelivery, dl as InjectDeliveryResult, dm as InjectRequest, dn as InjectRequestParams, dp as InjectResponseResult, dq as JSONRPC_VERSION, dr as JoinPolicy, ds as LIFECYCLE_METHODS, dt as MAIL_ERROR_CODES, du as MAIL_METHODS, dv as MAPAgentCapabilityDescriptor, dw as MAPCapabilityDeclaration, dx as MAPFederationAuth, dy as MAPInterfaceSpec, dz as MAPNotification, dA as MAPNotificationBase, dB as MAPRequest, dC as MAPRequestBase, dD as MAPResponse, dE as MAPResponseError, dF as MAPResponseSuccess, dG as MAP_METHODS, dH as MailCloseRequest, dI as MailCloseRequestParams, dJ as MailCloseResponseResult, dK as MailClosedEventData, dL as MailCreateRequest, dM as MailCreateRequestParams, dN as MailCreateResponseResult, dO as MailCreatedEventData, dP as MailGetRequest, dQ as MailGetRequestParams, dR as MailGetResponseResult, dS as MailInviteRequest, dT as MailInviteRequestParams, dU as MailInviteResponseResult, dV as MailJoinRequest, dW as MailJoinRequestParams, dX as MailJoinResponseResult, dY as MailLeaveRequest, dZ as MailLeaveRequestParams, d_ as MailLeaveResponseResult, d$ as MailListRequest, e0 as MailListRequestParams, e1 as MailListResponseResult, e2 as MailMessageMeta, e3 as MailParticipantJoinedEventData, e4 as MailParticipantLeftEventData, e5 as MailReplayRequest, e6 as MailReplayRequestParams, e7 as MailReplayResponseResult, e8 as MailSubscriptionFilter, e9 as MailSummaryGeneratedEventData, ea as MailSummaryRequest, eb as MailSummaryRequestParams, ec as MailSummaryResponseResult, ed as MailThreadCreateRequest, ee as MailThreadCreateRequestParams, ef as MailThreadCreateResponseResult, eg as MailThreadCreatedEventData, eh as MailThreadListRequest, ei as MailThreadListRequestParams, ej as MailThreadListResponseResult, ek as MailTurnAddedEventData, el as MailTurnRequest, em as MailTurnRequestParams, en as MailTurnResponseResult, eo as MailTurnUpdatedEventData, ep as MailTurnsListRequest, eq as MailTurnsListRequestParams, er as MailTurnsListResponseResult, es as MeshConnectOptions, et as MeshPeerEndpoint, eu as MeshTransportAdapter, ev as MessageDeliveredEventData, ew as MessageFailedEventData, ex as MessageHandler, ey as MessageNotification, ez as MessageNotificationParams, eA as MessagePriority, eB as MessageRelationship, eC as MessageSentEventData, eD as MessageVisibility, eE as Meta, eF as MultiAddress, eG as NOTIFICATION_METHODS, eH as NotificationHandler, eI as OBSERVATION_METHODS, eJ as OverflowHandler, eK as OverflowInfo, eL as PERMISSION_METHODS, eM as PROTOCOL_ERROR_CODES, eN as PROTOCOL_VERSION, eO as Participant, eP as ParticipantAddress, eQ as ParticipantRole, eR as PermissionAction, eS as PermissionContext, eT as PermissionParticipant, eU as PermissionResult, eV as PermissionSystemConfig, eW as PermissionsAgentUpdatedEventData, eX as PermissionsClientUpdatedEventData, eY as PermissionsUpdateRequest, eZ as PermissionsUpdateRequestParams, e_ as PermissionsUpdateResponseResult, e$ as RESOURCE_ERROR_CODES, f0 as ROUTING_ERROR_CODES, f1 as ReconnectionEventHandler, f2 as ReconnectionEventType, f3 as ReconnectionOptions, f4 as ReplayRequest, f5 as ReplayRequestParams, f6 as ReplayResponseResult, f7 as ReplayedEvent, f8 as RequestHandler, f9 as RoleAddress, fa as SCOPE_METHODS, fb as SESSION_METHODS, fc as STATE_METHODS, fd as STEERING_METHODS, fe as STRUCTURE_METHODS, ff as ScopeAddress, fg as ScopeMessagingRule, fh as ScopeVisibilityRule, fi as ScopesCreateRequest, fj as ScopesCreateRequestParams, fk as ScopesDeleteRequest, fl as ScopesDeleteRequestParams, fm as ScopesDeleteResponseResult, fn as ScopesGetRequest, fo as ScopesGetRequestParams, fp as ScopesGetResponseResult, fq as ScopesJoinRequest, fr as ScopesJoinRequestParams, fs as ScopesLeaveRequest, ft as ScopesLeaveRequestParams, fu as ScopesListRequest, fv as ScopesListRequestParams, fw as ScopesMembersRequest, fx as ScopesMembersRequestParams, fy as ScopesMembersResponseResult, fz as SendPolicy, fA as SendRequest, fB as SendRequestParams, fC as ServerAuthCapabilities, fD as SessionCloseRequest, fE as SessionCloseRequestParams, fF as SessionCloseResponseResult, fG as SessionListRequest, fH as SessionListRequestParams, fI as SessionListResponseResult, fJ as SessionLoadRequest, fK as SessionLoadRequestParams, fL as SessionLoadResponseResult, fM as StandardAuthMethod, fN as StateChangeHandler, fO as StreamingCapabilities, fP as StructureGraphRequest, fQ as StructureGraphRequestParams, fR as StructureGraphResponseResult, fS as StructureVisibilityRule, fT as SubscribeRequest, fU as SubscribeRequestParams, fV as Subscription, fW as SubscriptionAckNotification, fX as SubscriptionAckParams, fY as SubscriptionOptions, fZ as SubscriptionState, f_ as SystemAcceptanceRule, f$ as SystemAddress, g0 as Thread, g1 as ThreadId, g2 as Timestamp, g3 as TransportType, g4 as Turn, g5 as TurnId, g6 as TurnSource, g7 as TurnStatus, g8 as TurnVisibility, g9 as UnsubscribeRequest, ga as UnsubscribeRequestParams, gb as WORKSPACE_METHODS, gc as WorkspaceFileResult, gd as WorkspaceListRequestParams, ge as WorkspaceListResponseResult, gf as WorkspaceReadRequestParams, gg as WorkspaceReadResponseResult, gh as WorkspaceSearchRequestParams, gi as WorkspaceSearchResponseResult, gj as agenticMeshStream, gk as canAgentAcceptMessage, gl as canAgentMessageAgent, gm as canAgentSeeAgent, gn as canControlAgent, go as canJoinScope, gp as canMessageAgent, gq as canPerformAction, gr as canPerformMethod, gs as canSeeAgent, gt as canSeeScope, gu as canSendToScope, gv as createACPStream, gw as createEvent, gx as createStreamPair, gy as createSubscription, gz as deepMergePermissions, gA as filterVisibleAgents, gB as filterVisibleEvents, gC as filterVisibleScopes, gD as hasCapability, gE as isACPEnvelope, gF as isACPErrorResponse, gG as isACPNotification, gH as isACPRequest, gI as isACPResponse, gJ as isACPSuccessResponse, gK as isAgentExposed, gL as isBroadcastAddress, gM as isDirectAddress, gN as isEventTypeExposed, gO as isFederatedAddress, gP as isHierarchicalAddress, gQ as isOrphanedAgent, gR as isScopeExposed, gS as isSuccessResponse, gT as mapVisibilityToRule, gU as ndJsonStream, gV as resolveAgentPermissions, gW as waitForOpen, gX as websocketStream } from './index-BojLgS6o.js';
|
|
1
|
+
import { R as RequestId, M as MAPError, a as MAPErrorData, E as ErrorCategory, F as FederationBufferConfig, b as FederationEnvelope, c as Message, S as Stream, B as BaseConnectionOptions, P as ParticipantCapabilities, d as FederationRoutingConfig, e as EventType, C as ConnectResponseResult, f as SessionId, g as FederationAuth, h as FederationConnectResponseResult, i as FederationRouteResponseResult, j as ConnectionState, k as ParticipantId, l as ParticipantType, A as AgentId, m as ScopeId, n as Agent, o as Scope, p as Address, q as SubscriptionFilter, r as Event, s as AgentsGetResponseResult, t as AgentsListResponseResult, u as AgentsRegisterResponseResult, v as AgentsSpawnResponseResult, w as AgentsUnregisterResponseResult, x as AgentsUpdateResponseResult, y as ProtocolVersion, z as SessionInfo, D as DisconnectResponseResult, G as ScopesCreateResponseResult, H as ScopesJoinResponseResult, I as ScopesLeaveResponseResult, J as ScopesListResponseResult, K as MessageId, L as SendResponseResult, N as SubscriptionId, O as SubscribeResponseResult, U as UnsubscribeResponseResult, Q as AgentVisibility, T as ScopeVisibility, V as AgentState, W as MessageMeta, X as AgentConnection, Y as ACPAgentHandler, Z as ACPSessionNotification, _ as ACPRequestPermissionRequest, $ as ACPRequestPermissionResponse, a0 as ACPReadTextFileRequest, a1 as ACPReadTextFileResponse, a2 as ACPWriteTextFileRequest, a3 as ACPWriteTextFileResponse, a4 as ACPCreateTerminalRequest, a5 as ACPCreateTerminalResponse, a6 as ACPTerminalOutputRequest, a7 as ACPTerminalOutputResponse, a8 as ACPReleaseTerminalRequest, a9 as ACPReleaseTerminalResponse, aa as ACPWaitForTerminalExitRequest, ab as ACPWaitForTerminalExitResponse, ac as ACPKillTerminalCommandRequest, ad as ACPKillTerminalCommandResponse, ae as ACPSessionId } from './index-DHxPjZ_2.js';
|
|
2
|
+
export { af as ACPAgentCapabilities, ag as ACPAgentContext, ah as ACPAnnotations, ai as ACPAudioContent, aj as ACPAuthMethod, ak as ACPAuthenticateRequest, al as ACPAuthenticateResponse, am as ACPAvailableCommand, an as ACPAvailableCommandsUpdate, ao as ACPBlobResourceContents, ap as ACPCancelNotification, aq as ACPCancelledPermissionOutcome, ar as ACPCapability, as as ACPClientCapabilities, at as ACPClientHandlers, au as ACPContent, av as ACPContentBlock, aw as ACPContentChunk, ax as ACPContext, ay as ACPCurrentModeUpdate, az as ACPDiff, aA as ACPEmbeddedResource, aB as ACPEnvVariable, aC as ACPEnvelope, aD as ACPError, aE as ACPErrorCode, aF as ACPErrorObject, aG as ACPErrorResponse, aH as ACPFileSystemCapability, aI as ACPHttpHeader, aJ as ACPImageContent, aK as ACPImplementation, aL as ACPInitializeRequest, aM as ACPInitializeResponse, aN as ACPLoadSessionRequest, aO as ACPLoadSessionResponse, aP as ACPMcpCapabilities, aQ as ACPMcpServer, aR as ACPMcpServerHttp, aS as ACPMcpServerSse, aT as ACPMcpServerStdio, aU as ACPMessage, aV as ACPMeta, aW as ACPNewSessionRequest, aX as ACPNewSessionResponse, aY as ACPNotification, aZ as ACPPermissionOption, a_ as ACPPermissionOptionId, a$ as ACPPermissionOptionKind, b0 as ACPPlan, b1 as ACPPlanEntry, b2 as ACPPlanEntryPriority, b3 as ACPPlanEntryStatus, b4 as ACPPromptCapabilities, b5 as ACPPromptRequest, b6 as ACPPromptResponse, b7 as ACPProtocolVersion, b8 as ACPRequest, b9 as ACPRequestId, ba as ACPRequestPermissionOutcome, bb as ACPResourceLink, bc as ACPResponse, bd as ACPRole, be as ACPSelectedPermissionOutcome, bf as ACPSessionCapabilities, bg as ACPSessionInfoUpdate, bh as ACPSessionMode, bi as ACPSessionModeId, bj as ACPSessionModeState, bk as ACPSessionUpdate, bl as ACPSetSessionModeRequest, bm as ACPSetSessionModeResponse, bn as ACPStopReason, bo as ACPStreamConnection, bp as ACPStreamEvents, bq as ACPStreamOptions, br as ACPSuccessResponse, bs as ACPTerminal, bt as ACPTerminalExitStatus, bu as ACPTextContent, bv as ACPTextResourceContents, bw as ACPToolCall, bx as ACPToolCallContent, by as ACPToolCallId, bz as ACPToolCallLocation, bA as ACPToolCallStatus, bB as ACPToolCallUpdate, bC as ACPToolKind, bD as ACP_ERROR_CODES, bE as ACP_METHODS, bF as ACP_PROTOCOL_VERSION, bG as AGENT_ERROR_CODES, bH as AUTH_ERROR_CODES, bI as AUTH_METHODS, bJ as AcceptanceContext, bK as AgentAcceptanceRule, bL as AgentConnectOptions, bM as AgentConnectionOptions, bN as AgentEnvironment, bO as AgentIncludeOptions, bP as AgentLifecycle, bQ as AgentMeshConnectOptions, bR as AgentMessagingRule, bS as AgentPermissionConfig, bT as AgentPermissions, bU as AgentReconnectionEventHandler, bV as AgentReconnectionEventType, bW as AgentReconnectionOptions, bX as AgentRelationship, bY as AgentRelationshipType, bZ as AgentVisibilityRule, b_ as AgenticMeshStreamConfig, b$ as AgentsGetRequest, c0 as AgentsGetRequestParams, c1 as AgentsListFilter, c2 as AgentsListRequest, c3 as AgentsListRequestParams, c4 as AgentsRegisterRequest, c5 as AgentsRegisterRequestParams, c6 as AgentsResumeRequest, c7 as AgentsResumeRequestParams, c8 as AgentsResumeResponseResult, c9 as AgentsSpawnRequest, ca as AgentsSpawnRequestParams, cb as AgentsStopRequest, cc as AgentsStopRequestParams, cd as AgentsStopResponseResult, ce as AgentsSuspendRequest, cf as AgentsSuspendRequestParams, cg as AgentsSuspendResponseResult, ch as AgentsUnregisterRequest, ci as AgentsUnregisterRequestParams, cj as AgentsUpdateRequest, ck as AgentsUpdateRequestParams, cl as AnyMessage, cm as AuthCredentials, cn as AuthError, co as AuthErrorCode, cp as AuthMethod, cq as AuthPrincipal, cr as AuthRefreshRequest, cs as AuthRefreshRequestParams, ct as AuthRefreshResponseResult, cu as AuthResult, cv as AuthenticateRequest, cw as AuthenticateRequestParams, cx as AuthenticateResponseResult, cy as BaseConnection, cz as BroadcastAddress, cA as CAPABILITY_REQUIREMENTS, cB as CORE_METHODS, cC as CheckpointId, cD as ClientAcceptanceRule, cE as ClientConnectOptions, cF as ClientConnection, cG as ClientConnectionOptions, cH as ConnectRequest, cI as ConnectRequestParams, cJ as Conversation, cK as ConversationId, cL as ConversationParticipant, cM as ConversationPermissions, cN as ConversationStatus, cO as ConversationType, cP as CorrelationId, cQ as DEFAULT_AGENT_PERMISSION_CONFIG, cR as DIDDocument, cS as DIDService, cT as DIDVerificationMethod, cU as DIDWBACredentials, cV as DIDWBAProof, cW as DeliverySemantics, cX as DirectAddress, cY as DisconnectPolicy, cZ as DisconnectRequest, c_ as DisconnectRequestParams, c$ as ERROR_CODES, d0 as EVENT_TYPES, d1 as EXTENSION_METHODS, d2 as EventInput, d3 as EventNotification, d4 as EventNotificationParams, d5 as FEDERATION_ERROR_CODES, d6 as FEDERATION_METHODS, d7 as FederatedAddress, d8 as FederationAuthMethod, d9 as FederationConnectRequest, da as FederationConnectRequestParams, db as FederationMetadata, dc as FederationReplayConfig, dd as FederationRouteRequest, de as FederationRouteRequestParams, df as GatewayReconnectionEvent, dg as GatewayReconnectionEventHandler, dh as GatewayReconnectionEventType, di as GatewayReconnectionOptions, dj as GraphEdge, dk as HierarchicalAddress, dl as InjectDelivery, dm as InjectDeliveryResult, dn as InjectRequest, dp as InjectRequestParams, dq as InjectResponseResult, dr as JSONRPC_VERSION, ds as JoinPolicy, dt as LIFECYCLE_METHODS, du as MAIL_ERROR_CODES, dv as MAIL_METHODS, dw as MAPAgentCapabilityDescriptor, dx as MAPCapabilityDeclaration, dy as MAPFederationAuth, dz as MAPInterfaceSpec, dA as MAPNotification, dB as MAPNotificationBase, dC as MAPRequest, dD as MAPRequestBase, dE as MAPResponse, dF as MAPResponseError, dG as MAPResponseSuccess, dH as MAP_METHODS, dI as MailCloseRequest, dJ as MailCloseRequestParams, dK as MailCloseResponseResult, dL as MailClosedEventData, dM as MailCreateRequest, dN as MailCreateRequestParams, dO as MailCreateResponseResult, dP as MailCreatedEventData, dQ as MailGetRequest, dR as MailGetRequestParams, dS as MailGetResponseResult, dT as MailInviteRequest, dU as MailInviteRequestParams, dV as MailInviteResponseResult, dW as MailJoinRequest, dX as MailJoinRequestParams, dY as MailJoinResponseResult, dZ as MailLeaveRequest, d_ as MailLeaveRequestParams, d$ as MailLeaveResponseResult, e0 as MailListRequest, e1 as MailListRequestParams, e2 as MailListResponseResult, e3 as MailMessageMeta, e4 as MailParticipantJoinedEventData, e5 as MailParticipantLeftEventData, e6 as MailReplayRequest, e7 as MailReplayRequestParams, e8 as MailReplayResponseResult, e9 as MailSubscriptionFilter, ea as MailSummaryGeneratedEventData, eb as MailSummaryRequest, ec as MailSummaryRequestParams, ed as MailSummaryResponseResult, ee as MailThreadCreateRequest, ef as MailThreadCreateRequestParams, eg as MailThreadCreateResponseResult, eh as MailThreadCreatedEventData, ei as MailThreadListRequest, ej as MailThreadListRequestParams, ek as MailThreadListResponseResult, el as MailTurnAddedEventData, em as MailTurnRequest, en as MailTurnRequestParams, eo as MailTurnResponseResult, ep as MailTurnUpdatedEventData, eq as MailTurnsListRequest, er as MailTurnsListRequestParams, es as MailTurnsListResponseResult, et as MeshConnectOptions, eu as MeshPeerEndpoint, ev as MeshTransportAdapter, ew as MessageDeliveredEventData, ex as MessageFailedEventData, ey as MessageHandler, ez as MessageNotification, eA as MessageNotificationParams, eB as MessagePriority, eC as MessageRelationship, eD as MessageSentEventData, eE as MessageVisibility, eF as Meta, eG as MultiAddress, eH as NOTIFICATION_METHODS, eI as NotificationHandler, eJ as OBSERVATION_METHODS, eK as OverflowHandler, eL as OverflowInfo, eM as PERMISSION_METHODS, eN as PROTOCOL_ERROR_CODES, eO as PROTOCOL_VERSION, eP as Participant, eQ as ParticipantAddress, eR as ParticipantRole, eS as PermissionAction, eT as PermissionContext, eU as PermissionParticipant, eV as PermissionResult, eW as PermissionSystemConfig, eX as PermissionsAgentUpdatedEventData, eY as PermissionsClientUpdatedEventData, eZ as PermissionsUpdateRequest, e_ as PermissionsUpdateRequestParams, e$ as PermissionsUpdateResponseResult, f0 as RESOURCE_ERROR_CODES, f1 as ROUTING_ERROR_CODES, f2 as ReconnectionEventHandler, f3 as ReconnectionEventType, f4 as ReconnectionOptions, f5 as ReplayRequest, f6 as ReplayRequestParams, f7 as ReplayResponseResult, f8 as ReplayedEvent, f9 as RequestHandler, fa as RoleAddress, fb as SCOPE_METHODS, fc as SESSION_METHODS, fd as STATE_METHODS, fe as STEERING_METHODS, ff as STRUCTURE_METHODS, fg as ScopeAddress, fh as ScopeMessagingRule, fi as ScopeVisibilityRule, fj as ScopesCreateRequest, fk as ScopesCreateRequestParams, fl as ScopesDeleteRequest, fm as ScopesDeleteRequestParams, fn as ScopesDeleteResponseResult, fo as ScopesGetRequest, fp as ScopesGetRequestParams, fq as ScopesGetResponseResult, fr as ScopesJoinRequest, fs as ScopesJoinRequestParams, ft as ScopesLeaveRequest, fu as ScopesLeaveRequestParams, fv as ScopesListRequest, fw as ScopesListRequestParams, fx as ScopesMembersRequest, fy as ScopesMembersRequestParams, fz as ScopesMembersResponseResult, fA as SendPolicy, fB as SendRequest, fC as SendRequestParams, fD as ServerAuthCapabilities, fE as SessionCloseRequest, fF as SessionCloseRequestParams, fG as SessionCloseResponseResult, fH as SessionListRequest, fI as SessionListRequestParams, fJ as SessionListResponseResult, fK as SessionLoadRequest, fL as SessionLoadRequestParams, fM as SessionLoadResponseResult, fN as StandardAuthMethod, fO as StateChangeHandler, fP as StreamingCapabilities, fQ as StructureGraphRequest, fR as StructureGraphRequestParams, fS as StructureGraphResponseResult, fT as StructureVisibilityRule, fU as SubscribeRequest, fV as SubscribeRequestParams, fW as Subscription, fX as SubscriptionAckNotification, fY as SubscriptionAckParams, fZ as SubscriptionOptions, f_ as SubscriptionState, f$ as SystemAcceptanceRule, g0 as SystemAddress, g1 as TRAJECTORY_ERROR_CODES, g2 as TRAJECTORY_METHODS, g3 as Thread, g4 as ThreadId, g5 as Timestamp, g6 as TrajectoryCheckpoint, g7 as TrajectoryCheckpointEventData, g8 as TrajectoryCheckpointRequest, g9 as TrajectoryCheckpointRequestParams, ga as TrajectoryCheckpointResponseResult, gb as TrajectoryContentAvailableEventData, gc as TrajectoryContentChunkNotification, gd as TrajectoryContentChunkParams, ge as TrajectoryContentField, gf as TrajectoryContentRequest, gg as TrajectoryContentRequestParams, gh as TrajectoryContentResponseResult, gi as TrajectoryContentResult, gj as TrajectoryContentResultBase, gk as TrajectoryContentResultInline, gl as TrajectoryContentResultStreaming, gm as TrajectoryGetRequest, gn as TrajectoryGetRequestParams, go as TrajectoryGetResponseResult, gp as TrajectoryListRequest, gq as TrajectoryListRequestParams, gr as TrajectoryListResponseResult, gs as TrajectorySubscriptionFilter, gt as TransportType, gu as Turn, gv as TurnId, gw as TurnSource, gx as TurnStatus, gy as TurnVisibility, gz as UnsubscribeRequest, gA as UnsubscribeRequestParams, gB as WORKSPACE_METHODS, gC as WorkspaceFileResult, gD as WorkspaceListRequestParams, gE as WorkspaceListResponseResult, gF as WorkspaceReadRequestParams, gG as WorkspaceReadResponseResult, gH as WorkspaceSearchRequestParams, gI as WorkspaceSearchResponseResult, gJ as agenticMeshStream, gK as canAgentAcceptMessage, gL as canAgentMessageAgent, gM as canAgentSeeAgent, gN as canControlAgent, gO as canJoinScope, gP as canMessageAgent, gQ as canPerformAction, gR as canPerformMethod, gS as canSeeAgent, gT as canSeeScope, gU as canSendToScope, gV as createACPStream, gW as createEvent, gX as createStreamPair, gY as createSubscription, gZ as deepMergePermissions, g_ as filterVisibleAgents, g$ as filterVisibleEvents, h0 as filterVisibleScopes, h1 as hasCapability, h2 as isACPEnvelope, h3 as isACPErrorResponse, h4 as isACPNotification, h5 as isACPRequest, h6 as isACPResponse, h7 as isACPSuccessResponse, h8 as isAgentExposed, h9 as isBroadcastAddress, ha as isDirectAddress, hb as isEventTypeExposed, hc as isFederatedAddress, hd as isHierarchicalAddress, he as isOrphanedAgent, hf as isScopeExposed, hg as isSuccessResponse, hh as mapVisibilityToRule, hi as ndJsonStream, hj as resolveAgentPermissions, hk as waitForOpen, hl as websocketStream } from './index-DHxPjZ_2.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { monotonicFactory, ulid } from 'ulid';
|
|
5
5
|
import 'events';
|
|
@@ -940,13 +940,13 @@ declare const AgentRelationshipSchema: z.ZodObject<{
|
|
|
940
940
|
}, "strict", z.ZodTypeAny, {
|
|
941
941
|
agentId: string;
|
|
942
942
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
943
|
-
_meta?: Record<string, unknown> | undefined;
|
|
944
943
|
metadata?: Record<string, unknown> | undefined;
|
|
944
|
+
_meta?: Record<string, unknown> | undefined;
|
|
945
945
|
}, {
|
|
946
946
|
agentId: string;
|
|
947
947
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
948
|
-
_meta?: Record<string, unknown> | undefined;
|
|
949
948
|
metadata?: Record<string, unknown> | undefined;
|
|
949
|
+
_meta?: Record<string, unknown> | undefined;
|
|
950
950
|
}>;
|
|
951
951
|
declare const AgentLifecycleSchema: z.ZodObject<{
|
|
952
952
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -986,13 +986,13 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
986
986
|
}, "strict", z.ZodTypeAny, {
|
|
987
987
|
agentId: string;
|
|
988
988
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
989
|
-
_meta?: Record<string, unknown> | undefined;
|
|
990
989
|
metadata?: Record<string, unknown> | undefined;
|
|
990
|
+
_meta?: Record<string, unknown> | undefined;
|
|
991
991
|
}, {
|
|
992
992
|
agentId: string;
|
|
993
993
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
994
|
-
_meta?: Record<string, unknown> | undefined;
|
|
995
994
|
metadata?: Record<string, unknown> | undefined;
|
|
995
|
+
_meta?: Record<string, unknown> | undefined;
|
|
996
996
|
}>, "many">>;
|
|
997
997
|
state: z.ZodUnion<[z.ZodEnum<["registered", "idle", "busy", "waiting", "stopping", "stopped", "error"]>, z.ZodString]>;
|
|
998
998
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -1128,8 +1128,9 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
1128
1128
|
id: string;
|
|
1129
1129
|
state: string;
|
|
1130
1130
|
role?: string | undefined;
|
|
1131
|
-
|
|
1131
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1132
1132
|
_meta?: Record<string, unknown> | undefined;
|
|
1133
|
+
parent?: string | undefined;
|
|
1133
1134
|
name?: string | undefined;
|
|
1134
1135
|
capabilities?: {
|
|
1135
1136
|
_meta?: Record<string, unknown> | undefined;
|
|
@@ -1154,7 +1155,6 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
1154
1155
|
canStop?: boolean | undefined;
|
|
1155
1156
|
} | undefined;
|
|
1156
1157
|
} | undefined;
|
|
1157
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1158
1158
|
visibility?: "system" | "public" | "parent-only" | "scope" | undefined;
|
|
1159
1159
|
scopes?: string[] | undefined;
|
|
1160
1160
|
lifecycle?: {
|
|
@@ -1170,15 +1170,16 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
1170
1170
|
relationships?: {
|
|
1171
1171
|
agentId: string;
|
|
1172
1172
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
1173
|
-
_meta?: Record<string, unknown> | undefined;
|
|
1174
1173
|
metadata?: Record<string, unknown> | undefined;
|
|
1174
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1175
1175
|
}[] | undefined;
|
|
1176
1176
|
}, {
|
|
1177
1177
|
id: string;
|
|
1178
1178
|
state: string;
|
|
1179
1179
|
role?: string | undefined;
|
|
1180
|
-
|
|
1180
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1181
1181
|
_meta?: Record<string, unknown> | undefined;
|
|
1182
|
+
parent?: string | undefined;
|
|
1182
1183
|
name?: string | undefined;
|
|
1183
1184
|
capabilities?: {
|
|
1184
1185
|
_meta?: Record<string, unknown> | undefined;
|
|
@@ -1203,7 +1204,6 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
1203
1204
|
canStop?: boolean | undefined;
|
|
1204
1205
|
} | undefined;
|
|
1205
1206
|
} | undefined;
|
|
1206
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1207
1207
|
visibility?: "system" | "public" | "parent-only" | "scope" | undefined;
|
|
1208
1208
|
scopes?: string[] | undefined;
|
|
1209
1209
|
lifecycle?: {
|
|
@@ -1219,8 +1219,8 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
1219
1219
|
relationships?: {
|
|
1220
1220
|
agentId: string;
|
|
1221
1221
|
type: "peer" | "supervisor" | "supervised" | "collaborator";
|
|
1222
|
-
_meta?: Record<string, unknown> | undefined;
|
|
1223
1222
|
metadata?: Record<string, unknown> | undefined;
|
|
1223
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1224
1224
|
}[] | undefined;
|
|
1225
1225
|
}>;
|
|
1226
1226
|
declare const ScopeSchema: z.ZodObject<{
|
|
@@ -1236,22 +1236,22 @@ declare const ScopeSchema: z.ZodObject<{
|
|
|
1236
1236
|
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1237
1237
|
}, "strict", z.ZodTypeAny, {
|
|
1238
1238
|
id: string;
|
|
1239
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1240
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1239
1241
|
parent?: string | undefined;
|
|
1240
1242
|
children?: string[] | undefined;
|
|
1241
|
-
_meta?: Record<string, unknown> | undefined;
|
|
1242
1243
|
name?: string | undefined;
|
|
1243
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1244
1244
|
visibility?: "public" | "private" | "unlisted" | undefined;
|
|
1245
1245
|
joinPolicy?: "open" | "invite" | "approval" | undefined;
|
|
1246
1246
|
messageVisibility?: "public" | "members" | undefined;
|
|
1247
1247
|
sendPolicy?: "members" | "anyone" | undefined;
|
|
1248
1248
|
}, {
|
|
1249
1249
|
id: string;
|
|
1250
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1251
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1250
1252
|
parent?: string | undefined;
|
|
1251
1253
|
children?: string[] | undefined;
|
|
1252
|
-
_meta?: Record<string, unknown> | undefined;
|
|
1253
1254
|
name?: string | undefined;
|
|
1254
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1255
1255
|
visibility?: "public" | "private" | "unlisted" | undefined;
|
|
1256
1256
|
joinPolicy?: "open" | "invite" | "approval" | undefined;
|
|
1257
1257
|
messageVisibility?: "public" | "members" | undefined;
|
|
@@ -1269,8 +1269,8 @@ declare const MessageMetaSchema: z.ZodObject<{
|
|
|
1269
1269
|
isResult: z.ZodOptional<z.ZodBoolean>;
|
|
1270
1270
|
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1271
1271
|
}, "strict", z.ZodTypeAny, {
|
|
1272
|
-
correlationId?: string | undefined;
|
|
1273
1272
|
_meta?: Record<string, unknown> | undefined;
|
|
1273
|
+
correlationId?: string | undefined;
|
|
1274
1274
|
expiresAt?: number | undefined;
|
|
1275
1275
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1276
1276
|
isResult?: boolean | undefined;
|
|
@@ -1280,8 +1280,8 @@ declare const MessageMetaSchema: z.ZodObject<{
|
|
|
1280
1280
|
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
1281
1281
|
delivery?: "at-most-once" | "at-least-once" | "exactly-once" | undefined;
|
|
1282
1282
|
}, {
|
|
1283
|
-
correlationId?: string | undefined;
|
|
1284
1283
|
_meta?: Record<string, unknown> | undefined;
|
|
1284
|
+
correlationId?: string | undefined;
|
|
1285
1285
|
expiresAt?: number | undefined;
|
|
1286
1286
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1287
1287
|
isResult?: boolean | undefined;
|
|
@@ -1309,8 +1309,8 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1309
1309
|
isResult: z.ZodOptional<z.ZodBoolean>;
|
|
1310
1310
|
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1311
1311
|
}, "strict", z.ZodTypeAny, {
|
|
1312
|
-
correlationId?: string | undefined;
|
|
1313
1312
|
_meta?: Record<string, unknown> | undefined;
|
|
1313
|
+
correlationId?: string | undefined;
|
|
1314
1314
|
expiresAt?: number | undefined;
|
|
1315
1315
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1316
1316
|
isResult?: boolean | undefined;
|
|
@@ -1320,8 +1320,8 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1320
1320
|
priority?: "urgent" | "high" | "normal" | "low" | undefined;
|
|
1321
1321
|
delivery?: "at-most-once" | "at-least-once" | "exactly-once" | undefined;
|
|
1322
1322
|
}, {
|
|
1323
|
-
correlationId?: string | undefined;
|
|
1324
1323
|
_meta?: Record<string, unknown> | undefined;
|
|
1324
|
+
correlationId?: string | undefined;
|
|
1325
1325
|
expiresAt?: number | undefined;
|
|
1326
1326
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1327
1327
|
isResult?: boolean | undefined;
|
|
@@ -1333,14 +1333,14 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1333
1333
|
}>>;
|
|
1334
1334
|
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1335
1335
|
}, "strict", z.ZodTypeAny, {
|
|
1336
|
-
id: string;
|
|
1337
1336
|
timestamp: number;
|
|
1337
|
+
id: string;
|
|
1338
1338
|
from: string;
|
|
1339
|
-
payload?: unknown;
|
|
1340
1339
|
_meta?: Record<string, unknown> | undefined;
|
|
1340
|
+
payload?: unknown;
|
|
1341
1341
|
meta?: {
|
|
1342
|
-
correlationId?: string | undefined;
|
|
1343
1342
|
_meta?: Record<string, unknown> | undefined;
|
|
1343
|
+
correlationId?: string | undefined;
|
|
1344
1344
|
expiresAt?: number | undefined;
|
|
1345
1345
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1346
1346
|
isResult?: boolean | undefined;
|
|
@@ -1352,14 +1352,14 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1352
1352
|
} | undefined;
|
|
1353
1353
|
to?: unknown;
|
|
1354
1354
|
}, {
|
|
1355
|
-
id: string;
|
|
1356
1355
|
timestamp: number;
|
|
1356
|
+
id: string;
|
|
1357
1357
|
from: string;
|
|
1358
|
-
payload?: unknown;
|
|
1359
1358
|
_meta?: Record<string, unknown> | undefined;
|
|
1359
|
+
payload?: unknown;
|
|
1360
1360
|
meta?: {
|
|
1361
|
-
correlationId?: string | undefined;
|
|
1362
1361
|
_meta?: Record<string, unknown> | undefined;
|
|
1362
|
+
correlationId?: string | undefined;
|
|
1363
1363
|
expiresAt?: number | undefined;
|
|
1364
1364
|
relationship?: "peer" | "parent-to-child" | "child-to-parent" | "broadcast" | "supervisor-to-supervised" | undefined;
|
|
1365
1365
|
isResult?: boolean | undefined;
|
|
@@ -1379,13 +1379,13 @@ declare const EventSchema: z.ZodObject<{
|
|
|
1379
1379
|
}, "strict", z.ZodTypeAny, {
|
|
1380
1380
|
timestamp: number;
|
|
1381
1381
|
type: "agent.registered" | "agent.unregistered" | "agent.state-changed" | "agent.spawned" | "scope.created" | "scope.deleted" | "scope.joined" | "scope.left" | "message.sent" | "message.delivered" | "session.started" | "session.ended" | "system.error" | "system.shutdown";
|
|
1382
|
-
data?: Record<string, unknown> | undefined;
|
|
1383
1382
|
_meta?: Record<string, unknown> | undefined;
|
|
1383
|
+
data?: Record<string, unknown> | undefined;
|
|
1384
1384
|
}, {
|
|
1385
1385
|
timestamp: number;
|
|
1386
1386
|
type: "agent.registered" | "agent.unregistered" | "agent.state-changed" | "agent.spawned" | "scope.created" | "scope.deleted" | "scope.joined" | "scope.left" | "message.sent" | "message.delivered" | "session.started" | "session.ended" | "system.error" | "system.shutdown";
|
|
1387
|
-
data?: Record<string, unknown> | undefined;
|
|
1388
1387
|
_meta?: Record<string, unknown> | undefined;
|
|
1388
|
+
data?: Record<string, unknown> | undefined;
|
|
1389
1389
|
}>;
|
|
1390
1390
|
declare const SubscriptionFilterSchema: z.ZodObject<{
|
|
1391
1391
|
eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["agent.registered", "agent.unregistered", "agent.state-changed", "agent.spawned", "scope.created", "scope.deleted", "scope.joined", "scope.left", "message.sent", "message.delivered", "session.started", "session.ended", "system.error", "system.shutdown"]>, "many">>;
|
|
@@ -1474,13 +1474,13 @@ declare const MAPRequestSchema: z.ZodObject<{
|
|
|
1474
1474
|
method: z.ZodString;
|
|
1475
1475
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1476
1476
|
}, "strict", z.ZodTypeAny, {
|
|
1477
|
-
jsonrpc: "2.0";
|
|
1478
1477
|
id: string | number;
|
|
1478
|
+
jsonrpc: "2.0";
|
|
1479
1479
|
method: string;
|
|
1480
1480
|
params?: Record<string, unknown> | undefined;
|
|
1481
1481
|
}, {
|
|
1482
|
-
jsonrpc: "2.0";
|
|
1483
1482
|
id: string | number;
|
|
1483
|
+
jsonrpc: "2.0";
|
|
1484
1484
|
method: string;
|
|
1485
1485
|
params?: Record<string, unknown> | undefined;
|
|
1486
1486
|
}>;
|
|
@@ -1489,12 +1489,12 @@ declare const MAPResponseSuccessSchema: z.ZodObject<{
|
|
|
1489
1489
|
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1490
1490
|
result: z.ZodUnknown;
|
|
1491
1491
|
}, "strict", z.ZodTypeAny, {
|
|
1492
|
-
jsonrpc: "2.0";
|
|
1493
1492
|
id: string | number;
|
|
1493
|
+
jsonrpc: "2.0";
|
|
1494
1494
|
result?: unknown;
|
|
1495
1495
|
}, {
|
|
1496
|
-
jsonrpc: "2.0";
|
|
1497
1496
|
id: string | number;
|
|
1497
|
+
jsonrpc: "2.0";
|
|
1498
1498
|
result?: unknown;
|
|
1499
1499
|
}>;
|
|
1500
1500
|
declare const MAPResponseErrorSchema: z.ZodObject<{
|
|
@@ -1544,6 +1544,7 @@ declare const MAPResponseErrorSchema: z.ZodObject<{
|
|
|
1544
1544
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1545
1545
|
}>;
|
|
1546
1546
|
}, "strict", z.ZodTypeAny, {
|
|
1547
|
+
id: string | number;
|
|
1547
1548
|
error: {
|
|
1548
1549
|
message: string;
|
|
1549
1550
|
code: number;
|
|
@@ -1556,8 +1557,8 @@ declare const MAPResponseErrorSchema: z.ZodObject<{
|
|
|
1556
1557
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1557
1558
|
};
|
|
1558
1559
|
jsonrpc: "2.0";
|
|
1559
|
-
id: string | number;
|
|
1560
1560
|
}, {
|
|
1561
|
+
id: string | number;
|
|
1561
1562
|
error: {
|
|
1562
1563
|
message: string;
|
|
1563
1564
|
code: number;
|
|
@@ -1570,19 +1571,18 @@ declare const MAPResponseErrorSchema: z.ZodObject<{
|
|
|
1570
1571
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1571
1572
|
};
|
|
1572
1573
|
jsonrpc: "2.0";
|
|
1573
|
-
id: string | number;
|
|
1574
1574
|
}>;
|
|
1575
1575
|
declare const MAPResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
1576
1576
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1577
1577
|
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1578
1578
|
result: z.ZodUnknown;
|
|
1579
1579
|
}, "strict", z.ZodTypeAny, {
|
|
1580
|
-
jsonrpc: "2.0";
|
|
1581
1580
|
id: string | number;
|
|
1581
|
+
jsonrpc: "2.0";
|
|
1582
1582
|
result?: unknown;
|
|
1583
1583
|
}, {
|
|
1584
|
-
jsonrpc: "2.0";
|
|
1585
1584
|
id: string | number;
|
|
1585
|
+
jsonrpc: "2.0";
|
|
1586
1586
|
result?: unknown;
|
|
1587
1587
|
}>, z.ZodObject<{
|
|
1588
1588
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -1631,6 +1631,7 @@ declare const MAPResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1631
1631
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1632
1632
|
}>;
|
|
1633
1633
|
}, "strict", z.ZodTypeAny, {
|
|
1634
|
+
id: string | number;
|
|
1634
1635
|
error: {
|
|
1635
1636
|
message: string;
|
|
1636
1637
|
code: number;
|
|
@@ -1643,8 +1644,8 @@ declare const MAPResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1643
1644
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1644
1645
|
};
|
|
1645
1646
|
jsonrpc: "2.0";
|
|
1646
|
-
id: string | number;
|
|
1647
1647
|
}, {
|
|
1648
|
+
id: string | number;
|
|
1648
1649
|
error: {
|
|
1649
1650
|
message: string;
|
|
1650
1651
|
code: number;
|
|
@@ -1657,7 +1658,6 @@ declare const MAPResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1657
1658
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1658
1659
|
};
|
|
1659
1660
|
jsonrpc: "2.0";
|
|
1660
|
-
id: string | number;
|
|
1661
1661
|
}>]>;
|
|
1662
1662
|
declare const MAPNotificationSchema: z.ZodObject<{
|
|
1663
1663
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
@@ -1701,7 +1701,7 @@ type SubscriptionFilterValidated = z.infer<typeof SubscriptionFilterSchema>;
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
|
|
1703
1703
|
/** Method category for organization */
|
|
1704
|
-
type MethodCategory = 'core' | 'observation' | 'lifecycle' | 'state' | 'steering' | 'scope' | 'session' | 'auth' | 'federation' | 'mail' | 'workspace' | 'notification';
|
|
1704
|
+
type MethodCategory = 'core' | 'observation' | 'lifecycle' | 'state' | 'steering' | 'scope' | 'session' | 'auth' | 'federation' | 'mail' | 'workspace' | 'trajectory' | 'notification';
|
|
1705
1705
|
/** Capability path like 'observation.canQuery' */
|
|
1706
1706
|
type CapabilityPath = string;
|
|
1707
1707
|
/** Method metadata */
|
package/dist/index.js
CHANGED
|
@@ -113,6 +113,9 @@ var EVENT_TYPES = {
|
|
|
113
113
|
// Federation events
|
|
114
114
|
FEDERATION_CONNECTED: "federation_connected",
|
|
115
115
|
FEDERATION_DISCONNECTED: "federation_disconnected",
|
|
116
|
+
// Trajectory events
|
|
117
|
+
TRAJECTORY_CHECKPOINT: "trajectory.checkpoint",
|
|
118
|
+
TRAJECTORY_CONTENT_AVAILABLE: "trajectory.content.available",
|
|
116
119
|
// Mail events
|
|
117
120
|
MAIL_CREATED: "mail.created",
|
|
118
121
|
MAIL_CLOSED: "mail.closed",
|
|
@@ -207,13 +210,21 @@ var WORKSPACE_METHODS = {
|
|
|
207
210
|
WORKSPACE_LIST: "workspace/list",
|
|
208
211
|
WORKSPACE_READ: "workspace/read"
|
|
209
212
|
};
|
|
213
|
+
var TRAJECTORY_METHODS = {
|
|
214
|
+
TRAJECTORY_CHECKPOINT: "trajectory/checkpoint",
|
|
215
|
+
TRAJECTORY_LIST: "trajectory/list",
|
|
216
|
+
TRAJECTORY_GET: "trajectory/get",
|
|
217
|
+
TRAJECTORY_CONTENT: "trajectory/content"
|
|
218
|
+
};
|
|
210
219
|
var NOTIFICATION_METHODS = {
|
|
211
220
|
EVENT: "map/event",
|
|
212
221
|
MESSAGE: "map/message",
|
|
213
222
|
/** Client acknowledges received events (for backpressure) */
|
|
214
223
|
SUBSCRIBE_ACK: "map/subscribe.ack",
|
|
215
224
|
/** Server notifies client that auth is about to expire */
|
|
216
|
-
AUTH_EXPIRING: "map/auth/expiring"
|
|
225
|
+
AUTH_EXPIRING: "map/auth/expiring",
|
|
226
|
+
/** Content chunk for streaming large trajectory transcripts */
|
|
227
|
+
TRAJECTORY_CONTENT_CHUNK: "trajectory/content.chunk"
|
|
217
228
|
};
|
|
218
229
|
var MAP_METHODS = {
|
|
219
230
|
...CORE_METHODS,
|
|
@@ -227,7 +238,8 @@ var MAP_METHODS = {
|
|
|
227
238
|
...PERMISSION_METHODS,
|
|
228
239
|
...FEDERATION_METHODS,
|
|
229
240
|
...MAIL_METHODS,
|
|
230
|
-
...WORKSPACE_METHODS
|
|
241
|
+
...WORKSPACE_METHODS,
|
|
242
|
+
...TRAJECTORY_METHODS
|
|
231
243
|
};
|
|
232
244
|
var STRUCTURE_METHODS = {
|
|
233
245
|
...LIFECYCLE_METHODS,
|
|
@@ -301,6 +313,13 @@ var MAIL_ERROR_CODES = {
|
|
|
301
313
|
MAIL_HISTORY_ACCESS_DENIED: 10009,
|
|
302
314
|
MAIL_PARENT_CONVERSATION_NOT_FOUND: 10010
|
|
303
315
|
};
|
|
316
|
+
var TRAJECTORY_ERROR_CODES = {
|
|
317
|
+
TRAJECTORY_NOT_ENABLED: 13e3,
|
|
318
|
+
TRAJECTORY_CHECKPOINT_NOT_FOUND: 13001,
|
|
319
|
+
TRAJECTORY_CONTENT_UNAVAILABLE: 13002,
|
|
320
|
+
TRAJECTORY_STREAM_FAILED: 13003,
|
|
321
|
+
TRAJECTORY_PERMISSION_DENIED: 13004
|
|
322
|
+
};
|
|
304
323
|
var ERROR_CODES = {
|
|
305
324
|
...PROTOCOL_ERROR_CODES,
|
|
306
325
|
...AUTH_ERROR_CODES,
|
|
@@ -308,7 +327,8 @@ var ERROR_CODES = {
|
|
|
308
327
|
...AGENT_ERROR_CODES,
|
|
309
328
|
...RESOURCE_ERROR_CODES,
|
|
310
329
|
...FEDERATION_ERROR_CODES,
|
|
311
|
-
...MAIL_ERROR_CODES
|
|
330
|
+
...MAIL_ERROR_CODES,
|
|
331
|
+
...TRAJECTORY_ERROR_CODES
|
|
312
332
|
};
|
|
313
333
|
var PROTOCOL_VERSION = 1;
|
|
314
334
|
var CAPABILITY_REQUIREMENTS = {
|
|
@@ -370,7 +390,12 @@ var CAPABILITY_REQUIREMENTS = {
|
|
|
370
390
|
// Workspace
|
|
371
391
|
[WORKSPACE_METHODS.WORKSPACE_SEARCH]: ["workspace.canSearch"],
|
|
372
392
|
[WORKSPACE_METHODS.WORKSPACE_LIST]: ["workspace.canList"],
|
|
373
|
-
[WORKSPACE_METHODS.WORKSPACE_READ]: ["workspace.canRead"]
|
|
393
|
+
[WORKSPACE_METHODS.WORKSPACE_READ]: ["workspace.canRead"],
|
|
394
|
+
// Trajectory
|
|
395
|
+
[TRAJECTORY_METHODS.TRAJECTORY_CHECKPOINT]: ["trajectory.canReport"],
|
|
396
|
+
[TRAJECTORY_METHODS.TRAJECTORY_LIST]: ["trajectory.canQuery"],
|
|
397
|
+
[TRAJECTORY_METHODS.TRAJECTORY_GET]: ["trajectory.canQuery"],
|
|
398
|
+
[TRAJECTORY_METHODS.TRAJECTORY_CONTENT]: ["trajectory.canRequestContent"]
|
|
374
399
|
};
|
|
375
400
|
function isSuccessResponse(response) {
|
|
376
401
|
return "result" in response;
|
|
@@ -4504,6 +4529,22 @@ var AgentConnection = class _AgentConnection {
|
|
|
4504
4529
|
});
|
|
4505
4530
|
}
|
|
4506
4531
|
// ===========================================================================
|
|
4532
|
+
// Extensions
|
|
4533
|
+
// ===========================================================================
|
|
4534
|
+
/**
|
|
4535
|
+
* Call an extension method on the MAP server.
|
|
4536
|
+
*
|
|
4537
|
+
* Sends a raw JSON-RPC request with the given method and params.
|
|
4538
|
+
* Use this for protocol extensions like trajectory, macro-agent, etc.
|
|
4539
|
+
*
|
|
4540
|
+
* @param method - The extension method name (e.g., 'trajectory/checkpoint')
|
|
4541
|
+
* @param params - Optional parameters for the method
|
|
4542
|
+
* @returns The result from the server
|
|
4543
|
+
*/
|
|
4544
|
+
async callExtension(method, params) {
|
|
4545
|
+
return await this.#connection.sendRequest(method, params);
|
|
4546
|
+
}
|
|
4547
|
+
// ===========================================================================
|
|
4507
4548
|
// Internal
|
|
4508
4549
|
// ===========================================================================
|
|
4509
4550
|
/**
|
|
@@ -5804,6 +5845,31 @@ var METHOD_REGISTRY = {
|
|
|
5804
5845
|
capabilities: ["workspace.canRead"],
|
|
5805
5846
|
description: "Read file contents"
|
|
5806
5847
|
},
|
|
5848
|
+
// Trajectory methods
|
|
5849
|
+
"trajectory/checkpoint": {
|
|
5850
|
+
method: "trajectory/checkpoint",
|
|
5851
|
+
category: "trajectory",
|
|
5852
|
+
capabilities: ["trajectory.canReport"],
|
|
5853
|
+
description: "Report a trajectory checkpoint"
|
|
5854
|
+
},
|
|
5855
|
+
"trajectory/list": {
|
|
5856
|
+
method: "trajectory/list",
|
|
5857
|
+
category: "trajectory",
|
|
5858
|
+
capabilities: ["trajectory.canQuery"],
|
|
5859
|
+
description: "List trajectory checkpoints"
|
|
5860
|
+
},
|
|
5861
|
+
"trajectory/get": {
|
|
5862
|
+
method: "trajectory/get",
|
|
5863
|
+
category: "trajectory",
|
|
5864
|
+
capabilities: ["trajectory.canQuery"],
|
|
5865
|
+
description: "Get a specific trajectory checkpoint"
|
|
5866
|
+
},
|
|
5867
|
+
"trajectory/content": {
|
|
5868
|
+
method: "trajectory/content",
|
|
5869
|
+
category: "trajectory",
|
|
5870
|
+
capabilities: ["trajectory.canRequestContent"],
|
|
5871
|
+
description: "Request full content for a checkpoint"
|
|
5872
|
+
},
|
|
5807
5873
|
// Notification methods (client → server)
|
|
5808
5874
|
"subscription/ack": {
|
|
5809
5875
|
method: "map/subscribe.ack",
|
|
@@ -6976,6 +7042,6 @@ var ACPAgentAdapter = class {
|
|
|
6976
7042
|
}
|
|
6977
7043
|
};
|
|
6978
7044
|
|
|
6979
|
-
export { ACPAgentAdapter, ACPError, ACPStreamConnection, ACP_ERROR_CODES, ACP_METHODS, ACP_PROTOCOL_VERSION, AGENT_ERROR_CODES, AUTH_ERROR_CODES, AUTH_METHODS, AddressSchema, AgentConnection, AgentIdSchema, AgentLifecycleSchema, AgentRelationshipSchema, AgentSchema, AgentStateSchema, AgentVisibilitySchema, BaseConnection, BroadcastAddressSchema, CAPABILITY_REQUIREMENTS, CORE_METHODS, CausalEventBuffer, ClientConnection, CorrelationIdSchema, DEFAULT_AGENT_PERMISSION_CONFIG, DEFAULT_RETRY_POLICY, DeliverySemanticsSchema, DirectAddressSchema, ERROR_CODES, EVENT_TYPES, EXTENSION_METHODS, ErrorCategorySchema, EventSchema, EventTypeSchema, FEDERATION_ERROR_CODES, FEDERATION_METHODS, FederatedAddressSchema, FederationOutageBuffer, GatewayConnection, HierarchicalAddressSchema, InvalidAddressError, JSONRPC_VERSION, JsonRpcVersionSchema, LIFECYCLE_METHODS, MAIL_ERROR_CODES, MAIL_METHODS, MAPConnectionError, MAPErrorDataSchema, MAPErrorSchema, MAPMeshPeer, MAPNotificationSchema, MAPRequestError, MAPRequestSchema, MAPResponseErrorSchema, MAPResponseSchema, MAPResponseSuccessSchema, MAPTimeoutError, MAP_METHODS, METHOD_REGISTRY, MessageIdSchema, MessageMetaSchema, MessagePrioritySchema, MessageRelationshipSchema, MessageSchema, MessageVisibilitySchema, MetaSchema, MultiAddressSchema, NOTIFICATION_METHODS, OBSERVATION_METHODS, PERMISSION_METHODS, PROTOCOL_ERROR_CODES, PROTOCOL_VERSION, ParticipantAddressSchema, ParticipantCapabilitiesSchema, ParticipantIdSchema, ParticipantTypeSchema, ProtocolVersionSchema, RESOURCE_ERROR_CODES, ROUTING_ERROR_CODES, RequestIdSchema, RoleAddressSchema, SCOPE_METHODS, SESSION_METHODS, STATE_METHODS, STEERING_METHODS, STRUCTURE_METHODS, ScopeAddressSchema, ScopeIdSchema, ScopeJoinPolicySchema, ScopeSchema, ScopeSendPolicySchema, ScopeVisibilitySchema, SessionIdSchema, Subscription, SubscriptionFilterSchema, SubscriptionIdSchema, SystemAddressSchema, TimestampSchema, TransportTypeSchema, WORKSPACE_METHODS, agenticMeshStream, buildAgentsGetResponse, buildAgentsListResponse, buildAgentsRegisterResponse, buildAgentsSpawnResponse, buildAgentsUnregisterResponse, buildAgentsUpdateResponse, buildConnectResponse, buildDisconnectResponse, buildScopesCreateResponse, buildScopesJoinResponse, buildScopesLeaveResponse, buildScopesListResponse, buildSendResponse, buildSubscribeResponse, buildUnsubscribeResponse, calculateDelay, canAgentAcceptMessage, canAgentMessageAgent, canAgentSeeAgent, canControlAgent, canJoinScope, canMessageAgent, canPerformAction, canPerformMethod, canSeeAgent, canSeeScope, canSendToScope, compareUlid, createACPStream, createErrorResponse, createEvent, createFederationEnvelope, createNotification, createRequest, createRetryPolicy, createStreamPair, createSubscription, createSuccessResponse, deepMergePermissions, extractId, extractType, filterVisibleAgents, filterVisibleEvents, filterVisibleScopes, formatAddress, getEnvelopeRoutingInfo, getMethodInfo, getMethodsByCategory, getRequiredCapabilities, hasCapability, hasRequiredCapabilities, isACPEnvelope, isACPErrorResponse, isACPNotification, isACPRequest, isACPResponse, isACPSuccessResponse, isAddress, isAgentAddress, isAgentExposed, isBroadcastAddress, isDirectAddress, isEnvelopeAtDestination, isErrorResponse, isEventTypeExposed, isFederatedAddress, isHierarchicalAddress, isNotification, isOrphanedAgent, isRequest, isResponse, isScopeAddress, isScopeExposed, isSuccessResponse, isValidEnvelope, isValidUlid, mapVisibilityToRule, ndJsonStream, parseAddress, processFederationEnvelope, resolveAgentPermissions, retryable, sleep, sortCausalOrder, toAgent, toScope, ulidTimestamp, unwrapEnvelope, validateCausalOrder, waitForOpen, websocketStream, withPayload, withRetry };
|
|
7045
|
+
export { ACPAgentAdapter, ACPError, ACPStreamConnection, ACP_ERROR_CODES, ACP_METHODS, ACP_PROTOCOL_VERSION, AGENT_ERROR_CODES, AUTH_ERROR_CODES, AUTH_METHODS, AddressSchema, AgentConnection, AgentIdSchema, AgentLifecycleSchema, AgentRelationshipSchema, AgentSchema, AgentStateSchema, AgentVisibilitySchema, BaseConnection, BroadcastAddressSchema, CAPABILITY_REQUIREMENTS, CORE_METHODS, CausalEventBuffer, ClientConnection, CorrelationIdSchema, DEFAULT_AGENT_PERMISSION_CONFIG, DEFAULT_RETRY_POLICY, DeliverySemanticsSchema, DirectAddressSchema, ERROR_CODES, EVENT_TYPES, EXTENSION_METHODS, ErrorCategorySchema, EventSchema, EventTypeSchema, FEDERATION_ERROR_CODES, FEDERATION_METHODS, FederatedAddressSchema, FederationOutageBuffer, GatewayConnection, HierarchicalAddressSchema, InvalidAddressError, JSONRPC_VERSION, JsonRpcVersionSchema, LIFECYCLE_METHODS, MAIL_ERROR_CODES, MAIL_METHODS, MAPConnectionError, MAPErrorDataSchema, MAPErrorSchema, MAPMeshPeer, MAPNotificationSchema, MAPRequestError, MAPRequestSchema, MAPResponseErrorSchema, MAPResponseSchema, MAPResponseSuccessSchema, MAPTimeoutError, MAP_METHODS, METHOD_REGISTRY, MessageIdSchema, MessageMetaSchema, MessagePrioritySchema, MessageRelationshipSchema, MessageSchema, MessageVisibilitySchema, MetaSchema, MultiAddressSchema, NOTIFICATION_METHODS, OBSERVATION_METHODS, PERMISSION_METHODS, PROTOCOL_ERROR_CODES, PROTOCOL_VERSION, ParticipantAddressSchema, ParticipantCapabilitiesSchema, ParticipantIdSchema, ParticipantTypeSchema, ProtocolVersionSchema, RESOURCE_ERROR_CODES, ROUTING_ERROR_CODES, RequestIdSchema, RoleAddressSchema, SCOPE_METHODS, SESSION_METHODS, STATE_METHODS, STEERING_METHODS, STRUCTURE_METHODS, ScopeAddressSchema, ScopeIdSchema, ScopeJoinPolicySchema, ScopeSchema, ScopeSendPolicySchema, ScopeVisibilitySchema, SessionIdSchema, Subscription, SubscriptionFilterSchema, SubscriptionIdSchema, SystemAddressSchema, TRAJECTORY_ERROR_CODES, TRAJECTORY_METHODS, TimestampSchema, TransportTypeSchema, WORKSPACE_METHODS, agenticMeshStream, buildAgentsGetResponse, buildAgentsListResponse, buildAgentsRegisterResponse, buildAgentsSpawnResponse, buildAgentsUnregisterResponse, buildAgentsUpdateResponse, buildConnectResponse, buildDisconnectResponse, buildScopesCreateResponse, buildScopesJoinResponse, buildScopesLeaveResponse, buildScopesListResponse, buildSendResponse, buildSubscribeResponse, buildUnsubscribeResponse, calculateDelay, canAgentAcceptMessage, canAgentMessageAgent, canAgentSeeAgent, canControlAgent, canJoinScope, canMessageAgent, canPerformAction, canPerformMethod, canSeeAgent, canSeeScope, canSendToScope, compareUlid, createACPStream, createErrorResponse, createEvent, createFederationEnvelope, createNotification, createRequest, createRetryPolicy, createStreamPair, createSubscription, createSuccessResponse, deepMergePermissions, extractId, extractType, filterVisibleAgents, filterVisibleEvents, filterVisibleScopes, formatAddress, getEnvelopeRoutingInfo, getMethodInfo, getMethodsByCategory, getRequiredCapabilities, hasCapability, hasRequiredCapabilities, isACPEnvelope, isACPErrorResponse, isACPNotification, isACPRequest, isACPResponse, isACPSuccessResponse, isAddress, isAgentAddress, isAgentExposed, isBroadcastAddress, isDirectAddress, isEnvelopeAtDestination, isErrorResponse, isEventTypeExposed, isFederatedAddress, isHierarchicalAddress, isNotification, isOrphanedAgent, isRequest, isResponse, isScopeAddress, isScopeExposed, isSuccessResponse, isValidEnvelope, isValidUlid, mapVisibilityToRule, ndJsonStream, parseAddress, processFederationEnvelope, resolveAgentPermissions, retryable, sleep, sortCausalOrder, toAgent, toScope, ulidTimestamp, unwrapEnvelope, validateCausalOrder, waitForOpen, websocketStream, withPayload, withRetry };
|
|
6980
7046
|
//# sourceMappingURL=index.js.map
|
|
6981
7047
|
//# sourceMappingURL=index.js.map
|