Skip to main content

Crate core_api

Crate core_api 

Source

Modules§

interaction_flow
Canonical Interaction Flow definition and Core-to-Node wire contract.
llm
messaging
node

Structs§

ArtifactDeliveryProjectionRequest
ArtifactDeliveryProjectionResponse
ArtifactUploadProjectionRequest
ArtifactUploadProjectionResponse
AuthConfig
AuthRequest
AuthenticatedSession
CleanupWsStateRequest
ClientIds
CompleteExternalCoreEventsRequest
CompleteExternalCoreEventsResponse
EndpointPayloadRequest
ErrorResponse
ExternalArtifactReadDescriptor
ExternalArtifactRequestContext
ExternalArtifactUploadDescriptor
ExternalAuthorizeArtifactReadRequest
ExternalAuthorizeArtifactUploadRequest
ExternalCommitArtifactUploadRequest
ExternalCoreDeviceIdentity
ExternalCoreError
ExternalCoreEvent
ExternalCoreEventCompletion
ExternalCoreHealth
ExternalCoreMdnsRecord
ExternalCoreRequest
ExternalCoreResponse
ExternalCoreRuntimeMetadata
ExternalHostRuntimeRequest
A platform capability request emitted by an externally hosted Core.
ExternalOpenArtifactRequest
ExternalPutArtifactRequest
ExternalServiceAppFacadeRequest
An App Facade request delegated by an externally hosted Core to the application service that owns the target’s business logic.
HandleCoreInputRequest
HandleCoreInputResponse
HostDeliveryRequest
HttpPayloadRequest
HubConnectionProofRequest
HubConnectionProofResponse
HubMdnsInstanceRecord
ListMdnsRecordsRequest
MessagingDeliveryRequest
Messaging-only Core -> Host request. A successful response means delivery was accepted by the provider implementation, not merely queued in the Core event pump or read by a user.
MessagingDeliveryResponse
MwsClientInfo
MwsMessage
MwsMessageType
MwsSource
NodeAuthRequest
NodeAuthResponse
NodeChallengeEvidence
NodeChallengePayload
NodeCommissioningAcceptRequest
NodeCommissioningAcceptResponse
NodeCommissioningErrorResponse
NodeCommissioningPrepareRequest
NodeCommissioningPrepareResponse
NodeCommissioningStatusRequest
NodeCommissioningStatusResponse
NodeDescribeRequest
NodeDescription
NodeInstanceListItem
NodeInstanceListResponse
NodeOnboardingStartRequest
NodeOnboardingStartResponse
NodePreflightError
NodePreflightReadiness
NodeReadinessReason
NodeReadinessRequest
NodeReadinessSnapshot
NodeTokenIssueRequest
NodeTokenIssueResponse
NodeTokenListItem
NodeTokenListResponse
NodeTokenRevokeRequest
NodeTokenRevokeResponse
PollExternalCoreEventsRequest
PollExternalCoreEventsResponse
RecipientId
RecipientIdError
RegisterLocalAppClientRequest
RegisterNodeConnectionRequest
ScopeAuthorizationRequest
ScopeInfo
ScopeMember
ScopeMembership
ScopeMembershipListRequest
ScopeOwnedDataPurgeRequest
ServiceAppClientProjection
A service-owned AppClient materialized from an authoritative external model. This boundary intentionally carries no acting user: authorization belongs to the service that owns the source model, while Core validates the projection.
ServiceAppClientProjectionKey
ServiceCoreOutput
StorageCreateNamespaceRequest
StorageNamespace
StorageNamespaceIdRequest
StorageNamespaceList
StorageNamespaceUpdate
StorageObject
StorageObjectList
StorageRepositorySettings
StorageRepositorySettingsUpdate
StorageRepositoryStats
StorageSession
StorageSessionRequest
UnsupportedStorageOverflowStrategy
UpdateCallbackBaseRequest
UserInfo
UserSetting

Enums§

DeliveryAcceptance
DeliveryOutcome
ExceptionCode
ExternalCoreEventKind
ExternalCoreMethod
ExternalHostRuntimeMethod
HostConnectionControl
Connection fencing is control, not delivery. The key must identify an exact session, so delayed control requests cannot close a replacement connection.
HostDeliveryDestination
NodeBindingStatus
NodeInstancePolicy
NodePreflightState
NodeReadinessState
ScopeAccessRequirement
ServiceCoreInput
ServiceCoreResponse
StorageOverflowStrategy
StoragePermission
StorageWriteState

Constants§

ARTIFACT_CONTENT_PATH_PREFIX
ARTIFACT_UPLOAD_PATH_PREFIX
EXTERNAL_CORE_PROTOCOL_VERSION
HUB_CONNECTION_PROOF_PROTOCOL
HUB_CONNECTION_PROOF_TARGET
MWS_MAX_FRAME_SIZE
MWS_MAX_MESSAGE_SIZE
Shared MWS transport limits. Both websocket peers must apply these values so an envelope accepted by one side is never rejected solely due to asymmetric transport configuration.
MWS_MAX_WRITE_BUFFER_SIZE
NODE_DESCRIBE_SCHEMA_VERSION
NODE_ONBOARDING_CHALLENGE_ALGORITHM
NODE_ONBOARDING_CHALLENGE_AUDIENCE
NODE_ONBOARDING_CHALLENGE_PROTOCOL
NODE_ONBOARDING_ES256_ALGORITHM
NODE_ONBOARDING_START_TARGET
NODE_ONBOARDING_TOKEN_AUDIENCE
NODE_ONBOARDING_TOKEN_ISSUER_PREFIX
NODE_ONBOARDING_TRANSACTION_TTL_SECONDS
NODE_PREFLIGHT_SCHEMA_VERSION
NODE_READINESS_SCHEMA_VERSION
NODE_SERVICE_PROTOCOL_V1_SCHEMA
NODE_TOKEN_ISSUE_TARGET
NODE_TOKEN_LIST_TARGET
NODE_TOKEN_REVOKE_TARGET
STORAGE_CREATE_NAMESPACE_ROUTE
STORAGE_DESCRIBE_ROUTE
STORAGE_ISSUE_SESSION_ROUTE
STORAGE_LIST_NAMESPACES_ROUTE
STORAGE_NAMESPACE_STATUS_ROUTE
STORAGE_NODE_TYPE
STORAGE_PROTOCOL_VERSION
STORAGE_READINESS_ROUTE
STORAGE_STATS_ROUTE
STORAGE_UPDATE_NAMESPACE_ROUTE
STORAGE_UPDATE_SETTINGS_ROUTE

Functions§

hub_connection_proof_signing_payload
Canonical, domain-separated bytes signed by the Hub for one physical WS connection. Length prefixes keep the encoding unambiguous without relying on JSON object ordering.
node_describe_target
node_readiness_target