@wirecat/zoom-cli 0.34.0 → 0.35.0

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 (154) hide show
  1. package/README.md +50 -53
  2. package/dist/answers.d.ts +1 -1
  3. package/dist/answers.d.ts.map +1 -1
  4. package/dist/archive-commands.d.ts.map +1 -1
  5. package/dist/archive-commands.js +6 -6
  6. package/dist/archive-commands.js.map +1 -1
  7. package/dist/bin/main.js +12 -13
  8. package/dist/bin/main.js.map +1 -1
  9. package/dist/commands.d.ts +2 -0
  10. package/dist/commands.d.ts.map +1 -1
  11. package/dist/commands.js +18 -5
  12. package/dist/commands.js.map +1 -1
  13. package/dist/config.d.ts +14 -2
  14. package/dist/config.d.ts.map +1 -1
  15. package/dist/config.js +37 -8
  16. package/dist/config.js.map +1 -1
  17. package/dist/context-sources.js +1 -1
  18. package/dist/context-sources.js.map +1 -1
  19. package/dist/errors.d.ts +3 -1
  20. package/dist/errors.d.ts.map +1 -1
  21. package/dist/errors.js +14 -0
  22. package/dist/errors.js.map +1 -1
  23. package/dist/first-screen.d.ts.map +1 -1
  24. package/dist/first-screen.js +1 -2
  25. package/dist/first-screen.js.map +1 -1
  26. package/dist/index.d.ts +0 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +0 -1
  29. package/dist/index.js.map +1 -1
  30. package/dist/local-transcription-commands.js +2 -2
  31. package/dist/local-transcription-commands.js.map +1 -1
  32. package/dist/local-transcription.d.ts.map +1 -1
  33. package/dist/local-transcription.js +41 -17
  34. package/dist/local-transcription.js.map +1 -1
  35. package/dist/mcp-command.d.ts +20 -0
  36. package/dist/mcp-command.d.ts.map +1 -0
  37. package/dist/mcp-command.js +50 -0
  38. package/dist/mcp-command.js.map +1 -0
  39. package/dist/mcp.d.ts +28 -0
  40. package/dist/mcp.d.ts.map +1 -0
  41. package/dist/mcp.js +107 -0
  42. package/dist/mcp.js.map +1 -0
  43. package/dist/media-decode.d.ts +14 -0
  44. package/dist/media-decode.d.ts.map +1 -0
  45. package/dist/media-decode.js +61 -0
  46. package/dist/media-decode.js.map +1 -0
  47. package/dist/meeting-inventory.d.ts +1 -2
  48. package/dist/meeting-inventory.d.ts.map +1 -1
  49. package/dist/meeting-inventory.js +1 -5
  50. package/dist/meeting-inventory.js.map +1 -1
  51. package/dist/meeting-search-commands.d.ts +1 -1
  52. package/dist/meeting-search-commands.d.ts.map +1 -1
  53. package/dist/meeting-search-commands.js +42 -29
  54. package/dist/meeting-search-commands.js.map +1 -1
  55. package/dist/meeting-semantic-commands.d.ts +6 -2
  56. package/dist/meeting-semantic-commands.d.ts.map +1 -1
  57. package/dist/meeting-semantic-commands.js +1 -2
  58. package/dist/meeting-semantic-commands.js.map +1 -1
  59. package/dist/meeting-semantic.d.ts +5 -3
  60. package/dist/meeting-semantic.d.ts.map +1 -1
  61. package/dist/meeting-semantic.js +18 -13
  62. package/dist/meeting-semantic.js.map +1 -1
  63. package/dist/meeting-stats-commands.d.ts +15 -0
  64. package/dist/meeting-stats-commands.d.ts.map +1 -0
  65. package/dist/meeting-stats-commands.js +88 -0
  66. package/dist/meeting-stats-commands.js.map +1 -0
  67. package/dist/models-commands.d.ts +12 -0
  68. package/dist/models-commands.d.ts.map +1 -0
  69. package/dist/models-commands.js +67 -0
  70. package/dist/models-commands.js.map +1 -0
  71. package/dist/permissions.d.ts +26 -0
  72. package/dist/permissions.d.ts.map +1 -0
  73. package/dist/permissions.js +95 -0
  74. package/dist/permissions.js.map +1 -0
  75. package/dist/profile-word.d.ts +25 -0
  76. package/dist/profile-word.d.ts.map +1 -0
  77. package/dist/profile-word.js +65 -0
  78. package/dist/profile-word.js.map +1 -0
  79. package/dist/profile.d.ts +12 -0
  80. package/dist/profile.d.ts.map +1 -1
  81. package/dist/profile.js +30 -0
  82. package/dist/profile.js.map +1 -1
  83. package/dist/program.d.ts +4 -2
  84. package/dist/program.d.ts.map +1 -1
  85. package/dist/program.js +35 -36
  86. package/dist/program.js.map +1 -1
  87. package/dist/read-only.d.ts +1 -0
  88. package/dist/read-only.d.ts.map +1 -1
  89. package/dist/read-only.js +5 -7
  90. package/dist/read-only.js.map +1 -1
  91. package/dist/recording-schedule-setup.d.ts +2 -1
  92. package/dist/recording-schedule-setup.d.ts.map +1 -1
  93. package/dist/recording-schedule-setup.js +8 -5
  94. package/dist/recording-schedule-setup.js.map +1 -1
  95. package/dist/recording-schedule-systemd.d.ts.map +1 -1
  96. package/dist/recording-schedule-systemd.js +1 -0
  97. package/dist/recording-schedule-systemd.js.map +1 -1
  98. package/dist/remote-http.js +2 -2
  99. package/dist/remote-http.js.map +1 -1
  100. package/dist/setup-commands.d.ts +3 -1
  101. package/dist/setup-commands.d.ts.map +1 -1
  102. package/dist/setup-commands.js +26 -16
  103. package/dist/setup-commands.js.map +1 -1
  104. package/dist/store-commands.d.ts.map +1 -1
  105. package/dist/store-commands.js +11 -0
  106. package/dist/store-commands.js.map +1 -1
  107. package/dist/store-connection.d.ts +2 -0
  108. package/dist/store-connection.d.ts.map +1 -1
  109. package/dist/store-connection.js +6 -2
  110. package/dist/store-connection.js.map +1 -1
  111. package/dist/tokens.d.ts +11 -3
  112. package/dist/tokens.d.ts.map +1 -1
  113. package/dist/tokens.js +70 -23
  114. package/dist/tokens.js.map +1 -1
  115. package/dist/upgrade.d.ts +7 -0
  116. package/dist/upgrade.d.ts.map +1 -0
  117. package/dist/upgrade.js +34 -0
  118. package/dist/upgrade.js.map +1 -0
  119. package/dist/version.d.ts +1 -1
  120. package/dist/version.js +1 -1
  121. package/dist/watch-service.d.ts +2 -1
  122. package/dist/watch-service.d.ts.map +1 -1
  123. package/dist/watch-service.js +3 -3
  124. package/dist/watch-service.js.map +1 -1
  125. package/package.json +4 -3
  126. package/skills/zoom-cli/SKILL.md +15 -16
  127. package/dist/mcp-server.d.ts +0 -9
  128. package/dist/mcp-server.d.ts.map +0 -1
  129. package/dist/mcp-server.js +0 -435
  130. package/dist/mcp-server.js.map +0 -1
  131. package/dist/meeting-inventory-mcp.d.ts +0 -194
  132. package/dist/meeting-inventory-mcp.d.ts.map +0 -1
  133. package/dist/meeting-inventory-mcp.js +0 -12
  134. package/dist/meeting-inventory-mcp.js.map +0 -1
  135. package/dist/meeting-mcp-command.d.ts +0 -24
  136. package/dist/meeting-mcp-command.d.ts.map +0 -1
  137. package/dist/meeting-mcp-command.js +0 -52
  138. package/dist/meeting-mcp-command.js.map +0 -1
  139. package/dist/meeting-mcp-options.d.ts +0 -26
  140. package/dist/meeting-mcp-options.d.ts.map +0 -1
  141. package/dist/meeting-mcp-options.js +0 -2
  142. package/dist/meeting-mcp-options.js.map +0 -1
  143. package/dist/meeting-preparation-mcp.d.ts +0 -563
  144. package/dist/meeting-preparation-mcp.d.ts.map +0 -1
  145. package/dist/meeting-preparation-mcp.js +0 -42
  146. package/dist/meeting-preparation-mcp.js.map +0 -1
  147. package/dist/meeting-project-candidates-mcp.d.ts +0 -230
  148. package/dist/meeting-project-candidates-mcp.d.ts.map +0 -1
  149. package/dist/meeting-project-candidates-mcp.js +0 -16
  150. package/dist/meeting-project-candidates-mcp.js.map +0 -1
  151. package/dist/meeting-project-evidence-mcp.d.ts +0 -152
  152. package/dist/meeting-project-evidence-mcp.d.ts.map +0 -1
  153. package/dist/meeting-project-evidence-mcp.js +0 -38
  154. package/dist/meeting-project-evidence-mcp.js.map +0 -1
