@wirecat/zoom-cli 0.68.0 → 0.69.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 (122) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-R66UM3HM.js → all-profiles-ZQWPCJEK.js} +7 -7
  3. package/dist/bundle/{answer-policy-UCGUO53A.js → answer-policy-VBDYLUXI.js} +52 -52
  4. package/dist/bundle/{anthropic-4ZI2BPLG.js → anthropic-7FUQ2HYJ.js} +3 -3
  5. package/dist/bundle/{app-server-64O5IQI5.js → app-server-DNPE2EQB.js} +46 -46
  6. package/dist/bundle/{bun-HUHQD76Z.js → bun-ZVQFCFCC.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VOVHPTIF.js → bun-sqlite-EB2UMUPJ.js} +2 -2
  8. package/dist/bundle/{chunk-EZRPSZJS.js → chunk-2SYWVIQJ.js} +1 -1
  9. package/dist/bundle/chunk-37B7A4RP.js +66 -0
  10. package/dist/bundle/{chunk-YJY3W2ZT.js → chunk-3TPRYZUW.js} +18 -15
  11. package/dist/bundle/{chunk-K67V24AT.js → chunk-4APZQYCH.js} +3 -3
  12. package/dist/bundle/{chunk-7QNJICKZ.js → chunk-52DCABMU.js} +23 -23
  13. package/dist/bundle/{chunk-KUB2U5NT.js → chunk-5GOE6PQK.js} +5 -5
  14. package/dist/bundle/{chunk-77KFLU5F.js → chunk-5H6VTEEC.js} +2 -2
  15. package/dist/bundle/{chunk-PIHBD3YS.js → chunk-5ZF6QVMC.js} +4 -4
  16. package/dist/bundle/{chunk-FMQS7HCC.js → chunk-5ZJXKASF.js} +249 -8
  17. package/dist/bundle/chunk-6AMMTXEA.js +12473 -0
  18. package/dist/bundle/{chunk-SRP6SFFD.js → chunk-6KMTQX3D.js} +1 -1
  19. package/dist/bundle/{chunk-2T6XHWDX.js → chunk-6N2D6JGX.js} +1 -1
  20. package/dist/bundle/{chunk-R7LFGEDE.js → chunk-6TICX3MN.js} +2 -2
  21. package/dist/bundle/{chunk-W42BJ65M.js → chunk-B5D7NZI7.js} +1 -1
  22. package/dist/bundle/{chunk-EWIBLDQQ.js → chunk-C6TEYKXV.js} +6 -6
  23. package/dist/bundle/{chunk-32FPA7P2.js → chunk-CKK6JOC4.js} +1 -1
  24. package/dist/bundle/{chunk-JRCYFCPL.js → chunk-CUZHKYC2.js} +19 -19
  25. package/dist/bundle/{chunk-355PHJYX.js → chunk-DHD25JII.js} +1 -1
  26. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-EPPSMCEV.js} +1 -1
  27. package/dist/bundle/{chunk-AYEVBAGO.js → chunk-F5DYBWH7.js} +143 -22
  28. package/dist/bundle/{chunk-AJ7CMUGD.js → chunk-G6IX2MD2.js} +172 -143
  29. package/dist/bundle/{chunk-VLD7Y4SY.js → chunk-GR3QDHBU.js} +4 -4
  30. package/dist/bundle/{chunk-DGNPJGD3.js → chunk-GXDOTUUO.js} +8 -14
  31. package/dist/bundle/{chunk-5JAYUG3X.js → chunk-H3MFBYTQ.js} +2 -2
  32. package/dist/bundle/{chunk-TDGZMC6K.js → chunk-HC56J5LB.js} +57 -53
  33. package/dist/bundle/{chunk-4YFJYSSK.js → chunk-HSI7YOYK.js} +45 -29
  34. package/dist/bundle/{chunk-LYWUG43B.js → chunk-HW5QTRFF.js} +31 -31
  35. package/dist/bundle/{chunk-65T3PU75.js → chunk-IEC4E65G.js} +1 -1
  36. package/dist/bundle/{chunk-L4WVLRXM.js → chunk-IPBZKUC3.js} +3 -3
  37. package/dist/bundle/{chunk-TN3FH2GQ.js → chunk-JHFP3Z5S.js} +7 -7
  38. package/dist/bundle/{chunk-3BRV2YU2.js → chunk-JX5JJZC3.js} +2 -2
  39. package/dist/bundle/{chunk-YTF2WPV4.js → chunk-JZ4YOAHA.js} +679 -496
  40. package/dist/bundle/{chunk-474WF55M.js → chunk-KX5MZVPX.js} +38 -25
  41. package/dist/bundle/{chunk-TUNQ6NE2.js → chunk-L62EJDNZ.js} +2 -2
  42. package/dist/bundle/{chunk-6TJ62LZQ.js → chunk-LDRQ5NAP.js} +3 -3
  43. package/dist/bundle/{chunk-7DUYFITC.js → chunk-LEA4BGK7.js} +9 -9
  44. package/dist/bundle/{chunk-P2TISY3R.js → chunk-LQX74VKG.js} +1 -1
  45. package/dist/bundle/{chunk-RP3U3J53.js → chunk-MJMVIFSC.js} +6 -6
  46. package/dist/bundle/{chunk-A63ZFOQJ.js → chunk-MNOVYS43.js} +3 -3
  47. package/dist/bundle/{chunk-YQRNFG2E.js → chunk-MOTKS7XG.js} +7176 -13499
  48. package/dist/bundle/{chunk-6T3P226D.js → chunk-MSDCZ6GT.js} +4 -4
  49. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-MVDPZRFE.js} +1 -1
  50. package/dist/bundle/{chunk-LBOSTBAY.js → chunk-O7L44JK2.js} +2031 -1900
  51. package/dist/bundle/{chunk-Y5LP5SHV.js → chunk-OSBHEM2A.js} +9 -9
  52. package/dist/bundle/{chunk-RRYUD2EF.js → chunk-QLGG7S6F.js} +2 -2
  53. package/dist/bundle/{chunk-ZRD3NDOX.js → chunk-QW5VPZEH.js} +1 -1
  54. package/dist/bundle/{chunk-LV7QRR5S.js → chunk-QXM7S3Y3.js} +5 -5
  55. package/dist/bundle/{chunk-US5C3WAY.js → chunk-R2ULMWB4.js} +27 -27
  56. package/dist/bundle/{chunk-QXTREL2M.js → chunk-R3JYPY3J.js} +2 -2
  57. package/dist/bundle/{chunk-JO4YADNV.js → chunk-RPQ3JOD3.js} +3 -3
  58. package/dist/bundle/{chunk-4TLPOY22.js → chunk-S2EAGDS7.js} +10 -10
  59. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-SQT47CFW.js} +1 -1
  60. package/dist/bundle/{chunk-HXOAPH47.js → chunk-SZ3Z4ZNO.js} +1 -1
  61. package/dist/bundle/{chunk-DWSUSWAX.js → chunk-T5X4LGXE.js} +130 -11
  62. package/dist/bundle/{chunk-2OSBCYJT.js → chunk-TFFEFEG2.js} +16 -16
  63. package/dist/bundle/{chunk-EH5QGQFR.js → chunk-TKXLWFM2.js} +2 -2
  64. package/dist/bundle/{chunk-AVEIQMHZ.js → chunk-TN77LX6W.js} +1 -1
  65. package/dist/bundle/{chunk-77I67HWF.js → chunk-TWIC6JJG.js} +7 -7
  66. package/dist/bundle/{chunk-TZUKDM72.js → chunk-UEZ6URJR.js} +10 -10
  67. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-V4MM6GST.js} +1 -1
  68. package/dist/bundle/{chunk-BSM43OMN.js → chunk-V74QFMSL.js} +1 -1
  69. package/dist/bundle/{chunk-6CJ7NHIP.js → chunk-WY4NYPPS.js} +12 -12
  70. package/dist/bundle/{chunk-FNQASORM.js → chunk-XITUFTON.js} +1 -1
  71. package/dist/bundle/{chunk-GOXDBCDM.js → chunk-XJBYGMZ4.js} +107 -63
  72. package/dist/bundle/{chunk-UU5PLDRA.js → chunk-XRZDYWF6.js} +2 -2
  73. package/dist/bundle/{chunk-6XO7RTJY.js → chunk-Z6TTGTMU.js} +92 -5
  74. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-ZRHMB3LQ.js} +1 -1
  75. package/dist/bundle/{cli-VQJ7ZRYR.js → cli-P3BZUE6S.js} +67 -53
  76. package/dist/bundle/command-contract-TOLB32NJ.js +41 -0
  77. package/dist/bundle/config-4KLLIADY.js +90 -0
  78. package/dist/bundle/{decode-L3ENO2XH.js → decode-QWOQXM7M.js} +2 -2
  79. package/dist/bundle/{dist-WQLS7U23.js → dist-OUE4MF37.js} +79 -19
  80. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-65IMPY43.js} +2 -2
  81. package/dist/bundle/{embed-37MYTCU7.js → embed-4IULBCKL.js} +3 -3
  82. package/dist/bundle/{embedder-GNGHVJAO.js → embedder-JW4W6IZI.js} +6 -6
  83. package/dist/bundle/{first-run-NR5JKYP3.js → first-run-CH6C674R.js} +5 -5
  84. package/dist/bundle/first-screen-OCAW5ZN6.js +39 -0
  85. package/dist/bundle/{instructions-P72XX4AK.js → instructions-G5QIH2TM.js} +1 -1
  86. package/dist/bundle/{main-QYFCYSTW.js → main-O4ZJIEWP.js} +12 -12
  87. package/dist/bundle/{meetings-66UQINKI.js → meetings-77CCAVYD.js} +1 -1
  88. package/dist/bundle/{node-ZB4RNICS.js → node-E6VQHU4Y.js} +2 -2
  89. package/dist/bundle/{node-sqlite-XPRKBDF3.js → node-sqlite-RJZ4PGLD.js} +3 -3
  90. package/dist/bundle/{oauth-WJRDUU5J.js → oauth-F4JKNRW4.js} +4 -4
  91. package/dist/bundle/{open-S2YSIEOW.js → open-NYOGMIAA.js} +2 -2
  92. package/dist/bundle/{openai-CRNZFNZD.js → openai-5U6EQTFQ.js} +8 -8
  93. package/dist/bundle/{process-XNN4WG6N.js → process-OBWUKBMX.js} +1 -1
  94. package/dist/bundle/{program-BRPJKRCX.js → program-MU7DEJTO.js} +61 -61
  95. package/dist/bundle/{prompt-7RQOL25I.js → prompt-2QWQTHWT.js} +2 -2
  96. package/dist/bundle/{recognize-N5WADGQB.js → recognize-SNUNTUC3.js} +1 -1
  97. package/dist/bundle/{remote-WHYV35IF.js → remote-2CTCIQGF.js} +4 -4
  98. package/dist/bundle/{rerank-FBMZVWSH.js → rerank-XDA7NJNH.js} +4 -4
  99. package/dist/bundle/{run-log-TOCHREH2.js → run-log-NSG3DJVX.js} +50 -50
  100. package/dist/bundle/{serve-4BABX4WS.js → serve-TWQFHOV2.js} +6 -6
  101. package/dist/bundle/{server-CDVI6LOB.js → server-RIQ6HMH2.js} +38 -38
  102. package/dist/bundle/server-XO6XQQTJ.js +72 -0
  103. package/dist/bundle/{services-PIY33I7R.js → services-NKZQJQIV.js} +30 -24
  104. package/dist/bundle/{speech-LS5Q4FL2.js → speech-ZOB76SXA.js} +10 -10
  105. package/dist/bundle/{state-YUX5R2R7.js → state-7YYEIXQ5.js} +3 -3
  106. package/dist/bundle/{store-BD7HAXAA.js → store-E6RTSSNR.js} +21 -12
  107. package/dist/bundle/{store-ERMGBF2B.js → store-OX4HRBLO.js} +45 -14
  108. package/dist/bundle/store-connection-55QPNUDS.js +83 -0
  109. package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +62 -0
  110. package/dist/bundle/zm.js +2 -2
  111. package/dist/bundle/{zoom-app-XJXZ4ZBX.js → zoom-app-TSI2MGVK.js} +2 -2
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/package.json +2 -2
  115. package/dist/bundle/chunk-NUJMJQXV.js +0 -787
  116. package/dist/bundle/chunk-YOAEZSDG.js +0 -22
  117. package/dist/bundle/command-contract-JPUWWYIV.js +0 -41
  118. package/dist/bundle/config-YGLLR77A.js +0 -90
  119. package/dist/bundle/first-screen-RCR7ATO2.js +0 -39
  120. package/dist/bundle/server-XOFQKFVO.js +0 -72
  121. package/dist/bundle/store-connection-JBR6CMTJ.js +0 -83
  122. package/dist/bundle/store-maintenance-command-I5DUSO2C.js +0 -62
