ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// The knowledge module's manifest (spec §4.1): the one place it registers anything. The normal
// (Postgres) app binds the worker implementations of the index/remove jobs; the module's own
// outbox subscribers enqueue them, so a web request writes the row and answers, never waiting on
// chunking, embeddings or the vector store.
import { defineModule } from "@conusai-kit/core"
import { KNOWLEDGE_JOBS, KNOWLEDGE_SUBSCRIPTIONS } from "./adapters/jobs.js"
import { KNOWLEDGE_EVENTS } from "./contract/index.js"
import { KNOWLEDGE_MODULE_BASE } from "./module.shared.js"
export const knowledgeModule = defineModule({
...KNOWLEDGE_MODULE_BASE,
jobs: KNOWLEDGE_JOBS,
events: { publishes: [...KNOWLEDGE_EVENTS], subscribes: KNOWLEDGE_SUBSCRIPTIONS },
})