ktx/packages/context/src/tools/index.ts
Luca Martial 60457e9407
Improve schema setup and Notion ingest UX (#14)
* Improve schema setup and Notion ingest UX

* Handle Postgres network scan failures

* WIP: save local changes before main merge

* Refine setup prompt choices

* Tighten ingest reconciliation guidance

* Commit setup config updates

* Canonicalize unmapped fallback details

* Count reconciliation actions in reports

* Harden semantic layer source validation

* Return wiki content after edits

* Validate SL sources against manifests

* Validate wiki refs before writes

* Simplify CLI next steps

* Clarify agent setup summary

* Surface dbt target SL sources

* Recover SL write fallbacks

* Preserve failed context build metadata

* Track raw paths for ingest actions

* test(cli): update seeded demo expectations

* fix(ingest): scope fallback recovery checks

* fix(sl): tighten source validation guards

* fix(wiki): ignore empty embedding vectors

* Improve Notion ingest UX

* Enforce flat wiki keys

* test(context): update wiki key assertion

---------

Co-authored-by: Andrey Avtomonov <andreybavt@gmail.com>
2026-05-12 22:56:58 +02:00

44 lines
1.8 KiB
TypeScript

export type { GitAuthor, GitAuthorResolverPort } from './authors.js';
export { SYSTEM_GIT_AUTHOR } from './authors.js';
export type {
MethodologyEntry,
ToolContext,
ToolOutput,
ToolProgressRelayPort,
ToolTimingTrackerPort,
} from './base-tool.js';
export { BaseTool } from './base-tool.js';
export { ContextCandidateMarkTool } from './context-candidate-mark.tool.js';
export { ContextCandidateWriteTool } from './context-candidate-write.tool.js';
export { ContextEvidenceNeighborsTool } from './context-evidence-neighbors.tool.js';
export { ContextEvidenceReadTool } from './context-evidence-read.tool.js';
export { ContextEvidenceSearchTool } from './context-evidence-search.tool.js';
export type {
ContextCandidateInsertResult,
ContextCandidateStatusResult,
ContextEvidenceChunkForCandidate,
ContextEvidenceChunkForRead,
ContextEvidenceChunkReadResult,
ContextEvidenceDocumentForRead,
ContextEvidenceNeighborResult,
ContextEvidenceReadResult,
ContextEvidenceSearchArgs,
ContextEvidenceSearchResult,
ContextEvidenceToolStorePort,
} from './context-evidence-tool-store.js';
export type { ToolFailure } from './context-ingest-metadata.js';
export { ingestMetadataRequired, resolveIngestMetadata } from './context-ingest-metadata.js';
export type { SqlEdit } from './sql-edit-replacer.js';
export { applySqlEdits } from './sql-edit-replacer.js';
export type { IngestToolMetadata, MemoryAction, ToolSession } from './tool-session.js';
export { validateActionRawPaths } from './action-raw-paths.js';
export type { TouchedSlSource, TouchedSlSourceSet } from './touched-sl-sources.js';
export {
addTouchedSlSource,
createTouchedSlSources,
deleteTouchedSlSource,
hasTouchedSlSource,
listTouchedSlSources,
touchedSlSourceCount,
touchedSlSourceNamesForConnection,
} from './touched-sl-sources.js';