@@ -4,7 +4,7 @@ import {
4
4
  envName,
5
5
  readOnlyLockOf,
6
6
  readOnlyRefusal
7
- } from "./chunk-AVEIQMHZ.js";
7
+ } from "./chunk-TN77LX6W.js";
8
8
  import {
9
9
  currentCaller,
10
10
  endpointTemplate,
@@ -14,18 +14,18 @@ import {
14
14
  providerErrorKey,
15
15
  renderEvent,
16
16
  runContextOf
17
- } from "./chunk-RP3U3J53.js";
17
+ } from "./chunk-MJMVIFSC.js";
18
18
  import {
19
19
  permissionCeiling
20
- } from "./chunk-L4WVLRXM.js";
20
+ } from "./chunk-IPBZKUC3.js";
21
21
  import {
22
22
  fieldsOf,
23
23
  projectFields,
24
24
  resolveOutput
25
- } from "./chunk-JO4YADNV.js";
25
+ } from "./chunk-RPQ3JOD3.js";
26
26
  import {
27
27
  carries
28
- } from "./chunk-DVA6MQWK.js";
28
+ } from "./chunk-MVDPZRFE.js";
29
29
  import {
30
30
  DEFAULT_HISTORY_LIMITS,
31
31
  DEFAULT_RERANK_MODEL,
@@ -58,10 +58,7 @@ import {
58
58
  typedCommand,
59
59
  useAsProcessRun,
60
60
  withWriteScope
61
- } from "./chunk-JRCYFCPL.js";
62
- import {
63
- isCliFailure
64
- } from "./chunk-YOAEZSDG.js";
61
+ } from "./chunk-CUZHKYC2.js";
65
62
  import {
66
63
  CEILING_KEY,
67
64
  COMMAND_PATH_KEY,
@@ -72,10 +69,10 @@ import {
72
69
  keyForCommand,
73
70
  layerPermissions,
74
71
  permissionOverrides
75
- } from "./chunk-65T3PU75.js";
72
+ } from "./chunk-IEC4E65G.js";
76
73
  import {
77
74
  note
78
- } from "./chunk-TUNQ6NE2.js";
75
+ } from "./chunk-L62EJDNZ.js";
79
76
  import {
80
77
  FACT_STATUSES,
81
78
  LINK_KINDS,
@@ -84,7 +81,6 @@ import {
84
81
  MEMORY_SCOPES,
85
82
  MEMORY_STATUSES,
86
83
  PRIORITY_LABELS,
87
- RELATION_KINDS,
88
84
  TASK_KINDS,
89
85
  TASK_ORIGINS,
90
86
  TASK_STATES,
@@ -95,6 +91,7 @@ import {
95
91
  count,
96
92
  evidenceSource,
97
93
  id,
94
+ markStoreDamaged,
98
95
  organization,
99
96
  project,
100
97
  providerMetadata,
@@ -102,19 +99,26 @@ import {
102
99
  text,
103
100
  time,
104
101
  untrusted
105
- } from "./chunk-DWSUSWAX.js";
102
+ } from "./chunk-T5X4LGXE.js";
103
+ import {
104
+ isCliFailure,
105
+ storeDamaged
106
+ } from "./chunk-37B7A4RP.js";
106
107
  import {
107
108
  sharedConfigPath
108
- } from "./chunk-VLD7Y4SY.js";
109
+ } from "./chunk-GR3QDHBU.js";
109
110
  import {
111
+ DEAL_ROLES,
110
112
  INVOICE_DIRECTIONS,
111
113
  MONEY_DIRECTIONS,
112
114
  ORDER_PURPOSES,
113
- ORDER_STATUSES
114
- } from "./chunk-AYEVBAGO.js";
115
+ ORDER_STATUSES,
116
+ RELATION_KINDS,
117
+ STANDINGS
118
+ } from "./chunk-F5DYBWH7.js";
115
119
  import {
116
120
  storePath
117
- } from "./chunk-32FPA7P2.js";
121
+ } from "./chunk-CKK6JOC4.js";
118
122
  import {
119
123
  FACT_TYPES,
120
124
  MEETING_RESULT_ENTITIES,
@@ -132,7 +136,7 @@ import {
132
136
  meetingStats,
133
137
  meetingSummary,
134
138
  meetingTranscript
135
- } from "./chunk-TDGZMC6K.js";
139
+ } from "./chunk-HC56J5LB.js";
136
140
  import {
137
141
  FIELD_TYPES,
138
142
  QUERY_BACKENDS,
@@ -4004,7 +4008,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
4004
4008
  }
