@wirecat/cli-core 0.559.0 → 0.560.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 +43 -0
- package/dist/background/schedules.d.ts +2 -0
- package/dist/cli/effects.d.ts +13 -2
- package/dist/cli/effects.js +23 -2
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/cli/meeting-findings-input.d.ts +3 -0
- package/dist/cli/meeting-findings-input.js +4 -0
- package/dist/cli/messenger/conversation-answers.d.ts +3 -0
- package/dist/cli/messenger/message-answers.d.ts +3 -0
- package/dist/cli/messenger/message-writes.d.ts +6 -0
- package/dist/cli/schedule/schedule-command.d.ts +6 -1
- package/dist/cli/schedule/schedule-command.js +24 -2
- package/dist/entities/contact-context.d.ts +6 -0
- package/dist/entities/conversation-results.d.ts +6 -0
- package/dist/entities/evidence.d.ts +24 -0
- package/dist/entities/index.d.ts +190 -0
- package/dist/entities/index.js +3 -0
- package/dist/entities/listener.d.ts +12 -0
- package/dist/entities/mail-findings.d.ts +116 -0
- package/dist/entities/mail-findings.js +68 -0
- package/dist/entities/message-context.d.ts +9 -0
- package/dist/entities/message-write.d.ts +12 -0
- package/dist/entities/message.d.ts +6 -0
- package/dist/entities/message.js +6 -0
- package/dist/entities/store-records.d.ts +3 -0
- package/dist/errors/reasons.js +2 -0
- package/dist/mail/cli/marks.d.ts +1 -0
- package/dist/mail/cli/marks.js +11 -4
- package/dist/mail/cli/review.js +10 -2
- package/dist/mail/findings.d.ts +55 -0
- package/dist/mail/findings.js +140 -0
- package/dist/mail/index.d.ts +2 -1
- package/dist/mail/index.js +2 -1
- package/dist/mail/marks.d.ts +10 -3
- package/dist/mail/marks.js +34 -5
- package/dist/meetings/findings-rules.d.ts +24 -0
- package/dist/meetings/findings-rules.js +136 -116
- package/dist/meetings/index.d.ts +2 -1
- package/dist/meetings/index.js +2 -1
- package/dist/meetings/mcp/index.d.ts +15 -15
- package/dist/services/proposals/kinds/mail-findings.d.ts +8 -0
- package/dist/services/proposals/kinds/mail-findings.js +87 -0
- package/dist/services/proposals/registry.js +3 -1
- package/dist/services/proposals/types.d.ts +2 -0
- package/dist/store/decisions.d.ts +1 -1
- package/dist/store/decisions.js +1 -1
- package/dist/store/index.d.ts +1 -0
- package/dist/store/index.js +1 -0
- package/dist/store/mail-findings.d.ts +51 -0
- package/dist/store/mail-findings.js +1 -0
- package/dist/store/path.d.ts +2 -0
- package/dist/store/path.js +21 -1
- package/dist/store/sqlite/email-activity.d.ts +8 -0
- package/dist/store/sqlite/email-activity.js +31 -5
- package/dist/store/sqlite/findings-core.d.ts +1 -0
- package/dist/store/sqlite/findings-core.js +1 -1
- package/dist/store/sqlite/mail-findings.d.ts +3 -0
- package/dist/store/sqlite/mail-findings.js +333 -0
- package/dist/store/sqlite/manifest.js +1 -0
- package/dist/store/sqlite/memories.d.ts +4 -1
- package/dist/store/sqlite/memories.js +48 -43
- package/dist/store/sqlite/migrations.generated.js +6 -0
- package/dist/store/sqlite/open-store.d.ts +1 -1
- package/dist/store/sqlite/open-store.js +4 -1
- package/dist/store/sqlite/open.js +2 -1
- package/dist/store/sqlite/proposed-actions.js +2 -1
- package/dist/store/sqlite/tasks.d.ts +2 -0
- package/dist/store/sqlite/tasks.js +26 -24
- package/dist/store/sqlite/test-accounts.d.ts +8 -0
- package/dist/store/sqlite/test-accounts.js +31 -0
- package/dist/store/sqlite/work-tasks.d.ts +1 -0
- package/dist/store/sqlite/work-tasks.js +6 -0
- package/dist/store/store.d.ts +3 -0
- package/dist/store/store.js +5 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -450,6 +450,9 @@ export declare const ENTITIES: {
|
|
|
450
450
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
451
451
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
452
452
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
453
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
454
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
455
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
453
456
|
}, undefined>, undefined>;
|
|
454
457
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
455
458
|
}, undefined>;
|
|
@@ -670,6 +673,9 @@ export declare const ENTITIES: {
|
|
|
670
673
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
671
674
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
672
675
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
676
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
677
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
678
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
673
679
|
}, undefined>, undefined>;
|
|
674
680
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
675
681
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -895,6 +901,9 @@ export declare const ENTITIES: {
|
|
|
895
901
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
896
902
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
897
903
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
904
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
905
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
906
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
898
907
|
}, undefined>, undefined>;
|
|
899
908
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
900
909
|
}, undefined>, undefined>;
|
|
@@ -1258,6 +1267,9 @@ export declare const ENTITIES: {
|
|
|
1258
1267
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1259
1268
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1260
1269
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1270
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1271
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1272
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1261
1273
|
}, undefined>, undefined>;
|
|
1262
1274
|
/** The files the message carries; absent when it has none. */
|
|
1263
1275
|
readonly attachments: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -1485,6 +1497,9 @@ export declare const ENTITIES: {
|
|
|
1485
1497
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1486
1498
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1487
1499
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1500
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1501
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1502
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1488
1503
|
}, undefined>, undefined>;
|
|
1489
1504
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1490
1505
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -1705,6 +1720,9 @@ export declare const ENTITIES: {
|
|
|
1705
1720
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1706
1721
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1707
1722
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1723
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1724
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1725
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1708
1726
|
}, undefined>, undefined>;
|
|
1709
1727
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1710
1728
|
}, "attachments" | "chat_id" | "chat_title" | "email" | "outgoing" | "ref" | "sender_is_me" | "sender_name" | "text" | "timestamp" | "transcript">;
|
|
@@ -1790,6 +1808,9 @@ export declare const ENTITIES: {
|
|
|
1790
1808
|
bulk?: boolean | undefined;
|
|
1791
1809
|
list_id?: string | null | undefined;
|
|
1792
1810
|
rule_id?: number | null | undefined;
|
|
1811
|
+
fingerprint?: string | undefined;
|
|
1812
|
+
new_sender?: boolean | undefined;
|
|
1813
|
+
sender_identities?: number | undefined;
|
|
1793
1814
|
} | undefined;
|
|
1794
1815
|
}, {
|
|
1795
1816
|
ref: string;
|
|
@@ -1873,6 +1894,9 @@ export declare const ENTITIES: {
|
|
|
1873
1894
|
bulk?: boolean | undefined;
|
|
1874
1895
|
list_id?: string | null | undefined;
|
|
1875
1896
|
rule_id?: number | null | undefined;
|
|
1897
|
+
fingerprint?: string | undefined;
|
|
1898
|
+
new_sender?: boolean | undefined;
|
|
1899
|
+
sender_identities?: number | undefined;
|
|
1876
1900
|
} | undefined;
|
|
1877
1901
|
}>;
|
|
1878
1902
|
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
@@ -1957,6 +1981,9 @@ export declare const ENTITIES: {
|
|
|
1957
1981
|
bulk?: boolean | undefined;
|
|
1958
1982
|
list_id?: string | null | undefined;
|
|
1959
1983
|
rule_id?: number | null | undefined;
|
|
1984
|
+
fingerprint?: string | undefined;
|
|
1985
|
+
new_sender?: boolean | undefined;
|
|
1986
|
+
sender_identities?: number | undefined;
|
|
1960
1987
|
} | undefined;
|
|
1961
1988
|
}, v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
|
|
1962
1989
|
readonly "~types"?: {
|
|
@@ -2042,6 +2069,9 @@ export declare const ENTITIES: {
|
|
|
2042
2069
|
bulk?: boolean | undefined;
|
|
2043
2070
|
list_id?: string | null | undefined;
|
|
2044
2071
|
rule_id?: number | null | undefined;
|
|
2072
|
+
fingerprint?: string | undefined;
|
|
2073
|
+
new_sender?: boolean | undefined;
|
|
2074
|
+
sender_identities?: number | undefined;
|
|
2045
2075
|
} | undefined;
|
|
2046
2076
|
};
|
|
2047
2077
|
readonly output: {
|
|
@@ -2126,6 +2156,9 @@ export declare const ENTITIES: {
|
|
|
2126
2156
|
bulk?: boolean | undefined;
|
|
2127
2157
|
list_id?: string | null | undefined;
|
|
2128
2158
|
rule_id?: number | null | undefined;
|
|
2159
|
+
fingerprint?: string | undefined;
|
|
2160
|
+
new_sender?: boolean | undefined;
|
|
2161
|
+
sender_identities?: number | undefined;
|
|
2129
2162
|
} | undefined;
|
|
2130
2163
|
};
|
|
2131
2164
|
readonly issue: v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
@@ -2363,6 +2396,9 @@ export declare const ENTITIES: {
|
|
|
2363
2396
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2364
2397
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2365
2398
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2399
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2400
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2401
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2366
2402
|
}, undefined>, undefined>;
|
|
2367
2403
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2368
2404
|
}, undefined>;
|
|
@@ -2583,6 +2619,9 @@ export declare const ENTITIES: {
|
|
|
2583
2619
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2584
2620
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2585
2621
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2622
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2623
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2624
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2586
2625
|
}, undefined>, undefined>;
|
|
2587
2626
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2588
2627
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2807,6 +2846,9 @@ export declare const ENTITIES: {
|
|
|
2807
2846
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2808
2847
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2809
2848
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2849
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2850
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2851
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2810
2852
|
}, undefined>, undefined>;
|
|
2811
2853
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2812
2854
|
}, undefined>;
|
|
@@ -3027,6 +3069,9 @@ export declare const ENTITIES: {
|
|
|
3027
3069
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3028
3070
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3029
3071
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3072
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3073
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3074
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3030
3075
|
}, undefined>, undefined>;
|
|
3031
3076
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3032
3077
|
}, undefined>, undefined>, undefined>;
|
|
@@ -3742,6 +3787,9 @@ export declare const ENTITIES: {
|
|
|
3742
3787
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3743
3788
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3744
3789
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3790
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3791
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3792
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3745
3793
|
readonly reply_to: v.ArraySchema<v.StrictObjectSchema<{
|
|
3746
3794
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3747
3795
|
readonly address: v.StringSchema<undefined>;
|
|
@@ -6630,6 +6678,120 @@ export declare const ENTITIES: {
|
|
|
6630
6678
|
}, undefined>, undefined>;
|
|
6631
6679
|
}, undefined>, undefined>;
|
|
6632
6680
|
}, undefined>;
|
|
6681
|
+
readonly mail_findings: v.StrictObjectSchema<{
|
|
6682
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6683
|
+
readonly account: v.StrictObjectSchema<{
|
|
6684
|
+
readonly provider: v.StringSchema<undefined>;
|
|
6685
|
+
readonly account: v.StringSchema<undefined>;
|
|
6686
|
+
}, undefined>;
|
|
6687
|
+
readonly input: v.StrictObjectSchema<{
|
|
6688
|
+
readonly schema_version: v.LiteralSchema<1, undefined>;
|
|
6689
|
+
readonly key: v.StringSchema<undefined>;
|
|
6690
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
6691
|
+
readonly findings: v.ArraySchema<v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
6692
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6693
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6694
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6695
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6696
|
+
}, undefined>, undefined>;
|
|
6697
|
+
readonly kind: v.LiteralSchema<"task", undefined>;
|
|
6698
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6699
|
+
readonly type: v.PicklistSchema<readonly ["bug", "feature", "chore"], undefined>;
|
|
6700
|
+
readonly title: v.StringSchema<undefined>;
|
|
6701
|
+
readonly reason: v.StringSchema<undefined>;
|
|
6702
|
+
readonly commitment: v.PicklistSchema<["explicit", "inferred"], undefined>;
|
|
6703
|
+
readonly due_at: v.OptionalSchema<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>;
|
|
6704
|
+
readonly due_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
6705
|
+
readonly assignee: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6706
|
+
readonly assignee_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
6707
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6708
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6709
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6710
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6711
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6712
|
+
}, undefined>, undefined>;
|
|
6713
|
+
readonly kind: v.LiteralSchema<"fact", undefined>;
|
|
6714
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6715
|
+
readonly subject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6716
|
+
readonly type: v.PicklistSchema<readonly ["fact", "statement", "question", "decision", "promise"], undefined>;
|
|
6717
|
+
readonly statement: v.StringSchema<undefined>;
|
|
6718
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6719
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6720
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6721
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6722
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6723
|
+
}, undefined>, undefined>;
|
|
6724
|
+
readonly kind: v.LiteralSchema<"task_update", undefined>;
|
|
6725
|
+
readonly task: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6726
|
+
readonly change: v.PicklistSchema<["close", "due", "detail"], undefined>;
|
|
6727
|
+
readonly due_at: v.OptionalSchema<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>;
|
|
6728
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6729
|
+
readonly reason: v.StringSchema<undefined>;
|
|
6730
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6731
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6732
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6733
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6734
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6735
|
+
}, undefined>, undefined>;
|
|
6736
|
+
readonly kind: v.LiteralSchema<"memory", undefined>;
|
|
6737
|
+
readonly memory_kind: v.PicklistSchema<readonly ["summary", "digest", "preference"], undefined>;
|
|
6738
|
+
readonly scope: v.PicklistSchema<readonly ["personal", "work"], undefined>;
|
|
6739
|
+
readonly body: v.StringSchema<undefined>;
|
|
6740
|
+
readonly subject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6741
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6742
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6743
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6744
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6745
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6746
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6747
|
+
}, undefined>, undefined>;
|
|
6748
|
+
readonly kind: v.LiteralSchema<"link", undefined>;
|
|
6749
|
+
readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6750
|
+
readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6751
|
+
readonly reason: v.StringSchema<undefined>;
|
|
6752
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6753
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6754
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
6755
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6756
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6757
|
+
}, undefined>, undefined>;
|
|
6758
|
+
readonly kind: v.LiteralSchema<"new_contact", undefined>;
|
|
6759
|
+
readonly address: v.StringSchema<undefined>;
|
|
6760
|
+
readonly name: v.StringSchema<undefined>;
|
|
6761
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6762
|
+
}, undefined>], undefined>, undefined>;
|
|
6763
|
+
}, undefined>;
|
|
6764
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6765
|
+
readonly status: v.PicklistSchema<["proposed", "reviewed"], undefined>;
|
|
6766
|
+
readonly author: v.StrictObjectSchema<{
|
|
6767
|
+
readonly type: v.PicklistSchema<["person", "bot"], undefined>;
|
|
6768
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6769
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6770
|
+
}, undefined>;
|
|
6771
|
+
readonly decided_by: v.NullableSchema<v.StrictObjectSchema<{
|
|
6772
|
+
readonly type: v.PicklistSchema<["person", "bot"], undefined>;
|
|
6773
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6774
|
+
}, undefined>, undefined>;
|
|
6775
|
+
readonly decided_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>;
|
|
6776
|
+
readonly previous: v.ArraySchema<v.StrictObjectSchema<{
|
|
6777
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6778
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6779
|
+
readonly status: v.PicklistSchema<["accepted", "rejected"], undefined>;
|
|
6780
|
+
readonly reference: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6781
|
+
readonly reused: v.BooleanSchema<undefined>;
|
|
6782
|
+
}, undefined>, undefined>;
|
|
6783
|
+
readonly receipt: v.NullableSchema<v.StrictObjectSchema<{
|
|
6784
|
+
readonly preview_fingerprint: v.StringSchema<undefined>;
|
|
6785
|
+
readonly accepted: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
6786
|
+
readonly items: v.ArraySchema<v.StrictObjectSchema<{
|
|
6787
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6788
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
6789
|
+
readonly status: v.PicklistSchema<["accepted", "rejected"], undefined>;
|
|
6790
|
+
readonly reference: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
6791
|
+
readonly reused: v.BooleanSchema<undefined>;
|
|
6792
|
+
}, undefined>, undefined>;
|
|
6793
|
+
}, undefined>, undefined>;
|
|
6794
|
+
}, undefined>;
|
|
6633
6795
|
readonly meeting_transcript: v.StrictObjectSchema<{
|
|
6634
6796
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6635
6797
|
readonly meeting: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -7517,6 +7679,9 @@ export declare const ENTITIES: {
|
|
|
7517
7679
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7518
7680
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7519
7681
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
7682
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
7683
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7684
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
7520
7685
|
}, undefined>, undefined>;
|
|
7521
7686
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7522
7687
|
}, undefined>, undefined>;
|
|
@@ -7737,6 +7902,9 @@ export declare const ENTITIES: {
|
|
|
7737
7902
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7738
7903
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7739
7904
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
7905
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
7906
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7907
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
7740
7908
|
}, undefined>, undefined>;
|
|
7741
7909
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7742
7910
|
}, undefined>], undefined>;
|
|
@@ -8199,6 +8367,9 @@ export declare const ENTITIES: {
|
|
|
8199
8367
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8200
8368
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8201
8369
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
8370
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
8371
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8372
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
8202
8373
|
}, undefined>, undefined>;
|
|
8203
8374
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8204
8375
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -8710,6 +8881,9 @@ export declare const ENTITIES: {
|
|
|
8710
8881
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8711
8882
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8712
8883
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
8884
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
8885
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8886
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
8713
8887
|
}, undefined>, undefined>;
|
|
8714
8888
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8715
8889
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -9404,6 +9578,9 @@ export declare const ENTITIES: {
|
|
|
9404
9578
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9405
9579
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9406
9580
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
9581
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
9582
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9583
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
9407
9584
|
}, undefined>, undefined>;
|
|
9408
9585
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
9409
9586
|
}, undefined>, v.StrictObjectSchema<{
|
|
@@ -11078,6 +11255,9 @@ export declare const ENTITIES: {
|
|
|
11078
11255
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11079
11256
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11080
11257
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11258
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
11259
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11260
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
11081
11261
|
}, undefined>, undefined>;
|
|
11082
11262
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11083
11263
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -11298,6 +11478,9 @@ export declare const ENTITIES: {
|
|
|
11298
11478
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11299
11479
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11300
11480
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11481
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
11482
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11483
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
11301
11484
|
}, undefined>, undefined>;
|
|
11302
11485
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11303
11486
|
}, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
|
|
@@ -11556,6 +11739,9 @@ export declare const ENTITIES: {
|
|
|
11556
11739
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11557
11740
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11558
11741
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11742
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
11743
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11744
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
11559
11745
|
}, undefined>, undefined>;
|
|
11560
11746
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11561
11747
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
@@ -11776,6 +11962,9 @@ export declare const ENTITIES: {
|
|
|
11776
11962
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11777
11963
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11778
11964
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11965
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
11966
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11967
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
11779
11968
|
}, undefined>, undefined>;
|
|
11780
11969
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
11781
11970
|
}, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
|
|
@@ -12064,5 +12253,6 @@ export type EntityName = keyof typeof ENTITIES;
|
|
|
12064
12253
|
/** Every entity as a JSON Schema 2020-12 `$defs` entry, for bundling into an MCP tool's `outputSchema`. */
|
|
12065
12254
|
export declare const entityDefinitions: () => Record<EntityName, unknown>;
|
|
12066
12255
|
export { zonedTime } from "./fields.js";
|
|
12256
|
+
export { mailFindings } from "./mail-findings.js";
|
|
12067
12257
|
export { meetingFindings } from "./meeting-findings.js";
|
|
12068
12258
|
export { meetingPreparation } from "./meeting-preparation.js";
|
package/dist/entities/index.js
CHANGED
|
@@ -44,6 +44,7 @@ import { joinRequest } from "./join-request.js";
|
|
|
44
44
|
import { organization, project, reminder } from "./knowledge-lists.js";
|
|
45
45
|
import { botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, callRecord, scheduledJob, stickerInventory, topicIcon, } from "./list-results.js";
|
|
46
46
|
import { messageEvent, serveSummary, watchedMessage, watchItem } from "./listener.js";
|
|
47
|
+
import { mailFindings } from "./mail-findings.js";
|
|
47
48
|
import { mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer } from "./media-archive.js";
|
|
48
49
|
import { event, meeting, meetingDetails, meetingHit, meetingLink, meetingParticipants, meetingPassage, meetingProjectEvidence, meetingReview, meetingSpeaker, meetingStats, meetingSummary, meetingTranscript, } from "./meeting.js";
|
|
49
50
|
import { meetingEvidence, meetingPersonContext } from "./meeting-evidence.js";
|
|
@@ -246,6 +247,7 @@ export const ENTITIES = {
|
|
|
246
247
|
meeting_project_evidence: meetingProjectEvidence,
|
|
247
248
|
meeting_preparation: meetingPreparation,
|
|
248
249
|
meeting_findings: meetingFindings,
|
|
250
|
+
mail_findings: mailFindings,
|
|
249
251
|
meeting_transcript: meetingTranscript,
|
|
250
252
|
meeting_summary: meetingSummary,
|
|
251
253
|
meeting_evidence: meetingEvidence,
|
|
@@ -368,5 +370,6 @@ export const entityDefinitions = () => Object.fromEntries(Object.entries(ENTITIE
|
|
|
368
370
|
return [name, definition];
|
|
369
371
|
}));
|
|
370
372
|
export { zonedTime } from "./fields.js";
|
|
373
|
+
export { mailFindings } from "./mail-findings.js";
|
|
371
374
|
export { meetingFindings } from "./meeting-findings.js";
|
|
372
375
|
export { meetingPreparation } from "./meeting-preparation.js";
|
|
@@ -216,6 +216,9 @@ export declare const watchedMessage: v.StrictObjectSchema<{
|
|
|
216
216
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
217
217
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
218
218
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
219
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
220
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
221
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
219
222
|
}, undefined>, undefined>;
|
|
220
223
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
221
224
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -728,6 +731,9 @@ export declare const messageEvent: v.VariantSchema<"event", [v.StrictObjectSchem
|
|
|
728
731
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
729
732
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
730
733
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
734
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
735
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
736
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
731
737
|
}, undefined>, undefined>;
|
|
732
738
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
733
739
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -1347,6 +1353,9 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1347
1353
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1348
1354
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1349
1355
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1356
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1357
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1358
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1350
1359
|
}, undefined>, undefined>;
|
|
1351
1360
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1352
1361
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -1858,6 +1867,9 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1858
1867
|
readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1859
1868
|
readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1860
1869
|
readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1870
|
+
readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1871
|
+
readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1872
|
+
readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1861
1873
|
}, undefined>, undefined>;
|
|
1862
1874
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1863
1875
|
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/** A mail findings batch: what an agent read in one mailbox's new mail, waiting for the owner. */
|
|
3
|
+
export declare const mailFindings: v.StrictObjectSchema<{
|
|
4
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5
|
+
readonly account: v.StrictObjectSchema<{
|
|
6
|
+
readonly provider: v.StringSchema<undefined>;
|
|
7
|
+
readonly account: v.StringSchema<undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
readonly input: v.StrictObjectSchema<{
|
|
10
|
+
readonly schema_version: v.LiteralSchema<1, undefined>;
|
|
11
|
+
readonly key: v.StringSchema<undefined>;
|
|
12
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
13
|
+
readonly findings: v.ArraySchema<v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
14
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
15
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
16
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
17
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
18
|
+
}, undefined>, undefined>;
|
|
19
|
+
readonly kind: v.LiteralSchema<"task", undefined>;
|
|
20
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
21
|
+
readonly type: v.PicklistSchema<readonly ["bug", "feature", "chore"], undefined>;
|
|
22
|
+
readonly title: v.StringSchema<undefined>;
|
|
23
|
+
readonly reason: v.StringSchema<undefined>;
|
|
24
|
+
readonly commitment: v.PicklistSchema<["explicit", "inferred"], undefined>;
|
|
25
|
+
readonly due_at: v.OptionalSchema<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>;
|
|
26
|
+
readonly due_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
27
|
+
readonly assignee: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
28
|
+
readonly assignee_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
29
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
30
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
31
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
32
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
33
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
34
|
+
}, undefined>, undefined>;
|
|
35
|
+
readonly kind: v.LiteralSchema<"fact", undefined>;
|
|
36
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
37
|
+
readonly subject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
38
|
+
readonly type: v.PicklistSchema<readonly ["fact", "statement", "question", "decision", "promise"], undefined>;
|
|
39
|
+
readonly statement: v.StringSchema<undefined>;
|
|
40
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
41
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
42
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
43
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
44
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
45
|
+
}, undefined>, undefined>;
|
|
46
|
+
readonly kind: v.LiteralSchema<"task_update", undefined>;
|
|
47
|
+
readonly task: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
48
|
+
readonly change: v.PicklistSchema<["close", "due", "detail"], undefined>;
|
|
49
|
+
readonly due_at: v.OptionalSchema<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>;
|
|
50
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
readonly reason: v.StringSchema<undefined>;
|
|
52
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
53
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
54
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
55
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
56
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
57
|
+
}, undefined>, undefined>;
|
|
58
|
+
readonly kind: v.LiteralSchema<"memory", undefined>;
|
|
59
|
+
readonly memory_kind: v.PicklistSchema<readonly ["summary", "digest", "preference"], undefined>;
|
|
60
|
+
readonly scope: v.PicklistSchema<readonly ["personal", "work"], undefined>;
|
|
61
|
+
readonly body: v.StringSchema<undefined>;
|
|
62
|
+
readonly subject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
63
|
+
readonly project: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
64
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
65
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
66
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
67
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
68
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
69
|
+
}, undefined>, undefined>;
|
|
70
|
+
readonly kind: v.LiteralSchema<"link", undefined>;
|
|
71
|
+
readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
72
|
+
readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
73
|
+
readonly reason: v.StringSchema<undefined>;
|
|
74
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
75
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
76
|
+
readonly evidence: v.ArraySchema<v.StrictObjectSchema<{
|
|
77
|
+
readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
78
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
79
|
+
}, undefined>, undefined>;
|
|
80
|
+
readonly kind: v.LiteralSchema<"new_contact", undefined>;
|
|
81
|
+
readonly address: v.StringSchema<undefined>;
|
|
82
|
+
readonly name: v.StringSchema<undefined>;
|
|
83
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
+
}, undefined>], undefined>, undefined>;
|
|
85
|
+
}, undefined>;
|
|
86
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
87
|
+
readonly status: v.PicklistSchema<["proposed", "reviewed"], undefined>;
|
|
88
|
+
readonly author: v.StrictObjectSchema<{
|
|
89
|
+
readonly type: v.PicklistSchema<["person", "bot"], undefined>;
|
|
90
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
91
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
readonly decided_by: v.NullableSchema<v.StrictObjectSchema<{
|
|
94
|
+
readonly type: v.PicklistSchema<["person", "bot"], undefined>;
|
|
95
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
96
|
+
}, undefined>, undefined>;
|
|
97
|
+
readonly decided_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>;
|
|
98
|
+
readonly previous: v.ArraySchema<v.StrictObjectSchema<{
|
|
99
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
100
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
101
|
+
readonly status: v.PicklistSchema<["accepted", "rejected"], undefined>;
|
|
102
|
+
readonly reference: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
103
|
+
readonly reused: v.BooleanSchema<undefined>;
|
|
104
|
+
}, undefined>, undefined>;
|
|
105
|
+
readonly receipt: v.NullableSchema<v.StrictObjectSchema<{
|
|
106
|
+
readonly preview_fingerprint: v.StringSchema<undefined>;
|
|
107
|
+
readonly accepted: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
108
|
+
readonly items: v.ArraySchema<v.StrictObjectSchema<{
|
|
109
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
110
|
+
readonly fingerprint: v.StringSchema<undefined>;
|
|
111
|
+
readonly status: v.PicklistSchema<["accepted", "rejected"], undefined>;
|
|
112
|
+
readonly reference: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
113
|
+
readonly reused: v.BooleanSchema<undefined>;
|
|
114
|
+
}, undefined>, undefined>;
|
|
115
|
+
}, undefined>, undefined>;
|
|
116
|
+
}, undefined>;
|