@memberjunction/ai-agents 6.2.0-edge.7 → 6.2.0-edge.8

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.
Files changed (38) hide show
  1. package/README.md +15 -0
  2. package/dist/MemoryWriteManager.d.ts +12 -0
  3. package/dist/MemoryWriteManager.d.ts.map +1 -1
  4. package/dist/MemoryWriteManager.js +18 -3
  5. package/dist/MemoryWriteManager.js.map +1 -1
  6. package/dist/agent-types/loop-agent-prompt-params.d.ts +20 -0
  7. package/dist/agent-types/loop-agent-prompt-params.d.ts.map +1 -1
  8. package/dist/agent-types/loop-agent-prompt-params.js +4 -1
  9. package/dist/agent-types/loop-agent-prompt-params.js.map +1 -1
  10. package/dist/base-agent.d.ts +85 -5
  11. package/dist/base-agent.d.ts.map +1 -1
  12. package/dist/base-agent.js +296 -50
  13. package/dist/base-agent.js.map +1 -1
  14. package/dist/client-tool-results.d.ts +12 -0
  15. package/dist/client-tool-results.d.ts.map +1 -1
  16. package/dist/client-tool-results.js +21 -0
  17. package/dist/client-tool-results.js.map +1 -1
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +2 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/realtime/bridge-realtime-session-factory.d.ts +3 -3
  23. package/dist/realtime/bridge-realtime-session-factory.d.ts.map +1 -1
  24. package/dist/realtime/bridge-realtime-session-factory.js +12 -6
  25. package/dist/realtime/bridge-realtime-session-factory.js.map +1 -1
  26. package/dist/realtime/realtime-client-session-service.d.ts +50 -23
  27. package/dist/realtime/realtime-client-session-service.d.ts.map +1 -1
  28. package/dist/realtime/realtime-client-session-service.js +84 -44
  29. package/dist/realtime/realtime-client-session-service.js.map +1 -1
  30. package/dist/realtime/realtime-platform-credentials.d.ts +65 -0
  31. package/dist/realtime/realtime-platform-credentials.d.ts.map +1 -0
  32. package/dist/realtime/realtime-platform-credentials.js +148 -0
  33. package/dist/realtime/realtime-platform-credentials.js.map +1 -0
  34. package/dist/realtime/realtime-vendor-resolution.d.ts +41 -2
  35. package/dist/realtime/realtime-vendor-resolution.d.ts.map +1 -1
  36. package/dist/realtime/realtime-vendor-resolution.js +86 -4
  37. package/dist/realtime/realtime-vendor-resolution.js.map +1 -1
  38. package/package.json +20 -20
@@ -12,7 +12,7 @@
12
12
  * @module @memberjunction/ai-agents
13
13
  * @author MemberJunction.com
14
14
  */
15
- import { AIAPIKeyResolver } from '@memberjunction/ai';
15
+ import { AIAPIKeyResolver, AICredentialScope } from '@memberjunction/ai';
16
16
  /** The vendor identifiers a resolved realtime model runs under. */
