@atolis-hq/wake 0.3.117 → 0.4.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.
- package/README.md +13 -5
- package/dist/src/bootstrap/composition-root.js +5 -1
- package/dist/src/bootstrap/index.js +3 -3
- package/dist/src/bootstrap/initialise.js +7 -2
- package/dist/src/bootstrap/integration-runtime.js +3 -1
- package/dist/src/bootstrap/projection-runtime.js +2 -0
- package/dist/src/bootstrap/surface-api-work-applications.js +70 -0
- package/dist/src/bootstrap/surface-cli-applications.js +16 -9
- package/dist/src/bootstrap/version.js +1 -1
- package/dist/src/conversations/application/conversation-projection.js +17 -0
- package/dist/src/conversations/application/conversation-repository.js +21 -0
- package/dist/src/conversations/application/conversation-service.js +105 -0
- package/dist/src/conversations/contracts/commands.js +1 -0
- package/dist/src/conversations/contracts/events.js +100 -0
- package/dist/src/conversations/contracts/identifiers.js +8 -0
- package/dist/src/conversations/contracts/streams.js +5 -0
- package/dist/src/conversations/contracts/views.js +1 -0
- package/dist/src/conversations/contracts/vocabulary.js +6 -0
- package/dist/src/conversations/domain/conversation.js +100 -0
- package/dist/src/conversations/index.js +8 -0
- package/dist/src/integrations/application/agent-run-publication-reactor.js +31 -0
- package/dist/src/integrations/application/work-admission.js +6 -0
- package/dist/src/integrations/delivery/application/delivery-outcome-reactor.js +48 -2
- package/dist/src/integrations/delivery/application/delivery-projector.js +2 -0
- package/dist/src/integrations/delivery/contracts/intents.js +2 -0
- package/dist/src/integrations/github/application/agent-context-reader.js +49 -3
- package/dist/src/integrations/github/application/comment-history-reader.js +27 -11
- package/dist/src/integrations/github/application/delivery-marker.js +7 -0
- package/dist/src/integrations/github/application/inbound-translator.js +126 -0
- package/dist/src/integrations/github/contracts/events.js +12 -0
- package/dist/src/integrations/github/provider.js +1 -0
- package/dist/src/orchestration/domain/operator-retry-policy.js +8 -5
- package/dist/src/persistence/filesystem/file-event-journal.js +31 -5
- package/dist/src/persistence/filesystem/file-projection-store.js +25 -6
- package/dist/src/surfaces/api/http-server.js +9 -2
- package/dist/src/surfaces/api/routes/commands.js +36 -6
- package/dist/src/surfaces/api/routes/work.js +1 -0
- package/dist/src/surfaces/contracts/config.js +17 -2
- package/dist/src/surfaces/web-assets/assets/index-B0ofn_L5.css +1 -0
- package/dist/src/surfaces/web-assets/assets/index-DFBhpSSX.js +1179 -0
- package/dist/src/surfaces/web-assets/index.html +2 -2
- package/package.json +1 -1
- package/dist/src/surfaces/web-assets/assets/index-CFfq35Jj.js +0 -1179
- package/dist/src/surfaces/web-assets/assets/index-Dj-RskGs.css +0 -1
|
@@ -50,15 +50,18 @@ export function selectOperatorRetryTarget(workflows) {
|
|
|
50
50
|
}
|
|
51
51
|
export function isChangesResumeEligible(view) {
|
|
52
52
|
const pending = view.pendingActivation;
|
|
53
|
-
|
|
54
|
-
view.blockReason === 'unconfigured outcome blocked' &&
|
|
55
|
-
pending !== undefined &&
|
|
53
|
+
const completedAgentStage = pending !== undefined &&
|
|
56
54
|
pending.activity === BuiltInActivityName.Agent &&
|
|
57
55
|
pending.status === ActivityActivationStatus.Completed &&
|
|
58
56
|
pending.supplemental !== true &&
|
|
59
57
|
pending.followOnIndex === undefined &&
|
|
60
|
-
view.
|
|
61
|
-
|
|
58
|
+
view.acceptedOutcomes.includes(pending.activationId);
|
|
59
|
+
if (!completedAgentStage)
|
|
60
|
+
return false;
|
|
61
|
+
return ((view.status === WorkflowStatus.Blocked &&
|
|
62
|
+
view.blockReason === 'unconfigured outcome blocked' &&
|
|
63
|
+
view.lastOutcome?.kind === ActivityOutcomeKind.Blocked) ||
|
|
64
|
+
(view.status === WorkflowStatus.Waiting && view.waitingFor !== undefined));
|
|
62
65
|
}
|
|
63
66
|
export function isGroupBudgetExtensionEligible(view) {
|
|
64
67
|
return (view.status === WorkflowStatus.Blocked &&
|
|
@@ -15,6 +15,11 @@ export class FileEventJournal {
|
|
|
15
15
|
return this.changeSignalSource;
|
|
16
16
|
}
|
|
17
17
|
cached;
|
|
18
|
+
// The manifest is written after every successful local append. Its file
|
|
19
|
+
// revision is therefore a constant-cost freshness signal for the warm
|
|
20
|
+
// cache, avoiding a stat of every historical segment on every read while
|
|
21
|
+
// still detecting an append made by another journal process immediately.
|
|
22
|
+
manifestRevision;
|
|
18
23
|
// Every read (readStream/readAll/readLatest/latestGlobalPosition) reaches
|
|
19
24
|
// scan(), and the resident host's tick loop calls those many times a
|
|
20
25
|
// second while work is progressing. Without coalescing, calls that land
|
|
@@ -72,7 +77,9 @@ export class FileEventJournal {
|
|
|
72
77
|
// The manifest is derived data. The event append is authoritative, so
|
|
73
78
|
// an index-write failure must not turn a successfully recorded event
|
|
74
79
|
// into a failed append.
|
|
75
|
-
await this.persistManifest().catch(() =>
|
|
80
|
+
await this.persistManifest().catch(() => {
|
|
81
|
+
this.manifestRevision = undefined;
|
|
82
|
+
});
|
|
76
83
|
this.changeSignalSource.notify();
|
|
77
84
|
}
|
|
78
85
|
return finalizedEnvelopes;
|
|
@@ -85,7 +92,7 @@ export class FileEventJournal {
|
|
|
85
92
|
// full parse rather than to incorrect data; scan() then rebuilds it.
|
|
86
93
|
async readStream(stream) {
|
|
87
94
|
const streamKey = key(stream);
|
|
88
|
-
const entries = await this.
|
|
95
|
+
const entries = await this.readEntriesForRead();
|
|
89
96
|
if (this.cached !== undefined) {
|
|
90
97
|
if (sameEntries(this.cached.entries, entries))
|
|
91
98
|
return this.cached.eventsByStream.get(streamKey) ?? [];
|
|
@@ -108,7 +115,7 @@ export class FileEventJournal {
|
|
|
108
115
|
return (await this.scan(entries)).filter((event) => key(event.stream) === streamKey);
|
|
109
116
|
}
|
|
110
117
|
async readAll(after, limit = Number.POSITIVE_INFINITY) {
|
|
111
|
-
const entries = await this.
|
|
118
|
+
const entries = await this.readEntriesForRead();
|
|
112
119
|
if (this.cached !== undefined && sameEntries(this.cached.entries, entries))
|
|
113
120
|
return this.cached.events.filter((event) => event.globalPosition > after).slice(0, limit);
|
|
114
121
|
const manifest = await this.loadManifest();
|
|
@@ -129,7 +136,7 @@ export class FileEventJournal {
|
|
|
129
136
|
.slice(0, limit);
|
|
130
137
|
}
|
|
131
138
|
async readLatest(beforeGlobalPosition, limit = Number.POSITIVE_INFINITY) {
|
|
132
|
-
const events = await this.scan();
|
|
139
|
+
const events = await this.scan(await this.readEntriesForRead());
|
|
133
140
|
const before = beforeGlobalPosition ?? events.length + 1;
|
|
134
141
|
return events
|
|
135
142
|
.slice(0, before - 1)
|
|
@@ -137,7 +144,7 @@ export class FileEventJournal {
|
|
|
137
144
|
.reverse();
|
|
138
145
|
}
|
|
139
146
|
async latestGlobalPosition() {
|
|
140
|
-
const events = await this.scan();
|
|
147
|
+
const events = await this.scan(await this.readEntriesForRead());
|
|
141
148
|
return events.at(-1)?.globalPosition ?? 0;
|
|
142
149
|
}
|
|
143
150
|
// Extends the cache in place rather than invalidating it, so a self-caused
|
|
@@ -202,6 +209,7 @@ export class FileEventJournal {
|
|
|
202
209
|
return;
|
|
203
210
|
const manifest = { segments: this.cached.segments };
|
|
204
211
|
await writeFile(this.manifestPath(), JSON.stringify(manifest), 'utf8');
|
|
212
|
+
this.manifestRevision = await this.readManifestRevision();
|
|
205
213
|
}
|
|
206
214
|
async loadManifest() {
|
|
207
215
|
try {
|
|
@@ -243,6 +251,23 @@ export class FileEventJournal {
|
|
|
243
251
|
return { file, size: info.size, mtimeMs: info.mtimeMs };
|
|
244
252
|
}));
|
|
245
253
|
}
|
|
254
|
+
async readEntriesForRead() {
|
|
255
|
+
if (this.cached === undefined || this.manifestRevision === undefined)
|
|
256
|
+
return this.readCurrentEntries();
|
|
257
|
+
const revision = await this.readManifestRevision();
|
|
258
|
+
return revision === this.manifestRevision ? this.cached.entries : this.readCurrentEntries();
|
|
259
|
+
}
|
|
260
|
+
async readManifestRevision() {
|
|
261
|
+
try {
|
|
262
|
+
const info = await stat(this.manifestPath());
|
|
263
|
+
return `${info.size}:${info.mtimeMs}:${info.ctimeMs}`;
|
|
264
|
+
}
|
|
265
|
+
catch (error) {
|
|
266
|
+
if (error.code === 'ENOENT')
|
|
267
|
+
return undefined;
|
|
268
|
+
throw error;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
246
271
|
// Reads exactly the indexed JSONL records. Byte offsets make tail reads and
|
|
247
272
|
// stream reads proportional to the matching events, not segment size.
|
|
248
273
|
async parseIndexedEntries(entries) {
|
|
@@ -329,6 +354,7 @@ export class FileEventJournal {
|
|
|
329
354
|
});
|
|
330
355
|
}
|
|
331
356
|
this.cached = { entries, events, eventsByStream: indexEventsByStream(events), segments };
|
|
357
|
+
this.manifestRevision = await this.readManifestRevision();
|
|
332
358
|
return events;
|
|
333
359
|
}
|
|
334
360
|
}
|
|
@@ -27,7 +27,7 @@ export class FileProjectionStore {
|
|
|
27
27
|
const cached = this.listCache.get(projection.namespace);
|
|
28
28
|
if (cached === undefined)
|
|
29
29
|
return;
|
|
30
|
-
const info = await stat(path);
|
|
30
|
+
const [info, directoryInfo] = await Promise.all([stat(path), stat(dirname(path))]);
|
|
31
31
|
const file = `${encode(projection.key)}.json`;
|
|
32
32
|
const updatedEntry = {
|
|
33
33
|
file,
|
|
@@ -35,7 +35,10 @@ export class FileProjectionStore {
|
|
|
35
35
|
mtimeMs: info.mtimeMs,
|
|
36
36
|
value: projection,
|
|
37
37
|
};
|
|
38
|
-
this.listCache.set(projection.namespace,
|
|
38
|
+
this.listCache.set(projection.namespace, {
|
|
39
|
+
files: [...cached.files.filter((entry) => entry.file !== file), updatedEntry].sort((a, b) => a.file < b.file ? -1 : a.file > b.file ? 1 : 0),
|
|
40
|
+
revision: directoryRevision(directoryInfo),
|
|
41
|
+
});
|
|
39
42
|
}
|
|
40
43
|
// Callers (advance-once, orchestration-service, DeliveryService, ...) list()
|
|
41
44
|
// an entire namespace unconditionally on every control-plane tick, even when
|
|
@@ -46,6 +49,20 @@ export class FileProjectionStore {
|
|
|
46
49
|
// listing (name:size:mtimeMs) actually changed since the last list().
|
|
47
50
|
async list(namespace) {
|
|
48
51
|
const directory = join(this.root, 'projections', encode(namespace));
|
|
52
|
+
let directoryInfo;
|
|
53
|
+
try {
|
|
54
|
+
directoryInfo = await stat(directory);
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
if (error.code === 'ENOENT') {
|
|
58
|
+
this.listCache.delete(namespace);
|
|
59
|
+
return [];
|
|
60
|
+
}
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
63
|
+
const cached = this.listCache.get(namespace);
|
|
64
|
+
if (cached !== undefined && cached.revision === directoryRevision(directoryInfo))
|
|
65
|
+
return cached.files.map((entry) => entry.value);
|
|
49
66
|
let files;
|
|
50
67
|
try {
|
|
51
68
|
files = (await readdir(directory)).filter((file) => file.endsWith('.json')).sort();
|
|
@@ -61,16 +78,15 @@ export class FileProjectionStore {
|
|
|
61
78
|
const info = await stat(join(directory, file));
|
|
62
79
|
return { file, size: info.size, mtimeMs: info.mtimeMs };
|
|
63
80
|
}));
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
return cached.map((entry) => entry.value);
|
|
81
|
+
if (cached !== undefined && sameProjectionFiles(cached.files, stats))
|
|
82
|
+
return cached.files.map((entry) => entry.value);
|
|
67
83
|
const entries = await Promise.all(stats.map(async ({ file, size, mtimeMs }) => ({
|
|
68
84
|
file,
|
|
69
85
|
size,
|
|
70
86
|
mtimeMs,
|
|
71
87
|
value: JSON.parse(await readFile(join(directory, file), 'utf8')),
|
|
72
88
|
})));
|
|
73
|
-
this.listCache.set(namespace, entries);
|
|
89
|
+
this.listCache.set(namespace, { files: entries, revision: directoryRevision(directoryInfo) });
|
|
74
90
|
return entries.map((entry) => entry.value);
|
|
75
91
|
}
|
|
76
92
|
async clear(namespace) {
|
|
@@ -86,6 +102,9 @@ export class FileProjectionStore {
|
|
|
86
102
|
return join(this.root, 'projections', encode(namespace), `${encode(key)}.json`);
|
|
87
103
|
}
|
|
88
104
|
}
|
|
105
|
+
function directoryRevision(info) {
|
|
106
|
+
return `${info.mtimeMs}:${info.ctimeMs}`;
|
|
107
|
+
}
|
|
89
108
|
function sameProjectionFiles(cached, stats) {
|
|
90
109
|
return (cached.length === stats.length &&
|
|
91
110
|
cached.every((entry, index) => {
|
|
@@ -5,6 +5,7 @@ import { verifyAccessKey } from '../auth/credentials.js';
|
|
|
5
5
|
import { SurfaceCookieSecurity, SurfaceSessionAttribute } from '../auth/vocabulary.js';
|
|
6
6
|
import { problemDetails } from './problem-details.js';
|
|
7
7
|
import { BrowserRouteOutcome, routeBrowserRequest } from './router.js';
|
|
8
|
+
const operatorSessionLifetimeSeconds = 2 * 365 * 24 * 60 * 60;
|
|
8
9
|
/**
|
|
9
10
|
* The production HTTP surface. Public login routes are declared separately;
|
|
10
11
|
* every operational API route is protected in its own Fastify scope before
|
|
@@ -17,8 +18,14 @@ export function createSurfaceHttpServer(options) {
|
|
|
17
18
|
app.register(secureSession, {
|
|
18
19
|
key: Buffer.from(options.credentials.sessionPassword, 'base64url'),
|
|
19
20
|
cookieName: 'wake_session',
|
|
20
|
-
expiry:
|
|
21
|
-
cookie: {
|
|
21
|
+
expiry: operatorSessionLifetimeSeconds,
|
|
22
|
+
cookie: {
|
|
23
|
+
httpOnly: true,
|
|
24
|
+
maxAge: operatorSessionLifetimeSeconds,
|
|
25
|
+
sameSite: 'lax',
|
|
26
|
+
secure: SurfaceCookieSecurity.Auto,
|
|
27
|
+
path: '/',
|
|
28
|
+
},
|
|
22
29
|
});
|
|
23
30
|
app.setErrorHandler((error, request, reply) => {
|
|
24
31
|
request.log.error({ err: error }, 'Wake HTTP request failed');
|
|
@@ -7,12 +7,12 @@ export async function dispatchCommand(applications, url, body) {
|
|
|
7
7
|
const ambiguityResolution = await dispatchAmbiguousRunResolution(applications, url.pathname, body);
|
|
8
8
|
if (ambiguityResolution !== undefined)
|
|
9
9
|
return ambiguityResolution;
|
|
10
|
+
const work = await dispatchWorkCommand(applications, url.pathname, body);
|
|
11
|
+
if (work !== undefined)
|
|
12
|
+
return work;
|
|
10
13
|
const request = commandRequest(body);
|
|
11
14
|
if (isHttpResponse(request))
|
|
12
15
|
return request;
|
|
13
|
-
const work = await dispatchWorkCommand(applications, url.pathname, request);
|
|
14
|
-
if (work !== undefined)
|
|
15
|
-
return work;
|
|
16
16
|
const control = await dispatchControlCommand(applications, url.pathname, request);
|
|
17
17
|
if (control !== undefined)
|
|
18
18
|
return control;
|
|
@@ -34,13 +34,25 @@ async function dispatchAmbiguousRunResolution(applications, pathname, body) {
|
|
|
34
34
|
return unavailable('resolve-ambiguous-run', await applications.execution.get?.(runId));
|
|
35
35
|
return accepted(await operation(runId, request), applications.now());
|
|
36
36
|
}
|
|
37
|
-
async function dispatchWorkCommand(applications, pathname,
|
|
38
|
-
const match = /^\/api\/v1\/work-items\/([^/]+)\/commands\/(freeze|unfreeze|delete|retry|extend)$/.exec(pathname);
|
|
37
|
+
async function dispatchWorkCommand(applications, pathname, body) {
|
|
38
|
+
const match = /^\/api\/v1\/work-items\/([^/]+)\/commands\/(freeze|unfreeze|delete|retry|extend|message)$/.exec(pathname);
|
|
39
39
|
if (match === null)
|
|
40
40
|
return undefined;
|
|
41
41
|
const decoded = decodePathSegment(match[1]);
|
|
42
42
|
if (decoded instanceof ApiPathError)
|
|
43
43
|
return invalidPath(decoded.message);
|
|
44
|
+
if (match[2] === 'message') {
|
|
45
|
+
const request = conversationMessageRequest(body);
|
|
46
|
+
if (isHttpResponse(request))
|
|
47
|
+
return request;
|
|
48
|
+
const operation = applications.work.message;
|
|
49
|
+
return operation === undefined
|
|
50
|
+
? unavailable('message', (await applications.work.detail(decoded))?.data)
|
|
51
|
+
: accepted(await operation(decoded, request), applications.now(), 202);
|
|
52
|
+
}
|
|
53
|
+
const request = commandRequest(body);
|
|
54
|
+
if (isHttpResponse(request))
|
|
55
|
+
return request;
|
|
44
56
|
const name = match[2];
|
|
45
57
|
const operation = applications.work[name];
|
|
46
58
|
if (operation === undefined)
|
|
@@ -48,6 +60,20 @@ async function dispatchWorkCommand(applications, pathname, request) {
|
|
|
48
60
|
const status = name === 'freeze' || name === 'unfreeze' ? 200 : 202;
|
|
49
61
|
return accepted(await operation(decoded, request), applications.now(), status);
|
|
50
62
|
}
|
|
63
|
+
function conversationMessageRequest(body) {
|
|
64
|
+
if (!isObject(body))
|
|
65
|
+
return invalidRequest('', 'A JSON object is required');
|
|
66
|
+
if (Object.keys(body).some((key) => key !== 'idempotencyKey' && key !== 'body'))
|
|
67
|
+
return invalidRequest('', 'The command body contains unknown fields');
|
|
68
|
+
const command = commandRequest({ idempotencyKey: body.idempotencyKey });
|
|
69
|
+
if (isHttpResponse(command))
|
|
70
|
+
return command;
|
|
71
|
+
if (typeof body.body !== 'string' || body.body.trim() === '')
|
|
72
|
+
return invalidRequest('body', 'Must be a non-empty string');
|
|
73
|
+
if (body.body.length > 20_000)
|
|
74
|
+
return invalidRequest('body', 'Must be at most 20000 characters');
|
|
75
|
+
return { ...command, body: body.body };
|
|
76
|
+
}
|
|
51
77
|
async function dispatchControlCommand(applications, pathname, request) {
|
|
52
78
|
const name = controlCommandName(pathname);
|
|
53
79
|
if (name === undefined)
|
|
@@ -128,5 +154,9 @@ function runResolutionRequest(body) {
|
|
|
128
154
|
return invalidRequest('status', 'Must be either succeeded or failed');
|
|
129
155
|
}
|
|
130
156
|
function isHttpResponse(value) {
|
|
131
|
-
return typeof value === 'object' &&
|
|
157
|
+
return (typeof value === 'object' &&
|
|
158
|
+
value !== null &&
|
|
159
|
+
'body' in value &&
|
|
160
|
+
'status' in value &&
|
|
161
|
+
typeof value.status === 'number');
|
|
132
162
|
}
|
|
@@ -6,9 +6,18 @@ export const surfacesConfigSchema = z
|
|
|
6
6
|
enabled: z.boolean().default(false),
|
|
7
7
|
host: z.string().default('127.0.0.1'),
|
|
8
8
|
port: z.number().int().positive().default(4317),
|
|
9
|
+
conversationMessages: z
|
|
10
|
+
.object({ enabled: z.boolean().default(false) })
|
|
11
|
+
.strict()
|
|
12
|
+
.default({ enabled: false }),
|
|
9
13
|
})
|
|
10
14
|
.strict()
|
|
11
|
-
.default({
|
|
15
|
+
.default({
|
|
16
|
+
enabled: false,
|
|
17
|
+
host: '127.0.0.1',
|
|
18
|
+
port: 4317,
|
|
19
|
+
conversationMessages: { enabled: false },
|
|
20
|
+
}),
|
|
12
21
|
web: z
|
|
13
22
|
.object({
|
|
14
23
|
enabled: z.boolean().default(false),
|
|
@@ -30,7 +39,12 @@ export const surfacesConfigSchema = z
|
|
|
30
39
|
})
|
|
31
40
|
.strict()
|
|
32
41
|
.default({
|
|
33
|
-
api: {
|
|
42
|
+
api: {
|
|
43
|
+
enabled: false,
|
|
44
|
+
host: '127.0.0.1',
|
|
45
|
+
port: 4317,
|
|
46
|
+
conversationMessages: { enabled: false },
|
|
47
|
+
},
|
|
34
48
|
web: { enabled: false, auth: { disabled: false } },
|
|
35
49
|
})
|
|
36
50
|
.superRefine((value, context) => {
|
|
@@ -46,6 +60,7 @@ export const surfacesConfigSchema = z
|
|
|
46
60
|
enabled: value.api.enabled ?? false,
|
|
47
61
|
host: value.api.host ?? '127.0.0.1',
|
|
48
62
|
port: value.api.port ?? 4317,
|
|
63
|
+
conversationMessages: { enabled: value.api.conversationMessages.enabled ?? false },
|
|
49
64
|
},
|
|
50
65
|
web: {
|
|
51
66
|
enabled: value.web.enabled ?? false,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._shell_c5v2a_1{grid-template-rows:auto auto auto 1fr;min-height:100vh;display:grid}._header_c5v2a_6{align-items:center;gap:var(--space-2);padding:.55rem var(--space-4);background:var(--brand);color:var(--ink-inverse);display:flex}._brand_c5v2a_14{align-items:center;gap:var(--space-2);color:var(--ink-inverse);font-family:-apple-system,Segoe UI,Roboto,sans-serif;font-weight:700;font-size:var(--text-lg);letter-spacing:.01em;text-decoration:none;display:inline-flex}._brandLogo_c5v2a_25{width:1.75rem;height:1.75rem}._brandVersion_c5v2a_29{color:#ffffffb3;font-family:-apple-system,Segoe UI,Roboto,sans-serif;font-size:.78rem;font-weight:400}._statusBand_c5v2a_35{align-items:center;gap:var(--space-4);padding:.45rem var(--space-4);background:var(--brand-dark);font-size:var(--text-sm);color:var(--ink-inverse);border-top:1px solid #0000002e;flex-wrap:wrap;display:flex}._nav_c5v2a_46{padding:.4rem var(--space-4) 0;background:var(--brand-darker);scrollbar-width:none;-ms-overflow-style:none;border-bottom:1px solid var(--border);gap:.25rem;display:flex;overflow-x:auto}._nav_c5v2a_46::-webkit-scrollbar{display:none}._nav_c5v2a_46 a{color:var(--nav-ink-idle);white-space:nowrap;transition:color var(--motion-fast) ease;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.4rem .7rem .45rem;text-decoration:none}._nav_c5v2a_46 a:hover{color:var(--ink-inverse);text-decoration:none}._nav_c5v2a_46 a[aria-current=page]{color:var(--accent-light);border-bottom-color:var(--accent);font-weight:700}._main_c5v2a_77{width:100%;min-width:0;padding:var(--space-6) var(--space-4);margin:0}._pageHeader_c5v2a_83{justify-content:space-between;align-items:end;gap:var(--space-4);margin-bottom:var(--space-5);display:flex}._pageHeader_c5v2a_83 h1{margin:0}._panel_c5v2a_93{background:var(--surface-panel);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-4);box-shadow:var(--shadow)}._badge_c5v2a_100{background:var(--surface-card);color:var(--ink);border-radius:999px;align-items:center;gap:.4rem;padding:.2rem .55rem;font-size:.85rem;font-weight:700;display:inline-flex}._badge_c5v2a_100:before{content:"";background:currentColor;border-radius:50%;flex:none;width:.55rem;height:.55rem}._badge_c5v2a_100>span{align-items:center;gap:.3rem;display:inline-flex}._good_c5v2a_124{color:var(--good)}._warning_c5v2a_127{color:var(--warning)}._bad_c5v2a_100{color:var(--bad)}._cold_c5v2a_133{color:#7dd3fc;background:#0e74902e;box-shadow:inset 0 0 0 1px #7dd3fc59}._info_c5v2a_138{color:var(--accent-light)}._button_c5v2a_141{appearance:none;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;padding:.22rem .55rem;font-weight:600}._button_c5v2a_141:hover:not(:disabled){border-color:var(--accent-light);color:var(--accent-light)}._button_c5v2a_141:disabled{opacity:.62;cursor:wait}._secondary_c5v2a_161{background:0 0}._tableWrap_c5v2a_164{overflow-x:auto}._table_c5v2a_164{border-collapse:collapse;width:100%;font-size:var(--text-sm)}._table_c5v2a_164 caption{text-align:left;font-weight:700;font-size:var(--text-sm);padding-bottom:.5rem}._table_c5v2a_164 th,._table_c5v2a_164 td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.25rem .45rem;line-height:1.3}._table_c5v2a_164 th{color:var(--ink-muted);font-weight:600;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.03em}._state_c5v2a_193{border:1px dashed var(--border);border-radius:var(--radius);padding:var(--space-5);color:var(--ink-muted)}._error_c5v2a_199{border-color:var(--bad);color:var(--bad)}._stale_c5v2a_203{color:var(--warning);font-size:.85rem}._statusActions_c5v2a_207{align-items:center;gap:.6rem;display:flex}._tickButton_c5v2a_212{border:1px solid var(--accent);color:var(--accent-light);background:#2dd4bf24;font-weight:700}._tickButton_c5v2a_212:hover:not(:disabled){border-color:var(--accent-light);background:#2dd4bf3d}._pauseControl_c5v2a_222{border:1px solid var(--bad);color:var(--warning);border-radius:var(--radius-sm);font-size:var(--text-sm);background:#dc262629;align-items:center;gap:.4rem;padding:.2rem .55rem;font-weight:700;display:inline-flex}._pauseControl_c5v2a_222 button{appearance:none;border:1px solid var(--bad);border-radius:var(--radius-sm);color:inherit;font:inherit;font-size:var(--text-xs);cursor:pointer;background:0 0;padding:.1rem .4rem;font-weight:700}._pauseControl_c5v2a_222 button:hover:not(:disabled){background:#dc26263d}._pauseControl_c5v2a_222 button:disabled{opacity:.62;cursor:wait}._pagination_c5v2a_253{justify-content:flex-end;gap:.6rem;margin-block:1rem;display:flex}._live_c5v2a_259{min-height:1.4rem}._header_c5v2a_6 ._live_c5v2a_259{color:var(--warning)}._json_c5v2a_265{background:var(--surface-inset);color:var(--ink);padding:var(--space-3);border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:.75rem;overflow:auto}._chip_c5v2a_274{background:var(--border);color:var(--ink);border-radius:var(--radius-sm);font-size:var(--text-xs);align-items:center;gap:.25rem;margin-right:.2rem;padding:.05rem .35rem;display:inline-flex}._chipOutline_c5v2a_285{border:1px solid var(--border-strong);color:var(--ink-muted);background:0 0}._chipOutline_c5v2a_285._good_c5v2a_124{color:var(--good)}._chipOutline_c5v2a_285._warning_c5v2a_127{color:var(--warning)}._chipOutline_c5v2a_285._bad_c5v2a_100{color:var(--bad)}._chipOutline_c5v2a_285._cold_c5v2a_133{color:#7dd3fc}._chipOutline_c5v2a_285._info_c5v2a_138{color:var(--accent-light)}._tile_c5v2a_305{background:var(--surface-panel);border-radius:var(--radius);min-width:120px;padding:.6rem .9rem}._tileValue_c5v2a_311{font-size:1.3rem;font-weight:700}._tileLabel_c5v2a_315{color:var(--ink-muted);font-size:var(--text-xs);text-transform:uppercase}@media (width<=42rem){._header_c5v2a_6{padding-inline:var(--space-3)}._nav_c5v2a_46{padding-inline:var(--space-2)}._main_c5v2a_77{width:100%;padding:var(--space-4) var(--space-2) 0}._pageHeader_c5v2a_83{flex-direction:column;align-items:start}}._boardControls_65eiw_1{justify-content:flex-end;margin-bottom:.75rem;display:flex}._boardControls_65eiw_1 label{color:var(--ink-muted);font-size:var(--text-sm);align-items:center;gap:.4rem;font-weight:600;display:flex}._boardControls_65eiw_1 select{background:var(--surface-panel);border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.1rem;color:var(--ink);font:inherit;padding-inline:.5rem}._boardControls_65eiw_1 select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2dd4bf26}._swimlanes_65eiw_28{gap:1rem;display:grid}._swimlaneHeader_65eiw_32{font-size:var(--text-sm);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);margin:0 0 .4rem;font-weight:700}._swimlaneToggle_65eiw_40{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0;display:flex}._swimlaneToggle_65eiw_40:hover,._swimlaneToggle_65eiw_40:focus-visible{color:var(--accent-light)}._swimlaneToggle_65eiw_40:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}._board_65eiw_1{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:.6rem;display:grid;overflow-x:auto}._column_65eiw_69{background:var(--surface-panel);border-radius:var(--radius);flex-direction:column;min-height:200px;padding:.5rem;display:flex}._columnHeader_65eiw_77{justify-content:space-between;align-items:center;gap:var(--space-2);margin:.2rem .4rem .5rem;display:flex}._column_65eiw_69 h2{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);margin:0}._cards_65eiw_91{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}._card_65eiw_91{background:var(--surface-card);border:1px solid var(--border);border-left:3px solid var(--border-strong);font-size:var(--text-sm);border-radius:.5rem;overflow:hidden}._card_65eiw_91:hover,._card_65eiw_91:focus-within{border-color:var(--accent)}._cardLink_65eiw_110{min-height:100%;color:var(--ink);transition:background var(--motion-fast) ease;padding:.5rem;text-decoration:none;display:block}._cardLink_65eiw_110:hover{background:var(--surface-inset);text-decoration:none}._cardLink_65eiw_110:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}._cardRef_65eiw_126{color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-xs);margin-bottom:.15rem;display:block}._cardTitle_65eiw_133{color:var(--ink);margin-bottom:.25rem;font-weight:600;display:block}._cardMeta_65eiw_139{flex-wrap:wrap;align-items:center;gap:.3rem;margin-top:.2rem;display:flex}._metaIcon_65eiw_146{flex:none;width:.75rem;height:.75rem}._cardStats_65eiw_151{color:var(--ink-muted);margin-top:.3rem;font-size:.7rem}._childRun_65eiw_156{border-radius:var(--radius-sm);background:var(--surface-inset);border:1px solid var(--border);color:var(--ink-muted);font-size:var(--text-xs);grid-template-columns:auto 1fr;align-items:center;gap:.25rem .45rem;margin-top:.45rem;padding:.4rem;display:grid}._childRunDot_65eiw_169{background:var(--accent);border-radius:50%;width:.48rem;height:.48rem;box-shadow:0 0 0 3px #2dd4bf24}._childRunDot_65eiw_169[data-active-run=true]{animation:1.5s ease-out infinite _active-run-pulse_65eiw_1;box-shadow:0 0 #86efac99}@keyframes _active-run-pulse_65eiw_1{70%{box-shadow:0 0 0 .38rem #86efac00}to{box-shadow:0 0 #86efac00}}._childRunTitle_65eiw_188{color:var(--ink);font-weight:650}._childRunMeta_65eiw_192{color:var(--ink-muted)}._columnToggle_65eiw_195{border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:1.65rem;height:1.65rem;color:var(--ink-muted);cursor:pointer;font-size:var(--text-base);background:0 0;flex:none;justify-content:center;align-items:center;line-height:1;display:none}._finishedColumnToggle_65eiw_210{display:inline-flex}._columnToggle_65eiw_195:hover{border-color:var(--accent);color:var(--accent-light)}._filters_65eiw_217{flex-wrap:wrap;align-items:end;gap:.6rem;margin-bottom:1rem;display:flex}._filters_65eiw_217 label{color:var(--ink-muted);font-weight:600;font-size:var(--text-sm);gap:.25rem;display:grid}._filters_65eiw_217 input,._filters_65eiw_217 select{background:var(--surface-panel);border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.35rem;color:var(--ink);font:inherit;padding-inline:.55rem}._filters_65eiw_217 input:focus,._filters_65eiw_217 select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2dd4bf26}._detail_65eiw_247{gap:var(--space-3);display:grid}._detail_65eiw_247>h2{margin:0}._summary_65eiw_254{font-size:var(--text-sm);grid-template-columns:max-content 1fr;align-items:baseline;gap:.35rem .7rem;margin:0;display:grid}._summary_65eiw_254 dt{color:var(--ink-muted);margin:0}._summary_65eiw_254 dd{overflow-wrap:anywhere;min-width:0;margin:0}._overviewLayout_65eiw_271{gap:var(--space-5);grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;display:grid}._overviewSidebar_65eiw_277{gap:var(--space-3);grid-column:2;min-width:0;display:grid}._overviewMain_65eiw_283{grid-area:1/1;min-width:0}._conversationPanel_65eiw_288{gap:var(--space-3);max-width:58rem;display:grid}._conversationPanel_65eiw_288 h2{margin:0}._conversationHint_65eiw_296{margin:var(--space-1) 0 0;color:var(--ink-muted);font-size:var(--text-sm)}._conversationTimeline_65eiw_301{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}._conversationEntry_65eiw_308{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-card);overflow:hidden}._conversationEntryHead_65eiw_314,._conversationRepresentations_65eiw_315{gap:var(--space-2);color:var(--ink-muted);background:var(--surface-panel);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;padding:.45rem .6rem;display:flex}._conversationRepresentations_65eiw_315{border-top:1px solid var(--border);background:var(--surface-inset)}._conversationBody_65eiw_329{white-space:pre-wrap;font-family:var(--font-mono);margin:0;padding:.6rem;font-size:.76rem;overflow-x:auto}._conversationComposer_65eiw_337{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-panel);display:grid}._conversationComposer_65eiw_337 label{color:var(--ink-muted);font-size:var(--text-sm);font-weight:600}._conversationComposer_65eiw_337 textarea{resize:vertical;min-height:6rem;color:var(--ink);background:var(--surface-inset);border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;padding:.6rem}._conversationComposer_65eiw_337 textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2dd4bf26}._conversationComposerActions_65eiw_365{align-items:center;gap:var(--space-3);display:flex}._sidebarSectionTitle_65eiw_370{font-size:var(--text-sm)}._resourceList_65eiw_373{margin:0 0 var(--space-4);gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}._resourceCard_65eiw_381{padding:var(--space-2) var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-card);color:inherit;flex-direction:column;gap:.35rem;text-decoration:none;display:flex}a._resourceCard_65eiw_381:hover{border-color:var(--accent);text-decoration:none}._resourceCardTop_65eiw_396{align-items:center;gap:var(--space-2);display:flex}._resourceCardIcon_65eiw_401{color:var(--ink-muted);flex:none}._resourceCardTitle_65eiw_405{min-width:0;font-weight:600;font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}._resourceCardExt_65eiw_414{color:var(--ink-muted);opacity:0;flex:none}._resourceCard_65eiw_381:hover ._resourceCardExt_65eiw_414{opacity:1}._resourceCardMeta_65eiw_422{font-size:var(--text-sm);padding-left:calc(18px + var(--space-2));flex-wrap:wrap;align-items:baseline;gap:.4rem;display:flex}._resourceId_65eiw_430{color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-xs);overflow-wrap:anywhere}._eventList_65eiw_436{flex-direction:column;gap:.45rem;margin:1rem 0;padding:0;list-style:none;display:flex}._event_65eiw_436{background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.25rem;overflow:hidden}._event_65eiw_436:hover{border-color:var(--border-strong)}._event_65eiw_436 time{color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-xs)}._eventType_65eiw_459{font-weight:650;font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}._eventId_65eiw_467{color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}._toolbar_65eiw_476{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}._modalBackdrop_65eiw_482{background:var(--brand-darker);padding:var(--space-4);z-index:10;place-items:center;display:grid;position:fixed;inset:0}._modal_65eiw_482{background:var(--surface-panel);border:1px solid var(--border-strong);box-shadow:var(--shadow);color:var(--ink);border-radius:var(--radius);width:100%;max-width:none;height:100%;max-height:none;padding:var(--space-4);overflow:auto}._modalHeader_65eiw_505{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}._modalRef_65eiw_512{color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-sm)}._modalClose_65eiw_517{appearance:none;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--ink);cursor:pointer;font:inherit;font-size:var(--text-sm);padding:.35rem .7rem;font-weight:700}._modalClose_65eiw_517:hover{border-color:var(--accent-light);color:var(--accent-light)}._tiles_65eiw_533{margin-bottom:var(--space-4);flex-wrap:wrap;gap:.6rem;display:flex}@media (width<=42rem){._overviewLayout_65eiw_271{grid-template-columns:minmax(0,1fr)}._overviewSidebar_65eiw_277,._overviewMain_65eiw_283{grid-area:auto/1}._resourceList_65eiw_373>li,._resourceCard_65eiw_381,._resourceCardTop_65eiw_396{min-width:0}._resourceCardTitle_65eiw_405{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}._resourceCardExt_65eiw_414{opacity:1}._board_65eiw_1{display:block;overflow:visible}._column_65eiw_69{min-height:unset;margin-bottom:.75rem}._columnToggle_65eiw_195{display:inline-flex}._eventId_65eiw_467{display:none}._modalBackdrop_65eiw_482{background:0 0;padding:0;display:block;position:static}._modal_65eiw_482{box-shadow:none;border:0;width:auto;height:auto;max-height:none;padding:0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}._transcript_65eiw_598{margin:var(--space-3) 0 0;padding:0;list-style:none}._transcriptEntry_65eiw_603{background:var(--surface-inset);border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:.75rem;overflow:hidden}._transcriptHead_65eiw_610{gap:var(--space-3);color:var(--ink-muted);background:var(--surface-panel);border-bottom:1px solid var(--border);font-family:var(--font-mono);font-size:var(--text-xs);padding:.45rem .6rem;display:flex}._transcriptText_65eiw_620{white-space:pre-wrap;font-family:var(--font-mono);background:0 0;margin:0;padding:.6rem;font-size:.76rem;overflow-x:auto}._transcriptLayout_65eiw_629{gap:var(--space-4);margin-top:var(--space-3);grid-template-columns:minmax(15rem,22rem) minmax(0,1fr);display:grid}._transcriptGroups_65eiw_635{align-content:start;align-self:start;gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}._transcriptGroup_65eiw_635{width:100%;padding:var(--space-2);color:var(--ink);text-align:left;background:var(--surface-card);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;font:inherit;font-size:var(--text-xs);overflow-wrap:anywhere;gap:.2rem;display:grid}._transcriptGroup_65eiw_635:hover,._transcriptGroup_65eiw_635[aria-pressed=true]{border-color:var(--accent);background:var(--surface-inset)}._transcriptConversation_65eiw_664{min-width:0}._transcriptFilters_65eiw_667{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}._transcriptFilters_65eiw_667 label{align-items:center;gap:var(--space-2);color:var(--ink-muted);font-size:var(--text-sm);display:flex}._transcriptFilters_65eiw_667 select{color:var(--ink);background:var(--surface-panel);border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit}._transcriptInput_65eiw_687,._transcriptAgent_65eiw_688{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}._transcriptInput_65eiw_687{background:var(--surface-inset);border-left:3px solid var(--accent);margin-left:12%}._transcriptAgent_65eiw_688{background:var(--surface-card);border-left:3px solid var(--border-strong);margin-right:12%}._transcriptRunSeparator_65eiw_703{align-items:center;gap:var(--space-2);margin:var(--space-3) 0;color:var(--ink-muted);font-family:var(--font-mono);font-size:var(--text-xs);display:flex}._transcriptRunSeparator_65eiw_703:before,._transcriptRunSeparator_65eiw_703:after{content:"";background:var(--border);flex:1;height:1px}._eventButton_65eiw_720{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(11rem,14rem) minmax(0,1fr) minmax(8rem,18rem) 2.4rem;align-items:center;gap:.65rem;padding:.45rem .65rem;display:grid}._eventType_65eiw_459{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}@media (width<=42rem){._transcriptLayout_65eiw_629{grid-template-columns:minmax(0,1fr)}._transcriptInput_65eiw_687,._transcriptAgent_65eiw_688{margin-inline:0}._eventButton_65eiw_720{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 2.2rem}._eventType_65eiw_459{text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;grid-area:2/1/auto/-1;overflow:hidden}}._eventChevron_65eiw_760{color:var(--ink-muted);justify-self:end}._eventPayload_65eiw_764{border-top:1px solid var(--border);overflow-x:auto}._eventPayload_65eiw_764 pre{padding:var(--space-3);white-space:pre;margin:0}._tabs_65eiw_773{padding:.4rem var(--space-4) 0;border-bottom:1px solid var(--border);background:0 0;gap:.25rem;margin:0;display:flex}._tabs_65eiw_773 button{color:var(--nav-ink-idle);font:inherit;white-space:nowrap;cursor:pointer;transition:color var(--motion-fast) ease;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:.4rem .7rem .45rem}._tabs_65eiw_773 button:hover{color:var(--ink-inverse)}._tabs_65eiw_773 button[aria-selected=true]{color:var(--accent-light);border-bottom-color:var(--accent);font-weight:700}._actionBar_65eiw_802{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}._dangerButton_65eiw_808{border-color:var(--bad);color:var(--bad)}._diagram_1r90h_1{box-sizing:border-box;scrollbar-color:transparent transparent;scrollbar-width:thin;inline-size:100%;min-inline-size:0;max-inline-size:100%;overflow:auto visible}._diagram_1r90h_1::-webkit-scrollbar{height:.35rem}._diagram_1r90h_1::-webkit-scrollbar-button{width:0;height:0;display:none}._diagram_1r90h_1::-webkit-scrollbar-thumb{background:padding-box padding-box;border:2px solid #0000;border-radius:999px}._diagram_1r90h_1:hover,._diagram_1r90h_1:focus-within{scrollbar-color:var(--border-strong) transparent}._diagram_1r90h_1:hover::-webkit-scrollbar-thumb{background:var(--border-strong);background-clip:padding-box}._diagram_1r90h_1:focus-within::-webkit-scrollbar-thumb{background:var(--border-strong);background-clip:padding-box}._diagram_1r90h_1[data-direction=RIGHT]{cursor:grab;touch-action:pan-y}._dragging_1r90h_45{-webkit-user-select:none;user-select:none;cursor:grabbing!important}._canvas_1r90h_50{min-width:var(--graph-width);min-height:var(--graph-height);position:relative}._canvasLoading_1r90h_56{visibility:hidden}._edges_1r90h_60{width:var(--graph-width);height:var(--graph-height);pointer-events:none;z-index:0;position:absolute;inset:0;overflow:visible}._edges_1r90h_60 path{fill:none;stroke:var(--border-strong,#64748b);stroke-width:1.5px}._edges_1r90h_60 marker path{fill:context-stroke}._edgeActive_1r90h_80 path{stroke:var(--accent);stroke-width:2px}._edgeLabel_1r90h_85{z-index:2;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--ink-muted);font-size:var(--text-xs);pointer-events:none;opacity:0;transition:opacity var(--motion-fast) ease;padding:.1rem .35rem;line-height:1.2;position:absolute;transform:translate(-50%,-50%)}._edgeLabelActive_1r90h_101{opacity:1}._stage_1r90h_105{z-index:1;position:absolute}._stage_1r90h_105:hover,._stage_1r90h_105:focus-within{border-color:var(--border);border-left-color:var(--border-strong)}._stageCard_1r90h_116{grid-template-columns:1fr auto;gap:.2rem;padding:.5rem;display:grid}._stageCard_1r90h_116:hover{background:var(--surface-card)}._stageTitleRow_1r90h_127{align-items:center;gap:.4rem;display:flex}._stageCard_1r90h_116 button{align-self:start}._chips_1r90h_137,._metrics_1r90h_138,._stageTotals_1r90h_139{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}._stageTotals_1r90h_139{color:var(--ink-muted);grid-column:1/-1;font-size:.7rem}._children_1r90h_152{gap:.3rem;padding:.4rem;display:grid}._childCard_1r90h_158{align-items:start;gap:.2rem .35rem;margin-top:0;padding:.35rem}._childCardWithoutStatus_1r90h_165{grid-template-columns:1fr}._childCard_1r90h_158:hover,._childCard_1r90h_158:focus-within{border-color:var(--accent)}._childStatusDot_1r90h_174{align-self:start;margin-top:.22rem}._collapsedStatusDot_1r90h_179{justify-self:end}._collapsedStatusDots_1r90h_183{justify-self:end;gap:.35rem;display:flex}._childTitle_1r90h_189{align-items:center;gap:.35rem;display:flex}._childKindIcon_1r90h_195{width:.72rem;color:var(--ink-muted)}._metrics_1r90h_138,._childCard_1r90h_158 ._metrics_1r90h_138{color:var(--ink-muted);font-size:var(--text-xs);margin-top:.2rem}._childStatusDot_1r90h_174[data-status=pending]{background:var(--border-strong);box-shadow:none}._childStatusDot_1r90h_174[data-status=active]{background:var(--good)}._childStatusDot_1r90h_174[data-status=completed],._childStatusDot_1r90h_174[data-status=waiting],._childStatusDot_1r90h_174[data-status=blocked],._childStatusDot_1r90h_174[data-status=failed],._childStatusDot_1r90h_174[data-status=needs-clarification]{box-sizing:border-box;box-shadow:none;background:0 0}._childStatusDot_1r90h_174[data-status=completed]{border:2px solid var(--good)}._childStatusDot_1r90h_174[data-status=waiting],._childStatusDot_1r90h_174[data-status=blocked]{border:2px solid var(--warning)}._childStatusDot_1r90h_174[data-status=failed]{border:2px solid var(--bad)}._childStatusDot_1r90h_174[data-status=needs-clarification]{border:2px solid var(--accent-light)}._childStatusDot_1r90h_174[data-active-run=true]{animation:1.5s ease-out infinite _active-run-pulse_1r90h_1;box-shadow:0 0 #86efac99}@keyframes _active-run-pulse_1r90h_1{70%{box-shadow:0 0 0 .38rem #86efac00}to{box-shadow:0 0 #86efac00}}._srOnly_1r90h_258{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}._canvas_1r90h_50[data-direction=DOWN]{align-items:start;gap:.5rem;min-width:100%;min-height:0;display:grid}._canvas_1r90h_50[data-direction=DOWN] ._edges_1r90h_60,._canvas_1r90h_50[data-direction=DOWN] ._edgeLabel_1r90h_85{display:none}._canvas_1r90h_50[data-direction=DOWN] ._stage_1r90h_105{width:100%;position:static}._canvas_1r90h_50[data-direction=DOWN] ._stageCard_1r90h_116{cursor:pointer;min-height:0}._canvas_1r90h_50[data-direction=DOWN] ._stageCard_1r90h_116 button{display:none}._canvas_1r90h_50[data-direction=DOWN] ._childCard_1r90h_158:hover,._canvas_1r90h_50[data-direction=DOWN] ._childCard_1r90h_158:focus-within{border-color:var(--border)}:root{--wake-ink-950:#14161a;--wake-ink-900:#1a1d23;--wake-ink-850:#22262e;--wake-ink-800:#101216;--wake-ink-700:#2c313a;--wake-ink-600:#3a4150;--wake-grey-300:#cbd5e1;--wake-grey-400:#9aa2ad;--wake-grey-100:#e8e8e8;--wake-white:#fff;--wake-teal-700:#103a37;--wake-teal-650:#134e4a;--wake-teal-600:#0f766e;--wake-mint-400:#2dd4bf;--wake-mint-300:#5eead4;--wake-green-300:#7fe3a3;--wake-green-900:#1f3d2c;--wake-blue-300:#7fb3ff;--wake-blue-900:#1f3350;--wake-purple-300:#c79bff;--wake-purple-900:#2d1f50;--wake-amber-300:#ffcf7f;--wake-amber-900:#4a3510;--wake-red-300:#ff8f7f;--wake-red-900:#3d1f1f;--wake-slate-400:#9aa2ad;--wake-slate-900:#252830;--surface:var(--wake-ink-950);--surface-panel:var(--wake-ink-900);--surface-card:var(--wake-ink-850);--surface-inset:var(--wake-ink-800);--border:var(--wake-ink-700);--border-strong:var(--wake-ink-600);--ink:var(--wake-grey-100);--ink-muted:var(--wake-grey-400);--ink-inverse:var(--wake-white);--brand:var(--wake-teal-600);--brand-dark:var(--wake-teal-650);--brand-darker:var(--wake-teal-700);--nav-ink-idle:var(--wake-grey-300);--accent:var(--wake-mint-400);--accent-light:var(--wake-mint-300);--good:var(--wake-green-300);--warning:var(--wake-amber-300);--bad:var(--wake-red-300);--cond-ready-fg:var(--wake-green-300);--cond-ready-bg:var(--wake-green-900);--cond-scheduled-fg:var(--wake-blue-300);--cond-scheduled-bg:var(--wake-blue-900);--cond-active-fg:var(--wake-purple-300);--cond-active-bg:var(--wake-purple-900);--cond-needs-input-fg:var(--wake-amber-300);--cond-needs-input-bg:var(--wake-amber-900);--cond-error-fg:var(--wake-red-300);--cond-error-bg:var(--wake-red-900);--cond-finished-fg:var(--wake-slate-400);--cond-finished-bg:var(--wake-slate-900);--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--radius:.65rem;--radius-sm:.4rem;--shadow:0 1px 3px #00000059;--focus-ring:var(--wake-mint-300);--font-sans:Inter, ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Consolas, monospace;--text-xs:.72rem;--text-sm:.8rem;--text-base:1rem;--text-lg:1.15rem;--content-width:76rem;--motion-fast:.12s}*{box-sizing:border-box}html{color:var(--ink);background:var(--surface);font-family:var(--font-sans);line-height:1.5}body{margin:0}a{color:var(--accent-light);text-underline-offset:.18em;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.wake-login{min-height:100vh;padding:var(--space-5);background:var(--surface);place-items:center;display:grid}.wake-login-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-card);width:min(100%,54rem);box-shadow:var(--shadow);grid-template-columns:minmax(12rem,14rem) minmax(22rem,1fr);display:grid;overflow:hidden}.wake-login-brand{background:var(--brand);color:var(--ink-inverse);padding:clamp(var(--space-6), 6vw, 5rem);border-right:1px solid #0000002e;justify-content:center;align-items:center;display:flex}.wake-login-logo{flex:none;width:7rem;height:7rem}.wake-login-card{padding:clamp(var(--space-5), 5vw, 3rem);align-self:center}.wake-login-card h1{margin:0 0 var(--space-2);font-size:var(--text-lg)}.wake-login-card p{color:var(--ink-muted);line-height:1.5}.wake-login-card form{gap:var(--space-3);margin-top:var(--space-5);display:grid}.wake-login-card input{width:100%;padding:var(--space-3) var(--space-4);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-inset);color:var(--ink)}.wake-login-submit{margin-top:var(--space-2);padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);background:var(--brand);color:var(--ink-inverse);cursor:pointer;border:0;font-weight:700}.wake-login-submit:hover{background:var(--brand-dark)}@media (width<=42rem){.wake-login{place-items:start center}.wake-login-panel{grid-template-columns:1fr}.wake-login-brand{padding:var(--space-5);border-bottom:1px solid #0000002e;border-right:0}.wake-login-card{padding:var(--space-5)}}
|