@bytexbyte/nxtlinq-ai-agent-web-development 0.1.3 → 0.1.6
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.
|
@@ -3,7 +3,7 @@ import { type CreateWebPlatformPortsOptions } from './ports/createWebPlatformPor
|
|
|
3
3
|
export type CreateNxtlinqAgentWebOptions = AgentConfig & CreateWebPlatformPortsOptions;
|
|
4
4
|
/**
|
|
5
5
|
* Create a platform-ready {@link NxtlinqAgent} for React Web custom UIs.
|
|
6
|
-
* Applies browser defaults (`voiceTransport:
|
|
6
|
+
* Applies browser defaults (`voiceTransport: ws-realtime`, `defaultModel`).
|
|
7
7
|
*/
|
|
8
8
|
export declare function createNxtlinqAgentWeb(options: CreateNxtlinqAgentWebOptions): NxtlinqAgent;
|
|
9
9
|
//# sourceMappingURL=createNxtlinqAgent.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { createWebPlatformPorts, } from './ports/createWebPlatformPorts';
|
|
|
3
3
|
import { applyWebAgentDefaults } from './webAgentDefaults';
|
|
4
4
|
/**
|
|
5
5
|
* Create a platform-ready {@link NxtlinqAgent} for React Web custom UIs.
|
|
6
|
-
* Applies browser defaults (`voiceTransport:
|
|
6
|
+
* Applies browser defaults (`voiceTransport: ws-realtime`, `defaultModel`).
|
|
7
7
|
*/
|
|
8
8
|
export function createNxtlinqAgentWeb(options) {
|
|
9
9
|
const { storage, fetchImpl, getTimezone, webrtc, enableWebRTC, ...rawConfig } = options;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from '@bytexbyte/nxtlinq-ai-agent-core-development';
|
|
2
2
|
/** Browser SDK defaults — integrators do not pass these props. */
|
|
3
3
|
export declare const WEB_AGENT_DEFAULTS: {
|
|
4
|
-
readonly voiceTransport: "
|
|
4
|
+
readonly voiceTransport: "ws-realtime";
|
|
5
5
|
readonly voiceMode: "realtime";
|
|
6
6
|
readonly defaultModel: "open-ai-stream";
|
|
7
7
|
};
|
package/dist/webAgentDefaults.js
CHANGED
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ export type CreateNxtlinqAgentWebOptions = AgentConfig & CreateWebPlatformPortsO
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Create a platform-ready {@link NxtlinqAgent} for React Web custom UIs.
|
|
16
|
-
* Applies browser defaults (`voiceTransport:
|
|
16
|
+
* Applies browser defaults (`voiceTransport: ws-realtime`, `defaultModel`).
|
|
17
17
|
*/
|
|
18
18
|
export function createNxtlinqAgentWeb(options: CreateNxtlinqAgentWebOptions): NxtlinqAgent {
|
|
19
19
|
const {
|
package/src/webAgentDefaults.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AgentConfig } from '@bytexbyte/nxtlinq-ai-agent-core-development';
|
|
|
2
2
|
|
|
3
3
|
/** Browser SDK defaults — integrators do not pass these props. */
|
|
4
4
|
export const WEB_AGENT_DEFAULTS = {
|
|
5
|
-
voiceTransport: '
|
|
5
|
+
voiceTransport: 'ws-realtime',
|
|
6
6
|
voiceMode: 'realtime',
|
|
7
7
|
defaultModel: 'open-ai-stream',
|
|
8
8
|
} as const satisfies Partial<AgentConfig>;
|