4005
4009
  }, "refuseJoinedPath");
4006
4010
 
4007
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4011
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/runs/log-events.js
4008
4012
  var CORE_LOG_EVENTS = defineLogEvents([
4009
4013
  { id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
4010
4014
  { id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
@@ -4038,7 +4042,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
4038
4042
  cache: "cache.answered"
4039
4043
  };
4040
4044
 
4041
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/runs/recording.js
4045
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/runs/recording.js
4042
4046
  var recorded = /* @__PURE__ */ __name(async (options, body) => {
4043
4047
  const recording = startRecording(options);
4044
4048
  try {
@@ -4129,7 +4133,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4129
4133
  ...partial2 ? { partial: partial2 } : {}
4130
4134
  });
4131
4135
  }, "succeed"),
4132
- fail: /* @__PURE__ */ __name(async (error) => {
4136
+ fail: /* @__PURE__ */ __name(async (thrown) => {
4137
+ const error = storeDamaged(thrown);
4138
+ markStoreDamaged(thrown, {
4139
+ store: storePath(options.env),
4140
+ command: `${options.app.command} ${options.command}`,
4141
+ version: options.app.version,
4142
+ runId
4143
+ });
4133
4144
  const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
4134
4145
  if (failed) {
4135
4146
  if (!isCliFailure(error))
@@ -4144,8 +4155,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
4144
4155
  ...run ? {} : { keptBecauseFailed: true }
4145
4156
  });
4146
4157
  }
4147
- if (typeof error === "object" && error !== null)
4148
- settled.add(error);
4158
+ if (typeof thrown === "object" && thrown !== null)
4159
+ settled.add(thrown);
4149
4160
  }, "fail")
4150
4161
  };
4151
4162
  }, "startRecording");
@@ -4223,7 +4234,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
4223
4234
  return void 0;
4224
4235
  }, "partialOutcome");
4225
4236
 
4226
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4237
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/deadline.js
4227
4238
  var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4228
4239
  if (ms2 === void 0)
4229
4240
  return body();
@@ -4249,7 +4260,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
4249
4260
  }
4250
4261
  }, "withDeadline");
4251
4262
 
4252
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/execution.js
4263
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/execution.js
4253
4264
  var DEFAULT_COMMAND_MS = 3e4;
4254
4265
  var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
4255
4266
  var DEFAULT_SYNC_MS = 15 * 6e4;
@@ -4432,7 +4443,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
4432
4443
  }
4433
4444
  }, "withAbort");
4434
4445
 
4435
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/profile.js
4446
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/profile.js
4436
4447
  var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
4437
4448
  var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
4438
4449
  var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
@@ -4501,7 +4512,7 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
4501
4512
  return void 0;
4502
4513
  }, "sampleCommand");
4503
4514
 
4504
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4515
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/models/endpoint.js
4505
4516
  var endpoint = /* @__PURE__ */ __name((value) => {
4506
4517
  try {
4507
4518
  const url2 = new URL(value);
@@ -4511,7 +4522,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
4511
4522
  }
4512
4523
  }, "endpoint");
4513
4524
 
4514
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/settings.js
4525
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/models/settings.js
4515
4526
  var MODEL_FIELDS = ["provider", "model", "base_url"];
4516
4527
  var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
4517
4528
  provider: optional(picklist(["off", "openai", "anthropic"])),
@@ -4580,7 +4591,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
4580
4591
  };
4581
4592
  }, "modelTarget");
4582
4593
 
4583
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4594
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/analysis/settings.js
4584
4595
  var model = pipe(string(), trim(), minLength(1), maxLength(200));
4585
4596
  var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
4586
4597
  var AI_FIELDS = {
@@ -4624,7 +4635,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
4624
4635
  };
4625
4636
  }, "resolveAISettings");
4626
4637
 
4627
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4638
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
4628
4639
  import { existsSync, readdirSync, readFileSync } from "node:fs";
4629
4640
  import { join } from "node:path";
4630
4641
  var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
@@ -4713,10 +4724,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
4713
4724
  return readdirSync(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
4714
4725
  }, "registryProfiles");
4715
4726
 
4716
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4727
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4717
4728
  import { readFileSync as readFileSync2 } from "node:fs";
4718
4729
 
