@hearsay-tools/squawk 0.18.0-pr3391.5936 → 0.18.0-pr3402.5940

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 (85) hide show
  1. package/dist/ci-wait/controller.d.ts +4 -4
  2. package/dist/ci-wait/controller.js +1 -1
  3. package/dist/ci-wait/controller.js.map +1 -1
  4. package/dist/ci-wait/tool-catalog.d.ts +1054 -0
  5. package/dist/ci-wait/tool-catalog.js +151 -0
  6. package/dist/ci-wait/tool-catalog.js.map +1 -0
  7. package/dist/ci-wait/tools.d.ts +2 -544
  8. package/dist/ci-wait/tools.js +7 -147
  9. package/dist/ci-wait/tools.js.map +1 -1
  10. package/dist/contract/automation-schedule.d.ts +0 -9
  11. package/dist/contract/automations.d.ts +9 -1
  12. package/dist/contract/index.js +1960 -1956
  13. package/dist/contract/runs.d.ts +21 -1
  14. package/dist/core/claude-cli-runner.js +1 -1
  15. package/dist/core/claude-cli-runner.js.map +1 -1
  16. package/dist/core/codex-app-server-runner.js +1 -1
  17. package/dist/core/codex-app-server-runner.js.map +1 -1
  18. package/dist/core/cursor-print-runner.js +1 -1
  19. package/dist/core/cursor-print-runner.js.map +1 -1
  20. package/dist/core/omp-runner.js +1 -1
  21. package/dist/core/omp-runner.js.map +1 -1
  22. package/dist/core/pi-runner.js +1 -1
  23. package/dist/core/pi-runner.js.map +1 -1
  24. package/dist/delegation/routes.d.ts +4 -4
  25. package/dist/delegation/transport.d.ts +9 -9
  26. package/dist/preview/agent-address.js +1 -1
  27. package/dist/preview/agent-address.js.map +1 -1
  28. package/dist/preview/run-tools.js +1 -1
  29. package/dist/preview/run-tools.js.map +1 -1
  30. package/dist/runs/run-exits.d.ts +301 -301
  31. package/dist/serve-command.d.ts +1 -1
  32. package/dist/serve-command.js +1 -1
  33. package/dist/serve-command.js.map +1 -1
  34. package/dist/server/live-routes.d.ts +6 -6
  35. package/dist/server/preview-cdp-socket.js +1 -1
  36. package/dist/server/preview-cdp-socket.js.map +1 -1
  37. package/dist/server/preview-socket.js +1 -1
  38. package/dist/server/preview-socket.js.map +1 -1
  39. package/dist/server/workspace-live-routes.d.ts +6 -6
  40. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  41. package/package.json +4 -4
  42. package/web/dist/assets/{activity-motion-Bqd8S9Xy.js → activity-motion-XsGcc9eM.js} +2 -2
  43. package/web/dist/assets/{activity-route-DQI_8J09.js → activity-route-DIDXHV7J.js} +1 -1
  44. package/web/dist/assets/{agent-accounts-C6eyz75V.js → agent-accounts-CuRvwNoA.js} +1 -1
  45. package/web/dist/assets/{cez-idle-NomdGTfa.js → cez-idle-DtpdVf_5.js} +1 -1
  46. package/web/dist/assets/{commit-diff-panel-C7BUSPzE.js → commit-diff-panel-DtHg36xc.js} +1 -1
  47. package/web/dist/assets/{control-locations-DlrUP5vD.js → control-locations-CljaLD_b.js} +1 -1
  48. package/web/dist/assets/{diff-Bwy0qFul.js → diff-ImdJ4tPA.js} +2 -2
  49. package/web/dist/assets/{diff-view-B9kgeZTm.js → diff-view-BMqNpcSH.js} +1 -1
  50. package/web/dist/assets/{file-preview-DrXgM1-S.js → file-preview-C58stPPw.js} +1 -1
  51. package/web/dist/assets/{git-toolbar-B1gOn_1U.js → git-toolbar-Dzp24LO7.js} +1 -1
  52. package/web/dist/assets/{github-g-ZOTwHQ.js → github-Cn0hlJsH.js} +1 -1
  53. package/web/dist/assets/{github-sidebar-model-BdoLA7qT.js → github-sidebar-model-BSNdxNKJ.js} +1 -1
  54. package/web/dist/assets/{global-activity-route-CZ_xwiz3.js → global-activity-route-D5ke1ZQa.js} +1 -1
  55. package/web/dist/assets/index-lMBPAedr.js +17 -0
  56. package/web/dist/assets/{live-protocol-DBPXI6ks.js → live-protocol-BAiIX_Mf.js} +1 -1
  57. package/web/dist/assets/{live-refetch-pzhdhNS_.js → live-refetch-CstQIN6c.js} +1 -1
  58. package/web/dist/assets/{preview-pane-connected-Cx8q-Yrh.js → preview-pane-connected-Cl-W1pDv.js} +1 -1
  59. package/web/dist/assets/{project-router-BFKfAFvq.js → project-router-Dd63wBeA.js} +1 -1
  60. package/web/dist/assets/project-scope-context-wlB-Y0ii.js +4 -0
  61. package/web/dist/assets/{queries-BtScxiQP.js → queries-BPdWfTBN.js} +1 -1
  62. package/web/dist/assets/{repo-git-DgZuI4FP.js → repo-git-YYivBJ2x.js} +1 -1
  63. package/web/dist/assets/{report-reader-CeBtx_Sf.js → report-reader-gGAlVnKU.js} +1 -1
  64. package/web/dist/assets/reports-B_xpuTvK.js +1 -0
  65. package/web/dist/assets/{run-header-C8Eeonkx.js → run-header-CxRJxVsR.js} +2 -2
  66. package/web/dist/assets/{skills-DDoJCcmD.js → skills-CEFXcZA5.js} +1 -1
  67. package/web/dist/assets/{tab-link-DDpdYMnv.js → tab-link-CDrve3Rf.js} +1 -1
  68. package/web/dist/assets/{task-changes-XAcKfebn.js → task-changes-Bm4gjXBb.js} +1 -1
  69. package/web/dist/assets/{task-commits-D5V0Q0au.js → task-commits-DYHV533w.js} +1 -1
  70. package/web/dist/assets/{task-files-CkPJZE0w.js → task-files-Bqvj0rbX.js} +1 -1
  71. package/web/dist/assets/{task-github-item-CbCOKkvp.js → task-github-item-YkTV2--_.js} +1 -1
  72. package/web/dist/assets/{task-thread-DyR8HsDz.js → task-thread-CempX7k0.js} +5 -5
  73. package/web/dist/assets/{thread-state-BtmIMbkZ.js → thread-state-BpcneWuV.js} +1 -1
  74. package/web/dist/assets/{use-hand-to-agent-state-BUpbMYM9.js → use-hand-to-agent-state-B9qtivFb.js} +1 -1
  75. package/web/dist/assets/{useInfiniteQuery-BmfExLUr.js → useInfiniteQuery-hrWYY8aw.js} +1 -1
  76. package/web/dist/assets/useQuery-BHmKi9_o.js +1 -0
  77. package/web/dist/assets/{workflows-CEFtJj_h.js → workflows-z-CqJ0JW.js} +1 -1
  78. package/web/dist/assets/{ws-CEQH0TUT.js → ws-Cn8d-Fu-.js} +1 -1
  79. package/web/dist/index.html +13 -13
  80. package/web/dist/live-worker.js +1 -1
  81. package/dist/contract/run-status.d.ts +0 -32
  82. package/web/dist/assets/index-75IttVLX.js +0 -17
  83. package/web/dist/assets/project-scope-context-DSkcNKO7.js +0 -4
  84. package/web/dist/assets/reports-CRPxIRMM.js +0 -1
  85. package/web/dist/assets/useQuery-8pHkglP4.js +0 -1
