@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.
package/dist/index.cjs CHANGED
@@ -105,7 +105,7 @@ function getManifest() {
105
105
  const vendors = [
106
106
  ...Array.from(registry.values()).map((f) => f.manifest),
107
107
  ...credentialVendors.values()
108
- ].sort((a, b) => a.vendor.localeCompare(b.vendor));
108
+ ].map((m) => ({ ...m, category: m.category ?? "llm" })).sort((a, b) => a.vendor.localeCompare(b.vendor));
109
109
  return { vendors };
110
110
  }
111
111
 
@@ -3821,7 +3821,60 @@ var harnessManifest = {
3821
3821
  ],
3822
3822
  knownModels: [],
3823
3823
  supportsModelListing: false,
3824
- credentialOnly: true
3824
+ credentialOnly: true,
3825
+ category: "llm"
3826
+ };
3827
+
3828
+ // src/vendors/dialogflow-ces.ts
3829
+ var dialogflowCesManifest = {
3830
+ vendor: "dialogflow_ces",
3831
+ displayName: "Dialogflow CES",
3832
+ authKinds: [
3833
+ {
3834
+ kind: "googleServiceAccount",
3835
+ displayName: "Service Account JSON",
3836
+ fields: [
3837
+ {
3838
+ name: "credentials",
3839
+ label: "Service Account Key (JSON)",
3840
+ type: "json-file",
3841
+ required: true,
3842
+ help: "The key of a service account allowed to run your CES agents (Customer Engagement Suite)."
3843
+ }
3844
+ ]
3845
+ }
3846
+ ],
3847
+ knownModels: [],
3848
+ supportsModelListing: false,
3849
+ docsUrl: "https://cloud.google.com/customer-engagement-ai/conversational-agents/ps",
3850
+ credentialOnly: true,
3851
+ category: "hosted"
3852
+ };
3853
+
3854
+ // src/vendors/openai-s2s.ts
3855
+ var openaiS2sManifest = {
3856
+ vendor: "openai_s2s",
3857
+ displayName: "OpenAI Realtime",
3858
+ authKinds: [
3859
+ {
3860
+ kind: "apiKey",
3861
+ displayName: "API Key",
3862
+ fields: [
3863
+ {
3864
+ name: "apiKey",
3865
+ label: "API Key",
3866
+ type: "password",
3867
+ required: true,
3868
+ help: "An OpenAI API key with access to the Realtime API."
3869
+ }
3870
+ ]
3871
+ }
3872
+ ],
3873
+ knownModels: [],
3874
+ supportsModelListing: false,
3875
+ docsUrl: "https://platform.openai.com/docs/guides/realtime",
3876
+ credentialOnly: true,
3877
+ category: "s2s"
3825
3878
  };
3826
3879
 
3827
3880
  // src/adapters/index.ts
@@ -3842,6 +3895,8 @@ registerAdapter(groqFactory);
3842
3895
  registerAdapter(huggingfaceFactory);
3843
3896
  registerAdapter(openRouterFactory);
3844
3897
  registerCredentialVendor(harnessManifest);
3898
+ registerCredentialVendor(openaiS2sManifest);
3899
+ registerCredentialVendor(dialogflowCesManifest);
3845
3900
 
3846
3901
  // src/normalize-auth.ts
3847
3902
  function normalizeAuth(vendor, raw) {