plugnmeet-protocol-js 1.6.4-9 → 1.6.4-ai-agent.1

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.
@@ -48,6 +48,14 @@ export type CreateBreakoutRoomsReq = Message<"plugnmeet.CreateBreakoutRoomsReq">
48
48
  * @generated from field: bool allow_self_select = 11;
49
49
  */
50
50
  allowSelfSelect: boolean;
51
+ /**
52
+ * @generated from field: bool enable_ai_agent = 12;
53
+ */
54
+ enableAiAgent: boolean;
55
+ /**
56
+ * @generated from field: optional string ai_agent_context = 13;
57
+ */
58
+ aiAgentContext?: string | undefined;
51
59
  };
52
60
  /**
53
61
  * Describes the message plugnmeet.CreateBreakoutRoomsReq.
@@ -86,6 +94,18 @@ export type BreakoutRoom = Message<"plugnmeet.BreakoutRoom"> & {
86
94
  * @generated from field: string room_sid = 7;
87
95
  */
88
96
  roomSid: string;
97
+ /**
98
+ * @generated from field: optional string ai_agent_context = 8;
99
+ */
100
+ aiAgentContext?: string | undefined;
101
+ /**
102
+ * @generated from field: bool enable_ai_agent = 9;
103
+ */
104
+ enableAiAgent: boolean;
105
+ /**
106
+ * @generated from field: bool ai_agent_joined = 10;
107
+ */
108
+ aiAgentJoined: boolean;
89
109
  };
