@bytexbyte/nxtlinq-ai-agent-web-development 0.1.3 → 0.1.5

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: webrtc`, `defaultModel`).
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: webrtc`, `defaultModel`).
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: "webrtc";
4
+ readonly voiceTransport: "ws-realtime";
5
5
  readonly voiceMode: "realtime";
6
6
  readonly defaultModel: "open-ai-stream";
7
7
  };
@@ -1,6 +1,6 @@
1
1
  /** Browser SDK defaults — integrators do not pass these props. */
2
2
  export const WEB_AGENT_DEFAULTS = {
3
- voiceTransport: 'webrtc',
3
+ voiceTransport: 'ws-realtime',
4
4
  voiceMode: 'realtime',
5
5
  defaultModel: 'open-ai-stream',
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/nxtlinq-ai-agent-web-development",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "React Web headless SDK for nxtlinq AI Agent — hooks and browser ports",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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: webrtc`, `defaultModel`).
16
+ * Applies browser defaults (`voiceTransport: ws-realtime`, `defaultModel`).
17
17
  */
18
18
  export function createNxtlinqAgentWeb(options: CreateNxtlinqAgentWebOptions): NxtlinqAgent {
19
19
  const {
@@ -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: 'webrtc',
5
+ voiceTransport: 'ws-realtime',
6
6
  voiceMode: 'realtime',
7
7
  defaultModel: 'open-ai-stream',
8
8
  } as const satisfies Partial<AgentConfig>;