lumnisai 0.1.15 → 0.1.16

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
@@ -516,10 +516,12 @@ interface ModelOverrides {
516
516
  }
517
517
  /**
518
518
  * Available specialized agents
519
+ * Using a union type that can be extended with any string to support future agents
519
520
  */
520
- type SpecializedAgentType = 'quick_people_search';
521
+ type SpecializedAgentType = 'quick_people_search' | 'deep_people_search' | (string & {});
521
522
  /**
522
523
  * Parameters for specialized agent execution
524
+ * This is a flexible interface that supports any agent-specific parameters
523
525
  */
524
526
  interface SpecializedAgentParams {
525
527
  /**
@@ -527,11 +529,21 @@ interface SpecializedAgentParams {
527
529
  * Agent-specific: For quick_people_search, limits the number of candidates returned
528
530
  */
529
531
  limit?: number;
532
+ /**
533
+ * Number of candidates requested (for deep_people_search)
534
+ * Range: 1-1000
535
+ */
536
+ requestedCandidates?: number;
530
537
  /**
531
538
  * Specific data sources to use (agent-specific)
532
- * For quick_people_search: ["PDL", "CORESIGNAL", "CRUST_DATA"]
539
+ * For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
533
540
  */
534
541
  dataSources?: string[];
542
+ /**
543
+ * Additional parameters for any specialized agent
544
+ * This allows flexibility for future agents without SDK updates
545
+ */
546
+ [key: string]: any;
535
547
  }
536
548
  interface CreateResponseRequest {
537
549
  threadId?: UUID;
@@ -545,7 +557,8 @@ interface CreateResponseRequest {
545
557
  modelOverrides?: ModelOverrides;
546
558
  /**
547
559
  * Route to a specialized agent instead of the main Lumnis agent
548
- * Available agents: 'quick_people_search'
560
+ * Known agents: 'quick_people_search', 'deep_people_search'
561
+ * Accepts any string to support future agents without SDK updates
549
562
  */
550
563
  specializedAgent?: SpecializedAgentType;
551
564
  /**
package/dist/index.d.mts CHANGED
@@ -516,10 +516,12 @@ interface ModelOverrides {
516
516
  }
517
517
  /**
518
518
  * Available specialized agents
519
+ * Using a union type that can be extended with any string to support future agents
519
520
  */
520
- type SpecializedAgentType = 'quick_people_search';
521
+ type SpecializedAgentType = 'quick_people_search' | 'deep_people_search' | (string & {});
521
522
  /**
522
523
  * Parameters for specialized agent execution
524
+ * This is a flexible interface that supports any agent-specific parameters
523
525
  */
524
526
  interface SpecializedAgentParams {
525
527
  /**
@@ -527,11 +529,21 @@ interface SpecializedAgentParams {
527
529
  * Agent-specific: For quick_people_search, limits the number of candidates returned
528
530
  */
529
531
  limit?: number;
532
+ /**
533
+ * Number of candidates requested (for deep_people_search)
534
+ * Range: 1-1000
535
+ */
536
+ requestedCandidates?: number;
530
537
  /**
531
538
  * Specific data sources to use (agent-specific)
532
- * For quick_people_search: ["PDL", "CORESIGNAL", "CRUST_DATA"]
539
+ * For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
533
540
  */
534
541
  dataSources?: string[];
542
+ /**
543
+ * Additional parameters for any specialized agent
544
+ * This allows flexibility for future agents without SDK updates
545
+ */
546
+ [key: string]: any;
535
547
  }
536
548
  interface CreateResponseRequest {
537
549
  threadId?: UUID;
@@ -545,7 +557,8 @@ interface CreateResponseRequest {
545
557
  modelOverrides?: ModelOverrides;
546
558
  /**
547
559
  * Route to a specialized agent instead of the main Lumnis agent
548
- * Available agents: 'quick_people_search'
560
+ * Known agents: 'quick_people_search', 'deep_people_search'
561
+ * Accepts any string to support future agents without SDK updates
549
562
  */
550
563
  specializedAgent?: SpecializedAgentType;
551
564
  /**
package/dist/index.d.ts CHANGED
@@ -516,10 +516,12 @@ interface ModelOverrides {
516
516
  }
517
517
  /**
518
518
  * Available specialized agents
519
+ * Using a union type that can be extended with any string to support future agents
519
520
  */
520
- type SpecializedAgentType = 'quick_people_search';
521
+ type SpecializedAgentType = 'quick_people_search' | 'deep_people_search' | (string & {});
521
522
  /**
522
523
  * Parameters for specialized agent execution
524
+ * This is a flexible interface that supports any agent-specific parameters
523
525
  */
524
526
  interface SpecializedAgentParams {
525
527
  /**
@@ -527,11 +529,21 @@ interface SpecializedAgentParams {
527
529
  * Agent-specific: For quick_people_search, limits the number of candidates returned
528
530
  */
529
531
  limit?: number;
532
+ /**
533
+ * Number of candidates requested (for deep_people_search)
534
+ * Range: 1-1000
535
+ */
536
+ requestedCandidates?: number;
530
537
  /**
531
538
  * Specific data sources to use (agent-specific)
532
- * For quick_people_search: ["PDL", "CORESIGNAL", "CRUST_DATA"]
539
+ * For people search agents: ["PDL", "CORESIGNAL", "CRUST_DATA"]
533
540
  */
534
541
  dataSources?: string[];
542
+ /**
543
+ * Additional parameters for any specialized agent
544
+ * This allows flexibility for future agents without SDK updates
545
+ */
546
+ [key: string]: any;
535
547
  }
536
548
  interface CreateResponseRequest {
537
549
  threadId?: UUID;
@@ -545,7 +557,8 @@ interface CreateResponseRequest {
545
557
  modelOverrides?: ModelOverrides;
546
558
  /**
547
559
  * Route to a specialized agent instead of the main Lumnis agent
548
- * Available agents: 'quick_people_search'
560
+ * Known agents: 'quick_people_search', 'deep_people_search'
561
+ * Accepts any string to support future agents without SDK updates
549
562
  */
550
563
  specializedAgent?: SpecializedAgentType;
551
564
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumnisai",
3
3
  "type": "module",
4
- "version": "0.1.15",
4
+ "version": "0.1.16",
5
5
  "description": "Official Node.js SDK for the Lumnis AI API",
6
6
  "author": "Lumnis AI",
7
7
  "license": "MIT",