Skip to main content

Function: createTopicalityExtensionPack()

createTopicalityExtensionPack(context): ExtensionPack

Defined in: packages/agentos/src/extensions/packs/topicality/index.ts:300

AgentOS manifest factory function.

Conforms to the convention expected by the extension loader when resolving packs from manifests. Extracts options from the ExtensionPackContext and delegates to createTopicalityPack.

Parameters

context

ExtensionPackContext

Manifest context containing optional pack options, secret resolver, and shared service registry.

Returns

ExtensionPack

A fully-configured ExtensionPack.

Example

{
"packs": [
{
"module": "./topicality",
"options": {
"allowedTopics": [...],
"forbiddenTopics": [...],
"allowedThreshold": 0.4
}
}
]
}