@wirecat/cli-core 0.472.0 → 0.474.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/dist/background/after-upgrade.js +6 -4
  3. package/dist/cli/execution.d.ts +5 -0
  4. package/dist/cli/execution.js +5 -0
  5. package/dist/cli/help/command-help.js +3 -0
  6. package/dist/cli/help/first-screen.js +5 -0
  7. package/dist/cli/messenger/conversation-answers.d.ts +1 -0
  8. package/dist/cli/messenger/hearing-command.js +1 -1
  9. package/dist/cli/messenger/message-answers.d.ts +1 -0
  10. package/dist/cli/messenger/message-items.js +2 -0
  11. package/dist/cli/messenger/message-writes.d.ts +2 -0
  12. package/dist/cli/program.js +5 -3
  13. package/dist/entities/conversation-results.d.ts +2 -0
  14. package/dist/entities/evidence.d.ts +8 -0
  15. package/dist/entities/index.d.ts +19 -0
  16. package/dist/entities/knowledge-lists.d.ts +1 -0
  17. package/dist/entities/knowledge-lists.js +1 -0
  18. package/dist/entities/listener.d.ts +4 -0
  19. package/dist/entities/message-context.d.ts +3 -0
  20. package/dist/entities/message-write.d.ts +4 -0
  21. package/dist/entities/message.d.ts +1 -0
  22. package/dist/entities/message.js +1 -0
  23. package/dist/entities/store-records.d.ts +1 -0
  24. package/dist/mail/source.d.ts +7 -0
  25. package/dist/mail/sync.d.ts +16 -1
  26. package/dist/mail/sync.js +187 -11
  27. package/dist/mail/testing/fake.d.ts +11 -0
  28. package/dist/mail/testing/fake.js +28 -8
  29. package/dist/runs/error-detail.d.ts +2 -0
  30. package/dist/runs/error-detail.js +4 -0
  31. package/dist/speech/hearing.d.ts +2 -0
  32. package/dist/speech/hearing.js +10 -0
  33. package/dist/store/knowledge-query.js +3 -1
  34. package/dist/store/people.d.ts +2 -0
  35. package/dist/store/people.js +12 -0
  36. package/dist/store/sqlite/knowledge.d.ts +3 -1
  37. package/dist/store/sqlite/knowledge.js +7 -2
  38. package/dist/store/sqlite/task-keys.d.ts +1 -0
  39. package/dist/store/sqlite/task-keys.js +1 -0
  40. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,7 +5,50 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0,
5
5
  minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the
6
6
  shape of this file.
7
7
 
