@absolutejs/rag 0.0.25 → 0.0.27

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.
Files changed (97) hide show
  1. package/dist/adapter-kit/index.js +6 -5
  2. package/dist/adapter-kit/index.js.map +14 -14
  3. package/dist/angular/index.js.map +6 -6
  4. package/dist/client/index.js.map +6 -6
  5. package/dist/client/ui.js.map +4 -4
  6. package/dist/index.js +6 -5
  7. package/dist/index.js.map +29 -29
  8. package/dist/presentation/ui.js.map +6 -6
  9. package/dist/quality/quality.js.map +4 -4
  10. package/dist/react/index.js.map +14 -14
  11. package/dist/src/adapter-kit/index.d.ts +1 -1
  12. package/dist/src/adapters/inMemory.d.ts +1 -1
  13. package/dist/src/adapters/sync.d.ts +1 -1
  14. package/dist/src/angular/ai-rag-stream.service.d.ts +9 -9
  15. package/dist/src/angular/ai-rag-workflow.service.d.ts +10 -10
  16. package/dist/src/angular/rag-client.service.d.ts +68 -68
  17. package/dist/src/chat/chat.d.ts +2 -1800
  18. package/dist/src/client/createRAGAnswerWorkflow.d.ts +10 -9
  19. package/dist/src/client/ragClient.d.ts +41 -40
  20. package/dist/src/client/ui.d.ts +1 -1
  21. package/dist/src/index.d.ts +2 -1
  22. package/dist/src/ingestion/ingestion.d.ts +1 -1
  23. package/dist/src/internal/accessControl.d.ts +1 -1
  24. package/dist/src/internal/jobState.d.ts +1 -1
  25. package/dist/src/presentation/htmxCitationFragments.d.ts +1 -1
  26. package/dist/src/presentation/htmxConfig.d.ts +1 -1
  27. package/dist/src/presentation/htmxRenderers.d.ts +2 -1
  28. package/dist/src/presentation/htmxWorkflowRenderers.d.ts +1 -1
  29. package/dist/src/presentation/presentation.d.ts +5 -4
  30. package/dist/src/providers/contactProviders.d.ts +1 -1
  31. package/dist/src/providers/emailProviders.d.ts +1 -1
  32. package/dist/src/providers/embeddingProviders.d.ts +1 -1
  33. package/dist/src/providers/extractorProviders.d.ts +1 -1
  34. package/dist/src/providers/rerankerProviders.d.ts +1 -1
  35. package/dist/src/providers/socialProviders.d.ts +1 -1
  36. package/dist/src/quality/quality.d.ts +2 -1
  37. package/dist/src/react/useRAG.d.ts +117 -117
  38. package/dist/src/react/useRAGChunkPreview.d.ts +5 -5
  39. package/dist/src/react/useRAGCitations.d.ts +4 -4
  40. package/dist/src/react/useRAGDocuments.d.ts +1 -1
  41. package/dist/src/react/useRAGEvaluate.d.ts +4 -4
  42. package/dist/src/react/useRAGGrounding.d.ts +3 -3
  43. package/dist/src/react/useRAGIndexAdmin.d.ts +5 -5
  44. package/dist/src/react/useRAGIngest.d.ts +1 -1
  45. package/dist/src/react/useRAGOps.d.ts +1 -1
  46. package/dist/src/react/useRAGSearch.d.ts +2 -1
  47. package/dist/src/react/useRAGSources.d.ts +6 -6
  48. package/dist/src/react/useRAGStatus.d.ts +2 -2
  49. package/dist/src/react/useRAGStream.d.ts +11 -11
  50. package/dist/src/react/useRAGWorkflow.d.ts +12 -12
  51. package/dist/src/retrieval/collection.d.ts +1 -1
  52. package/dist/src/retrieval/context.d.ts +1 -1
  53. package/dist/src/retrieval/embedding.d.ts +1 -1
  54. package/dist/src/retrieval/grounding.d.ts +2 -1
  55. package/dist/src/retrieval/lexical.d.ts +2 -1
  56. package/dist/src/retrieval/queryTransforms.d.ts +1 -1
  57. package/dist/src/retrieval/reranking.d.ts +1 -1
  58. package/dist/src/retrieval/retrievalStrategies.d.ts +1 -1
  59. package/dist/src/svelte/createRAG.d.ts +109 -109
  60. package/dist/src/svelte/createRAGChunkPreview.d.ts +5 -5
  61. package/dist/src/svelte/createRAGCitations.d.ts +4 -4
  62. package/dist/src/svelte/createRAGDocuments.d.ts +1 -1
  63. package/dist/src/svelte/createRAGEvaluate.d.ts +4 -4
  64. package/dist/src/svelte/createRAGGrounding.d.ts +3 -3
  65. package/dist/src/svelte/createRAGIndexAdmin.d.ts +5 -5
  66. package/dist/src/svelte/createRAGIngest.d.ts +1 -1
  67. package/dist/src/svelte/createRAGOps.d.ts +1 -1
  68. package/dist/src/svelte/createRAGSearch.d.ts +2 -1
  69. package/dist/src/svelte/createRAGSources.d.ts +6 -6
  70. package/dist/src/svelte/createRAGStatus.d.ts +2 -2
  71. package/dist/src/svelte/createRAGStream.d.ts +8 -8
  72. package/dist/src/svelte/createRAGWorkflow.d.ts +9 -9
  73. package/dist/src/sync/sync.d.ts +2 -2
  74. package/dist/src/vue/useRAG.d.ts +257 -257
  75. package/dist/src/vue/useRAGChunkPreview.d.ts +25 -25
  76. package/dist/src/vue/useRAGCitations.d.ts +4 -4
  77. package/dist/src/vue/useRAGDocuments.d.ts +9 -9
  78. package/dist/src/vue/useRAGEvaluate.d.ts +50 -50
  79. package/dist/src/vue/useRAGGrounding.d.ts +3 -3
  80. package/dist/src/vue/useRAGIndexAdmin.d.ts +35 -35
  81. package/dist/src/vue/useRAGIngest.d.ts +1 -1
  82. package/dist/src/vue/useRAGOps.d.ts +9 -9
  83. package/dist/src/vue/useRAGSearch.d.ts +30 -29
  84. package/dist/src/vue/useRAGSources.d.ts +6 -6
  85. package/dist/src/vue/useRAGStatus.d.ts +2 -2
  86. package/dist/src/vue/useRAGStream.d.ts +10 -10
  87. package/dist/src/vue/useRAGWorkflow.d.ts +11 -11
  88. package/dist/svelte/index.js.map +13 -13
  89. package/dist/types/adapters.d.ts +1 -1
  90. package/dist/types/client.d.ts +2 -1
  91. package/dist/types/core.d.ts +1 -1
  92. package/dist/types/engine.d.ts +4325 -0
  93. package/dist/types/index.d.ts +1 -0
  94. package/dist/types/presentation.d.ts +2 -1
  95. package/dist/types/retrieval.d.ts +1 -1
  96. package/dist/vue/index.js.map +13 -13
  97. package/package.json +6 -2
