@multi-agent-protocol/sdk 0.1.9 → 0.1.11
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.md +93 -0
- package/dist/{index-CY89vJGH.d.cts → index-q6W05sMr.d.cts} +195 -1
- package/dist/{index-CY89vJGH.d.ts → index-q6W05sMr.d.ts} +195 -1
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +318 -86
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +318 -86
- package/dist/server.js.map +1 -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.map +1 -1
- package/package.json +2 -2
|
@@ -311,6 +311,160 @@ interface AgentLifecycle {
|
|
|
311
311
|
exitReason?: string;
|
|
312
312
|
_meta?: Meta;
|
|
313
313
|
}
|
|
314
|
+
/**
|
|
315
|
+
* How the identity was established.
|
|
316
|
+
* Standard types align with agent-iam providers; custom types use "x-" prefix.
|
|
317
|
+
*
|
|
318
|
+
* Provider routing by persistentId prefix:
|
|
319
|
+
* - "did:key:..." → keypair
|
|
320
|
+
* - "key:..." → keypair (legacy)
|
|
321
|
+
* - "platform:..." → platform
|
|
322
|
+
* - "spiffe://..." → attested
|
|
323
|
+
* - "did:web:..." → decentralized
|
|
324
|
+
* - "did:wba:..." → decentralized
|
|
325
|
+
*/
|
|
326
|
+
type IdentityType = "keypair" | "platform" | "attested" | "decentralized" | `x-${string}`;
|
|
327
|
+
/**
|
|
328
|
+
* How the server verified the agent's persistent identity.
|
|
329
|
+
*
|
|
330
|
+
* - "verified": Server cryptographically verified the proof
|
|
331
|
+
* - "auth-derived": Identity was extracted from a verified auth token
|
|
332
|
+
* - "self-declared": Agent presented identity but proof was not verified
|
|
333
|
+
* - "unverified": No proof was provided
|
|
334
|
+
*
|
|
335
|
+
* Per Option D: Servers MUST NOT set "verified" unless cryptographic
|
|
336
|
+
* verification succeeded. If proof is present, servers SHOULD attempt
|
|
337
|
+
* verification.
|
|
338
|
+
*/
|
|
339
|
+
type IdentityVerificationStatus = "verified" | "auth-derived" | "self-declared" | "unverified";
|
|
340
|
+
/**
|
|
341
|
+
* JSON Web Key (JWK) representation of a public key (RFC 7517).
|
|
342
|
+
* Used for DID and Verifiable Credentials interoperability.
|
|
343
|
+
*
|
|
344
|
+
* For Ed25519 keys:
|
|
345
|
+
* - kty: "OKP"
|
|
346
|
+
* - crv: "Ed25519"
|
|
347
|
+
* - x: base64url-encoded raw 32-byte public key
|
|
348
|
+
*/
|
|
349
|
+
interface AgentPublicKeyJwk {
|
|
350
|
+
kty: string;
|
|
351
|
+
crv?: string;
|
|
352
|
+
x?: string;
|
|
353
|
+
[key: string]: unknown;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Legacy authority endorsement format.
|
|
357
|
+
* Kept for backward compatibility with agent-iam < 0.0.3.
|
|
358
|
+
*/
|
|
359
|
+
interface AgentEndorsement {
|
|
360
|
+
/** Identifier of the endorsing authority */
|
|
361
|
+
authorityId: string;
|
|
362
|
+
/** The authority's public key (PEM) for verification */
|
|
363
|
+
authorityPublicKey?: string;
|
|
364
|
+
/** What the authority is claiming (e.g., "member-of:acme-engineering") */
|
|
365
|
+
claim: string;
|
|
366
|
+
/** Cryptographic signature over persistentId + publicKey + claim */
|
|
367
|
+
signature: string;
|
|
368
|
+
/** When the endorsement was issued (ISO 8601) */
|
|
369
|
+
issuedAt: string;
|
|
370
|
+
/** When the endorsement expires (ISO 8601, optional) */
|
|
371
|
+
expiresAt?: string;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* W3C Verifiable Credential endorsement format (aligned with VC Data Model 2.0).
|
|
375
|
+
*
|
|
376
|
+
* Enables interoperability with the broader VC ecosystem.
|
|
377
|
+
* Proof is computed over a JCS (RFC 8785) canonicalization of the credential fields.
|
|
378
|
+
*/
|
|
379
|
+
interface AgentVerifiableCredential {
|
|
380
|
+
type: "VerifiableCredential";
|
|
381
|
+
issuer: {
|
|
382
|
+
/** Issuer identifier (DID, URI, or plain string) */
|
|
383
|
+
id: string;
|
|
384
|
+
/** Human-readable name */
|
|
385
|
+
name?: string;
|
|
386
|
+
};
|
|
387
|
+
/** When the credential was issued (ISO 8601) */
|
|
388
|
+
issuanceDate: string;
|
|
389
|
+
/** When the credential expires (ISO 8601, optional) */
|
|
390
|
+
expirationDate?: string;
|
|
391
|
+
credentialSubject: {
|
|
392
|
+
/** The agent's persistentId (e.g., "did:key:z6Mk...") */
|
|
393
|
+
id: string;
|
|
394
|
+
/** What is being attested */
|
|
395
|
+
claim: string;
|
|
396
|
+
};
|
|
397
|
+
proof: {
|
|
398
|
+
type: "Ed25519Signature2020";
|
|
399
|
+
/** Issuer's key reference (e.g., "did:key:z6Mk...#z6Mk...") */
|
|
400
|
+
verificationMethod: string;
|
|
401
|
+
/** When the proof was created (ISO 8601) */
|
|
402
|
+
created: string;
|
|
403
|
+
/** base64url-encoded Ed25519 signature over JCS-canonicalized payload */
|
|
404
|
+
proofValue: string;
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* An endorsement can be either the legacy format or W3C VC format.
|
|
409
|
+
* Both are supported for backward compatibility.
|
|
410
|
+
* Use isVerifiableCredential() / isLegacyEndorsement() to discriminate.
|
|
411
|
+
*/
|
|
412
|
+
type Endorsement = AgentEndorsement | AgentVerifiableCredential;
|
|
413
|
+
/** Type guard for W3C VC-format endorsements */
|
|
414
|
+
declare function isVerifiableCredential(e: Endorsement): e is AgentVerifiableCredential;
|
|
415
|
+
/** Type guard for legacy endorsements */
|
|
416
|
+
declare function isLegacyEndorsement(e: Endorsement): e is AgentEndorsement;
|
|
417
|
+
/**
|
|
418
|
+
* Proof binding a persistent identity to the current session.
|
|
419
|
+
* Prevents replay attacks by tying the proof to a specific challenge.
|
|
420
|
+
*/
|
|
421
|
+
interface AgentIdentityProof {
|
|
422
|
+
/** The challenge/nonce that was signed */
|
|
423
|
+
challenge: string;
|
|
424
|
+
/** Cryptographic signature over the challenge */
|
|
425
|
+
signature: string;
|
|
426
|
+
/** When the proof was generated (ISO 8601) */
|
|
427
|
+
provenAt: string;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Persistent identity for an agent that survives across sessions and connections.
|
|
431
|
+
*
|
|
432
|
+
* Identity ("who you are") is separate from capability ("what you can do")
|
|
433
|
+
* and from the transient AgentId assigned per registration.
|
|
434
|
+
*
|
|
435
|
+
* The persistentId format depends on the identity type:
|
|
436
|
+
* - keypair: "did:key:z6Mk..." (W3C DID:key) or "key:..." (legacy)
|
|
437
|
+
* - platform: "platform:{uuid}"
|
|
438
|
+
* - attested: "spiffe://trust-domain/path" (CNCF SPIFFE)
|
|
439
|
+
* - decentralized: "did:web:domain:path" or "did:wba:domain:path"
|
|
440
|
+
*
|
|
441
|
+
* The persistentId is stable across:
|
|
442
|
+
* - Session boundaries (disconnect/reconnect)
|
|
443
|
+
* - Token refresh and expiration
|
|
444
|
+
* - Delegation chains (parent → child)
|
|
445
|
+
* - Federation (cross-system movement)
|
|
446
|
+
*/
|
|
447
|
+
interface AgentPersistentIdentity {
|
|
448
|
+
/** Stable identifier across sessions */
|
|
449
|
+
persistentId: string;
|
|
450
|
+
/** How this identity was established */
|
|
451
|
+
identityType: IdentityType;
|
|
452
|
+
/** Public key for self-certifying verification (PEM format) */
|
|
453
|
+
publicKey?: string;
|
|
454
|
+
/** Public key in JWK format (for DID/VC ecosystem interop) */
|
|
455
|
+
publicKeyJwk?: AgentPublicKeyJwk;
|
|
456
|
+
/** Proof binding this identity to the current session */
|
|
457
|
+
proof?: AgentIdentityProof;
|
|
458
|
+
/** Endorsements for progressive trust (supports both legacy and VC formats) */
|
|
459
|
+
endorsements?: Endorsement[];
|
|
460
|
+
/**
|
|
461
|
+
* How the server verified this identity.
|
|
462
|
+
* Set by the server, not the client. Servers MUST NOT set "verified"
|
|
463
|
+
* unless cryptographic verification succeeded.
|
|
464
|
+
*/
|
|
465
|
+
verificationStatus?: IdentityVerificationStatus;
|
|
466
|
+
_meta?: Meta;
|
|
467
|
+
}
|
|
314
468
|
/** Who can see this agent */
|
|
315
469
|
type AgentVisibility = "public" | "parent-only" | "scope" | "system";
|
|
316
470
|
/** An agent in the multi-agent system */
|
|
@@ -359,6 +513,12 @@ interface Agent {
|
|
|
359
513
|
environment?: AgentEnvironment;
|
|
360
514
|
/** Structured capability descriptor for rich agent discovery */
|
|
361
515
|
capabilityDescriptor?: MAPAgentCapabilityDescriptor;
|
|
516
|
+
/**
|
|
517
|
+
* Persistent identity that survives across sessions.
|
|
518
|
+
* When present, identifies this agent instance across reconnections,
|
|
519
|
+
* token refreshes, and federation boundaries.
|
|
520
|
+
*/
|
|
521
|
+
persistentIdentity?: AgentPersistentIdentity;
|
|
362
522
|
metadata?: Record<string, unknown>;
|
|
363
523
|
_meta?: Meta;
|
|
364
524
|
}
|
|
@@ -660,6 +820,10 @@ declare const EVENT_TYPES: {
|
|
|
660
820
|
readonly PERMISSIONS_CLIENT_UPDATED: "permissions_client_updated";
|
|
661
821
|
readonly PERMISSIONS_AGENT_UPDATED: "permissions_agent_updated";
|
|
662
822
|
readonly SYSTEM_ERROR: "system_error";
|
|
823
|
+
readonly AGENT_RESUMED: "agent.resumed";
|
|
824
|
+
readonly AGENT_IDENTITY_VERIFICATION_FAILED: "agent.identity.verification.failed";
|
|
825
|
+
readonly CREDENTIAL_ISSUED: "credential.issued";
|
|
826
|
+
readonly CREDENTIAL_DENIED: "credential.denied";
|
|
663
827
|
readonly FEDERATION_CONNECTED: "federation_connected";
|
|
664
828
|
readonly FEDERATION_DISCONNECTED: "federation_disconnected";
|
|
665
829
|
readonly TRAJECTORY_CHECKPOINT: "trajectory.checkpoint";
|
|
@@ -1002,6 +1166,8 @@ interface AuthPrincipal {
|
|
|
1002
1166
|
claims?: Record<string, unknown>;
|
|
1003
1167
|
/** Token expiration timestamp (Unix ms) - from JWT exp claim */
|
|
1004
1168
|
expiresAt?: number;
|
|
1169
|
+
/** Persistent identity extracted from credentials (if present) */
|
|
1170
|
+
persistentId?: string;
|
|
1005
1171
|
}
|
|
1006
1172
|
/**
|
|
1007
1173
|
* Authentication error details.
|
|
@@ -1217,6 +1383,8 @@ interface AgentsListFilter {
|
|
|
1217
1383
|
tags?: string[];
|
|
1218
1384
|
/** Filter by accepted content type */
|
|
1219
1385
|
accepts?: string;
|
|
1386
|
+
/** Filter by persistent identity */
|
|
1387
|
+
persistentId?: string;
|
|
1220
1388
|
}
|
|
1221
1389
|
interface AgentsListRequestParams {
|
|
1222
1390
|
filter?: AgentsListFilter;
|
|
@@ -1273,6 +1441,20 @@ interface AgentsRegisterRequestParams {
|
|
|
1273
1441
|
environment?: AgentEnvironment;
|
|
1274
1442
|
/** Structured capability descriptor for rich agent discovery */
|
|
1275
1443
|
capabilityDescriptor?: MAPAgentCapabilityDescriptor;
|
|
1444
|
+
/**
|
|
1445
|
+
* Persistent identity for this agent.
|
|
1446
|
+
* If provided, the server will attempt to verify the proof and may
|
|
1447
|
+
* resume a previous registration with the same persistentId.
|
|
1448
|
+
* If omitted and the server is configured to auto-assign identities,
|
|
1449
|
+
* the server may generate one and return it in the response.
|
|
1450
|
+
*/
|
|
1451
|
+
persistentIdentity?: AgentPersistentIdentity;
|
|
1452
|
+
/**
|
|
1453
|
+
* When true and persistentIdentity is provided, the server will attempt
|
|
1454
|
+
* to resume a previously orphaned agent with the same persistentId.
|
|
1455
|
+
* The resumed agent's ID and accumulated state are preserved.
|
|
1456
|
+
*/
|
|
1457
|
+
resumePersistentIdentity?: boolean;
|
|
1276
1458
|
metadata?: Record<string, unknown>;
|
|
1277
1459
|
/** Permission overrides merged on top of role-based defaults */
|
|
1278
1460
|
permissionOverrides?: Partial<AgentPermissions>;
|
|
@@ -1284,6 +1466,18 @@ interface AgentsRegisterRequest extends MAPRequestBase<AgentsRegisterRequestPara
|
|
|
1284
1466
|
}
|
|
1285
1467
|
interface AgentsRegisterResponseResult {
|
|
1286
1468
|
agent: Agent;
|
|
1469
|
+
/**
|
|
1470
|
+
* Whether this registration resumed a previous agent via persistent identity.
|
|
1471
|
+
* When true, the agent's ID and state may reflect the previous registration.
|
|
1472
|
+
*/
|
|
1473
|
+
resumed?: boolean;
|
|
1474
|
+
/**
|
|
1475
|
+
* Context about what was resumed (only present when resumed is true).
|
|
1476
|
+
* Indicates which session the agent was previously associated with.
|
|
1477
|
+
*/
|
|
1478
|
+
resumedFrom?: {
|
|
1479
|
+
previousSessionId: string;
|
|
1480
|
+
};
|
|
1287
1481
|
_meta?: Meta;
|
|
1288
1482
|
}
|
|
1289
1483
|
interface AgentsUnregisterRequestParams {
|
|
@@ -6556,4 +6750,4 @@ declare function canAgentMessageAgent(senderAgent: Agent, targetAgentId: AgentId
|
|
|
6556
6750
|
sharedScopes?: ScopeId[];
|
|
6557
6751
|
}, config?: AgentPermissionConfig): boolean;
|
|
6558
6752
|
|
|
6559
|
-
export { type ACPRequestPermissionResponse as $, type AgentId as A, type BaseConnectionOptions as B, type ConnectResponseResult as C, type DisconnectResponseResult as D, type ErrorCategory as E, type FederationBufferConfig as F, type ScopesCreateResponseResult as G, type ScopesJoinResponseResult as H, type ScopesLeaveResponseResult as I, type ScopesListResponseResult as J, type MessageId as K, type SendResponseResult as L, type MAPError as M, type SubscriptionId as N, type SubscribeResponseResult as O, type ParticipantCapabilities as P, type AgentVisibility as Q, type RequestId as R, type Stream as S, type ScopeVisibility as T, type UnsubscribeResponseResult as U, type AgentState as V, type MessageMeta as W, AgentConnection as X, type ACPAgentHandler as Y, type ACPSessionNotification as Z, type ACPRequestPermissionRequest as _, type MAPErrorData as a, type ACPPermissionOptionKind as a$, type ACPReadTextFileRequest as a0, type ACPReadTextFileResponse as a1, type ACPWriteTextFileRequest as a2, type ACPWriteTextFileResponse as a3, type ACPCreateTerminalRequest as a4, type ACPCreateTerminalResponse as a5, type ACPTerminalOutputRequest as a6, type ACPTerminalOutputResponse as a7, type ACPReleaseTerminalRequest as a8, type ACPReleaseTerminalResponse as a9, type ACPEmbeddedResource as aA, type ACPEnvVariable as aB, type ACPEnvelope as aC, ACPError as aD, type ACPErrorCode as aE, type ACPErrorObject as aF, type ACPErrorResponse as aG, type ACPFileSystemCapability as aH, type ACPHttpHeader as aI, type ACPImageContent as aJ, type ACPImplementation as aK, type ACPInitializeRequest as aL, type ACPInitializeResponse as aM, type ACPLoadSessionRequest as aN, type ACPLoadSessionResponse as aO, type ACPMcpCapabilities as aP, type ACPMcpServer as aQ, type ACPMcpServerHttp as aR, type ACPMcpServerSse as aS, type ACPMcpServerStdio as aT, type ACPMessage as aU, type ACPMeta as aV, type ACPNewSessionRequest as aW, type ACPNewSessionResponse as aX, type ACPNotification as aY, type ACPPermissionOption as aZ, type ACPPermissionOptionId as a_, type ACPWaitForTerminalExitRequest as aa, type ACPWaitForTerminalExitResponse as ab, type ACPKillTerminalCommandRequest as ac, type ACPKillTerminalCommandResponse as ad, type ACPSessionId as ae, type ACPAgentCapabilities as af, type ACPAgentContext as ag, type ACPAnnotations as ah, type ACPAudioContent as ai, type ACPAuthMethod as aj, type ACPAuthenticateRequest as ak, type ACPAuthenticateResponse as al, type ACPAvailableCommand as am, type ACPAvailableCommandsUpdate as an, type ACPBlobResourceContents as ao, type ACPCancelNotification as ap, type ACPCancelledPermissionOutcome as aq, type ACPCapability as ar, type ACPClientCapabilities as as, type ACPClientHandlers as at, type ACPContent as au, type ACPContentBlock as av, type ACPContentChunk as aw, type ACPContext as ax, type ACPCurrentModeUpdate as ay, type ACPDiff as az, type FederationEnvelope as b, type AgentsGetRequest as b$, type ACPPlan as b0, type ACPPlanEntry as b1, type ACPPlanEntryPriority as b2, type ACPPlanEntryStatus as b3, type ACPPromptCapabilities as b4, type ACPPromptRequest as b5, type ACPPromptResponse as b6, type ACPProtocolVersion as b7, type ACPRequest as b8, type ACPRequestId as b9, type ACPToolCallStatus as bA, type ACPToolCallUpdate as bB, type ACPToolKind as bC, ACP_ERROR_CODES as bD, ACP_METHODS as bE, ACP_PROTOCOL_VERSION as bF, AGENT_ERROR_CODES as bG, AUTH_ERROR_CODES as bH, AUTH_METHODS as bI, type AcceptanceContext as bJ, type AgentAcceptanceRule as bK, type AgentConnectOptions as bL, type AgentConnectionOptions as bM, type AgentEnvironment as bN, type AgentIncludeOptions as bO, type AgentLifecycle as bP, type AgentMeshConnectOptions as bQ, type AgentMessagingRule as bR, type AgentPermissionConfig as bS, type AgentPermissions as bT, type AgentReconnectionEventHandler as bU, type AgentReconnectionEventType as bV, type AgentReconnectionOptions as bW, type AgentRelationship as bX, type AgentRelationshipType as bY, type AgentVisibilityRule as bZ, type AgenticMeshStreamConfig as b_, type ACPRequestPermissionOutcome as ba, type ACPResourceLink as bb, type ACPResponse as bc, type ACPRole as bd, type ACPSelectedPermissionOutcome as be, type ACPSessionCapabilities as bf, type ACPSessionInfoUpdate as bg, type ACPSessionMode as bh, type ACPSessionModeId as bi, type ACPSessionModeState as bj, type ACPSessionUpdate as bk, type ACPSetSessionModeRequest as bl, type ACPSetSessionModeResponse as bm, type ACPStopReason as bn, ACPStreamConnection as bo, type ACPStreamEvents as bp, type ACPStreamOptions as bq, type ACPSuccessResponse as br, type ACPTerminal as bs, type ACPTerminalExitStatus as bt, type ACPTextContent as bu, type ACPTextResourceContents as bv, type ACPToolCall as bw, type ACPToolCallContent as bx, type ACPToolCallId as by, type ACPToolCallLocation as bz, type Message as c, ERROR_CODES as c$, type AgentsGetRequestParams as c0, type AgentsListFilter as c1, type AgentsListRequest as c2, type AgentsListRequestParams as c3, type AgentsRegisterRequest as c4, type AgentsRegisterRequestParams as c5, type AgentsResumeRequest as c6, type AgentsResumeRequestParams as c7, type AgentsResumeResponseResult as c8, type AgentsSpawnRequest as c9, CAPABILITY_REQUIREMENTS as cA, CORE_METHODS as cB, type CheckpointId as cC, type ClientAcceptanceRule as cD, type ClientConnectOptions as cE, ClientConnection as cF, type ClientConnectionOptions as cG, type ConnectRequest as cH, type ConnectRequestParams as cI, type Conversation as cJ, type ConversationId as cK, type ConversationParticipant as cL, type ConversationPermissions as cM, type ConversationStatus as cN, type ConversationType as cO, type CorrelationId as cP, DEFAULT_AGENT_PERMISSION_CONFIG as cQ, type DIDDocument as cR, type DIDService as cS, type DIDVerificationMethod as cT, type DIDWBACredentials as cU, type DIDWBAProof as cV, type DeliverySemantics as cW, type DirectAddress as cX, type DisconnectPolicy as cY, type DisconnectRequest as cZ, type DisconnectRequestParams as c_, type AgentsSpawnRequestParams as ca, type AgentsStopRequest as cb, type AgentsStopRequestParams as cc, type AgentsStopResponseResult as cd, type AgentsSuspendRequest as ce, type AgentsSuspendRequestParams as cf, type AgentsSuspendResponseResult as cg, type AgentsUnregisterRequest as ch, type AgentsUnregisterRequestParams as ci, type AgentsUpdateRequest as cj, type AgentsUpdateRequestParams as ck, type AnyMessage as cl, type AuthCredentials as cm, type AuthError as cn, type AuthErrorCode as co, type AuthMethod as cp, type AuthPrincipal as cq, type AuthRefreshRequest as cr, type AuthRefreshRequestParams as cs, type AuthRefreshResponseResult as ct, type AuthResult as cu, type AuthenticateRequest as cv, type AuthenticateRequestParams as cw, type AuthenticateResponseResult as cx, BaseConnection as cy, type BroadcastAddress as cz, type FederationRoutingConfig as d, type MailLeaveRequest as d$, EVENT_TYPES as d0, EXTENSION_METHODS as d1, type EventInput as d2, type EventNotification as d3, type EventNotificationParams as d4, FEDERATION_ERROR_CODES as d5, FEDERATION_METHODS as d6, type FederatedAddress as d7, type FederationAuthMethod as d8, type FederationConnectRequest as d9, type MAPNotification as dA, type MAPNotificationBase as dB, type MAPRequest as dC, type MAPRequestBase as dD, type MAPResponse as dE, type MAPResponseError as dF, type MAPResponseSuccess as dG, type MAPTask as dH, type MAPTaskStatus as dI, MAP_METHODS as dJ, type MailCloseRequest as dK, type MailCloseRequestParams as dL, type MailCloseResponseResult as dM, type MailClosedEventData as dN, type MailCreateRequest as dO, type MailCreateRequestParams as dP, type MailCreateResponseResult as dQ, type MailCreatedEventData as dR, type MailGetRequest as dS, type MailGetRequestParams as dT, type MailGetResponseResult as dU, type MailInviteRequest as dV, type MailInviteRequestParams as dW, type MailInviteResponseResult as dX, type MailJoinRequest as dY, type MailJoinRequestParams as dZ, type MailJoinResponseResult as d_, type FederationConnectRequestParams as da, type FederationMetadata as db, type FederationReplayConfig as dc, type FederationRouteRequest as dd, type FederationRouteRequestParams as de, type GatewayReconnectionEvent as df, type GatewayReconnectionEventHandler as dg, type GatewayReconnectionEventType as dh, type GatewayReconnectionOptions as di, type GraphEdge as dj, type HierarchicalAddress as dk, type InjectDelivery as dl, type InjectDeliveryResult as dm, type InjectRequest as dn, type InjectRequestParams as dp, type InjectResponseResult as dq, JSONRPC_VERSION as dr, type JoinPolicy as ds, LIFECYCLE_METHODS as dt, MAIL_ERROR_CODES as du, MAIL_METHODS as dv, type MAPAgentCapabilityDescriptor as dw, type MAPCapabilityDeclaration as dx, type MAPFederationAuth as dy, type MAPInterfaceSpec as dz, type EventType as e, type PermissionsUpdateRequest as e$, type MailLeaveRequestParams as e0, type MailLeaveResponseResult as e1, type MailListRequest as e2, type MailListRequestParams as e3, type MailListResponseResult as e4, type MailMessageMeta as e5, type MailParticipantJoinedEventData as e6, type MailParticipantLeftEventData as e7, type MailReplayRequest as e8, type MailReplayRequestParams as e9, type MessageHandler as eA, type MessageNotification as eB, type MessageNotificationParams as eC, type MessagePriority as eD, type MessageRelationship as eE, type MessageSentEventData as eF, type MessageVisibility as eG, type Meta as eH, type MultiAddress as eI, NOTIFICATION_METHODS as eJ, type NotificationHandler as eK, OBSERVATION_METHODS as eL, type OverflowHandler as eM, type OverflowInfo as eN, PERMISSION_METHODS as eO, PROTOCOL_ERROR_CODES as eP, PROTOCOL_VERSION as eQ, type Participant as eR, type ParticipantAddress as eS, type ParticipantRole as eT, type PermissionAction as eU, type PermissionContext as eV, type PermissionParticipant as eW, type PermissionResult as eX, type PermissionSystemConfig as eY, type PermissionsAgentUpdatedEventData as eZ, type PermissionsClientUpdatedEventData as e_, type MailReplayResponseResult as ea, type MailSubscriptionFilter as eb, type MailSummaryGeneratedEventData as ec, type MailSummaryRequest as ed, type MailSummaryRequestParams as ee, type MailSummaryResponseResult as ef, type MailThreadCreateRequest as eg, type MailThreadCreateRequestParams as eh, type MailThreadCreateResponseResult as ei, type MailThreadCreatedEventData as ej, type MailThreadListRequest as ek, type MailThreadListRequestParams as el, type MailThreadListResponseResult as em, type MailTurnAddedEventData as en, type MailTurnRequest as eo, type MailTurnRequestParams as ep, type MailTurnResponseResult as eq, type MailTurnUpdatedEventData as er, type MailTurnsListRequest as es, type MailTurnsListRequestParams as et, type MailTurnsListResponseResult as eu, type MeshConnectOptions as ev, type MeshPeerEndpoint as ew, type MeshTransportAdapter as ex, type MessageDeliveredEventData as ey, type MessageFailedEventData as ez, type SessionId as f, type SubscriptionOptions$1 as f$, type PermissionsUpdateRequestParams as f0, type PermissionsUpdateResponseResult as f1, RESOURCE_ERROR_CODES as f2, ROUTING_ERROR_CODES as f3, type ReconnectionEventHandler as f4, type ReconnectionEventType as f5, type ReconnectionOptions as f6, type ReplayRequest as f7, type ReplayRequestParams as f8, type ReplayResponseResult as f9, type ScopesMembersRequestParams as fA, type ScopesMembersResponseResult as fB, type SendPolicy as fC, type SendRequest as fD, type SendRequestParams as fE, type ServerAuthCapabilities as fF, type SessionCloseRequest as fG, type SessionCloseRequestParams as fH, type SessionCloseResponseResult as fI, type SessionListRequest as fJ, type SessionListRequestParams as fK, type SessionListResponseResult as fL, type SessionLoadRequest as fM, type SessionLoadRequestParams as fN, type SessionLoadResponseResult as fO, type StandardAuthMethod as fP, type StateChangeHandler as fQ, type StreamingCapabilities as fR, type StructureGraphRequest as fS, type StructureGraphRequestParams as fT, type StructureGraphResponseResult as fU, type StructureVisibilityRule as fV, type SubscribeRequest as fW, type SubscribeRequestParams as fX, Subscription as fY, type SubscriptionAckNotification as fZ, type SubscriptionAckParams as f_, type ReplayedEvent as fa, type RequestHandler as fb, type RoleAddress as fc, SCOPE_METHODS as fd, SESSION_METHODS as fe, STATE_METHODS as ff, STEERING_METHODS as fg, STRUCTURE_METHODS as fh, type ScopeAddress as fi, type ScopeMessagingRule as fj, type ScopeVisibilityRule as fk, type ScopesCreateRequest as fl, type ScopesCreateRequestParams as fm, type ScopesDeleteRequest as fn, type ScopesDeleteRequestParams as fo, type ScopesDeleteResponseResult as fp, type ScopesGetRequest as fq, type ScopesGetRequestParams as fr, type ScopesGetResponseResult as fs, type ScopesJoinRequest as ft, type ScopesJoinRequestParams as fu, type ScopesLeaveRequest as fv, type ScopesLeaveRequestParams as fw, type ScopesListRequest as fx, type ScopesListRequestParams as fy, type ScopesMembersRequest as fz, type FederationAuth as g, type WorkspaceSearchRequestParams as g$, type SubscriptionState as g0, type SystemAcceptanceRule as g1, type SystemAddress as g2, TASK_METHODS as g3, TRAJECTORY_ERROR_CODES as g4, TRAJECTORY_METHODS as g5, type TaskAssignedEventData as g6, type TaskCompletedEventData as g7, type TaskCreatedEventData as g8, type TaskId as g9, type TrajectoryContentRequestParams as gA, type TrajectoryContentResponseResult as gB, type TrajectoryContentResult as gC, type TrajectoryContentResultBase as gD, type TrajectoryContentResultInline as gE, type TrajectoryContentResultStreaming as gF, type TrajectoryGetRequest as gG, type TrajectoryGetRequestParams as gH, type TrajectoryGetResponseResult as gI, type TrajectoryListRequest as gJ, type TrajectoryListRequestParams as gK, type TrajectoryListResponseResult as gL, type TrajectorySubscriptionFilter as gM, type TransportType as gN, type Turn as gO, type TurnId as gP, type TurnSource as gQ, type TurnStatus as gR, type TurnVisibility as gS, type UnsubscribeRequest as gT, type UnsubscribeRequestParams as gU, WORKSPACE_METHODS as gV, type WorkspaceFileResult as gW, type WorkspaceListRequestParams as gX, type WorkspaceListResponseResult as gY, type WorkspaceReadRequestParams as gZ, type WorkspaceReadResponseResult as g_, type TaskStatusEventData as ga, type TasksAssignRequest as gb, type TasksAssignRequestParams as gc, type TasksAssignResponseResult as gd, type TasksCreateRequest as ge, type TasksCreateRequestParams as gf, type TasksCreateResponseResult as gg, type TasksListRequest as gh, type TasksListRequestParams as gi, type TasksListResponseResult as gj, type TasksUpdateRequest as gk, type TasksUpdateRequestParams as gl, type TasksUpdateResponseResult as gm, type Thread as gn, type ThreadId as go, type Timestamp as gp, type TrajectoryCheckpoint as gq, type TrajectoryCheckpointEventData as gr, type TrajectoryCheckpointRequest as gs, type TrajectoryCheckpointRequestParams as gt, type TrajectoryCheckpointResponseResult as gu, type TrajectoryContentAvailableEventData as gv, type TrajectoryContentChunkNotification as gw, type TrajectoryContentChunkParams as gx, type TrajectoryContentField as gy, type TrajectoryContentRequest as gz, type FederationConnectResponseResult as h, type WorkspaceSearchResponseResult as h0, agenticMeshStream as h1, canAgentAcceptMessage as h2, canAgentMessageAgent as h3, canAgentSeeAgent as h4, canControlAgent as h5, canJoinScope as h6, canMessageAgent as h7, canPerformAction as h8, canPerformMethod as h9, isSuccessResponse as hA, mapVisibilityToRule as hB, ndJsonStream as hC, resolveAgentPermissions as hD, waitForOpen as hE, websocketStream as hF, type SystemExposure as hG, canSeeAgent as ha, canSeeScope as hb, canSendToScope as hc, createACPStream as hd, createEvent as he, createStreamPair as hf, createSubscription as hg, deepMergePermissions as hh, filterVisibleAgents as hi, filterVisibleEvents as hj, filterVisibleScopes as hk, hasCapability as hl, isACPEnvelope as hm, isACPErrorResponse as hn, isACPNotification as ho, isACPRequest as hp, isACPResponse as hq, isACPSuccessResponse as hr, isAgentExposed as hs, isBroadcastAddress as ht, isDirectAddress as hu, isEventTypeExposed as hv, isFederatedAddress as hw, isHierarchicalAddress as hx, isOrphanedAgent as hy, isScopeExposed as hz, type FederationRouteResponseResult as i, type ConnectionState as j, type ParticipantId as k, type ParticipantType as l, type ScopeId as m, type Agent as n, type Scope as o, type Address as p, type SubscriptionFilter as q, type Event as r, type AgentsGetResponseResult as s, type AgentsListResponseResult as t, type AgentsRegisterResponseResult as u, type AgentsSpawnResponseResult as v, type AgentsUnregisterResponseResult as w, type AgentsUpdateResponseResult as x, type ProtocolVersion as y, type SessionInfo as z };
|
|
6753
|
+
export { type ACPRequestPermissionResponse as $, type AgentId as A, type BaseConnectionOptions as B, type ConnectResponseResult as C, type DisconnectResponseResult as D, type ErrorCategory as E, type FederationBufferConfig as F, type ScopesCreateResponseResult as G, type ScopesJoinResponseResult as H, type ScopesLeaveResponseResult as I, type ScopesListResponseResult as J, type MessageId as K, type SendResponseResult as L, type MAPError as M, type SubscriptionId as N, type SubscribeResponseResult as O, type ParticipantCapabilities as P, type AgentVisibility as Q, type RequestId as R, type Stream as S, type ScopeVisibility as T, type UnsubscribeResponseResult as U, type AgentState as V, type MessageMeta as W, AgentConnection as X, type ACPAgentHandler as Y, type ACPSessionNotification as Z, type ACPRequestPermissionRequest as _, type MAPErrorData as a, type ACPPermissionOptionKind as a$, type ACPReadTextFileRequest as a0, type ACPReadTextFileResponse as a1, type ACPWriteTextFileRequest as a2, type ACPWriteTextFileResponse as a3, type ACPCreateTerminalRequest as a4, type ACPCreateTerminalResponse as a5, type ACPTerminalOutputRequest as a6, type ACPTerminalOutputResponse as a7, type ACPReleaseTerminalRequest as a8, type ACPReleaseTerminalResponse as a9, type ACPEmbeddedResource as aA, type ACPEnvVariable as aB, type ACPEnvelope as aC, ACPError as aD, type ACPErrorCode as aE, type ACPErrorObject as aF, type ACPErrorResponse as aG, type ACPFileSystemCapability as aH, type ACPHttpHeader as aI, type ACPImageContent as aJ, type ACPImplementation as aK, type ACPInitializeRequest as aL, type ACPInitializeResponse as aM, type ACPLoadSessionRequest as aN, type ACPLoadSessionResponse as aO, type ACPMcpCapabilities as aP, type ACPMcpServer as aQ, type ACPMcpServerHttp as aR, type ACPMcpServerSse as aS, type ACPMcpServerStdio as aT, type ACPMessage as aU, type ACPMeta as aV, type ACPNewSessionRequest as aW, type ACPNewSessionResponse as aX, type ACPNotification as aY, type ACPPermissionOption as aZ, type ACPPermissionOptionId as a_, type ACPWaitForTerminalExitRequest as aa, type ACPWaitForTerminalExitResponse as ab, type ACPKillTerminalCommandRequest as ac, type ACPKillTerminalCommandResponse as ad, type ACPSessionId as ae, type ACPAgentCapabilities as af, type ACPAgentContext as ag, type ACPAnnotations as ah, type ACPAudioContent as ai, type ACPAuthMethod as aj, type ACPAuthenticateRequest as ak, type ACPAuthenticateResponse as al, type ACPAvailableCommand as am, type ACPAvailableCommandsUpdate as an, type ACPBlobResourceContents as ao, type ACPCancelNotification as ap, type ACPCancelledPermissionOutcome as aq, type ACPCapability as ar, type ACPClientCapabilities as as, type ACPClientHandlers as at, type ACPContent as au, type ACPContentBlock as av, type ACPContentChunk as aw, type ACPContext as ax, type ACPCurrentModeUpdate as ay, type ACPDiff as az, type FederationEnvelope as b, type AgentRelationship as b$, type ACPPlan as b0, type ACPPlanEntry as b1, type ACPPlanEntryPriority as b2, type ACPPlanEntryStatus as b3, type ACPPromptCapabilities as b4, type ACPPromptRequest as b5, type ACPPromptResponse as b6, type ACPProtocolVersion as b7, type ACPRequest as b8, type ACPRequestId as b9, type ACPToolCallStatus as bA, type ACPToolCallUpdate as bB, type ACPToolKind as bC, ACP_ERROR_CODES as bD, ACP_METHODS as bE, ACP_PROTOCOL_VERSION as bF, AGENT_ERROR_CODES as bG, AUTH_ERROR_CODES as bH, AUTH_METHODS as bI, type AcceptanceContext as bJ, type AgentAcceptanceRule as bK, type AgentConnectOptions as bL, type AgentConnectionOptions as bM, type AgentEndorsement as bN, type AgentEnvironment as bO, type AgentIdentityProof as bP, type AgentIncludeOptions as bQ, type AgentLifecycle as bR, type AgentMeshConnectOptions as bS, type AgentMessagingRule as bT, type AgentPermissionConfig as bU, type AgentPermissions as bV, type AgentPersistentIdentity as bW, type AgentPublicKeyJwk as bX, type AgentReconnectionEventHandler as bY, type AgentReconnectionEventType as bZ, type AgentReconnectionOptions as b_, type ACPRequestPermissionOutcome as ba, type ACPResourceLink as bb, type ACPResponse as bc, type ACPRole as bd, type ACPSelectedPermissionOutcome as be, type ACPSessionCapabilities as bf, type ACPSessionInfoUpdate as bg, type ACPSessionMode as bh, type ACPSessionModeId as bi, type ACPSessionModeState as bj, type ACPSessionUpdate as bk, type ACPSetSessionModeRequest as bl, type ACPSetSessionModeResponse as bm, type ACPStopReason as bn, ACPStreamConnection as bo, type ACPStreamEvents as bp, type ACPStreamOptions as bq, type ACPSuccessResponse as br, type ACPTerminal as bs, type ACPTerminalExitStatus as bt, type ACPTextContent as bu, type ACPTextResourceContents as bv, type ACPToolCall as bw, type ACPToolCallContent as bx, type ACPToolCallId as by, type ACPToolCallLocation as bz, type Message as c, type DeliverySemantics as c$, type AgentRelationshipType as c0, type AgentVerifiableCredential as c1, type AgentVisibilityRule as c2, type AgenticMeshStreamConfig as c3, type AgentsGetRequest as c4, type AgentsGetRequestParams as c5, type AgentsListFilter as c6, type AgentsListRequest as c7, type AgentsListRequestParams as c8, type AgentsRegisterRequest as c9, type AuthenticateRequest as cA, type AuthenticateRequestParams as cB, type AuthenticateResponseResult as cC, BaseConnection as cD, type BroadcastAddress as cE, CAPABILITY_REQUIREMENTS as cF, CORE_METHODS as cG, type CheckpointId as cH, type ClientAcceptanceRule as cI, type ClientConnectOptions as cJ, ClientConnection as cK, type ClientConnectionOptions as cL, type ConnectRequest as cM, type ConnectRequestParams as cN, type Conversation as cO, type ConversationId as cP, type ConversationParticipant as cQ, type ConversationPermissions as cR, type ConversationStatus as cS, type ConversationType as cT, type CorrelationId as cU, DEFAULT_AGENT_PERMISSION_CONFIG as cV, type DIDDocument as cW, type DIDService as cX, type DIDVerificationMethod as cY, type DIDWBACredentials as cZ, type DIDWBAProof as c_, type AgentsRegisterRequestParams as ca, type AgentsResumeRequest as cb, type AgentsResumeRequestParams as cc, type AgentsResumeResponseResult as cd, type AgentsSpawnRequest as ce, type AgentsSpawnRequestParams as cf, type AgentsStopRequest as cg, type AgentsStopRequestParams as ch, type AgentsStopResponseResult as ci, type AgentsSuspendRequest as cj, type AgentsSuspendRequestParams as ck, type AgentsSuspendResponseResult as cl, type AgentsUnregisterRequest as cm, type AgentsUnregisterRequestParams as cn, type AgentsUpdateRequest as co, type AgentsUpdateRequestParams as cp, type AnyMessage as cq, type AuthCredentials as cr, type AuthError as cs, type AuthErrorCode as ct, type AuthMethod as cu, type AuthPrincipal as cv, type AuthRefreshRequest as cw, type AuthRefreshRequestParams as cx, type AuthRefreshResponseResult as cy, type AuthResult as cz, type FederationRoutingConfig as d, type MailGetRequestParams as d$, type DirectAddress as d0, type DisconnectPolicy as d1, type DisconnectRequest as d2, type DisconnectRequestParams as d3, ERROR_CODES as d4, EVENT_TYPES as d5, EXTENSION_METHODS as d6, type Endorsement as d7, type EventInput as d8, type EventNotification as d9, type JoinPolicy as dA, LIFECYCLE_METHODS as dB, MAIL_ERROR_CODES as dC, MAIL_METHODS as dD, type MAPAgentCapabilityDescriptor as dE, type MAPCapabilityDeclaration as dF, type MAPFederationAuth as dG, type MAPInterfaceSpec as dH, type MAPNotification as dI, type MAPNotificationBase as dJ, type MAPRequest as dK, type MAPRequestBase as dL, type MAPResponse as dM, type MAPResponseError as dN, type MAPResponseSuccess as dO, type MAPTask as dP, type MAPTaskStatus as dQ, MAP_METHODS as dR, type MailCloseRequest as dS, type MailCloseRequestParams as dT, type MailCloseResponseResult as dU, type MailClosedEventData as dV, type MailCreateRequest as dW, type MailCreateRequestParams as dX, type MailCreateResponseResult as dY, type MailCreatedEventData as dZ, type MailGetRequest as d_, type EventNotificationParams as da, FEDERATION_ERROR_CODES as db, FEDERATION_METHODS as dc, type FederatedAddress as dd, type FederationAuthMethod as de, type FederationConnectRequest as df, type FederationConnectRequestParams as dg, type FederationMetadata as dh, type FederationReplayConfig as di, type FederationRouteRequest as dj, type FederationRouteRequestParams as dk, type GatewayReconnectionEvent as dl, type GatewayReconnectionEventHandler as dm, type GatewayReconnectionEventType as dn, type GatewayReconnectionOptions as dp, type GraphEdge as dq, type HierarchicalAddress as dr, type IdentityType as ds, type IdentityVerificationStatus as dt, type InjectDelivery as du, type InjectDeliveryResult as dv, type InjectRequest as dw, type InjectRequestParams as dx, type InjectResponseResult as dy, JSONRPC_VERSION as dz, type EventType as e, type ParticipantRole as e$, type MailGetResponseResult as e0, type MailInviteRequest as e1, type MailInviteRequestParams as e2, type MailInviteResponseResult as e3, type MailJoinRequest as e4, type MailJoinRequestParams as e5, type MailJoinResponseResult as e6, type MailLeaveRequest as e7, type MailLeaveRequestParams as e8, type MailLeaveResponseResult as e9, type MailTurnsListRequest as eA, type MailTurnsListRequestParams as eB, type MailTurnsListResponseResult as eC, type MeshConnectOptions as eD, type MeshPeerEndpoint as eE, type MeshTransportAdapter as eF, type MessageDeliveredEventData as eG, type MessageFailedEventData as eH, type MessageHandler as eI, type MessageNotification as eJ, type MessageNotificationParams as eK, type MessagePriority as eL, type MessageRelationship as eM, type MessageSentEventData as eN, type MessageVisibility as eO, type Meta as eP, type MultiAddress as eQ, NOTIFICATION_METHODS as eR, type NotificationHandler as eS, OBSERVATION_METHODS as eT, type OverflowHandler as eU, type OverflowInfo as eV, PERMISSION_METHODS as eW, PROTOCOL_ERROR_CODES as eX, PROTOCOL_VERSION as eY, type Participant as eZ, type ParticipantAddress as e_, type MailListRequest as ea, type MailListRequestParams as eb, type MailListResponseResult as ec, type MailMessageMeta as ed, type MailParticipantJoinedEventData as ee, type MailParticipantLeftEventData as ef, type MailReplayRequest as eg, type MailReplayRequestParams as eh, type MailReplayResponseResult as ei, type MailSubscriptionFilter as ej, type MailSummaryGeneratedEventData as ek, type MailSummaryRequest as el, type MailSummaryRequestParams as em, type MailSummaryResponseResult as en, type MailThreadCreateRequest as eo, type MailThreadCreateRequestParams as ep, type MailThreadCreateResponseResult as eq, type MailThreadCreatedEventData as er, type MailThreadListRequest as es, type MailThreadListRequestParams as et, type MailThreadListResponseResult as eu, type MailTurnAddedEventData as ev, type MailTurnRequest as ew, type MailTurnRequestParams as ex, type MailTurnResponseResult as ey, type MailTurnUpdatedEventData as ez, type SessionId as f, type StructureGraphRequestParams as f$, type PermissionAction as f0, type PermissionContext as f1, type PermissionParticipant as f2, type PermissionResult as f3, type PermissionSystemConfig as f4, type PermissionsAgentUpdatedEventData as f5, type PermissionsClientUpdatedEventData as f6, type PermissionsUpdateRequest as f7, type PermissionsUpdateRequestParams as f8, type PermissionsUpdateResponseResult as f9, type ScopesGetResponseResult as fA, type ScopesJoinRequest as fB, type ScopesJoinRequestParams as fC, type ScopesLeaveRequest as fD, type ScopesLeaveRequestParams as fE, type ScopesListRequest as fF, type ScopesListRequestParams as fG, type ScopesMembersRequest as fH, type ScopesMembersRequestParams as fI, type ScopesMembersResponseResult as fJ, type SendPolicy as fK, type SendRequest as fL, type SendRequestParams as fM, type ServerAuthCapabilities as fN, type SessionCloseRequest as fO, type SessionCloseRequestParams as fP, type SessionCloseResponseResult as fQ, type SessionListRequest as fR, type SessionListRequestParams as fS, type SessionListResponseResult as fT, type SessionLoadRequest as fU, type SessionLoadRequestParams as fV, type SessionLoadResponseResult as fW, type StandardAuthMethod as fX, type StateChangeHandler as fY, type StreamingCapabilities as fZ, type StructureGraphRequest as f_, RESOURCE_ERROR_CODES as fa, ROUTING_ERROR_CODES as fb, type ReconnectionEventHandler as fc, type ReconnectionEventType as fd, type ReconnectionOptions as fe, type ReplayRequest as ff, type ReplayRequestParams as fg, type ReplayResponseResult as fh, type ReplayedEvent as fi, type RequestHandler as fj, type RoleAddress as fk, SCOPE_METHODS as fl, SESSION_METHODS as fm, STATE_METHODS as fn, STEERING_METHODS as fo, STRUCTURE_METHODS as fp, type ScopeAddress as fq, type ScopeMessagingRule as fr, type ScopeVisibilityRule as fs, type ScopesCreateRequest as ft, type ScopesCreateRequestParams as fu, type ScopesDeleteRequest as fv, type ScopesDeleteRequestParams as fw, type ScopesDeleteResponseResult as fx, type ScopesGetRequest as fy, type ScopesGetRequestParams as fz, type FederationAuth as g, type UnsubscribeRequest as g$, type StructureGraphResponseResult as g0, type StructureVisibilityRule as g1, type SubscribeRequest as g2, type SubscribeRequestParams as g3, Subscription as g4, type SubscriptionAckNotification as g5, type SubscriptionAckParams as g6, type SubscriptionOptions$1 as g7, type SubscriptionState as g8, type SystemAcceptanceRule as g9, type TrajectoryCheckpointRequest as gA, type TrajectoryCheckpointRequestParams as gB, type TrajectoryCheckpointResponseResult as gC, type TrajectoryContentAvailableEventData as gD, type TrajectoryContentChunkNotification as gE, type TrajectoryContentChunkParams as gF, type TrajectoryContentField as gG, type TrajectoryContentRequest as gH, type TrajectoryContentRequestParams as gI, type TrajectoryContentResponseResult as gJ, type TrajectoryContentResult as gK, type TrajectoryContentResultBase as gL, type TrajectoryContentResultInline as gM, type TrajectoryContentResultStreaming as gN, type TrajectoryGetRequest as gO, type TrajectoryGetRequestParams as gP, type TrajectoryGetResponseResult as gQ, type TrajectoryListRequest as gR, type TrajectoryListRequestParams as gS, type TrajectoryListResponseResult as gT, type TrajectorySubscriptionFilter as gU, type TransportType as gV, type Turn as gW, type TurnId as gX, type TurnSource as gY, type TurnStatus as gZ, type TurnVisibility as g_, type SystemAddress as ga, TASK_METHODS as gb, TRAJECTORY_ERROR_CODES as gc, TRAJECTORY_METHODS as gd, type TaskAssignedEventData as ge, type TaskCompletedEventData as gf, type TaskCreatedEventData as gg, type TaskId as gh, type TaskStatusEventData as gi, type TasksAssignRequest as gj, type TasksAssignRequestParams as gk, type TasksAssignResponseResult as gl, type TasksCreateRequest as gm, type TasksCreateRequestParams as gn, type TasksCreateResponseResult as go, type TasksListRequest as gp, type TasksListRequestParams as gq, type TasksListResponseResult as gr, type TasksUpdateRequest as gs, type TasksUpdateRequestParams as gt, type TasksUpdateResponseResult as gu, type Thread as gv, type ThreadId as gw, type Timestamp as gx, type TrajectoryCheckpoint as gy, type TrajectoryCheckpointEventData as gz, type FederationConnectResponseResult as h, type UnsubscribeRequestParams as h0, WORKSPACE_METHODS as h1, type WorkspaceFileResult as h2, type WorkspaceListRequestParams as h3, type WorkspaceListResponseResult as h4, type WorkspaceReadRequestParams as h5, type WorkspaceReadResponseResult as h6, type WorkspaceSearchRequestParams as h7, type WorkspaceSearchResponseResult as h8, agenticMeshStream as h9, isAgentExposed as hA, isBroadcastAddress as hB, isDirectAddress as hC, isEventTypeExposed as hD, isFederatedAddress as hE, isHierarchicalAddress as hF, isLegacyEndorsement as hG, isOrphanedAgent as hH, isScopeExposed as hI, isSuccessResponse as hJ, isVerifiableCredential as hK, mapVisibilityToRule as hL, ndJsonStream as hM, resolveAgentPermissions as hN, waitForOpen as hO, websocketStream as hP, type SystemExposure as hQ, canAgentAcceptMessage as ha, canAgentMessageAgent as hb, canAgentSeeAgent as hc, canControlAgent as hd, canJoinScope as he, canMessageAgent as hf, canPerformAction as hg, canPerformMethod as hh, canSeeAgent as hi, canSeeScope as hj, canSendToScope as hk, createACPStream as hl, createEvent as hm, createStreamPair as hn, createSubscription as ho, deepMergePermissions as hp, filterVisibleAgents as hq, filterVisibleEvents as hr, filterVisibleScopes as hs, hasCapability as ht, isACPEnvelope as hu, isACPErrorResponse as hv, isACPNotification as hw, isACPRequest as hx, isACPResponse as hy, isACPSuccessResponse as hz, type FederationRouteResponseResult as i, type ConnectionState as j, type ParticipantId as k, type ParticipantType as l, type ScopeId as m, type Agent as n, type Scope as o, type Address as p, type SubscriptionFilter as q, type Event as r, type AgentsGetResponseResult as s, type AgentsListResponseResult as t, type AgentsRegisterResponseResult as u, type AgentsSpawnResponseResult as v, type AgentsUnregisterResponseResult as w, type AgentsUpdateResponseResult as x, type ProtocolVersion as y, type SessionInfo as z };
|
package/dist/index.cjs
CHANGED
|
@@ -85,6 +85,12 @@ var init_agentic_mesh = __esm({
|
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
// src/types/index.ts
|
|
88
|
+
function isVerifiableCredential(e) {
|
|
89
|
+
return "type" in e && e.type === "VerifiableCredential";
|
|
90
|
+
}
|
|
91
|
+
function isLegacyEndorsement(e) {
|
|
92
|
+
return "authorityId" in e;
|
|
93
|
+
}
|
|
88
94
|
function isOrphanedAgent(agent) {
|
|
89
95
|
return agent.ownerId === null;
|
|
90
96
|
}
|
|
@@ -112,6 +118,12 @@ var EVENT_TYPES = {
|
|
|
112
118
|
PERMISSIONS_AGENT_UPDATED: "permissions_agent_updated",
|
|
113
119
|
// System events
|
|
114
120
|
SYSTEM_ERROR: "system_error",
|
|
121
|
+
// Agent identity events
|
|
122
|
+
AGENT_RESUMED: "agent.resumed",
|
|
123
|
+
AGENT_IDENTITY_VERIFICATION_FAILED: "agent.identity.verification.failed",
|
|
124
|
+
// Credential events
|
|
125
|
+
CREDENTIAL_ISSUED: "credential.issued",
|
|
126
|
+
CREDENTIAL_DENIED: "credential.denied",
|
|
115
127
|
// Federation events
|
|
116
128
|
FEDERATION_CONNECTED: "federation_connected",
|
|
117
129
|
FEDERATION_DISCONNECTED: "federation_disconnected",
|
|
@@ -7480,6 +7492,7 @@ exports.isErrorResponse = isErrorResponse;
|
|
|
7480
7492
|
exports.isEventTypeExposed = isEventTypeExposed;
|
|
7481
7493
|
exports.isFederatedAddress = isFederatedAddress;
|
|
7482
7494
|
exports.isHierarchicalAddress = isHierarchicalAddress;
|
|
7495
|
+
exports.isLegacyEndorsement = isLegacyEndorsement;
|
|
7483
7496
|
exports.isNotification = isNotification;
|
|
7484
7497
|
exports.isOrphanedAgent = isOrphanedAgent;
|
|
7485
7498
|
exports.isRequest = isRequest;
|
|
@@ -7489,6 +7502,7 @@ exports.isScopeExposed = isScopeExposed;
|
|
|
7489
7502
|
exports.isSuccessResponse = isSuccessResponse;
|
|
7490
7503
|
exports.isValidEnvelope = isValidEnvelope;
|
|
7491
7504
|
exports.isValidUlid = isValidUlid;
|
|
7505
|
+
exports.isVerifiableCredential = isVerifiableCredential;
|
|
7492
7506
|
exports.mapVisibilityToRule = mapVisibilityToRule;
|
|
7493
7507
|
exports.ndJsonStream = ndJsonStream;
|
|
7494
7508
|
exports.parseAddress = parseAddress;
|