Files
clawhub/convex/lib/catalogClassifier.d.mts
T
Jason (Json)andPatrick Erichsen 4bc58e4939 feat: add catalog classification backfill (#2719)
* feat: add controlled catalog taxonomy and topics

* refactor: limit taxonomy input to publish surfaces

* fix: omit inactive official-first filter

* fix: preserve unsaved catalog metadata edits

* fix: enforce catalog taxonomy invariants

* fix: close catalog taxonomy review gaps

* fix: tolerate retired stored skill categories

* fix: bound catalog metadata filter scans

* fix: preserve comma-containing topic labels

* fix: tolerate retired stored plugin categories

* fix: ignore empty secret integration metadata

* fix: honor explicit categories in related skills

* fix: harden taxonomy rollout migration

* fix: harden taxonomy browse pagination

* fix: preserve skill topic recommendation fallback

* fix: scale curated skill category browse

* fix: preserve legacy plugin category filters

* fix: preserve taxonomy compatibility semantics

* fix: preserve legacy catalog browse links

* feat: make catalog metadata editing explicit

* test: update plugin manage context contract

* fix: address taxonomy review findings

* fix: preserve empty category publish flags

* fix: preserve catalog search and publish metadata

* chore: keep taxonomy migration operator-run

* docs: keep taxonomy migrations operator-run

* fix: reject inherited category aliases

* fix: preserve normalized topic search behavior

* test: cover full topic pagination cursors

* feat: add catalog classification backfill

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2026-06-17 17:58:26 -07:00

23 lines
656 B
TypeScript

import type { CatalogClassifierResult } from "./catalogClassification";
export const CLASSIFIER_VERSION: string;
export const TOPIC_CLASSIFIER_VERSION: string;
export function classifySkill(input?: {
slug?: string;
text?: string;
explicitCategories?: readonly string[];
explicitTopics?: readonly string[];
topicTags?: readonly string[];
}): CatalogClassifierResult;
export function classifyPlugin(input?: {
manifest?: Record<string, unknown>;
slug?: string;
text?: string;
topicText?: string;
explicitCategories?: readonly string[];
explicitTopics?: readonly string[];
topicTags?: readonly string[];
}): CatalogClassifierResult;