@@ -5,4 +5,4 @@ export { rankRAGLexicalMatches } from "../retrieval/lexical";
5
5
  export { createRAGCollection } from "../retrieval/collection";
6
6
  export { ragChat, ragChat as ragPlugin } from "../chat/chat";
7
7
  export { RAG_NATIVE_QUERY_CANDIDATE_LIMIT, RAG_VECTOR_DIMENSIONS_DEFAULT, } from "../constants";
8
- export type { RAGBackendCapabilities, RAGCollection, RAGEmbeddingInput, RAGLexicalQueryInput, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGSQLiteNativeDiagnostics, RAGUpsertInput, RAGVectorCountInput, RAGVectorDeleteInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, } from "@absolutejs/ai";
8
+ export type { RAGBackendCapabilities, RAGCollection, RAGEmbeddingInput, RAGLexicalQueryInput, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGSQLiteNativeDiagnostics, RAGUpsertInput, RAGVectorCountInput, RAGVectorDeleteInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, } from "../../types/engine";
@@ -1,5 +1,5 @@
1
1
  import { createRAGVector, normalizeVector, querySimilarity } from "./utils";
2
- import type { RAGVectorStore } from "@absolutejs/ai";
2
+ import type { RAGVectorStore } from "../../types/engine";
3
3
  import type { InMemoryRAGStoreOptions } from "../../types/adapters";
4
4
  export declare const createInMemoryRAGStore: (options?: InMemoryRAGStoreOptions) => RAGVectorStore;
5
5
  export { createRAGVector, normalizeVector, querySimilarity };
