osborn 0.8.32 → 0.8.34

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.
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from 'node:events';
2
- const RECALL_BASE_URL = 'https://us-east-1.recall.ai/api/v1';
2
+ const RECALL_REGION = process.env.RECALL_REGION ?? 'us-west-2';
3
+ const RECALL_BASE_URL = `https://${RECALL_REGION}.recall.ai/api/v1`;
3
4
  export class RecallClient extends EventEmitter {
4
5
  #apiKey;
5
6
  #activeBots = new Map(); // botId → sessionId
@@ -18,7 +19,8 @@ export class RecallClient extends EventEmitter {
18
19
  meeting_url: meetingUrl,
19
20
  bot_name: botName,
20
21
  recording_config: {
21
- transcript: true,
22
+ // `transcript: true` was rejected as "Expected a dictionary, but got bool" —
23
+ // omit; `transcription_options` below already configures the transcript provider.
22
24
  real_time_endpoints: [{
23
25
  type: 'webhook',
24
26
  config: {
@@ -33,7 +35,9 @@ export class RecallClient extends EventEmitter {
33
35
  },
34
36
  output_media: {
35
37
  camera: {
36
- type: 'webpage',
38
+ // Recall API expects `kind` (not `type`); the wrong key arrives as null and
39
+ // gets rejected as "Invalid choice null. Expected 'webpage' or 'default'."
40
+ kind: 'webpage',
37
41
  config: {
38
42
  url: `${webhookBaseUrl}/meeting-output`,
39
43
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osborn",
3
- "version": "0.8.32",
3
+ "version": "0.8.34",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {