@hearsay-tools/squawk 0.19.0-dev.9172 → 0.19.0-dev.9180

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 (150) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/hosts.d.ts +925 -0
  3. package/dist/contract/index.js +104 -2
  4. package/dist/core/server-hook-registry.d.ts +13 -0
  5. package/dist/core/server-hook-registry.js.map +1 -1
  6. package/dist/delegation/routes.d.ts +78 -78
  7. package/dist/features/hosts/admission.d.ts +52 -0
  8. package/dist/features/hosts/admission.js +89 -0
  9. package/dist/features/hosts/admission.js.map +1 -0
  10. package/dist/features/hosts/gateway.d.ts +14 -3
  11. package/dist/features/hosts/gateway.js +35 -21
  12. package/dist/features/hosts/gateway.js.map +1 -1
  13. package/dist/features/hosts/index.d.ts +7 -3
  14. package/dist/features/hosts/index.js +41 -7
  15. package/dist/features/hosts/index.js.map +1 -1
  16. package/dist/features/hosts/registry-reconciler.d.ts +41 -0
  17. package/dist/features/hosts/registry-reconciler.js +168 -0
  18. package/dist/features/hosts/registry-reconciler.js.map +1 -0
  19. package/dist/features/hosts/routes.d.ts +414 -48
  20. package/dist/features/hosts/routes.js +72 -62
  21. package/dist/features/hosts/routes.js.map +1 -1
  22. package/dist/features/hosts/runs-index-events.d.ts +23 -0
  23. package/dist/features/hosts/runs-index-events.js +116 -0
  24. package/dist/features/hosts/runs-index-events.js.map +1 -0
  25. package/dist/features/hosts/runs-index-patch.d.ts +203 -0
  26. package/dist/features/hosts/runs-index-patch.js +798 -0
  27. package/dist/features/hosts/runs-index-patch.js.map +1 -0
  28. package/dist/features/hosts/runs-index.d.ts +149 -0
  29. package/dist/features/hosts/runs-index.js +762 -0
  30. package/dist/features/hosts/runs-index.js.map +1 -0
  31. package/dist/features/hosts/runs-search.d.ts +28 -0
  32. package/dist/features/hosts/runs-search.js +151 -0
  33. package/dist/features/hosts/runs-search.js.map +1 -0
  34. package/dist/features/hosts/supervisor.d.ts +4 -0
  35. package/dist/features/hosts/supervisor.js +14 -6
  36. package/dist/features/hosts/supervisor.js.map +1 -1
  37. package/dist/features/reports/routes.d.ts +2 -2
  38. package/dist/features/webhooks/routes.d.ts +38 -38
  39. package/dist/plugin/index.d.ts +1 -1
  40. package/dist/plugin/index.js.map +1 -1
  41. package/dist/server/activity-routes.d.ts +23 -23
  42. package/dist/server/models-routes.d.ts +12 -12
  43. package/dist/server/project-settings-routes.d.ts +107 -107
  44. package/dist/server/projects-routes.d.ts +41 -41
  45. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  46. package/dist/server/providers-routes.d.ts +58 -58
  47. package/dist/server/runner-install-routes.d.ts +10 -10
  48. package/dist/server/runners-routes.d.ts +10 -10
  49. package/dist/server/runs-routes.d.ts +344 -344
  50. package/dist/server/server.d.ts +1195 -1195
  51. package/dist/server/server.js +7 -1
  52. package/dist/server/server.js.map +1 -1
  53. package/dist/server/workspace-identity-routes.d.ts +5 -5
  54. package/dist/server/workspace-live-routes.d.ts +5 -5
  55. package/dist/server/workspace-routes.d.ts +85 -85
  56. package/dist/server/workspace-run-feed.d.ts +4 -0
  57. package/dist/server/workspace-run-feed.js +13 -0
  58. package/dist/server/workspace-run-feed.js.map +1 -1
  59. package/package.json +4 -4
  60. package/scripts/benchmark-hosts-runs-index-probes.ts +242 -0
  61. package/scripts/benchmark-hosts-runs-index.ts +776 -0
  62. package/web/dist/assets/accounts-section-BDUoikVg.js +1 -0
  63. package/web/dist/assets/activity-motion-CYdEr0hu.js +1 -0
  64. package/web/dist/assets/{activity-route-C2zP5vVV.js → activity-route-D8BPLoZj.js} +1 -1
  65. package/web/dist/assets/{agent-accounts-D_ZKAmaW.js → agent-accounts-C2ILQhZy.js} +1 -1
  66. package/web/dist/assets/{agent-config-section-CwK_izpU.js → agent-config-section-BO8w2cry.js} +2 -2
  67. package/web/dist/assets/agent-defaults-section-BBcv7Vbh.js +1 -0
  68. package/web/dist/assets/{appearance-DvoRcoRX.js → appearance-yF_NXlq5.js} +1 -1
  69. package/web/dist/assets/{archive-on-merge-field-DWPtF9dh.js → archive-on-merge-field-Dh1M21D6.js} +1 -1
  70. package/web/dist/assets/{ask-card-D-om0EtP.js → ask-card-2E9m5VRA.js} +1 -1
  71. package/web/dist/assets/attention-C7BUdd2s.js +1 -0
  72. package/web/dist/assets/automations-route-D27bK2j6.js +2 -0
  73. package/web/dist/assets/{commit-list-CPJLP4DU.js → commit-list-sFxchD2V.js} +1 -1
  74. package/web/dist/assets/{diff-BQJN6jzN.js → diff-C5-32cRp.js} +2 -2
  75. package/web/dist/assets/{diff-controls-AsSX7gfO.js → diff-controls-Ci36iPlK.js} +1 -1
  76. package/web/dist/assets/{diff-view-BW5bbiaq.js → diff-view-CCtuYJNL.js} +1 -1
  77. package/web/dist/assets/{discard-changes-dialog-Bv4yc0N1.js → discard-changes-dialog-BACqR1hj.js} +1 -1
  78. package/web/dist/assets/{file-preview-CnrFxbea.js → file-preview-B7T7jFYo.js} +1 -1
  79. package/web/dist/assets/{folder-browser-CFd1U5hn.js → folder-browser-3cBLlnE9.js} +1 -1
  80. package/web/dist/assets/{git-toolbar-C7iolhIi.js → git-toolbar-UkRnjuDs.js} +1 -1
  81. package/web/dist/assets/github-CkbZgMnJ.js +1 -0
  82. package/web/dist/assets/{global-activity-route-Dijwg4OL.js → global-activity-route-j37l-BQU.js} +1 -1
  83. package/web/dist/assets/hosts-iUyg8S3j.js +1 -0
  84. package/web/dist/assets/index-DkQ5xrLr.js +21 -0
  85. package/web/dist/assets/{label-CgU9vxuM.js → label-CWlxyeC-.js} +1 -1
  86. package/web/dist/assets/{markdown-Cljq4S1h.js → markdown-FIfZPsax.js} +1 -1
  87. package/web/dist/assets/{open-in-menu-BI7mnPPf.js → open-in-menu-Bf8JA2DJ.js} +1 -1
  88. package/web/dist/assets/{option-select-BcTkv-7t.js → option-select-DylfDjGi.js} +1 -1
  89. package/web/dist/assets/{preferences-section-CEKXGhEj.js → preferences-section-DjWfc1i-.js} +1 -1
  90. package/web/dist/assets/{preview-EtD19mg1.js → preview-BSFJfN4s.js} +1 -1
  91. package/web/dist/assets/{preview-pane-connected-CKRBfx7t.js → preview-pane-connected-CfiPFvTH.js} +2 -2
  92. package/web/dist/assets/{project-location-hufc_p8y.js → project-location-CEX0-MZp.js} +1 -1
  93. package/web/dist/assets/{project-router-Dc6KBQsv.js → project-router-CwD1firw.js} +1 -1
  94. package/web/dist/assets/{projects-section-vOFZ4lbx.js → projects-section-Czmf0wFK.js} +1 -1
  95. package/web/dist/assets/{prompt-templates-section-Caash2nq.js → prompt-templates-section-DK4CV73w.js} +1 -1
  96. package/web/dist/assets/queries-D9mg7sFY.js +1 -0
  97. package/web/dist/assets/{read-state-BeVNfGkB.js → read-state-BsTfJki5.js} +1 -1
  98. package/web/dist/assets/{reference-chip-BjerVjzM.js → reference-chip-CZKBU_Ud.js} +1 -1
  99. package/web/dist/assets/{remote-settings-notice-fNgh5LdN.js → remote-settings-notice-Dott-jyP.js} +1 -1
  100. package/web/dist/assets/repo-git-Djt3N2wP.js +1 -0
  101. package/web/dist/assets/{report-reader-CK1WDtEH.js → report-reader-CrdDix7Z.js} +1 -1
  102. package/web/dist/assets/{report-selection-CZ8eb9QP.js → report-selection-Y2F9NTAs.js} +1 -1
  103. package/web/dist/assets/{reports-B-GImLAo.js → reports-Iw4LUvz2.js} +1 -1
  104. package/web/dist/assets/{resources-section-ApF3gXrw.js → resources-section-D3wUzdUQ.js} +1 -1
  105. package/web/dist/assets/{review-notes-drafts-BdjEFs1G.js → review-notes-drafts-xyC7GvRB.js} +1 -1
  106. package/web/dist/assets/{review-panel-D4zmYH8O.js → review-panel-3x_2lbej.js} +1 -1
  107. package/web/dist/assets/{review-strip-BpHXklAn.js → review-strip-CDYpq9_S.js} +1 -1
  108. package/web/dist/assets/{run-detail-refresh-CE0vyYYA.js → run-detail-refresh-SYZM94ch.js} +1 -1
  109. package/web/dist/assets/{run-diff-ClfLRsHF.js → run-diff-D26PXp6r.js} +1 -1
  110. package/web/dist/assets/run-header-DZ0rkryR.js +2 -0
  111. package/web/dist/assets/{select-CwDhRDtw.js → select-DC_G2no3.js} +1 -1
  112. package/web/dist/assets/{session-context-section-C87jx7RB.js → session-context-section-DEUv-ISr.js} +1 -1
  113. package/web/dist/assets/{settings-agent-picker-Dk8yJ57U.js → settings-agent-picker-BrFN2RaQ.js} +1 -1
  114. package/web/dist/assets/{settings-save-bar-cu8BKCGT.js → settings-save-bar-C0pFHqte.js} +1 -1
  115. package/web/dist/assets/{settings-shell-mhQfQKf1.js → settings-shell-BWWbVxv-.js} +1 -1
  116. package/web/dist/assets/{sidebar-section-DOQ5N1L6.js → sidebar-section-BGo1zjJt.js} +1 -1
  117. package/web/dist/assets/{skills-DXJ1gQBD.js → skills-qFMQz6sm.js} +1 -1
  118. package/web/dist/assets/{status-dot-Bmn4xhch.js → status-dot-DTU7afRv.js} +1 -1
  119. package/web/dist/assets/{tab-link-6TltE1jl.js → tab-link-BJDe5cT4.js} +1 -1
  120. package/web/dist/assets/{task-changes-D9Sdmpmw.js → task-changes-DKJHAtKC.js} +2 -2
  121. package/web/dist/assets/{task-commits-A0UIqxpL.js → task-commits-Dtt60D0o.js} +1 -1
  122. package/web/dist/assets/{task-file-scope-ID220XKo.js → task-file-scope-FTt7SiGn.js} +1 -1
  123. package/web/dist/assets/{task-files-Id2tuAAG.js → task-files-DVz4222z.js} +1 -1
  124. package/web/dist/assets/{task-github-item-YKUcwp2o.js → task-github-item-CJpKQ6cU.js} +1 -1
  125. package/web/dist/assets/{task-groups-DCg4iOB9.js → task-groups-BvVfsQKd.js} +1 -1
  126. package/web/dist/assets/{task-thread-A_vkygGX.js → task-thread-DiYtqka4.js} +2 -2
  127. package/web/dist/assets/{thread-state-6-BzRrJ_.js → thread-state-pO7Wy_7R.js} +1 -1
  128. package/web/dist/assets/toaster-2ud_VdfV.js +4 -0
  129. package/web/dist/assets/{use-finish-run-DO-nnAaa.js → use-finish-run-5S30Eu3d.js} +1 -1
  130. package/web/dist/assets/{use-hand-to-agent-state-CADaL8U8.js → use-hand-to-agent-state-BB_VmbF7.js} +1 -1
  131. package/web/dist/assets/use-path-bases-npA-uKvg.js +1 -0
  132. package/web/dist/assets/use-workspace-config-save-DDI7_WtK.js +1 -0
  133. package/web/dist/assets/{workflows-DOLG-Rns.js → workflows-DLuBawpi.js} +2 -2
  134. package/web/dist/assets/{workspace-tools-DTCJVDTE.js → workspace-tools-D4jshe-2.js} +1 -1
  135. package/web/dist/assets/{worktrees-section-BOHDbywt.js → worktrees-section-CESTBOem.js} +5 -5
  136. package/web/dist/index.html +19 -19
  137. package/web/dist/assets/accounts-section-Bnr89jmC.js +0 -1
  138. package/web/dist/assets/activity-motion-BW0tAmYF.js +0 -1
  139. package/web/dist/assets/agent-defaults-section-RyEogH0g.js +0 -1
  140. package/web/dist/assets/attention-BI6592lk.js +0 -1
  141. package/web/dist/assets/automations-route-DfGE4xWT.js +0 -2
  142. package/web/dist/assets/github-DGElvfMU.js +0 -1
  143. package/web/dist/assets/hosts-CpDMDiQW.js +0 -1
  144. package/web/dist/assets/index-DPfg7xSB.js +0 -21
  145. package/web/dist/assets/queries-IlC9MZgh.js +0 -1
  146. package/web/dist/assets/repo-git-5MK_RAR6.js +0 -1
  147. package/web/dist/assets/run-header-BUe92WWr.js +0 -2
  148. package/web/dist/assets/toaster-DNnL8v10.js +0 -4
  149. package/web/dist/assets/use-path-bases-CFAmFn_E.js +0 -1
  150. package/web/dist/assets/use-workspace-config-save-DScW6_8J.js +0 -1