@@ -1,563 +0,0 @@
1
- import type { Command } from "commander";
2
- import type { ContextCapture } from "./meeting-communications-binding.js";
3
- import { type PreparationConnection, type PreparationStoreRequest, type ZoomPreparationOptions } from "./meeting-preparation.js";
4
- export declare const preparationToolFor: (context?: ContextCapture) => {
5
- name: string;
6
- annotations: {
7
- readOnlyHint: boolean;
8
- destructiveHint: boolean;
9
- idempotentHint: boolean;
10
- openWorldHint: boolean;
11
- };
12
- outputSchema: {
13
- type: "object";
14
- };
15
- inputSchema: {
16
- type: "object";
17
- };
18
- description: string;
19
- };
20
- export declare const readPreparationTool: (deps: {
21
- connectStore: (request?: PreparationStoreRequest) => Promise<PreparationConnection>;
22
- preparation?: ZoomPreparationOptions;
23
- commandRegistry?: Command;
24
- now?: () => number;
25
- }, input: unknown, signal: AbortSignal) => Promise<{
26
- content: {
27
- type: "text";
28
- text: string;
29
- }[];
30
- structuredContent: {
31
- error: {
32
- code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "internal_error" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
33
- reason: string;
34
- message: string;
35
- param?: string | undefined;
36
- details?: {
37
- [x: string]: unknown;
38
- } | undefined;
39
- next?: ({
40
- kind: "command";
41
- step: string;
42
- command: string;
43
- args: {
44
- [x: string]: unknown;
45
- };
46
- line?: string | undefined;
47
- why: string;
48
- safe_to_auto_execute: boolean;
49
- } | {
50
- kind: "user_action";
51
- step: string;
52
- why: string;
53
- safe_to_auto_execute: false;
54
- })[] | undefined;
55
- retry: {
56
- safe: boolean;
57
- after_ms?: number | undefined;
58
- };
59
- run_id?: string | undefined;
60
- };
61
- };
62
- isError: true;
63
- } | {
64
- content: {
65
- type: "text";
66
- text: string;
67
- }[];
68
- structuredContent: {
69
- items: unknown[];
70
- page: {
71
- mode: "page";
72
- limit: number;
73
- has_more: boolean;
74
- next_page?: number | undefined;
75
- } | {
76
- mode: "cursor";
77
- limit: number;
78
- has_more: boolean;
79
- next_cursor?: string | undefined;
80
- };
81
- next?: ({
82
- kind: "command";
83
- step: string;
84
- command: string;
85
- args: {
86
- [x: string]: unknown;
87
- };
88
- line?: string | undefined;
89
- why: string;
90
- safe_to_auto_execute: boolean;
91
- } | {
92
- kind: "user_action";
93
- step: string;
94
- why: string;
95
- safe_to_auto_execute: false;
96
- })[] | undefined;
97
- missing?: {
98
- field: string;
99
- why: string;
100
- step?: string | undefined;
101
- }[] | undefined;
102
- meta: {
103
- run_id: string;
104
- duration_ms: number;
105
- accounts?: string[] | undefined;
106
- complete: boolean;
107
- issues?: {
108
- code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
109
- reason?: string | undefined;
110
- source: string;
111
- }[] | undefined;
112
- truncated?: boolean | undefined;
113
- timezone?: string | undefined;
114
- window?: {
115
- since?: string | undefined;
116
- until?: string | undefined;
117
- } | undefined;
118
- };
119
- } | {
120
- item: unknown;
121
- next?: ({
122
- kind: "command";
123
- step: string;
124
- command: string;
125
- args: {
126
- [x: string]: unknown;
127
- };
128
- line?: string | undefined;
129
- why: string;
130
- safe_to_auto_execute: boolean;
131
- } | {
132
- kind: "user_action";
133
- step: string;
134
- why: string;
135
- safe_to_auto_execute: false;
136
- })[] | undefined;
137
- missing?: {
138
- field: string;
139
- why: string;
140
- step?: string | undefined;
141
- }[] | undefined;
142
- meta: {
143
- run_id: string;
144
- duration_ms: number;
145
- accounts?: string[] | undefined;
146
- complete: boolean;
147
- issues?: {
148
- code: "authentication_error" | "cancelled" | "configuration_error" | "confirmation_required" | "invalid_response" | "network_error" | "not_found" | "outcome_unknown" | "permission_error" | "provider_error" | "provider_unavailable" | "rate_limited" | "timeout" | "validation_error";
149
- reason?: string | undefined;
150
- source: string;
151
- }[] | undefined;
152
- truncated?: boolean | undefined;
153
- timezone?: string | undefined;
154
- window?: {
155
- since?: string | undefined;
156
- until?: string | undefined;
157
- } | undefined;
158
- };
159
- };
160
- } | ({
161
- content: {
162
- type: "text";
163
- text: string;
164
- }[];
165
- structuredContent: import("@wirecat/cli-core/cli").ItemBody<{
166
- communications?: {
167
- coverage: {
168
- read_usage: {
169
- reads: number;
170
- charged_bytes: number;
171
- reserved_bytes: number;
172
- remaining_bytes: number;
173
- };
174
- query: string;
175
- window: {
176
- after: string;
177
- before: string;
178
- };
179
- selection: "explicit-host-grants/literal-words";
180
- sources: {
181
- selection_id: string;
182
- source: {
183
- kind: "document" | "mail" | "message";
184
- account_id: string;
185
- provider: string;
186
- account: string;
187
- };
188
- state: "read-limited" | "searched" | "unavailable";
189
- index: "missing" | "pending" | "ready" | "unknown";
190
- has_more: boolean;
191
- has_undated: boolean;
192
- completeness: "unknown";
193
- consistency: "snapshot-per-page";
194
- next_cursor: string | null;
195
- restart_required: boolean;
196
- output_limited: boolean;
197
- read_bytes: number | null;
198
- issue: "configuration_error" | "not_found" | "validation_error" | null;
199
- }[];
200
- };
201
- items: {
202
- selection_id: string;
203
- ref: string;
204
- provider: string;
205
- account: string;
206
- title: string | null;
207
- url: string | null;
208
- text: string;
209
- at: string;
210
- updated_at: string;
211
- revision: number | null;
212
- time_kind: "sent" | "source-modified" | "stored-update";
213
- text_truncated: boolean;
214
- }[];
215
- } | undefined;
216
- schema_version: 1;
217
- kind: "meeting_preparation";
218
- account_id: string;
219
- upcoming: {
220
- scope: {
221
- provider: string;
222
- account: string;
223
- };
224
- meeting_id: string;
225
- kind: "recurring" | "single" | "unknown" | "unscheduled";
226
- after: string;
227
- until: string;
228
- timezone: string | null;
229
- verified_next: boolean;
230
- candidate: {
231
- id: string | null;
232
- start_at: string | null;
233
- end_at: string | null;
234
- status: "cancelled" | "scheduled";
235
- verified: boolean;
236
- } | null;
237
- coverage: {
238
- schedule_complete: boolean;
239
- inspected: number;
240
- undated: number;
241
- unverified: number;
242
- cancelled: number;
243
- simultaneous: number;
244
- missing: ("occurrence-details" | "schedule-details")[];
245
- };
246
- };
247
- series: {
248
- id: string;
249
- external_id: string;
250
- title: string | null;
251
- event_series_id: string | null;
252
- updated_at: string;
253
- } | null;
254
- history_window: {
255
- after: string;
256
- before: string;
257
- };
258
- meetings: {
259
- ref: string;
260
- meeting: {
261
- id: string;
262
- external_id: string;
263
- title: string | null;
264
- event_id: string | null;
265
- started_at: string | null;
266
- ended_at: string | null;
267
- updated_at: string;
268
- };
269
- evidence: {
270
- schema_version: 1;
271
- kind: "meeting";
272
- source: string;
273
- fingerprint: string;
274
- limits: {
275
- cues: number;
276
- bytes: number;
277
- max_read_bytes: number;
278
- max_transcript_pages: number;
279
- };
280
- content_bytes: number;
281
- coverage: {
282
- provided: number;
283
- included: number;
284
- omitted: number | null;
285
- provided_exact: boolean;
286
- next_transcript_id: string | null;
287
- next_reference: string | null;
288
- transcript_pages: number;
289
- skipped_unavailable: number;
290
- has_more: boolean;
291
- truncated_by: "bytes" | "cues" | "transcripts" | null;
292
- input: "bounded-meeting-pages";
293
- archive_completeness: "unknown";
294
- };
295
- items: {
296
- ref: string;
297
- fingerprint: string;
298
- transcript_id: string;
299
- content_hash: string | null;
300
- position: number;
301
- offset_ms: number;
302
- end_ms: number;
303
- speaker_participant_id: string | null;
304
- speaker_name: string | null;
305
- text: string;
306
- revision: "current" | "superseded";
307
- }[];
308
- };
309
- context: {
310
- participants: {
311
- items: {
312
- id: string;
313
- identity_id: string;
314
- display_name: string | null;
315
- person_uid: string | null;
316
- }[];
317
- has_more: boolean;
318
- };
319
- projects: {
320
- items: {
321
- ref: string;
322
- key: string;
323
- name: string;
324
- link_id: string;
325
- }[];
326
- has_more: boolean;
327
- };
328
- facts: {
329
- items: {
330
- ref: string;
331
- type: string;
332
- statement: string;
333
- updated_at: string;
334
- }[];
335
- has_more: boolean;
336
- };
337
- tasks: {
338
- items: {
339
- ref: string;
340
- key: string;
341
- title: string;
342
- status: string;
343
- priority: number | null;
344
- source: string | null;
345
- }[];
346
- has_more: boolean;
347
- };
348
- };
349
- }[];
350
- related: {
351
- anchors: string[];
352
- items: {
353
- ref: string;
354
- meeting: {
355
- id: string;
356
- external_id: string;
357
- title: string | null;
358
- event_id: string | null;
359
- started_at: string | null;
360
- ended_at: string | null;
361
- updated_at: string;
362
- };
363
- evidence: {
364
- schema_version: 1;
365
- kind: "meeting";
366
- source: string;
367
- fingerprint: string;
368
- limits: {
369
- cues: number;
370
- bytes: number;
371
- max_read_bytes: number;
372
- max_transcript_pages: number;
373
- };
374
- content_bytes: number;
375
- coverage: {
376
- provided: number;
377
- included: number;
378
- omitted: number | null;
379
- provided_exact: boolean;
380
- next_transcript_id: string | null;
381
- next_reference: string | null;
382
- transcript_pages: number;
383
- skipped_unavailable: number;
384
- has_more: boolean;
385
- truncated_by: "bytes" | "cues" | "transcripts" | null;
386
- input: "bounded-meeting-pages";
387
- archive_completeness: "unknown";
388
- };
389
- items: {
390
- ref: string;
391
- fingerprint: string;
392
- transcript_id: string;
393
- content_hash: string | null;
394
- position: number;
395
- offset_ms: number;
396
- end_ms: number;
397
- speaker_participant_id: string | null;
398
- speaker_name: string | null;
399
- text: string;
400
- revision: "current" | "superseded";
401
- }[];
402
- };
403
- shared_person: boolean;
404
- shared_project: boolean;
405
- }[];
406
- has_more: boolean;
407
- output_limited: boolean;
408
- selection: "explicit-person-links/confirmed-project-links";
409
- };
410
- knowledge?: {
411
- anchors: string[];
412
- items: {
413
- ref: string;
414
- type: "decision" | "fact" | "promise" | "question" | "statement";
415
- statement: string;
416
- subject: string | null;
417
- project: string | null;
418
- updated_at: string;
419
- shared_person: boolean;
420
- shared_project: boolean;
421
- }[];
422
- selection: "accepted-global-person/project-facts";
423
- coverage: {
424
- has_more: boolean;
425
- output_limited: boolean;
426
- fact_evidence: "not-revalidated";
427
- other_sources: "not-queried" | "see-communications";
428
- };
429
- } | undefined;
430
- notes?: {
431
- anchors: string[];
432
- items: {
433
- ref: string;
434
- title: string | null;
435
- text: string;
436
- revision: number;
437
- updated_at: string;
438
- person: string | null;
439
- project: string | null;
440
- meeting?: string | null | undefined;
441
- }[];
442
- selection: "owner-written-global-person/project-notes" | "owner-written-meeting/person/project-notes";
443
- coverage: {
444
- has_more: boolean;
445
- output_limited: boolean;
446
- source_evidence: "not-revalidated";
447
- other_sources: "not-queried" | "see-communications";
448
- };
449
- } | undefined;
450
- project_evidence?: {
451
- project: string;
452
- query: string;
453
- pages: {
454
- schema_version: 1;
455
- kind: "meeting_project_evidence";
456
- account_id: string;
457
- query: string;
458
- project: {
459
- id: string;
460
- name: string;
461
- key: string | null;
462
- };
463
- term: {
464
- name: string;
465
- kind: "alias" | "canonical" | "key";
466
- alias_id?: string | undefined;
467
- };
468
- hits: {
469
- ref: string;
470
- meeting: string;
471
- scope: "chat" | "summary" | "transcript";
472
- id: string;
473
- excerpt: string;
474
- offset_ms: number | null;
475
- match?: "corrected" | "words" | undefined;
476
- corrections?: {
477
- from: string;
478
- to: string[];
479
- }[] | undefined;
480
- source?: {
481
- ref: string;
482
- title: string | null;
483
- started_at: string | null;
484
- url: string | null;
485
- } | undefined;
486
- }[];
487
- association: "unconfirmed-word-evidence";
488
- vocabulary_fingerprint: string;
489
- selection: {
490
- meeting_id?: string | undefined;
491
- identity_id?: string | undefined;
492
- person_id?: string | undefined;
493
- tag_id?: string | undefined;
494
- event_id?: string | undefined;
495
- series_id?: string | undefined;
496
- since?: string | undefined;
497
- until?: string | undefined;
498
- };
499
- limits: {
500
- limit: number;
501
- max_read_bytes: number;
502
- max_vocabulary_read_bytes: number;
503
- max_terms: number;
504
- };
505
- page: {
506
- mode: "page";
507
- limit: number;
508
- has_more: boolean;
509
- next_page?: number | undefined;
510
- } | {
511
- mode: "cursor";
512
- limit: number;
513
- has_more: boolean;
514
- next_cursor?: string | undefined;
515
- };
516
- coverage: {
517
- archive_completeness: "unknown";
518
- current_revisions: true;
519
- indexing: "pending" | "ready";
520
- index_completeness: "unknown";
521
- term_index: number;
522
- terms_total: number;
523
- remaining_terms: number;
524
- duplicates: "may-repeat-between-terms";
525
- };
526
- }[];
527
- continuation: {
528
- command: "meetings projects evidence";
529
- project: string;
530
- query: string;
531
- cursor: string | null;
532
- limit: number;
533
- max_read_bytes: number;
534
- } | null;
535
- coverage: {
536
- page_limit: number;
537
- has_more: boolean;
538
- output_limited: boolean;
539
- };
540
- } | undefined;
541
- limits: {
542
- meetings: number;
543
- cues: number;
544
- context_limit: number;
545
- max_read_bytes: number;
546
- bytes: number;
547
- };
548
- coverage: {
549
- archive_completeness: "unknown";
550
- consistency: "live-reads";
551
- history_has_more: boolean;
552
- has_undated: boolean;
553
- skipped_unavailable: string[];
554
- output_limited: boolean;
555
- context: "observed-participants/confirmed-projects/accepted-meeting-subject-facts/direct-source-tasks";
556
- fact_evidence: "not-revalidated";
557
- unqueried: ("other-person-nonmeeting-context" | "other-project-nonmeeting-context" | "person-history" | "person-nonmeeting-context" | "project-alias-candidates" | "project-nonmeeting-context" | "project-wide-context")[];
558
- };
559
- }>;
560
- } & {
561
- isError?: boolean;
562
- })>;
563
- //# sourceMappingURL=meeting-preparation-mcp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meeting-preparation-mcp.d.ts","sourceRoot":"","sources":["../src/meeting-preparation-mcp.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC5B,MAAM,0BAA0B,CAAA;AAOjC,eAAO,MAAM,kBAAkB,aAAc,cAAc;;;;;;;;;;;;;;;CAc1D,CAAA;AAED,eAAO,MAAM,mBAAmB,SACxB;IACJ,YAAY,EAAE,CAAC,OAAO,CAAC,EAAE,uBAAuB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACnF,WAAW,CAAC,EAAE,sBAAsB,CAAA;IACpC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,GAAG,CAAC,EAAE,MAAM,MAAM,CAAA;CACnB,SACM,OAAO,UACN,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAClC,CAAA"}
@@ -1,42 +0,0 @@
1
- import { CliError, errorObjectOf, mcpErrorResult } from "@wirecat/cli-base";
2
- import { callMeetingPreparationTool, meetingPreparationTool, REMOTE_READ } from "@wirecat/cli-core/cli";
3
- import { hostFailureContext } from "./answer-policy.js";
4
- import { readMetadata, toolAnswer } from "./answers.js";
5
- import { createZoomPreparationReader, } from "./meeting-preparation.js";
6
- const schemaObject = (value) => {
7
- if (!value || typeof value !== "object" || Array.isArray(value))
8
- throw new CliError("configuration_error", "shared preparation schema does not support scoped context selections");
9
- return value;
10
- };
11
- export const preparationToolFor = (context) => {
12
- const shared = meetingPreparationTool({ communications: !!context?.ids.length });
13
- const inputSchema = structuredClone(shared.inputSchema);
14
- const properties = schemaObject(schemaObject(inputSchema).properties);
15
- if (context?.ids.length) {
16
- const sources = schemaObject(schemaObject(schemaObject(properties.communications).properties).sources);
17
- const id = schemaObject(schemaObject(schemaObject(sources.items).properties).id);
18
- id.enum = [...context.ids];
19
- }
20
- else
21
- delete properties.communications;
22
- return {
23
- ...shared,
24
- inputSchema,
25
- description: `${shared.description} ${context?.ids.length ? `Configured communications IDs: ${context.ids.join(", ")}.` : "No communications sources are configured for this profile."}`,
26
- };
27
- };
28
- export const readPreparationTool = async (deps, input, signal) => {
29
- const meta = readMetadata(deps.now);
30
- const result = await callMeetingPreparationTool(async (seriesId, request) => {
31
- if (!deps.preparation)
32
- throw new CliError("configuration_error", "meeting preparation is not enabled");
33
- return createZoomPreparationReader({ ...deps.preparation, connect: (context) => deps.connectStore({ context }) })(seriesId, request);
34
- }, input, signal, hostFailureContext(deps.commandRegistry, REMOTE_READ), deps.now?.(), { communications: !!deps.preparation?.context?.().ids.length });
35
- if ("isError" in result && result.isError)
36
- return result;
37
- if (signal.aborted)
38
- return mcpErrorResult(errorObjectOf(new CliError("cancelled", "meeting preparation was cancelled"), hostFailureContext(undefined, REMOTE_READ)));
39
- const answer = toolAnswer(result.structuredContent, meta(), deps.commandRegistry);
40
- return { content: [{ type: "text", text: JSON.stringify(answer) }], structuredContent: answer };
41
- };
42
- //# sourceMappingURL=meeting-preparation-mcp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meeting-preparation-mcp.js","sourceRoot":"","sources":["../src/meeting-preparation-mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAEvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEvD,OAAO,EACL,2BAA2B,GAI5B,MAAM,0BAA0B,CAAA;AAEjC,MAAM,YAAY,GAAG,CAAC,KAAc,EAA2B,EAAE;IAC/D,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAC7D,MAAM,IAAI,QAAQ,CAAC,qBAAqB,EAAE,sEAAsE,CAAC,CAAA;IACnH,OAAO,KAAgC,CAAA;AACzC,CAAC,CAAA;AACD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,OAAwB,EAAE,EAAE;IAC7D,MAAM,MAAM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