4719
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
4730
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
4720
4731
  var REPAIR_WORDS = {
4721
4732
  byte_order_mark: "an invisible byte-order mark at the start",
4722
4733
  comment: "a comment, which JSON does not allow",
@@ -4957,7 +4968,7 @@ ${parts.join(",\n")}
4957
4968
  ${indent}${close}`;
4958
4969
  }, "serialise");
4959
4970
 
4960
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4971
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
4961
4972
  var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
4962
4973
  var SECTIONS = ["personal", "bot"];
4963
4974
  var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
@@ -5252,7 +5263,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
5252
5263
  return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
5253
5264
  }, "readConfigFile");
5254
5265
 
5255
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5266
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/default-config.js
5256
5267
  import { existsSync as existsSync2, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
5257
5268
  import { dirname, join as join2 } from "node:path";
5258
5269
  var DEFAULT_CONFIG = {
@@ -5281,7 +5292,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
5281
5292
  }
5282
5293
  __name(ensureDefaultConfig, "ensureDefaultConfig");
5283
5294
 
5284
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
5295
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
5285
5296
  import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
5286
5297
  import { join as join3 } from "node:path";
5287
5298
  var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
@@ -5303,7 +5314,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
5303
5314
  }, "profilesWithAccounts");
5304
5315
  var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
5305
5316
 
5306
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5317
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
5307
5318
  var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
5308
5319
  var parentOf = /* @__PURE__ */ __name((config, key) => {
5309
5320
  const path2 = key.split(".");
@@ -5336,7 +5347,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
5336
5347
  };
5337
5348
  }), "settingRows");
5338
5349
 
5339
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/settings.js
5350
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/settings.js
5340
5351
  import { existsSync as existsSync4 } from "node:fs";
5341
5352
  var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
5342
5353
  var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
@@ -5847,7 +5858,7 @@ var given = /* @__PURE__ */ __name((value) => {
5847
5858
  return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
5848
5859
  }, "given");
5849
5860
 
5850
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/background/budget.js
5861
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/background/budget.js
5851
5862
  var DEADLINE_MARGIN_MS = 5e3;
5852
5863
  var DEADLINE_MARGIN_SHARE = 0.15;
5853
5864
  var DEFAULT_REQUEST_MS = 2e3;
@@ -5890,7 +5901,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
5890
5901
  };
5891
5902
  }, "runBudget");
5892
5903
 
5893
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/context.js
5904
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/context.js
5894
5905
  var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
5895
5906
  const { deadline, signal, app } = environmentOf(command);
5896
5907
  const now = deadline?.();
@@ -6022,7 +6033,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
6022
6033
  return words.join(" ");
6023
6034
  }, "commandPath");
6024
6035
 
6025
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/effects.js
6036
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/effects.js
6026
6037
  var REMOTE_READ = { remote: "read", local: "read" };
6027
6038
  var FETCH = { remote: "read", local: "write" };
6028
6039
  var REMOTE_WRITE = { remote: "write", local: "write" };
@@ -6168,7 +6179,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
6168
6179
  throw readOnlyRefusal(lock, what);
6169
6180
  }, "refuseUnderReadOnly");
6170
6181
 
6171
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/member.js
6182
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/member.js
6172
6183
  var member = strictObject({
6173
6184
  id,
6174
6185
  name: nullable(text),
@@ -6191,7 +6202,7 @@ var member = strictObject({
6191
6202
  check: optional(record(string(), unknown()))
6192
6203
  });
6193
6204
 
6194
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat.js
6205
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat.js
6195
6206
  var setting = optional(nullable(boolean()));
6196
6207
  var chat = strictObject({
6197
6208
  ref: reference,
@@ -6232,7 +6243,7 @@ var chat = strictObject({
6232
6243
  members: optional(array(member))
6233
6244
  });
6234
6245
 
6235
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/list-results.js
6246
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/list-results.js
6236
6247
  var botProfile = strictObject({
6237
6248
  name: text,
6238
6249
  token: text,
@@ -6325,7 +6336,7 @@ var stickerInventory = strictObject({
6325
6336
  url: optional(nullable(text))
6326
6337
  });
6327
6338
 
6328
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6339
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
6329
6340
  var actionableError = objectWithRest({
6330
6341
  code: text,
6331
6342
  message: text,
@@ -6342,7 +6353,7 @@ var batchResult = strictObject({
6342
6353
  max_error_percent: count
6343
6354
  });
6344
6355
 
6345
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
6356
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
6346
6357
  var conversationBuild = strictObject({
6347
6358
  chat: id,
6348
6359
  messages: count,
@@ -6367,13 +6378,13 @@ var catchUpPreparation = strictObject({
6367
6378
  prepared: optional(conversationPreparation)
6368
6379
  });
6369
6380
 
6370
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6381
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6371
6382
  import { spawn } from "node:child_process";
6372
6383
  import { randomBytes } from "node:crypto";
6373
6384
  import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
6374
6385
  import { dirname as dirname2, join as join5 } from "node:path";
6375
6386
 
6376
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6387
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
6377
6388
  import { existsSync as existsSync5, readFileSync as readFileSync4, rmSync as rmSync2 } from "node:fs";
6378
6389
  import { join as join4 } from "node:path";
6379
6390
  var PART = /^[\w@+-][\w.@+-]{0,99}$/;
@@ -6413,7 +6424,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
6413
6424
  };
6414
6425
  }, "progressOf");
6415
6426
 
6416
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/runs/record-log.js
6427
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/runs/record-log.js
6417
6428
  var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
6418
6429
  const run = currentRun();
6419
6430
  const trace = traceId ?? run.traceId;
@@ -6427,7 +6438,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
6427
6438
  }));
6428
6439
  }, "recordLogFor");
6429
6440
 
6430
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6441
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
6431
6442
  var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
6432
6443
  var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
6433
6444
  const out = openSync(log, "a", 384);
@@ -6582,7 +6593,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
6582
6593
  return { job: id6, pid, chat: input.chat, log };
6583
6594
  }, "startArchiveJob");
6584
6595
 
6585
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/job.js
6596
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/job.js
6586
6597
  var problem = strictObject({ code: text, message: text });
6587
6598
  var job = strictObject({
6588
6599
  id,
@@ -6605,7 +6616,7 @@ var job = strictObject({
6605
6616
  error: optional(problem)
6606
6617
  });
6607
6618
 
6608
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message.js
6619
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message.js
6609
6620
  var quoted = strictObject({
6610
6621
  id,
6611
6622
  sender_id: nullable(id),
@@ -6724,7 +6735,7 @@ var message = strictObject({
6724
6735
  provider_metadata: providerMetadata
6725
6736
  });
6726
6737
 
6727
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6738
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
6728
6739
  var extractionItem = strictObject({
6729
6740
  ref: reference,
6730
6741
  attachment: count,
@@ -6757,7 +6768,7 @@ var extractionReport = strictObject({
6757
6768
  cursor: optional(text)
6758
6769
  });
6759
6770
 
6760
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
6771
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
6761
6772
  var savedMessageFile = strictObject({
6762
6773
  kind: text,
6763
6774
  path: text,
@@ -6844,7 +6855,7 @@ var messageSyncAll = strictObject({
6844
6855
  var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
6845
6856
  var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
6846
6857
 
6847
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/store-records.js
6858
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/store-records.js
6848
6859
  var range = strictObject({ from: number(), to: number() });
6849
6860
  var storeChatStatus = strictObject({
6850
6861
  chat_id: id,
@@ -6942,7 +6953,7 @@ var storeJobRetry = union([
6942
6953
  ]);
6943
6954
  var storeJobClear = strictObject({ cleared: array(id) });
6944
6955
 
6945
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/account.js
6956
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/account.js
6946
6957
  var account = strictObject({
6947
6958
  provider: text,
6948
6959
  id,
@@ -6952,7 +6963,7 @@ var account = strictObject({
6952
6963
  scope: optional(picklist(["personal", "work"]))
6953
6964
  });
6954
6965
 
6955
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6966
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/account-session.js
6956
6967
  var accountSession = strictObject({
6957
6968
  current: boolean(),
6958
6969
  client: nullable(text),
@@ -6962,7 +6973,7 @@ var accountSession = strictObject({
6962
6973
  created_at: optional(nullable(time))
6963
6974
  });
6964
6975
 
6965
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6976
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/account-change.js
6966
6977
  var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
6967
6978
  var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
6968
6979
  var audience = picklist(["everyone", "contacts", "nobody"]);
@@ -6980,7 +6991,7 @@ var accountPrivacy = strictObject({
6980
6991
  });
6981
6992
  var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
6982
6993
 
6983
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6994
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
6984
6995
  var accountProfile = strictObject({
6985
6996
  profile: id,
6986
6997
  current: boolean(),
@@ -6992,7 +7003,7 @@ var accountProfile = strictObject({
6992
7003
  bot: optional(literal(true))
6993
7004
  });
6994
7005
 
6995
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
7006
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
6996
7007
  var milliseconds = pipe(number(), minValue(0));
6997
7008
  var counterReading = strictObject({
6998
7009
  counter: picklist(["views", "reactions", "comments"]),
@@ -7004,7 +7015,7 @@ var counterReading = strictObject({
7004
7015
  });
7005
7016
  var selection = record(string(), unknown());
7006
7017
 
7007
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
7018
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
7008
7019
  var adminRow = strictObject({
7009
7020
  ref: reference,
7010
7021
  /** What `stats * evidence` takes: a person id, a stay or a message locator. */
@@ -7057,11 +7068,11 @@ var adminReport = strictObject({
7057
7068
  rows: array(adminRow)
7058
7069
  });
7059
7070
 
7060
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
7071
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
7061
7072
  var analysisConsent = strictObject({ chat: id, provider: text, at: time });
7062
7073
  var analysisConsentRevocation = strictObject({ revoked: boolean() });
7063
7074
 
7064
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7075
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
7065
7076
  var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
7066
7077
  var attachmentBytes = strictObject({
7067
7078
  ref: reference,
@@ -7089,7 +7100,7 @@ var attachmentTextChange = strictObject({
7089
7100
  replaced: nullable(picklist(["extracted", "agent"]))
7090
7101
  });
7091
7102
 
7092
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chart.js
7103
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chart.js
7093
7104
  var chart = strictObject({
7094
7105
  version: literal(1),
7095
7106
  kind: picklist(["bar", "line", "grouped-bar"]),
@@ -7104,7 +7115,7 @@ var chart = strictObject({
7104
7115
  file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
7105
7116
  });
7106
7117
 
7107
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/folder.js
7118
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/folder.js
7108
7119
  var named = strictObject({
7109
7120
  id,
7110
7121
  title: nullable(text),
@@ -7127,7 +7138,7 @@ var folder = strictObject({
7127
7138
  excluded_chats: optional(array(named))
7128
7139
  });
7129
7140
 
7130
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7141
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
7131
7142
  var inviteLink = strictObject({
7132
7143
  link: text,
7133
7144
  /** Who joins by it asks first, and an admin lets them in. */
@@ -7143,7 +7154,7 @@ var inviteLink = strictObject({
7143
7154
  joined_count: optional(count)
7144
7155
  });
7145
7156
 
7146
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7157
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
7147
7158
  var operated = { operation_id: id, chat_id: id };
7148
7159
  var group = strictObject({
7149
7160
  ...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
@@ -7223,7 +7234,7 @@ var chatFolderOrder = strictObject({
7223
7234
  folders: array(strictObject({ id, title: text }))
7224
7235
  });
7225
7236
 
7226
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7237
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
7227
7238
  var operated2 = { operation_id: id, chat_id: id };
7228
7239
  var chatRemoval = strictObject(operated2);
7229
7240
  var chatMuting = strictObject({
@@ -7234,7 +7245,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
7234
7245
  var chatPin = strictObject({ ...operated2, pinned: boolean() });
7235
7246
  var chatUnread = strictObject({ ...operated2, unread: literal(true) });
7236
7247
 
7237
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7248
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
7238
7249
  var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
7239
7250
  var chatEvent = strictObject({
7240
7251
  chat_id: id,
@@ -7251,7 +7262,7 @@ var chatEvent = strictObject({
7251
7262
  before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
7252
7263
  });
7253
7264
 
7254
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7265
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
7255
7266
  var chatMetadata = strictObject({
7256
7267
  chat_id: id,
7257
7268
  title: nullable(text),
@@ -7266,7 +7277,7 @@ var chatMetadataRefresh = strictObject({
7266
7277
  has_more: boolean()
7267
7278
  });
7268
7279
 
7269
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7280
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
7270
7281
  var action = picklist(["report", "delete", "remove"]);
7271
7282
  var level = picklist(["deny", "readonly", "ask", "allow"]);
7272
7283
  var chatRules = strictObject({
@@ -7303,7 +7314,7 @@ var chatModeration = strictObject({
7303
7314
  }))
7304
7315
  });
7305
7316
 
7306
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7317
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
7307
7318
  var optionalCount = optional(count);
7308
7319
  var minutes = nullable(number());
7309
7320
  var chatStats = strictObject({
@@ -7377,7 +7388,7 @@ var taskStats = strictObject({
7377
7388
  }))
7378
7389
  });
7379
7390
 
7380
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7391
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
7381
7392
  var memberCount = strictObject({
7382
7393
  day: pipe(text, isoDate()),
7383
7394
  participants: nullable(count),
@@ -7400,7 +7411,7 @@ var chatTracking = strictObject({
7400
7411
  tracked: boolean()
7401
7412
  });
7402
7413
 
7403
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7414
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
7404
7415
  var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
7405
7416
  var contactSync = strictObject({ added: count, changed: count, known: count });
7406
7417
  var profileFields = {
@@ -7438,7 +7449,7 @@ var profileFields = {
7438
7449
  }))
7439
7450
  };
7440
7451
 
7441
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact.js
7452
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact.js
7442
7453
  var contact = strictObject({
7443
7454
  ref: reference,
7444
7455
  id,
@@ -7469,7 +7480,7 @@ var contact = strictObject({
7469
7480
  notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
7470
7481
  });
7471
7482
 
7472
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7483
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
7473
7484
  var linkedIdentity = strictObject({
7474
7485
  provider: text,
7475
7486
  id,
@@ -7477,6 +7488,7 @@ var linkedIdentity = strictObject({
7477
7488
  username: nullable(text),
7478
7489
  is_bot: nullable(boolean()),
7479
7490
  accounts: array(id),
7491
+ seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
7480
7492
  method: text,
7481
7493
  linked_by: text,
7482
7494
  linked_at: time
@@ -7510,7 +7522,7 @@ var contactCheck = strictObject({
7510
7522
  checked_at: time
7511
7523
  });
7512
7524
 
7513
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7525
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
7514
7526
  var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
7515
7527
  var contextMessage = strictObject({
7516
7528
  locator: reference,
@@ -7544,6 +7556,8 @@ var contextEvent = strictObject({
7544
7556
  });
7545
7557
  var context = strictObject({
7546
7558
  person: contextPerson,
7559
+ /** The accounts read: only those of the scopes the caller may read. */
7560
+ accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
7547
7561
  shared: array(sharedChat),
7548
7562
  last: strictObject({
7549
7563
  from_them: nullable(contextMessage),
@@ -7708,7 +7722,7 @@ var contactPreparation = strictObject({
7708
7722
  })
7709
7723
  });
7710
7724
 
7711
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7725
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
7712
7726
  var contactNote = strictObject({
7713
7727
  id,
7714
7728
  /** The contact, as a `contact:` reference. */
@@ -7720,13 +7734,13 @@ var contactNote = strictObject({
7720
7734
  updated_at: time
7721
7735
  });
7722
7736
 
7723
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7737
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
7724
7738
  var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
7725
7739
  var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
7726
7740
  var contactStateChange = strictObject({ operation_id: id, person_id: id });
7727
7741
  var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
7728
7742
 
7729
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7743
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
7730
7744
  var conversationDetails = union([
7731
7745
  strictObject({ ...conversation.entries, messages: array(message) }),
7732
7746
  message
@@ -7816,7 +7830,7 @@ var conversationHit = strictObject({
7816
7830
  stale: boolean()
7817
7831
  });
7818
7832
 
7819
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/counters.js
7833
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/counters.js
7820
7834
  var counters = strictObject({
7821
7835
  cutoff: time,
7822
7836
  max_age_ms: milliseconds,
@@ -7846,7 +7860,7 @@ var counterRefresh = strictObject({
7846
7860
  complete: optional(boolean())
7847
7861
  });
7848
7862
 
7849
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/deal.js
7863
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/deal.js
7850
7864
  var nullableText = nullable(text);
7851
7865
  var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
7852
7866
  var outcome = picklist(["open", "won", "lost"]);
@@ -7883,7 +7897,7 @@ var deal = strictObject({
7883
7897
  value: unknown(),
7884
7898
  option_id: optional(union([string(), array(string())]))
7885
7899
  })),
7886
- people: array(strictObject({ ...party.entries, role: picklist(["owner", "contact", "decision-maker"]) })),
7900
+ people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
7887
7901
  author: strictObject({
7888
7902
  type: picklist(["person", "bot"]),
7889
7903
  id,
@@ -7910,7 +7924,10 @@ var pipelineStage = strictObject({
7910
7924
  open: count,
7911
7925
  /** With a funnel: rows that got this far, and the share of them that reached the next stage. */
7912
7926
  reached: optional(count),
7913
- conversion: optional(nullable(number()))
7927
+ conversion: optional(nullable(number())),
7928
+ /** With a funnel: rows standing in it now, and their sum per currency, never converted. */
7929
+ items: optional(count),
7930
+ amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
7914
7931
  });
7915
7932
  var pipeline = strictObject({
7916
7933
  id,
@@ -7933,7 +7950,7 @@ var stage = strictObject({
7933
7950
  untrusted
7934
7951
  });
7935
7952
 
7936
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/document.js
7953
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/document.js
7937
7954
  var document = strictObject({
7938
7955
  ref: reference,
7939
7956
  id,
@@ -7948,7 +7965,7 @@ var document = strictObject({
7948
7965
  owners: optional(array(text))
7949
7966
  });
7950
7967
 
7951
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7968
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/document-link.js
7952
7969
  var documentLink = strictObject({
7953
7970
  ref: reference,
7954
7971
  url: text,
@@ -7959,7 +7976,7 @@ var documentLink = strictObject({
7959
7976
  sender: strictObject({ id: nullable(id), name: nullable(text) })
7960
7977
  });
7961
7978
 
7962
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7979
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/evidence.js
7963
7980
  var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
7964
7981
  var contribution = strictObject({
7965
7982
  message: evidenceMessage,
@@ -7989,7 +8006,7 @@ var retentionStay = strictObject({
7989
8006
  });
7990
8007
  var evidence = union([contribution, retentionStay]);
7991
8008
 
7992
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/fact.js
8009
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/fact.js
7993
8010
  var fact = strictObject({
7994
8011
  ref: reference,
7995
8012
  id,
@@ -8019,7 +8036,7 @@ var fact = strictObject({
8019
8036
  updated_at: time
8020
8037
  });
8021
8038
 
8022
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/hit.js
8039
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/hit.js
8023
8040
  var hit = strictObject({
8024
8041
  kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
8025
8042
  ref: reference,
@@ -8057,7 +8074,7 @@ var hit = strictObject({
8057
8074
  untrusted
8058
8075
  });
8059
8076
 
8060
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/identity.js
8077
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/identity.js
8061
8078
  var identity = strictObject({
8062
8079
  ref: reference,
8063
8080
  provider: text,
@@ -8070,7 +8087,7 @@ var identity = strictObject({
8070
8087
  person: optional(nullable(reference))
8071
8088
  });
8072
8089
 
8073
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8090
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
8074
8091
  var imageEmbedding = strictObject({
8075
8092
  model: text,
8076
8093
  embedded: count,
@@ -8079,7 +8096,7 @@ var imageEmbedding = strictObject({
8079
8096
  more: boolean()
8080
8097
  });
8081
8098
 
8082
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8099
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/join-request.js
8083
8100
  var joinRequest = strictObject({
8084
8101
  person_id: id,
8085
8102
  name: nullable(text),
@@ -8090,7 +8107,7 @@ var joinRequest = strictObject({
8090
8107
  about: optional(text)
8091
8108
  });
8092
8109
 
8093
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8110
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
8094
8111
  var pollVote = strictObject({
8095
8112
  person_id: id,
8096
8113
  name: nullable(text),
@@ -8100,7 +8117,7 @@ var pollVote = strictObject({
8100
8117
  voted_at: time
8101
8118
  });
8102
8119
 
8103
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/listener.js
8120
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/listener.js
8104
8121
  var reactions = unwrap(unwrap(message.entries.reactions));
8105
8122
  var observation = strictObject({
8106
8123
  value: pipe(number(), minValue(0)),
@@ -8142,7 +8159,7 @@ var serveSummary = strictObject({
8142
8159
  tasks: optional(strictObject({ added: count, closed: count, review: count }))
8143
8160
  });
8144
8161
 
8145
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8162
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
8146
8163
  var mailCounts = strictObject({
8147
8164
  by: picklist(["day", "week", "sender"]),
8148
8165
  received: count,
@@ -8157,7 +8174,7 @@ var mailCounts = strictObject({
8157
8174
  }))
8158
8175
  });
8159
8176
 
8160
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8177
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
8161
8178
  var evidence2 = strictObject({ reference, fingerprint: text });
8162
8179
  var base = { id, evidence: array(evidence2) };
8163
8180
  var finding = variant("kind", [
@@ -8301,7 +8318,7 @@ var mailFindings = strictObject({
8301
8318
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
8302
8319
  });
8303
8320
 
8304
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8321
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
8305
8322
  var mediaArchive = strictObject({
8306
8323
  directory: text,
8307
8324
  chats: count,
@@ -8333,7 +8350,7 @@ var mediaArchiveTimer = union([
8333
8350
  strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
8334
8351
  ]);
8335
8352
 
8336
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8353
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
8337
8354
  var preparationId = pipe(string(), minLength(1));
8338
8355
  var preparationCount = pipe(number(), integer(), minValue(0));
8339
8356
  var preparationTime = nullable(isoTime);
@@ -8425,7 +8442,7 @@ var preparationMeeting = strictObject({
8425
8442
  updated_at: isoTime
8426
8443
  });
8427
8444
 
8428
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8445
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
8429
8446
  var meetingEvidence = preparationEvidence;
8430
8447
  var meetingPersonContext = strictObject({
8431
8448
  person: strictObject({ uid: string(), name: nullable(string()) }),
@@ -8447,7 +8464,7 @@ var meetingPersonContext = strictObject({
8447
8464
  })
8448
8465
  });
8449
8466
 
8450
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8467
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
8451
8468
  var evidence3 = strictObject({ reference, fingerprint: text });
8452
8469
  var base2 = { id, project: reference, evidence: array(evidence3) };
8453
8470
  var finding2 = variant("kind", [
@@ -8485,7 +8502,7 @@ var meetingFindings = strictObject({
8485
8502
  receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
8486
8503
  });
8487
8504
 
8488
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8505
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
8489
8506
  var communicationCoverage = strictObject({
8490
8507
  read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
8491
8508
  query: string(),
@@ -8530,7 +8547,7 @@ var preparationCommunications = strictObject({
8530
8547
  }))
8531
8548
  });
8532
8549
 
8533
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8550
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
8534
8551
  var meetingPreparation = strictObject({
8535
8552
  communications: optional(preparationCommunications),
8536
8553
  schema_version: literal(1),
@@ -8643,7 +8660,7 @@ var meetingPreparation = strictObject({
8643
8660
  })
8644
8661
  });
8645
8662
 
8646
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8663
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
8647
8664
  var count4 = pipe(number(), integer(), minValue(0));
8648
8665
  var id3 = pipe(string(), minLength(1));
8649
8666
  var text3 = string();
@@ -8707,7 +8724,7 @@ var meetingProjectCandidates = strictObject({
8707
8724
  })
8708
8725
  });
8709
8726
 
8710
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
8727
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
8711
8728
  var count5 = pipe(number(), integer(), minValue(0));
8712
8729
  var id4 = pipe(string(), minLength(1), maxLength(1e3));
8713
8730
  var meetingSeriesInventory = strictObject({
@@ -8737,7 +8754,7 @@ var meetingSeriesInventory = strictObject({
8737
8754
  })
8738
8755
  });
8739
8756
 
8740
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
8757
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
8741
8758
  var text4 = string();
8742
8759
  var id5 = pipe(number(), integer(), minValue(1));
8743
8760
  var revision = picklist(["current", "superseded"]);
@@ -8754,7 +8771,7 @@ var meetingTaskProposal = strictObject({
8754
8771
  persistence: literal("proposal-only")
8755
8772
  });
8756
8773
 
8757
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/memory.js
8774
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/memory.js
8758
8775
  var memory = strictObject({
8759
8776
  ref: reference,
8760
8777
  id,
@@ -8781,7 +8798,7 @@ var memory = strictObject({
8781
8798
  updated_at: time
8782
8799
  });
8783
8800
 
8784
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/mention.js
8801
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/mention.js
8785
8802
  var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
8786
8803
  var status = picklist(["found", "linked", "dismissed"]);
8787
8804
  var mention = strictObject({
@@ -8824,13 +8841,13 @@ var mentionRebuild = strictObject({
8824
8841
  mentions: count
8825
8842
  });
8826
8843
 
8827
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-change.js
8844
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-change.js
8828
8845
  var operated3 = { operation_id: id, chat_id: id };
8829
8846
  var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
8830
8847
  var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
8831
8848
  var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
8832
8849
 
8833
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-read.js
8850
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-read.js
8834
8851
  var messageTranscript = strictObject({
8835
8852
  message_id: id,
8836
8853
  text,
@@ -8888,7 +8905,7 @@ var evidencePacket = strictObject({
8888
8905
  }))
8889
8906
  });
8890
8907
 
8891
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-context.js
8908
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-context.js
8892
8909
  var messageThread = strictObject({
8893
8910
  ref: reference,
8894
8911
  chat: id,
@@ -8905,7 +8922,7 @@ var messageThread = strictObject({
8905
8922
  });
8906
8923
  var messageContext = union([message, messageThread]);
8907
8924
 
8908
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
8925
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
8909
8926
  var messageCounts = strictObject({
8910
8927
  by: picklist(["chat", "sender", "day", "hour"]),
8911
8928
  total: count,
@@ -8918,7 +8935,7 @@ var messageCounts = strictObject({
8918
8935
  }))
8919
8936
  });
8920
8937
 
8921
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-link.js
8938
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-link.js
8922
8939
  var messageLink = strictObject({
8923
8940
  ref: reference,
8924
8941
  url: nullable(text),
@@ -8935,7 +8952,7 @@ var messageLink = strictObject({
8935
8952
  })))
8936
8953
  });
8937
8954
 
8938
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/message-write.js
8955
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/message-write.js
8939
8956
  var messageWrite = strictObject({
8940
8957
  operation_id: id,
8941
8958
  message,
@@ -8950,7 +8967,7 @@ var draftWrite = strictObject({
8950
8967
  });
8951
8968
  var messageSend = union([messageWrite, draftWrite]);
8952
8969
 
8953
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/model.js
8970
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/model.js
8954
8971
  var model2 = strictObject({
8955
8972
  id,
8956
8973
  kind: picklist(["audio", "text", "image", "reranker"]),
@@ -8967,7 +8984,7 @@ var model2 = strictObject({
8967
8984
  path: text
8968
8985
  });
8969
8986
 
8970
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/model-key.js
8987
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/model-key.js
8971
8988
  var source = picklist(["environment", "keyring", "file"]);
8972
8989
  var modelKey = strictObject({
8973
8990
  provider: text,
@@ -8977,7 +8994,7 @@ var modelKey = strictObject({
8977
8994
  var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
8978
8995
  var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
8979
8996
 
8980
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
8997
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
8981
8998
  var versus = strictObject({ current: number(), previous: number() });
8982
8999
  var person = { person_ref: reference, name: nullable(text) };
8983
9000
  var graph = strictObject({
@@ -9011,14 +9028,14 @@ var officialStats = strictObject({
9011
9028
  graphs: record(string(), union([graph, strictObject({ error: text })]))
9012
9029
  });
9013
9030
 
9014
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/person.js
9031
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/person.js
9015
9032
  var person2 = strictObject({
9016
9033
  ref: reference,
9017
9034
  name: nullable(text),
9018
9035
  identities: optional(array(identity))
9019
9036
  });
9020
9037
 
9021
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/poll.js
9038
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/poll.js
9022
9039
  var poll = strictObject({
9023
9040
  chat_id: id,
9024
9041
  message_id: id,
@@ -9034,11 +9051,11 @@ var poll = strictObject({
9034
9051
  });
9035
9052
  var pollChange = strictObject({ operation_id: id, poll });
9036
9053
 
9037
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9054
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
9038
9055
  var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
9039
9056
  var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
9040
9057
 
9041
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9058
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/ranking.js
9042
9059
  var figures = record(string(), number());
9043
9060
  var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
9044
9061
  var rankingRow = strictObject({
@@ -9085,7 +9102,7 @@ var ranking = strictObject({
9085
9102
  rows: array(rankingRow)
9086
9103
  });
9087
9104
 
9088
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9105
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/reaction.js
9089
9106
  var reaction = strictObject({
9090
9107
  person: strictObject({ id, name: nullable(text), username: nullable(text) }),
9091
9108
  /** The emoji, or `custom:<id>` for a custom one. */
@@ -9093,7 +9110,7 @@ var reaction = strictObject({
9093
9110
  reacted_at: time
9094
9111
  });
9095
9112
 
9096
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9113
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
9097
9114
  var reactionChange = strictObject({
9098
9115
  operation_id: id,
9099
9116
  chat_id: id,
@@ -9101,7 +9118,7 @@ var reactionChange = strictObject({
9101
9118
  reaction: nullable(text)
9102
9119
  });
9103
9120
 
9104
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9121
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/recipient.js
9105
9122
  var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
9106
9123
  var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
9107
9124
  var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
@@ -9112,7 +9129,7 @@ var recipientChange = strictObject({
9112
9129
  ...partial(recipientOff).entries
9113
9130
  });
9114
9131
 
9115
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9132
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
9116
9133
  var events = array(record(string(), unknown()));
9117
9134
  var recordedRun = strictObject({
9118
9135
  run_id: id,
@@ -9184,7 +9201,7 @@ var runHit = strictObject({
9184
9201
  });
9185
9202
  var runLocation = strictObject({ path: text });
9186
9203
 
9187
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9204
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/relationship.js
9188
9205
  var relationship = strictObject({
9189
9206
  id,
9190
9207
  from: reference,
@@ -9198,10 +9215,16 @@ var relationship = strictObject({
9198
9215
  confirmed: boolean(),
9199
9216
  provenance: nullable(text),
9200
9217
  confidence_category: picklist(["owner-confirmed", "weak"]),
9218
+ /** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
9219
+ standing: picklist(STANDINGS),
9220
+ /** A job title beside it, never its role. */
9221
+ position: nullable(text),
9222
+ starts_at: nullable(time),
9223
+ ends_at: nullable(time),
9201
9224
  created_at: time
9202
9225
  });
9203
9226
 
9204
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9227
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
9205
9228
  var milliseconds2 = nullable(pipe(number(), minValue(0)));
9206
9229
  var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
9207
9230
  var responseTimes = strictObject({
@@ -9218,7 +9241,7 @@ var waitingChats = strictObject({
9218
9241
  by_kind: strictObject({ private: count, group: count })
9219
9242
  });
9220
9243
 
9221
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/retention.js
9244
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/retention.js
9222
9245
  var retentionCohort = strictObject({
9223
9246
  /** The first day of the joining day or week. */
9224
9247
  cohort: text,
@@ -9266,7 +9289,7 @@ var retention = strictObject({
9266
9289
  rows: array(retentionCohort)
9267
9290
  });
9268
9291
 
9269
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9292
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
9270
9293
  var savedSearch = strictObject({
9271
9294
  id,
9272
9295
  /** `null` for a run in the history. */
@@ -9283,7 +9306,7 @@ var savedSearch = strictObject({
9283
9306
  });
9284
9307
  var searchHistoryClear = strictObject({ cleared: count });
9285
9308
 
9286
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9309
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
9287
9310
  var sendAttempt = strictObject({
9288
9311
  at: time,
9289
9312
  profile: text,
@@ -9311,7 +9334,7 @@ var sendAttempt = strictObject({
9311
9334
  error_code: optional(text)
9312
9335
  });
9313
9336
 
9314
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9337
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
9315
9338
  var absent = strictObject({ path: text, exists: literal(false) });
9316
9339
  var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
9317
9340
  var infoSchema = strictObject({
@@ -9532,7 +9555,7 @@ var storeRepair = union([
9532
9555
  ]);
9533
9556
  var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
9534
9557
 
9535
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/store-table.js
9558
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/store-table.js
9536
9559
  var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
9537
9560
  var storeTable = strictObject({
9538
9561
  name: text,
@@ -9541,7 +9564,7 @@ var storeTable = strictObject({
9541
9564
  bytes: optional(nullable(count))
9542
9565
  });
9543
9566
 
9544
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
9567
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
9545
9568
  var tagTarget = variant("type", [
9546
9569
  strictObject({ type: literal("chat"), chat_id: id }),
9547
9570
  strictObject({ type: literal("contact"), person_id: id }),
@@ -9572,7 +9595,7 @@ var automaticTags = strictObject({
9572
9595
  dry_run: boolean()
9573
9596
  });
9574
9597
 
9575
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
9598
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
9576
9599
  var side = strictObject({ ref: reference, key: text, title: text, status: text });
9577
9600
  var taskPair = strictObject({
9578
9601
  task: nullable(side),
@@ -9595,7 +9618,7 @@ var taskPair = strictObject({
9595
9618
  created_at: time
9596
9619
  });
9597
9620
 
9598
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/task-results.js
9621
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/task-results.js
9599
9622
  var nullableTime = nullable(time);
9600
9623
  var link = strictObject({
9601
9624
  id,
@@ -9769,7 +9792,7 @@ var taskReview = strictObject({
9769
9792
  untrusted
9770
9793
  });
9771
9794
 
9772
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/topic.js
9795
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/topic.js
9773
9796
  var topic = strictObject({
9774
9797
  id,
9775
9798
  title: text,
@@ -9783,7 +9806,7 @@ var topic = strictObject({
9783
9806
  untrusted
9784
9807
  });
9785
9808
 
9786
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/entities/index.js
9809
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/entities/index.js
9787
9810
  var ENTITIES = {
9788
9811
  sync_progress: progress,
9789
9812
  deal,
@@ -10069,7 +10092,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
10069
10092
  return [name, definition];
10070
10093
  })), "entityDefinitions");
10071
10094
 
10072
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10095
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
10073
10096
  var schemas = /* @__PURE__ */ new WeakMap();
10074
10097
  var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
10075
10098
  if (Object.hasOwn(ENTITIES, name))
@@ -10103,7 +10126,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
10103
10126
  return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
10104
10127
  }, "answerRow");
10105
10128
 
10106
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10129
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
10107
10130
  var where = [{ field: "ref" }];
10108
10131
  var who2 = { field: ["who.owner", "who.name"], tag: "you" };
10109
10132
  var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
@@ -10195,7 +10218,7 @@ var STATUS_ROWS = {
10195
10218
  "status.failed": { columns: [{ field: "signal" }], text: ["why"] }
10196
10219
  };
10197
10220
 
10198
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/compact.js
10221
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/compact.js
10199
10222
  var TEXT_CHARS = 400;
10200
10223
  var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
10201
10224
  var messageRow = {
@@ -10561,7 +10584,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
10561
10584
  return lines.concat(footerOf(body)).join("\n");
10562
10585
  }, "compactText");
10563
10586
 
10564
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/steps.js
10587
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/steps.js
10565
10588
  var STEPS2 = defineSteps([
10566
10589
  ...STEPS,
10567
10590
  {
@@ -10775,6 +10798,12 @@ var STEPS2 = defineSteps([
10775
10798
  ],
10776
10799
  why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
10777
10800
  },
10801
+ {
10802
+ id: "store.recover",
10803
+ command: "store recover",
10804
+ args: [],
10805
+ why: "the store file is damaged; this says what is lost and the commands that recover it"
10806
+ },
10778
10807
  {
10779
10808
  id: "search.meetings",
10780
10809
  command: "*",
@@ -10813,7 +10842,7 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
10813
10842
  nextStep(IMAGE_MODELS.some((one) => one.id === model3) ? "models.download-image" : "models.download", {
10814
10843
  args: { model: model3 }
10815
10844
  })
10816
- ] : [];
10845
+ ] : error.reason === "store.damaged" ? [nextStep("store.recover", {})] : [];
10817
10846
  return runnable(root, [...error.next ?? [], ...own]);
10818
10847
  }, "failureSteps");
10819
10848
  var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
@@ -10842,7 +10871,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
10842
10871
  ].join(" ");
10843
10872
  }, "stepLine");
10844
10873
 
10845
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
10874
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
10846
10875
  var SOFT_OUTPUT_BYTES = 256 * 1024;
10847
10876
  var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
10848
10877
  var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
@@ -10900,7 +10929,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
10900
10929
  return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
10901
10930
  }, "largeAnswerSteps");
10902
10931
 
10903
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
10932
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
10904
10933
  var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
10905
10934
  var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
10906
10935
  var strip = /* @__PURE__ */ __name((value) => {
@@ -10914,7 +10943,7 @@ var strip = /* @__PURE__ */ __name((value) => {
10914
10943
  return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
10915
10944
  }, "strip");
10916
10945
 
10917
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/cli/envelope.js
10946
+ // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3e7ac84c094d466aed903c683c124ab5/node_modules/@wirecat/cli-core/dist/cli/envelope.js
10918
10947
  var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
10919
10948
  var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
10920
10949
  var listOf = /* @__PURE__ */ __name((command, input) => {