Skip to content

Catalog ​

Search resource providers and resolve projects, versions, files and dependencies. Provider identity remains part of every resource reference and page sequence.

Contract: nexa.catalog/100. API index.

Typical sequence ​

Choose an explicit provider, search with a bounded page, then resolve a selected version before planning installation. Read-provider callbacks return typed values with matching provenance.

Behavior and limits ​

Custom catalog providers currently support seven read queries. Mixed built-in/custom searches, custom installation and favorites are not implied by successful registration.

The recorded Host maps 20 of 20 operations in this group. A mapping is subject to permission, phase, scope, platform and business preconditions. Host snapshot identifies the source revision; negotiate against the actual installed Host.

Operations ​

ListProviders · DescribeProvider · RegisterProvider · Search · ReadProject · ListVersions · ReadVersion · ReadChangelog · ResolveFiles · ResolveDependencies · ListFavorites · SetFavorite · PlanInstall · PlanUpdate · ExecutePlan · RegisterCollection · RegisterTranslationProvider · ReadTranslatedProject · ListCollections · ReadCollection

ListProviders ​

PageRequest → Page<ProviderDescriptor> (wrapper, item)

PropertyContract
Local SDK method ID1
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
Cursorstring?Opaque continuation or observation cursor. Reuse only in the issuing query/scope; absence and invalidity are different. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
LimitlongRequested bound on returned items. The Host may impose a smaller domain-specific limit.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ListProviders(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ListProviders_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

DescribeProvider ​

QualifiedRequest → ProviderDescriptor

PropertyContract
Local SDK method ID2
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
IdQualifiedIdIdentity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_DescribeProvider(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_DescribeProvider_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

RegisterProvider ​

ProviderDescriptor → RegistrationRef

PropertyContract
Local SDK method ID3
KindRegistration
Permissionnexa.catalog.write
Legal phasesInitialize
IdempotencyRequiredKey
Host statusMapped in recorded snapshot

The current mapped custom provider family is read-only. It supports Search, ReadProject, ListVersions, ReadVersion, ReadChangelog, ResolveFiles and ResolveDependencies. See the provider guide for descriptor and callback requirements.

Request fields

FieldTypeMeaning
IdQualifiedIdIdentity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path.
KindQualifiedIdHost-supported provider family. Registration succeeds only for a mapped family.
ContractVersionulongProvider contract version; current catalog read-provider callbacks use 100.
SchemaHashstringDigest of the provider callback envelope schema; current catalog read providers use BusinessProviderCall.
DisplayNameLocalizedTextUser-facing localized label; it is not an authority-bearing identity.
Capabilitiesstring[]Exact capabilities advertised or required by this descriptor, subject to the Host’s accepted table. A bounded collection; do not assume an unbounded result or unspecified ordering.
SupportedScopesstring[]Scopes the provider declares it can handle; declaration does not authorize every target. A bounded collection; do not assume an unbounded result or unspecified ordering.
SelectionSelectionPolicySelection rule; the current catalog callback boundary supports ExplicitRequest.
ConcurrencyConcurrencyPolicyDeclared execution policy. A provider family may reject enum members whose semantics it does not implement.
DeadlineMillisecondslongRequested deadline in milliseconds; queue time consumes this budget and caller deadlines can shorten it.
FailurePolicyProviderFailurePolicyHow this provider family reports callback failures; it does not automatically make retries safe.
ConfigurationSchemaRefSchema for provider configuration, not arbitrary executable Host configuration.
HandlerulongCallback identifier registered by this plugin. A handler alone is not a public action or provider registration.

Successful result

Retain the registration identity for the permitted update/release operation. Staged registrations become visible only at group activation.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. Supply a key for the intended effect and retain that key and inputs while resolving an uncertain reply. Do not retry with changed inputs under the same key. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_RegisterProvider(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_RegisterProvider_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

CatalogSearch → Page<CatalogProject> (wrapper, item)

PropertyContract
Local SDK method ID4
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ProvidersQualifiedId[]Identity or revision in this model’s domain; preserve ownership and exact spelling. A bounded collection; do not assume an unbounded result or unspecified ordering.
QuerystringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.
KindQualifiedId?Identity or revision in this model’s domain; preserve ownership and exact spelling. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
GameVersionstring?Domain value named by this field; additional accepted values and bounds are determined by the operation and Host policy. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
LoaderQualifiedId?Identity or revision in this model’s domain; preserve ownership and exact spelling. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
PagePageRequestStructured PageRequest value; follow its linked field contract.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_Search(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_Search_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ReadProject ​

ResourceRef → CatalogProject

PropertyContract
Local SDK method ID5
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ProviderQualifiedIdIdentity or revision in this model’s domain; preserve ownership and exact spelling.
ProjectIdstringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ReadProject(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ReadProject_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ListVersions ​

CatalogVersionQuery → Page<CatalogVersion> (wrapper, item)

PropertyContract
Local SDK method ID6
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
GameVersionstring?Domain value named by this field; additional accepted values and bounds are determined by the operation and Host policy. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
PagePageRequestStructured PageRequest value; follow its linked field contract.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ListVersions(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ListVersions_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ReadVersion ​

ResourceVersionRef → CatalogVersion

PropertyContract
Local SDK method ID7
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
VersionIdstringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ReadVersion(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ReadVersion_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ReadChangelog ​

ResourceVersionRef → TextResult

PropertyContract
Local SDK method ID8
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
VersionIdstringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ReadChangelog(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ReadChangelog_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ResolveFiles ​

ResourceVersionRef → Page<CatalogFile> (wrapper, item)

PropertyContract
Local SDK method ID9
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
VersionIdstringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ResolveFiles(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ResolveFiles_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ResolveDependencies ​

ResourceVersionRef → Page<CatalogDependency> (wrapper, item)

PropertyContract
Local SDK method ID10
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
VersionIdstringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ResolveDependencies(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ResolveDependencies_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ListFavorites ​

PageRequest → Page<CatalogProject> (wrapper, item)

PropertyContract
Local SDK method ID11
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
Cursorstring?Opaque continuation or observation cursor. Reuse only in the issuing query/scope; absence and invalidity are different. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
LimitlongRequested bound on returned items. The Host may impose a smaller domain-specific limit.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ListFavorites(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ListFavorites_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

SetFavorite ​

FavoriteChange → Empty

PropertyContract
Local SDK method ID12
KindMutation
Permissionnexa.catalog.write
Legal phasesActive
IdempotencyRequiredKey
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
FavoriteboolDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.
ExpectedRevisionRevision?Revision observed before this change. Preserve it exactly; a mismatch requires re-reading and reconciling the target. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.

Successful result

There is no result payload beyond the encoded Empty model. Check Success; an empty failure value is not successful completion.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. Supply a key for the intended effect and retain that key and inputs while resolving an uncertain reply. Do not retry with changed inputs under the same key. Re-read after revision conflicts; cancellation does not prove rollback. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_SetFavorite(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_SetFavorite_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

PlanInstall ​

CatalogInstallRequest → ContentPlan

PropertyContract
Local SDK method ID13
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
InstanceEntityIdIdentity or revision in this model’s domain; preserve ownership and exact spelling.
VersionsResourceVersionRef[]Structured ResourceVersionRef value; follow its linked field contract. A bounded collection; do not assume an unbounded result or unspecified ordering.
ExpectedRevisionRevisionRevision observed before this change. Preserve it exactly; a mismatch requires re-reading and reconciling the target.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_PlanInstall(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_PlanInstall_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

PlanUpdate ​

CatalogInstallRequest → ContentPlan

PropertyContract
Local SDK method ID14
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
InstanceEntityIdIdentity or revision in this model’s domain; preserve ownership and exact spelling.
VersionsResourceVersionRef[]Structured ResourceVersionRef value; follow its linked field contract. A bounded collection; do not assume an unbounded result or unspecified ordering.
ExpectedRevisionRevisionRevision observed before this change. Preserve it exactly; a mismatch requires re-reading and reconciling the target.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_PlanUpdate(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_PlanUpdate_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ExecutePlan ​

PlanRequest → OperationRef

PropertyContract
Local SDK method ID15
KindOperation
Permissionnexa.catalog.write
Legal phasesActive
IdempotencyRequiredKey
Host statusMapped in recorded snapshot

Request fields

FieldTypeMeaning
PlanEntityIdIdentity or revision in this model’s domain; preserve ownership and exact spelling.
ExpectedRevisionRevisionRevision observed before this change. Preserve it exactly; a mismatch requires re-reading and reconciling the target.
ConfirmationTokenstring?Domain value named by this field; additional accepted values and bounds are determined by the operation and Host policy. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.

Successful result

Work has been admitted. Read or watch the owned operation through Tasks to establish its terminal result; admission is not completion.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. Supply a key for the intended effect and retain that key and inputs while resolving an uncertain reply. Do not retry with changed inputs under the same key. Re-read after revision conflicts; cancellation does not prove rollback. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ExecutePlan(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ExecutePlan_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

RegisterCollection ​

ResourceCollection → RegistrationRef

PropertyContract
Local SDK method ID16
KindRegistration
Permissionnexa.catalog.write
Legal phasesInitialize
IdempotencyRequiredKey
Host statusMapped in recorded snapshot

Publish an owned collection of at most 256 distinct resource references and 64 distinct tags. The collection becomes visible atomically with its plugin. ListCollections and ReadCollection consume the registration; stopping its owner removes it.

Request fields

FieldTypeMeaning
IdQualifiedIdIdentity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path.
ResourcesResourceRef[]Structured ResourceRef value; follow its linked field contract. A bounded collection; do not assume an unbounded result or unspecified ordering.
TagsQualifiedId[]Identity or revision in this model’s domain; preserve ownership and exact spelling. A bounded collection; do not assume an unbounded result or unspecified ordering.

Successful result

Retain the registration identity for the permitted update/release operation. Staged registrations become visible only at group activation.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. Supply a key for the intended effect and retain that key and inputs while resolving an uncertain reply. Do not retry with changed inputs under the same key. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_RegisterCollection(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_RegisterCollection_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

RegisterTranslationProvider ​

ProviderDescriptor → RegistrationRef

PropertyContract
Local SDK method ID17
KindRegistration
Permissionnexa.catalog.write
Legal phasesInitialize
IdempotencyRequiredKey
Host statusMapped in recorded snapshot

Register kind nexa:catalog/translation with Translate: CatalogTranslationInput → CatalogTranslation. The input contains a validated project and requested locale; the output may change display name and summary only. It cannot change provider/project identity or download provenance.

Request fields

FieldTypeMeaning
IdQualifiedIdIdentity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path.
KindQualifiedIdHost-supported provider family. Registration succeeds only for a mapped family.
ContractVersionulongProvider contract version; current catalog read-provider callbacks use 100.
SchemaHashstringDigest of the provider callback envelope schema; current catalog read providers use BusinessProviderCall.
DisplayNameLocalizedTextUser-facing localized label; it is not an authority-bearing identity.
Capabilitiesstring[]Exact capabilities advertised or required by this descriptor, subject to the Host’s accepted table. A bounded collection; do not assume an unbounded result or unspecified ordering.
SupportedScopesstring[]Scopes the provider declares it can handle; declaration does not authorize every target. A bounded collection; do not assume an unbounded result or unspecified ordering.
SelectionSelectionPolicySelection rule; the current catalog callback boundary supports ExplicitRequest.
ConcurrencyConcurrencyPolicyDeclared execution policy. A provider family may reject enum members whose semantics it does not implement.
DeadlineMillisecondslongRequested deadline in milliseconds; queue time consumes this budget and caller deadlines can shorten it.
FailurePolicyProviderFailurePolicyHow this provider family reports callback failures; it does not automatically make retries safe.
ConfigurationSchemaRefSchema for provider configuration, not arbitrary executable Host configuration.
HandlerulongCallback identifier registered by this plugin. A handler alone is not a public action or provider registration.

Successful result

Retain the registration identity for the permitted update/release operation. Staged registrations become visible only at group activation.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. Supply a key for the intended effect and retain that key and inputs while resolving an uncertain reply. Do not retry with changed inputs under the same key. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_RegisterTranslationProvider(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_RegisterTranslationProvider_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ReadTranslatedProject ​

CatalogTranslationRequest → CatalogProject

PropertyContract
Local SDK method ID18
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Resolve the original project through its catalog provider, then invoke the selected translation provider. Locales are 2–64 ASCII letters/digits/hyphens. Names are 1–1,024 characters and summaries at most 65,536 characters. Failure remains a failure; the caller may explicitly choose to show the untranslated project.

Request fields

FieldTypeMeaning
ProviderQualifiedIdIdentity or revision in this model’s domain; preserve ownership and exact spelling.
ResourceResourceRefStructured ResourceRef value; follow its linked field contract.
LocalestringDomain value named by this field; additional accepted values and bounds are determined by the operation and Host policy.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ReadTranslatedProject(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ReadTranslatedProject_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ListCollections ​

PageRequest → Page<ResourceCollection> (wrapper, item)

PropertyContract
Local SDK method ID19
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

List active registered resource collections with revision-bound pagination. Staged registrations are not exposed. Collection membership is a resource reference, not proof that the resource is installed or downloadable.

Request fields

FieldTypeMeaning
Cursorstring?Opaque continuation or observation cursor. Reuse only in the issuing query/scope; absence and invalidity are different. Nullable; omission is distinct from an empty value. No implicit default is promised by this type.
LimitlongRequested bound on returned items. The Host may impose a smaller domain-specific limit.

Successful result

Read Items and continue with NextCursor while preserving the original query. An absent cursor ends the sequence; an invalid cursor is an error.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ListCollections(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ListCollections_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.

ReadCollection ​

QualifiedRequest → ResourceCollection

PropertyContract
Local SDK method ID20
KindQuery
Permissionnexa.catalog.read
Legal phasesInitialize, PostInitialize, Checkup, Finalize, Active
IdempotencyReadOnly
Host statusMapped in recorded snapshot

Read an active collection by qualified ID. A stopped or absent provider returns NOT_FOUND; callers must not reuse a cached collection as current authority.

Request fields

FieldTypeMeaning
IdQualifiedIdIdentity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path.

Successful result

Decode the exact output model after Success. Preserve its identities, revision and schema metadata for subsequent domain operations.

Failure and retry

Unavailable capability, denied permission, wrong phase, malformed schema or foreign ownership fails the call. A read-only classification does not bypass budgets or guarantee a failed request can be retried indefinitely. Preserve structured errors; see recovery guidance.

C binding (call fragment; the caller supplies the encoded request and buffers):

c
nx_Catalog_ReadCollection(&reply, request, &options);

The next resume receives the reply. Check nx_reply_success before nx_Catalog_ReadCollection_result. See the complete continuation example and Wasm ownership rules. This fragment is not a standalone guest.


Source: NexaCL-Plugin-SDK · Apache-2.0.

Site documentation: CC BY-SA 4.0. Imported SDK documents: Apache-2.0 as marked.