@jambonz/llm 0.6.8 → 0.6.9

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.
@@ -1,4 +1,4 @@
1
- import { b as AdapterFactory, e as AuthKind, A as AuthSpec, L as LlmAdapter, d as ApiKeyAuth, h as ClientOptions, P as PromptRequest, m as LlmEvent, M as Message, p as ToolCallEvent, o as ModelInfo, c as AdapterManifest } from '../types-4l2etrW-.cjs';
1
+ import { b as AdapterFactory, e as AuthKind, A as AuthSpec, L as LlmAdapter, d as ApiKeyAuth, h as ClientOptions, P as PromptRequest, m as LlmEvent, M as Message, p as ToolCallEvent, o as ModelInfo, c as AdapterManifest } from '../types-C_yrWq_0.cjs';
2
2
 
3
3
  /**
4
4
  * Named scenarios the harness must be able to stage. Each scenario configures
@@ -1,4 +1,4 @@
1
- import { b as AdapterFactory, e as AuthKind, A as AuthSpec, L as LlmAdapter, d as ApiKeyAuth, h as ClientOptions, P as PromptRequest, m as LlmEvent, M as Message, p as ToolCallEvent, o as ModelInfo, c as AdapterManifest } from '../types-4l2etrW-.js';
1
+ import { b as AdapterFactory, e as AuthKind, A as AuthSpec, L as LlmAdapter, d as ApiKeyAuth, h as ClientOptions, P as PromptRequest, m as LlmEvent, M as Message, p as ToolCallEvent, o as ModelInfo, c as AdapterManifest } from '../types-C_yrWq_0.js';
2
2
 
3
3
  /**
4
4
  * Named scenarios the harness must be able to stage. Each scenario configures
@@ -3764,7 +3764,60 @@ var harnessManifest = {
3764
3764
  ],
3765
3765
  knownModels: [],
3766
3766
  supportsModelListing: false,
3767
- credentialOnly: true
3767
+ credentialOnly: true,
3768
+ category: "llm"
3769
+ };
3770
+
3771
+ // src/vendors/dialogflow-ces.ts
3772
+ var dialogflowCesManifest = {
3773
+ vendor: "dialogflow_ces",
3774
+ displayName: "Dialogflow CES",
3775
+ authKinds: [
3776
+ {
3777
+ kind: "googleServiceAccount",
3778
+ displayName: "Service Account JSON",
3779
+ fields: [
3780
+ {
3781
+ name: "credentials",
3782
+ label: "Service Account Key (JSON)",
3783
+ type: "json-file",
3784
+ required: true,
3785
+ help: "The key of a service account allowed to run your CES agents (Customer Engagement Suite)."
3786
+ }
3787
+ ]
3788
+ }
3789
+ ],
3790
+ knownModels: [],
3791
+ supportsModelListing: false,
3792
+ docsUrl: "https://cloud.google.com/customer-engagement-ai/conversational-agents/ps",
3793
+ credentialOnly: true,
3794
+ category: "hosted"
3795
+ };
3796
+
3797
+ // src/vendors/openai-s2s.ts
3798
+ var openaiS2sManifest = {
3799
+ vendor: "openai_s2s",
3800
+ displayName: "OpenAI Realtime",
3801
+ authKinds: [
3802
+ {
3803
+ kind: "apiKey",
3804
+ displayName: "API Key",
3805
+ fields: [
3806
+ {
3807
+ name: "apiKey",
3808
+ label: "API Key",
3809
+ type: "password",
3810
+ required: true,
3811
+ help: "An OpenAI API key with access to the Realtime API."
3812
+ }
3813
+ ]
3814
+ }
3815
+ ],
3816
+ knownModels: [],
3817
+ supportsModelListing: false,
3818
+ docsUrl: "https://platform.openai.com/docs/guides/realtime",
3819
+ credentialOnly: true,
3820
+ category: "s2s"
3768
3821
  };
3769
3822
 
3770
3823
  // src/adapters/index.ts
@@ -3785,6 +3838,8 @@ registerAdapter(groqFactory);
3785
3838
  registerAdapter(huggingfaceFactory);
3786
3839
  registerAdapter(openRouterFactory);
3787
3840
  registerCredentialVendor(harnessManifest);
3841
+ registerCredentialVendor(openaiS2sManifest);
3842
+ registerCredentialVendor(dialogflowCesManifest);
3788
3843
 
3789
3844
  // src/index.ts
3790
3845
  async function createLlm(args) {