@exulu/backend 1.28.2 → 1.30.0
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.
- package/CHANGELOG.md +3 -3
- package/dist/index.cjs +676 -19
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +676 -19
- package/package.json +1 -1
- package/types/models/tool.ts +1 -0
package/dist/index.d.cts
CHANGED
|
@@ -469,6 +469,7 @@ declare class ExuluTool {
|
|
|
469
469
|
id: string;
|
|
470
470
|
name: string;
|
|
471
471
|
description: string;
|
|
472
|
+
category: string;
|
|
472
473
|
inputSchema?: z.ZodType;
|
|
473
474
|
type: "context" | "function" | "agent";
|
|
474
475
|
tool: Tool;
|
|
@@ -476,10 +477,11 @@ declare class ExuluTool {
|
|
|
476
477
|
name: string;
|
|
477
478
|
description: string;
|
|
478
479
|
}[];
|
|
479
|
-
constructor({ id, name, description, inputSchema, type, execute, config }: {
|
|
480
|
+
constructor({ id, name, description, category, inputSchema, type, execute, config }: {
|
|
480
481
|
id: string;
|
|
481
482
|
name: string;
|
|
482
483
|
description: string;
|
|
484
|
+
category?: string;
|
|
483
485
|
inputSchema?: z.ZodType;
|
|
484
486
|
type: "context" | "function" | "agent";
|
|
485
487
|
config: {
|
|
@@ -563,6 +565,7 @@ declare class ExuluContext {
|
|
|
563
565
|
fields: ExuluContextFieldDefinition[];
|
|
564
566
|
description: string;
|
|
565
567
|
embedder?: ExuluEmbedder;
|
|
568
|
+
category?: string;
|
|
566
569
|
active: boolean;
|
|
567
570
|
rateLimit?: RateLimiterRule;
|
|
568
571
|
queryRewriter?: (query: string) => Promise<string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -469,6 +469,7 @@ declare class ExuluTool {
|
|
|
469
469
|
id: string;
|
|
470
470
|
name: string;
|
|
471
471
|
description: string;
|
|
472
|
+
category: string;
|
|
472
473
|
inputSchema?: z.ZodType;
|
|
473
474
|
type: "context" | "function" | "agent";
|
|
474
475
|
tool: Tool;
|
|
@@ -476,10 +477,11 @@ declare class ExuluTool {
|
|
|
476
477
|
name: string;
|
|
477
478
|
description: string;
|
|
478
479
|
}[];
|
|
479
|
-
constructor({ id, name, description, inputSchema, type, execute, config }: {
|
|
480
|
+
constructor({ id, name, description, category, inputSchema, type, execute, config }: {
|
|
480
481
|
id: string;
|
|
481
482
|
name: string;
|
|
482
483
|
description: string;
|
|
484
|
+
category?: string;
|
|
483
485
|
inputSchema?: z.ZodType;
|
|
484
486
|
type: "context" | "function" | "agent";
|
|
485
487
|
config: {
|
|
@@ -563,6 +565,7 @@ declare class ExuluContext {
|
|
|
563
565
|
fields: ExuluContextFieldDefinition[];
|
|
564
566
|
description: string;
|
|
565
567
|
embedder?: ExuluEmbedder;
|
|
568
|
+
category?: string;
|
|
566
569
|
active: boolean;
|
|
567
570
|
rateLimit?: RateLimiterRule;
|
|
568
571
|
queryRewriter?: (query: string) => Promise<string>;
|