90
110
  /**
91
111
  * Describes the message plugnmeet.BreakoutRoom.
@@ -0,0 +1,516 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file plugnmeet_create_room_insights.proto.
5
+ */
6
+ export declare const file_plugnmeet_create_room_insights: GenFile;
7
+ /**
8
+ * @generated from message plugnmeet.InsightsFeatures
9
+ */
10
+ export type InsightsFeatures = Message<"plugnmeet.InsightsFeatures"> & {
11
+ /**
12
+ * Allow/disallow all insights features for this room
13
+ *
14
+ * @generated from field: bool is_allow = 1;
15
+ */
16
+ isAllow: boolean;
17
+ /**
18
+ * @generated from field: optional plugnmeet.InsightsTranscriptionFeatures transcription_features = 2;
19
+ */
20
+ transcriptionFeatures?: InsightsTranscriptionFeatures | undefined;
21
+ /**
22
+ * @generated from field: optional plugnmeet.InsightsChatTranslationFeatures chat_translation_features = 3;
23
+ */
24
+ chatTranslationFeatures?: InsightsChatTranslationFeatures | undefined;
25
+ /**
26
+ * @generated from field: optional plugnmeet.InsightsAIFeatures ai_features = 4;
27
+ */
28
+ aiFeatures?: InsightsAIFeatures | undefined;
29
+ /**
30
+ * @generated from field: optional plugnmeet.InsightsAIAgentFeatures ai_agent_features = 5;
31
+ */
32
+ aiAgentFeatures?: InsightsAIAgentFeatures | undefined;
33
+ };
34
+ /**
35
+ * Describes the message plugnmeet.InsightsFeatures.
36
+ * Use `create(InsightsFeaturesSchema)` to create a new message.
37
+ */
38
+ export declare const InsightsFeaturesSchema: GenMessage<InsightsFeatures>;
39
+ /**
40
+ * @generated from message plugnmeet.InsightsTranscriptionFeatures
41
+ */
42
+ export type InsightsTranscriptionFeatures = Message<"plugnmeet.InsightsTranscriptionFeatures"> & {
43
+ /**
44
+ * @generated from field: bool is_allow = 1;
45
+ */
46
+ isAllow: boolean;
47
+ /**
48
+ * @generated from field: bool is_allow_translation = 2;
49
+ */
50
+ isAllowTranslation: boolean;
51
+ /**
52
+ * @generated from field: bool is_allow_speech_synthesis = 3;
53
+ */
54
+ isAllowSpeechSynthesis: boolean;
55
+ /**
56
+ * all internal usage fields
57
+ *
58
+ * @generated from field: bool is_enabled = 4;
59
+ */
60
+ isEnabled: boolean;
61
+ /**
62
+ * @generated from field: repeated string allowed_spoken_langs = 5;
63
+ */
64
+ allowedSpokenLangs: string[];
65
+ /**
66
+ * @generated from field: repeated string allowed_speech_users = 6;
67
+ */
68
+ allowedSpeechUsers: string[];
69
+ /**
70
+ * @generated from field: bool is_enabled_translation = 7;
71
+ */
72
+ isEnabledTranslation: boolean;
73
+ /**
74
+ * @generated from field: int32 max_selected_trans_langs = 8;
75
+ */
76
+ maxSelectedTransLangs: number;
77
+ /**
78
+ * @generated from field: repeated string allowed_trans_langs = 9;
79
+ */
80
+ allowedTransLangs: string[];
81
+ /**
82
+ * @generated from field: optional string default_subtitle_lang = 10;
83
+ */
84
+ defaultSubtitleLang?: string | undefined;
85
+ /**
86
+ * @generated from field: bool is_enabled_speech_synthesis = 11;
87
+ */
88
+ isEnabledSpeechSynthesis: boolean;
89
+ };
90
+ /**
91
+ * Describes the message plugnmeet.InsightsTranscriptionFeatures.
92
+ * Use `create(InsightsTranscriptionFeaturesSchema)` to create a new message.
93
+ */
94
+ export declare const InsightsTranscriptionFeaturesSchema: GenMessage<InsightsTranscriptionFeatures>;
95
+ /**
96
+ * @generated from message plugnmeet.InsightsChatTranslationFeatures
97
+ */
98
+ export type InsightsChatTranslationFeatures = Message<"plugnmeet.InsightsChatTranslationFeatures"> & {
99
+ /**
100
+ * @generated from field: bool is_allow = 1;
101
+ */
102
+ isAllow: boolean;
103
+ /**
104
+ * all internal usage fields
105
+ *
106
+ * @generated from field: bool is_enabled = 2;
107
+ */
108
+ isEnabled: boolean;
109
+ /**
110
+ * @generated from field: repeated string allowed_trans_langs = 3;
111
+ */
112
+ allowedTransLangs: string[];
113
+ /**
114
+ * @generated from field: int32 max_selected_trans_langs = 4;
115
+ */
116
+ maxSelectedTransLangs: number;
117
+ /**
118
+ * @generated from field: optional string default_lang = 5;
119
+ */
120
+ defaultLang?: string | undefined;
121
+ };
122
+ /**
123
+ * Describes the message plugnmeet.InsightsChatTranslationFeatures.
124
+ * Use `create(InsightsChatTranslationFeaturesSchema)` to create a new message.
125
+ */
126
+ export declare const InsightsChatTranslationFeaturesSchema: GenMessage<InsightsChatTranslationFeatures>;
127
+ /**
128
+ * @generated from message plugnmeet.InsightsAIFeatures
129
+ */
130
+ export type InsightsAIFeatures = Message<"plugnmeet.InsightsAIFeatures"> & {
131
+ /**
132
+ * @generated from field: bool is_allow = 1;
133
+ */
134
+ isAllow: boolean;
135
+ /**
136
+ * @generated from field: optional plugnmeet.InsightsAITextChatFeatures ai_text_chat_features = 2;
137
+ */
138
+ aiTextChatFeatures?: InsightsAITextChatFeatures | undefined;
139
+ /**
140
+ * @generated from field: optional plugnmeet.InsightsAIMeetingSummarizationFeatures meeting_summarization_features = 3;
141
+ */
142
+ meetingSummarizationFeatures?: InsightsAIMeetingSummarizationFeatures | undefined;
143
+ };
144
+ /**
145
+ * Describes the message plugnmeet.InsightsAIFeatures.
146
+ * Use `create(InsightsAIFeaturesSchema)` to create a new message.
147
+ */
148
+ export declare const InsightsAIFeaturesSchema: GenMessage<InsightsAIFeatures>;
149
+ /**
150
+ * @generated from message plugnmeet.InsightsAITextChatFeatures
151
+ */
152
+ export type InsightsAITextChatFeatures = Message<"plugnmeet.InsightsAITextChatFeatures"> & {
153
+ /**
154
+ * @generated from field: bool is_allow = 1;
155
+ */
156
+ isAllow: boolean;
157
+ /**
158
+ * all internal usage fields
159
+ *
160
+ * @generated from field: bool is_enabled = 2;
161
+ */
162
+ isEnabled: boolean;
163
+ /**
164
+ * @generated from field: bool is_allowed_everyone = 3;
165
+ */
166
+ isAllowedEveryone: boolean;
167
+ /**
168
+ * @generated from field: repeated string allowed_user_ids = 4;
169
+ */
170
+ allowedUserIds: string[];
171
+ /**
172
+ * @generated from field: bool is_notepad_ai_disabled = 5;
173
+ */
174
+ isNotepadAiDisabled: boolean;
175
+ /**
176
+ * @generated from field: bool is_whiteboard_ai_disabled = 6;
177
+ */
178
+ isWhiteboardAiDisabled: boolean;
179
+ /**
180
+ * @generated from field: bool is_poll_ai_disabled = 7;
181
+ */
182
+ isPollAiDisabled: boolean;
183
+ /**
184
+ * external MCP servers available to AI text chat (same shape as AI agent)
185
+ *
186
+ * @generated from field: map<string, plugnmeet.ExternalMCPServerConfig> mcp_servers = 8;
187
+ */
188
+ mcpServers: {
189
+ [key: string]: ExternalMCPServerConfig;
190
+ };
191
+ };
192
+ /**
193
+ * Describes the message plugnmeet.InsightsAITextChatFeatures.
194
+ * Use `create(InsightsAITextChatFeaturesSchema)` to create a new message.
195
+ */
196
+ export declare const InsightsAITextChatFeaturesSchema: GenMessage<InsightsAITextChatFeatures>;
197
+ /**
198
+ * @generated from message plugnmeet.InsightsAIMeetingSummarizationFeatures
199
+ */
200
+ export type InsightsAIMeetingSummarizationFeatures = Message<"plugnmeet.InsightsAIMeetingSummarizationFeatures"> & {
201
+ /**
202
+ * @generated from field: bool is_allow = 1;
203
+ */
204
+ isAllow: boolean;
205
+ /**
206
+ * @generated from field: string summarization_prompt = 2;
207
+ */
208
+ summarizationPrompt: string;
209
+ /**
210
+ * all internal usage fields
211
+ *
212
+ * @generated from field: bool is_enabled = 3;
213
+ */
214
+ isEnabled: boolean;
215
+ };
216
+ /**
217
+ * Describes the message plugnmeet.InsightsAIMeetingSummarizationFeatures.
218
+ * Use `create(InsightsAIMeetingSummarizationFeaturesSchema)` to create a new message.
219
+ */
220
+ export declare const InsightsAIMeetingSummarizationFeaturesSchema: GenMessage<InsightsAIMeetingSummarizationFeatures>;
221
+ /**
222
+ * @generated from message plugnmeet.ExternalMCPServerConfig
223
+ */
224
+ export type ExternalMCPServerConfig = Message<"plugnmeet.ExternalMCPServerConfig"> & {
225
+ /**
226
+ * @generated from field: string url = 1;
227
+ */
228
+ url: string;
229
+ /**
230
+ * @generated from field: map<string, string> headers = 2;
231
+ */
232
+ headers: {
233
+ [key: string]: string;
234
+ };
235
+ /**
236
+ * @generated from field: repeated string allowed_tools = 3;
237
+ */
238
+ allowedTools: string[];
239
+ /**
240
+ * optional owner hint: "shared", "text_chat", "ai_agent", ...
241
+ *
242
+ * @generated from field: optional string scope = 4;
243
+ */
244
+ scope?: string | undefined;
245
+ };
246
+ /**
247
+ * Describes the message plugnmeet.ExternalMCPServerConfig.
248
+ * Use `create(ExternalMCPServerConfigSchema)` to create a new message.
249
+ */
250
+ export declare const ExternalMCPServerConfigSchema: GenMessage<ExternalMCPServerConfig>;
251
+ /**
252
+ * @generated from message plugnmeet.AIAgentAutoSessionConfig
253
+ */
254
+ export type AIAgentAutoSessionConfig = Message<"plugnmeet.AIAgentAutoSessionConfig"> & {
255
+ /**
256
+ * @generated from field: repeated string allowed_participant_ids = 1;
257
+ */
258
+ allowedParticipantIds: string[];
259
+ /**
260
+ * only usable when session_mode = AI_AGENT_SESSION_MODE_OPEN_PER_USER
261
+ *
262
+ * @generated from field: uint32 max_concurrent_sessions = 2;
263
+ */
264
+ maxConcurrentSessions: number;
265
+ /**
266
+ * @generated from field: optional bool auto_start_agent = 3;
267
+ */
268
+ autoStartAgent?: boolean | undefined;
269
+ };
270
+ /**
271
+ * Describes the message plugnmeet.AIAgentAutoSessionConfig.
272
+ * Use `create(AIAgentAutoSessionConfigSchema)` to create a new message.
273
+ */
274
+ export declare const AIAgentAutoSessionConfigSchema: GenMessage<AIAgentAutoSessionConfig>;
275
+ /**
276
+ * @generated from message plugnmeet.InsightsAIAgentFeatures
277
+ */
278
+ export type InsightsAIAgentFeatures = Message<"plugnmeet.InsightsAIAgentFeatures"> & {
279
+ /**
280
+ * master switch
281
+ *
282
+ * @generated from field: bool is_allow = 1;
283
+ */
284
+ isAllow: boolean;
285
+ /**
286
+ * session mode & automatic 1-on-1 session routing
287
+ *
288
+ * @generated from field: plugnmeet.AIAgentSessionMode session_mode = 2;
289
+ */
290
+ sessionMode: AIAgentSessionMode;
291
+ /**
292
+ * @generated from field: optional plugnmeet.AIAgentAutoSessionConfig auto_session_config = 3;
293
+ */
294
+ autoSessionConfig?: AIAgentAutoSessionConfig | undefined;
295
+ /**
296
+ * persona, curriculum & topic boundary (host-owned)
297
+ *
298
+ * default: "AI Assistant"
299
+ *
300
+ * @generated from field: optional string agent_display_name = 4;
301
+ */
302
+ agentDisplayName?: string | undefined;
303
+ /**
304
+ * required when is_allow
305
+ *
306
+ * @generated from field: string system_prompt = 5;
307
+ */
308
+ systemPrompt: string;
309
+ /**
310
+ * last session's summary
311
+ *
312
+ * @generated from field: optional string previous_session_context = 6;
313
+ */
314
+ previousSessionContext?: string | undefined;
315
+ /**
316
+ * required when is_allow
317
+ *
318
+ * @generated from field: string topic = 7;
319
+ */
320
+ topic: string;
321
+ /**
322
+ * @generated from field: repeated string allowed_subtopics = 8;
323
+ */
324
+ allowedSubtopics: string[];
325
+ /**
326
+ * @generated from field: repeated string forbidden_topics = 9;
327
+ */
328
+ forbiddenTopics: string[];
329
+ /**
330
+ * default true
331
+ *
332
+ * @generated from field: bool strict_topic_enforcement = 10;
333
+ */
334
+ strictTopicEnforcement: boolean;
335
+ /**
336
+ * default 6, range 3..12
337
+ *
338
+ * @generated from field: uint32 topic_anchor_interval_turns = 11;
339
+ */
340
+ topicAnchorIntervalTurns: number;
341
+ /**
342
+ * language & voice delivery
343
+ *
344
+ * BCP-47: learner's native/support language
345
+ *
346
+ * @generated from field: optional string spoken_lang = 12;
347
+ */
348
+ spokenLang?: string | undefined;
349
+ /**
350
+ * BCP-47: language being learned (empty = no language-learning profile)
351
+ *
352
+ * @generated from field: optional string target_lang = 13;
353
+ */
354
+ targetLang?: string | undefined;
355
+ /**
356
+ * language the agent explains in; empty -> spoken_lang
357
+ *
358
+ * @generated from field: optional string instruction_lang = 14;
359
+ */
360
+ instructionLang?: string | undefined;
361
+ /**
362
+ * provider voice id; must be in server allow-list
363
+ *
364
+ * @generated from field: optional string voice = 15;
365
+ */
366
+ voice?: string | undefined;
367
+ /**
368
+ * @generated from field: optional float speaking_rate = 16;
369
+ */
370
+ speakingRate?: number | undefined;
371
+ /**
372
+ * workspace & tool capabilities
373
+ *
374
+ * default true
375
+ *
376
+ * @generated from field: bool allow_whiteboard_write = 17;
377
+ */
378
+ allowWhiteboardWrite: boolean;
379
+ /**
380
+ * default true
381
+ *
382
+ * @generated from field: bool allow_vision_capture = 18;
383
+ */
384
+ allowVisionCapture: boolean;
385
+ /**
386
+ * default 1200, max 5000
387
+ *
388
+ * @generated from field: uint32 vision_debounce_ms = 19;
389
+ */
390
+ visionDebounceMs: number;
391
+ /**
392
+ * default 1024, range 512..1600
393
+ *
394
+ * @generated from field: uint32 vision_max_edge_px = 20;
395
+ */
396
+ visionMaxEdgePx: number;
397
+ /**
398
+ * default true
399
+ *
400
+ * @generated from field: bool allow_polls = 21;
401
+ */
402
+ allowPolls: boolean;
403
+ /**
404
+ * default true
405
+ *
406
+ * @generated from field: bool allow_chat_message = 22;
407
+ */
408
+ allowChatMessage: boolean;
409
+ /**
410
+ * default true
411
+ *
412
+ * @generated from field: bool allow_notepad_write = 23;
413
+ */
414
+ allowNotepadWrite: boolean;
415
+ /**
416
+ * external knowledge & external MCP servers
417
+ *
418
+ * default false
419
+ *
420
+ * @generated from field: bool allow_web_fetch = 24;
421
+ */
422
+ allowWebFetch: boolean;
423
+ /**
424
+ * @generated from field: repeated string allowed_knowledge_urls = 25;
425
+ */
426
+ allowedKnowledgeUrls: string[];
427
+ /**
428
+ * default 3600, range 60..86400
429
+ *
430
+ * @generated from field: uint32 knowledge_cache_ttl_seconds = 26;
431
+ */
432
+ knowledgeCacheTtlSeconds: number;
433
+ /**
434
+ * @generated from field: map<string, plugnmeet.ExternalMCPServerConfig> mcp_servers = 27;
435
+ */
436
+ mcpServers: {
437
+ [key: string]: ExternalMCPServerConfig;
438
+ };
439
+ /**
440
+ * cost & duration caps
441
+ *
442
+ * @generated from field: uint32 max_session_seconds = 28;
443
+ */
444
+ maxSessionSeconds: number;
445
+ /**
446
+ * 0 = server default
447
+ *
448
+ * @generated from field: uint32 max_audio_minutes = 29;
449
+ */
450
+ maxAudioMinutes: number;
451
+ /**
452
+ * all internal usage fields (host may not set)
453
+ *
454
+ * @generated from field: bool is_enabled = 30;
455
+ */
456
+ isEnabled: boolean;
457
+ /**
458
+ * @generated from field: optional string active_session_id = 31;
459
+ */
460
+ activeSessionId?: string | undefined;
461
+ };
462
+ /**
463
+ * Describes the message plugnmeet.InsightsAIAgentFeatures.
464
+ * Use `create(InsightsAIAgentFeaturesSchema)` to create a new message.
465
+ */
466
+ export declare const InsightsAIAgentFeaturesSchema: GenMessage<InsightsAIAgentFeatures>;
467
+ /**
468
+ * ExternalMCPServerScope describes the owner/consumer of an external MCP
469
+ * server configuration. It mirrors the free-form `scope` hint of
470
+ * ExternalMCPServerConfig.
471
+ *
472
+ * @generated from enum plugnmeet.ExternalMCPServerScope
473
+ */
474
+ export declare enum ExternalMCPServerScope {
475
+ /**
476
+ * @generated from enum value: EXTERNAL_MCP_SERVER_SCOPE_UNSPECIFIED = 0;
477
+ */
478
+ EXTERNAL_MCP_SERVER_SCOPE_UNSPECIFIED = 0,
479
+ /**
480
+ * @generated from enum value: EXTERNAL_MCP_SERVER_SCOPE_SHARED = 1;
481
+ */
482
+ EXTERNAL_MCP_SERVER_SCOPE_SHARED = 1,
483
+ /**
484
+ * @generated from enum value: EXTERNAL_MCP_SERVER_SCOPE_TEXT_CHAT = 2;
485
+ */
486
+ EXTERNAL_MCP_SERVER_SCOPE_TEXT_CHAT = 2,
487
+ /**
488
+ * @generated from enum value: EXTERNAL_MCP_SERVER_SCOPE_AI_AGENT = 3;
489
+ */
490
+ EXTERNAL_MCP_SERVER_SCOPE_AI_AGENT = 3
491
+ }
492
+ /**
493
+ * Describes the enum plugnmeet.ExternalMCPServerScope.
494
+ */
495
+ export declare const ExternalMCPServerScopeSchema: GenEnum<ExternalMCPServerScope>;
496
+ /**
497
+ * @generated from enum plugnmeet.AIAgentSessionMode
498
+ */
499
+ export declare enum AIAgentSessionMode {
500
+ /**
501
+ * @generated from enum value: AI_AGENT_SESSION_MODE_NORMAL_ROOM = 0;
502
+ */
503
+ AI_AGENT_SESSION_MODE_NORMAL_ROOM = 0,
504
+ /**
505
+ * @generated from enum value: AI_AGENT_SESSION_MODE_CONTROLLED_USERS = 1;
506
+ */
507
+ AI_AGENT_SESSION_MODE_CONTROLLED_USERS = 1,
508
+ /**
509
+ * @generated from enum value: AI_AGENT_SESSION_MODE_OPEN_PER_USER = 2;
510
+ */
511
+ AI_AGENT_SESSION_MODE_OPEN_PER_USER = 2
512
+ }
513
+ /**
514
+ * Describes the enum plugnmeet.AIAgentSessionMode.
515
+ */
516
+ export declare const AIAgentSessionModeSchema: GenEnum<AIAgentSessionMode>;