@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 +57 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -2
- package/dist/index.js.map +1 -1
- package/dist/test-kit/index.cjs +56 -1
- package/dist/test-kit/index.cjs.map +1 -1
- package/dist/test-kit/index.d.cts +1 -1
- package/dist/test-kit/index.d.ts +1 -1
- package/dist/test-kit/index.js +56 -1
- package/dist/test-kit/index.js.map +1 -1
- package/dist/{types-4l2etrW-.d.cts → types-C_yrWq_0.d.cts} +12 -1
- package/dist/{types-4l2etrW-.d.ts → types-C_yrWq_0.d.ts} +12 -1
- package/package.json +1 -1
|
@@ -298,7 +298,18 @@ interface AdapterManifest {
|
|
|
298
298
|
* talks to the customer's harness over its own WebSocket protocol.
|
|
299
299
|
*/
|
|
300
300
|
credentialOnly?: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* What a credential for this vendor is used for, which decides where the
|
|
303
|
+
* portal lists it. Absent means `llm`; `getManifest()` fills it in.
|
|
304
|
+
*/
|
|
305
|
+
category?: VendorCategory;
|
|
301
306
|
}
|
|
307
|
+
/**
|
|
308
|
+
* - `llm`: a language model behind the agent verb (and the harness, which takes its place).
|
|
309
|
+
* - `s2s`: a speech-to-speech model for the llm verb. Ids are the schema's verb names (`openai_s2s`).
|
|
310
|
+
* - `hosted`: an agent defined and run at the vendor, e.g. Dialogflow CES for the dialogflow verb.
|
|
311
|
+
*/
|
|
312
|
+
type VendorCategory = 'llm' | 's2s' | 'hosted';
|
|
302
313
|
interface AuthKindSchema {
|
|
303
314
|
kind: AuthKind;
|
|
304
315
|
displayName: string;
|
|
@@ -435,4 +446,4 @@ interface CreateLlmArgs<A extends AuthSpec = AuthSpec> {
|
|
|
435
446
|
client?: ClientOptions;
|
|
436
447
|
}
|
|
437
448
|
|
|
438
|
-
export type { AuthSpec as A, BedrockApiKeyAuth as B, CreateLlmArgs as C, FinishReason as F, GoogleApiKeyAuth as G, JsonSchema as J, LlmAdapter as L, Message as M, PromptRequest as P, Role as R, ServiceAccountJson as S, Tool as T, Usage as U,
|
|
449
|
+
export type { AuthSpec as A, BedrockApiKeyAuth as B, CreateLlmArgs as C, FinishReason as F, GoogleApiKeyAuth as G, JsonSchema as J, LlmAdapter as L, Message as M, PromptRequest as P, Role as R, ServiceAccountJson as S, Tool as T, Usage as U, VendorCategory as V, AuthKindSchema as a, AdapterFactory as b, AdapterManifest as c, ApiKeyAuth as d, AuthKind as e, AzureOpenAIApiKeyAuth as f, BedrockIamAuth as g, ClientOptions as h, ContentBlock as i, FormField as j, FormFieldType as k, GoogleServiceAccountAuth as l, LlmEvent as m, ModelCapabilities as n, ModelInfo as o, ToolCallEvent as p, VertexServiceAccountAuth as q };
|
|
@@ -298,7 +298,18 @@ interface AdapterManifest {
|
|
|
298
298
|
* talks to the customer's harness over its own WebSocket protocol.
|
|
299
299
|
*/
|
|
300
300
|
credentialOnly?: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* What a credential for this vendor is used for, which decides where the
|
|
303
|
+
* portal lists it. Absent means `llm`; `getManifest()` fills it in.
|
|
304
|
+
*/
|
|
305
|
+
category?: VendorCategory;
|
|
301
306
|
}
|
|
307
|
+
/**
|
|
308
|
+
* - `llm`: a language model behind the agent verb (and the harness, which takes its place).
|
|
309
|
+
* - `s2s`: a speech-to-speech model for the llm verb. Ids are the schema's verb names (`openai_s2s`).
|
|
310
|
+
* - `hosted`: an agent defined and run at the vendor, e.g. Dialogflow CES for the dialogflow verb.
|
|
311
|
+
*/
|
|
312
|
+
type VendorCategory = 'llm' | 's2s' | 'hosted';
|
|
302
313
|
interface AuthKindSchema {
|
|
303
314
|
kind: AuthKind;
|
|
304
315
|
displayName: string;
|
|
@@ -435,4 +446,4 @@ interface CreateLlmArgs<A extends AuthSpec = AuthSpec> {
|
|
|
435
446
|
client?: ClientOptions;
|
|
436
447
|
}
|
|
437
448
|
|
|
438
|
-
export type { AuthSpec as A, BedrockApiKeyAuth as B, CreateLlmArgs as C, FinishReason as F, GoogleApiKeyAuth as G, JsonSchema as J, LlmAdapter as L, Message as M, PromptRequest as P, Role as R, ServiceAccountJson as S, Tool as T, Usage as U,
|
|
449
|
+
export type { AuthSpec as A, BedrockApiKeyAuth as B, CreateLlmArgs as C, FinishReason as F, GoogleApiKeyAuth as G, JsonSchema as J, LlmAdapter as L, Message as M, PromptRequest as P, Role as R, ServiceAccountJson as S, Tool as T, Usage as U, VendorCategory as V, AuthKindSchema as a, AdapterFactory as b, AdapterManifest as c, ApiKeyAuth as d, AuthKind as e, AzureOpenAIApiKeyAuth as f, BedrockIamAuth as g, ClientOptions as h, ContentBlock as i, FormField as j, FormFieldType as k, GoogleServiceAccountAuth as l, LlmEvent as m, ModelCapabilities as n, ModelInfo as o, ToolCallEvent as p, VertexServiceAccountAuth as q };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jambonz/llm",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"description": "Voice-oriented LLM adapter library — a uniform interface for streaming chat completions from multiple LLM vendors, with first-class support for tool calls, AbortSignal interruption, and lossless history round-tripping.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|