@exulu/backend 1.32.1 → 1.34.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/dist/index.d.cts CHANGED
@@ -294,6 +294,7 @@ interface ExuluAgentToolConfig {
294
294
  name: string;
295
295
  variable: string;
296
296
  value?: any;
297
+ default?: string;
297
298
  }[];
298
299
  }
299
300
  type ExuluQueueConfig = {
@@ -476,6 +477,7 @@ declare class ExuluTool {
476
477
  config: {
477
478
  name: string;
478
479
  description: string;
480
+ default?: string;
479
481
  }[];
480
482
  constructor({ id, name, description, category, inputSchema, type, execute, config }: {
481
483
  id: string;
@@ -487,6 +489,7 @@ declare class ExuluTool {
487
489
  config: {
488
490
  name: string;
489
491
  description: string;
492
+ default?: string;
490
493
  }[];
491
494
  execute: (inputs: any) => Promise<{
492
495
  result?: string;
@@ -548,9 +551,9 @@ type ExuluContextSource = {
548
551
  id: string;
549
552
  name: string;
550
553
  description: string;
551
- config: {
552
- schedule: string;
553
- queue: Promise<ExuluQueueConfig>;
554
+ config?: {
555
+ schedule?: string;
556
+ queue?: Promise<ExuluQueueConfig>;
554
557
  retries?: number;
555
558
  backoff?: {
556
559
  type: 'exponential' | 'linear';
package/dist/index.d.ts CHANGED
@@ -294,6 +294,7 @@ interface ExuluAgentToolConfig {
294
294
  name: string;
295
295
  variable: string;
296
296
  value?: any;
297
+ default?: string;
297
298
  }[];
298
299
  }
299
300
  type ExuluQueueConfig = {
@@ -476,6 +477,7 @@ declare class ExuluTool {
476
477
  config: {
477
478
  name: string;
478
479
  description: string;
480
+ default?: string;
479
481
  }[];
480
482
  constructor({ id, name, description, category, inputSchema, type, execute, config }: {
481
483
  id: string;
@@ -487,6 +489,7 @@ declare class ExuluTool {
487
489
  config: {
488
490
  name: string;
489
491
  description: string;
492
+ default?: string;
490
493
  }[];
491
494
  execute: (inputs: any) => Promise<{
492
495
  result?: string;
@@ -548,9 +551,9 @@ type ExuluContextSource = {
548
551
  id: string;
549
552
  name: string;
550
553
  description: string;
551
- config: {
552
- schedule: string;
553
- queue: Promise<ExuluQueueConfig>;
554
+ config?: {
555
+ schedule?: string;
556
+ queue?: Promise<ExuluQueueConfig>;
554
557
  retries?: number;
555
558
  backoff?: {
556
559
  type: 'exponential' | 'linear';