@absolutejs/absolute 0.19.0-beta.458 → 0.19.0-beta.459

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.
@@ -350,6 +350,36 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
350
350
  };
351
351
  };
352
352
  };
353
+ } & {
354
+ [x: string]: {
355
+ cancel: {
356
+ ":conversationId": {
357
+ ":messageId": {
358
+ post: {
359
+ body: unknown;
360
+ params: {
361
+ conversationId: string;
362
+ messageId: string;
363
+ } & {};
364
+ query: unknown;
365
+ headers: unknown;
366
+ response: {
367
+ 200: Response;
368
+ 422: {
369
+ type: "validation";
370
+ on: string;
371
+ summary?: string;
372
+ message?: string;
373
+ found?: unknown;
374
+ property?: string;
375
+ expected?: string;
376
+ };
377
+ };
378
+ };
379
+ };
380
+ };
381
+ };
382
+ };
353
383
  } & {
354
384
  [x: string]: {
355
385
  sse: {
@@ -1,13 +1,61 @@
1
1
  import type { AnyElysia, Elysia } from 'elysia';
2
2
  export declare const prepare: (configOrPath?: string) => Promise<{
3
3
  manifest: Record<string, string>;
4
- absolutejs: <App extends AnyElysia>(app: App) => Elysia<any, any, any, any, any, any, {
5
- derive: any;
6
- resolve: any;
7
- schema: any;
8
- standaloneSchema: any;
9
- response: {
10
- 200: Response;
4
+ absolutejs: <App extends AnyElysia>(app: App) => Elysia<"", {
5
+ decorator: {};
6
+ store: {};
7
+ derive: {};
8
+ resolve: {};
9
+ }, {
10
+ typebox: {};
11
+ error: {};
12
+ }, {
13
+ schema: {};
14
+ standaloneSchema: {};
15
+ macro: {};
16
+ macroFn: {};
17
+ parser: {};
18
+ response: {};
19
+ }, {
20
+ "hmr-status": {
21
+ get: {
22
+ body: unknown;
23
+ params: {};
24
+ query: unknown;
25
+ headers: unknown;
26
+ response: {
27
+ 200: {
28
+ connectedClients: number;
29
+ isRebuilding: boolean;
30
+ manifestKeys: string[];
31
+ rebuildCount: number;
32
+ rebuildQueue: string[];
33
+ timestamp: number;
34
+ };
35
+ };
36
+ };
11
37
  };
38
+ }, {
39
+ derive: {};
40
+ resolve: {};
41
+ schema: {};
42
+ standaloneSchema: {};
43
+ response: {};
44
+ }, {
45
+ derive: {};
46
+ resolve: {};
47
+ schema: {};
48
+ standaloneSchema: {};
49
+ response: {};
12
50
  }>;
51
+ } | {
52
+ absolutejs: <App extends AnyElysia>(app: App) => Elysia<any, {
53
+ decorator: any;
54
+ store: {
55
+ [x: string]: any;
56
+ };
57
+ derive: any;
58
+ resolve: any;
59
+ }, any, any, any, any, any>;
60
+ manifest: Record<string, string>;
13
61
  }>;
@@ -621,9 +621,19 @@ export type AIHTMXRenderConfig = {
621
621
  toolRunning?: (name: string, input: unknown) => string;
622
622
  toolComplete?: (name: string, result: string) => string;
623
623
  image?: (data: string, format: string, revisedPrompt?: string) => string;
624
- ragRetrieving?: () => string;
624
+ ragRetrieving?: (input?: {
625
+ conversationId: string;
626
+ messageId: string;
627
+ retrievalStartedAt?: number;
628
+ }) => string;
625
629
  complete?: (usage?: AIUsage, durationMs?: number, model?: string) => string;
626
- ragRetrieved?: (sources: RAGSource[]) => string;
630
+ ragRetrieved?: (sources: RAGSource[], input?: {
631
+ conversationId: string;
632
+ messageId: string;
633
+ retrievalStartedAt?: number;
634
+ retrievedAt?: number;
635
+ retrievalDurationMs?: number;
636
+ }) => string;
627
637
  error?: (message: string) => string;
628
638
  };
629
639
  export type RAGHTMXWorkflowRenderConfig = {
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.458"
317
+ "version": "0.19.0-beta.459"
318
318
  }