@@ -0,0 +1,151 @@
1
+ import { productEnv } from '../core/product-env.js';
2
+ import { cezarAskRequestSchema, cezarCancelWaitRequestSchema, cezarDoneRequestSchema, cezarWaitRequestSchema } from '../contract/index.js';
3
+ import { ASK_LIMITS } from '../contract/index.js';
4
+ import { previewStopRequestSchema, previewServeRequestSchema } from '../contract/index.js';
5
+ import { scheduleTaskRequestSchema, scheduledTasksRequestSchema } from '../contract/index.js';
6
+ import { z } from 'zod';
7
+ /** Live preview is on under the exact value `1` only (spec 2026-10-02-live-preview-v1). */
8
+ export function previewToolEnabled(env = process.env) {
9
+ return productEnv('PREVIEW', env) === '1';
10
+ }
11
+ /** Automations are on unless the value is exactly `0` (spec 2026-10-02-scheduled-automations). */
12
+ export function automationsToolEnabled(env = process.env) {
13
+ return productEnv('AUTOMATIONS', env) !== '0';
14
+ }
15
+ /**
16
+ * The Anthropic tool API refuses a top-level `oneOf`/`anyOf`/`allOf`, so `cezar_wait` advertises
17
+ * one flat object: every kind's fields side by side, with `kind` as an enum. Each field's bounds
18
+ * come from its kind's own schema; the discriminated union validates on the server.
19
+ */
20
+ function flatWaitInputSchema() {
21
+ const properties = {};
22
+ // `timeout_seconds` is in the pr, worker, request, peer and process kinds: the pr schema's bounds
23
+ // (1–7200, default 1800) are the advertised ones, and the others ride in the description.
24
+ for (const option of [...cezarWaitRequestSchema.options].reverse()) {
25
+ Object.assign(properties, z.toJSONSchema(option, { io: 'input' }).properties);
26
+ }
27
+ const field = (key, description) => ({ ...properties[key], description });
28
+ return {
29
+ type: 'object',
30
+ properties: {
31
+ kind: { type: 'string', enum: cezarWaitRequestSchema.options.map(option => option.shape.kind.value), description: '"pr" waits for a GitHub pull request: its checks or its merge (see `until`); "worker" waits for workers you own; "request" waits for replies to requests you sent; "peer" waits for named peer tasks to message you or settle; "timer" wakes you after `seconds`; "process" wakes you when a background command ends.' },
32
+ operation_id: field('operation_id', 'Optional retry identity. Reuse it with exactly the same arguments after an unknown outcome; never use it for a different registration.'),
33
+ pr: field('pr', 'kind "pr": the HTTPS GitHub pull request URL.'),
34
+ until: field('until', 'kind "pr": "checks" (default) watches checks; "merge" waits for merge or closure and ignores queue removal. After requesting a merge, use "merge_or_blocked": wakes on merge, closure, conflict, or neither queue membership nor enabled auto-merge remaining. Pending checks or a queue slot alone do not end it. All targets retain their deadline and query-error exits. Only "merged" confirms success; "blocked" requires inspection and grants no permission to retry or merge.'),
35
+ wake_on_conflict: field('wake_on_conflict', 'kind "pr": Default true for "checks" and "merge". Set false when your work depends on another PR merging and you want to ignore its conflicts. "merge_or_blocked" always reports conflicts, regardless of this setting. With "checks", a conflicting PR may have no checks, ending as no_checks or deadline.'),
36
+ worker_ids: field('worker_ids', 'kind "worker": the workers you own to wait for (1–32 unique ids).'),
37
+ request_ids: field('request_ids', 'kind "request": the requests you sent, to a worker, your parent or a peer task, to wait for a reply to (1–32 unique ids).'),
38
+ peer_ids: field('peer_ids', 'kind "peer": the peer root tasks of this project to wait for (1–32 unique task ids; find them with `hsq message tasks`). A message from one of them, or one of them settling, ends the wait; other messages wake you and keep it open.'),
39
+ mode: field('mode', 'kind "worker" or "request": "any" wakes you when one selected id settles (default), "all" when every one has, "one" takes exactly one id.'),
40
+ timeout_seconds: field('timeout_seconds', 'The deadline in seconds. kind "pr": 1–7200, default 1800. kind "worker", "request" or "peer": 1–7200, default 600 (the default shown is the pr one). kind "process": 1–7200, default 1800.'),
41
+ seconds: field('seconds', 'kind "timer": seconds until the wake (60–7200).'),
42
+ pid: field('pid', 'kind "process": the PID of the background command: the `pid` the job start command printed.'),
43
+ exit_file: field('exit_file', 'kind "process": optional. Only a file that your own wrapper writes the exit code to, in $TMPDIR or the worktree, with a new name for each command. Leave it out for a command that is already running or that writes its status file somewhere else.'),
44
+ note: field('note', 'kind "timer" or "process": what to re-check, handed back to you at the wake.'),
45
+ },
46
+ required: ['kind'],
47
+ additionalProperties: false,
48
+ };
49
+ }
50
+ export const waitToolDefinition = {
51
+ name: 'cezar_wait',
52
+ description: 'Open a wait on something outside this turn: a GitHub pull request\'s checks or its merge (kind "pr"), workers you own (kind "worker"), the replies to requests you sent (kind "request"), named peer tasks that may message you or settle (kind "peer"), a timer (kind "timer"), or a background command (kind "process"). End your turn after it answers; Cezar wakes you when any open wait resolves, with its result. A human message wakes you too and closes no wait; only a message from a peer that a peer wait names closes that wait. Several waits can be open at once; the answer lists them. To wait for the user, call cezar_ask. A checks observation is not merge approval; only a merge wait\'s "merged" outcome means the PR merged. Times in the answers, such as `deadline`, are UTC. ' +
53
+ // hearsay-tools/cezarion#3097: Codex ends a command's process group when the command returns,
54
+ // so a plain `&` job dies there, and `setsid … & echo $!` prints a dead PID under Claude.
55
+ 'kind "process" wakes you when a background command ends. To start one yourself, run ' +
56
+ '`hsq job start <name> -- <command> [args...]` (your instructions give the full command for this session under "Long commands") ' +
57
+ 'and pass the `pid` and `exitFile` it prints as `pid` and `exit_file`, so the wake reports the exit code. ' +
58
+ 'It writes the command\'s output to the `log` file it prints, refuses a name that still runs, and the job outlives this session; Cezar does not stop it. ' +
59
+ 'Its files are in $TMPDIR, which Cezar removes when the task ends: for a job that must outlive the task, add `--dir <a git-ignored directory in the worktree>` before `--`. ' +
60
+ 'Do not start a long command with `&`, `nohup`, `setsid` or your own background-task tool: it can end with the shell call or the session, or leave you a PID that is not the command\'s. ' +
61
+ // A batch that writes its exit file outside $TMPDIR made agents start a watcher to copy it in.
62
+ 'For a command that is already running, or that writes its own status file somewhere else, pass only its `pid` and leave `exit_file` out. ' +
63
+ 'The wake then reports `exited` without a code: read the command\'s own log or status file after it. ' +
64
+ 'Never start a watcher or helper process to copy a file into $TMPDIR. ' +
65
+ 'An unchanged repeat names the retained wait. A changed timeout is refused and keeps that wait active; do not cancel it as a duplicate. On an unknown outcome retry the same operation_id and arguments, without a fallback timer.',
66
+ inputSchema: flatWaitInputSchema(),
67
+ };
68
+ /**
69
+ * hearsay-tools/cezarion#1234: the user's answer gets its own tool, so its card is required and
70
+ * `cezar_wait` never has to explain a field only one kind takes. hearsay-tools/cezarion#1458: the
71
+ * texts are research task 77dfb5c4's tested ones; on Claude, prose between tool calls may never
72
+ * reach the user, so the content rides in `context`.
73
+ */
74
+ export const askToolDefinition = {
75
+ name: 'cezar_ask',
76
+ description: `Ask the user for a decision or missing input. Put the full draft, findings, evidence and option meanings needed for the decision in context. Cezar renders context as Markdown above the question card. The user cannot see your reasoning or rejected tool calls. The question is a short choice, not the place for supporting detail. Each question takes a header of at most ${ASK_LIMITS.header} characters, a short question of at most ${ASK_LIMITS.question} characters, and ${ASK_LIMITS.minOptions}–${ASK_LIMITS.maxOptions} options shown as choices; leave the options out to let the user type the answer. The user can always type a reply of their own. Other open waits keep running while you wait. Then end your turn; the user's answer wakes you.`,
77
+ inputSchema: { ...z.toJSONSchema(cezarAskRequestSchema, { io: 'input' }), type: 'object' },
78
+ };
79
+ export const cancelWaitToolDefinition = {
80
+ name: 'cezar_cancel_wait',
81
+ description: 'Close a wait you opened with cezar_wait (PR, worker, request, peer, process or timer) or cezar_ask, by its wait_id, so it never wakes you. A question the user already sees cannot be cancelled; only their answer ends it. A wait that already resolved is delivered with your next wake anyway; the answer says so and lists the waits still open.',
82
+ inputSchema: { ...z.toJSONSchema(cezarCancelWaitRequestSchema, { io: 'input' }), type: 'object' },
83
+ };
84
+ /** hearsay-tools/cezarion#1234: the agent declares the task (or step) done; since
85
+ * hearsay-tools/cezarion#2397 it is the only way to. */
86
+ export const doneToolDefinition = {
87
+ name: 'cezar_done',
88
+ description: 'Finish the task, or in a workflow step that is not the last, finish that step. Call it when the goal is fully achieved and verified and you have no question for the user; end your turn after it answers. Cezar closes the session at the end of this turn and cancels every open wait; after a step, Cezar starts the next step, and the answer names it. It refuses, naming what to do first, while owned workers are live or uncollected, a worker question is unanswered, or your question to the user is still pending.',
89
+ inputSchema: { ...z.toJSONSchema(cezarDoneRequestSchema, { io: 'input' }), type: 'object' },
90
+ };
91
+ export const previewToolDefinition = {
92
+ name: 'cezar_preview_serve',
93
+ description: 'Register a web dev server of this task so the user can click through it in the cockpit\'s live preview. Always pin the port (`vite --strictPort`, `next dev -p`) so the server comes up on the port you register. Cezar starts the command itself when the user opens the preview; do not wait for the user. ' +
94
+ 'To drive the browser the user sees, connect to `$CEZ_PREVIEW_CDP_URL` when it is set, e.g. `agent-browser --cdp "$CEZ_PREVIEW_CDP_URL" --pin-tab open http://localhost:5173`; the user watches your page live. `agent-browser record` needs ffmpeg on PATH.',
95
+ inputSchema: { ...z.toJSONSchema(previewServeRequestSchema, { io: 'input' }), type: 'object' },
96
+ };
97
+ export const previewStopToolDefinition = {
98
+ name: 'cezar_preview_stop',
99
+ description: 'Stop a preview server Cezar started for your own task. Set restart to true to reuse the unchanged command the owner approved, including after a crash. Adopted servers cannot be stopped; changed registrations need the owner to press Run and open again.',
100
+ inputSchema: { ...z.toJSONSchema(previewStopRequestSchema, { io: 'input' }), type: 'object' },
101
+ };
102
+ /**
103
+ * hearsay-tools/cezarion#1465: a one-time schedule starts later as an ordinary task, so the agent
104
+ * does not keep a session parked on timers for days. `cezar_scheduled_tasks` takes one action per
105
+ * call; its union is advertised as one flat object for the same reason as `cezar_wait`.
106
+ */
107
+ export const scheduleTaskToolDefinition = {
108
+ name: 'cezar_schedule_task',
109
+ description: 'Schedule a new task to start once, later, in this project: give a name, the full prompt the task starts from, and either `at` (a UTC time YYYY-MM-DDTHH:MMZ, like every time in Cezar tools) or `delay` (30m, 6h, 7d of elapsed time from now). For a relative time ("in 2 hours"), use `delay`. For a clock time that the user names, convert it from the user\'s time zone to UTC. `latest_start` (10m to 30d) bounds how late it may still start after Cezarion was down; past it the schedule is marked missed. Pass enable: true only when the user\'s request asks for the work to run later; otherwise it is created paused for the user to enable. The new task does not see this conversation, so put every detail it needs in the prompt. The answer gives `due_at` in UTC. The cockpit shows the schedule in local time.',
110
+ inputSchema: { ...z.toJSONSchema(scheduleTaskRequestSchema, { io: 'input' }), type: 'object' },
111
+ };
112
+ function flatScheduledTasksInputSchema() {
113
+ const properties = {};
114
+ for (const option of scheduledTasksRequestSchema.options)
115
+ Object.assign(properties, z.toJSONSchema(option, { io: 'input' }).properties);
116
+ return {
117
+ type: 'object',
118
+ properties: {
119
+ ...properties,
120
+ action: { type: 'string', enum: scheduledTasksRequestSchema.options.map(option => option.shape.action.value), description: '"list" lists the one-time schedules of this project; "show", "update", "pause", "enable" and "cancel" take the `id` a list or a create answered.' },
121
+ archived: { ...properties.archived, description: 'action "list": "include" adds the archived schedules, "only" lists just them.' },
122
+ },
123
+ required: ['action'],
124
+ additionalProperties: false,
125
+ };
126
+ }
127
+ export const scheduledTasksToolDefinition = {
128
+ name: 'cezar_scheduled_tasks',
129
+ description: 'List, show, update, pause, enable or cancel the one-time scheduled tasks of this project, one action per call. Change only the schedules the user asked you to manage. "update" takes the same fields as cezar_schedule_task; a new `at` or `delay` must be in the future. "cancel" archives the schedule so it never starts; an archived schedule cannot change.',
130
+ inputSchema: flatScheduledTasksInputSchema(),
131
+ };
132
+ /** Tool definitions in the same order every adapter advertises them. */
133
+ export function cezarToolDefinitions(env = process.env) {
134
+ return [
135
+ waitToolDefinition, askToolDefinition, cancelWaitToolDefinition, doneToolDefinition,
136
+ ...(previewToolEnabled(env) ? [previewToolDefinition, previewStopToolDefinition] : []),
137
+ ...(automationsToolEnabled(env) ? [scheduleTaskToolDefinition, scheduledTasksToolDefinition] : []),
138
+ ];
139
+ }
140
+ export function cezarToolNames(env = process.env) {
141
+ return cezarToolDefinitions(env).map(tool => tool.name);
142
+ }
143
+ /**
144
+ * Env names a harness must forward to the adapter process. Several harnesses spawn MCP servers
145
+ * from an allowlist, so preview opt-in and automations opt-out must both reach the adapter.
146
+ */
147
+ export function cezarToolEnvNames(env = process.env) {
148
+ return ['CEZ_TOOL_TOKEN', 'CEZ_TOOL_SOCKET', 'CEZ_AUTOMATIONS', ...(previewToolEnabled(env) ? ['CEZ_PREVIEW'] : [])]
149
+ .flatMap(name => { const preferred = name.replace(/^CEZ_/, 'HSQ_'); return env[preferred] === undefined ? [name] : [name, preferred]; });
150
+ }
151
+ //# sourceMappingURL=tool-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-catalog.js","sourceRoot":"","sources":["../../src/ci-wait/tool-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACzJ,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAC3G,OAAO,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AACtH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2FAA2F;AAC3F,MAAM,UAAU,kBAAkB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACrE,OAAO,UAAU,CAAC,SAAS,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC;AAC5C,CAAC;AAED,kGAAkG;AAClG,MAAM,UAAU,sBAAsB,CAAC,GAAG,GAAsB,OAAO,CAAC,GAAG;IACzE,OAAO,UAAU,CAAC,aAAa,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC;AAChD,CAAC;AAED;;;;GAIG;AACH,SAAS,mBAAmB;IAC1B,MAAM,UAAU,GAA4B,EAAE,CAAC;IAC/C,kGAAkG;IAClG,0FAA0F;IAC1F,KAAK,MAAM,MAAM,IAAI,CAAC,GAAG,sBAAsB,CAAC,OAAO,CAAC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