@12ui/design 0.2.31 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -16
- package/SKILL.md +1 -1
- package/dist/cli-branch-command.d.ts +1 -6
- package/dist/cli-branch-command.d.ts.map +1 -1
- package/dist/cli-branch-command.js +0 -26
- package/dist/cli-branch-command.js.map +1 -1
- package/dist/cli-capabilities.d.ts +5 -7
- package/dist/cli-capabilities.d.ts.map +1 -1
- package/dist/cli-capabilities.js +5 -8
- package/dist/cli-capabilities.js.map +1 -1
- package/dist/cli-draft-command.d.ts +13 -10
- package/dist/cli-draft-command.d.ts.map +1 -1
- package/dist/cli-draft-command.js +201 -111
- package/dist/cli-draft-command.js.map +1 -1
- package/dist/cli-help/design.d.ts +4 -4
- package/dist/cli-help/design.d.ts.map +1 -1
- package/dist/cli-help/design.js +6 -4
- package/dist/cli-help/design.js.map +1 -1
- package/dist/cli-help/index.d.ts +4 -4
- package/dist/cli-next-command.d.ts +4 -0
- package/dist/cli-next-command.d.ts.map +1 -1
- package/dist/cli-next-command.js +74 -24
- package/dist/cli-next-command.js.map +1 -1
- package/dist/cli-persistence-report.d.ts.map +1 -1
- package/dist/cli-persistence-report.js +7 -2
- package/dist/cli-persistence-report.js.map +1 -1
- package/dist/cli-persistence.d.ts +9 -2
- package/dist/cli-persistence.d.ts.map +1 -1
- package/dist/cli-persistence.js +127 -47
- package/dist/cli-persistence.js.map +1 -1
- package/dist/cli-run.d.ts +2 -2
- package/dist/cli-run.d.ts.map +1 -1
- package/dist/cli-run.js +3 -63
- package/dist/cli-run.js.map +1 -1
- package/dist/cli-usage.d.ts.map +1 -1
- package/dist/cli-usage.js +5 -4
- package/dist/cli-usage.js.map +1 -1
- package/dist/cli.js +2 -6
- package/dist/cli.js.map +1 -1
- package/dist/credential-setup.d.ts +3 -1
- package/dist/credential-setup.d.ts.map +1 -1
- package/dist/credential-setup.js +59 -32
- package/dist/credential-setup.js.map +1 -1
- package/dist/credential-store.d.ts +13 -0
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +48 -8
- package/dist/credential-store.js.map +1 -1
- package/dist/draft-adoption.d.ts +0 -6
- package/dist/draft-adoption.d.ts.map +1 -1
- package/dist/draft-adoption.js +0 -14
- package/dist/draft-adoption.js.map +1 -1
- package/dist/draft-dispatch-attempt.d.ts +23 -0
- package/dist/draft-dispatch-attempt.d.ts.map +1 -0
- package/dist/draft-dispatch-attempt.js +42 -0
- package/dist/draft-dispatch-attempt.js.map +1 -0
- package/dist/draft-workspace.d.ts +0 -2
- package/dist/draft-workspace.d.ts.map +1 -1
- package/dist/draft-workspace.js +0 -2
- package/dist/draft-workspace.js.map +1 -1
- package/dist/legacy-cli-cleanup.d.ts.map +1 -1
- package/dist/legacy-cli-cleanup.js +3 -2
- package/dist/legacy-cli-cleanup.js.map +1 -1
- package/dist/legacy-npm-global-cli-recognition.d.ts.map +1 -1
- package/dist/legacy-npm-global-cli-recognition.js +4 -3
- package/dist/legacy-npm-global-cli-recognition.js.map +1 -1
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +15 -0
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/managed-path-errors.d.ts +7 -0
- package/dist/managed-path-errors.d.ts.map +1 -0
- package/dist/managed-path-errors.js +14 -0
- package/dist/managed-path-errors.js.map +1 -0
- package/dist/managed-session-root.d.ts +3 -0
- package/dist/managed-session-root.d.ts.map +1 -0
- package/dist/managed-session-root.js +12 -0
- package/dist/managed-session-root.js.map +1 -0
- package/dist/next-wait-lease.d.ts +12 -2
- package/dist/next-wait-lease.d.ts.map +1 -1
- package/dist/next-wait-lease.js +47 -43
- package/dist/next-wait-lease.js.map +1 -1
- package/dist/next-wait-process.d.ts +6 -14
- package/dist/next-wait-process.d.ts.map +1 -1
- package/dist/next-wait-process.js +11 -29
- package/dist/next-wait-process.js.map +1 -1
- package/dist/prototype-browsers.d.ts +25 -0
- package/dist/prototype-browsers.d.ts.map +1 -0
- package/dist/prototype-browsers.js +52 -0
- package/dist/prototype-browsers.js.map +1 -0
- package/dist/prototype-process.d.ts +2 -0
- package/dist/prototype-process.d.ts.map +1 -1
- package/dist/prototype-process.js +12 -2
- package/dist/prototype-process.js.map +1 -1
- package/dist/prototype-runner.d.ts +3 -0
- package/dist/prototype-runner.d.ts.map +1 -1
- package/dist/prototype-runner.js +10 -0
- package/dist/prototype-runner.js.map +1 -1
- package/dist/run-journal-commands.d.ts +1 -1
- package/dist/run-journal-commands.d.ts.map +1 -1
- package/dist/run-journal-commands.js +2 -6
- package/dist/run-journal-commands.js.map +1 -1
- package/dist/run-journal.d.ts +9 -13
- package/dist/run-journal.d.ts.map +1 -1
- package/dist/run-journal.js +9 -13
- package/dist/run-journal.js.map +1 -1
- package/open-design.json +2 -2
- package/package.json +1 -1
- package/skills/12ui-design/SKILL.md +4 -4
- package/dist/cli-detach.d.ts +0 -70
- package/dist/cli-detach.d.ts.map +0 -1
- package/dist/cli-detach.js +0 -163
- package/dist/cli-detach.js.map +0 -1
package/dist/cli-detach.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { spawn } from 'node:child_process';
|
|
2
|
-
import { type DraftPrepared } from './cli-draft-command.js';
|
|
3
|
-
import { type LongRunningProgressReporter } from './cli-progress.js';
|
|
4
|
-
/**
|
|
5
|
-
* Long commands start the work and return; they do not hold the shell.
|
|
6
|
-
*
|
|
7
|
-
* MEASURED in the 0.2.14 harness pass: the agent's shell cut every blocking
|
|
8
|
-
* `branch execute` (10-25 minutes) and candidate-generation dispatches (~90 s)
|
|
9
|
-
* before they finished, and each cut run was read as a failure and hand-authored
|
|
10
|
-
* around. A tool that cannot be waited on is a tool that does not work, so the
|
|
11
|
-
* dispatch now forks a detached worker, proves it started, and hands back the
|
|
12
|
-
* status command. `--wait` opts back into blocking for a human at a terminal.
|
|
13
|
-
*
|
|
14
|
-
* The worker is the same binary with `--wait` appended, in its own process
|
|
15
|
-
* group with its output on a log file, so nothing that kills the parent's group
|
|
16
|
-
* reaches paid work that is already in flight.
|
|
17
|
-
*/
|
|
18
|
-
export type DetachedWork = {
|
|
19
|
-
/** Human name for the work, used in the narration. */
|
|
20
|
-
label: string;
|
|
21
|
-
/** Appearing on disk proves the worker got far enough to own the run. */
|
|
22
|
-
startedFile: string;
|
|
23
|
-
/** Preferred over `startedFile` when it carries the run identity. */
|
|
24
|
-
identityFile?: string;
|
|
25
|
-
logFile: string;
|
|
26
|
-
statusCommand: string;
|
|
27
|
-
typicalSeconds: number;
|
|
28
|
-
/** How long to wait for proof of start before reporting anyway. */
|
|
29
|
-
startTimeoutMs?: number;
|
|
30
|
-
};
|
|
31
|
-
export type DetachedRunReport = {
|
|
32
|
-
detached: true;
|
|
33
|
-
pid: number | null;
|
|
34
|
-
started: boolean;
|
|
35
|
-
runId?: string;
|
|
36
|
-
logFile: string;
|
|
37
|
-
statusCommand: string;
|
|
38
|
-
nextAction: string;
|
|
39
|
-
};
|
|
40
|
-
export declare const spawnDetachedRun: (args: {
|
|
41
|
-
cliPath: string;
|
|
42
|
-
argv: readonly string[];
|
|
43
|
-
work: DetachedWork;
|
|
44
|
-
spawnImpl?: typeof spawn;
|
|
45
|
-
pollIntervalMs?: number;
|
|
46
|
-
write?: (line: string) => void;
|
|
47
|
-
environment?: NodeJS.ProcessEnv;
|
|
48
|
-
progress?: LongRunningProgressReporter;
|
|
49
|
-
}) => Promise<DetachedRunReport>;
|
|
50
|
-
/** `12ui branch execute|resume` without `--wait`. */
|
|
51
|
-
export declare const detachBranchRun: (args: {
|
|
52
|
-
cliPath: string;
|
|
53
|
-
argv: readonly string[];
|
|
54
|
-
outDir: string;
|
|
55
|
-
statusTarget?: string;
|
|
56
|
-
typicalSeconds: number;
|
|
57
|
-
label?: "branch execute" | "branch resume";
|
|
58
|
-
spawnImpl?: typeof spawn;
|
|
59
|
-
progress?: LongRunningProgressReporter;
|
|
60
|
-
}) => Promise<DetachedRunReport>;
|
|
61
|
-
/** `12ui draft` without `--wait`: the same command resumes its recorded hosted run. */
|
|
62
|
-
export declare const detachDraftRun: (args: {
|
|
63
|
-
cliPath: string;
|
|
64
|
-
argv: readonly string[];
|
|
65
|
-
prepared: DraftPrepared;
|
|
66
|
-
typicalSeconds: number;
|
|
67
|
-
spawnImpl?: typeof spawn;
|
|
68
|
-
progress?: LongRunningProgressReporter;
|
|
69
|
-
}) => Promise<DetachedRunReport>;
|
|
70
|
-
//# sourceMappingURL=cli-detach.d.ts.map
|
package/dist/cli-detach.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-detach.d.ts","sourceRoot":"","sources":["../src/cli-detach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAqB,MAAM,oBAAoB,CAAC;AAI9D,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvF,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,IAAI,CAAC;IACf,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MA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child_process';
|
|
2
|
-
import { mkdir, open, readFile, stat } from 'node:fs/promises';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import { INTERNAL_DRAFT_WORKER_ENV } from './cli-draft-command.js';
|
|
5
|
-
import { CliRefusal } from './cli-refusal.js';
|
|
6
|
-
import { createLongRunningProgress, nextActionLine, } from './cli-progress.js';
|
|
7
|
-
/** How much of a refused worker's output to put in front of the caller. */
|
|
8
|
-
const REFUSAL_LOG_LINES = 24;
|
|
9
|
-
const readJson = async (file) => {
|
|
10
|
-
try {
|
|
11
|
-
return JSON.parse(await readFile(file, 'utf8'));
|
|
12
|
-
}
|
|
13
|
-
catch {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
const exists = async (file) => {
|
|
18
|
-
try {
|
|
19
|
-
await stat(file);
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
catch {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
const delay = async (milliseconds) => (new Promise((resolve) => { setTimeout(resolve, milliseconds); }));
|
|
27
|
-
export const spawnDetachedRun = async (args) => {
|
|
28
|
-
const write = args.write ?? ((line) => { process.stderr.write(`${line}\n`); });
|
|
29
|
-
const { work } = args;
|
|
30
|
-
const progress = args.progress ?? createLongRunningProgress({
|
|
31
|
-
label: work.label,
|
|
32
|
-
typicalSeconds: work.typicalSeconds,
|
|
33
|
-
write,
|
|
34
|
-
});
|
|
35
|
-
progress.update({ stage: 'background_start', detail: `output ${work.logFile}` });
|
|
36
|
-
// The run directory does not exist yet on a first run: the worker creates it.
|
|
37
|
-
await mkdir(path.dirname(work.logFile), { recursive: true });
|
|
38
|
-
const logHandle = await open(work.logFile, 'a');
|
|
39
|
-
const child = (args.spawnImpl ?? spawn)(process.execPath, [args.cliPath, ...args.argv, '--wait'], {
|
|
40
|
-
cwd: process.cwd(),
|
|
41
|
-
detached: true,
|
|
42
|
-
stdio: ['ignore', logHandle.fd, logHandle.fd],
|
|
43
|
-
env: args.environment ?? process.env,
|
|
44
|
-
});
|
|
45
|
-
let exitCode = null;
|
|
46
|
-
child.on('exit', (code) => { exitCode = code ?? 0; });
|
|
47
|
-
child.on('error', () => { exitCode = -1; });
|
|
48
|
-
const deadline = Date.now() + (work.startTimeoutMs ?? 30_000);
|
|
49
|
-
const identityFile = work.identityFile ?? work.startedFile;
|
|
50
|
-
let identity = null;
|
|
51
|
-
let started = false;
|
|
52
|
-
while (Date.now() < deadline) {
|
|
53
|
-
identity = await readJson(identityFile);
|
|
54
|
-
const hosted = identity?.hosted && typeof identity.hosted === 'object'
|
|
55
|
-
? identity.hosted
|
|
56
|
-
: null;
|
|
57
|
-
if (identity?.runId || hosted?.runId) {
|
|
58
|
-
started = true;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
if (await exists(work.startedFile)) {
|
|
62
|
-
// Proof of start is enough to hand back control. The run id is reported
|
|
63
|
-
// when it is already there and never waited for — the status command
|
|
64
|
-
// works from the directory alone, and waiting on it would reintroduce
|
|
65
|
-
// exactly the blocking this exists to remove.
|
|
66
|
-
identity = await readJson(identityFile);
|
|
67
|
-
started = true;
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
if (exitCode !== null)
|
|
71
|
-
break;
|
|
72
|
-
await delay(args.pollIntervalMs ?? 250);
|
|
73
|
-
}
|
|
74
|
-
await logHandle.close();
|
|
75
|
-
if (!started && exitCode !== null && exitCode !== 0) {
|
|
76
|
-
// The worker refused before it owned anything — a bad flag, an existing
|
|
77
|
-
// attempt. That belongs in front of the caller, not buried in a log file.
|
|
78
|
-
//
|
|
79
|
-
// The tail is generous because a refusal is the one thing this path exists
|
|
80
|
-
// to relay, and the useful ones are multi-line: the missing-winner refusal
|
|
81
|
-
// names both accepted forms and a command to paste, and a tail that cut its
|
|
82
|
-
// first line would drop what was actually missing.
|
|
83
|
-
const log = await readFile(work.logFile, 'utf8').catch(() => '');
|
|
84
|
-
child.unref();
|
|
85
|
-
progress.finish('stopped', {
|
|
86
|
-
detail: log.trim().split('\n').slice(-1)[0]
|
|
87
|
-
|| `${work.label} exited ${exitCode} before it started`,
|
|
88
|
-
next: `full worker log: ${work.logFile}`,
|
|
89
|
-
});
|
|
90
|
-
throw new CliRefusal(log.trim().split('\n').slice(-REFUSAL_LOG_LINES).join('\n')
|
|
91
|
-
|| `${work.label} exited ${exitCode} before it started. Log: ${work.logFile}`, 'detached_worker_refused');
|
|
92
|
-
}
|
|
93
|
-
child.unref();
|
|
94
|
-
const hosted = identity?.hosted && typeof identity.hosted === 'object'
|
|
95
|
-
? identity.hosted
|
|
96
|
-
: null;
|
|
97
|
-
const runId = typeof identity?.runId === 'string'
|
|
98
|
-
? identity.runId
|
|
99
|
-
: typeof hosted?.runId === 'string'
|
|
100
|
-
? hosted.runId
|
|
101
|
-
: undefined;
|
|
102
|
-
const nextAction = nextActionLine({
|
|
103
|
-
what: `A ${work.label}`,
|
|
104
|
-
typicalSeconds: work.typicalSeconds,
|
|
105
|
-
statusCommand: work.statusCommand,
|
|
106
|
-
waitHint: 'or re-run with --wait to block in this shell instead',
|
|
107
|
-
});
|
|
108
|
-
progress.finish('detached', {
|
|
109
|
-
detail: 'the run continues in a background worker; nothing settles in this shell',
|
|
110
|
-
artifacts: [
|
|
111
|
-
{
|
|
112
|
-
name: work.label,
|
|
113
|
-
state: `running detached${runId ? ` (run ${runId})` : ''}${child.pid ? `, pid ${child.pid}` : ''}`,
|
|
114
|
-
},
|
|
115
|
-
{ name: 'worker log', state: 'streaming', path: work.logFile },
|
|
116
|
-
],
|
|
117
|
-
next: `${work.statusCommand} reports progress; re-run with --wait to block instead`,
|
|
118
|
-
});
|
|
119
|
-
return {
|
|
120
|
-
detached: true,
|
|
121
|
-
pid: child.pid ?? null,
|
|
122
|
-
started,
|
|
123
|
-
...(runId ? { runId } : {}),
|
|
124
|
-
logFile: work.logFile,
|
|
125
|
-
statusCommand: work.statusCommand,
|
|
126
|
-
nextAction,
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
/** `12ui branch execute|resume` without `--wait`. */
|
|
130
|
-
export const detachBranchRun = async (args) => spawnDetachedRun({
|
|
131
|
-
cliPath: args.cliPath,
|
|
132
|
-
argv: args.argv,
|
|
133
|
-
...(args.spawnImpl ? { spawnImpl: args.spawnImpl } : {}),
|
|
134
|
-
...(args.progress ? { progress: args.progress } : {}),
|
|
135
|
-
work: {
|
|
136
|
-
label: args.label ?? 'branch execute',
|
|
137
|
-
startedFile: path.join(args.outDir, 'branch.attempt.json'),
|
|
138
|
-
// The progress record carries the run id, which appears once the claim
|
|
139
|
-
// lands (10-20s) — worth waiting for so the report names the run.
|
|
140
|
-
identityFile: path.join(args.outDir, 'branch.progress.json'),
|
|
141
|
-
logFile: path.join(args.outDir, 'branch.log'),
|
|
142
|
-
statusCommand: `12ui next ${args.statusTarget ?? args.outDir}`,
|
|
143
|
-
typicalSeconds: args.typicalSeconds,
|
|
144
|
-
startTimeoutMs: 40_000,
|
|
145
|
-
},
|
|
146
|
-
});
|
|
147
|
-
/** `12ui draft` without `--wait`: the same command resumes its recorded hosted run. */
|
|
148
|
-
export const detachDraftRun = async (args) => spawnDetachedRun({
|
|
149
|
-
cliPath: args.cliPath,
|
|
150
|
-
argv: [...args.argv, '--resume-run', args.prepared.runDir],
|
|
151
|
-
...(args.spawnImpl ? { spawnImpl: args.spawnImpl } : {}),
|
|
152
|
-
...(args.progress ? { progress: args.progress } : {}),
|
|
153
|
-
environment: { ...process.env, [INTERNAL_DRAFT_WORKER_ENV]: '1' },
|
|
154
|
-
work: {
|
|
155
|
-
label: 'hosted draft',
|
|
156
|
-
startedFile: path.join(args.prepared.runDir, 'draft.dispatch.json'),
|
|
157
|
-
logFile: path.join(args.prepared.runDir, 'draft.log'),
|
|
158
|
-
statusCommand: `12ui next ${args.prepared.runDir}`,
|
|
159
|
-
typicalSeconds: args.typicalSeconds,
|
|
160
|
-
startTimeoutMs: 20_000,
|
|
161
|
-
},
|
|
162
|
-
});
|
|
163
|
-
//# sourceMappingURL=cli-detach.js.map
|
package/dist/cli-detach.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli-detach.js","sourceRoot":"","sources":["../src/cli-detach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAqB,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,yBAAyB,EAAsB,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,yBAAyB,EACzB,cAAc,GAEf,MAAM,mBAAmB,CAAC;AAyC3B,2EAA2E;AAC3E,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAM,QAAQ,GAAG,KAAK,EAAE,IAAY,EAA2C,EAAE;IAC/E,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAA4B,CAAC;IAC7E,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,KAAK,EAAE,IAAY,EAAoB,EAAE;IACtD,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,KAAK,GAAG,KAAK,EAAE,YAAoB,EAAiB,EAAE,CAAC,CAC3D,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CACjE,CAAC;AA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