agent-recall-core 3.4.48 → 3.4.50
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 -0
- package/dist/digest/store.d.ts +15 -6
- package/dist/digest/store.d.ts.map +1 -1
- package/dist/digest/store.js +33 -20
- package/dist/digest/store.js.map +1 -1
- package/dist/embeddings/chunker.d.ts +102 -0
- package/dist/embeddings/chunker.d.ts.map +1 -0
- package/dist/embeddings/chunker.js +260 -0
- package/dist/embeddings/chunker.js.map +1 -0
- package/dist/embeddings/config.d.ts +93 -0
- package/dist/embeddings/config.d.ts.map +1 -0
- package/dist/embeddings/config.js +174 -0
- package/dist/embeddings/config.js.map +1 -0
- package/dist/embeddings/index-store.d.ts +61 -0
- package/dist/embeddings/index-store.d.ts.map +1 -0
- package/dist/embeddings/index-store.js +158 -0
- package/dist/embeddings/index-store.js.map +1 -0
- package/dist/embeddings/indexer.d.ts +75 -0
- package/dist/embeddings/indexer.d.ts.map +1 -0
- package/dist/embeddings/indexer.js +196 -0
- package/dist/embeddings/indexer.js.map +1 -0
- package/dist/embeddings/runtime.d.ts +66 -0
- package/dist/embeddings/runtime.d.ts.map +1 -0
- package/dist/embeddings/runtime.js +197 -0
- package/dist/embeddings/runtime.js.map +1 -0
- package/dist/helpers/associative-link.d.ts.map +1 -1
- package/dist/helpers/associative-link.js +26 -1
- package/dist/helpers/associative-link.js.map +1 -1
- package/dist/helpers/tokenize.d.ts +1 -0
- package/dist/helpers/tokenize.d.ts.map +1 -1
- package/dist/helpers/tokenize.js +18 -0
- package/dist/helpers/tokenize.js.map +1 -1
- package/dist/index.d.ts +27 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -5
- package/dist/index.js.map +1 -1
- package/dist/palace/awareness.d.ts +56 -10
- package/dist/palace/awareness.d.ts.map +1 -1
- package/dist/palace/awareness.js +279 -182
- package/dist/palace/awareness.js.map +1 -1
- package/dist/palace/consolidate.d.ts +1 -1
- package/dist/palace/consolidate.d.ts.map +1 -1
- package/dist/palace/consolidate.js +9 -9
- package/dist/palace/consolidate.js.map +1 -1
- package/dist/palace/decay-pass.d.ts +1 -1
- package/dist/palace/decay-pass.d.ts.map +1 -1
- package/dist/palace/decay-pass.js +2 -2
- package/dist/palace/decay-pass.js.map +1 -1
- package/dist/palace/fan-out.d.ts +1 -1
- package/dist/palace/fan-out.d.ts.map +1 -1
- package/dist/palace/fan-out.js +5 -5
- package/dist/palace/fan-out.js.map +1 -1
- package/dist/palace/index-manager.d.ts +1 -1
- package/dist/palace/index-manager.d.ts.map +1 -1
- package/dist/palace/index-manager.js +1 -1
- package/dist/palace/index-manager.js.map +1 -1
- package/dist/palace/insights-index.d.ts +19 -6
- package/dist/palace/insights-index.d.ts.map +1 -1
- package/dist/palace/insights-index.js +36 -13
- package/dist/palace/insights-index.js.map +1 -1
- package/dist/palace/keystone.d.ts +1 -1
- package/dist/palace/keystone.d.ts.map +1 -1
- package/dist/palace/keystone.js +2 -2
- package/dist/palace/keystone.js.map +1 -1
- package/dist/palace/rooms.d.ts +3 -3
- package/dist/palace/rooms.d.ts.map +1 -1
- package/dist/palace/rooms.js +34 -6
- package/dist/palace/rooms.js.map +1 -1
- package/dist/prompts/consolidation-prompt.d.ts.map +1 -1
- package/dist/prompts/consolidation-prompt.js +5 -0
- package/dist/prompts/consolidation-prompt.js.map +1 -1
- package/dist/retrieval/candidates.d.ts.map +1 -1
- package/dist/retrieval/candidates.js +17 -2
- package/dist/retrieval/candidates.js.map +1 -1
- package/dist/retrieval/query-memory.d.ts +65 -7
- package/dist/retrieval/query-memory.d.ts.map +1 -1
- package/dist/retrieval/query-memory.js +518 -78
- package/dist/retrieval/query-memory.js.map +1 -1
- package/dist/retrieval/semantic-leg.d.ts +74 -0
- package/dist/retrieval/semantic-leg.d.ts.map +1 -0
- package/dist/retrieval/semantic-leg.js +180 -0
- package/dist/retrieval/semantic-leg.js.map +1 -0
- package/dist/storage/archive-write.d.ts.map +1 -1
- package/dist/storage/archive-write.js +29 -8
- package/dist/storage/archive-write.js.map +1 -1
- package/dist/storage/capture-router.d.ts +1 -1
- package/dist/storage/capture-router.d.ts.map +1 -1
- package/dist/storage/capture-router.js +26 -9
- package/dist/storage/capture-router.js.map +1 -1
- package/dist/storage/consolidation-queue.d.ts +11 -2
- package/dist/storage/consolidation-queue.d.ts.map +1 -1
- package/dist/storage/consolidation-queue.js +45 -16
- package/dist/storage/consolidation-queue.js.map +1 -1
- package/dist/storage/corrections.d.ts +53 -5
- package/dist/storage/corrections.d.ts.map +1 -1
- package/dist/storage/corrections.js +412 -124
- package/dist/storage/corrections.js.map +1 -1
- package/dist/storage/dream-health.d.ts +56 -8
- package/dist/storage/dream-health.d.ts.map +1 -1
- package/dist/storage/dream-health.js +130 -35
- package/dist/storage/dream-health.js.map +1 -1
- package/dist/storage/dream-yield.d.ts +81 -0
- package/dist/storage/dream-yield.d.ts.map +1 -0
- package/dist/storage/dream-yield.js +77 -0
- package/dist/storage/dream-yield.js.map +1 -0
- package/dist/storage/durable-intent.d.ts.map +1 -1
- package/dist/storage/durable-intent.js +24 -1
- package/dist/storage/durable-intent.js.map +1 -1
- package/dist/storage/filelock.d.ts +92 -12
- package/dist/storage/filelock.d.ts.map +1 -1
- package/dist/storage/filelock.js +317 -47
- package/dist/storage/filelock.js.map +1 -1
- package/dist/storage/fs-utils.d.ts +20 -0
- package/dist/storage/fs-utils.d.ts.map +1 -1
- package/dist/storage/fs-utils.js +27 -0
- package/dist/storage/fs-utils.js.map +1 -1
- package/dist/storage/paths.d.ts +34 -0
- package/dist/storage/paths.d.ts.map +1 -1
- package/dist/storage/paths.js +71 -0
- package/dist/storage/paths.js.map +1 -1
- package/dist/storage/pending.d.ts +154 -0
- package/dist/storage/pending.d.ts.map +1 -0
- package/dist/storage/pending.js +454 -0
- package/dist/storage/pending.js.map +1 -0
- package/dist/storage/project.d.ts.map +1 -1
- package/dist/storage/project.js +68 -16
- package/dist/storage/project.js.map +1 -1
- package/dist/storage/session-card.d.ts +13 -0
- package/dist/storage/session-card.d.ts.map +1 -1
- package/dist/storage/session-card.js +34 -3
- package/dist/storage/session-card.js.map +1 -1
- package/dist/storage/unclaimed.d.ts +165 -0
- package/dist/storage/unclaimed.d.ts.map +1 -0
- package/dist/storage/unclaimed.js +442 -0
- package/dist/storage/unclaimed.js.map +1 -0
- package/dist/storage/working-memory.d.ts.map +1 -1
- package/dist/storage/working-memory.js +19 -1
- package/dist/storage/working-memory.js.map +1 -1
- package/dist/supabase/recall-backend.d.ts +28 -2
- package/dist/supabase/recall-backend.d.ts.map +1 -1
- package/dist/supabase/recall-backend.js +80 -23
- package/dist/supabase/recall-backend.js.map +1 -1
- package/dist/supabase/sync.d.ts.map +1 -1
- package/dist/supabase/sync.js +13 -0
- package/dist/supabase/sync.js.map +1 -1
- package/dist/tools-logic/alignment-check.js +1 -1
- package/dist/tools-logic/alignment-check.js.map +1 -1
- package/dist/tools-logic/awareness-update.d.ts.map +1 -1
- package/dist/tools-logic/awareness-update.js +25 -16
- package/dist/tools-logic/awareness-update.js.map +1 -1
- package/dist/tools-logic/check-action.js +1 -1
- package/dist/tools-logic/check-action.js.map +1 -1
- package/dist/tools-logic/check.d.ts +55 -1
- package/dist/tools-logic/check.d.ts.map +1 -1
- package/dist/tools-logic/check.js +230 -57
- package/dist/tools-logic/check.js.map +1 -1
- package/dist/tools-logic/confidence.d.ts +11 -6
- package/dist/tools-logic/confidence.d.ts.map +1 -1
- package/dist/tools-logic/confidence.js +11 -6
- package/dist/tools-logic/confidence.js.map +1 -1
- package/dist/tools-logic/context-synthesize.js +2 -2
- package/dist/tools-logic/context-synthesize.js.map +1 -1
- package/dist/tools-logic/digest-read.js +2 -2
- package/dist/tools-logic/digest-read.js.map +1 -1
- package/dist/tools-logic/digest-recall.js +1 -1
- package/dist/tools-logic/digest-recall.js.map +1 -1
- package/dist/tools-logic/dream-admission.d.ts +144 -0
- package/dist/tools-logic/dream-admission.d.ts.map +1 -0
- package/dist/tools-logic/dream-admission.js +537 -0
- package/dist/tools-logic/dream-admission.js.map +1 -0
- package/dist/tools-logic/insight-promotion.d.ts +19 -1
- package/dist/tools-logic/insight-promotion.d.ts.map +1 -1
- package/dist/tools-logic/insight-promotion.js +48 -14
- package/dist/tools-logic/insight-promotion.js.map +1 -1
- package/dist/tools-logic/journal-capture.js +3 -3
- package/dist/tools-logic/journal-capture.js.map +1 -1
- package/dist/tools-logic/journal-write.js +3 -3
- package/dist/tools-logic/journal-write.js.map +1 -1
- package/dist/tools-logic/knowledge-write.js +2 -2
- package/dist/tools-logic/knowledge-write.js.map +1 -1
- package/dist/tools-logic/palace-lint.js +1 -1
- package/dist/tools-logic/palace-lint.js.map +1 -1
- package/dist/tools-logic/palace-read.js +1 -1
- package/dist/tools-logic/palace-read.js.map +1 -1
- package/dist/tools-logic/palace-search.js +1 -1
- package/dist/tools-logic/palace-search.js.map +1 -1
- package/dist/tools-logic/palace-walk.js +3 -3
- package/dist/tools-logic/palace-walk.js.map +1 -1
- package/dist/tools-logic/palace-write.js +4 -4
- package/dist/tools-logic/palace-write.js.map +1 -1
- package/dist/tools-logic/predict-correction.js +1 -1
- package/dist/tools-logic/predict-correction.js.map +1 -1
- package/dist/tools-logic/recall-backend.d.ts +11 -2
- package/dist/tools-logic/recall-backend.d.ts.map +1 -1
- package/dist/tools-logic/recall-backend.js +2 -2
- package/dist/tools-logic/recall-backend.js.map +1 -1
- package/dist/tools-logic/resurrect.d.ts.map +1 -1
- package/dist/tools-logic/resurrect.js +9 -1
- package/dist/tools-logic/resurrect.js.map +1 -1
- package/dist/tools-logic/safety-consolidation.d.ts +15 -0
- package/dist/tools-logic/safety-consolidation.d.ts.map +1 -1
- package/dist/tools-logic/safety-consolidation.js +44 -31
- package/dist/tools-logic/safety-consolidation.js.map +1 -1
- package/dist/tools-logic/session-end-reflect.d.ts.map +1 -1
- package/dist/tools-logic/session-end-reflect.js +4 -1
- package/dist/tools-logic/session-end-reflect.js.map +1 -1
- package/dist/tools-logic/session-end.d.ts +8 -0
- package/dist/tools-logic/session-end.d.ts.map +1 -1
- package/dist/tools-logic/session-end.js +51 -13
- package/dist/tools-logic/session-end.js.map +1 -1
- package/dist/tools-logic/session-start.d.ts +23 -0
- package/dist/tools-logic/session-start.d.ts.map +1 -1
- package/dist/tools-logic/session-start.js +44 -1
- package/dist/tools-logic/session-start.js.map +1 -1
- package/dist/tools-logic/smart-recall.d.ts +185 -10
- package/dist/tools-logic/smart-recall.d.ts.map +1 -1
- package/dist/tools-logic/smart-recall.js +363 -85
- package/dist/tools-logic/smart-recall.js.map +1 -1
- package/dist/tools-logic/store-doctor.d.ts.map +1 -1
- package/dist/tools-logic/store-doctor.js +14 -5
- package/dist/tools-logic/store-doctor.js.map +1 -1
- package/dist/tools-logic/store-repair.js +1 -1
- package/dist/tools-logic/store-repair.js.map +1 -1
- package/dist/tools-logic/supersession.d.ts +1 -1
- package/dist/tools-logic/supersession.d.ts.map +1 -1
- package/dist/tools-logic/supersession.js +2 -2
- package/dist/tools-logic/supersession.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/vector/embedding.d.ts +8 -0
- package/dist/vector/embedding.d.ts.map +1 -1
- package/dist/vector/embedding.js +8 -0
- package/dist/vector/embedding.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dream-yield.ts — per-night YIELD accounting for the dreaming pipeline (fix10).
|
|
3
|
+
*
|
|
4
|
+
* Why this exists: dream-health.ts historically measured UPTIME only ("did the
|
|
5
|
+
* log say Dream complete") — 22 consecutive zero-output nights were all green
|
|
6
|
+
* because the broken admission math (`(obs/7) × recency ≤ 0.85` — see
|
|
7
|
+
* tools-logic/dream-admission.ts) silently discarded every candidate and
|
|
8
|
+
* nothing recorded that a candidate had even been seen.
|
|
9
|
+
*
|
|
10
|
+
* This module is the structural fix for the SILENCE half of that bug: every
|
|
11
|
+
* dream-admission run writes one DreamYieldRecord per night, and every
|
|
12
|
+
* candidate appears in it with an explicit outcome + reason. A zero-output
|
|
13
|
+
* night is now CLASSIFIABLE:
|
|
14
|
+
*
|
|
15
|
+
* "empty-corpus" — the corpus genuinely produced no candidates
|
|
16
|
+
* "filtered" — candidates were seen but the math rejected them (RED —
|
|
17
|
+
* this is exactly the failure mode that ran silent for
|
|
18
|
+
* 22 nights)
|
|
19
|
+
* "already-known" — candidates were seen but every one was already counted
|
|
20
|
+
* or already promoted (nothing NEW, but nothing hidden)
|
|
21
|
+
* "errored" — the run recorded errors (ledger corruption/write
|
|
22
|
+
* failure, promotion-pass failure, …) and produced no
|
|
23
|
+
* yield; never benign (fix10 review MEDIUM-2 — errors[]
|
|
24
|
+
* used to be invisible to classification)
|
|
25
|
+
* "no-yield-data" — the run log says the dream completed but no yield
|
|
26
|
+
* record exists (instrumentation gap — e.g. the SOP has
|
|
27
|
+
* not been repointed to `ar dream admit` yet). Flagged,
|
|
28
|
+
* never treated as healthy.
|
|
29
|
+
*
|
|
30
|
+
* File location: <root>/dreams/yield-YYYY-MM-DD.json — co-located with the
|
|
31
|
+
* dream reports the nightly agent writes to <root>/dreams/YYYY-MM-DD.md.
|
|
32
|
+
*/
|
|
33
|
+
/** One candidate's final disposition inside a night's yield record. */
|
|
34
|
+
export interface DreamYieldDecision {
|
|
35
|
+
title: string;
|
|
36
|
+
/** Final disposition after ledger dedup + index recording + promotion. */
|
|
37
|
+
outcome: "promoted" | "already-promoted" | "admitted" | "already-counted" | "rejected";
|
|
38
|
+
/** Distinct (day, project) observations inside the trailing window. */
|
|
39
|
+
observations_in_window: number;
|
|
40
|
+
/** Observations that were NEW tonight (not counted on a previous night). */
|
|
41
|
+
new_observations: number;
|
|
42
|
+
/** ALWAYS non-empty. A silent discard is structurally impossible. */
|
|
43
|
+
reason: string;
|
|
44
|
+
}
|
|
45
|
+
export interface DreamYieldCorpus {
|
|
46
|
+
journal_files?: number;
|
|
47
|
+
journal_bytes?: number;
|
|
48
|
+
corrections_new?: number;
|
|
49
|
+
notes?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DreamYieldRecord {
|
|
52
|
+
version: 1;
|
|
53
|
+
/** Run date (local calendar day the dream ran), YYYY-MM-DD. */
|
|
54
|
+
date: string;
|
|
55
|
+
generated_at: string;
|
|
56
|
+
candidates_seen: number;
|
|
57
|
+
admitted: number;
|
|
58
|
+
promoted: number;
|
|
59
|
+
already_known: number;
|
|
60
|
+
rejected: number;
|
|
61
|
+
/** reason → count, over every non-yield outcome (rejected + already-counted). */
|
|
62
|
+
discarded_by_reason: Record<string, number>;
|
|
63
|
+
decisions: DreamYieldDecision[];
|
|
64
|
+
/** Full list of titles promoteConfirmedInsights promoted this run (may
|
|
65
|
+
* include index insights confirmed by the ONLINE path, not just tonight's
|
|
66
|
+
* candidates — promotion is shared machinery). */
|
|
67
|
+
promoted_titles: string[];
|
|
68
|
+
corpus?: DreamYieldCorpus;
|
|
69
|
+
errors?: string[];
|
|
70
|
+
}
|
|
71
|
+
export type NightYieldClass = "productive" | "empty-corpus" | "filtered" | "already-known" | "errored" | "no-yield-data";
|
|
72
|
+
export declare function dreamsDir(): string;
|
|
73
|
+
export declare function dreamYieldPath(date: string): string;
|
|
74
|
+
export declare function writeDreamYield(record: DreamYieldRecord): void;
|
|
75
|
+
export declare function readDreamYield(date: string): DreamYieldRecord | null;
|
|
76
|
+
/**
|
|
77
|
+
* Classify one night. `null` = the night ran but left no yield record
|
|
78
|
+
* ("no-yield-data" — an instrumentation gap is a finding, not health).
|
|
79
|
+
*/
|
|
80
|
+
export declare function classifyNight(record: DreamYieldRecord | null): NightYieldClass;
|
|
81
|
+
//# sourceMappingURL=dream-yield.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dream-yield.d.ts","sourceRoot":"","sources":["../../src/storage/dream-yield.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAOH,uEAAuE;AACvE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,OAAO,EACH,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,iBAAiB,GACjB,UAAU,CAAC;IACf,uEAAuE;IACvE,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4EAA4E;IAC5E,gBAAgB,EAAE,MAAM,CAAC;IACzB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,CAAC,CAAC;IACX,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC;;uDAEmD;IACnD,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,GACvB,YAAY,GACZ,cAAc,GACd,UAAU,GACV,eAAe,GACf,SAAS,GACT,eAAe,CAAC;AAEpB,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAG9D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,IAAI,CAKpE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,GAAG,eAAe,CAa9E"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dream-yield.ts — per-night YIELD accounting for the dreaming pipeline (fix10).
|
|
3
|
+
*
|
|
4
|
+
* Why this exists: dream-health.ts historically measured UPTIME only ("did the
|
|
5
|
+
* log say Dream complete") — 22 consecutive zero-output nights were all green
|
|
6
|
+
* because the broken admission math (`(obs/7) × recency ≤ 0.85` — see
|
|
7
|
+
* tools-logic/dream-admission.ts) silently discarded every candidate and
|
|
8
|
+
* nothing recorded that a candidate had even been seen.
|
|
9
|
+
*
|
|
10
|
+
* This module is the structural fix for the SILENCE half of that bug: every
|
|
11
|
+
* dream-admission run writes one DreamYieldRecord per night, and every
|
|
12
|
+
* candidate appears in it with an explicit outcome + reason. A zero-output
|
|
13
|
+
* night is now CLASSIFIABLE:
|
|
14
|
+
*
|
|
15
|
+
* "empty-corpus" — the corpus genuinely produced no candidates
|
|
16
|
+
* "filtered" — candidates were seen but the math rejected them (RED —
|
|
17
|
+
* this is exactly the failure mode that ran silent for
|
|
18
|
+
* 22 nights)
|
|
19
|
+
* "already-known" — candidates were seen but every one was already counted
|
|
20
|
+
* or already promoted (nothing NEW, but nothing hidden)
|
|
21
|
+
* "errored" — the run recorded errors (ledger corruption/write
|
|
22
|
+
* failure, promotion-pass failure, …) and produced no
|
|
23
|
+
* yield; never benign (fix10 review MEDIUM-2 — errors[]
|
|
24
|
+
* used to be invisible to classification)
|
|
25
|
+
* "no-yield-data" — the run log says the dream completed but no yield
|
|
26
|
+
* record exists (instrumentation gap — e.g. the SOP has
|
|
27
|
+
* not been repointed to `ar dream admit` yet). Flagged,
|
|
28
|
+
* never treated as healthy.
|
|
29
|
+
*
|
|
30
|
+
* File location: <root>/dreams/yield-YYYY-MM-DD.json — co-located with the
|
|
31
|
+
* dream reports the nightly agent writes to <root>/dreams/YYYY-MM-DD.md.
|
|
32
|
+
*/
|
|
33
|
+
import * as path from "node:path";
|
|
34
|
+
import { getRoot } from "../types.js";
|
|
35
|
+
import { ensureDir, readJsonSafe, writeJsonAtomic } from "./fs-utils.js";
|
|
36
|
+
export function dreamsDir() {
|
|
37
|
+
return path.join(getRoot(), "dreams");
|
|
38
|
+
}
|
|
39
|
+
export function dreamYieldPath(date) {
|
|
40
|
+
return path.join(dreamsDir(), `yield-${date}.json`);
|
|
41
|
+
}
|
|
42
|
+
export function writeDreamYield(record) {
|
|
43
|
+
ensureDir(dreamsDir());
|
|
44
|
+
writeJsonAtomic(dreamYieldPath(record.date), record);
|
|
45
|
+
}
|
|
46
|
+
export function readDreamYield(date) {
|
|
47
|
+
const rec = readJsonSafe(dreamYieldPath(date));
|
|
48
|
+
if (!rec || typeof rec !== "object")
|
|
49
|
+
return null;
|
|
50
|
+
if (typeof rec.date !== "string" || typeof rec.candidates_seen !== "number")
|
|
51
|
+
return null;
|
|
52
|
+
return rec;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Classify one night. `null` = the night ran but left no yield record
|
|
56
|
+
* ("no-yield-data" — an instrumentation gap is a finding, not health).
|
|
57
|
+
*/
|
|
58
|
+
export function classifyNight(record) {
|
|
59
|
+
if (!record)
|
|
60
|
+
return "no-yield-data";
|
|
61
|
+
if (record.promoted + record.admitted > 0)
|
|
62
|
+
return "productive";
|
|
63
|
+
// MEDIUM-2: a zero-yield night that recorded errors is NEVER benign — a
|
|
64
|
+
// ledger reset or failed promotion pass must not read as "corpus thin" or
|
|
65
|
+
// "already known".
|
|
66
|
+
if ((record.errors?.length ?? 0) > 0)
|
|
67
|
+
return "errored";
|
|
68
|
+
if (record.candidates_seen === 0)
|
|
69
|
+
return "empty-corpus";
|
|
70
|
+
// Zero yield with candidates present: if the MATH rejected anything, the
|
|
71
|
+
// math is the cause; only when nothing was rejected is "everything was
|
|
72
|
+
// already known" the honest read.
|
|
73
|
+
if (record.rejected > 0)
|
|
74
|
+
return "filtered";
|
|
75
|
+
return "already-known";
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=dream-yield.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dream-yield.js","sourceRoot":"","sources":["../../src/storage/dream-yield.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAwDzE,MAAM,UAAU,SAAS;IACvB,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,SAAS,IAAI,OAAO,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAwB;IACtD,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC;IACvB,eAAe,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,MAAM,GAAG,GAAG,YAAY,CAAmB,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;IACjE,IAAI,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACjD,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,eAAe,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACzF,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,MAA+B;IAC3D,IAAI,CAAC,MAAM;QAAE,OAAO,eAAe,CAAC;IACpC,IAAI,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,GAAG,CAAC;QAAE,OAAO,YAAY,CAAC;IAC/D,wEAAwE;IACxE,0EAA0E;IAC1E,mBAAmB;IACnB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IACvD,IAAI,MAAM,CAAC,eAAe,KAAK,CAAC;QAAE,OAAO,cAAc,CAAC;IACxD,yEAAyE;IACzE,uEAAuE;IACvE,kCAAkC;IAClC,IAAI,MAAM,CAAC,QAAQ,GAAG,CAAC;QAAE,OAAO,UAAU,CAAC;IAC3C,OAAO,eAAe,CAAC;AACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durable-intent.d.ts","sourceRoot":"","sources":["../../src/storage/durable-intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAMH;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC,MAAM,CAczD,CAAC;
|
|
1
|
+
{"version":3,"file":"durable-intent.d.ts","sourceRoot":"","sources":["../../src/storage/durable-intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAMH;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,aAAa,CAAC,MAAM,CAczD,CAAC;AAyEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,mBAAmB,GAAG,MAAM,CAgB5F"}
|
|
@@ -53,8 +53,31 @@ export const DURABLE_INTENT_PATTERNS = [
|
|
|
53
53
|
* unhedged save directive is NOT demoted ("Actually wait, save this." stays 'explicit-save'
|
|
54
54
|
* because the split-sentence logic of the caller would see "save this" in fragment 2).
|
|
55
55
|
* This function tests the WHOLE text, so we rely on hedging being in the first clause.
|
|
56
|
+
*
|
|
57
|
+
* CJK ADDITIONS (TOW2-326 class): the English-only hedge list meant a Chinese
|
|
58
|
+
* hedge/reminder ("提醒我保存一下这个" — "remind me to save this") was NOT
|
|
59
|
+
* demoted, while its English equivalent ("remind me to save this") was — the
|
|
60
|
+
* OPPOSITE of the drop-CJK-corrections failure mode elsewhere in this class,
|
|
61
|
+
* but still an asymmetry: a CJK-primary user's hedge/scheduling phrasing would
|
|
62
|
+
* over-trigger the explicit-save lane where an English speaker's would not.
|
|
63
|
+
* CJK has no \b word boundaries, so these are bare substring alternatives
|
|
64
|
+
* anchored inside the same `^[\s\S]{0,60}?` opener window as the English rows.
|
|
65
|
+
*
|
|
66
|
+
* PRE-SHIP GATE FIX (2026-09-09, C-3): the 也许/或许/可能 branch's gap to the
|
|
67
|
+
* save verb was `[^\n]{0,6}` — ANY 0-6 characters, wide enough to reach
|
|
68
|
+
* across a comma into an entirely DIFFERENT clause. "这个方案也许更好,请保存
|
|
69
|
+
* 这个进度" ("this plan might be better, please save this progress") has
|
|
70
|
+
* "也许" modifying "更好" (4-char gap "更好,请") — its OWN clause ends there —
|
|
71
|
+
* yet the old window still spanned into the unrelated, later "保存" directive
|
|
72
|
+
* and wrongly demoted a genuine explicit-save. Fixed: the hedge opener may
|
|
73
|
+
* now be followed by AT MOST one bounded modal word (应该/会/要/可以) before
|
|
74
|
+
* the save verb — mirroring the English row's own `i\s+should\s+(?:probably\s+)?
|
|
75
|
+
* (?:save|...)` shape, which allows exactly one optional adverb insert, never
|
|
76
|
+
* an arbitrary span. "也许应该记录一下" (应该 is in the allowed set) and "或许
|
|
77
|
+
* 可以保存这个" (可以 is in the allowed set) still correctly demote; "也许更好,
|
|
78
|
+
* 请保存" (更好,请 is not in the allowed set, and is not empty) no longer does.
|
|
56
79
|
*/
|
|
57
|
-
const HEDGE_DEMOTE_PATTERN = /^[\s\S]{0,60}
|
|
80
|
+
const HEDGE_DEMOTE_PATTERN = /^[\s\S]{0,60}?(?:\b(?:remind\s+me\s+to|maybe\s+(?:remember|save|checkpoint|log)\b|perhaps\s+(?:remember|save|log)\b|i\s+should\s+(?:probably\s+)?(?:save|remember|checkpoint|log)\b|i\s+might\s+want\s+to\s+(?:save|remember|log)\b|we\s+(?:should|might|could)\s+(?:probably\s+)?(?:save|checkpoint|remember|log)\b|don'?t\s+forget\s+to\b|note\s+to\s+self\b|(?:i|you|one)\s+could\s+(?:save|remember|log|checkpoint)\b|you\s+might\s+want\s+to\s+(?:save|remember|log)\b)|(?:提醒我[^\n]{0,6}(?:保存|记录|记住|存档)|(?:也许|或许|可能)(?:应该|会|要|可以)?\s*(?:保存|记录一下|记住这个|存档)|记得提醒我[^\n]{0,6}(?:保存|记录|记住)))/i;
|
|
58
81
|
/**
|
|
59
82
|
* Correction-signal vocabulary — behavioral corrections from check.ts / hook-correction.
|
|
60
83
|
* Kept in sync with the CORRECTION_PATTERNS in packages/cli/src/index.ts:969-993.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"durable-intent.js","sourceRoot":"","sources":["../../src/storage/durable-intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,8EAA8E;AAC9E,0EAA0E;AAC1E,8EAA8E;AAE9E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA0B;IAC5D,mCAAmC;IACnC,wCAAwC;IACxC,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;IACjB,6BAA6B;IAC7B,sBAAsB;IACtB,+BAA+B;IAC/B,2CAA2C;IAC3C,sBAAsB;IACtB,iBAAiB;IACjB,+BAA+B;IAC/B,yBAAyB;CAC1B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"durable-intent.js","sourceRoot":"","sources":["../../src/storage/durable-intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,8EAA8E;AAC9E,0EAA0E;AAC1E,8EAA8E;AAE9E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA0B;IAC5D,mCAAmC;IACnC,wCAAwC;IACxC,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;IACjB,6BAA6B;IAC7B,sBAAsB;IACtB,+BAA+B;IAC/B,2CAA2C;IAC3C,sBAAsB;IACtB,iBAAiB;IACjB,+BAA+B;IAC/B,yBAAyB;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,oBAAoB,GACxB,8jBAA8jB,CAAC;AAEjkB;;;;GAIG;AACH,MAAM,0BAA0B,GAA0B;IACxD,mBAAmB;IACnB,sBAAsB;IACtB,4CAA4C;IAC5C,iDAAiD;IACjD,kBAAkB;IAClB,mCAAmC;IACnC,iDAAiD;IACjD,wBAAwB;IACxB,6CAA6C;IAC7C,4CAA4C;IAC5C,mBAAmB;IACnB,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,KAAK;IACL,KAAK;IACL,OAAO;IACP,KAAK;IACL,MAAM;CACP,CAAC;AAEF,8EAA8E;AAC9E,2DAA2D;AAC3D,8EAA8E;AAE9E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,MAAM,CAAC,GAAG,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACxD,IAAI,CAAC,CAAC;QAAE,OAAO,MAAM,CAAC;IAEtB,MAAM,aAAa,GAAG,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACrE,MAAM,QAAQ,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9C,IAAI,aAAa,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC/B,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,mBAAmB,GAAG,0BAA0B,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,IAAI,mBAAmB,EAAE,CAAC;QACxB,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,25 +1,105 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* File-based locking for shared store files (awareness, insights-index,
|
|
3
|
+
* corrections, digest, palace index/rooms, journal, pipeline, feedback,
|
|
4
|
+
* alignment).
|
|
3
5
|
*
|
|
4
|
-
* Uses mkdir atomicity: mkdir fails if dir already exists, which is
|
|
5
|
-
*
|
|
6
|
+
* Uses mkdir atomicity: mkdir fails if dir already exists, which is atomic
|
|
7
|
+
* on all platforms. No external dependencies.
|
|
6
8
|
*
|
|
7
|
-
*
|
|
9
|
+
* fix6-locks redesign (2026-09-11, S6 remediation):
|
|
10
|
+
*
|
|
11
|
+
* 1. WAITING IS ASYNC. The old primitive busy-wait spun the CPU and blocked
|
|
12
|
+
* the event loop for up to 5 s. `acquireLock`/`withLock` now await a
|
|
13
|
+
* setTimeout-based backoff, so a waiting process keeps serving its event
|
|
14
|
+
* loop (timers, MCP traffic, hook I/O) while contended.
|
|
15
|
+
*
|
|
16
|
+
* 2. NO STEALING FROM A LIVE HOLDER. The old primitive force-broke the lock
|
|
17
|
+
* unconditionally at timeout (rmdir+mkdir while the holder could be
|
|
18
|
+
* mid-write — silent corruption). The lock dir now records the holder's
|
|
19
|
+
* pid + acquisition timestamp (`owner.json`); a contender may reclaim
|
|
20
|
+
* ONLY when the holder process is provably dead (`process.kill(pid, 0)`
|
|
21
|
+
* probe). A dead holder is reclaimed immediately (no reason to wait out
|
|
22
|
+
* the timeout on a corpse); a live holder is NEVER stolen from — at
|
|
23
|
+
* timeout the contender gets a descriptive `LockContentionError` that
|
|
24
|
+
* callers handle explicitly (log + best-effort skip, or propagate),
|
|
25
|
+
* never silent corruption. Boot-time guard (review MEDIUM-1): a lock
|
|
26
|
+
* whose acquired_at predates the current boot is reclaimed even if its
|
|
27
|
+
* recorded pid probes alive — pids recycle across reboots, and no lock
|
|
28
|
+
* legitimately survives one.
|
|
29
|
+
*
|
|
30
|
+
* 3. RECLAIM IS RACE-SAFE. Reclaim renames the lock dir aside before
|
|
31
|
+
* removing it — rename is atomic, so when several contenders spot the
|
|
32
|
+
* same dead holder, exactly one wins the rename; the rest simply retry
|
|
33
|
+
* mkdir. (The old rmdir+mkdir reclaim let two contenders both "win".)
|
|
34
|
+
*
|
|
35
|
+
* 4. LEGACY/CRASH FALLBACK. A lock dir with no readable owner.json (created
|
|
36
|
+
* by pre-fix code, or a holder that died between mkdir and the owner
|
|
37
|
+
* write) falls back to the old mtime rule: reclaimable once older than
|
|
38
|
+
* STALE_LOCK_MS.
|
|
39
|
+
*
|
|
40
|
+
* CRITICAL SECTIONS: keep them synchronous wherever possible — hold times
|
|
41
|
+
* stay bounded by one synchronous block. An async fn is permitted ONLY for
|
|
42
|
+
* the documented lock nesting below (awareness-state → awareness); a critical
|
|
43
|
+
* section must NEVER await anything that acquires the SAME lock (the lock is
|
|
44
|
+
* not reentrant — that is a guaranteed 5 s stall + LockContentionError).
|
|
45
|
+
* Cross-process safety does not depend on the fn being sync: the mkdir lock
|
|
46
|
+
* itself excludes concurrent critical sections either way.
|
|
47
|
+
*
|
|
48
|
+
* LOCK ORDERING (deadlock discipline — the complete nesting set):
|
|
49
|
+
* "awareness-state" → "awareness"
|
|
50
|
+
* "dream-admission" → "insights-index"
|
|
51
|
+
* "dream-admission" → "awareness-state" → "awareness"
|
|
52
|
+
* awareness.ts acquires "awareness" (awareness.md render) while holding
|
|
53
|
+
* "awareness-state" (awareness-state.json + awareness-archive.json RMW).
|
|
54
|
+
* fix10: dream-admission.ts wraps its whole nightly run (a long async
|
|
55
|
+
* critical section) in "dream-admission" and acquires "insights-index"
|
|
56
|
+
* (addIndexedInsight) and "awareness-state" (addInsight via
|
|
57
|
+
* promoteConfirmedInsights / the cap fallback) inside it. "dream-admission"
|
|
58
|
+
* has a SINGLE acquirer and is always the outermost lock — no cycle.
|
|
59
|
+
* Never acquire "awareness-state" while holding "awareness", and never
|
|
60
|
+
* acquire "dream-admission" while holding any other lock. Same-name
|
|
61
|
+
* nesting is a deadlock (the lock is NOT reentrant): modules expose
|
|
62
|
+
* *Unlocked internals for use inside their own critical sections instead.
|
|
63
|
+
*
|
|
64
|
+
* fix9 (2026-09-12): the synchronous twin (`acquireLockSync`/`withLockSync`,
|
|
65
|
+
* Atomics.wait-based — no CPU spin, but it parked the whole event loop) is
|
|
66
|
+
* RETIRED. It existed only to pin the published sync SDK signature
|
|
67
|
+
* `AgentRecall.digestInvalidate(): void`; the owner approved converting that
|
|
68
|
+
* signature to async, so the last sanctioned caller is gone. The async
|
|
69
|
+
* `withLock` is the only locking primitive.
|
|
8
70
|
*/
|
|
9
71
|
/**
|
|
10
|
-
* A lock dir
|
|
11
|
-
* the
|
|
12
|
-
*
|
|
72
|
+
* A lock dir with NO readable owner.json (legacy pre-pid code, or a crash in
|
|
73
|
+
* the mkdir→owner-write window) older than this (by mtime) is considered
|
|
74
|
+
* stale and reclaimed on the next acquire. Locks WITH a live owner pid are
|
|
75
|
+
* never age-reclaimed. Exported so the read-only store-doctor scans
|
|
76
|
+
* `.lock-*` dirs against the SAME threshold the locker uses (single source
|
|
77
|
+
* of truth — no drift).
|
|
13
78
|
*/
|
|
14
79
|
export declare const STALE_LOCK_MS = 30000;
|
|
80
|
+
/** Thrown when the lock timeout elapses while the holder process is still
|
|
81
|
+
* alive. NEVER a signal to force-break the lock: the holder may be mid-write.
|
|
82
|
+
* Callers either propagate (surfacing an explicit tool error) or catch it for
|
|
83
|
+
* advisory writes (log + best-effort skip) — silent corruption is not an
|
|
84
|
+
* option the primitive offers. */
|
|
85
|
+
export declare class LockContentionError extends Error {
|
|
86
|
+
readonly lockName: string;
|
|
87
|
+
readonly holderPid: number | null;
|
|
88
|
+
readonly heldForMs: number | null;
|
|
89
|
+
constructor(lockName: string, holderPid: number | null, heldForMs: number | null);
|
|
90
|
+
}
|
|
15
91
|
/**
|
|
16
|
-
* Acquire a named lock. Retries with
|
|
17
|
-
*
|
|
92
|
+
* Acquire a named lock. Retries with async (event-loop-friendly) backoff
|
|
93
|
+
* until LOCK_TIMEOUT_MS; reclaims dead-holder / legacy-stale locks; throws
|
|
94
|
+
* LockContentionError if the holder is alive at timeout.
|
|
95
|
+
* Returns a release function (idempotent).
|
|
18
96
|
*/
|
|
19
|
-
export declare function acquireLock(name: string): () => void
|
|
97
|
+
export declare function acquireLock(name: string): Promise<() => void>;
|
|
20
98
|
/**
|
|
21
99
|
* Execute a function while holding a lock.
|
|
22
|
-
* Lock is always released, even on error.
|
|
100
|
+
* Lock is always released, even on error. Prefer a synchronous fn (bounded
|
|
101
|
+
* hold); an async fn is allowed only for the documented awareness nesting —
|
|
102
|
+
* see the header's lock-ordering section.
|
|
23
103
|
*/
|
|
24
|
-
export declare function withLock<T>(name: string, fn: () => T): T
|
|
104
|
+
export declare function withLock<T>(name: string, fn: () => T | Promise<T>): Promise<T>;
|
|
25
105
|
//# sourceMappingURL=filelock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filelock.d.ts","sourceRoot":"","sources":["../../src/storage/filelock.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"filelock.d.ts","sourceRoot":"","sources":["../../src/storage/filelock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AASH;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,QAAQ,CAAC;AAgBnC;;;;kCAIkC;AAClC,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;gBAEtB,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;CAoBjF;AA6LD;;;;;GAKG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAyBnE;AAED;;;;;GAKG;AACH,wBAAsB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAOpF"}
|