@@ -0,0 +1,242 @@
1
+ /**
2
+ * Isolated HTTP client, SSE summary stream helper, and 1 ms server event-loop heartbeat probe for
3
+ * `benchmark-hosts-runs-index.ts` (`hearsay-tools/squawk#4541`).
4
+ */
5
+ import { spawn } from 'node:child_process';
6
+ import { performance } from 'node:perf_hooks';
7
+
8
+ export interface IsolatedHttpResult {
9
+ status: number;
10
+ elapsedMs: number;
11
+ bytes: number;
12
+ runsCount?: number | undefined;
13
+ }
14
+
15
+ export interface IsolatedHttpClient {
16
+ get(url: string, options?: { countRuns?: boolean }): Promise<IsolatedHttpResult>;
17
+ close(): void;
18
+ }
19
+
20
+ export async function openSummarySseClient(origin: string): Promise<{
21
+ waitForEvent: (eventName: string, count?: number, timeoutMs?: number) => Promise<number>;
22
+ waitForMatch: (eventName: string, predicate: (data: string) => boolean, timeoutMs?: number) => Promise<number>;
23
+ close: () => void;
24
+ }> {
25
+ const abort = new AbortController();
26
+ const res = await fetch(`${origin}/api/v1/workspace/events?runs=summary`, {
27
+ headers: { accept: 'text/event-stream' },
28
+ signal: abort.signal,
29
+ });
30
+ if (!res.ok || !res.body) throw new Error(`GET /api/v1/workspace/events?runs=summary failed: ${res.status}`);
31
+ const counts = new Map<string, number>();
32
+ const waiters: Array<{
33
+ eventName: string;
34
+ target?: number;
35
+ predicate?: (data: string) => boolean;
36
+ resolve: (t: number) => void;
37
+ }> = [];
38
+ const reader = res.body.getReader();
39
+ const decoder = new TextDecoder();
40
+ let buf = '';
41
+ let currentEvent = '';
42
+ let dataLines: string[] = [];
43
+
44
+ const pump = async () => {
45
+ try {
46
+ for (;;) {
47
+ const next = await reader.read();
48
+ if (next.done) break;
49
+ buf += decoder.decode(next.value, { stream: true });
50
+ for (;;) {
51
+ const nl = buf.indexOf('\n');
52
+ if (nl === -1) break;
53
+ const line = buf.slice(0, nl).replace(/\r$/, '');
54
+ buf = buf.slice(nl + 1);
55
+ if (line.length === 0) {
56
+ if (currentEvent) {
57
+ const nextCount = (counts.get(currentEvent) ?? 0) + 1;
58
+ counts.set(currentEvent, nextCount);
59
+ const payload = dataLines.join('\n');
60
+ const now = performance.now();
61
+ for (let i = waiters.length - 1; i >= 0; i -= 1) {
62
+ const w = waiters[i]!;
63
+ if (w.eventName !== currentEvent) continue;
64
+ const matched = w.predicate ? w.predicate(payload) : nextCount >= (w.target ?? 1);
65
+ if (matched) {
66
+ waiters.splice(i, 1);
67
+ w.resolve(now);
68
+ }
69
+ }
70
+ }
71
+ currentEvent = '';
72
+ dataLines = [];
73
+ } else if (line.startsWith('event:')) {
74
+ currentEvent = line.slice(6).trim();
75
+ } else if (line.startsWith('data:')) {
76
+ dataLines.push(line.slice(5).trimStart());
77
+ }
78
+ }
79
+ }
80
+ } catch {
81
+ // Closed on teardown.
82
+ } finally {
83
+ reader.releaseLock();
84
+ }
85
+ };
86
+ void pump();
87
+
88
+ const registerWaiter = (
89
+ spec: { eventName: string; target?: number; predicate?: (data: string) => boolean },
90
+ timeoutMs: number,
91
+ timeoutMessage: string,
92
+ ): Promise<number> => new Promise<number>((resolve, reject) => {
93
+ const entry = {
94
+ ...spec,
95
+ resolve: (t: number) => { clearTimeout(timer); resolve(t); },
96
+ };
97
+ const timer = setTimeout(() => {
98
+ const idx = waiters.indexOf(entry);
99
+ if (idx >= 0) waiters.splice(idx, 1);
100
+ reject(new Error(timeoutMessage));
101
+ }, timeoutMs);
102
+ timer.unref();
103
+ waiters.push(entry);
104
+ });
105
+
106
+ const waitForEvent = (eventName: string, count = 1, timeoutMs = 15_000): Promise<number> =>
107
+ registerWaiter(
108
+ { eventName, target: (counts.get(eventName) ?? 0) + count },
109
+ timeoutMs,
110
+ `Timed out waiting for ${count} ${eventName} event(s)`,
111
+ );
112
+ const waitForMatch = (
113
+ eventName: string,
114
+ predicate: (data: string) => boolean,
115
+ timeoutMs = 20_000,
116
+ ): Promise<number> =>
117
+ registerWaiter({ eventName, predicate }, timeoutMs, `Timed out waiting for matching ${eventName} event`);
118
+ try {
119
+ await waitForEvent('ready', 1, 5_000);
120
+ } catch (err) {
121
+ abort.abort();
122
+ throw err;
123
+ }
124
+ return { waitForEvent, waitForMatch, close: () => { abort.abort(); } };
125
+ }
126
+
127
+ /**
128
+ * Persistent child-process HTTP reader so the heartbeat probe on the main server process measures
129
+ * only the main server's event-loop block (never client-side `fetch`/body decoding).
130
+ */
131
+ export function createIsolatedHttpClient(): IsolatedHttpClient {
132
+ const script = `
133
+ import { createInterface } from 'node:readline';
134
+ import { performance } from 'node:perf_hooks';
135
+ const rl = createInterface({ input: process.stdin, crlfDelay: Infinity });
136
+ for await (const line of rl) {
137
+ if (!line.trim()) continue;
138
+ try {
139
+ const req = JSON.parse(line);
140
+ const t0 = performance.now();
141
+ const res = await fetch(req.url);
142
+ const buf = Buffer.from(await res.arrayBuffer());
143
+ const elapsedMs = performance.now() - t0;
144
+ let runsCount;
145
+ if (req.countRuns && res.ok) {
146
+ const parsed = JSON.parse(buf.toString('utf8'));
147
+ runsCount = Array.isArray(parsed.runs) ? parsed.runs.length : -1;
148
+ }
149
+ process.stdout.write(JSON.stringify({ status: res.status, elapsedMs, bytes: buf.byteLength, runsCount }) + '\\n');
150
+ } catch (err) {
151
+ process.stdout.write(JSON.stringify({ error: String(err) }) + '\\n');
152
+ }
153
+ }
154
+ `;
155
+ const child = spawn(process.execPath, ['--input-type=module', '-e', script], {
156
+ stdio: ['pipe', 'pipe', 'inherit'],
157
+ });
158
+ let buf = '';
159
+ let terminalError: Error | undefined;
160
+ const pending: Array<{ resolve: (result: IsolatedHttpResult) => void; reject: (err: Error) => void }> = [];
161
+ const failAllPending = (reason: string) => {
162
+ if (!terminalError) terminalError = new Error(reason);
163
+ while (pending.length > 0) {
164
+ pending.shift()!.reject(terminalError);
165
+ }
166
+ };
167
+ child.on('error', (err) => failAllPending(`Isolated HTTP client error: ${err.message}`));
168
+ child.on('exit', (code, signal) => failAllPending(`Isolated HTTP client exited (code=${code}, signal=${signal})`));
169
+ child.stdin.on('error', (err) => failAllPending(`Isolated HTTP client stdin error: ${err.message}`));
170
+ child.stdout.setEncoding('utf8');
171
+ child.stdout.on('data', (chunk: string) => {
172
+ buf += chunk;
173
+ for (;;) {
174
+ const nl = buf.indexOf('\n');
175
+ if (nl === -1) break;
176
+ const line = buf.slice(0, nl);
177
+ buf = buf.slice(nl + 1);
178
+ const entry = pending.shift();
179
+ if (!entry) continue;
180
+ const parsed = JSON.parse(line) as IsolatedHttpResult & { error?: string };
181
+ if (parsed.error) entry.reject(new Error(`Isolated HTTP client fetch failed: ${parsed.error}`));
182
+ else entry.resolve(parsed);
183
+ }
184
+ });
185
+ return {
186
+ get(url: string, options?: { countRuns?: boolean }) {
187
+ return new Promise((resolve, reject) => {
188
+ if (terminalError || child.exitCode !== null || child.signalCode !== null || child.stdin.destroyed) {
189
+ reject(
190
+ terminalError
191
+ ?? new Error(`Isolated HTTP client exited early (code=${child.exitCode}, signal=${child.signalCode})`),
192
+ );
193
+ return;
194
+ }
195
+ pending.push({ resolve, reject });
196
+ child.stdin.write(`${JSON.stringify({ url, countRuns: Boolean(options?.countRuns) })}\n`, (err) => {
197
+ if (err) failAllPending(`Isolated HTTP client stdin write failed: ${err.message}`);
198
+ });
199
+ });
200
+ },
201
+ close() {
202
+ failAllPending('Isolated HTTP client closed');
203
+ child.stdin.end();
204
+ child.kill();
205
+ },
206
+ };
207
+ }
208
+
209
+ /**
210
+ * Measures the longest synchronous block of the main server's event loop using a 1 ms `setInterval`
211
+ * heartbeat (unlike `monitorEventLoopDelay`, which can miss a synchronous HTTP `onread` stall on
212
+ * the first wake after `reset()`).
213
+ */
214
+ export function createEventLoopProbe(): { start(): Promise<void>; stopMs(): Promise<number> } {
215
+ let maxBlockMs = 0;
216
+ let lastTick = 0;
217
+ let timer: ReturnType<typeof setInterval> | undefined;
218
+ return {
219
+ async start() {
220
+ maxBlockMs = 0;
221
+ lastTick = performance.now();
222
+ timer = setInterval(() => {
223
+ const now = performance.now();
224
+ const lagMs = Math.max(0, now - lastTick - 1);
225
+ if (lagMs > maxBlockMs) maxBlockMs = lagMs;
226
+ lastTick = now;
227
+ }, 1);
228
+ timer.unref();
229
+ await new Promise<void>((resolve) => setTimeout(resolve, 5));
230
+ maxBlockMs = 0;
231
+ lastTick = performance.now();
232
+ },
233
+ async stopMs() {
234
+ await new Promise<void>((resolve) => setTimeout(resolve, 5));
235
+ if (timer !== undefined) {
236
+ clearInterval(timer);
237
+ timer = undefined;
238
+ }
239
+ return maxBlockMs;
240
+ },
241
+ };
242
+ }