@@ -1,5 +1,5 @@
1
1
  import type { SyncEngine } from "@absolutejs/sync/engine";
2
- import type { RAGVectorStore } from "@absolutejs/ai";
2
+ import type { RAGVectorStore } from "../../types/engine";
3
3
  import type { SyncRAGStoreOptions } from "../../types/adapters";
4
4
  /**
5
5
  * A {@link RAGVectorStore} backed by the @absolutejs/sync engine: a drop-in for
@@ -1,10 +1,10 @@
1
1
  import { AIStreamService } from "@absolutejs/ai/angular";
2
2
  export declare class RAGStreamService extends AIStreamService {
3
3
  connect(path: string, conversationId?: string): {
4
- citations: import("@angular/core").Signal<import("@absolutejs/ai").RAGCitation[]>;
5
- citationReferenceMap: import("@angular/core").Signal<import("@absolutejs/ai").RAGCitationReferenceMap>;
6
- groundedAnswer: import("@angular/core").Signal<import("@absolutejs/ai").RAGGroundedAnswer>;
7
- groundingReferences: import("@angular/core").Signal<import("@absolutejs/ai").RAGGroundingReference[]>;
4
+ citations: import("@angular/core").Signal<import("..").RAGCitation[]>;
5
+ citationReferenceMap: import("@angular/core").Signal<import("..").RAGCitationReferenceMap>;
6
+ groundedAnswer: import("@angular/core").Signal<import("..").RAGGroundedAnswer>;
7
+ groundingReferences: import("@angular/core").Signal<import("..").RAGGroundingReference[]>;
8
8
  hasRetrieved: import("@angular/core").Signal<boolean>;
9
9
  hasSources: import("@angular/core").Signal<boolean>;
10
10
  isAnswerStreaming: import("@angular/core").Signal<boolean>;
@@ -16,12 +16,12 @@ export declare class RAGStreamService extends AIStreamService {
16
16
  latestAssistantMessage: import("@angular/core").Signal<import("@absolutejs/ai").AIMessage | undefined>;
17
17
  progress: import("@angular/core").Signal<import("../presentation/presentation").RAGStreamProgress>;
18
18
  query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
19
- retrieval: import("@angular/core").Signal<import("@absolutejs/ai").RAGRetrievedState | null>;
20
- sourceGroups: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceGroup[]>;
21
- sourceSummaries: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceSummary[]>;
19
+ retrieval: import("@angular/core").Signal<import("..").RAGRetrievedState | null>;
20
+ sourceGroups: import("@angular/core").Signal<import("..").RAGSourceGroup[]>;
21
+ sourceSummaries: import("@angular/core").Signal<import("..").RAGSourceSummary[]>;
22
22
  sources: import("@angular/core").Signal<import("@absolutejs/ai").RAGSource[]>;
23
- stage: import("@angular/core").Signal<import("@absolutejs/ai").RAGStreamStage>;
24
- workflow: import("@angular/core").Signal<import("@absolutejs/ai").RAGAnswerWorkflowState>;
23
+ stage: import("@angular/core").Signal<import("..").RAGStreamStage>;
24
+ workflow: import("@angular/core").Signal<import("..").RAGAnswerWorkflowState>;
25
25
  branch: (messageId: string, content: string) => void;
26
26
  cancel: () => void;
27
27
  error: import("@angular/core").Signal<string | null>;
@@ -1,11 +1,11 @@
1
1
  import { RAGStreamService } from "./ai-rag-stream.service";
2
2
  export declare class RAGWorkflowService extends RAGStreamService {
3
3
  connect(path: string, conversationId?: string): {
4
- state: import("@angular/core").Signal<import("@absolutejs/ai").RAGAnswerWorkflowState>;
5
- citations: import("@angular/core").Signal<import("@absolutejs/ai").RAGCitation[]>;
6
- citationReferenceMap: import("@angular/core").Signal<import("@absolutejs/ai").RAGCitationReferenceMap>;
7
- groundedAnswer: import("@angular/core").Signal<import("@absolutejs/ai").RAGGroundedAnswer>;
8
- groundingReferences: import("@angular/core").Signal<import("@absolutejs/ai").RAGGroundingReference[]>;
4
+ state: import("@angular/core").Signal<import("..").RAGAnswerWorkflowState>;
5
+ citations: import("@angular/core").Signal<import("..").RAGCitation[]>;
6
+ citationReferenceMap: import("@angular/core").Signal<import("..").RAGCitationReferenceMap>;
7
+ groundedAnswer: import("@angular/core").Signal<import("..").RAGGroundedAnswer>;
8
+ groundingReferences: import("@angular/core").Signal<import("..").RAGGroundingReference[]>;
9
9
  hasRetrieved: import("@angular/core").Signal<boolean>;
10
10
  hasSources: import("@angular/core").Signal<boolean>;
11
11
  isAnswerStreaming: import("@angular/core").Signal<boolean>;
@@ -17,12 +17,12 @@ export declare class RAGWorkflowService extends RAGStreamService {
17
17
  latestAssistantMessage: import("@angular/core").Signal<import("@absolutejs/ai").AIMessage | undefined>;
18
18
  progress: import("@angular/core").Signal<import("../presentation/presentation").RAGStreamProgress>;
19
19
  query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
20
- retrieval: import("@angular/core").Signal<import("@absolutejs/ai").RAGRetrievedState | null>;
21
- sourceGroups: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceGroup[]>;
22
- sourceSummaries: import("@angular/core").Signal<import("@absolutejs/ai").RAGSourceSummary[]>;
20
+ retrieval: import("@angular/core").Signal<import("..").RAGRetrievedState | null>;
21
+ sourceGroups: import("@angular/core").Signal<import("..").RAGSourceGroup[]>;
22
+ sourceSummaries: import("@angular/core").Signal<import("..").RAGSourceSummary[]>;
23
23
  sources: import("@angular/core").Signal<import("@absolutejs/ai").RAGSource[]>;
24
- stage: import("@angular/core").Signal<import("@absolutejs/ai").RAGStreamStage>;
25
- workflow: import("@angular/core").Signal<import("@absolutejs/ai").RAGAnswerWorkflowState>;
24
+ stage: import("@angular/core").Signal<import("..").RAGStreamStage>;
25
+ workflow: import("@angular/core").Signal<import("..").RAGAnswerWorkflowState>;
26
26
  branch: (messageId: string, content: string) => void;
27
27
  cancel: () => void;
28
28
  error: import("@angular/core").Signal<string | null>;
@@ -1,15 +1,15 @@
1
- import type { RAGEvaluationInput, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalComparisonRequest, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGSearchRequest, RAGSyncRunOptions } from "@absolutejs/ai";
1
+ import type { RAGEvaluationInput, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalComparisonRequest, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGSearchRequest, RAGSyncRunOptions } from "../../types/engine";
2
2
  export declare class RAGClientService {
3
3
  private clients;
4
4
  private client;
5
- ingest(path: string, chunks: RAGDocumentChunk[]): Promise<import("@absolutejs/ai").RAGIngestResponse>;
6
- ingestDocuments(path: string, input: RAGDocumentIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
7
- ingestUrls(path: string, input: RAGDocumentUrlIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
8
- ingestUploads(path: string, input: RAGDocumentUploadIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
5
+ ingest(path: string, chunks: RAGDocumentChunk[]): Promise<import("..").RAGIngestResponse>;
6
+ ingestDocuments(path: string, input: RAGDocumentIngestInput): Promise<import("..").RAGIngestResponse>;
7
+ ingestUrls(path: string, input: RAGDocumentUrlIngestInput): Promise<import("..").RAGIngestResponse>;
8
+ ingestUploads(path: string, input: RAGDocumentUploadIngestInput): Promise<import("..").RAGIngestResponse>;
9
9
  search(path: string, input: RAGSearchRequest): Promise<import("@absolutejs/ai").RAGSource[] | import("../client").RAGDetailedSearchResponse>;
10
10
  searchWithTrace(path: string, input: RAGSearchRequest): Promise<import("../client").RAGDetailedSearchResponse>;
11
- evaluate(path: string, input: RAGEvaluationInput): Promise<import("@absolutejs/ai").RAGEvaluationResponse>;
12
- compareRetrievals(path: string, input: RAGRetrievalComparisonRequest): Promise<import("@absolutejs/ai").RAGRetrievalComparison>;
11
+ evaluate(path: string, input: RAGEvaluationInput): Promise<import("..").RAGEvaluationResponse>;
12
+ compareRetrievals(path: string, input: RAGRetrievalComparisonRequest): Promise<import("..").RAGRetrievalComparison>;
13
13
  retrievalComparisonHistory(path: string, input?: {
14
14
  limit?: number;
15
15
  suiteId?: string;
@@ -17,94 +17,94 @@ export declare class RAGClientService {
17
17
  winnerId?: string;
18
18
  groupKey?: string;
19
19
  tag?: string;
20
- }): Promise<import("@absolutejs/ai").RAGRetrievalComparisonRun[]>;
20
+ }): Promise<import("..").RAGRetrievalComparisonRun[]>;
21
21
  retrievalBaselines(path: string, input?: {
22
22
  groupKey?: string;
23
23
  tag?: string;
24
24
  limit?: number;
25
25
  status?: "active" | "superseded";
26
- }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord[]>;
27
- promoteRetrievalBaseline(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
26
+ }): Promise<import("..").RAGRetrievalBaselineRecord[]>;
27
+ promoteRetrievalBaseline(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<import("..").RAGRetrievalBaselineRecord>;
28
28
  promoteRetrievalBaselineDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<RAGRetrievalBaselineResponse>;
29
29
  promoteRetrievalBaselineToLane(path: string, input: RAGRetrievalBaselinePromotionRequest & {
30
30
  rolloutLabel: "canary" | "stable" | "rollback_target";
31
- }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
31
+ }): Promise<import("..").RAGRetrievalBaselineRecord>;
32
32
  promoteRetrievalBaselineToLaneDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest & {
33
33
  rolloutLabel: "canary" | "stable" | "rollback_target";
34
34
  }): Promise<RAGRetrievalBaselineResponse>;
35
- promoteRetrievalBaselineFromRun(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
35
+ promoteRetrievalBaselineFromRun(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<import("..").RAGRetrievalBaselineRecord>;
36
36
  promoteRetrievalBaselineFromRunDetailed(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<RAGRetrievalBaselineResponse>;
37
- revertRetrievalBaseline(path: string, input: RAGRetrievalBaselineRevertRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
37
+ revertRetrievalBaseline(path: string, input: RAGRetrievalBaselineRevertRequest): Promise<import("..").RAGRetrievalBaselineRecord>;
38
38
  retrievalBaselineDecisions(path: string, input?: {
39
39
  groupKey?: string;
40
40
  limit?: number;
41
41
  kind?: "approve" | "promote" | "reject" | "revert";
42
42
  freshnessStatus?: "fresh" | "expired" | "not_applicable";
43
43
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
44
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
44
+ }): Promise<import("..").RAGRetrievalReleaseDecisionRecord[]>;
45
45
  retrievalReleaseGroupHistory(path: string, input: {
46
46
  groupKey: string;
47
47
  decisionLimit?: number;
48
48
  baselineLimit?: number;
49
49
  runLimit?: number;
50
50
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
51
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseGroupHistoryResponse>;
51
+ }): Promise<import("..").RAGRetrievalReleaseGroupHistoryResponse>;
52
52
  retrievalLaneHandoffs(path: string, input?: {
53
53
  groupKey?: string;
54
54
  sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
55
55
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
56
56
  limit?: number;
57
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneHandoffSummary[]>;
57
+ }): Promise<import("..").RAGRetrievalReleaseLaneHandoffSummary[]>;
58
58
  retrievalLaneHandoffDecisions(path: string, input?: {
59
59
  groupKey?: string;
60
60
  sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
61
61
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
62
62
  kind?: "approve" | "reject" | "complete";
63
63
  limit?: number;
64
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord[]>;
64
+ }): Promise<import("..").RAGRetrievalLaneHandoffDecisionRecord[]>;
65
65
  retrievalLaneHandoffIncidents(path: string, input?: {
66
66
  groupKey?: string;
67
67
  limit?: number;
68
68
  status?: "open" | "resolved";
69
69
  severity?: "warning" | "critical";
70
70
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
71
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
71
+ }): Promise<import("..").RAGRetrievalLaneHandoffIncidentRecord[]>;
72
72
  retrievalLaneHandoffIncidentHistory(path: string, input?: {
73
73
  action?: "opened" | "acknowledged" | "unacknowledged" | "resolved";
74
74
  groupKey?: string;
75
75
  incidentId?: string;
76
76
  limit?: number;
77
77
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
78
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentHistoryRecord[]>;
78
+ }): Promise<import("..").RAGRetrievalLaneHandoffIncidentHistoryRecord[]>;
79
79
  retrievalLaneHandoffAutoCompletePolicyHistory(path: string, input?: {
80
80
  groupKey?: string;
81
81
  limit?: number;
82
82
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
83
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
83
+ }): Promise<import("..").RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
84
84
  retrievalReleaseLanePolicyHistory(path: string, input?: {
85
85
  groupKey?: string;
86
86
  limit?: number;
87
87
  rolloutLabel?: "canary" | "stable" | "rollback_target";
88
88
  scope?: "rollout_label" | "group_rollout_label";
89
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
89
+ }): Promise<import("..").RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
90
90
  retrievalBaselineGatePolicyHistory(path: string, input?: {
91
91
  groupKey?: string;
92
92
  limit?: number;
93
93
  rolloutLabel?: "canary" | "stable" | "rollback_target";
94
94
  scope?: "rollout_label" | "group_rollout_label";
95
- }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
95
+ }): Promise<import("..").RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
96
96
  retrievalReleaseLaneEscalationPolicyHistory(path: string, input?: {
97
97
  groupKey?: string;
98
98
  limit?: number;
99
99
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
100
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
100
+ }): Promise<import("..").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
101
101
  retrievalReleaseIncidentPolicyHistory(path: string, input?: {
102
102
  groupKey?: string;
103
103
  limit?: number;
104
104
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
105
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
106
- decideRetrievalLaneHandoff(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord>;
107
- decideRetrievalLaneHandoffDetailed(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionResponse>;
105
+ }): Promise<import("..").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
106
+ decideRetrievalLaneHandoff(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("..").RAGRetrievalLaneHandoffDecisionRecord>;
107
+ decideRetrievalLaneHandoffDetailed(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("..").RAGRetrievalLaneHandoffDecisionResponse>;
108
108
  retrievalReleaseIncidents(path: string, input?: {
109
109
  groupKey?: string;
110
110
  limit?: number;
@@ -113,7 +113,7 @@ export declare class RAGClientService {
113
113
  kind?: "approval_expired" | "baseline_regression" | "gate_failure" | "handoff_stale";
114
114
  acknowledged?: boolean;
115
115
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
116
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
116
+ }): Promise<import("..").RAGRetrievalReleaseIncidentRecord[]>;
117
117
  retrievalIncidentRemediationDecisions(path: string, input?: {
118
118
  groupKey?: string;
119
119
  incidentId?: string;
@@ -121,7 +121,7 @@ export declare class RAGClientService {
121
121
  remediationKind?: "renew_approval" | "record_approval" | "inspect_gate" | "rerun_comparison" | "restore_source_lane" | "review_readiness" | "monitor_lane";
122
122
  status?: "planned" | "applied" | "dismissed";
123
123
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
124
- }): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
124
+ }): Promise<import("..").RAGRetrievalIncidentRemediationDecisionRecord[]>;
125
125
  retrievalIncidentRemediationExecutions(path: string, input?: {
126
126
  groupKey?: string;
127
127
  incidentId?: string;
@@ -131,52 +131,52 @@ export declare class RAGClientService {
131
131
  blockedByGuardrail?: boolean;
132
132
  idempotentReplay?: boolean;
133
133
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
134
- }): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
135
- recordRetrievalIncidentRemediationDecision(path: string, input: RAGRetrievalIncidentRemediationDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
136
- executeRetrievalIncidentRemediation(path: string, input: RAGRetrievalIncidentRemediationExecutionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionResponse>;
134
+ }): Promise<import("..").RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
135
+ recordRetrievalIncidentRemediationDecision(path: string, input: RAGRetrievalIncidentRemediationDecisionRequest): Promise<import("..").RAGRetrievalIncidentRemediationDecisionRecord[]>;
136
+ executeRetrievalIncidentRemediation(path: string, input: RAGRetrievalIncidentRemediationExecutionRequest): Promise<import("..").RAGRetrievalIncidentRemediationExecutionResponse>;
137
137
  bulkExecuteRetrievalIncidentRemediations(path: string, input: RAGRetrievalIncidentRemediationBulkExecutionRequest): Promise<{
138
138
  index: number;
139
139
  ok: boolean;
140
- execution?: import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionResult;
141
- record?: import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord;
140
+ execution?: import("..").RAGRetrievalIncidentRemediationExecutionResult;
141
+ record?: import("..").RAGRetrievalIncidentRemediationDecisionRecord;
142
142
  error?: string;
143
143
  }[]>;
144
- retrievalReleaseStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalComparisonRuntime | undefined>;
145
- retrievalReleaseIncidentStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentStatusResponse>;
146
- retrievalIncidentRemediationStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationStatusResponse>;
147
- retrievalReleaseDriftStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDriftStatusResponse>;
148
- retrievalLaneHandoffStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffStatusResponse>;
149
- retrievalLaneHandoffIncidentStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentStatusResponse>;
144
+ retrievalReleaseStatus(path: string): Promise<import("..").RAGRetrievalComparisonRuntime | undefined>;
145
+ retrievalReleaseIncidentStatus(path: string): Promise<import("..").RAGRetrievalReleaseIncidentStatusResponse>;
146
+ retrievalIncidentRemediationStatus(path: string): Promise<import("..").RAGRetrievalIncidentRemediationStatusResponse>;
147
+ retrievalReleaseDriftStatus(path: string): Promise<import("..").RAGRetrievalReleaseDriftStatusResponse>;
148
+ retrievalLaneHandoffStatus(path: string): Promise<import("..").RAGRetrievalLaneHandoffStatusResponse>;
149
+ retrievalLaneHandoffIncidentStatus(path: string): Promise<import("..").RAGRetrievalLaneHandoffIncidentStatusResponse>;
150
150
  acknowledgeRetrievalLaneHandoffIncident(path: string, input: {
151
151
  incidentId: string;
152
152
  acknowledgedAt?: number;
153
153
  acknowledgedBy?: string;
154
154
  acknowledgementNotes?: string;
155
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
155
+ }): Promise<import("..").RAGRetrievalLaneHandoffIncidentRecord[]>;
156
156
  unacknowledgeRetrievalLaneHandoffIncident(path: string, input: {
157
157
  incidentId: string;
158
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
158
+ }): Promise<import("..").RAGRetrievalLaneHandoffIncidentRecord[]>;
159
159
  resolveRetrievalLaneHandoffIncident(path: string, input: {
160
160
  incidentId: string;
161
161
  resolvedAt?: number;
162
162
  resolvedBy?: string;
163
163
  resolutionNotes?: string;
164
- }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
164
+ }): Promise<import("..").RAGRetrievalLaneHandoffIncidentRecord[]>;
165
165
  acknowledgeRetrievalReleaseIncident(path: string, input: {
166
166
  incidentId: string;
167
167
  acknowledgedAt?: number;
168
168
  acknowledgedBy?: string;
169
169
  acknowledgementNotes?: string;
170
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
170
+ }): Promise<import("..").RAGRetrievalReleaseIncidentRecord[]>;
171
171
  unacknowledgeRetrievalReleaseIncident(path: string, input: {
172
172
  incidentId: string;
173
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
173
+ }): Promise<import("..").RAGRetrievalReleaseIncidentRecord[]>;
174
174
  resolveRetrievalReleaseIncident(path: string, input: {
175
175
  incidentId: string;
176
176
  resolvedAt?: number;
177
177
  resolvedBy?: string;
178
178
  resolutionNotes?: string;
179
- }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
179
+ }): Promise<import("..").RAGRetrievalReleaseIncidentRecord[]>;
180
180
  retrievalPromotionCandidates(path: string, input?: {
181
181
  groupKey?: string;
182
182
  limit?: number;
@@ -189,54 +189,54 @@ export declare class RAGClientService {
189
189
  freshnessStatus?: "fresh" | "expired" | "not_applicable";
190
190
  sortBy?: "approvalFreshness" | "finishedAt" | "gateSeverity" | "priority";
191
191
  sortDirection?: "asc" | "desc";
192
- }): Promise<import("@absolutejs/ai").RAGRetrievalPromotionCandidate[]>;
193
- approveRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
194
- rejectRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
195
- status(path: string): Promise<import("@absolutejs/ai").RAGStatusResponse>;
196
- ops(path: string): Promise<import("@absolutejs/ai").RAGOperationsResponse>;
192
+ }): Promise<import("..").RAGRetrievalPromotionCandidate[]>;
193
+ approveRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("..").RAGRetrievalReleaseDecisionRecord[]>;
194
+ rejectRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("..").RAGRetrievalReleaseDecisionRecord[]>;
195
+ status(path: string): Promise<import("..").RAGStatusResponse>;
196
+ ops(path: string): Promise<import("..").RAGOperationsResponse>;
197
197
  searchTraceHistory(path: string, input?: {
198
198
  query?: string;
199
199
  groupKey?: string;
200
200
  tag?: string;
201
201
  limit?: number;
202
- }): Promise<import("@absolutejs/ai").RAGSearchTraceHistory>;
202
+ }): Promise<import("..").RAGSearchTraceHistory>;
203
203
  searchTraceGroups(path: string, input?: {
204
204
  tag?: string;
205
205
  limit?: number;
206
- }): Promise<import("@absolutejs/ai").RAGSearchTraceGroupHistory>;
206
+ }): Promise<import("..").RAGSearchTraceGroupHistory>;
207
207
  searchTraceStats(path: string, input?: {
208
208
  tag?: string;
209
- }): Promise<import("@absolutejs/ai").RAGSearchTraceStats>;
209
+ }): Promise<import("..").RAGSearchTraceStats>;
210
210
  previewSearchTracePrune(path: string, input?: {
211
211
  maxAgeMs?: number;
212
212
  maxRecordsPerQuery?: number;
213
213
  maxRecordsPerGroup?: number;
214
214
  now?: number;
215
215
  tag?: string;
216
- }): Promise<import("@absolutejs/ai").RAGSearchTracePrunePreview>;
216
+ }): Promise<import("..").RAGSearchTracePrunePreview>;
217
217
  pruneSearchTraces(path: string, input?: {
218
218
  maxAgeMs?: number;
219
219
  maxRecordsPerQuery?: number;
220
220
  maxRecordsPerGroup?: number;
221
221
  now?: number;
222
222
  tag?: string;
223
- }): Promise<import("@absolutejs/ai").RAGSearchTracePruneResponse>;
223
+ }): Promise<import("..").RAGSearchTracePruneResponse>;
224
224
  searchTracePruneHistory(path: string, input?: {
225
225
  limit?: number;
226
226
  trigger?: "manual" | "write" | "schedule";
227
- }): Promise<import("@absolutejs/ai").RAGSearchTracePruneRun[]>;
228
- syncSources(path: string): Promise<import("@absolutejs/ai").RAGSyncResponse>;
229
- syncAllSources(path: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
230
- syncSource(path: string, id: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
231
- documents(path: string, kind?: string): Promise<import("@absolutejs/ai").RAGDocumentsResponse>;
232
- documentChunks(path: string, id: string): Promise<import("@absolutejs/ai").RAGDocumentChunksResponse>;
233
- createDocument(path: string, input: RAGDocumentIngestInput["documents"][number]): Promise<import("@absolutejs/ai").RAGMutationResponse>;
234
- deleteDocument(path: string, id: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
235
- reseed(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
236
- reset(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
237
- reindexDocument(path: string, id: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
238
- reindexSource(path: string, source: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
239
- backends(path: string): Promise<import("@absolutejs/ai").RAGBackendsResponse>;
227
+ }): Promise<import("..").RAGSearchTracePruneRun[]>;
228
+ syncSources(path: string): Promise<import("..").RAGSyncResponse>;
229
+ syncAllSources(path: string, options?: RAGSyncRunOptions): Promise<import("..").RAGSyncResponse>;
230
+ syncSource(path: string, id: string, options?: RAGSyncRunOptions): Promise<import("..").RAGSyncResponse>;
231
+ documents(path: string, kind?: string): Promise<import("..").RAGDocumentsResponse>;
232
+ documentChunks(path: string, id: string): Promise<import("..").RAGDocumentChunksResponse>;
233
+ createDocument(path: string, input: RAGDocumentIngestInput["documents"][number]): Promise<import("..").RAGMutationResponse>;
234
+ deleteDocument(path: string, id: string): Promise<import("..").RAGMutationResponse>;
235
+ reseed(path: string): Promise<import("..").RAGMutationResponse>;
236
+ reset(path: string): Promise<import("..").RAGMutationResponse>;
237
+ reindexDocument(path: string, id: string): Promise<import("..").RAGMutationResponse>;
238
+ reindexSource(path: string, source: string): Promise<import("..").RAGMutationResponse>;
239
+ backends(path: string): Promise<import("..").RAGBackendsResponse>;
240
240
  clearIndex(path: string): Promise<{
241
241
  ok: boolean;
242
242
  }>;