TypeScript API reference
This inventory is generated from the package's public export surface. Unknown or internal symbols are deliberately excluded.
acceptSignatureโ Function; entry.. TheAccept-Signatureof a refusal: what this request should have signed (RFC 9421 ยง5).AccessTokenโ Interface; entry.. An access token for one account, kept beside what the SDK knows of it (ยง4.5).accessTokenFromResponseโ Function; entry.. An access token from a token response (ยง4.7).accountAccessโ Function; entry.. Whether apoppyentry needs account access before useful work can begin (ยง3.2).accountScopesโ Function; entry.. The account scopes of a request, each once.offline_accessis none of them (ยง4.4): it isACTION_FAILEDโ Const; entry.. An approved action that didn't finish: an API error saying every change made (Operations 7).AgentDescriptorโ Interface; entry.. Public TypeScript interfaceAgentDescriptor.AgentIdentityClientโ Class; entry.. Safely retrieve and bind a personal agent's public identity documents.AgentIdentityClientOptionsโ Interface; entry.. Public TypeScript interfaceAgentIdentityClientOptions.agentInstructionโ Function; entry.. AnAgentInstruction, checked: an agent approval rests on an instruction the User gave.AgentInstructionโ Interface; entry.. An instruction the User gave the Personal Agent, which an agent approval rests onAgentProtocolโ Interface; entry.. A conversation protocol the Company Agent speaks (ยง3.1, ยง8.1); readaccesswithAlternativeโ Interface; entry.. Another way to do a task (ยง8.2):instructions,references, or both.AlternativeReferenceโ Interface; entry.. Where an alternative points (ยง8.2): an OpenAPI operation, an MCP tool, or a page.ApiCallOptionsโ Interface; entry.. Public TypeScript interfaceApiCallOptions.ApiClientโ Class; entry.. Read and change through a company's API, the credentials host-owned.ApiClientOptionsโ Interface; entry.. Public TypeScript interfaceApiClientOptions.ApiDescriptorโ Interface; entry.. Public TypeScript interfaceApiDescriptor.ApiErrorโ Class; entry.. The company refused an API call;codeis its error, never its body.ApiResponseโ Interface; entry.. An API answer: the body, the operation to approve (403 approval_required), or the company'sApprovalโ Interface; entry.. A statement that this revision of an operation is approved (Operations 5, 6).APPROVAL_DECLINEDโ Const; entry.. A Company's refusal to act on an approval that passed its checks (Operations 6).APPROVAL_HEADERโ Const; entry.. The header that carries an approval to an API (Operations 6).APPROVAL_META_KEYโ Const; entry.. The_metakey that carries an approval to an MCP tool (Operations 6).ApprovalDeclinedโ Interface; entry.. A Company's final refusal of an approval that passed its checks (Operations 6).approvalFromMetaโ Function; entry.. The approval in an MCP tool call's_meta, orundefined(unknown members are ignored).approvalHeaderโ Function; entry.. The value ofPoppy-Approval(Operations 6):operation_id,revision,approverand anyApprovalRequestโ Interface; entry.. What a user is asked to approve: nothing has been done yet.ApprovalSentโ Interface; entry.. What came of sending an approval.ApprovalSurfaceโ Interface; entry.. The host's own approval surface: the user, not a model, answers.ApprovalSurfacesโ Const; entry..ApprovalSurface: the host's own surface, where the user answers (Operations 5).ApproveAsAgentOptionsโ Interface; entry.. Public TypeScript interfaceApproveAsAgentOptions.Approverโ Type; entry.. Public TypeScript typeApprover.APPROVERSโ Const; entry.. How a revision was approved (Operations 5, 6): by the User, asked by the Personal Agent, orAskUserOptionsโ Interface; entry.. Public TypeScript interfaceAskUserOptions.ASSERTION_MAX_LIFETIME_SECONDSโ Const; entry.. A client assertion'sexpis at most this long after itsiat(ยง4.1).AuthCapabilitiesโ Interface; entry..auth(ยง3.1): optional; the issuer it names, and the Company's scopes.Authorโ Interface; entry.. Who wrote a message (ยง7.4):agentorhuman, and for a Company message, who.AUTHOR_TYPESโ Const; entry.. Theauthor.typevalues this version defines (ยง8.4).AUTHORIZATION_CODE_GRANTโ Const; entry.. The grants that say the Company offers Direct and Device Sign-In (ยง3.2, ยง4.4).AuthorizationErrorโ Class; entry.. Public TypeScript classAuthorizationError.AuthorizationStateStoreโ Interface; entry.. Public TypeScript interfaceAuthorizationStateStore.AuthorizationStateStoresโ Const; entry.. Public TypeScript constAuthorizationStateStores.AVAILABLE_PROTOCOL_VERSIONSโ Const; entry.. Every protocol version this SDK implements: 0.4 and 1.0 as published, and upstream'sBlindJoseSignerโ Class; entry..pap.signeron the User's device: PS384 signatures a key signs blindly (ยง10.7).BlindJoseSignerOptionsโ Interface; entry.. Public TypeScript interfaceBlindJoseSignerOptions.BlindSigningKeyโ Interface; entry.. The holder of a key injwks_uri: it signs a blinded message, never seeing the JWT.BROWSER_CONTROL_EXTENSIONโ Const; entry.. Public TypeScript constBROWSER_CONTROL_EXTENSION.BROWSER_CONTROL_VERSIONโ Const; entry.. The version this SDK implements (Browser Control 3).BROWSER_SIGN_IN_SCOPEโ Const; entry.. The one scope the protocol defines (ยง4.7, ยง6): a signed-in browser join needs an access tokenBrowserControlโ Class; entry.. Who controls the personal agent's browser, and what its model may do there.BrowserControlErrorโ Class; entry.. A browser action the extension asks the personal agent not to take.browserControlNegotiatedโ Function; entry.. Whether the Company listsbrowser-controlversion 1 with a browser-session endpoint, andBrowserHandoffโ Interface; entry.. Public TypeScript interfaceBrowserHandoff.BrowserHandoffsโ Const; entry.. Public TypeScript constBrowserHandoffs.BrowserJoinโ Interface; entry.. The personal agent's own browser, joining a Session through the company's form (ยง6).BrowserJoinOptionsโ Interface; entry.. Public TypeScript interfaceBrowserJoinOptions.BrowserJoinsโ Const; entry.. Public TypeScript constBrowserJoins.BrowserSessionClientโ Class; entry.. Join the agent's own browser to a Session: load, authorize, submit (ยง6).BrowserSessionErrorโ Class; entry.. Public TypeScript classBrowserSessionError.BrowserSessionStartโ Interface; entry.. Safe status once the browser has submitted the join form.browserSignInScopesโ Function; entry.. The scope a signed-in browser join needs (ยง6):poppy:browser-sign-in, requested only from abrowserSignInUnscopedโ Function; entry.. Whetherpoppy:browser-sign-ingives the account's full access on the website (web.unscoped,browsingDisabledโ Function; entry.. Whether the Company asks Personal Agents not to browse its website (web.disabled, ยง6): usebudgetKeyโ Function; entry.. The shared rate-limit budget a request draws on: its company's origin.buildClientAssertionClaimsโ Function; entry.. Build unsignedprivate_key_jwtclaims for any request to the company's OAuth server.buildDirectSignInRequestโ Value; entry.. Public TypeScript valuebuildDirectSignInRequest.buildPapReactorโ Function; entry.. Public TypeScript functionbuildPapReactor.CacheBoundsโ Interface; entry.. How long metadata may be cached, whatever itsCache-Controlsays.CachedMetadataโ Interface; entry.. One cached metadata document: the parsed JSON, where it came from, until when.cacheLifetimeโ Function; entry.. Seconds to keep a response by itsCache-Control, orundefinedwhen it must not be cached.Cachesโ Const; entry.. Public TypeScript constCaches.challengeParametersโ Function; entry.. The quoted parameters of aWWW-Authenticateheader:error,scope,extension...checkOperatorSignatureRequestโ Function; entry..RangeErrorunless the request names the Session header or the content digest of a requestchooseProtocolVersionโ Function; entry.. The newest version, amongprotocolVersionandsupportedVersions, that is compatible withchosenVersionโ Function; entry.. The version a Personal Agent that implementsimplemented(this SDK's default versionsclearsContextโ Function; entry.. Whether a message sets acontextfield tonullto clear it (ยง8.4): 1.0's, so a PersonalClientAssertionClaimsโ Interface; entry.. The claims of aprivate_key_jwtclient assertion (ยง4.1).ClientAssertionOptionsโ Interface; entry.. Public TypeScript interfaceClientAssertionOptions.ClientMetadataโ Interface; entry.. Public TypeScript interfaceClientMetadata.Clockโ Interface; entry.. Public TypeScript interfaceClock.Clocksโ Const; entry.. Public TypeScript constClocks.companyExtensionโ Function; entry.. The Company's entry fornameatversion(ยง3.3), orundefined.companyIdentifierโ Function; entry.. Who the Company is (ยง3.2): its issuer, elsehttps://{organization.domain}.companyIssuerโ Function; entry.. The Company's OAuth issuer, as found from its domain (ยง3.2).companyProtocolVersionโ Function; entry.. The protocol version the Company is used at (ยง3.4):documentis that version's document,companyResourceโ Function; entry..https://{organization.domain}: the resource the default access token is for.companySessionVersionโ Function; entry.. What a Session with the Company names inPoppy-Version(ยง3.4): the newest version thecompatibleVersionsโ Function; entry.. Whether two protocol versions are compatible (ยง3.4): the same major version and, beforeCONTENT_DIGEST_HEADERโ Const; entry.. The header whose value an OAuth endpoint request's signature covers (RFC 9530, ยง5.3).contentDigestโ Value; entry.. Public TypeScript valuecontentDigest.ContributedSignerโ Class; entry.. Thepap.signercontribution, asked each time it signs: whichever the host contributes.Controllerโ Type; entry.. Who controls the browser, asnavigator.poppy.controllersays (Browser Control 6).controllerScriptโ Function; entry.. The script that providesnavigator.poppy.controller(Browser Control 6).controllerUpdateScriptโ Function; entry.. The script the host runs in the page as soon as control changes (Browser Control 6).ConversationClientโ Class; entry.. Start and continue PAP conversations, each request with the Session header.ConversationClientOptionsโ Interface; entry.. Public TypeScript interfaceConversationClientOptions.conversationEndpointโ Function; entry.. Thepoppyconversation endpoint, skipping protocol types this SDK does not speak.ConversationErrorโ Class; entry.. Public TypeScript classConversationError.ConversationEventโ Interface; entry.. Public TypeScript interfaceConversationEvent.ConversationEventOptionsโ Interface; entry.. Public TypeScript interfaceConversationEventOptions.ConversationEventPageโ Interface; entry.. A cursor page returned by a read or a waited write, with the conversation's state when theConversationHandoffโ Type; entry.. Whether the Company is looking for a person (ยง8.7, ยง8.9).ConversationReceiptโ Interface; entry.. What a successfulPOSTwithoutwaitreturns (ยง8.3): the Company accepted the request, notConversationRequestOptionsโ Interface; entry.. Public TypeScript interfaceConversationRequestOptions.ConversationResponderโ Type; entry.. Public TypeScript typeConversationResponder.ConversationResponseโ Type; entry.. Public TypeScript typeConversationResponse.conversationStateโ Function; entry.. The four state fields of a read or a receipt (ยง8.7).ConversationStateโ Interface; entry.. Where a conversation stands, in four fields each independent of the others (ยง8.7).ConversationStreamOptionsโ Interface; entry.. Public TypeScript interfaceConversationStreamOptions.createPapCorePluginโ Function; entry.. Public TypeScript functioncreatePapCorePlugin.CROSS_DEVICE_LIFETIME_SECONDSโ Const; entry.. The longest a Direct Sign-In request lives when its link opens on another device: adeclinedFromโ Function; entry.. The decline a Company answered an approval with, orundefined(Operations 6).DEFAULT_CACHE_BOUNDSโ Const; entry.. At least a minute, at most a day (the Guides' example bounds).DEFAULT_PROTOCOL_VERSIONโ Const; entry.. The version used unless a Personal Agent or a Company names others: 1.0 as published.DelegatedKeyโ Interface; entry.. One delegated key, its delegation, and when the delegation expires (ยง5.2).DelegatedKeyCustodyโ Interface; entry.. Where delegated keys live: one current key per User ID, replaced when it rotates.DelegatedKeyWhoโ Interface; entry.. Public TypeScript interfaceDelegatedKeyWho.DelegatedSessionSignerโ Class; entry..pap.sessionSigner: a delegated key per User ID signs each request's Session JWT (ยง5.2).DelegatedSessionSignerOptionsโ Interface; entry.. Public TypeScript interfaceDelegatedSessionSignerOptions.DELEGATION_MAX_LIFETIME_SECONDSโ Const; entry.. A delegation expires at most this long after it is issued (ยง5.2).DELEGATION_TYPEโ Const; entry.. A delegation'styp(ยง5.2).delegationClaimsโ Function; entry.. A delegation's claims (ยง5.2):iss,cnf.jwk,iat,exp,jti, nothing else.DerivedPairwiseUserIdsโ Class; entry.. Apap.pairwiseUserIdStorethat derives each ID with a keyed hash, and replaces one User'sderivePairwiseUserIdโ Value; entry.. Public TypeScript valuederivePairwiseUserId.DEVICE_CODE_GRANTโ Const; entry.. Public TypeScript constDEVICE_CODE_GRANT.DeviceSignInBeginOptionsโ Interface; entry.. Public TypeScript interfaceDeviceSignInBeginOptions.DeviceSignInClientโ Class; entry.. PAP Device Sign-In with private device codes and Reactor-backed refresh tokens.DeviceSignInClientOptionsโ Interface; entry.. Public TypeScript interfaceDeviceSignInClientOptions.DeviceSignInPollโ Interface; entry.. Public TypeScript interfaceDeviceSignInPoll.DeviceSignInStartโ Interface; entry.. User-facing device instructions without the private device code.DirectSignInBeginOptionsโ Interface; entry.. Plain OAuth: the sign-in names no Session, and any of the User's Sessions uses its tokens (ยง5.4).DirectSignInCallbackโ Interface; entry.. Public TypeScript interfaceDirectSignInCallback.DirectSignInClientโ Class; entry.. Orchestrate one-use browser authorization and the code exchange.DirectSignInClientOptionsโ Interface; entry.. Public TypeScript interfaceDirectSignInClientOptions.DirectSignInCompleteOptionsโ Interface; entry.. Public TypeScript interfaceDirectSignInCompleteOptions.DirectSignInOptionsโ Interface; entry.. Public TypeScript interfaceDirectSignInOptions.DirectSignInRequestโ Interface; entry.. Authorization request state; its URL and PKCE values are secrets.DirectSignInResultโ Type; entry.. A completed Direct Sign-In: the access token, and the refresh token's reference.DirectSignInStartโ Interface; entry.. Public TypeScript interfaceDirectSignInStart.Disclosureโ Interface; entry.. A notice a Company marks apart from the rest of a message (Disclosures 3), such as anDISCLOSURES_EXTENSIONโ Const; entry.. Public TypeScript constDISCLOSURES_EXTENSION.DISCLOSURES_VERSIONโ Const; entry.. Public TypeScript constDISCLOSURES_VERSION.DisclosuresContentโ Interface; entry.. The Disclosures extension's content of a Company message,extensions.disclosures.discoverCompanyโ Function; entry.. Public TypeScript functiondiscoverCompany.DiscoveredCompanyโ Interface; entry.. A verifiedpoppy.json, its domain's protected resource metadata, and its issuer's.DiscoveryDocumentโ Interface; entry.. Public TypeScript interfaceDiscoveryDocument.DiscoveryErrorโ Class; entry.. Public TypeScript classDiscoveryError.DiscoveryOptionsโ Interface; entry.. Public TypeScript interfaceDiscoveryOptions.DiscoveryTransportโ Interface; entry.. Public TypeScript interfaceDiscoveryTransport.DiscoveryTransportsโ Const; entry.. Public TypeScript constDiscoveryTransports.DisplayLikeโ Type; entry.. Anything shaped like a display: Reactor'sDisplay, or a tool result's_meta["reactor.ui/display"].domainHostโ Function; entry.. The host oforganization.domain, without the port it names (ยง3.1).DPOP_ALGORITHMโ Const; entry.. Public TypeScript constDPOP_ALGORITHM.DPOP_HEADERโ Const; entry.. The header that carries a DPoP proof (RFC 9449 ยง4.1).DPOP_NONCE_HEADERโ Const; entry.. The header a server gives a DPoP nonce in (RFC 9449 ยง8).DPOP_PROOF_TYPEโ Const; entry.. A DPoP proof'stypandalg(ยง4.5, RFC 9449 ยง4.2).DpopKeyโ Interface; entry.. One DPoP key:thumbprintis what the Company binds a token to (RFC 9449 ยง6).DpopKeyCustodyโ Interface; entry.. Where DPoP keys live: one per User ID, made on first use.DpopKeyWhoโ Interface; entry.. Public TypeScript interfaceDpopKeyWho.dpopNonceAskedโ Function; entry.. The nonce a resource'suse_dpop_noncechallenge gives, to retry with (RFC 9449 ยง9).dpopProofClaimsโ Value; entry.. Public TypeScript valuedpopProofClaims.DpopProofRequestโ Interface; entry.. What one DPoP proof is signed for (ยง4.5, RFC 9449 ยง4.2).DpopProverโ Interface; entry.. Sign the DPoP proof of one request (ยง4.5).DpopProversโ Const; entry..DpopProver: the DPoP proof of a request, when the Company lists ES256 or bound a token.DRAFT_PROTOCOL_REVISIONโ Const; entry.. The draft 1.1 text implemented: upstream on 2026-11-18 (commit 589743a).DRAFT_PROTOCOL_VERSIONโ Const; entry.. Upstream's draft 1.1, unpublished: available when named, and it may change.Ed25519OperatorKeyโ Class; entry.. An operator's Ed25519 key in this process's memory.effectiveChangesโ Function; entry.. A hint'schanges, with a value this SDK doesn't know read asirreversible(ยง4.4).effectiveContextโ Function; entry.. The context the Personal Agent's messages share, in order (ยง8.4): fields a message leaves outemsaPssEncodeโ Value; entry.. Public TypeScript valueemsaPssEncode.ExcludedTaskโ Interface; entry.. A task the company chose not to offer through the protocol (ยง8.1).ExtensionDescriptorโ Interface; entry.. Public TypeScript interfaceExtensionDescriptor.extensionDomainโ Function; entry.. The domain a third-party extension name is under, elseundefined.extensionNameKindโ Function; entry..plainfor a protocol-defined name,third-partyfordomain/name, elseinvalid.extensionRequiredโ Function; entry.. The extension a403 extension_requirednames, elseundefined(ยง3.3).EXTENSIONS_HEADERโ Const; entry.. The header the Personal Agent declares the extensions it uses in (ยง3.4).FEEDBACK_DESCRIPTION_MAX_LENGTHโ Const; entry.. The longestdescriptiona report carries (ยง8).FEEDBACK_TASK_MAX_LENGTHโ Const; entry.. The longesttaska report carries (ยง8).FeedbackClientโ Class; entry.. Send feedback reports in a Session, signed in or out.FeedbackClientOptionsโ Interface; entry.. Public TypeScript interfaceFeedbackClientOptions.FeedbackDescriptorโ Interface; entry.. Where personal agents report a task the protocol can't do at this company (ยง9.3):feedbackFeedbackErrorโ Class; entry.. The company refused a feedback report:invalid_request,rate_limited, a token error.FeedbackReportโ Type; entry.. One report of what the company offers no way to do through the protocol (ยง9.3).FeedbackReportOptionsโ Interface; entry.. Public TypeScript interfaceFeedbackReportOptions.FetchedPageโ Interface; entry.. A website page as the agent's own HTTP client got it. Content from the company (ยง10.1): datafetchMcpServerMetadataโ Value; entry.. Public TypeScript valuefetchMcpServerMetadata.fetchSkillโ Value; entry.. Public TypeScript valuefetchSkill.fetchUcpProfileโ Value; entry.. Public TypeScript valuefetchUcpProfile.finishSignInโ Value; entry.. Public TypeScript valuefinishSignIn.firstContributionโ Function; entry.. Public TypeScript functionfirstContribution.formatExtensionsHeaderโ Function; entry..Poppy-Extensions(ยง3.4): an RFC 9651 List of Strings, each an extension's name with itsgeneratePairwiseUserIdโ Function; entry.. Public TypeScript functiongeneratePairwiseUserId.generateRequestIdโ Function; entry.. A request ID with at least 128 random bits, unique for the User (ยง8.3, guides).IdentityErrorโ Class; entry.. Public TypeScript classIdentityError.IdentityRequestOptionsโ Interface; entry.. Public TypeScript interfaceIdentityRequestOptions.implementedProtocolVersionsโ Function; entry.. The versions a Personal Agent implements:versionsas given, each one this SDK implementsimplementedVersionForโ Function; entry.. The version a Personal Agent names inPoppy-Versionwhen it uses a Company atchoseninertSummaryโ Function; entry.. A summary whose links, images and HTML show as text, wherever it is rendered.InMemoryDelegatedKeysโ Class; entry.. Delegated keys in this process's memory, one per User ID.InMemoryDpopKeysโ Class; entry.. DPoP keys in this process's memory, one per User ID.InMemoryProtocolCacheโ Class; entry.. Defaultpap.cache: a bounded, least-recently-used map in one process.InProcessRefreshTokenLockโ Class; entry.. One in-process lock per reference: the default refresh token lock.isLoopbackRedirectโ Function; entry.. A loopback redirect URI (RFC 8252 ยง7.3):httpto a loopback IP literal, any port.isPapConfirmโ Function; entry.. Whether a display is an operation to approve, of the version this SDK reads.isPapConfirmDataโ Function; entry.. Whether a value is an operation to approve'sdata, asPapConfirmsendsisPapRepliesโ Function; entry.. Whether a display is what a company answered, of the version this SDK reads.isPapRepliesDataโ Function; entry.. Whether a value is thedataof what a company answered, asPapRepliesisPapSessionShownโ Function; entry.. Whether a value is aPapSessionShown: a 12-hex-digit reference andsigned_in, nothing else.isPublicLoopbackRedirectโ Function; entry.. A public client's loopback redirect URI (RFC 8252 ยง7.3, ยง8.3):httpto127.0.0.1,JOSE_ALGORITHMSโ Const; entry.. The algorithms a key injwks_urisigns client assertions and delegations with (ยง4.1, ยง5.2).JoseAlgorithmโ Type; entry.. Public TypeScript typeJoseAlgorithm.JoseDpopProverโ Class; entry..pap.dpopProver: a fresh proof for each request, by the Company's DPoP key (ยง4.5).JoseDpopProverOptionsโ Interface; entry.. Public TypeScript interfaceJoseDpopProverOptions.JsonWebKeyโ Interface; entry.. Public TypeScript interfaceJsonWebKey.JsonWebKeySetโ Interface; entry.. Public TypeScript interfaceJsonWebKeySet.JwksRequestOptionsโ Interface; entry.. Public TypeScript interfaceJwksRequestOptions.jwkThumbprintโ Function; entry.. A public JWK's RFC 7638 SHA-256 thumbprint: a Session JWT'skid(ยง5.2).JWT_CLIENT_ASSERTIONโ Const; entry.. Public TypeScript constJWT_CLIENT_ASSERTION.KNOWN_API_TYPESโ Const; entry.. The API types this SDK speaks.KNOWN_CONVERSATION_ERRORSโ Const; entry.. The conversation error codes this version defines (ยง7, ยง8.13, ยง5.6, ยง3.3): a code outside themknownApisโ Function; entry.. The advertised APIs of a type this SDK speaks, in the company's order.knownAuthorTypeโ Function; entry.. Anauthor.typethis SDK doesn't recognize reads asagent(ยง8.4): a message is a person'sknownConversationErrorโ Function; entry..codewhen this version defines it, elsefallback: an error a later version or an extensionknownHandoffโ Function; entry.. Ahandoffthis SDK doesn't recognize reads aspending(ยง8.7).knownResponderโ Function; entry.. Aresponderthis SDK doesn't recognize reads ashuman(ยง8.7).knownRoleโ Function; entry.. Arolethis SDK doesn't recognize reads ascompany(ยง8.4): content from the Company, neverLinkโ Interface; entry.. A web page a Company message refers to (Links 3): its HTTPSurl, and itstitleas theLINKS_EXTENSIONโ Const; entry.. Public TypeScript constLINKS_EXTENSION.LINKS_VERSIONโ Const; entry.. Public TypeScript constLINKS_VERSION.LinksContentโ Interface; entry.. The Links extension's content of a Company message,extensions.links(Links 3).LISTED_TASK_IDโ Const; entry.. A listed task's ID (ยง9.3): lowercase letters, digits,-and_, at most 64 characters.LISTED_TASKS_SINCEโ Const; entry.. The protocol version that definesfeedback.tasksand reports bytask_ids(ยง9.3).listedReportโ Function; entry.. A report of listed tasks, by their IDs fromSessionTasks.listedTasks(ยง9.3).ListedTaskโ Interface; entry.. A task the Company already knows can't be done, listed infeedback.taskswith an ID tolistsOfflineAccessโ Function; entry.. Whether the issuer listsoffline_accessinscopes_supported(ยง4.4): a Personal AgentlistsResourceโ Function; entry.. Whetherprotected_resourcesnameshttps://{domain}(ยง3.2).MAX_LISTED_TASKSโ Const; entry.. The most tasks a Company lists infeedback.tasks(ยง9.3): a Personal Agent that gets moremayReplaceUnusedโ Function; entry.. Whether a Personal Agent may replace an ID on its own (ยง5.1): 28 days have passed since itMCP_PROTOCOL_VERSIONโ Const; entry.. Public TypeScript constMCP_PROTOCOL_VERSION.mcpApiโ Function; entry.. The company's MCP server, when it lists one.McpClientโ Class; entry.. Initialize, list, and call tools on one MCP server, in a Session (ยง7).McpClientOptionsโ Interface; entry.. Public TypeScript interfaceMcpClientOptions.McpErrorโ Class; entry.. The MCP server refused a request;codeis its token or JSON-RPC error.McpServerMetadataโ Type; entry.. An MCP server's protected resource metadata (RFC 9728, ยง7).McpSessionAuthโ Class; entry.. The Session header, and signed in a token, to one MCP server's URL only (ยง7).McpToolResultโ Interface; entry.. A tool's answer;operationis set when it needs the user's approval (Operations 4).MEDIATED_EXTENSIONโ Value; entry.. Public TypeScript valueMEDIATED_EXTENSION.MEDIATED_GRANTโ Const; entry.. The Mediated Sign-In extension's grant type (Mediated Sign-In 2).MEDIATED_RETIREMENT_DATEโ Const; entry.. The day the protocol plans to retire the Mediated Sign-In extension (Mediated Sign-In 1, fromMEDIATED_VERSIONโ Const; entry.. Public TypeScript constMEDIATED_VERSION.mediatedSignInโ Function; entry.. What the company's Mediated Sign-In asks for, orundefinedwhen it offers none.MediatedSignInClientโ Class; entry.. Sign in with the user's credentials at the issuer's token endpoint, once.MediatedSignInClientOptionsโ Interface; entry.. Public TypeScript interfaceMediatedSignInClientOptions.MediatedSignInOptionsโ Interface; entry.. Public TypeScript interfaceMediatedSignInOptions.MediatedSignInResultโ Interface; entry.. Where a Mediated Sign-In stands, without any credential.Messageโ Interface; entry.. A message sent by either side, or returned in a conversation event (ยง8.4).MESSAGE_ROLESโ Const; entry.. The message roles this version defines (ยง8.4).messageApprovalโ Function; entry.. A Personal Agent message's approval: only this approves, nevertext(Operations 6).messageDeclinedโ Function; entry.. A Company message's decline of an approval: nothing was performed (Operations 6).messageDisclosuresโ Function; entry.. The notices a Company message marks apart (Disclosures 3); none without the extension.MessageExtensionsโ Type; entry.. Content extensions define in a message, keyed by extension name (ยง8.4). Each value is themessageLinksโ Function; entry.. The web pages a Company message refers to (Links 3); none without the extension.messageOperationโ Function; entry.. A Company message's operation, for the User's approval (Operations 4).MetadataCacheโ Class; entry.. Public TypeScript classMetadataCache.MIN_MODULUS_BITSโ Const; entry.. Smaller moduli are refused (RFC 9474 ยง7; 3072 bits is suggested).needsIssuerโ Function; entry.. Whether the Company offers sign-in, which needs an OAuth issuer (ยง3.2).negotiateExtensionsโ Function; entry.. The extensions this agent uses with a Company, one version each (ยง3.3, ยง3.4): for eachnewApprovalReferenceโ Function; entry.. Areferencefor one approval (Operations 6):apr_and 16 random bytes, so it is opaque,newDpopKeyโ Value; entry.. Public TypeScript valuenewDpopKey.newIdempotencyKeyโ Function; entry.. A fresh key for a write: a random UUID (version 4).newOperatorKeyโ Value; entry.. Public TypeScript valuenewOperatorKey.newSessionIdโ Function; entry.. A newsid: 128 random bits, 22 URL-safe characters, never used again (ยง5.2).normalizedHtuโ Function; entry..htu: the request's URL without its query or fragment (ยง5.2).OauthRequestโ Interface; entry.. A form request to an OAuth endpoint, about to be sent.OAuthServerMetadataโ Interface; entry.. The issuer's RFC 8414 metadata, with the fields this protocol requires (ยง3.2).offersDeviceโ Function; entry.. Whether the Company offers Device Sign-In (ยง3.2, ยง4.4).offersDirectโ Function; entry.. Whether the Company offers Direct Sign-In (ยง3.2, ยง4.4).OFFLINE_ACCESS_SCOPEโ Const; entry.. The scope that asks for a refresh token (OpenID Connect Core ยง11, ยง4.4): requested in everyonCompanyHostโ Function; entry.. Whetherhostisorganization.domainor one of its subdomains: the only pages that getopenapiUrlโ Function; entry.. The company's OpenAPI description, when it advertises one.openTelemetrySinkโ Function; entry..pap.telemetryas OpenTelemetry spans: one per event, fromtracer(for exampleOpenTelemetryTracerโ Interface; entry.. The part of an OpenTelemetry APITracerthe adapter uses.Operationโ Interface; entry.. One action the Company performs once it is approved (Operations 3).OPERATION_HEADERโ Const; entry.. The header that carries a website's reference to an operation (Operations 4).OPERATION_REFERENCEโ Const; entry.. A website's reference: at most 2048 characters ofA-Z a-z 0-9 - _ .(Operations 4).OperationErrorโ Class; entry.. An operation could not be approved, or its approval could not be sent.operationFromโ Function; entry.. The one operation object, from whichever interface carried it (Operations 4).OperationReferenceโ Interface; entry.. A website's reference to an operation (Operations 4): thesidof the Session the websiteoperationReferenceHeaderโ Function; entry.. The value ofPoppy-Operation: a Dictionary withsidandrefas Strings.OPERATIONS_EXTENSIONโ Const; entry.. PAP Operations extension, version 3: exact approval, at most once.OPERATIONS_VERSIONโ Const; entry.. The version this SDK implements, and the only one: version 2 is incompatible with it (anotherOperationsClientโ Class; entry.. Approve an operation, as the user or on the user's instruction, and send the approval atOperationsClientOptionsโ Interface; entry.. Public TypeScript interfaceOperationsClientOptions.operationsContentโ Function; entry.. A message'sextensionscarrying the Operations extension's content (Operations 2).OperationsContentโ Interface; entry.. The Operations extension's content of a message,extensions.operations(Operations 2):operationsEndpointโ Function; entry.. Theendpointof the Company'soperationsentry at this version, orundefined.operationShownโ Function; entry.. The terms as a host shows them (Operations 5): thesummarywhen there is one, else theoperationsNegotiatedโ Function; entry.. Whether the Company listsoperationsat this version and the Session declares itOPERATOR_DIRECTORY_MEDIA_TYPEโ Const; entry.. Public TypeScript constOPERATOR_DIRECTORY_MEDIA_TYPE.OPERATOR_DIRECTORY_PATHโ Const; entry.. The well-known URL of an operator's directory, and its media type (Web Bot Auth ยง8).OPERATOR_SIGNATURE_ALGORITHMโ Const; entry.. The RFC 9421 algorithm these signatures use.OPERATOR_SIGNATURE_REFUSEDโ Const; entry.. A Company's refusal of a signature, at 403: this SDK's code, as the spec names none.operatorDirectoryโ Function; entry.. The JWK Set a host serves at itsSignature-AgentURL (Web Bot Auth ยง5.5.1).operatorKeyFromโ Value; entry.. Public TypeScript valueoperatorKeyFrom.OperatorKeysโ Type; entry.. Keys published at aSignature-AgentURL: the URL and thekeyidasked of it.OperatorSignatureโ Interface; entry.. The values of the three headers of a signed request (Web Bot Auth ยง5.2.5).operatorSignatureBaseโ Function; entry.. The bytes the firstweb-bot-authsignature ofheaderssigned (RFC 9421 ยง2.5).OperatorSignatureRequestโ Interface; entry.. What one operator signature is signed for (ยง5.3, RFC 9421).OperatorSignerโ Interface; entry.. Sign one request, as its operator (ยง5.3): one that carries the Session header, or one to theOperatorSignersโ Const; entry..OperatorSigner: the operator signature of a request with the Session header; none, andOperatorSigningKeyโ Interface; entry.. An operator's key:keyidis its RFC 8037 thumbprint, and it signs with Ed25519.OperatorTrustโ Type; entry.. Whether a Company reads the directory at aSignature-AgentURL at all.OperatorVerdictโ Interface; entry.. What one request's operator signature came to (Web Bot Auth, appendix C.1).optionalContributionโ Function; entry.. The highest-priority provider for an optional PAP point,undefinedwhen there is none.Organizationโ Interface; entry.. Who the Company says it is (ยง3.1).domainis its identity;nameandlogo_uriare what theorganizationLabelโ Function; entry.. The Company's name with its domain beside it,Manzanita (manzanita.example); only thepageCarriesSessionโ Function; entry.. Whether a page fetch carries the Session header (ยง5.2): an HTTPS URL whose host is exactlyPageClientโ Class; entry.. Fetch a company's website pages without a browser, in a Session, signed out.PageClientOptionsโ Interface; entry.. Public TypeScript interfacePageClientOptions.PageControlโ Interface; entry.. A listed element (input,select,button, โฆ) and the form that owns it:formis thePageFetchOptionsโ Interface; entry.. Public TypeScript interfacePageFetchOptions.PageFormโ Interface; entry.. A form on the page: its position,id,action,method, and its mark.PageMarksโ Class; entry.. The marked steps of one page, read from its HTML (Browser Control 4). Marks add up: apageMarksโ Function; entry.. The forms, controls and marks of a page's HTML (Browser Control 4).PAIRWISE_KEY_MIN_BYTESโ Const; entry.. The shortest keyderivePairwiseUserIdtakes: 256 bits.PairwiseCountersโ Interface; entry.. One counter for each User and Company, zero until increased: what a keyed hash includes toPairwiseUserIdStoreโ Interface; entry.. Public TypeScript interfacePairwiseUserIdStore.PairwiseUserIdStoresโ Const; entry.. Public TypeScript constPairwiseUserIdStores.PairwiseWhoโ Interface; entry.. One User at one Company: the tenant, the internal user ID, the Company's identifier.PAP_ACTION_CLASSESโ Const; entry.. EveryPapActionClass, in the Rules' order.PAP_CONFIRM_TYPEโ Const; entry.. The display type of an operation a company returned (Operations 5): waiting for approval,PAP_CONFIRM_VERSIONโ Const; entry.. The version ofPAP_CONFIRM_TYPEthis module reads.PAP_HANDOFFSโ Const; entry.. EveryPapHandoff.PAP_REPLIES_TYPEโ Const; entry.. The display type of what a company answered in a conversation.PAP_REPLIES_VERSIONโ Const; entry.. The version ofPAP_REPLIES_TYPEthis module reads: 2 names the conversation, 3 givesPapActionClassโ Type; entry.. What approving an operation does, as an application's Rules class it.PapConfirmDataโ Type; entry.. An operation a company returned, as a display'sdata(PapConfirm's fields).papConfirmDisplayโ Function; entry.. An operation to approve as its display,textincluded; throws whendatais not one.PapConfirmDisplayโ Type; entry.. A display of an operation to confirm, as the page receives it.papConfirmTextโ Function; entry.. What an operation reads as without a renderer:PapConfirm.text(), word for word.PapCoreOptionsโ Interface; entry.. Public TypeScript interfacePapCoreOptions.PapDeclinedโ Type; entry.. A company's decline of an approval (Operations 6): nothing was done.reasonis thePapHandoffโ Type; entry.. Whether the company is looking for a person (ยง8.7, ยง8.9), apart from who answers.PapLinkโ Type; entry.. A web page a reply refers to (Links 3): its HTTPSurland itstitle, elsenull. ThepapLinkHostโ Function; entry.. Where a link goes, for the person to see (guides: show each link's domain).PapRepliesDataโ Type; entry.. What a company answered, as a display'sdata(PapReplies' fields).papRepliesDisplayโ Function; entry.. What a company answered as its display,textincluded; throws whendatais not one.PapRepliesDisplayโ Type; entry.. A display of what a company answered, as the page receives it.papRepliesTextโ Function; entry.. What the replies read as without a renderer:PapReplies.text(), word for word.PapReplyโ Type; entry.. One message a company wrote, and who wrote it there: its agent or one of its peoplePapSessionโ Class; entry.. One Session: a User at one Company through this personal agent (ยง5).PapSessionJsonโ Interface; entry.. What a Session is, as a host keeps it (PapSession.toJson).PapSessionShownโ Type; entry.. The Session an operation is approved in: a one-way reference (12 hexPapTermsWasโ Type; entry.. The revision a revised operation replaced, and its terms.parseAlternativeโ Function; entry.. Public TypeScript functionparseAlternative.parseAlternativeReferenceโ Function; entry.. Public TypeScript functionparseAlternativeReference.parseApprovalโ Function; entry.. Public TypeScript functionparseApproval.parseApprovalDeclinedโ Function; entry.. Public TypeScript functionparseApprovalDeclined.parseApprovalHeaderโ Function; entry.. The approval aPoppy-Approvalvalue states, orundefined.parseAuthorโ Function; entry.. Who wrote a message (ยง7.4):type, and the Company's optionalid,name,image.parseClientMetadataโ Function; entry.. Public TypeScript functionparseClientMetadata.parseConversationEventโ Function; entry.. Public TypeScript functionparseConversationEvent.parseConversationEventPageโ Function; entry.. Public TypeScript functionparseConversationEventPage.parseConversationStateโ Function; entry.. The four state fields of a response, read as ยง8.7 says (parseConversationEventPageuses it).parseDisclosuresContentโ Function; entry.. Public TypeScript functionparseDisclosuresContent.parseDiscoveryDocumentโ Function; entry.. Apoppy.json, checked (ยง3.1). Its version, or one it links to, must be compatible with oneparseExtensionsHeaderโ Function; entry.. The extensions a request declares (ยง3.4): thePoppy-ExtensionsList of Strings, each withparseFeedbackReportโ Function; entry.. A report to send, checked:task1..200 anddescription1..2000, ortask_ids, one orparseJsonStrictโ Function; entry.. Parse JSON while rejecting duplicate object member names at every depth.parseJsonWebKeySetโ Function; entry.. Public TypeScript functionparseJsonWebKeySet.parseLinksContentโ Function; entry.. Public TypeScript functionparseLinksContent.parseMessageโ Function; entry.. Public TypeScript functionparseMessage.parseOAuthServerMetadataโ Function; entry.. Public TypeScript functionparseOAuthServerMetadata.parseOperationโ Function; entry.. Public TypeScript functionparseOperation.parseOperationHeaderโ Function; entry.. The reference aPoppy-Operationvalue states, orundefined.parseOperationsContentโ Function; entry.. Public TypeScript functionparseOperationsContent.parseProtectedResourceMetadataโ Function; entry.. Public TypeScript functionparseProtectedResourceMetadata.parsePublicClientMetadataโ Function; entry.. Public TypeScript functionparsePublicClientMetadata.parseRetryAfterโ Function; entry..Retry-Afterin seconds (delta-seconds or an HTTP date), orundefined.parseTasksResponseโ Function; entry.. Public TypeScript functionparseTasksResponse.parseTokenResponseโ Function; entry.. A token endpoint's JSON answer (ยง4.7).parseUcpProfileโ Function; entry.. Theucpmember of a UCP profile document, checked.parseVersionโ Function; entry..major.minoras numbers, orProtocolValidationError.PersonalAgentProtocolErrorโ Class; entry.. Safe base error for Personal Agent Protocol failures.preferredSignInโ Function; entry.. The sign-in type to use (ยง4): Direct Sign-In when the Company offers it, else Device Sign-In,PROMPT_CONSENTโ Const; entry.. The OpenID Connectprompta Direct Sign-In request carries (OpenID Connect Core ยง3.1.2.1,ProofErrorโ Class; entry.. Public TypeScript classProofError.ProtectedInputโ Interface; entry.. The host's trusted input surface: answers never pass through a model.ProtectedInputFieldโ Interface; entry.. Public TypeScript interfaceProtectedInputField.ProtectedInputRequestโ Interface; entry.. What the host must ask the user for, outside any model (PAP ยง4.7).ProtectedInputsโ Const; entry.. Public TypeScript constProtectedInputs.ProtectedResourceMetadataโ Interface; entry.. RFC 9728 protected resource metadata, with the fields this protocol uses (ยง3.2, ยง4.5).protectedResourceMetadataUrlโ Function; entry.. Where a resource's RFC 9728 metadata is (RFC 9728 ยง3.1): the well-known path first.PROTOCOL_PROFILEโ Const; entry.. The Personal Agent Protocol version implemented: 0.4 as published, the 1.0 release candidate.PROTOCOL_REVISIONโ Const; entry.. The upstream specification revision implemented: the day 0.4 was published (commit 4803900).ProtocolCacheโ Interface; entry.. Public TypeScript interfaceProtocolCache.ProtocolValidationErrorโ Class; entry.. Public TypeScript classProtocolValidationError.PublicClientMetadataโ Interface; entry.. The client ID metadata document of a public client: an MCP client, never a personal agent.publicClientNameโ Function; entry.. A public client's name as a consent page shows it (RangeErrorotherwise): text of 1 to 100publicJwkโ Function; entry.. A public JWK with no private member: refused otherwise (ยง5.2).publicRedirectUriโ Function; entry.. A redirect URI a public client may name: loopback, or HTTPS (RangeErrorotherwise).publicRedirectUriMatchesโ Function; entry.. Whethergivenis the redirect URI a public clientregistered.PUBLISHED_PROTOCOL_REVISIONโ Const; entry.. The 1.0 text implemented: 1.0 as published and frozen on 2026-11-14 (commit 8c02b42).PUBLISHED_PROTOCOL_VERSIONโ Const; entry.. Protocol version 1.0 as published, the default.RandomBytesโ Type; entry.. Public TypeScript typeRandomBytes.RandomSourceโ Interface; entry.. Public TypeScript interfaceRandomSource.RandomSourcesโ Const; entry.. Public TypeScript constRandomSources.RateLimitBudgetโ Interface; entry.. A company's request budget, shared by every task and user of the host.RateLimitBudgetsโ Const; entry.. Public TypeScript constRateLimitBudgets.ReadUntilDoneOptionsโ Interface; entry.. Public TypeScript interfaceReadUntilDoneOptions.RecordingTelemetrySinkโ Class; entry..pap.telemetryin memory: every event, in order.REDIRECT_STATUSESโ Const; entry.. The statuses of an HTTP redirect.redirectUriMatchesโ Function; entry.. Whethergivenis the redirect URIregisterednames (ยง4.1, ยง4.5).REFRESH_TOKEN_GRANTโ Const; entry.. Public TypeScript constREFRESH_TOKEN_GRANT.RefreshOptionsโ Interface; entry.. Public TypeScript interfaceRefreshOptions.RefreshResultโ Interface; entry.. What a refresh did, without the refresh token itself.RefreshTokenClientโ Class; entry.. Use a stored refresh token without ever handing it to a caller.RefreshTokenClientOptionsโ Interface; entry.. Public TypeScript interfaceRefreshTokenClientOptions.RefreshTokenContextโ Interface; entry.. Where a refresh token is used, and for whom (all non-secret).RefreshTokenLockโ Interface; entry.. Serialize every use of one refresh token: rotation invalidates the one replaced (ยง4.4).RefreshTokenLocksโ Const; entry.. Public TypeScript constRefreshTokenLocks.refusalCodeโ Function; entry.. The error a refusal names: in its JSON body, else itsWWW-Authenticatechallenge.refusalDetailsโ Function; entry.. What a refusal says besides its code:extension,scope,retry_after.refuseRedirectโ Value; entry.. Public TypeScript valuerefuseRedirect.ReplaceablePairwiseUserIdStoreโ Interface; entry.. Apap.pairwiseUserIdStorethat can replace one User's ID at one Company (ยง5.1): a store ofReplacedUserIdโ Interface; entry.. A replacement that was made: the new User ID, and what signing out did first.ReplacementReasonโ Type; entry.. Why an ID is replaced (ยง5.1): the User asked, or it went unused.replaceUserIdโ Value; entry.. Public TypeScript valuereplaceUserId.ReplaceUserIdOptionsโ Interface; entry.. Public TypeScript interfaceReplaceUserIdOptions.requestScopeโ Function; entry.. Thescopeparameter of a sign-in request, or of a refresh that asks for fewer scopesrequireOauthโ Function; entry.. The issuer's metadata, orAuthorizationError, before any sign-in:no_issuerfor aresolvePairwiseUserIdโ Value; entry.. Public TypeScript valueresolvePairwiseUserId.resourceMetadataโ Value; entry.. Public TypeScript valueresourceMetadata.RetryPoliciesโ Const; entry.. Public TypeScript constRetryPolicies.RetryPolicyโ Class; entry.. When to retry a refused request (Guides, retries).RevocationResultโ Interface; entry.. A revocation the company acknowledged; the local copy is gone.RsaBlindSigningKeyโ Class; entry.. A referenceBlindSigningKey: an RSA key of 2048 bits or more (3072 suggested).safeAttributesโ Function; entry.. The allowlisted attributes ofvalues;undefinedand failing values are dropped.SCOPE_CHANGESโ Const; entry..changesvalues a scope hint may give (ยง4.4); any other is read asirreversible.ScopeChangesโ Type; entry.. Public TypeScript typeScopeChanges.scopeDescriptionsโ Function; entry.. What each scope allows, in the Company's words (ยง4.7).ScopeHintโ Interface; entry.. What a scope allows, its most consequential operation (ยง4.4): a Company's claim.scopesSupportedโ Function; entry.. The scopes the Company says a Personal Agent can request (ยง3.2, ยง4.7): the issuer'sscopesToRequestโ Function; entry.. The scopes a new sign-in asks for when a task needs more access (ยง4.7).SecretValueโ Class; entry.. Redacted wrapper for credentials and other protocol secrets.SEND_ATTEMPTSโ Const; entry.. How many timessendsends an approval, unless told otherwise.serviceMetadataโ Value; entry.. Public TypeScript valueserviceMetadata.serviceResourceโ Value; entry.. Public TypeScript valueserviceResource.ServiceTokensโ Class; entry.. The access tokens of one account, one per service that asks for its own (ยง4.5).ServiceTokensOptionsโ Interface; entry.. Public TypeScript interfaceServiceTokensOptions.SESSION_HEADERโ Const; entry.. The header that carries the Session JWT (ยง5.2).SESSION_JWT_ALGORITHMโ Const; entry.. Public TypeScript constSESSION_JWT_ALGORITHM.SESSION_JWT_TYPEโ Const; entry.. A Session JWT'stypandalg(ยง5.2).SessionClientโ Class; entry.. Start Sessions, and send grants to the company's token endpoint (ยง4, ยง5).SessionClientOptionsโ Interface; entry.. Public TypeScript interfaceSessionClientOptions.sessionEndedโ Value; entry.. Public TypeScript valuesessionEnded.SessionErrorโ Class; entry.. Public TypeScript classSessionError.SessionFetchClientโ Class; entry.. Send requests with the Session header; a redirect is refused, never followed (ยง3).SessionFetchClientOptionsโ Interface; entry.. Public TypeScript interfaceSessionFetchClientOptions.SessionFetchRequestOptionsโ Interface; entry.. Public TypeScript interfaceSessionFetchRequestOptions.sessionHeadersโ Value; entry.. Public TypeScript valuesessionHeaders.sessionJwtClaimsโ Value; entry.. Public TypeScript valuesessionJwtClaims.SessionJwtRequestโ Interface; entry.. Inputs for one request's Session JWT (ยง5.2).SessionSignerโ Interface; entry.. Sign the Session JWT of one request with a delegated key whose private half it keepsSessionSignersโ Const; entry.. Public TypeScript constSessionSigners.SessionStartOptionsโ Interface; entry.. Public TypeScript interfaceSessionStartOptions.SessionTasksโ Interface; entry.. A Company's tasks response in one Session (ยง9): never used in another.SharedRateLimitBudgetโ Class; entry.. Defaultpap.rateLimitBudget: per-company budgets in one process.SIGN_IN_TYPESโ Const; entry.. The sign-in types, in the order a Personal Agent prefers them (ยง4): Direct Sign-In is theSIGNATURE_AGENT_HEADERโ Const; entry.. Public TypeScript constSIGNATURE_AGENT_HEADER.SIGNATURE_HEADERโ Const; entry.. The headers of a signed request (RFC 9421 ยง4; Web Bot Auth ยง5.2.5).SIGNATURE_INPUT_HEADERโ Const; entry.. Public TypeScript constSIGNATURE_INPUT_HEADER.Signerโ Interface; entry.. Public TypeScript interfaceSigner.Signersโ Const; entry.. Public TypeScript constSigners.signInDisabledโ Function; entry.. Whether the Company turned sign-in off (auth.disabled, ยง3.2): a Personal Agent starts noSignInResultโ Interface; entry.. A completed sign-in (ยง4.7): the access token, and the refresh token's reference.signInScopesโ Function; entry.. For anauthorizationevent, the scopes to sign in again for (ยง5.4, ยง8.11): those inscope,SignInTypeโ Type; entry.. Public TypeScript typeSignInType.signInTypesโ Function; entry.. The sign-in types the Company offers a Personal Agent, in the order it prefers them (ยง4):signOauthRequestโ Value; entry.. Public TypeScript valuesignOauthRequest.signOperatorRequestโ Value; entry.. Public TypeScript valuesignOperatorRequest.SignOperatorRequestOptionsโ Interface; entry.. Public TypeScript interfaceSignOperatorRequestOptions.SignOutResultโ Interface; entry.. Sign-out (ยง5.5): how many refresh tokens were revoked, and whether all were.SKILL_INDEX_SCHEMAโ Const; entry.. The Agent Skills discovery draft revisionskill_indexpins (ยง9.4): the$schemaan indexSKILL_TYPESโ Const; entry.. The artifact types the SDK recognizes (ยง9.4): a singleSKILL.md, or an archive withSkillEntryโ Interface; entry.. A skill a Company publishes for Personal Agents acting for the User there (ยง9.4).speaksUcpโ Function; entry.. Whether the Company lists the UCP extension at this version (UCP extension 2).splitDomainโ Function; entry..organization.domainas its host and its port,undefinedfor 443 (ยง3.1).staleResourceMetadataโ Function; entry.. Whether a service refused a token not issued for it (ยง4.5).StartConversationOptionsโ Interface; entry.. Public TypeScript interfaceStartConversationOptions.StreamItemโ Type; entry.. Public TypeScript typeStreamItem.StreamReconnectedโ Interface; entry.. The stream was reopened fromLast-Event-ID; drop the partial messages named.SUPPORTED_EXTENSIONSโ Const; entry.. Extensions this SDK implements, by name and major version.SUPPORTED_PROTOCOL_VERSIONSโ Const; entry.. The protocol versions a Personal Agent implements unless it asks for others (ยง3.4): aTasksClientโ Class; entry.. Get a Company's tasks response in a Session, and keep it for that Session only.TasksClientOptionsโ Interface; entry.. Public TypeScript interfaceTasksClientOptions.TasksDescriptorโ Interface; entry.. Where a Personal Agent gets, for a Session, the tasks the Company chose not to offer, thetasksEndpointโ Function; entry.. The Company's tasks endpoint, when its poppy.json names one (ยง3.1).TasksErrorโ Class; entry.. The tasks endpoint refused the Session header:invalid_session,version_unsupported.TasksGetOptionsโ Interface; entry.. Public TypeScript interfaceTasksGetOptions.TasksResponseโ Interface; entry.. The response toGET {tasks.endpoint}for one Session (ยง9).TELEMETRY_ATTRIBUTESโ Const; entry.. The only attribute names an event may carry, each with the rule its value must pass.TELEMETRY_EVENTSโ Const; entry.. Every event the SDK emits, and its stage.TELEMETRY_STAGESโ Const; entry.. Public TypeScript constTELEMETRY_STAGES.TelemetryAttributesโ Type; entry.. Public TypeScript typeTelemetryAttributes.TelemetryEventโ Class; entry.. One finished protocol stage: a span for traces, an event for analytics.TelemetrySinkโ Interface; entry.. Receive each finished protocol stage (TelemetryEventof telemetry.ts), redacted already.TelemetrySinksโ Const; entry..TelemetrySink: where traces and analytics events go; none, and nothing is emitted.TelemetryStageโ Type; entry.. Public TypeScript typeTelemetryStage.TelemetryValueโ Type; entry.. Public TypeScript typeTelemetryValue.termsDifferencesโ Function; entry.. Wheretermsdisagree with what the agent asked for, or with thesummary.termsLeavesโ Function; entry.. The values of an operation'sterms, keyed by their dotted paths.TextDeltaโ Interface; entry.. A piece of a message still being written (SSEtext-delta, ยง7.6): forTokenErrorClassโ Type; entry.. Error classes a token request raises: each takes(code, message, options).tokenHashโ Value; entry.. Public TypeScript valuetokenHash.TokenRequestOptionsโ Interface; entry.. Public TypeScript interfaceTokenRequestOptions.TokenResponseโ Interface; entry.. A token endpoint's answer, as on the wire (ยง4.7): plain OAuth.TokenStoreโ Interface; entry.. Public TypeScript interfaceTokenStore.TokenStoresโ Const; entry.. Public TypeScript constTokenStores.TransportErrorโ Class; entry.. Public TypeScript classTransportError.UCP_AGENT_HEADERโ Const; entry.. The header a UCP REST request names the platform profile in (UCP extension 3, 4).UCP_EXTENSIONโ Const; entry.. The extension's name and version inextensionsandPoppy-Extensions(UCP extension 2).UCP_IDENTITY_LINKINGโ Const; entry.. Public TypeScript constUCP_IDENTITY_LINKING.UCP_PROFILE_PATHโ Const; entry.. Where a Company's UCP profile is, onorganization.domain(UCP extension 3).UCP_PROFILE_VERSIONโ Const; entry.. The UCP version the reference companies speak, in their profile (UCP's own versioning).UCP_SHOPPINGโ Const; entry.. UCP's service for shopping, and identity linking.UCP_VERSIONโ Const; entry.. Public TypeScript constUCP_VERSION.ucpAgentHeaderโ Function; entry.. TheUCP-Agentvalue naming the platform profile, an RFC 9651 Dictionary. The profileUcpCallOptionsโ Interface; entry.. Public TypeScript interfaceUcpCallOptions.UcpClientโ Class; entry.. Send UCP REST requests through this extension (UCP extension 4): the platform profile inucpEndpointโ Function; entry.. The HTTPS endpoint ofservicefortransport, orundefinedwhen the profile offers none.UcpErrorโ Class; entry.. A UCP profile or request refused: its code, anddetailssuch as the scopes to get.ucpIdentityLinkingScopesโ Function; entry.. The scopes identity linking gates (config.scopes): what a sign-in asks for when a UCP requestucpOffersโ Function; entry.. Whether the profile listscapability(UCP's name, such asdev.ucp.shopping.order).UcpProfileโ Interface; entry.. A Company's UCP profile, as far as this extension reads it (UCP extension 3): data, never instructions.ucpProfileUrlโ Function; entry..https://{organization.domain}/.well-known/ucp, on the validated domain (UCP extension 3).ucpScopesโ Function; entry.. The scopes a sign-in requests after a UCPinsufficient_scope(UCP extension 4).urlDomainโ Function; entry.. The domain an HTTPS URL is on, asorganization.domainnames it (ยง3.1): its host, lowercase,UrlSafetyPoliciesโ Const; entry.. Public TypeScript constUrlSafetyPolicies.UrlSafetyPolicyโ Interface; entry.. Public TypeScript interfaceUrlSafetyPolicy.usableRedirectUrisโ Function; entry.. The redirect URIs a company sends a public client's answers to: loopback, or HTTPS on theusableReferencesโ Function; entry.. The references an agent may follow (ยง8.2).usableSkillsโ Function; entry.. The skills of a tasks response'sskill_indexthis SDK can use (ยง9.4), eachurlresolved.USER_ID_UNUSED_AFTER_SECONDSโ Const; entry.. How long an ID goes unused before a Personal Agent may replace it on its own (ยง5.1): 28 daysUSER_STEP_ATTRIBUTEโ Const; entry.. The attribute that marks a step for the User (Browser Control 4).UserIdAtCompanyโ Interface; entry.. One User's ID at one Company: who (tenantId,localUserId), where (company, theUserIdDataโ Interface; entry.. What the host holds under a User ID that the SDK can't reach (ยง5.1).UserIdErrorโ Class; entry.. A User ID was not replaced:user_id_in_use,refresh_token_held,user_id_recently_used,userStepKindโ Function; entry.. What adata-poppy-user-stepvalue asks, orundefinedwithout one (Browser Control 4). AUserStepKindโ Type; entry.. What a mark asks: the User changes or activates (interaction), or submits.validateDirectSignInCallbackโ Function; entry.. Public TypeScript functionvalidateDirectSignInCallback.verificationHostAllowedโ Function; entry.. Whether a device sign-in link may be shown for this company (ยง4.3).verifyOperatorSignatureโ Value; entry.. Public TypeScript valueverifyOperatorSignature.VerifyOperatorSignatureOptionsโ Interface; entry.. Public TypeScript interfaceVerifyOperatorSignatureOptions.VERSION_HEADERโ Const; entry.. The protocol version the request is in (ยง3.4), on every request with the Session header.versionDefinesโ Function; entry.. Whether protocol versionversiondefines whatsinceadded (ยง3.4): the same majorversionUnsupportedโ Value; entry.. Public TypeScript valueversionUnsupported.WEB_BOT_AUTH_TAGโ Const; entry.. The tag that marks a signature as Web Bot Auth's (ยง5.2).WebBotAuthSignerโ Class; entry..pap.operatorSigner: a fresh Web Bot Auth signature for each request (ยง5.3).WebBotAuthSignerOptionsโ Interface; entry.. Public TypeScript interfaceWebBotAuthSignerOptions.WebDescriptorโ Interface; entry.. The Company's website (ยง3.1, ยง6): where the agent's browser joins a Session, whether theWebsiteOperationsโ Class; entry.. Operations a Company's website returns to the personal agent's own browser.WebsiteOperationsOptionsโ Interface; entry.. Public TypeScript interfaceWebsiteOperationsOptions.WebsiteOperationStatusโ Type; entry.. What a lookup of an approved reference says (Operations 6).WorkingChangedโ Interface; entry.. A stream'sworkingevent (ยง8.6):workingis no recorded event, so the Company sends itcreateResolvingFetchโ Function; entry./server. Afetchthat resolves, vets, and pins:dns.lookupevery address of the host, refuseisGlobalAddressโ Function; entry./server. Whether a textual IP address is global unicast: never loopback, private, link-local,JoseSignerโ Class; entry./server. Sign client assertions and delegations with a key from the agent'sjwks_uri.JoseSignerOptionsโ Interface; entry./server. Public TypeScript interfaceJoseSignerOptions.NodeAddressResolverโ Type; entry./server. Every address a host name resolves to (A and AAAA).NodeUrlSafetyPolicyโ Class; entry./server. DNS-aware server policy for untrusted PAP discovery and metadata URLs: every addressNodeUrlSafetyPolicyOptionsโ Interface; entry./server. Public TypeScript interfaceNodeUrlSafetyPolicyOptions.resolveAddressesโ Value; entry./server. Public TypeScript valueresolveAddresses.ResolvingFetchOptionsโ Interface; entry./server. Public TypeScript interfaceResolvingFetchOptions.vetHostโ Value; entry./server. Public TypeScript valuevetHost.