@wirecat/cli-core 0.663.0 → 0.665.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.
- package/CHANGELOG.md +141 -0
- package/dist/background/daily-archive-timer.d.ts +1 -1
- package/dist/calendar/index.d.ts +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/calendar/prepare.d.ts +2 -2
- package/dist/calendar/reads.d.ts +5 -5
- package/dist/calendar/writes.d.ts +4 -4
- package/dist/cli/chat-sending-command.d.ts +14 -0
- package/dist/cli/chat-sending-command.js +64 -0
- package/dist/cli/context.d.ts +7 -0
- package/dist/cli/context.js +12 -4
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +2 -0
- package/dist/cli/meeting-meaning-command.d.ts +47 -0
- package/dist/cli/meeting-meaning-command.js +136 -0
- package/dist/cli/meeting-preparation-answer.d.ts +6 -0
- package/dist/cli/meeting-preparation-projects.d.ts +6 -0
- package/dist/cli/meeting-preparation-read.d.ts +6 -0
- package/dist/cli/meeting-tags-command.d.ts +18 -0
- package/dist/cli/meeting-tags-command.js +74 -0
- package/dist/cli/messenger/conversation-answers.d.ts +1 -1
- package/dist/cli/messenger/conversation-answers.js +1 -0
- package/dist/cli/messenger/conversations-command.js +38 -12
- package/dist/cli/messenger/models-command.js +7 -0
- package/dist/cli/messenger/records-command.d.ts +4 -1
- package/dist/cli/messenger/records-command.js +6 -1
- package/dist/cli/model-catalogue-command.js +2 -0
- package/dist/cli/profile-token.d.ts +15 -1
- package/dist/cli/profile-token.js +103 -7
- package/dist/cli/program.js +2 -2
- package/dist/domain/links.d.ts +11 -0
- package/dist/domain/links.js +4 -0
- package/dist/entities/chat-sending.d.ts +10 -0
- package/dist/entities/chat-sending.js +11 -0
- package/dist/entities/index.d.ts +43 -1
- package/dist/entities/index.js +6 -2
- package/dist/entities/listings.d.ts +60 -0
- package/dist/entities/listings.js +15 -0
- package/dist/entities/meeting-preparation.d.ts +6 -0
- package/dist/entities/meeting.d.ts +1 -1
- package/dist/entities/meeting.js +1 -1
- package/dist/errors/reasons.js +25 -1
- package/dist/mcp/meeting-preparation.d.ts +6 -0
- package/dist/meetings/answers.d.ts +7 -0
- package/dist/meetings/answers.js +4 -0
- package/dist/meetings/event-store.d.ts +2 -1
- package/dist/meetings/event-store.js +6 -0
- package/dist/meetings/index.d.ts +2 -1
- package/dist/meetings/index.js +2 -1
- package/dist/meetings/mcp/search.d.ts +6 -0
- package/dist/meetings/project-evidence-answer.d.ts +6 -0
- package/dist/meetings/tag-answers.d.ts +43 -0
- package/dist/meetings/tag-answers.js +41 -0
- package/dist/models/chat-sending.d.ts +24 -0
- package/dist/models/chat-sending.js +40 -0
- package/dist/runs/events.d.ts +1 -1
- package/dist/search/question-plan.d.ts +5 -0
- package/dist/search/question-plan.js +5 -0
- package/dist/search/task-similarity.d.ts +1 -0
- package/dist/search/task-similarity.js +1 -1
- package/dist/services/embeddings-search.js +19 -5
- package/dist/services/embeddings.d.ts +4 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.js +2 -0
- package/dist/services/listings.js +17 -2
- package/dist/services/meeting-meaning.d.ts +47 -0
- package/dist/services/meeting-meaning.js +158 -0
- package/dist/services/meeting-tags.d.ts +27 -0
- package/dist/services/meeting-tags.js +81 -0
- package/dist/services/messages-discovery.js +2 -2
- package/dist/sftp/index.d.ts +1 -1
- package/dist/sftp/index.js +1 -1
- package/dist/sftp/session.d.ts +30 -4
- package/dist/sftp/session.js +195 -11
- package/dist/sftp/ssh2.d.ts +19 -4
- package/dist/sftp/ssh2.js +144 -17
- package/dist/speech/cloud.d.ts +47 -0
- package/dist/speech/cloud.js +73 -0
- package/dist/speech/decode.d.ts +36 -9
- package/dist/speech/decode.js +208 -61
- package/dist/speech/index.d.ts +2 -1
- package/dist/speech/index.js +2 -1
- package/dist/speech/openai.d.ts +4 -0
- package/dist/speech/openai.js +13 -12
- package/dist/sql/index.d.ts +1 -0
- package/dist/sql/index.js +1 -0
- package/dist/sql/reader.d.ts +95 -0
- package/dist/sql/reader.js +214 -0
- package/dist/store/sqlite/drizzle/bun.js +4 -4
- package/dist/store/sqlite/drizzle/bun.js.map +1 -1
- package/dist/store/sqlite/drizzle/core.js +5 -5
- package/dist/store/sqlite/drizzle/core.js.map +1 -1
- package/dist/store/sqlite/drizzle/node.js +4 -4
- package/dist/store/sqlite/drizzle/node.js.map +1 -1
- package/dist/store/sqlite/drizzle/{shared-55XJMTPA.js → shared-5XR7K42U.js} +58 -58
- package/dist/store/sqlite/drizzle/{shared-55XJMTPA.js.map → shared-5XR7K42U.js.map} +1 -1
- package/dist/store/sqlite/knowledge.d.ts +1 -1
- package/dist/store/sqlite/knowledge.js +8 -4
- package/dist/store/sqlite/labelled.d.ts +5 -0
- package/dist/store/sqlite/labelled.js +6 -0
- package/dist/store/sqlite/link-row.d.ts +1 -0
- package/dist/store/sqlite/link-row.js +2 -0
- package/dist/store/sqlite/meeting-listing.d.ts +12 -0
- package/dist/store/sqlite/meeting-listing.js +20 -5
- package/dist/store/sqlite/notes.d.ts +1 -1
- package/dist/store/sqlite/notes.js +1 -1
- package/package.json +18 -3
- package/parity.json +20 -1
- package/skills/link-conversations/SKILL.md +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
import { text, time } from "./fields.js";
|
|
3
|
+
/** `models chats`: whether chat text may go to a model outside this computer. */
|
|
4
|
+
export const chatSending = v.strictObject({
|
|
5
|
+
mode: v.picklist(["allowed", "ask", "denied"]),
|
|
6
|
+
meaning: text,
|
|
7
|
+
/** When the owner last set it; `null` while it is the default, ask. */
|
|
8
|
+
since: v.nullable(time),
|
|
9
|
+
/** `set` only: whether this run changed it. */
|
|
10
|
+
changed: v.optional(v.boolean()),
|
|
11
|
+
});
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { chatArchive, chatMuting, chatPin, chatRemoval, chatUnread } from "./cha
|
|
|
15
15
|
import { chatEvent } from "./chat-event.js";
|
|
16
16
|
import { cachedChatMetadata, chatMetadata, chatMetadataRefresh } from "./chat-metadata.js";
|
|
17
17
|
import { chatModeration, chatRules } from "./chat-moderation.js";
|
|
18
|
+
import { chatSending } from "./chat-sending.js";
|
|
18
19
|
import { chatStats, taskStats } from "./chat-stats.js";
|
|
19
20
|
import { chatTracking, trackedChat, trackedChatHistory } from "./chat-tracking.js";
|
|
20
21
|
import { contact } from "./contact.js";
|
|
@@ -91,7 +92,7 @@ import { topic } from "./topic.js";
|
|
|
91
92
|
* subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
|
|
92
93
|
* is the target, not a description of today's output.
|
|
93
94
|
*/
|
|
94
|
-
export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatCoverage, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mailCounts, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, responseTimes, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, scheduleHarness, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeImport, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, template, topic, topicIcon, trackedChat, trackedChatHistory, waitingChats, watchedMessage, watchItem, };
|
|
95
|
+
export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatCoverage, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatSending, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mailCounts, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, responseTimes, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, scheduleHarness, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeImport, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, template, topic, topicIcon, trackedChat, trackedChatHistory, waitingChats, watchedMessage, watchItem, };
|
|
95
96
|
export declare const ENTITIES: {
|
|
96
97
|
readonly meeting_change: v.StrictObjectSchema<{
|
|
97
98
|
readonly action: v.PicklistSchema<["create", "update", "cancel"], undefined>;
|
|
@@ -5461,6 +5462,12 @@ export declare const ENTITIES: {
|
|
|
5461
5462
|
readonly from: v.StringSchema<undefined>;
|
|
5462
5463
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
5463
5464
|
}, undefined>, undefined>, undefined>;
|
|
5465
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
5466
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
5467
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
5468
|
+
readonly first: v.StringSchema<undefined>;
|
|
5469
|
+
readonly last: v.StringSchema<undefined>;
|
|
5470
|
+
}, undefined>, undefined>;
|
|
5464
5471
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
5465
5472
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
5466
5473
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -5629,6 +5636,12 @@ export declare const ENTITIES: {
|
|
|
5629
5636
|
readonly from: v.StringSchema<undefined>;
|
|
5630
5637
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
5631
5638
|
}, undefined>, undefined>, undefined>;
|
|
5639
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
5640
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
5641
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
5642
|
+
readonly first: v.StringSchema<undefined>;
|
|
5643
|
+
readonly last: v.StringSchema<undefined>;
|
|
5644
|
+
}, undefined>, undefined>;
|
|
5632
5645
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
5633
5646
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
5634
5647
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -6003,6 +6016,12 @@ export declare const ENTITIES: {
|
|
|
6003
6016
|
readonly from: v.StringSchema<undefined>;
|
|
6004
6017
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6005
6018
|
}, undefined>, undefined>, undefined>;
|
|
6019
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
6020
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
6021
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
6022
|
+
readonly first: v.StringSchema<undefined>;
|
|
6023
|
+
readonly last: v.StringSchema<undefined>;
|
|
6024
|
+
}, undefined>, undefined>;
|
|
6006
6025
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
6007
6026
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6008
6027
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -6670,6 +6689,23 @@ export declare const ENTITIES: {
|
|
|
6670
6689
|
has_more: boolean;
|
|
6671
6690
|
} | undefined;
|
|
6672
6691
|
}>;
|
|
6692
|
+
readonly meeting_tag_change: v.StrictObjectSchema<{
|
|
6693
|
+
readonly tags: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6694
|
+
readonly matched: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
6695
|
+
readonly changed: v.ArraySchema<v.StrictObjectSchema<{
|
|
6696
|
+
readonly meeting: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6697
|
+
readonly meeting_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6698
|
+
readonly tags: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6699
|
+
}, undefined>, undefined>;
|
|
6700
|
+
}, undefined>;
|
|
6701
|
+
readonly meeting_tagging: v.StrictObjectSchema<{
|
|
6702
|
+
readonly meeting: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6703
|
+
readonly meeting_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6704
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6705
|
+
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
6706
|
+
readonly tags: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6707
|
+
readonly untrusted: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6708
|
+
}, undefined>;
|
|
6673
6709
|
readonly meeting_speaker: v.StrictObjectSchema<{
|
|
6674
6710
|
readonly key: v.StringSchema<undefined>;
|
|
6675
6711
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -10412,6 +10448,12 @@ export declare const ENTITIES: {
|
|
|
10412
10448
|
readonly stored: v.OptionalSchema<v.PicklistSchema<["environment", "keyring", "file"], undefined>, undefined>;
|
|
10413
10449
|
readonly removed: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["environment", "keyring", "file"], undefined>, undefined>, undefined>;
|
|
10414
10450
|
}, undefined>;
|
|
10451
|
+
readonly chat_sending: v.StrictObjectSchema<{
|
|
10452
|
+
readonly mode: v.PicklistSchema<["allowed", "ask", "denied"], undefined>;
|
|
10453
|
+
readonly meaning: v.StringSchema<undefined>;
|
|
10454
|
+
readonly since: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
10455
|
+
readonly changed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10456
|
+
}, undefined>;
|
|
10415
10457
|
readonly "model_key.stored": v.StrictObjectSchema<{
|
|
10416
10458
|
readonly provider: v.StringSchema<undefined>;
|
|
10417
10459
|
readonly stored: v.PicklistSchema<["environment", "keyring", "file"], undefined>;
|
package/dist/entities/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import { chatArchive, chatMuting, chatPin, chatRemoval, chatUnread } from "./cha
|
|
|
18
18
|
import { chatEvent } from "./chat-event.js";
|
|
19
19
|
import { cachedChatMetadata, chatMetadata, chatMetadataRefresh } from "./chat-metadata.js";
|
|
20
20
|
import { chatModeration, chatRules } from "./chat-moderation.js";
|
|
21
|
+
import { chatSending } from "./chat-sending.js";
|
|
21
22
|
import { chatStats, taskStats } from "./chat-stats.js";
|
|
22
23
|
import { chatTracking, trackedChat, trackedChatHistory } from "./chat-tracking.js";
|
|
23
24
|
import { contact } from "./contact.js";
|
|
@@ -49,7 +50,7 @@ import { messageEvent, serveSummary, watchedMessage, watchItem } from "./listene
|
|
|
49
50
|
import { mailCounts } from "./mail-counts.js";
|
|
50
51
|
import { mailFindings } from "./mail-findings.js";
|
|
51
52
|
import { mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer } from "./media-archive.js";
|
|
52
|
-
import { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTranscript, } from "./meeting.js";
|
|
53
|
+
import { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTagChange, meetingTagging, meetingTranscript, } from "./meeting.js";
|
|
53
54
|
import { meetingEvidence, meetingPersonContext } from "./meeting-evidence.js";
|
|
54
55
|
import { meetingFindings } from "./meeting-findings.js";
|
|
55
56
|
import { meetingPreparation } from "./meeting-preparation.js";
|
|
@@ -100,7 +101,7 @@ import { topic } from "./topic.js";
|
|
|
100
101
|
* subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
|
|
101
102
|
* is the target, not a description of today's output.
|
|
102
103
|
*/
|
|
103
|
-
export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatCoverage, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mailCounts, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, responseTimes, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, scheduleHarness, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeImport, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, template, topic, topicIcon, trackedChat, trackedChatHistory, waitingChats, watchedMessage, watchItem, };
|
|
104
|
+
export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatCoverage, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatSending, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mailCounts, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, responseTimes, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, scheduleHarness, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeImport, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, template, topic, topicIcon, trackedChat, trackedChatHistory, waitingChats, watchedMessage, watchItem, };
|
|
104
105
|
export const ENTITIES = {
|
|
105
106
|
sync_progress: syncProgress,
|
|
106
107
|
deal,
|
|
@@ -276,6 +277,8 @@ export const ENTITIES = {
|
|
|
276
277
|
meeting_stats: meetingStats,
|
|
277
278
|
meeting_counts: meetingCounts,
|
|
278
279
|
call_stats: callStats,
|
|
280
|
+
meeting_tag_change: meetingTagChange,
|
|
281
|
+
meeting_tagging: meetingTagging,
|
|
279
282
|
meeting_speaker: meetingSpeaker,
|
|
280
283
|
meeting_participants: meetingParticipants,
|
|
281
284
|
meeting_passage: meetingPassage,
|
|
@@ -352,6 +355,7 @@ export const ENTITIES = {
|
|
|
352
355
|
chat_moderation: chatModeration,
|
|
353
356
|
"model.chosen": chosenModel,
|
|
354
357
|
model_key: modelKey,
|
|
358
|
+
chat_sending: chatSending,
|
|
355
359
|
"model_key.stored": storedModelKey,
|
|
356
360
|
"model_key.removed": removedModelKey,
|
|
357
361
|
chat_event: chatEvent,
|
|
@@ -135,6 +135,12 @@ export declare const meetingEntry: v.StrictObjectSchema<{
|
|
|
135
135
|
readonly via: v.PicklistSchema<["calendar", "meeting"], undefined>;
|
|
136
136
|
readonly calendar: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
137
137
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
138
|
+
/** A calendar copy's own page at its provider (Google's `htmlLink`); a meeting's record keeps none. */
|
|
139
|
+
readonly page_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
+
/** How this calendar's owner answered the invitation. */
|
|
141
|
+
readonly own_response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
142
|
+
/** The conference's product, as the calendar names it (`Google Meet`, `Zoom Meeting`). */
|
|
143
|
+
readonly conference: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
138
144
|
}, undefined>, undefined>;
|
|
139
145
|
/** The meeting records on this row, `meeting:<account>/<id>`. */
|
|
140
146
|
readonly meetings: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -146,6 +152,8 @@ export declare const meetingEntry: v.StrictObjectSchema<{
|
|
|
146
152
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
147
153
|
}, undefined>, undefined>;
|
|
148
154
|
readonly organizer: v.BooleanSchema<undefined>;
|
|
155
|
+
/** The answer to a calendar's invitation; `null` for a meeting's participant, who was not asked. */
|
|
156
|
+
readonly response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
149
157
|
}, undefined>, undefined>;
|
|
150
158
|
readonly participants_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
151
159
|
readonly has_recording: v.BooleanSchema<undefined>;
|
|
@@ -156,6 +164,10 @@ export declare const meetingEntry: v.StrictObjectSchema<{
|
|
|
156
164
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
157
165
|
readonly role: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
158
166
|
}, undefined>, undefined>;
|
|
167
|
+
/** The calendar series the event is an occurrence of. */
|
|
168
|
+
readonly series_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
169
|
+
/** That series' repeat rule, its RFC 5545 `RRULE:` line. */
|
|
170
|
+
readonly recurrence: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
159
171
|
/** Findings waiting for the owner (`meetings actions`) that cite one of its meetings. */
|
|
160
172
|
readonly pending_findings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
161
173
|
readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -189,6 +201,12 @@ export declare const meetingEntryDetails: v.StrictObjectSchema<{
|
|
|
189
201
|
readonly via: v.PicklistSchema<["calendar", "meeting"], undefined>;
|
|
190
202
|
readonly calendar: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
191
203
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
204
|
+
/** A calendar copy's own page at its provider (Google's `htmlLink`); a meeting's record keeps none. */
|
|
205
|
+
readonly page_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
206
|
+
/** How this calendar's owner answered the invitation. */
|
|
207
|
+
readonly own_response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
208
|
+
/** The conference's product, as the calendar names it (`Google Meet`, `Zoom Meeting`). */
|
|
209
|
+
readonly conference: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
192
210
|
}, undefined>, undefined>;
|
|
193
211
|
/** The meeting records on this row, `meeting:<account>/<id>`. */
|
|
194
212
|
readonly meetings: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -200,6 +218,8 @@ export declare const meetingEntryDetails: v.StrictObjectSchema<{
|
|
|
200
218
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
201
219
|
}, undefined>, undefined>;
|
|
202
220
|
readonly organizer: v.BooleanSchema<undefined>;
|
|
221
|
+
/** The answer to a calendar's invitation; `null` for a meeting's participant, who was not asked. */
|
|
222
|
+
readonly response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
203
223
|
}, undefined>, undefined>;
|
|
204
224
|
readonly participants_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
205
225
|
readonly has_recording: v.BooleanSchema<undefined>;
|
|
@@ -210,11 +230,21 @@ export declare const meetingEntryDetails: v.StrictObjectSchema<{
|
|
|
210
230
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
211
231
|
readonly role: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
212
232
|
}, undefined>, undefined>;
|
|
233
|
+
/** The calendar series the event is an occurrence of. */
|
|
234
|
+
readonly series_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
235
|
+
/** That series' repeat rule, its RFC 5545 `RRULE:` line. */
|
|
236
|
+
readonly recurrence: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
213
237
|
/** Findings waiting for the owner (`meetings actions`) that cite one of its meetings. */
|
|
214
238
|
readonly pending_findings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
215
239
|
readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
216
240
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
217
241
|
readonly location: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
242
|
+
/** The calendar's Drive files; `document` once a Drive account has stored the file. */
|
|
243
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
244
|
+
readonly file_id: v.StringSchema<undefined>;
|
|
245
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
readonly document: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
247
|
+
}, undefined>, undefined>;
|
|
218
248
|
readonly summaries: v.ArraySchema<v.StrictObjectSchema<{
|
|
219
249
|
readonly meeting: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
220
250
|
readonly source: v.StringSchema<undefined>;
|
|
@@ -392,6 +422,12 @@ export declare const LISTING_ENTITIES: {
|
|
|
392
422
|
readonly via: v.PicklistSchema<["calendar", "meeting"], undefined>;
|
|
393
423
|
readonly calendar: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
394
424
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
425
|
+
/** A calendar copy's own page at its provider (Google's `htmlLink`); a meeting's record keeps none. */
|
|
426
|
+
readonly page_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
427
|
+
/** How this calendar's owner answered the invitation. */
|
|
428
|
+
readonly own_response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
429
|
+
/** The conference's product, as the calendar names it (`Google Meet`, `Zoom Meeting`). */
|
|
430
|
+
readonly conference: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
395
431
|
}, undefined>, undefined>;
|
|
396
432
|
/** The meeting records on this row, `meeting:<account>/<id>`. */
|
|
397
433
|
readonly meetings: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -403,6 +439,8 @@ export declare const LISTING_ENTITIES: {
|
|
|
403
439
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
404
440
|
}, undefined>, undefined>;
|
|
405
441
|
readonly organizer: v.BooleanSchema<undefined>;
|
|
442
|
+
/** The answer to a calendar's invitation; `null` for a meeting's participant, who was not asked. */
|
|
443
|
+
readonly response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
406
444
|
}, undefined>, undefined>;
|
|
407
445
|
readonly participants_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
408
446
|
readonly has_recording: v.BooleanSchema<undefined>;
|
|
@@ -413,6 +451,10 @@ export declare const LISTING_ENTITIES: {
|
|
|
413
451
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
414
452
|
readonly role: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
415
453
|
}, undefined>, undefined>;
|
|
454
|
+
/** The calendar series the event is an occurrence of. */
|
|
455
|
+
readonly series_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
456
|
+
/** That series' repeat rule, its RFC 5545 `RRULE:` line. */
|
|
457
|
+
readonly recurrence: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
416
458
|
/** Findings waiting for the owner (`meetings actions`) that cite one of its meetings. */
|
|
417
459
|
readonly pending_findings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
418
460
|
readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -445,6 +487,12 @@ export declare const LISTING_ENTITIES: {
|
|
|
445
487
|
readonly via: v.PicklistSchema<["calendar", "meeting"], undefined>;
|
|
446
488
|
readonly calendar: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
447
489
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
490
|
+
/** A calendar copy's own page at its provider (Google's `htmlLink`); a meeting's record keeps none. */
|
|
491
|
+
readonly page_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
492
|
+
/** How this calendar's owner answered the invitation. */
|
|
493
|
+
readonly own_response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
494
|
+
/** The conference's product, as the calendar names it (`Google Meet`, `Zoom Meeting`). */
|
|
495
|
+
readonly conference: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
448
496
|
}, undefined>, undefined>;
|
|
449
497
|
/** The meeting records on this row, `meeting:<account>/<id>`. */
|
|
450
498
|
readonly meetings: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -456,6 +504,8 @@ export declare const LISTING_ENTITIES: {
|
|
|
456
504
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
457
505
|
}, undefined>, undefined>;
|
|
458
506
|
readonly organizer: v.BooleanSchema<undefined>;
|
|
507
|
+
/** The answer to a calendar's invitation; `null` for a meeting's participant, who was not asked. */
|
|
508
|
+
readonly response: v.NullableSchema<v.PicklistSchema<readonly ["needs-action", "accepted", "tentative", "declined", "delegated"], undefined>, undefined>;
|
|
459
509
|
}, undefined>, undefined>;
|
|
460
510
|
readonly participants_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
461
511
|
readonly has_recording: v.BooleanSchema<undefined>;
|
|
@@ -466,11 +516,21 @@ export declare const LISTING_ENTITIES: {
|
|
|
466
516
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
467
517
|
readonly role: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
468
518
|
}, undefined>, undefined>;
|
|
519
|
+
/** The calendar series the event is an occurrence of. */
|
|
520
|
+
readonly series_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
521
|
+
/** That series' repeat rule, its RFC 5545 `RRULE:` line. */
|
|
522
|
+
readonly recurrence: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
469
523
|
/** Findings waiting for the owner (`meetings actions`) that cite one of its meetings. */
|
|
470
524
|
readonly pending_findings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
471
525
|
readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
472
526
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
473
527
|
readonly location: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
528
|
+
/** The calendar's Drive files; `document` once a Drive account has stored the file. */
|
|
529
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
530
|
+
readonly file_id: v.StringSchema<undefined>;
|
|
531
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
532
|
+
readonly document: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
533
|
+
}, undefined>, undefined>;
|
|
474
534
|
readonly summaries: v.ArraySchema<v.StrictObjectSchema<{
|
|
475
535
|
readonly meeting: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
476
536
|
readonly source: v.StringSchema<undefined>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
+
import { PARTICIPANT_RESPONSES } from "../meetings/index.js";
|
|
2
3
|
import { DOCUMENT_KINDS } from "../store/sqlite/document-listing.js";
|
|
3
4
|
import { MEETING_ROW_KINDS } from "../store/sqlite/meeting-listing.js";
|
|
4
5
|
import { count, id, reference, text, time, untrusted } from "./fields.js";
|
|
@@ -71,6 +72,8 @@ const participant = v.strictObject({
|
|
|
71
72
|
email: v.nullable(text),
|
|
72
73
|
person: v.nullable(personLink),
|
|
73
74
|
organizer: v.boolean(),
|
|
75
|
+
/** The answer to a calendar's invitation; `null` for a meeting's participant, who was not asked. */
|
|
76
|
+
response: v.nullable(v.picklist(PARTICIPANT_RESPONSES)),
|
|
74
77
|
});
|
|
75
78
|
/** One real meeting, call or calendar event: a calendar's event and its Zoom or Meet record are one row. */
|
|
76
79
|
export const meetingEntry = v.strictObject({
|
|
@@ -94,6 +97,12 @@ export const meetingEntry = v.strictObject({
|
|
|
94
97
|
via: v.picklist(["calendar", "meeting"]),
|
|
95
98
|
calendar: v.nullable(text),
|
|
96
99
|
ref: reference,
|
|
100
|
+
/** A calendar copy's own page at its provider (Google's `htmlLink`); a meeting's record keeps none. */
|
|
101
|
+
page_url: v.nullable(text),
|
|
102
|
+
/** How this calendar's owner answered the invitation. */
|
|
103
|
+
own_response: v.nullable(v.picklist(PARTICIPANT_RESPONSES)),
|
|
104
|
+
/** The conference's product, as the calendar names it (`Google Meet`, `Zoom Meeting`). */
|
|
105
|
+
conference: v.nullable(text),
|
|
97
106
|
})),
|
|
98
107
|
/** The meeting records on this row, `meeting:<account>/<id>`. */
|
|
99
108
|
meetings: v.array(reference),
|
|
@@ -103,6 +112,10 @@ export const meetingEntry = v.strictObject({
|
|
|
103
112
|
has_transcript: v.boolean(),
|
|
104
113
|
has_summary: v.boolean(),
|
|
105
114
|
documents: v.array(v.strictObject({ ref: reference, title: v.nullable(text), role: v.nullable(text) })),
|
|
115
|
+
/** The calendar series the event is an occurrence of. */
|
|
116
|
+
series_id: v.nullable(id),
|
|
117
|
+
/** That series' repeat rule, its RFC 5545 `RRULE:` line. */
|
|
118
|
+
recurrence: v.nullable(text),
|
|
106
119
|
/** Findings waiting for the owner (`meetings actions`) that cite one of its meetings. */
|
|
107
120
|
pending_findings: count,
|
|
108
121
|
untrusted,
|
|
@@ -112,6 +125,8 @@ export const meetingEntryDetails = v.strictObject({
|
|
|
112
125
|
...meetingEntry.entries,
|
|
113
126
|
description: v.nullable(text),
|
|
114
127
|
location: v.nullable(text),
|
|
128
|
+
/** The calendar's Drive files; `document` once a Drive account has stored the file. */
|
|
129
|
+
attachments: v.array(v.strictObject({ file_id: text, title: v.nullable(text), document: v.nullable(reference) })),
|
|
115
130
|
summaries: v.array(v.strictObject({
|
|
116
131
|
meeting: reference,
|
|
117
132
|
source: text,
|
|
@@ -317,6 +317,12 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
317
317
|
readonly from: v.StringSchema<undefined>;
|
|
318
318
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
319
319
|
}, undefined>, undefined>, undefined>;
|
|
320
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
321
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
322
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
323
|
+
readonly first: v.StringSchema<undefined>;
|
|
324
|
+
readonly last: v.StringSchema<undefined>;
|
|
325
|
+
}, undefined>, undefined>;
|
|
320
326
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
321
327
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
322
328
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTranscript, } from "../meetings/index.js";
|
|
1
|
+
export { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTagChange, meetingTagging, meetingTranscript, } from "../meetings/index.js";
|
package/dist/entities/meeting.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTranscript, } from "../meetings/index.js";
|
|
1
|
+
export { callStats, event, meeting, meetingCounts, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTagChange, meetingTagging, meetingTranscript, } from "../meetings/index.js";
|
package/dist/errors/reasons.js
CHANGED
|
@@ -24,6 +24,7 @@ const SIGN_IN = [
|
|
|
24
24
|
["oauth.timeout", "timeout", "the sign-in was not finished in time"],
|
|
25
25
|
["oauth.mismatch", "authentication_error", "the pasted sign-in result belongs to another sign-in"],
|
|
26
26
|
["session.missing", "authentication_error", "this profile is not signed in: no saved sign-in or API token"],
|
|
27
|
+
["session.unreadable", "configuration_error", "the profile's stored secrets cannot be read; sign in again"],
|
|
27
28
|
["oauth.locked", "provider_unavailable", "another process holds this sign-in's lock"],
|
|
28
29
|
["oauth.no-response", "outcome_unknown", "the token request did not finish"],
|
|
29
30
|
["oauth.unavailable", "provider_unavailable", "the provider's token endpoint is unavailable"],
|
|
@@ -61,6 +62,7 @@ const PROVIDER_API = [
|
|
|
61
62
|
["file.not-found", "not_found", "the file named, or its folder, does not exist"],
|
|
62
63
|
validation("file.not-a-file", "the path names a folder or another thing that is not a file"),
|
|
63
64
|
["file.denied", "permission_error", "the file cannot be opened: permission denied"],
|
|
65
|
+
validation("file.too-large", "the file is larger than the limit set for this read"),
|
|
64
66
|
];
|
|
65
67
|
/** The read-only SFTP client (`./sftp`). */
|
|
66
68
|
const SFTP = [
|
|
@@ -72,6 +74,21 @@ const SFTP = [
|
|
|
72
74
|
["sftp.timeout", "timeout", "the SFTP server did not answer in time"],
|
|
73
75
|
validation("sftp.too-large", "the file is larger than the read's byte limit"),
|
|
74
76
|
validation("sftp.closed", "the SFTP connection was closed before the operation"),
|
|
77
|
+
validation("sftp.file-changed", "the file changed on the server while a stream read it; read it again"),
|
|
78
|
+
["ssh.forward-refused", "permission_error", "the SSH server does not allow forwarding to that address"],
|
|
79
|
+
["ssh.forward-failed", "network_error", "the SSH server could not reach the address behind it"],
|
|
80
|
+
];
|
|
81
|
+
/** The read-only SQL reader (`./sql`). */
|
|
82
|
+
const SQL = [
|
|
83
|
+
validation("sql.bad-identifier", "a table or column name is not a plain identifier"),
|
|
84
|
+
["sql.library-missing", "configuration_error", "this database needs the mysql2 or pg package in the CLI"],
|
|
85
|
+
["db.refused", "authentication_error", "the database server refused the user or password"],
|
|
86
|
+
["db.no-database", "not_found", "the database server has no such database"],
|
|
87
|
+
["db.no-table", "not_found", "the database has no such table"],
|
|
88
|
+
["db.no-select", "permission_error", "the database user may not read the table; grant it SELECT"],
|
|
89
|
+
["db.read-only", "permission_error", "the database refused a write: the connection only reads"],
|
|
90
|
+
["db.timeout", "timeout", "the database server did not answer in time"],
|
|
91
|
+
["db.failed", "provider_error", "the database server failed the query"],
|
|
75
92
|
];
|
|
76
93
|
const OTHERS = [
|
|
77
94
|
validation("doctor.report-exists", "the report's file exists; a problem report never overwrites a file"),
|
|
@@ -103,6 +120,13 @@ const OTHERS = [
|
|
|
103
120
|
["ai.images-not-allowed", "permission_error", "the AI model may not read pictures; models ai set --allow-remote"],
|
|
104
121
|
["picture-reading.off", "permission_error", "picture reading is never; models picture-reading set request"],
|
|
105
122
|
["picture-reading.owner-only", "permission_error", "only the owner turns picture reading on, not an agent"],
|
|
123
|
+
[
|
|
124
|
+
"chat-sending.denied",
|
|
125
|
+
"permission_error",
|
|
126
|
+
"models chats is denied: chat text never goes to a model off this computer, even with --yes",
|
|
127
|
+
],
|
|
128
|
+
["chat-sending.ask", "confirmation_required", "models chats is ask: pass --yes, or the owner sets it to allowed"],
|
|
129
|
+
["chat-sending.owner-only", "permission_error", "only the owner makes models chats less strict, not an agent"],
|
|
106
130
|
validation("picture-reading.agent-missing", "choose the agent that reads: --agent claude or --agent codex"),
|
|
107
131
|
validation("picture-reading.not-a-picture", "the file is not a PNG, JPEG or WebP picture"),
|
|
108
132
|
["picture-reading.unavailable-file", "not_found", "the picture could not be fetched, or is over the size limit"],
|
|
@@ -607,7 +631,7 @@ export const INPUT_FIELD_REASONS = defineReasons([
|
|
|
607
631
|
export const REASONS = defineReasons([
|
|
608
632
|
...QUERY_REASONS,
|
|
609
633
|
...INPUT_FIELD_REASONS,
|
|
610
|
-
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...OTHERS].map(([reason, code, message]) => ({
|
|
634
|
+
...[...QUERY, ...SIGN_IN, ...PROVIDER_API, ...SFTP, ...SQL, ...OTHERS].map(([reason, code, message]) => ({
|
|
611
635
|
reason,
|
|
612
636
|
code,
|
|
613
637
|
message,
|
|
@@ -384,6 +384,12 @@ export declare const callMeetingPreparationTool: (read: MeetingPreparationReader
|
|
|
384
384
|
from: string;
|
|
385
385
|
to: string[];
|
|
386
386
|
}[] | undefined;
|
|
387
|
+
by?: ("meaning" | "words")[] | undefined;
|
|
388
|
+
score?: number | null | undefined;
|
|
389
|
+
passage?: {
|
|
390
|
+
first: string;
|
|
391
|
+
last: string;
|
|
392
|
+
} | undefined;
|
|
387
393
|
source?: {
|
|
388
394
|
ref: string;
|
|
389
395
|
title: string | null;
|
|
@@ -26,6 +26,13 @@ export declare const meetingHit: v.StrictObjectSchema<{
|
|
|
26
26
|
readonly from: v.StringSchema<undefined>;
|
|
27
27
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
28
28
|
}, undefined>, undefined>, undefined>;
|
|
29
|
+
/** A search with `--model`: which searches found it, its similarity in meaning, and the passage meaning matched. */
|
|
30
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
31
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
32
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
33
|
+
readonly first: v.StringSchema<undefined>;
|
|
34
|
+
readonly last: v.StringSchema<undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
29
36
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
30
37
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
31
38
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
package/dist/meetings/answers.js
CHANGED
|
@@ -25,6 +25,10 @@ export const meetingHit = v.strictObject({
|
|
|
25
25
|
/** `corrected`: a query word matched only a garbled form of itself, listed in `corrections`. */
|
|
26
26
|
match: v.optional(v.picklist(["words", "corrected"])),
|
|
27
27
|
corrections: v.optional(v.array(v.strictObject({ from: text, to: v.array(text) }))),
|
|
28
|
+
/** A search with `--model`: which searches found it, its similarity in meaning, and the passage meaning matched. */
|
|
29
|
+
by: v.optional(v.array(v.picklist(["words", "meaning"]))),
|
|
30
|
+
score: v.optional(v.nullable(v.number())),
|
|
31
|
+
passage: v.optional(v.strictObject({ first: text, last: text })),
|
|
28
32
|
source: v.optional(v.strictObject({
|
|
29
33
|
ref: reference,
|
|
30
34
|
title: v.nullable(text),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Event } from "./model.js";
|
|
2
2
|
/** RFC 5545 PARTSTAT: a participant's answer, and the owner's own. */
|
|
3
|
-
export
|
|
3
|
+
export declare const PARTICIPANT_RESPONSES: readonly ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
4
|
+
export type ParticipantResponse = (typeof PARTICIPANT_RESPONSES)[number];
|
|
4
5
|
/** What kind of entry it is. `default`, `from-mail` and `call` are searched (requirements 3.4); `call` is a phone's. */
|
|
5
6
|
export type EntryEventType = "default" | "out-of-office" | "focus" | "working-location" | "birthday" | "from-mail" | "call";
|
|
6
7
|
/** RFC 5545 TRANSP. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Calendar words are stored in one neutral spelling, RFC 5545 where it has one, lower case with hyphens. Each
|
|
3
|
+
* adapter translates its provider's words; a provider's own spelling never reaches a column.
|
|
4
|
+
*/
|
|
5
|
+
/** RFC 5545 PARTSTAT: a participant's answer, and the owner's own. */
|
|
6
|
+
export const PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
1
7
|
const UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
2
8
|
/** The last moment a series can have a slot, when its rule says; a COUNT rule or none repeats as far as this knows. */
|
|
3
9
|
const seriesEnd = (entry) => {
|
package/dist/meetings/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type { MeetingContextStore, MeetingEventLinkInput, MeetingEventLinkReceip
|
|
|
9
9
|
export { type MeetingCueIdentity, meetingCueFingerprint } from "./cue-fingerprint.js";
|
|
10
10
|
export { EVENT_QUERY } from "./event-query.js";
|
|
11
11
|
export type { CalendarAccessRole, CalendarInput, EntryAttachment, EntryAttachmentInput, EntryEventType, EntryInput, EntryKind, EntryParticipantInput, EntryRevision, EntryStatus, EntryTransparency, EntryVisibility, EventChange, EventDetails, EventFilter, EventStore, LinkReview, ParticipantResponse, ReviewDecision, SeriesSlots, StoredCalendar, StoredEntry, StoredParticipant, } from "./event-store.js";
|
|
12
|
-
export { entryInWindow, eventChange } from "./event-store.js";
|
|
12
|
+
export { entryInWindow, eventChange, PARTICIPANT_RESPONSES } from "./event-store.js";
|
|
13
13
|
export { linkEvent } from "./events.js";
|
|
14
14
|
export { exportMeeting, type MeetingExport, type MeetingExportFormat, type MeetingExportOptions, serializeVtt, } from "./export.js";
|
|
15
15
|
export { type FindingEvidence, type FindingOutcome, findingHash, MEETING_FINDINGS_KIND, type MeetingFactFinding, type MeetingFinding, type MeetingFindingsInput, type MeetingFindingsReceipt, type MeetingTaskFinding, meetingFindingFingerprint, validateMeetingFindings, } from "./findings.js";
|
|
@@ -59,6 +59,7 @@ export type { FoundMeeting, FoundMeetings, FullMeeting, MeetingFinds, MeetingSou
|
|
|
59
59
|
export { aggregateMeetingCounts, aggregateMeetingStats, MEETING_COUNTS_GROUPINGS, type MeetingCounts, type MeetingCountsGrouping, type MeetingCountsInput, type MeetingCountsMeeting, type MeetingCountsRow, type MeetingSpeakerStats, type MeetingStats, type MeetingStatsInput, type MeetingStatsRow, type MeetingStatsSelection, type MeetingStatsStore, type MeetingWeekStats, NO_SERIES, } from "./stats.js";
|
|
60
60
|
export type { ChatInput, ContractCase, EventCandidateFilter, IdentityInput, MeetingDetails, MeetingDocument, MeetingDocumentInput, MeetingDocumentRole, MeetingFilter, MeetingHitSource, MeetingInput, MeetingParticipant, MeetingSave, MeetingStore, NewRecord, ParticipantInput, SearchHit, TranscriptInput, TranscriptLanguageFill, TranscriptRowInput, } from "./store.js";
|
|
61
61
|
export { MEETING_DOCUMENT_ROLES, READ_BUDGET_EXCEEDED } from "./store.js";
|
|
62
|
+
export { type MeetingTagChange, type MeetingTagChangeItem, type MeetingTagged, type MeetingTaggingItem, meetingTagChange, meetingTagChangeItem, meetingTagging, meetingTaggingItem, } from "./tag-answers.js";
|
|
62
63
|
export { meetingTimestamp } from "./timestamp.js";
|
|
63
64
|
export type { DocumentMeeting, MeetingTranscriptDocumentStore, MeetingTranscriptReceiptStore, MeetingTranscriptStore, TranscriptAppend, TranscriptAppendReceipt, UnlinkedTranscriptInput, } from "./transcript-store.js";
|
|
64
65
|
export { parseTranscriptText, TranscriptTextError, type TranscriptTextHeader } from "./transcript-text.js";
|
package/dist/meetings/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export { aggregateCallStats, CALLBACK_WITHIN_MS, SHORT_CALL_UNDER_MS, } from "./
|
|
|
6
6
|
export { CALL_DIRECTIONS, CALL_OUTCOMES, callOf, MISSED_OUTCOMES, } from "./calls.js";
|
|
7
7
|
export { meetingCueFingerprint } from "./cue-fingerprint.js";
|
|
8
8
|
export { EVENT_QUERY } from "./event-query.js";
|
|
9
|
-
export { entryInWindow, eventChange } from "./event-store.js";
|
|
9
|
+
export { entryInWindow, eventChange, PARTICIPANT_RESPONSES } from "./event-store.js";
|
|
10
10
|
export { linkEvent } from "./events.js";
|
|
11
11
|
export { exportMeeting, serializeVtt, } from "./export.js";
|
|
12
12
|
export { findingHash, MEETING_FINDINGS_KIND, meetingFindingFingerprint, validateMeetingFindings, } from "./findings.js";
|
|
@@ -45,6 +45,7 @@ export { createMeetingSeriesInventoryReader } from "./series-inventory.js";
|
|
|
45
45
|
export { validateMeetingSeriesInventoryCursor } from "./series-inventory-validation.js";
|
|
46
46
|
export { aggregateMeetingCounts, aggregateMeetingStats, MEETING_COUNTS_GROUPINGS, NO_SERIES, } from "./stats.js";
|
|
47
47
|
export { MEETING_DOCUMENT_ROLES, READ_BUDGET_EXCEEDED } from "./store.js";
|
|
48
|
+
export { meetingTagChange, meetingTagChangeItem, meetingTagging, meetingTaggingItem, } from "./tag-answers.js";
|
|
48
49
|
export { meetingTimestamp } from "./timestamp.js";
|
|
49
50
|
export { parseTranscriptText, TranscriptTextError } from "./transcript-text.js";
|
|
50
51
|
export { transcribeMeeting, } from "./transcription.js";
|
|
@@ -152,6 +152,12 @@ export declare const callMeetingSearchTool: (search: MeetingHitSearch, input: un
|
|
|
152
152
|
from: string;
|
|
153
153
|
to: string[];
|
|
154
154
|
}[] | undefined;
|
|
155
|
+
by?: ("meaning" | "words")[] | undefined;
|
|
156
|
+
score?: number | null | undefined;
|
|
157
|
+
passage?: {
|
|
158
|
+
first: string;
|
|
159
|
+
last: string;
|
|
160
|
+
} | undefined;
|
|
155
161
|
source?: {
|
|
156
162
|
ref: string;
|
|
157
163
|
title: string | null;
|
|
@@ -32,6 +32,12 @@ export declare const meetingProjectEvidence: v.StrictObjectSchema<{
|
|
|
32
32
|
readonly from: v.StringSchema<undefined>;
|
|
33
33
|
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
34
34
|
}, undefined>, undefined>, undefined>;
|
|
35
|
+
readonly by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
|
|
36
|
+
readonly score: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
37
|
+
readonly passage: v.OptionalSchema<v.StrictObjectSchema<{
|
|
38
|
+
readonly first: v.StringSchema<undefined>;
|
|
39
|
+
readonly last: v.StringSchema<undefined>;
|
|
40
|
+
}, undefined>, undefined>;
|
|
35
41
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
36
42
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
37
43
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|