@openpond/evals 0.11.18 → 0.11.20
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/connected-evidence/contracts.js +15 -5
- package/dist/connected-evidence/imports.js +78 -17
- package/dist/connected-evidence/normalize.js +18 -7
- package/dist/connected-evidence/sources/claude-branches.js +52 -0
- package/dist/connected-evidence/sources/claude-code.js +7 -29
- package/dist/connected-evidence/sources/codex-authorization.js +40 -0
- package/dist/connected-evidence/sources/codex.js +7 -3
- package/dist/connected-evidence/sources/grok-build.js +137 -0
- package/dist/connected-evidence/sources/opencode.js +101 -0
- package/dist/connected-evidence/sources/pi.js +187 -0
- package/dist/graders.js +11 -1
- package/dist/learning/budgeted-reward-fixtures.js +1 -0
- package/dist/learning/contracts.js +10 -0
- package/dist/learning/index.js +1 -0
- package/dist/learning/model-judge.js +22 -5
- package/dist/learning/reward-calibration-closure.js +110 -0
- package/dist/learning/reward-calibration.js +20 -10
- package/dist/learning/reward-checks.js +1 -0
- package/dist/native-conversations/appimage-runtime.js +131 -0
- package/dist/native-conversations/collector-branches.js +79 -0
- package/dist/native-conversations/collector-contracts.js +9 -0
- package/dist/native-conversations/collector-destinations.js +27 -0
- package/dist/native-conversations/collector-errors.js +42 -0
- package/dist/native-conversations/collector-progress.js +114 -0
- package/dist/native-conversations/collector-store.js +251 -0
- package/dist/native-conversations/collector-sync-requests.js +52 -0
- package/dist/native-conversations/collector.js +329 -0
- package/dist/native-conversations/contracts.js +11 -0
- package/dist/native-conversations/database.js +149 -0
- package/dist/native-conversations/discovery.js +135 -0
- package/dist/native-conversations/history.js +327 -0
- package/dist/native-conversations/index.js +11 -0
- package/dist/native-conversations/location.js +29 -0
- package/dist/native-conversations/openclaw-cold-archive.js +91 -0
- package/dist/native-conversations/openclaw-database.js +130 -0
- package/dist/native-conversations/readiness.js +4 -0
- package/dist/native-conversations/source-locations.js +112 -0
- package/dist/native-conversations/supervisor.js +208 -0
- package/dist/native-conversations/titles.js +38 -0
- package/dist/rewards.js +1 -1
- package/dist/types/connected-evidence/contracts.d.ts +15 -0
- package/dist/types/connected-evidence/contracts.d.ts.map +1 -1
- package/dist/types/connected-evidence/imports.d.ts +7 -0
- package/dist/types/connected-evidence/imports.d.ts.map +1 -1
- package/dist/types/connected-evidence/normalize.d.ts +7 -0
- package/dist/types/connected-evidence/normalize.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/claude-branches.d.ts +19 -0
- package/dist/types/connected-evidence/sources/claude-branches.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/claude-code.d.ts +5 -1
- package/dist/types/connected-evidence/sources/claude-code.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/codex-authorization.d.ts +18 -0
- package/dist/types/connected-evidence/sources/codex-authorization.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/codex.d.ts +5 -1
- package/dist/types/connected-evidence/sources/codex.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/grok-build.d.ts +79 -0
- package/dist/types/connected-evidence/sources/grok-build.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/history.d.ts +10 -2
- package/dist/types/connected-evidence/sources/history.d.ts.map +1 -1
- package/dist/types/connected-evidence/sources/opencode.d.ts +78 -0
- package/dist/types/connected-evidence/sources/opencode.d.ts.map +1 -0
- package/dist/types/connected-evidence/sources/pi.d.ts +79 -0
- package/dist/types/connected-evidence/sources/pi.d.ts.map +1 -0
- package/dist/types/graders.d.ts +81 -0
- package/dist/types/graders.d.ts.map +1 -1
- package/dist/types/learning/budgeted-reward-fixtures.d.ts +2 -1
- package/dist/types/learning/budgeted-reward-fixtures.d.ts.map +1 -1
- package/dist/types/learning/contracts.d.ts +167 -0
- package/dist/types/learning/contracts.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +1 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/judge-budget.d.ts +3 -0
- package/dist/types/learning/judge-budget.d.ts.map +1 -1
- package/dist/types/learning/model-judge.d.ts +6 -1
- package/dist/types/learning/model-judge.d.ts.map +1 -1
- package/dist/types/learning/operations.d.ts +44 -0
- package/dist/types/learning/operations.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +81 -0
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/reward-calibration-closure.d.ts +2323 -0
- package/dist/types/learning/reward-calibration-closure.d.ts.map +1 -0
- package/dist/types/learning/reward-calibration.d.ts +1 -1
- package/dist/types/learning/reward-calibration.d.ts.map +1 -1
- package/dist/types/learning/reward-checks.d.ts +35 -0
- package/dist/types/learning/reward-checks.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +103 -0
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/dist/types/native-conversations/appimage-runtime.d.ts +12 -0
- package/dist/types/native-conversations/appimage-runtime.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-branches.d.ts +22 -0
- package/dist/types/native-conversations/collector-branches.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-contracts.d.ts +92 -0
- package/dist/types/native-conversations/collector-contracts.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-destinations.d.ts +18 -0
- package/dist/types/native-conversations/collector-destinations.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-errors.d.ts +13 -0
- package/dist/types/native-conversations/collector-errors.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-progress.d.ts +24 -0
- package/dist/types/native-conversations/collector-progress.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-store.d.ts +31 -0
- package/dist/types/native-conversations/collector-store.d.ts.map +1 -0
- package/dist/types/native-conversations/collector-sync-requests.d.ts +25 -0
- package/dist/types/native-conversations/collector-sync-requests.d.ts.map +1 -0
- package/dist/types/native-conversations/collector.d.ts +8 -0
- package/dist/types/native-conversations/collector.d.ts.map +1 -0
- package/dist/types/native-conversations/contracts.d.ts +47 -0
- package/dist/types/native-conversations/contracts.d.ts.map +1 -0
- package/dist/types/native-conversations/database.d.ts +14 -0
- package/dist/types/native-conversations/database.d.ts.map +1 -0
- package/dist/types/native-conversations/discovery.d.ts +9 -0
- package/dist/types/native-conversations/discovery.d.ts.map +1 -0
- package/dist/types/native-conversations/history.d.ts +23 -0
- package/dist/types/native-conversations/history.d.ts.map +1 -0
- package/dist/types/native-conversations/index.d.ts +12 -0
- package/dist/types/native-conversations/index.d.ts.map +1 -0
- package/dist/types/native-conversations/location.d.ts +3 -0
- package/dist/types/native-conversations/location.d.ts.map +1 -0
- package/dist/types/native-conversations/openclaw-cold-archive.d.ts +8 -0
- package/dist/types/native-conversations/openclaw-cold-archive.d.ts.map +1 -0
- package/dist/types/native-conversations/openclaw-database.d.ts +14 -0
- package/dist/types/native-conversations/openclaw-database.d.ts.map +1 -0
- package/dist/types/native-conversations/readiness.d.ts +5 -0
- package/dist/types/native-conversations/readiness.d.ts.map +1 -0
- package/dist/types/native-conversations/source-locations.d.ts +8 -0
- package/dist/types/native-conversations/source-locations.d.ts.map +1 -0
- package/dist/types/native-conversations/supervisor.d.ts +21 -0
- package/dist/types/native-conversations/supervisor.d.ts.map +1 -0
- package/dist/types/native-conversations/titles.d.ts +4 -0
- package/dist/types/native-conversations/titles.d.ts.map +1 -0
- package/dist/types/rewards.d.ts +50 -0
- package/dist/types/rewards.d.ts.map +1 -1
- package/dist/types/telemetry-analysis.d.ts +1 -1
- package/dist/types/telemetry-bundle.d.ts +2 -2
- package/dist/types/telemetry-catalog.d.ts +21 -21
- package/dist/types/telemetry.d.ts +2 -2
- package/package.json +11 -3
- package/schemas/learning/v1/command-request.schema.json +122 -91
- package/schemas/learning/v1/decision.schema.json +63 -0
- package/schemas/learning/v1/grade.schema.json +91 -0
- package/schemas/learning/v1/reward_check.schema.json +91 -0
- package/schemas/learning/v1/source.schema.json +28 -0
|
@@ -2,7 +2,7 @@ import type { ConnectedFile } from "../contracts.js";
|
|
|
2
2
|
export declare function parseClaudeSession(file: ConnectedFile, rows: Record<string, unknown>[], leafId?: string): {
|
|
3
3
|
schemaVersion: "openpond.connectedEvidence.v1";
|
|
4
4
|
normalizerVersion: "connected-evidence-1";
|
|
5
|
-
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code";
|
|
5
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
6
6
|
sessionId: string;
|
|
7
7
|
branchId: string | null;
|
|
8
8
|
parentSessionId: string | null;
|
|
@@ -70,5 +70,9 @@ export declare function parseClaudeSession(file: ConnectedFile, rows: Record<str
|
|
|
70
70
|
}[];
|
|
71
71
|
warnings: string[];
|
|
72
72
|
contentHash: string;
|
|
73
|
+
acquisition?: {
|
|
74
|
+
machineId: string;
|
|
75
|
+
sourceInstanceId: string;
|
|
76
|
+
} | undefined;
|
|
73
77
|
};
|
|
74
78
|
//# sourceMappingURL=claude-code.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-code.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/claude-code.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"claude-code.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/claude-code.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrE,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCvG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const CODEX_AUTHORIZATION_PROJECTION_POLICY = "codex-native-authorization-v1";
|
|
2
|
+
declare const POLICY = "codex-native-authorization-v1";
|
|
3
|
+
type Omission = {
|
|
4
|
+
policy: typeof POLICY;
|
|
5
|
+
sourcePath: string;
|
|
6
|
+
sourceHash: string;
|
|
7
|
+
entries: number | null;
|
|
8
|
+
};
|
|
9
|
+
/** Native approved-command rules are account authority, not observed tool calls.
|
|
10
|
+
* Retain all other context and the original file/event identity. Unknown formats
|
|
11
|
+
* remain untouched for ordinary privacy admission; this is not secret scrubbing.
|
|
12
|
+
*/
|
|
13
|
+
export declare function projectCodexAuthorization(row: Record<string, unknown>): {
|
|
14
|
+
row: Record<string, unknown>;
|
|
15
|
+
omissions: Omission[];
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=codex-authorization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codex-authorization.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/codex-authorization.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qCAAqC,kCAAkC,CAAC;AACrF,QAAA,MAAM,MAAM,kCAAwC,CAAC;AACrD,KAAK,QAAQ,GAAG;IAAE,MAAM,EAAE,OAAO,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE1G;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;EAqCrE"}
|
|
@@ -2,7 +2,7 @@ import type { ConnectedFile } from "../contracts.js";
|
|
|
2
2
|
export declare function parseCodexSession(file: ConnectedFile, rows: Record<string, unknown>[]): {
|
|
3
3
|
schemaVersion: "openpond.connectedEvidence.v1";
|
|
4
4
|
normalizerVersion: "connected-evidence-1";
|
|
5
|
-
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code";
|
|
5
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
6
6
|
sessionId: string;
|
|
7
7
|
branchId: string | null;
|
|
8
8
|
parentSessionId: string | null;
|
|
@@ -70,5 +70,9 @@ export declare function parseCodexSession(file: ConnectedFile, rows: Record<stri
|
|
|
70
70
|
}[];
|
|
71
71
|
warnings: string[];
|
|
72
72
|
contentHash: string;
|
|
73
|
+
acquisition?: {
|
|
74
|
+
machineId: string;
|
|
75
|
+
sourceInstanceId: string;
|
|
76
|
+
} | undefined;
|
|
73
77
|
};
|
|
74
78
|
//# sourceMappingURL=codex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/codex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/codex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKrE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrF"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ConnectedFile } from "../contracts.js";
|
|
2
|
+
/** Retained ACP updates are native Grok history; Markdown exports are not accepted. */
|
|
3
|
+
export declare function parseGrokBuildSession(file: ConnectedFile, rows: Record<string, unknown>[]): {
|
|
4
|
+
schemaVersion: "openpond.connectedEvidence.v1";
|
|
5
|
+
normalizerVersion: "connected-evidence-1";
|
|
6
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
7
|
+
sessionId: string;
|
|
8
|
+
branchId: string | null;
|
|
9
|
+
parentSessionId: string | null;
|
|
10
|
+
exporterVersion: string | null;
|
|
11
|
+
sourceFiles: {
|
|
12
|
+
path: string;
|
|
13
|
+
contentHash: string;
|
|
14
|
+
sizeBytes: number;
|
|
15
|
+
}[];
|
|
16
|
+
events: {
|
|
17
|
+
id: string;
|
|
18
|
+
sequence: number;
|
|
19
|
+
occurredAt: string | null;
|
|
20
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
21
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
22
|
+
callId: string | null;
|
|
23
|
+
parentId: string | null;
|
|
24
|
+
content: import("zod").JSONType;
|
|
25
|
+
usage: {
|
|
26
|
+
invocationId: string;
|
|
27
|
+
inputTokens: number | null;
|
|
28
|
+
outputTokens: number | null;
|
|
29
|
+
cachedInputTokens: number | null;
|
|
30
|
+
totalTokens: number | null;
|
|
31
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
32
|
+
} | null;
|
|
33
|
+
}[];
|
|
34
|
+
unmappedEvents: {
|
|
35
|
+
id: string;
|
|
36
|
+
sequence: number;
|
|
37
|
+
occurredAt: string | null;
|
|
38
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
39
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
40
|
+
callId: string | null;
|
|
41
|
+
parentId: string | null;
|
|
42
|
+
content: import("zod").JSONType;
|
|
43
|
+
usage: {
|
|
44
|
+
invocationId: string;
|
|
45
|
+
inputTokens: number | null;
|
|
46
|
+
outputTokens: number | null;
|
|
47
|
+
cachedInputTokens: number | null;
|
|
48
|
+
totalTokens: number | null;
|
|
49
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
50
|
+
} | null;
|
|
51
|
+
}[];
|
|
52
|
+
boundaries: {
|
|
53
|
+
id: string;
|
|
54
|
+
familyKey: string;
|
|
55
|
+
projection: "turn" | "conversation";
|
|
56
|
+
requestEventId: string;
|
|
57
|
+
start: number;
|
|
58
|
+
end: number;
|
|
59
|
+
inputHash: string;
|
|
60
|
+
outputHash: string | null;
|
|
61
|
+
revisionHash: string;
|
|
62
|
+
terminal: "unknown" | "cancelled" | "failed" | "completed";
|
|
63
|
+
coverage: {
|
|
64
|
+
answer: boolean;
|
|
65
|
+
context: "unknown" | "retained" | "compacted";
|
|
66
|
+
process: "absent" | "partial" | "retained";
|
|
67
|
+
artifacts: "absent" | "retained" | "references_only";
|
|
68
|
+
replay: "unavailable";
|
|
69
|
+
gaps: string[];
|
|
70
|
+
};
|
|
71
|
+
}[];
|
|
72
|
+
warnings: string[];
|
|
73
|
+
contentHash: string;
|
|
74
|
+
acquisition?: {
|
|
75
|
+
machineId: string;
|
|
76
|
+
sourceInstanceId: string;
|
|
77
|
+
} | undefined;
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=grok-build.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grok-build.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/grok-build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AASrE,uFAAuF;AACvF,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,aAAa,EACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4JhC"}
|
|
@@ -2,7 +2,7 @@ import type { ConnectedFile } from "../contracts.js";
|
|
|
2
2
|
export declare function parseHermesEvidence(file: ConnectedFile, row: Record<string, unknown>): {
|
|
3
3
|
schemaVersion: "openpond.connectedEvidence.v1";
|
|
4
4
|
normalizerVersion: "connected-evidence-1";
|
|
5
|
-
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code";
|
|
5
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
6
6
|
sessionId: string;
|
|
7
7
|
branchId: string | null;
|
|
8
8
|
parentSessionId: string | null;
|
|
@@ -70,11 +70,15 @@ export declare function parseHermesEvidence(file: ConnectedFile, row: Record<str
|
|
|
70
70
|
}[];
|
|
71
71
|
warnings: string[];
|
|
72
72
|
contentHash: string;
|
|
73
|
+
acquisition?: {
|
|
74
|
+
machineId: string;
|
|
75
|
+
sourceInstanceId: string;
|
|
76
|
+
} | undefined;
|
|
73
77
|
};
|
|
74
78
|
export declare function parseOpenClawEvidence(files: ConnectedFile[]): {
|
|
75
79
|
schemaVersion: "openpond.connectedEvidence.v1";
|
|
76
80
|
normalizerVersion: "connected-evidence-1";
|
|
77
|
-
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code";
|
|
81
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
78
82
|
sessionId: string;
|
|
79
83
|
branchId: string | null;
|
|
80
84
|
parentSessionId: string | null;
|
|
@@ -142,5 +146,9 @@ export declare function parseOpenClawEvidence(files: ConnectedFile[]): {
|
|
|
142
146
|
}[];
|
|
143
147
|
warnings: string[];
|
|
144
148
|
contentHash: string;
|
|
149
|
+
acquisition?: {
|
|
150
|
+
machineId: string;
|
|
151
|
+
sourceInstanceId: string;
|
|
152
|
+
} | undefined;
|
|
145
153
|
};
|
|
146
154
|
//# sourceMappingURL=history.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/history.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AA8BrE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/history.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AA8BrE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpF;AACD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC3D"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { ConnectedFile } from "../contracts.js";
|
|
2
|
+
export declare function parseOpenCodeSession(file: ConnectedFile, value: unknown): {
|
|
3
|
+
schemaVersion: "openpond.connectedEvidence.v1";
|
|
4
|
+
normalizerVersion: "connected-evidence-1";
|
|
5
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
6
|
+
sessionId: string;
|
|
7
|
+
branchId: string | null;
|
|
8
|
+
parentSessionId: string | null;
|
|
9
|
+
exporterVersion: string | null;
|
|
10
|
+
sourceFiles: {
|
|
11
|
+
path: string;
|
|
12
|
+
contentHash: string;
|
|
13
|
+
sizeBytes: number;
|
|
14
|
+
}[];
|
|
15
|
+
events: {
|
|
16
|
+
id: string;
|
|
17
|
+
sequence: number;
|
|
18
|
+
occurredAt: string | null;
|
|
19
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
20
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
21
|
+
callId: string | null;
|
|
22
|
+
parentId: string | null;
|
|
23
|
+
content: import("zod").JSONType;
|
|
24
|
+
usage: {
|
|
25
|
+
invocationId: string;
|
|
26
|
+
inputTokens: number | null;
|
|
27
|
+
outputTokens: number | null;
|
|
28
|
+
cachedInputTokens: number | null;
|
|
29
|
+
totalTokens: number | null;
|
|
30
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
31
|
+
} | null;
|
|
32
|
+
}[];
|
|
33
|
+
unmappedEvents: {
|
|
34
|
+
id: string;
|
|
35
|
+
sequence: number;
|
|
36
|
+
occurredAt: string | null;
|
|
37
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
38
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
39
|
+
callId: string | null;
|
|
40
|
+
parentId: string | null;
|
|
41
|
+
content: import("zod").JSONType;
|
|
42
|
+
usage: {
|
|
43
|
+
invocationId: string;
|
|
44
|
+
inputTokens: number | null;
|
|
45
|
+
outputTokens: number | null;
|
|
46
|
+
cachedInputTokens: number | null;
|
|
47
|
+
totalTokens: number | null;
|
|
48
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
49
|
+
} | null;
|
|
50
|
+
}[];
|
|
51
|
+
boundaries: {
|
|
52
|
+
id: string;
|
|
53
|
+
familyKey: string;
|
|
54
|
+
projection: "turn" | "conversation";
|
|
55
|
+
requestEventId: string;
|
|
56
|
+
start: number;
|
|
57
|
+
end: number;
|
|
58
|
+
inputHash: string;
|
|
59
|
+
outputHash: string | null;
|
|
60
|
+
revisionHash: string;
|
|
61
|
+
terminal: "unknown" | "cancelled" | "failed" | "completed";
|
|
62
|
+
coverage: {
|
|
63
|
+
answer: boolean;
|
|
64
|
+
context: "unknown" | "retained" | "compacted";
|
|
65
|
+
process: "absent" | "partial" | "retained";
|
|
66
|
+
artifacts: "absent" | "retained" | "references_only";
|
|
67
|
+
replay: "unavailable";
|
|
68
|
+
gaps: string[];
|
|
69
|
+
};
|
|
70
|
+
}[];
|
|
71
|
+
warnings: string[];
|
|
72
|
+
contentHash: string;
|
|
73
|
+
acquisition?: {
|
|
74
|
+
machineId: string;
|
|
75
|
+
sourceInstanceId: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=opencode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opencode.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUrE,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoIvE"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ConnectedFile } from "../contracts.js";
|
|
2
|
+
/** Pi and OMP share a versioned tree container, but remain distinct source identities. */
|
|
3
|
+
export declare function parsePiSession(file: ConnectedFile, rows: Record<string, unknown>[], origin: "pi" | "oh_my_pi" | "openclaw", selectedLeaf?: string): {
|
|
4
|
+
schemaVersion: "openpond.connectedEvidence.v1";
|
|
5
|
+
normalizerVersion: "connected-evidence-1";
|
|
6
|
+
origin: "hermes" | "openclaw" | "native_chat" | "native_work" | "codex" | "claude_code" | "opencode" | "grok_build" | "pi" | "oh_my_pi";
|
|
7
|
+
sessionId: string;
|
|
8
|
+
branchId: string | null;
|
|
9
|
+
parentSessionId: string | null;
|
|
10
|
+
exporterVersion: string | null;
|
|
11
|
+
sourceFiles: {
|
|
12
|
+
path: string;
|
|
13
|
+
contentHash: string;
|
|
14
|
+
sizeBytes: number;
|
|
15
|
+
}[];
|
|
16
|
+
events: {
|
|
17
|
+
id: string;
|
|
18
|
+
sequence: number;
|
|
19
|
+
occurredAt: string | null;
|
|
20
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
21
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
22
|
+
callId: string | null;
|
|
23
|
+
parentId: string | null;
|
|
24
|
+
content: import("zod").JSONType;
|
|
25
|
+
usage: {
|
|
26
|
+
invocationId: string;
|
|
27
|
+
inputTokens: number | null;
|
|
28
|
+
outputTokens: number | null;
|
|
29
|
+
cachedInputTokens: number | null;
|
|
30
|
+
totalTokens: number | null;
|
|
31
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
32
|
+
} | null;
|
|
33
|
+
}[];
|
|
34
|
+
unmappedEvents: {
|
|
35
|
+
id: string;
|
|
36
|
+
sequence: number;
|
|
37
|
+
occurredAt: string | null;
|
|
38
|
+
kind: "message" | "unknown" | "artifact" | "terminal" | "usage" | "tool_call" | "tool_result" | "compaction";
|
|
39
|
+
role: "user" | "tool" | "assistant" | "system" | null;
|
|
40
|
+
callId: string | null;
|
|
41
|
+
parentId: string | null;
|
|
42
|
+
content: import("zod").JSONType;
|
|
43
|
+
usage: {
|
|
44
|
+
invocationId: string;
|
|
45
|
+
inputTokens: number | null;
|
|
46
|
+
outputTokens: number | null;
|
|
47
|
+
cachedInputTokens: number | null;
|
|
48
|
+
totalTokens: number | null;
|
|
49
|
+
provenance: "billed_invocation" | "reported_invocation" | "reported_cumulative";
|
|
50
|
+
} | null;
|
|
51
|
+
}[];
|
|
52
|
+
boundaries: {
|
|
53
|
+
id: string;
|
|
54
|
+
familyKey: string;
|
|
55
|
+
projection: "turn" | "conversation";
|
|
56
|
+
requestEventId: string;
|
|
57
|
+
start: number;
|
|
58
|
+
end: number;
|
|
59
|
+
inputHash: string;
|
|
60
|
+
outputHash: string | null;
|
|
61
|
+
revisionHash: string;
|
|
62
|
+
terminal: "unknown" | "cancelled" | "failed" | "completed";
|
|
63
|
+
coverage: {
|
|
64
|
+
answer: boolean;
|
|
65
|
+
context: "unknown" | "retained" | "compacted";
|
|
66
|
+
process: "absent" | "partial" | "retained";
|
|
67
|
+
artifacts: "absent" | "retained" | "references_only";
|
|
68
|
+
replay: "unavailable";
|
|
69
|
+
gaps: string[];
|
|
70
|
+
};
|
|
71
|
+
}[];
|
|
72
|
+
warnings: string[];
|
|
73
|
+
contentHash: string;
|
|
74
|
+
acquisition?: {
|
|
75
|
+
machineId: string;
|
|
76
|
+
sourceInstanceId: string;
|
|
77
|
+
} | undefined;
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=pi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pi.d.ts","sourceRoot":"","sources":["../../../../../../src/connected-evidence/sources/pi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUrE,0FAA0F;AAC1F,wBAAgB,cAAc,CAC5B,IAAI,EAAE,aAAa,EACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/B,MAAM,EAAE,IAAI,GAAG,UAAU,GAAG,UAAU,EACtC,YAAY,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4NtB"}
|
package/dist/types/graders.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { GraderSpec, TaskRecord } from "./tasksets.js";
|
|
3
3
|
export { evaluateDeterministicGrader, portableDeterministicCheck } from "./deterministic-graders.js";
|
|
4
|
+
export declare const ModelJudgeTransportPolicySchema: z.ZodObject<{
|
|
5
|
+
schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
|
|
6
|
+
responseFormat: z.ZodLiteral<"judgment_json_schema">;
|
|
7
|
+
reasoningEffort: z.ZodEnum<{
|
|
8
|
+
off: "off";
|
|
9
|
+
low: "low";
|
|
10
|
+
medium: "medium";
|
|
11
|
+
high: "high";
|
|
12
|
+
xhigh: "xhigh";
|
|
13
|
+
max: "max";
|
|
14
|
+
}>;
|
|
15
|
+
maximumOutputTokens: z.ZodNumber;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export type ModelJudgeTransportPolicy = z.infer<typeof ModelJudgeTransportPolicySchema>;
|
|
4
18
|
export declare const ModelJudgeReceiptSchema: z.ZodObject<{
|
|
5
19
|
schemaVersion: z.ZodLiteral<"openpond.modelJudgeReceipt.v1">;
|
|
6
20
|
providerId: z.ZodString;
|
|
@@ -12,6 +26,22 @@ export declare const ModelJudgeReceiptSchema: z.ZodObject<{
|
|
|
12
26
|
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
13
27
|
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
14
28
|
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
transportPolicy: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
|
|
31
|
+
responseFormat: z.ZodLiteral<"judgment_json_schema">;
|
|
32
|
+
reasoningEffort: z.ZodEnum<{
|
|
33
|
+
off: "off";
|
|
34
|
+
low: "low";
|
|
35
|
+
medium: "medium";
|
|
36
|
+
high: "high";
|
|
37
|
+
xhigh: "xhigh";
|
|
38
|
+
max: "max";
|
|
39
|
+
}>;
|
|
40
|
+
maximumOutputTokens: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
effectiveRequestHash: z.ZodOptional<z.ZodString>;
|
|
43
|
+
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
45
|
}, z.core.$strict>;
|
|
16
46
|
export declare const GraderEvidenceContentSchema: z.ZodObject<{
|
|
17
47
|
schemaVersion: z.ZodLiteral<"openpond.graderEvidence.v1">;
|
|
@@ -48,6 +78,22 @@ export declare const GraderEvidenceContentSchema: z.ZodObject<{
|
|
|
48
78
|
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
49
79
|
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
50
80
|
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
81
|
+
transportPolicy: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
|
|
83
|
+
responseFormat: z.ZodLiteral<"judgment_json_schema">;
|
|
84
|
+
reasoningEffort: z.ZodEnum<{
|
|
85
|
+
off: "off";
|
|
86
|
+
low: "low";
|
|
87
|
+
medium: "medium";
|
|
88
|
+
high: "high";
|
|
89
|
+
xhigh: "xhigh";
|
|
90
|
+
max: "max";
|
|
91
|
+
}>;
|
|
92
|
+
maximumOutputTokens: z.ZodNumber;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
effectiveRequestHash: z.ZodOptional<z.ZodString>;
|
|
95
|
+
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
97
|
}, z.core.$strict>>;
|
|
52
98
|
}, z.core.$strict>;
|
|
53
99
|
export declare const GraderEvidenceSchema: z.ZodObject<{
|
|
@@ -85,6 +131,22 @@ export declare const GraderEvidenceSchema: z.ZodObject<{
|
|
|
85
131
|
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
86
132
|
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
87
133
|
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
134
|
+
transportPolicy: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
|
|
136
|
+
responseFormat: z.ZodLiteral<"judgment_json_schema">;
|
|
137
|
+
reasoningEffort: z.ZodEnum<{
|
|
138
|
+
off: "off";
|
|
139
|
+
low: "low";
|
|
140
|
+
medium: "medium";
|
|
141
|
+
high: "high";
|
|
142
|
+
xhigh: "xhigh";
|
|
143
|
+
max: "max";
|
|
144
|
+
}>;
|
|
145
|
+
maximumOutputTokens: z.ZodNumber;
|
|
146
|
+
}, z.core.$strict>>;
|
|
147
|
+
effectiveRequestHash: z.ZodOptional<z.ZodString>;
|
|
148
|
+
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
88
150
|
}, z.core.$strict>>;
|
|
89
151
|
contentHash: z.ZodString;
|
|
90
152
|
}, z.core.$strict>;
|
|
@@ -100,6 +162,7 @@ export type ModelJudgeRunner = (input: {
|
|
|
100
162
|
}>;
|
|
101
163
|
task: TaskRecord;
|
|
102
164
|
evidence: AttemptEvidence;
|
|
165
|
+
evaluatorContext?: Record<string, unknown> | null;
|
|
103
166
|
signal?: AbortSignal;
|
|
104
167
|
}) => Promise<Omit<GraderEvidence, "schemaVersion" | "graderId" | "graderVersion" | "contentHash">>;
|
|
105
168
|
export type CustomVerifierRunner = (input: {
|
|
@@ -112,6 +175,8 @@ export type CustomVerifierRunner = (input: {
|
|
|
112
175
|
export declare function gradeEvidence(input: {
|
|
113
176
|
task: TaskRecord;
|
|
114
177
|
evidence: AttemptEvidence;
|
|
178
|
+
/** Resolved by the authorized grading owner; never part of the policy task view. */
|
|
179
|
+
evaluatorContext?: Record<string, unknown> | null;
|
|
115
180
|
graders: GraderSpec[];
|
|
116
181
|
modelJudge?: ModelJudgeRunner;
|
|
117
182
|
customVerifier?: CustomVerifierRunner;
|
|
@@ -202,6 +267,22 @@ export declare const TaskGradeSchema: z.ZodObject<{
|
|
|
202
267
|
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
203
268
|
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
204
269
|
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
transportPolicy: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
|
|
272
|
+
responseFormat: z.ZodLiteral<"judgment_json_schema">;
|
|
273
|
+
reasoningEffort: z.ZodEnum<{
|
|
274
|
+
off: "off";
|
|
275
|
+
low: "low";
|
|
276
|
+
medium: "medium";
|
|
277
|
+
high: "high";
|
|
278
|
+
xhigh: "xhigh";
|
|
279
|
+
max: "max";
|
|
280
|
+
}>;
|
|
281
|
+
maximumOutputTokens: z.ZodNumber;
|
|
282
|
+
}, z.core.$strict>>;
|
|
283
|
+
effectiveRequestHash: z.ZodOptional<z.ZodString>;
|
|
284
|
+
finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
205
286
|
}, z.core.$strict>>;
|
|
206
287
|
contentHash: z.ZodString;
|
|
207
288
|
}, z.core.$strict>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graders.d.ts","sourceRoot":"","sources":["../../../../src/graders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAA2B,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAErF,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAErG,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"graders.d.ts","sourceRoot":"","sources":["../../../../src/graders.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { executeJavaScriptVerifier } from "../javascript-verifier.js";
|
|
2
|
-
import { type BoundJudgeRequest, type BoundJudgeResponse } from "./model-judge.js";
|
|
2
|
+
import { createBoundModelJudgeRunner, type BoundJudgeRequest, type BoundJudgeResponse } from "./model-judge.js";
|
|
3
3
|
import { type LearningRepository } from "./repository.js";
|
|
4
4
|
import type { RewardCheckRun, RewardCheckRuntime } from "./reward-checks.js";
|
|
5
5
|
import type { RewardFixtureExecutor } from "./reward-check-worker.js";
|
|
@@ -23,5 +23,6 @@ export declare function createBudgetedRewardFixtureExecutor(options: {
|
|
|
23
23
|
repository: LearningRepository;
|
|
24
24
|
provider: BoundJudgeProvider;
|
|
25
25
|
executeJavaScript: typeof executeJavaScriptVerifier;
|
|
26
|
+
transportPolicy?: Parameters<typeof createBoundModelJudgeRunner>[0]["transportPolicy"];
|
|
26
27
|
}): RewardFixtureExecutor;
|
|
27
28
|
//# sourceMappingURL=budgeted-reward-fixtures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budgeted-reward-fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/learning/budgeted-reward-fixtures.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAG3E,OAAO,
|
|
1
|
+
{"version":3,"file":"budgeted-reward-fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/learning/budgeted-reward-fixtures.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAG3E,OAAO,EAAE,2BAA2B,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGhH,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEtE,MAAM,WAAW,kBAAkB;IACjC;mFAC+E;IAC/E,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,aAAa,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;KAAE,CAAC,CAAC;IACtN,MAAM,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,YAAY,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACpG;AAED,wBAAgB,mCAAmC,CAAC,OAAO,EAAE;IAC3D,OAAO,EAAE,kBAAkB,CAAC;IAAC,UAAU,EAAE,kBAAkB,CAAC;IAAC,QAAQ,EAAE,kBAAkB,CAAC;IAC1F,iBAAiB,EAAE,OAAO,yBAAyB,CAAC;IACpD,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;CACxF,GAAG,qBAAqB,CAyBxB"}
|