8
- ## Unreleased
8
+ ## 0.474.0 — 29.10.2026
9
+
10
+ ### Fixed
11
+
12
+ - **Help no longer puts a profile into an example that has `--profiles`**: `<cli> mcp serve --profiles
13
+ work,personal` was shown as `<cli> personal mcp serve --profiles work,personal`, which `mcp serve` refuses ("name
14
+ one profile or --profiles, not both"). After an upgrade, the restart of an `mcp server start` server of several
15
+ profiles suggests `mcp server status|start` with the `--profiles` it was started with, not without.
16
+
17
+ ## 0.473.0 — 29.10.2026
18
+
19
+ ### Added
20
+
21
+ - **`syncMail` takes a `budget` and answers `partial`** (WC-LIFE-16 for mail). With a `RunBudget` it reads the window in
22
+ rounds of `source.listBatch` messages, spends one request per call to the source, saves its resume point after every
23
+ round (a 16,000-message folder now finishes over several runs, mid-folder progress included), asks once more at the
24
+ end of the run for a message the source could not give, and returns `state`, `stopped`, `remaining` and `requests`.
25
+ `MailSource` gains the optional `listBatch` and `fetchBatch`. Without a budget nothing changes except that a failed
26
+ chunk now saves the resume point before it throws.
27
+ - **A failed run's record keeps the transport's code.** `runs show` has `error.cause_code` (`NoConnection`,
28
+ `ETIMEDOUT`, a server response code; plain codes only, never the server's text) when the error carries one.
29
+ - **A cooperative command that declares `partial` is a sync and gets 15 minutes at a terminal** (`DEFAULT_SYNC_MS`);
30
+ other cooperative commands keep 5 minutes and MCP keeps 45 seconds. The calendar `sync` is one: it had 5 minutes.
31
+ - **`sender_is_me` on every message the shared message output carries** (`messageItem`, so `messages list`, `show`,
32
+ `context`, search windows and the catch-up reads of tg, max and wa). It is true when the message is `outgoing` or its
33
+ sender id is the reading account's own, so MAX's owner, which has no sender id, is told apart from an unknown sender.
34
+ - **Projects have a `kind`: `project` or `inbox`**, and `projects(query)` takes `kind:` and `name:` (with `*`
35
+ wildcards) as query fields.
36
+ - **`store.people.owner()`** returns the person marked as the owner, with their linked identities, or `undefined`
37
+ when none is marked: what a caller needs to resolve `person:me`.
38
+
39
+ ### Changed — may break callers
40
+
41
+ - **`knowledge.projects()` leaves the per-account task inbox projects out** (`IN` plus eight hex digits, such as
42
+ `telegram:220195113`) unless the query names `kind`; `kind:inbox` lists only them. A caller that read inboxes from
43
+ the unfiltered list must ask for `kind:inbox`.
44
+
45
+ ### Fixed
46
+
47
+ - **`projects list 'name:*tart*'` no longer crashes** with `internal_error command.crashed`: `name` was a query field
48
+ the store had no column for.
49
+ - **`--offline --transcribe` says what it did not do.** It still shows transcripts already stored and never connects;
50
+ voice messages without one are now in `missing` with the exact `<app> <profile> messages transcribe <chat> <id>`
51
+ command, in `messages list`, `inbox` and `review`.
9
52
 
10
53
  ## 0.472.0 — 28.10.2026
11
54
 
@@ -146,6 +146,8 @@ const errorText = (error) => error.code === "EPERM"
146
146
  const restartOne = async (envPrefix, lockFile, lock, env, system) => {
147
147
  const launch = readHttpLaunch(httpLaunchFile(lockFile));
148
148
  const name = launch?.invocation ?? lockFile;
149
+ const set = launch?.argv.indexOf("--profiles") ?? -1;
150
+ const again = (verb) => `${name} mcp server ${verb}${set === -1 ? "" : ` --profiles ${launch?.argv[set + 1]}`}`;
149
151
  const from = lock.version ?? null;
150
152
  const left = (reason, rest = {}) => ({
151
153
  name,
@@ -170,7 +172,7 @@ const restartOne = async (envPrefix, lockFile, lock, env, system) => {
170
172
  for (let look = 0; look < STOP_LOOKS && system.alive(lock.pid); look++)
171
173
  await system.pause();
172
174
  if (system.alive(lock.pid))
173
- return left(`asked it to stop, and it still ran after 15 s — \`${name} mcp server status\``);
175
+ return left(`asked it to stop, and it still ran after 15 s — \`${again("status")}\``);
174
176
  const log = lockFile.replace(/\.lock$/, ".log");
175
177
  const { [`${envPrefix}_TIMEOUT`]: _timeout, ...inherited } = env;
176
178
  let pid;
@@ -178,7 +180,7 @@ const restartOne = async (envPrefix, lockFile, lock, env, system) => {
178
180
  pid = system.spawn(launch.argv, { ...inherited, ...launch.env }, log);
179
181
  }
180
182
  catch (error) {
181
- return left(`stopped it, and could not start it again: ${errorText(error)} — \`${name} mcp server start\``);
183
+ return left(`stopped it, and could not start it again: ${errorText(error)} — \`${again("start")}\``);
182
184
  }
183
185
  for (let look = 0; look < START_LOOKS; look++) {
184
186
  const now = readHttpLock(lockFile);
@@ -186,11 +188,11 @@ const restartOne = async (envPrefix, lockFile, lock, env, system) => {
186
188
  return { name, pid: lock.pid, restarted: true, from, to: now.version ?? null, newPid: pid };
187
189
  if (!system.alive(pid)) {
188
190
  const last = readableLog(tail(log, 5)).trim();
189
- return left(`stopped it, and the new one exited before it listened${last ? `: ${last}` : ""} — \`${name} mcp server start\``, { newPid: pid });
191
+ return left(`stopped it, and the new one exited before it listened${last ? `: ${last}` : ""} — \`${again("start")}\``, { newPid: pid });
190
192
  }
191
193
  await system.pause();
192
194
  }
193
- return left(`started it again (PID ${pid}), and it was not listening after 30 s — \`${name} mcp server status\``, {
195
+ return left(`started it again (PID ${pid}), and it was not listening after 30 s — \`${again("status")}\``, {
194
196
  newPid: pid,
195
197
  });
196
198
  };
@@ -3,6 +3,11 @@ import type { Closeable } from "./deadline.js";
3
3
  export declare const DEFAULT_COMMAND_MS = 30000;
4
4
  /** A `cooperative` command stops on its own before its deadline and keeps its work, so it may run longer. */
5
5
  export declare const DEFAULT_COOPERATIVE_MS: number;
6
+ /**
7
+ * A cooperative command that also declares `partial` is a resumable sync: it spends a request budget, answers
8
+ * `partial` with `next`, and loses nothing when it stops, so a terminal lets it run longer than other cooperative work.
9
+ */
10
+ export declare const DEFAULT_SYNC_MS: number;
6
11
  /**
7
12
  * The same over MCP: clients cut a tool call at about 60 s (the MCP TypeScript SDK's `DEFAULT_REQUEST_TIMEOUT_MSEC`
8
13
  * is 60000), so the command answers well before that.
@@ -4,6 +4,11 @@ import { fieldsOf, projectFields } from "./result-fields.js";
4
4
  export const DEFAULT_COMMAND_MS = 30_000;
5
5
  /** A `cooperative` command stops on its own before its deadline and keeps its work, so it may run longer. */
6
6
  export const DEFAULT_COOPERATIVE_MS = 5 * 60_000;
7
+ /**
8
+ * A cooperative command that also declares `partial` is a resumable sync: it spends a request budget, answers
9
+ * `partial` with `next`, and loses nothing when it stops, so a terminal lets it run longer than other cooperative work.
10
+ */
11
+ export const DEFAULT_SYNC_MS = 15 * 60_000;
7
12
  /**
8
13
  * The same over MCP: clients cut a tool call at about 60 s (the MCP TypeScript SDK's `DEFAULT_REQUEST_TIMEOUT_MSEC`
9
14
  * is 60000), so the command answers well before that.
@@ -179,6 +179,9 @@ const withProfile = (command, example) => {
179
179
  const top = commandPathOf(command)[0];
180
180
  if (!profiled.has(root) || top === undefined || !takesProfile(command))
181
181
  return example;
182
+ // `--profiles` names the profiles itself; a profile word beside it is refused.
183
+ if (example.split(" ").includes("--profiles"))
184
+ return example;
182
185
  const prefix = `${root.name()} ${top}`;
183
186
  return example === prefix || example.startsWith(`${prefix} `)
184
187
  ? `${root.name()} ${EXAMPLE_PROFILE} ${example.slice(root.name().length + 1)}`
@@ -38,6 +38,11 @@ export const WIRECAT_TOOLS = [
38
38
  shown: "memo context <person>",
39
39
  does: "one person across messengers, mail, notes and meetings",
40
40
  },
41
+ {
42
+ command: "mail",
43
+ package: "@wirecat/mail-cli",
44
+ does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data",
45
+ },
41
46
  ];
42
47
  const WIDTH = 100;
43
48
  const widest = (texts) => texts.reduce((most, text) => Math.max(most, text.length), 0);
@@ -45,6 +45,7 @@ export declare const conversationShown: (account: AccountKey, { summary, message
45
45
  sender_name: string | null;
46
46
  sender_username?: string | undefined;
47
47
  sender_is_chat?: boolean | undefined;
48
+ sender_is_me: boolean;
48
49
  mentions?: string[] | undefined;
49
50
  timestamp: string;
50
51
  edited_at: string | null;
@@ -34,7 +34,7 @@ export const hearForCommand = async (context, messenger, messages, transcribe, m
34
34
  else if (transcribe && hearing.unheard.length > 0) {
35
35
  context.renderer.note(`${hearing.unheard.length} voice message(s) not heard yet — ask again later`);
36
36
  }
37
- return hearing;
37
+ return offline ? { ...hearing, offline: `${messenger.app.command} ${context.profile}` } : hearing;
38
38
  }
39
39
  finally {
40
40
  await kept.close();
@@ -22,6 +22,7 @@ export declare const threadAnswer: ({ items, ...thread }: ThreadContext, reader:
22
22
  sender_name: string | null;
23
23
  sender_username?: string | undefined;
24
24
  sender_is_chat?: boolean | undefined;
25
+ sender_is_me: boolean;
25
26
  mentions?: string[] | undefined;
26
27
  timestamp: string;
27
28
  edited_at: string | null;
@@ -42,6 +42,8 @@ export const messageItem = (message, reader) => {
42
42
  sender_name: message.senderName,
43
43
  sender_username: message.senderUsername,
44
44
  sender_is_chat: message.senderIsChat,
45
+ // MAX reports the owner's own messages with no sender id, so `outgoing` counts as well as the id.
46
+ sender_is_me: message.outgoing === true || (message.senderId !== null && String(message.senderId) === account),
45
47
  mentions: message.mentions,
46
48
  timestamp: message.timestamp,
47
49
  edited_at: message.editedAt,
@@ -26,6 +26,7 @@ export declare const writtenAnswer: ({ operationId, sendId, message, messages, s
26
26
  sender_name: string | null;
27
27
  sender_username?: string | undefined;
28
28
  sender_is_chat?: boolean | undefined;
29
+ sender_is_me: boolean;
29
30
  mentions?: string[] | undefined;
30
31
  timestamp: string;
31
32
  edited_at: string | null;
@@ -216,6 +217,7 @@ export declare const writtenAnswer: ({ operationId, sendId, message, messages, s
216
217
  sender_name: string | null;
217
218
  sender_username?: string | undefined;
218
219
  sender_is_chat?: boolean | undefined;
220
+ sender_is_me: boolean;
219
221
  mentions?: string[] | undefined;
220
222
  timestamp: string;
221
223
  edited_at: string | null;
@@ -20,7 +20,7 @@ import { outputFor, provide } from "./context.js";
20
20
  import { refuseByCommandPermissions, refuseWriteBeforeConnecting } from "./early-refusal.js";
21
21
  import { changesAuthorityAt, changesAuthorityNow, isLogin, isStoreChange, judgedEffects, judgedTargets, storeChangeRefusal, } from "./effects.js";
22
22
  import { itemOf, renderAnswer, snakeKeys } from "./envelope.js";
23
- import { byteCount, DEFAULT_AGENT_COOPERATIVE_MS, DEFAULT_COMMAND_MS, DEFAULT_COOPERATIVE_MS, DEFAULT_OUTPUT_BYTES, execution, } from "./execution.js";
23
+ import { byteCount, DEFAULT_AGENT_COOPERATIVE_MS, DEFAULT_COMMAND_MS, DEFAULT_COOPERATIVE_MS, DEFAULT_OUTPUT_BYTES, DEFAULT_SYNC_MS, execution, } from "./execution.js";
24
24
  import { setupAtStart } from "./first-run.js";
25
25
  import { installHelp } from "./help/first-screen.js";
26
26
  import { showInputFields } from "./input-fields.js";
@@ -324,7 +324,7 @@ const runOnce = async (argv, definition, options) => {
324
324
  throw new CliError("permission_error", `\`${command} ${path.join(" ")}\` calls the Bot API directly, past the send guard and the recipient list, ` +
325
325
  `and this profile keeps that from agents (${BOT_API_KEY}) — the owner turns it on in a terminal: ` +
326
326
  `\`${command} <profile> config set --bot permissions.${BOT_API_KEY} allow\``, { permission: BOT_API_KEY, sent: false });
327
- const { lifetime, cooperative: stopsAtItsPace } = metaOf(action);
327
+ const { lifetime, cooperative: stopsAtItsPace, partial: answersPartial } = metaOf(action);
328
328
  const persistent = lifetime === "persistent";
329
329
  listens = persistent;
330
330
  const interactiveLogin = !headless && lifetime === "interactive";
@@ -339,7 +339,9 @@ const runOnce = async (argv, definition, options) => {
339
339
  : stopsAtItsPace === true
340
340
  ? options.agent
341
341
  ? DEFAULT_AGENT_COOPERATIVE_MS
342
- : DEFAULT_COOPERATIVE_MS
342
+ : answersPartial === true
343
+ ? DEFAULT_SYNC_MS
344
+ : DEFAULT_COOPERATIVE_MS
343
345
  : DEFAULT_COMMAND_MS
344
346
  : persistent
345
347
  ? undefined
@@ -21,6 +21,7 @@ export declare const conversationDetails: v.UnionSchema<[v.StrictObjectSchema<{
21
21
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
22
22
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
23
23
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
24
+ readonly sender_is_me: v.BooleanSchema<undefined>;
24
25
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
25
26
  readonly timestamp: 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`">]>;
26
27
  readonly edited_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>;
@@ -209,6 +210,7 @@ export declare const conversationDetails: v.UnionSchema<[v.StrictObjectSchema<{
209
210
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
210
211
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
211
212
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
213
+ readonly sender_is_me: v.BooleanSchema<undefined>;
212
214
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
213
215
  readonly timestamp: 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`">]>;
214
216
  readonly edited_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>;
@@ -12,6 +12,7 @@ export declare const contribution: v.StrictObjectSchema<{
12
12
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
13
13
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
14
14
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15
+ readonly sender_is_me: v.BooleanSchema<undefined>;
15
16
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
16
17
  readonly timestamp: 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`">]>;
17
18
  readonly edited_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>;
@@ -200,6 +201,7 @@ export declare const contribution: v.StrictObjectSchema<{
200
201
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
201
202
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
202
203
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
204
+ readonly sender_is_me: v.BooleanSchema<undefined>;
203
205
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
204
206
  readonly timestamp: 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`">]>;
205
207
  readonly edited_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>;
@@ -426,6 +428,7 @@ export declare const contribution: v.StrictObjectSchema<{
426
428
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
427
429
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
428
430
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
431
+ readonly sender_is_me: v.BooleanSchema<undefined>;
429
432
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
430
433
  readonly timestamp: 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`">]>;
431
434
  readonly edited_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>;
@@ -614,6 +617,7 @@ export declare const contribution: v.StrictObjectSchema<{
614
617
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
615
618
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
616
619
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
620
+ readonly sender_is_me: v.BooleanSchema<undefined>;
617
621
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
618
622
  readonly timestamp: 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`">]>;
619
623
  readonly edited_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>;
@@ -876,6 +880,7 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
876
880
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
877
881
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
878
882
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
883
+ readonly sender_is_me: v.BooleanSchema<undefined>;
879
884
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
880
885
  readonly timestamp: 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`">]>;
881
886
  readonly edited_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>;
@@ -1064,6 +1069,7 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
1064
1069
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1065
1070
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1066
1071
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1072
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1067
1073
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1068
1074
  readonly timestamp: 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`">]>;
1069
1075
  readonly edited_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>;
@@ -1290,6 +1296,7 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
1290
1296
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1291
1297
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1292
1298
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1299
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1293
1300
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1294
1301
  readonly timestamp: 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`">]>;
1295
1302
  readonly edited_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>;
@@ -1478,6 +1485,7 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
1478
1485
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1479
1486
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1480
1487
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1488
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1481
1489
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1482
1490
  readonly timestamp: 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`">]>;
1483
1491
  readonly edited_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>;
@@ -234,6 +234,7 @@ export declare const ENTITIES: {
234
234
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
235
235
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
236
236
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
237
+ readonly sender_is_me: v.BooleanSchema<undefined>;
237
238
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
238
239
  readonly timestamp: 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`">]>;
239
240
  readonly edited_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>;
@@ -422,6 +423,7 @@ export declare const ENTITIES: {
422
423
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
423
424
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
424
425
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
426
+ readonly sender_is_me: v.BooleanSchema<undefined>;
425
427
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
426
428
  readonly timestamp: 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`">]>;
427
429
  readonly edited_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>;
@@ -615,6 +617,7 @@ export declare const ENTITIES: {
615
617
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
616
618
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
617
619
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
620
+ readonly sender_is_me: v.BooleanSchema<undefined>;
618
621
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
619
622
  readonly timestamp: 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`">]>;
620
623
  readonly edited_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>;
@@ -1148,6 +1151,7 @@ export declare const ENTITIES: {
1148
1151
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1149
1152
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1150
1153
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1154
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1151
1155
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1152
1156
  readonly timestamp: 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`">]>;
1153
1157
  readonly edited_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>;
@@ -1336,6 +1340,7 @@ export declare const ENTITIES: {
1336
1340
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1337
1341
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1338
1342
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1343
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1339
1344
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1340
1345
  readonly timestamp: 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`">]>;
1341
1346
  readonly edited_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>;
@@ -1715,6 +1720,7 @@ export declare const ENTITIES: {
1715
1720
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1716
1721
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1717
1722
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1723
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1718
1724
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1719
1725
  readonly timestamp: 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`">]>;
1720
1726
  readonly edited_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>;
@@ -1903,6 +1909,7 @@ export declare const ENTITIES: {
1903
1909
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1904
1910
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1905
1911
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1912
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1906
1913
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1907
1914
  readonly timestamp: 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`">]>;
1908
1915
  readonly edited_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>;
@@ -2095,6 +2102,7 @@ export declare const ENTITIES: {
2095
2102
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2096
2103
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2097
2104
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2105
+ readonly sender_is_me: v.BooleanSchema<undefined>;
2098
2106
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2099
2107
  readonly timestamp: 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`">]>;
2100
2108
  readonly edited_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>;
@@ -2283,6 +2291,7 @@ export declare const ENTITIES: {
2283
2291
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2284
2292
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2285
2293
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2294
+ readonly sender_is_me: v.BooleanSchema<undefined>;
2286
2295
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2287
2296
  readonly timestamp: 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`">]>;
2288
2297
  readonly edited_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>;
@@ -4192,6 +4201,7 @@ export declare const ENTITIES: {
4192
4201
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
4193
4202
  readonly key: v.StringSchema<undefined>;
4194
4203
  readonly name: v.StringSchema<undefined>;
4204
+ readonly kind: v.PicklistSchema<["project", "inbox"], undefined>;
4195
4205
  readonly type: v.PicklistSchema<["work", "client", "personal", "oss", "other"], undefined>;
4196
4206
  readonly organization_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4197
4207
  readonly scope: v.PicklistSchema<["personal", "work"], undefined>;
@@ -6620,6 +6630,7 @@ export declare const ENTITIES: {
6620
6630
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6621
6631
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6622
6632
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6633
+ readonly sender_is_me: v.BooleanSchema<undefined>;
6623
6634
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
6624
6635
  readonly timestamp: 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`">]>;
6625
6636
  readonly edited_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>;
@@ -6808,6 +6819,7 @@ export declare const ENTITIES: {
6808
6819
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6809
6820
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6810
6821
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6822
+ readonly sender_is_me: v.BooleanSchema<undefined>;
6811
6823
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
6812
6824
  readonly timestamp: 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`">]>;
6813
6825
  readonly edited_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>;
@@ -7239,6 +7251,7 @@ export declare const ENTITIES: {
7239
7251
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7240
7252
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7241
7253
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7254
+ readonly sender_is_me: v.BooleanSchema<undefined>;
7242
7255
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
7243
7256
  readonly timestamp: 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`">]>;
7244
7257
  readonly edited_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>;
@@ -7718,6 +7731,7 @@ export declare const ENTITIES: {
7718
7731
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7719
7732
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7720
7733
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7734
+ readonly sender_is_me: v.BooleanSchema<undefined>;
7721
7735
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
7722
7736
  readonly timestamp: 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`">]>;
7723
7737
  readonly edited_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>;
@@ -8373,6 +8387,7 @@ export declare const ENTITIES: {
8373
8387
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
8374
8388
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8375
8389
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8390
+ readonly sender_is_me: v.BooleanSchema<undefined>;
8376
8391
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
8377
8392
  readonly timestamp: 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`">]>;
8378
8393
  readonly edited_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>;
@@ -9970,6 +9985,7 @@ export declare const ENTITIES: {
9970
9985
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9971
9986
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9972
9987
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9988
+ readonly sender_is_me: v.BooleanSchema<undefined>;
9973
9989
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
9974
9990
  readonly timestamp: 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`">]>;
9975
9991
  readonly edited_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>;
@@ -10158,6 +10174,7 @@ export declare const ENTITIES: {
10158
10174
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10159
10175
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10160
10176
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10177
+ readonly sender_is_me: v.BooleanSchema<undefined>;
10161
10178
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
10162
10179
  readonly timestamp: 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`">]>;
10163
10180
  readonly edited_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>;
@@ -10384,6 +10401,7 @@ export declare const ENTITIES: {
10384
10401
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10385
10402
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10386
10403
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10404
+ readonly sender_is_me: v.BooleanSchema<undefined>;
10387
10405
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
10388
10406
  readonly timestamp: 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`">]>;
10389
10407
  readonly edited_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>;
@@ -10572,6 +10590,7 @@ export declare const ENTITIES: {
10572
10590
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10573
10591
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10574
10592
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10593
+ readonly sender_is_me: v.BooleanSchema<undefined>;
10575
10594
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
10576
10595
  readonly timestamp: 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`">]>;
10577
10596
  readonly edited_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>;
@@ -12,6 +12,7 @@ export declare const project: v.StrictObjectSchema<{
12
12
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
13
13
  readonly key: v.StringSchema<undefined>;
14
14
  readonly name: v.StringSchema<undefined>;
15
+ readonly kind: v.PicklistSchema<["project", "inbox"], undefined>;
15
16
  readonly type: v.PicklistSchema<["work", "client", "personal", "oss", "other"], undefined>;
16
17
  readonly organization_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
17
18
  readonly scope: v.PicklistSchema<["personal", "work"], undefined>;
@@ -13,6 +13,7 @@ export const project = v.strictObject({
13
13
  ref: reference,
14
14
  key: text,
15
15
  name: text,
16
+ kind: v.picklist(["project", "inbox"]),
16
17
  type: v.picklist(["work", "client", "personal", "oss", "other"]),
17
18
  organization_id: v.nullable(id),
18
19
  scope: v.picklist(["personal", "work"]),
@@ -11,6 +11,7 @@ export declare const watchedMessage: v.StrictObjectSchema<{
11
11
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
12
12
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
13
13
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
14
+ readonly sender_is_me: v.BooleanSchema<undefined>;
14
15
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
15
16
  readonly timestamp: 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`">]>;
16
17
  readonly edited_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>;
@@ -491,6 +492,7 @@ export declare const messageEvent: v.VariantSchema<"event", [v.StrictObjectSchem
491
492
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
492
493
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
493
494
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
495
+ readonly sender_is_me: v.BooleanSchema<undefined>;
494
496
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
495
497
  readonly timestamp: 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`">]>;
496
498
  readonly edited_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>;
@@ -1078,6 +1080,7 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
1078
1080
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1079
1081
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1080
1082
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1083
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1081
1084
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1082
1085
  readonly timestamp: 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`">]>;
1083
1086
  readonly edited_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>;
@@ -1557,6 +1560,7 @@ export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
1557
1560
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1558
1561
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1559
1562
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1563
+ readonly sender_is_me: v.BooleanSchema<undefined>;
1560
1564
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1561
1565
  readonly timestamp: 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`">]>;
1562
1566
  readonly edited_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>;
@@ -16,6 +16,7 @@ export declare const messageThread: v.StrictObjectSchema<{
16
16
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
17
17
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
18
18
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
19
+ readonly sender_is_me: v.BooleanSchema<undefined>;
19
20
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
20
21
  readonly timestamp: 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`">]>;
21
22
  readonly edited_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>;
@@ -228,6 +229,7 @@ export declare const messageContext: v.UnionSchema<[v.StrictObjectSchema<{
228
229
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
229
230
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
230
231
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
232
+ readonly sender_is_me: v.BooleanSchema<undefined>;
231
233
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
232
234
  readonly timestamp: 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`">]>;
233
235
  readonly edited_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>;
@@ -421,6 +423,7 @@ export declare const messageContext: v.UnionSchema<[v.StrictObjectSchema<{
421
423
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
422
424
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
423
425
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
426
+ readonly sender_is_me: v.BooleanSchema<undefined>;
424
427
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
425
428
  readonly timestamp: 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`">]>;
426
429
  readonly edited_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>;
@@ -12,6 +12,7 @@ export declare const messageWrite: v.StrictObjectSchema<{
12
12
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
13
13
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
14
14
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
15
+ readonly sender_is_me: v.BooleanSchema<undefined>;
15
16
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
16
17
  readonly timestamp: 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`">]>;
17
18
  readonly edited_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>;
@@ -201,6 +202,7 @@ export declare const messageWrite: v.StrictObjectSchema<{
201
202
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
202
203
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
203
204
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
205
+ readonly sender_is_me: v.BooleanSchema<undefined>;
204
206
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
205
207
  readonly timestamp: 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`">]>;
206
208
  readonly edited_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>;
@@ -398,6 +400,7 @@ export declare const messageSend: v.UnionSchema<[v.StrictObjectSchema<{
398
400
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
399
401
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
400
402
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
403
+ readonly sender_is_me: v.BooleanSchema<undefined>;
401
404
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
402
405
  readonly timestamp: 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`">]>;
403
406
  readonly edited_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>;
@@ -587,6 +590,7 @@ export declare const messageSend: v.UnionSchema<[v.StrictObjectSchema<{
587
590
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
588
591
  readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
589
592
  readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
593
+ readonly sender_is_me: v.BooleanSchema<undefined>;
590
594
  readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
591
595
  readonly timestamp: 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`">]>;
592
596
  readonly edited_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>;