wicked-crew 0.8.5 → 0.8.7
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/dist/api/ask-paths.d.ts +18 -1
- package/dist/api/ask-paths.d.ts.map +1 -1
- package/dist/api/ask-paths.js +36 -1
- package/dist/api/ask-paths.js.map +1 -1
- package/dist/api/ask-relay.d.ts.map +1 -1
- package/dist/api/ask-relay.js +20 -0
- package/dist/api/ask-relay.js.map +1 -1
- package/dist/api/diagnostics.d.ts +10 -0
- package/dist/api/diagnostics.d.ts.map +1 -1
- package/dist/api/diagnostics.js +37 -2
- package/dist/api/diagnostics.js.map +1 -1
- package/dist/api/roster-standing.d.ts.map +1 -1
- package/dist/api/roster-standing.js +13 -3
- package/dist/api/roster-standing.js.map +1 -1
- package/dist/api/routes.d.ts +16 -16
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +62 -6
- package/dist/api/routes.js.map +1 -1
- package/dist/api/seat-governance.d.ts +115 -0
- package/dist/api/seat-governance.d.ts.map +1 -0
- package/dist/api/seat-governance.js +166 -0
- package/dist/api/seat-governance.js.map +1 -0
- package/dist/api/seat-standing.d.ts +12 -1
- package/dist/api/seat-standing.d.ts.map +1 -1
- package/dist/api/seat-standing.js +11 -9
- package/dist/api/seat-standing.js.map +1 -1
- package/dist/api/skills.d.ts.map +1 -1
- package/dist/api/skills.js +3 -1
- package/dist/api/skills.js.map +1 -1
- package/dist/api/testing.d.ts +2 -2
- package/dist/core/engine-roster.d.ts.map +1 -1
- package/dist/core/engine-roster.js +3 -0
- package/dist/core/engine-roster.js.map +1 -1
- package/dist/core/estate-mcp-client.d.ts +8 -0
- package/dist/core/estate-mcp-client.d.ts.map +1 -1
- package/dist/core/estate-mcp-client.js +7 -0
- package/dist/core/estate-mcp-client.js.map +1 -1
- package/dist/qe/acceptance.d.ts +3 -0
- package/dist/qe/acceptance.d.ts.map +1 -1
- package/dist/qe/acceptance.js +1 -0
- package/dist/qe/acceptance.js.map +1 -1
- package/dist/qe/conformance.d.ts +36 -3
- package/dist/qe/conformance.d.ts.map +1 -1
- package/dist/qe/conformance.js +111 -4
- package/dist/qe/conformance.js.map +1 -1
- package/dist/skills/refs.d.ts +6 -0
- package/dist/skills/refs.d.ts.map +1 -1
- package/dist/skills/refs.js +8 -0
- package/dist/skills/refs.js.map +1 -1
- package/dist/skills/runtime.d.ts +17 -2
- package/dist/skills/runtime.d.ts.map +1 -1
- package/dist/skills/runtime.js +30 -1
- package/dist/skills/runtime.js.map +1 -1
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/store.js +9 -1
- package/dist/skills/store.js.map +1 -1
- package/dist/team/routes.d.ts +2 -2
- package/endpoint-manifest.json +1 -1
- package/package.json +2 -2
package/dist/api/routes.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
207
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
208
|
problem: string;
|
|
209
209
|
workflow?: string | undefined;
|
|
210
|
-
deliver?: "
|
|
210
|
+
deliver?: "none" | "pr" | undefined;
|
|
211
211
|
revisesPr?: number | undefined;
|
|
212
212
|
plan?: {
|
|
213
213
|
steps: z.objectOutputType<{
|
|
@@ -239,7 +239,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
239
239
|
}, {
|
|
240
240
|
problem: string;
|
|
241
241
|
workflow?: string | undefined;
|
|
242
|
-
deliver?: "
|
|
242
|
+
deliver?: "none" | "pr" | undefined;
|
|
243
243
|
revisesPr?: number | undefined;
|
|
244
244
|
plan?: {
|
|
245
245
|
steps: z.objectInputType<{
|
|
@@ -271,7 +271,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
271
271
|
}>, {
|
|
272
272
|
problem: string;
|
|
273
273
|
workflow?: string | undefined;
|
|
274
|
-
deliver?: "
|
|
274
|
+
deliver?: "none" | "pr" | undefined;
|
|
275
275
|
revisesPr?: number | undefined;
|
|
276
276
|
plan?: {
|
|
277
277
|
steps: z.objectOutputType<{
|
|
@@ -303,7 +303,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
303
303
|
}, {
|
|
304
304
|
problem: string;
|
|
305
305
|
workflow?: string | undefined;
|
|
306
|
-
deliver?: "
|
|
306
|
+
deliver?: "none" | "pr" | undefined;
|
|
307
307
|
revisesPr?: number | undefined;
|
|
308
308
|
plan?: {
|
|
309
309
|
steps: z.objectInputType<{
|
|
@@ -335,7 +335,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
335
335
|
}>, {
|
|
336
336
|
problem: string;
|
|
337
337
|
workflow?: string | undefined;
|
|
338
|
-
deliver?: "
|
|
338
|
+
deliver?: "none" | "pr" | undefined;
|
|
339
339
|
revisesPr?: number | undefined;
|
|
340
340
|
plan?: {
|
|
341
341
|
steps: z.objectOutputType<{
|
|
@@ -367,7 +367,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
367
367
|
}, {
|
|
368
368
|
problem: string;
|
|
369
369
|
workflow?: string | undefined;
|
|
370
|
-
deliver?: "
|
|
370
|
+
deliver?: "none" | "pr" | undefined;
|
|
371
371
|
revisesPr?: number | undefined;
|
|
372
372
|
plan?: {
|
|
373
373
|
steps: z.objectInputType<{
|
|
@@ -399,7 +399,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
399
399
|
}>, {
|
|
400
400
|
problem: string;
|
|
401
401
|
workflow?: string | undefined;
|
|
402
|
-
deliver?: "
|
|
402
|
+
deliver?: "none" | "pr" | undefined;
|
|
403
403
|
revisesPr?: number | undefined;
|
|
404
404
|
plan?: {
|
|
405
405
|
steps: z.objectOutputType<{
|
|
@@ -431,7 +431,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
431
431
|
}, {
|
|
432
432
|
problem: string;
|
|
433
433
|
workflow?: string | undefined;
|
|
434
|
-
deliver?: "
|
|
434
|
+
deliver?: "none" | "pr" | undefined;
|
|
435
435
|
revisesPr?: number | undefined;
|
|
436
436
|
plan?: {
|
|
437
437
|
steps: z.objectInputType<{
|
|
@@ -463,7 +463,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
463
463
|
}>, {
|
|
464
464
|
problem: string;
|
|
465
465
|
workflow?: string | undefined;
|
|
466
|
-
deliver?: "
|
|
466
|
+
deliver?: "none" | "pr" | undefined;
|
|
467
467
|
revisesPr?: number | undefined;
|
|
468
468
|
plan?: {
|
|
469
469
|
steps: z.objectOutputType<{
|
|
@@ -495,7 +495,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
495
495
|
}, {
|
|
496
496
|
problem: string;
|
|
497
497
|
workflow?: string | undefined;
|
|
498
|
-
deliver?: "
|
|
498
|
+
deliver?: "none" | "pr" | undefined;
|
|
499
499
|
revisesPr?: number | undefined;
|
|
500
500
|
plan?: {
|
|
501
501
|
steps: z.objectInputType<{
|
|
@@ -527,7 +527,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
527
527
|
}>, {
|
|
528
528
|
problem: string;
|
|
529
529
|
workflow?: string | undefined;
|
|
530
|
-
deliver?: "
|
|
530
|
+
deliver?: "none" | "pr" | undefined;
|
|
531
531
|
revisesPr?: number | undefined;
|
|
532
532
|
plan?: {
|
|
533
533
|
steps: z.objectOutputType<{
|
|
@@ -559,7 +559,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
559
559
|
}, {
|
|
560
560
|
problem: string;
|
|
561
561
|
workflow?: string | undefined;
|
|
562
|
-
deliver?: "
|
|
562
|
+
deliver?: "none" | "pr" | undefined;
|
|
563
563
|
revisesPr?: number | undefined;
|
|
564
564
|
plan?: {
|
|
565
565
|
steps: z.objectInputType<{
|
|
@@ -591,7 +591,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
591
591
|
}>, {
|
|
592
592
|
problem: string;
|
|
593
593
|
workflow?: string | undefined;
|
|
594
|
-
deliver?: "
|
|
594
|
+
deliver?: "none" | "pr" | undefined;
|
|
595
595
|
revisesPr?: number | undefined;
|
|
596
596
|
plan?: {
|
|
597
597
|
steps: z.objectOutputType<{
|
|
@@ -623,7 +623,7 @@ export declare const LaunchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
623
623
|
}, {
|
|
624
624
|
problem: string;
|
|
625
625
|
workflow?: string | undefined;
|
|
626
|
-
deliver?: "
|
|
626
|
+
deliver?: "none" | "pr" | undefined;
|
|
627
627
|
revisesPr?: number | undefined;
|
|
628
628
|
plan?: {
|
|
629
629
|
steps: z.objectInputType<{
|
|
@@ -1366,7 +1366,7 @@ export declare const ChatOpenSchema: z.ZodObject<{
|
|
|
1366
1366
|
chatId?: string | undefined;
|
|
1367
1367
|
clis?: string[] | undefined;
|
|
1368
1368
|
repoRefs?: string[] | undefined;
|
|
1369
|
-
scopeKind?: "
|
|
1369
|
+
scopeKind?: "none" | "repo" | "repos" | "system" | "project" | "everything" | undefined;
|
|
1370
1370
|
}, {
|
|
1371
1371
|
primary?: string | undefined;
|
|
1372
1372
|
projectId?: string | undefined;
|
|
@@ -1374,7 +1374,7 @@ export declare const ChatOpenSchema: z.ZodObject<{
|
|
|
1374
1374
|
chatId?: string | undefined;
|
|
1375
1375
|
clis?: string[] | undefined;
|
|
1376
1376
|
repoRefs?: string[] | undefined;
|
|
1377
|
-
scopeKind?: "
|
|
1377
|
+
scopeKind?: "none" | "repo" | "repos" | "system" | "project" | "everything" | undefined;
|
|
1378
1378
|
}>;
|
|
1379
1379
|
export declare function registerRoutes(app: FastifyInstance, adapter: CoreAdapter, gateCache: GateCache, elicitationCache: ElicitationCache, projects?: ProjectRoutesDeps, security?: SecurityDeps, runtime?: RuntimeDeps): RegisteredRoutes;
|
|
1380
1380
|
//# sourceMappingURL=routes.d.ts.map
|
package/dist/api/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgC,MAAM,SAAS,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAgB,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EAAmD,WAAW,EAA4J,MAAM,oBAAoB,CAAC;AAE5P,OAAO,KAAK,EAEV,aAAa,EACb,SAAS,EAGT,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,iBAAiB,CAAC;AACrF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK/D,OAAO,KAAK,EAWV,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgC,MAAM,SAAS,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAgB,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,E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ACxB,gBAAgB,CAm/JlB"}
|
package/dist/api/routes.js
CHANGED
|
@@ -16,10 +16,11 @@ import { runIdentityOf, wireIdentity } from '../core/run-identity.js';
|
|
|
16
16
|
import { buildEvidenceBundle, coreUnitId, evidenceFilename } from './evidence.js';
|
|
17
17
|
import { outputUnavailableReason, resolveUnit, unitKeysFor } from './unit-output.js';
|
|
18
18
|
import { execCapped, ExecOutputTooLarge } from '../core/exec.js';
|
|
19
|
-
import { callEstateTool, EstateMcpError } from '../core/estate-mcp-client.js';
|
|
19
|
+
import { callEstateTool, EstateMcpError, memoryStoreInfo } from '../core/estate-mcp-client.js';
|
|
20
20
|
import { SeatHealthTracker } from './seat-health.js';
|
|
21
21
|
import { applyWorkerConfigRoot, signedInHeuristic } from './seat-signin.js';
|
|
22
22
|
import { chatSeatAdmission } from './seat-standing.js';
|
|
23
|
+
import { seatGovernanceDiagnostics, seatGovernanceWarnings, } from './seat-governance.js';
|
|
23
24
|
import { rosterWithStandingFactory } from './roster-standing.js';
|
|
24
25
|
import { ChatTurnIndex } from './chat-turns.js';
|
|
25
26
|
import { ChatScopeIndex, chatScopeDeps, chatScopeStatement, prepareChatScratch, removeChatScratch, namedKindRefusal, resolveChatScope, } from './chat-scope.js';
|
|
@@ -64,7 +65,7 @@ import { MembershipIndex } from '../projects/membership-index.js';
|
|
|
64
65
|
import { MEMBERSHIP_ATTACHED, membershipAttachedKey } from '../projects/events.js';
|
|
65
66
|
import { resolveLinkedIssues } from '../core/linked-issues.js';
|
|
66
67
|
import { AuditLog } from './audit.js';
|
|
67
|
-
import { AcpFoldCache, EngineVersionCache, eventsDirOf, installedPackageVersion, listStoreFiles, readStudioBundleVersion, } from './diagnostics.js';
|
|
68
|
+
import { AcpFoldCache, EngineVersionCache, eventsDirOf, installedPackageVersion, hostSandboxLauncher, seatRosterFile, listStoreFiles, readStudioBundleVersion, } from './diagnostics.js';
|
|
68
69
|
import { GovernanceDiagnostics } from './governance-health.js';
|
|
69
70
|
import { governanceStoreFix, legacyHomeOutboxPath } from '../core/governance-store.js';
|
|
70
71
|
import { UsageError, replayOutboxInto } from '../cli/governance.js';
|
|
@@ -1035,6 +1036,9 @@ runtime = {}) {
|
|
|
1035
1036
|
...(adapter.busUnavailable != null ? [busUnavailableWarning(adapter.busUnavailable)] : []),
|
|
1036
1037
|
// wicked-core#631: the engine has the bus but not the calls crew reaches it through.
|
|
1037
1038
|
...(adapter.busSeamsOff != null ? [busSeamsOffWarning(adapter.busSeamsOff)] : []),
|
|
1039
|
+
// crew#742: a seat that runs ungoverned, or floor seats on a host that cannot arm their
|
|
1040
|
+
// boundary, are named before any run starts.
|
|
1041
|
+
...seatGovernanceWarnings(seatGovernanceNow(), hostSandboxLauncher()),
|
|
1038
1042
|
];
|
|
1039
1043
|
return {
|
|
1040
1044
|
status: 'ok',
|
|
@@ -1100,6 +1104,16 @@ runtime = {}) {
|
|
|
1100
1104
|
// who classified (the engine, or crew's registry copy on an older addon) and whether that
|
|
1101
1105
|
// refuses launches — re-surveyed per read. `null` on a route set booted without the watch.
|
|
1102
1106
|
stateHome: runtime.stateHome !== undefined ? await runtime.stateHome.refresh() : null,
|
|
1107
|
+
// crew#742: per seat — transport, the record's OS sandbox, the engine's governance class,
|
|
1108
|
+
// input governance enforced / claimed / unenforced, the mode per scope kind; plus the
|
|
1109
|
+
// registry overlay file and this host's OS launcher.
|
|
1110
|
+
seatGovernance: {
|
|
1111
|
+
rosterFile: seatRosterFile(),
|
|
1112
|
+
hostBoundary: hostSandboxLauncher(),
|
|
1113
|
+
seats: seatGovernanceNow(),
|
|
1114
|
+
},
|
|
1115
|
+
// crew#740: which memory store this daemon reads and writes, and the isolation notice.
|
|
1116
|
+
memoryStore: memoryStoreInfo(),
|
|
1103
1117
|
};
|
|
1104
1118
|
});
|
|
1105
1119
|
// Who am I talking to the daemon as? (task #88). In local mode this is
|
|
@@ -1161,6 +1175,16 @@ runtime = {}) {
|
|
|
1161
1175
|
// disagree about a seat.
|
|
1162
1176
|
const rosterWithStanding = runtime.rosterWithStanding ?? rosterWithStandingFactory({ seatHealth, signedIn });
|
|
1163
1177
|
app.get(`${V}/roster`, async () => ({ roster: rosterWithStanding() }));
|
|
1178
|
+
/** crew#742: the seats' governance standing, read from the standing roster (empty when the
|
|
1179
|
+
* roster cannot be read — the roster route reports that failure itself). */
|
|
1180
|
+
const seatGovernanceNow = () => {
|
|
1181
|
+
try {
|
|
1182
|
+
return seatGovernanceDiagnostics(rosterWithStanding());
|
|
1183
|
+
}
|
|
1184
|
+
catch {
|
|
1185
|
+
return [];
|
|
1186
|
+
}
|
|
1187
|
+
};
|
|
1164
1188
|
// Each seat's week (studio's weekly 1:1 per agent; api-types 0.52.0): units, first pass, rework,
|
|
1165
1189
|
// stalls, bench and cost, folded from the runs' durable event logs by `seatRecord` — nothing new
|
|
1166
1190
|
// is stored. The daemon's remembered stall frames join the engine's, as on `/runs/:id/events`.
|
|
@@ -2495,7 +2519,10 @@ runtime = {}) {
|
|
|
2495
2519
|
refused.push({ cliKey: key, reason: `seat '${key}' is not in the roster`, source: 'scope' });
|
|
2496
2520
|
continue;
|
|
2497
2521
|
}
|
|
2498
|
-
const admission = chatSeatAdmission(
|
|
2522
|
+
const admission = chatSeatAdmission(
|
|
2523
|
+
// IG1-crew-2: the standing seat carries the engine's `governance_class` and the pin
|
|
2524
|
+
// reading, so a scoped ask admits by the seat's governance mode (reason names it).
|
|
2525
|
+
seat, seat.auth ?? 'unknown', scoped, admissionKind);
|
|
2499
2526
|
if (admission.ok)
|
|
2500
2527
|
clis.push(key);
|
|
2501
2528
|
else
|
|
@@ -2575,7 +2602,12 @@ runtime = {}) {
|
|
|
2575
2602
|
}
|
|
2576
2603
|
// ASK-C1: the path record — published only now, with the scope committed, so a message
|
|
2577
2604
|
// cannot launch against a scope that is still being filed (codex on #808 r2, 4).
|
|
2578
|
-
|
|
2605
|
+
// IG1-crew-1: with the admitted seats' records and the scope kind, so the path's view
|
|
2606
|
+
// names the PA's governance mode.
|
|
2607
|
+
askPaths.open(chatId, clis, b.primary, {
|
|
2608
|
+
seats: standing.filter((s) => clis.includes(String(s.key))),
|
|
2609
|
+
scopeKind: !scoped ? 'unscoped' : admissionKind === 'path-bound' ? 'scoped_bound' : 'scoped',
|
|
2610
|
+
});
|
|
2579
2611
|
// Register roots for path rewriting (crew#618): absolute host paths in seat replies are
|
|
2580
2612
|
// rewritten to repo-relative form before being stored in the transcript.
|
|
2581
2613
|
if (chatTranscripts !== undefined && scope.repos.length > 0) {
|
|
@@ -2896,7 +2928,10 @@ runtime = {}) {
|
|
|
2896
2928
|
const seat = standingNow.find((s) => String(s.key) === cliKey);
|
|
2897
2929
|
if (seat === undefined)
|
|
2898
2930
|
return { cliKey, ok: false, error: `seat '${cliKey}' is not in the roster` };
|
|
2899
|
-
const admission = chatSeatAdmission(
|
|
2931
|
+
const admission = chatSeatAdmission(
|
|
2932
|
+
// IG1-crew-2: the standing seat carries the engine's `governance_class` and the pin
|
|
2933
|
+
// reading, so a scoped ask admits by the seat's governance mode (reason names it).
|
|
2934
|
+
seat, seat.auth ?? 'unknown', scopedChat, reseatKind);
|
|
2900
2935
|
return admission.ok ? { cliKey, ok: true } : { cliKey, ok: false, error: admission.reason };
|
|
2901
2936
|
});
|
|
2902
2937
|
askPaths.admit(id, seats.filter((s) => s.ok).map((s) => s.cliKey));
|
|
@@ -3150,6 +3185,26 @@ runtime = {}) {
|
|
|
3150
3185
|
claims: () => adapter.listConformanceClaims(),
|
|
3151
3186
|
events: (rid) => adapter.runEvents(rid),
|
|
3152
3187
|
...(walkthroughs.gates.length > 0 || walkthroughs.ownedByYou ? { walkthroughs } : {}),
|
|
3188
|
+
// IG1-crew-2: what fenced each unit — the run's binding and the roster's seat records.
|
|
3189
|
+
enforcementContext: {
|
|
3190
|
+
bound: run.session.repo_ref !== null,
|
|
3191
|
+
worktree: run.session.workdir,
|
|
3192
|
+
extraWriteRoots: run.session.extra_write_roots ?? [],
|
|
3193
|
+
seatOf: (() => {
|
|
3194
|
+
let seats = null;
|
|
3195
|
+
return (cli) => {
|
|
3196
|
+
if (seats === null) {
|
|
3197
|
+
try {
|
|
3198
|
+
seats = rosterWithStanding();
|
|
3199
|
+
}
|
|
3200
|
+
catch {
|
|
3201
|
+
seats = [];
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
return seats.find((seat) => seat.key === cli);
|
|
3205
|
+
};
|
|
3206
|
+
})(),
|
|
3207
|
+
},
|
|
3153
3208
|
});
|
|
3154
3209
|
});
|
|
3155
3210
|
/**
|
|
@@ -5201,7 +5256,8 @@ runtime = {}) {
|
|
|
5201
5256
|
}
|
|
5202
5257
|
if (limit !== undefined)
|
|
5203
5258
|
memories = memories.slice(0, limit);
|
|
5204
|
-
|
|
5259
|
+
// crew#740: the store the list came from (path, source, the isolation notice when it applies).
|
|
5260
|
+
const body = { memories, store: memoryStoreInfo() };
|
|
5205
5261
|
return body;
|
|
5206
5262
|
}
|
|
5207
5263
|
catch (err) {
|