@absolutejs/absolute 0.19.0-beta.448 → 0.19.0-beta.449

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  export { aiChat } from '../plugins/aiChat';
2
2
  export { streamAI } from './streamAI';
3
3
  export { ragChat } from './rag';
4
- export { buildRAGCitations, buildRAGSourceGroups, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, createRAGCollection, getLatestAssistantMessage, getLatestRAGSources, ingestDocuments, ingestRAGDocuments, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, ragPlugin, resolveRAGStreamStage, searchDocuments } from './rag';
4
+ export { buildRAGCitations, buildRAGSourceGroups, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, createRAGCollection, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, getLatestAssistantMessage, getLatestRAGSources, ingestDocuments, ingestRAGDocuments, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, ragPlugin, resolveRAGStreamStage, searchDocuments } from './rag';
5
5
  export { createInMemoryRAGStore } from './rag/adapters/inMemory';
6
6
  export { createSQLiteRAGStore } from './rag/adapters/sqlite';
7
7
  export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './rag/resolveAbsoluteSQLiteVec';
8
8
  export { createRAGVector, normalizeVector, querySimilarity } from './rag/adapters/utils';
9
9
  export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions } from './rag/adapters/sqlite';
10
- export type { RAGSource, RAGBackendCapabilities, RAGCitation, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGQueryInput, RAGQueryResult, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSourceGroup, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGMutationResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
10
+ export type { RAGSource, RAGBackendCapabilities, RAGCitation, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGQueryInput, RAGQueryResult, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSourceGroup, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGMutationResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
11
11
  export { createConversationManager } from './conversationManager';
12
12
  export { createMemoryStore } from './memoryStore';
13
13
  export { generateId, parseAIMessage, serializeAIMessage } from './protocol';
@@ -0,0 +1,3 @@
1
+ import type { RAGHTMXConfig, RAGHTMXWorkflowRenderConfig } from '../../../types/ai';
2
+ export declare const createRAGHTMXConfig: (config: RAGHTMXConfig) => RAGHTMXConfig;
3
+ export declare const createRAGHTMXWorkflowRenderConfig: (config: RAGHTMXWorkflowRenderConfig) => RAGHTMXWorkflowRenderConfig;
@@ -1,4 +1,5 @@
1
1
  export { ragChat, ragChat as ragPlugin } from './chat';
2
+ export { createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig } from './htmxConfig';
2
3
  export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments } from './ingestion';
3
4
  export { buildRAGCitations, buildRAGSourceGroups, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage } from './presentation';
4
5
  export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments } from './collection';
@@ -7,5 +8,5 @@ export { createSQLiteRAGStore } from './adapters/sqlite';
7
8
  export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './resolveAbsoluteSQLiteVec';
8
9
  export { createRAGVector, normalizeVector, querySimilarity } from './adapters/utils';
9
10
  export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions } from './adapters/sqlite';
10
- export type { RAGSource, RAGBackendCapabilities, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGQueryInput, RAGQueryResult, RAGIngestResponse, RAGMutationResponse, RAGPreparedDocument, RAGSearchRequest, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from './types';
11
+ export type { RAGSource, RAGBackendCapabilities, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGQueryInput, RAGQueryResult, RAGIngestResponse, RAGMutationResponse, RAGPreparedDocument, RAGSearchRequest, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from './types';
11
12
  export type { RAGPostgresNativeDiagnostics } from '../../../types/ai';
@@ -1,5 +1,5 @@
1
1
  import type { RAGDocumentChunk, RAGQueryInput, RAGQueryResult, RAGUpsertInput } from '../../../types/ai';
2
- export type { RAGBackendCapabilities, RAGCitation, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGSearchRequest, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from '../../../types/ai';
2
+ export type { RAGBackendCapabilities, RAGCitation, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGDocumentChunk, RAGDocumentChunkPreview, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGBackendDescriptor, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGSearchRequest, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from '../../../types/ai';
3
3
  export type InternalRAGStoredChunk = RAGDocumentChunk & {
4
4
  vector: number[];
5
5
  sourceId: string;
@@ -1,7 +1,9 @@
1
1
  import type { IslandRegistryInput } from '../../types/island';
2
2
  export declare const transformStaticPageHtml: (originalHtml: string, registry: IslandRegistryInput) => Promise<string>;
3
+ export declare const transformStaticHTMXStreamSlotHtml: (originalHtml: string) => string;
3
4
  export declare const transformStaticStreamingSlotHtml: (originalHtml: string) => string;
4
5
  export declare const transformCurrentStaticPageHtml: (html: string, options?: {
6
+ enableHTMXStreaming?: boolean;
5
7
  enableStaticStreaming?: boolean;
6
8
  }) => Promise<string>;
7
9
  export declare const transformStaticPagesWithIslands: (registryPath: string | undefined, pagePaths: string[]) => Promise<void>;
@@ -611,6 +611,8 @@ export type RAGHTMXWorkflowRenderConfig = {
611
611
  };
612
612
  export type RAGHTMXConfig = {
613
613
  render?: AIHTMXRenderConfig;
614
+ workflowRender?: RAGHTMXWorkflowRenderConfig;
615
+ /** @deprecated Use workflowRender instead. */
614
616
  workflow?: {
615
617
  render?: RAGHTMXWorkflowRenderConfig;
616
618
  };
package/package.json CHANGED
@@ -314,5 +314,5 @@
314
314
  "typecheck": "bun run src/cli/index.ts typecheck --config example/absolute.config.ts"
315
315
  },
316
316
  "types": "./dist/src/index.d.ts",
317
- "version": "0.19.0-beta.448"
317
+ "version": "0.19.0-beta.449"
318
318
  }