17
17
  export interface RealtimeVendorSelection {
18
18
  /** The chosen `MJ: AI Vendors` row id (empty string when the vendor row carries none). */
@@ -46,11 +46,50 @@ export type RealtimeAPIKeyResolver = AIAPIKeyResolver;
46
46
  * higher-priority vendor is skipped rather than dead-ending the resolution (a deployment that
47
47
  * configures only one provider's key must still resolve that provider).
48
48
  *
49
+ * When no vendor qualifies, one log line names the model and, for each vendor considered, the
50
+ * credential it would need ({@link DescribeRealtimeVendorKeyNeeds}) — a host whose LLM key works but
51
+ * whose realtime driver class has none otherwise fails with no trace of why.
52
+ *
49
53
  * @param modelID The `MJ: AI Models` row id to resolve a vendor for.
50
54
  * @param resolveAPIKey Key-resolution seam; defaults to the process's configured AI API keys.
55
+ * @param scope The run's credential scope, used only to word the log line; omitted means `'Any'`.
51
56
  * @returns The vendor identifiers, or `null` when no active vendor has a usable key.
52
57
  */
53
- export declare function SelectRealtimeVendorForModel(modelID: string, resolveAPIKey?: RealtimeAPIKeyResolver): RealtimeVendorSelection | null;
58
+ export declare function SelectRealtimeVendorForModel(modelID: string, resolveAPIKey?: RealtimeAPIKeyResolver, scope?: AICredentialScope): RealtimeVendorSelection | null;
59
+ /**
60
+ * The log line for a realtime model none of whose vendors has a key: the model, then each vendor
61
+ * considered with what it needs.
62
+ *
63
+ * @param modelID The `MJ: AI Models` row id.
64
+ * @param vendors The vendors considered (the model's Active vendor rows).
65
+ * @param scope The run's credential scope; omitted means `'Any'`.
66
+ */
67
+ export declare function DescribeUnkeyedRealtimeModel(modelID: string, vendors: RealtimeVendorSelection[], scope?: AICredentialScope): string;
68
+ /**
69
+ * What one realtime vendor needs before a session can mint on it, tier by tier in resolution order.
70
+ * The environment variable is named for the vendor's REALTIME `DriverClass` (e.g.
71
+ * `AI_VENDOR_API_KEY__OPENAIREALTIME`), which is a different key name from the same provider's LLM
72
+ * driver class — the usual reason a host whose prompts work has no realtime vendor.
73
+ *
74
+ * @param vendor The vendor considered.
75
+ * @param scope The run's credential scope; under `'RuntimeOnly'` only the run's own keys count.
76
+ */
77
+ export declare function DescribeRealtimeVendorKeyNeeds(vendor: RealtimeVendorSelection, scope?: AICredentialScope): string;
78
+ /**
79
+ * The user-facing "how to fix it" sentence for a realtime session that found no keyed vendor, worded
80
+ * for the run's credential scope. The per-vendor detail is in the server log
81
+ * ({@link DescribeUnkeyedRealtimeModel}); this names the fixes.
82
+ *
83
+ * @param scope The run's credential scope; omitted means `'Any'`.
84
+ */
85
+ export declare function RealtimeKeyFixHint(scope?: AICredentialScope): string;
86
+ /**
87
+ * The environment variable that keys a driver class (`AI_VENDOR_API_KEY__<DRIVERCLASS>`, matched
88
+ * case-insensitively by `GetAIAPIKey`).
89
+ *
90
+ * @param driverClass The vendor's `DriverClass`.
91
+ */
92
+ export declare function RealtimeEnvKeyName(driverClass: string): string;
54
93
  /**
55
94
  * The vendors that can run a realtime model, in the order {@link SelectRealtimeVendorForModel} tries them: the model's
56
95
  * **Active** `MJ: AI Model Vendors` rows that carry a `DriverClass`, highest `Priority` first. Keys are not checked here.
@@ -1 +1 @@
1
- {"version":3,"file":"realtime-vendor-resolution.d.ts","sourceRoot":"","sources":["../../src/realtime/realtime-vendor-resolution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,gBAAgB,EAAwB,MAAM,oBAAoB,CAAC;AAI5E,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACpC,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,yGAAyG;IACzG,WAAW,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAKtD;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CACxC,OAAO,EAAE,MAAM,EACf,aAAa,GAAE,sBAA8C,GAC9D,uBAAuB,GAAG,IAAI,CAOhC;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,EAAE,CAKtF"}
1
+ {"version":3,"file":"realtime-vendor-resolution.d.ts","sourceRoot":"","sources":["../../src/realtime/realtime-vendor-resolution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAA+C,MAAM,oBAAoB,CAAC;AAKtH,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACpC,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,yGAAyG;IACzG,WAAW,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAKtD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,4BAA4B,CACxC,OAAO,EAAE,MAAM,EACf,aAAa,GAAE,sBAA8C,EAC7D,KAAK,CAAC,EAAE,iBAAiB,GAC1B,uBAAuB,GAAG,IAAI,CAShC;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE,KAAK,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAOnI;AAED;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,uBAAuB,EAAE,KAAK,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAYjH;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAcpE;AAWD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,EAAE,CAKtF"}
@@ -12,8 +12,9 @@
12
12
  * @module @memberjunction/ai-agents
13
13
  * @author MemberJunction.com
14
14
  */
15
- import { MakeAIAPIKeyResolver } from '@memberjunction/ai';
16
- import { UUIDsEqual } from '@memberjunction/global';
15
+ import { CredentialScopeAllows, MakeAIAPIKeyResolver } from '@memberjunction/ai';
16
+ import { LogStatus } from '@memberjunction/core';
17
+ import { NormalizeUUID, UUIDsEqual } from '@memberjunction/global';
17
18
  import { AIEngine } from '@memberjunction/aiengine';
18
19
  /** The default resolver — the process's configured AI API keys, with no run-scoped keys. */
19
20
  const defaultAPIKeyResolver = MakeAIAPIKeyResolver();
@@ -25,18 +26,99 @@ const defaultAPIKeyResolver = MakeAIAPIKeyResolver();
25
26
  * higher-priority vendor is skipped rather than dead-ending the resolution (a deployment that
26
27
  * configures only one provider's key must still resolve that provider).
27
28
  *
29
+ * When no vendor qualifies, one log line names the model and, for each vendor considered, the
30
+ * credential it would need ({@link DescribeRealtimeVendorKeyNeeds}) — a host whose LLM key works but
31
+ * whose realtime driver class has none otherwise fails with no trace of why.
32
+ *
28
33
  * @param modelID The `MJ: AI Models` row id to resolve a vendor for.
29
34
  * @param resolveAPIKey Key-resolution seam; defaults to the process's configured AI API keys.
35
+ * @param scope The run's credential scope, used only to word the log line; omitted means `'Any'`.
30
36
  * @returns The vendor identifiers, or `null` when no active vendor has a usable key.
31
37
  */
32
- export function SelectRealtimeVendorForModel(modelID, resolveAPIKey = defaultAPIKeyResolver) {
33
- for (const v of ListRealtimeVendorsForModel(modelID)) {
38
+ export function SelectRealtimeVendorForModel(modelID, resolveAPIKey = defaultAPIKeyResolver, scope) {
39
+ const vendors = ListRealtimeVendorsForModel(modelID);
40
+ for (const v of vendors) {
34
41
  if (resolveAPIKey(v.DriverClass)) {
35
42
  return v;
36
43
  }
37
44
  }
45
+ LogStatus(DescribeUnkeyedRealtimeModel(modelID, vendors, scope));
38
46
  return null;
39
47
  }
48
+ /**
49
+ * The log line for a realtime model none of whose vendors has a key: the model, then each vendor
50
+ * considered with what it needs.
51
+ *
52
+ * @param modelID The `MJ: AI Models` row id.
53
+ * @param vendors The vendors considered (the model's Active vendor rows).
54
+ * @param scope The run's credential scope; omitted means `'Any'`.
55
+ */
56
+ export function DescribeUnkeyedRealtimeModel(modelID, vendors, scope) {
57
+ const modelName = cachedName(() => AIEngine.Instance.ModelsByID.get(NormalizeUUID(modelID))?.Name) ?? modelID;
58
+ if (vendors.length === 0) {
59
+ return `[Realtime] Realtime model '${modelName}' was skipped: it has no Active AI Model Vendor row with a DriverClass.`;
60
+ }
61
+ const needs = vendors.map(v => ` - ${DescribeRealtimeVendorKeyNeeds(v, scope)}`).join('\n');
62
+ return `[Realtime] Realtime model '${modelName}' was skipped: none of its ${vendors.length} active vendor(s) has a usable key.\n${needs}`;
63
+ }
64
+ /**
65
+ * What one realtime vendor needs before a session can mint on it, tier by tier in resolution order.
66
+ * The environment variable is named for the vendor's REALTIME `DriverClass` (e.g.
67
+ * `AI_VENDOR_API_KEY__OPENAIREALTIME`), which is a different key name from the same provider's LLM
68
+ * driver class — the usual reason a host whose prompts work has no realtime vendor.
69
+ *
70
+ * @param vendor The vendor considered.
71
+ * @param scope The run's credential scope; under `'RuntimeOnly'` only the run's own keys count.
72
+ */
73
+ export function DescribeRealtimeVendorKeyNeeds(vendor, scope) {
74
+ const vendorName = (vendor.VendorID && cachedName(() => AIEngine.Instance.VendorsByID.get(NormalizeUUID(vendor.VendorID))?.Name)) || vendor.VendorID || 'unnamed vendor';
75
+ const tiers = [];
76
+ if (CredentialScopeAllows(scope, 'PlatformCredential')) {
77
+ tiers.push(`an AI Credential Binding on the vendor '${vendorName}' or on this model's vendor row`);
78
+ tiers.push(`a default credential of the vendor's credential type`);
79
+ }
80
+ tiers.push(`an apiKeys entry for driver class '${vendor.DriverClass}' on the run`);
81
+ if (CredentialScopeAllows(scope, 'Environment')) {
82
+ tiers.push(`the environment variable ${RealtimeEnvKeyName(vendor.DriverClass)}`);
83
+ }
84
+ return `vendor '${vendorName}' (DriverClass ${vendor.DriverClass}) needs one of: ${tiers.join('; ')}`;
85
+ }
86
+ /**
87
+ * The user-facing "how to fix it" sentence for a realtime session that found no keyed vendor, worded
88
+ * for the run's credential scope. The per-vendor detail is in the server log
89
+ * ({@link DescribeUnkeyedRealtimeModel}); this names the fixes.
90
+ *
91
+ * @param scope The run's credential scope; omitted means `'Any'`.
92
+ */
93
+ export function RealtimeKeyFixHint(scope) {
94
+ const logNote = 'The server log lists each vendor considered and what it needed.';
95
+ if (!CredentialScopeAllows(scope, 'PlatformCredential')) {
96
+ return ("This session may use only the caller's own keys (credential scope RuntimeOnly): pass an apiKeys entry " +
97
+ `for the realtime vendor's driver class (e.g. 'OpenAIRealtime'). ${logNote}`);
98
+ }
99
+ return ('To fix it, give a realtime vendor a key: bind an MJ Credential to it (an AI Credential Binding on the AI ' +
100
+ "Vendor or on the model's AI Model Vendor row), mark a default credential of the vendor's credential type, or " +
101
+ `set the environment variable for its realtime driver class (e.g. ${RealtimeEnvKeyName('OpenAIRealtime')}, a ` +
102
+ `different name from the provider's LLM key). ${logNote}`);
103
+ }
104
+ /** A display name from the engine's cache; `undefined` when absent or the cache is not loaded. A log line never throws. */
105
+ function cachedName(read) {
106
+ try {
107
+ return read() || undefined;
108
+ }
109
+ catch {
110
+ return undefined;
111
+ }
112
+ }
113
+ /**
114
+ * The environment variable that keys a driver class (`AI_VENDOR_API_KEY__<DRIVERCLASS>`, matched
115
+ * case-insensitively by `GetAIAPIKey`).
116
+ *
117
+ * @param driverClass The vendor's `DriverClass`.
118
+ */
119
+ export function RealtimeEnvKeyName(driverClass) {
120
+ return `AI_VENDOR_API_KEY__${driverClass.toUpperCase()}`;
121
+ }
40
122
  /**
41
123
  * The vendors that can run a realtime model, in the order {@link SelectRealtimeVendorForModel} tries them: the model's
42
124
  * **Active** `MJ: AI Model Vendors` rows that carry a `DriverClass`, highest `Priority` first. Keys are not checked here.
@@ -1 +1 @@
1
- {"version":3,"file":"realtime-vendor-resolution.js","sourceRoot":"","sources":["../../src/realtime/realtime-vendor-resolution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAoB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AA6BpD,4FAA4F;AAC5F,MAAM,qBAAqB,GAA2B,oBAAoB,EAAE,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,4BAA4B,CACxC,OAAe,EACf,gBAAwC,qBAAqB;IAE7D,KAAK,MAAM,CAAC,IAAI,2BAA2B,CAAC,OAAO,CAAC,EAAE,CAAC;QACnD,IAAI,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC;YAC/B,OAAO,CAAC,CAAC;QACb,CAAC;IACL,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CAAC,OAAe;IACvD,OAAO,QAAQ,CAAC,QAAQ,CAAC,YAAY;SAChC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,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C,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,QAAQ,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,CAAC;SACjG,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;SACrD,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,QAAQ,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,WAAY,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AAChI,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/ai-agents",
3
3
  "type": "module",
4
- "version": "6.2.0-edge.7",
4
+ "version": "6.2.0-edge.8",
5
5
  "description": "MemberJunction: AI Agent Execution and Management",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,25 +12,25 @@
12
12
  "license": "BUSL-1.1",
13
13
  "dependencies": {
14
14
  "@evan/opus": "1.0.3",
15
- "@memberjunction/actions": "6.2.0-edge.7",
16
- "@memberjunction/actions-base": "6.2.0-edge.7",
17
- "@memberjunction/ai": "6.2.0-edge.7",
18
- "@memberjunction/ai-core-plus": "6.2.0-edge.7",
19
- "@memberjunction/ai-engine-base": "6.2.0-edge.7",
20
- "@memberjunction/ai-prompts": "6.2.0-edge.7",
21
- "@memberjunction/ai-reranker": "6.2.0-edge.7",
22
- "@memberjunction/ai-vector-dupe": "6.2.0-edge.7",
23
- "@memberjunction/ai-vector-sync": "6.2.0-edge.7",
24
- "@memberjunction/aiengine": "6.2.0-edge.7",
25
- "@memberjunction/context-crush": "6.2.0-edge.7",
26
- "@memberjunction/core": "6.2.0-edge.7",
27
- "@memberjunction/core-entities": "6.2.0-edge.7",
28
- "@memberjunction/generic-database-provider": "6.2.0-edge.7",
29
- "@memberjunction/global": "6.2.0-edge.7",
30
- "@memberjunction/rubrics": "6.2.0-edge.7",
31
- "@memberjunction/search-engine": "6.2.0-edge.7",
32
- "@memberjunction/storage": "6.2.0-edge.7",
33
- "@memberjunction/templates": "6.2.0-edge.7",
15
+ "@memberjunction/actions": "6.2.0-edge.8",
16
+ "@memberjunction/actions-base": "6.2.0-edge.8",
17
+ "@memberjunction/ai": "6.2.0-edge.8",
18
+ "@memberjunction/ai-core-plus": "6.2.0-edge.8",
19
+ "@memberjunction/ai-engine-base": "6.2.0-edge.8",
20
+ "@memberjunction/ai-prompts": "6.2.0-edge.8",
21
+ "@memberjunction/ai-reranker": "6.2.0-edge.8",
22
+ "@memberjunction/ai-vector-dupe": "6.2.0-edge.8",
23
+ "@memberjunction/ai-vector-sync": "6.2.0-edge.8",
24
+ "@memberjunction/aiengine": "6.2.0-edge.8",
25
+ "@memberjunction/context-crush": "6.2.0-edge.8",
26
+ "@memberjunction/core": "6.2.0-edge.8",
27
+ "@memberjunction/core-entities": "6.2.0-edge.8",
28
+ "@memberjunction/generic-database-provider": "6.2.0-edge.8",
29
+ "@memberjunction/global": "6.2.0-edge.8",
30
+ "@memberjunction/rubrics": "6.2.0-edge.8",
31
+ "@memberjunction/search-engine": "6.2.0-edge.8",
32
+ "@memberjunction/storage": "6.2.0-edge.8",
33
+ "@memberjunction/templates": "6.2.0-edge.8",
34
34
  "dotenv": "^17.2.4",
35
35
  "exceljs": "^4.4.0",
36
36
  "lodash": "^4.17.23",