archal 0.9.20 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -159
- package/agents/openclaw/Dockerfile +2 -1
- package/agents/openclaw/README.md +10 -17
- package/agents/openclaw/drive.mjs +21 -31
- package/agents/openclaw/extract-openclaw-response-text.mjs +49 -0
- package/agents/openclaw/scenarios/acceptance/github-escalation-and-cleanup.md +43 -0
- package/agents/openclaw/scenarios/acceptance/jira-linear-release-triage.md +39 -0
- package/agents/openclaw/scenarios/acceptance/multi-clone-customer-risk-review.md +45 -0
- package/agents/openclaw/scenarios/acceptance/slack-incident-handoff.md +42 -0
- package/agents/openclaw/scenarios/acceptance/stripe-dunning-remediation.md +40 -0
- package/agents/openclaw/scenarios/close-stale-issues.md +35 -0
- package/agents/openclaw/workspace/TOOLS.md +19 -0
- package/clone-assets/calcom/tools.json +1705 -153
- package/clone-assets/clickup/tools.json +2528 -541
- package/clone-assets/customerio/tools.json +2108 -144
- package/clone-assets/github/tools.json +1 -2
- package/clone-assets/gitlab/tools.json +10087 -398
- package/clone-assets/hubspot/tools.json +198 -0
- package/clone-assets/linear/tools.json +41 -1
- package/clone-assets/sentry/tools.json +2264 -188
- package/clone-assets/stripe/tools.json +114 -0
- package/clone-assets/webflow/tools.json +1895 -125
- package/dist/{autoloop-worker-types-BEb_E44z.d.cts → autoloop-worker-types-CHaclqtD.d.cts} +23 -59
- package/dist/cli.cjs +107175 -126959
- package/dist/commands/{autoloop-hosted-worker.cjs → autoloop-hosted-control-plane-client.cjs} +25657 -42736
- package/dist/commands/{autoloop-hosted-worker.d.cts → autoloop-hosted-control-plane-client.d.cts} +32 -42
- package/dist/commands/autoloop-pr-verification.cjs +607 -522
- package/dist/commands/autoloop-pr-verification.d.cts +3 -1
- package/dist/commands/autoloop-result-parser.cjs +2474 -2373
- package/dist/commands/autoloop-result-parser.d.cts +159 -2
- package/dist/commands/autoloop-worker.cjs +14565 -12240
- package/dist/commands/autoloop-worker.d.cts +10 -5
- package/dist/eval-shim.mjs +216 -0
- package/dist/index.cjs +15 -2
- package/dist/index.d.cts +3 -1
- package/dist/layer-1-ziaLpfLr.d.cts +62 -0
- package/dist/metafile-cjs.json +1 -0
- package/dist/reporter-entry.js +3 -0
- package/dist/{replay.cjs → sdk/index.cjs} +42979 -40973
- package/dist/sdk/index.d.cts +626 -0
- package/dist/vitest/{chunk-6CBYFCFK.js → chunk-2PDHTPZC.js} +289 -89
- package/dist/vitest/{chunk-ARVS45PP.js → chunk-7L4BBB6M.js} +123 -274
- package/dist/vitest/index.cjs +500 -816
- package/dist/vitest/index.d.ts +16 -81
- package/dist/vitest/index.js +40 -409
- package/dist/vitest/runtime/hosted-session-reaper.cjs +143 -293
- package/dist/vitest/runtime/hosted-session-reaper.js +1 -1
- package/dist/vitest/runtime/setup-files.js +2 -2
- package/manifest.json +9 -0
- package/package.json +14 -13
- package/skills/archal-agent/SKILL.md +0 -1
- package/skills/autoloop/SKILL.md +288 -273
- package/skills/autoloop/references/hosted-sources.md +49 -17
- package/skills/autoloop/references/trace-schema-mapping.md +83 -52
- package/skills/eval/SKILL.md +16 -48
- package/skills/free-account/SKILL.md +103 -0
- package/skills/install-agent/SKILL.md +16 -35
- package/skills/onboard/SKILL.md +13 -70
- package/skills/scenario/SKILL.md +30 -27
- package/skills/seed/SKILL.md +7 -6
- package/skills/vitest/SKILL.md +3 -2
- package/agents/github-octokit/.archal.json +0 -8
- package/agents/github-octokit/Dockerfile +0 -8
- package/agents/github-octokit/README.md +0 -113
- package/agents/github-octokit/agent.mjs +0 -54
- package/agents/github-octokit/package.json +0 -9
- package/agents/github-octokit/scenarios/test-repo-access.md +0 -27
- package/agents/google-workspace-local-tools/Dockerfile +0 -6
- package/agents/google-workspace-local-tools/README.md +0 -58
- package/agents/google-workspace-local-tools/agent.mjs +0 -196
- package/agents/google-workspace-local-tools/archal-harness.json +0 -7
- package/agents/google-workspace-local-tools/run-input.yaml +0 -16
- package/agents/google-workspace-local-tools/scenario.md +0 -29
- package/agents/hermes/.archal.json +0 -8
- package/agents/hermes/Dockerfile +0 -46
- package/agents/hermes/README.md +0 -87
- package/agents/hermes/SOUL.md +0 -27
- package/agents/hermes/config.yaml +0 -34
- package/agents/hermes/drive.mjs +0 -113
- package/agents/hermes/scenarios/stripe-customers-read-only.md +0 -32
- package/agents/pagination-test/README.md +0 -24
- package/agents/pagination-test/scenario.md +0 -24
- package/agents/replay-capsule-harness/README.md +0 -29
- package/agents/replay-capsule-harness/observability-install-offline-e2e.mts +0 -1517
- package/agents/replay-capsule-harness/replay-capsule-e2e.mjs +0 -104
- package/dist/harness.cjs +0 -63
- package/dist/harness.d.cts +0 -20
- package/dist/replay.d.cts +0 -4625
- package/dist/scenarios.cjs +0 -80343
- package/dist/scenarios.d.cts +0 -562
package/dist/replay.d.cts
DELETED
|
@@ -1,4625 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const traceReplaySufficiencySchema: z.ZodObject<{
|
|
4
|
-
status: z.ZodEnum<{
|
|
5
|
-
captured: "captured";
|
|
6
|
-
reproducible: "reproducible";
|
|
7
|
-
"retriever-ready": "retriever-ready";
|
|
8
|
-
"benchmark-ready": "benchmark-ready";
|
|
9
|
-
recoverable: "recoverable";
|
|
10
|
-
insufficient: "insufficient";
|
|
11
|
-
}>;
|
|
12
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
-
evidencePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
-
supportedServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
-
}, z.core.$loose>;
|
|
17
|
-
declare const traceReplayCapsuleSchema: z.ZodObject<{
|
|
18
|
-
schema: z.ZodLiteral<"archal.trace.replay-capsule">;
|
|
19
|
-
version: z.ZodLiteral<1>;
|
|
20
|
-
stateBefore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21
|
-
stateAfter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
|
-
stateDiff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
|
-
serviceReadSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
-
service: z.ZodString;
|
|
25
|
-
type: z.ZodString;
|
|
26
|
-
id: z.ZodString;
|
|
27
|
-
name: z.ZodOptional<z.ZodString>;
|
|
28
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
29
|
-
source: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.core.$loose>>>;
|
|
31
|
-
serviceWriteSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
-
service: z.ZodString;
|
|
33
|
-
type: z.ZodString;
|
|
34
|
-
id: z.ZodString;
|
|
35
|
-
name: z.ZodOptional<z.ZodString>;
|
|
36
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
37
|
-
source: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.core.$loose>>>;
|
|
39
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
|
-
service: z.ZodString;
|
|
41
|
-
type: z.ZodString;
|
|
42
|
-
id: z.ZodString;
|
|
43
|
-
name: z.ZodOptional<z.ZodString>;
|
|
44
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
45
|
-
source: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}, z.core.$loose>>>;
|
|
47
|
-
serviceOperations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
-
service: z.ZodString;
|
|
49
|
-
operation: z.ZodString;
|
|
50
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
|
-
service: z.ZodString;
|
|
52
|
-
type: z.ZodString;
|
|
53
|
-
id: z.ZodString;
|
|
54
|
-
name: z.ZodOptional<z.ZodString>;
|
|
55
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
56
|
-
source: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$loose>>>;
|
|
58
|
-
serviceReadSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
|
-
service: z.ZodString;
|
|
60
|
-
type: z.ZodString;
|
|
61
|
-
id: z.ZodString;
|
|
62
|
-
name: z.ZodOptional<z.ZodString>;
|
|
63
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
64
|
-
source: z.ZodOptional<z.ZodString>;
|
|
65
|
-
}, z.core.$loose>>>;
|
|
66
|
-
serviceWriteSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
-
service: z.ZodString;
|
|
68
|
-
type: z.ZodString;
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
name: z.ZodOptional<z.ZodString>;
|
|
71
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
72
|
-
source: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, z.core.$loose>>>;
|
|
74
|
-
stateBefore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
|
-
stateAfter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
|
-
stateDiff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
|
-
request: z.ZodOptional<z.ZodUnknown>;
|
|
78
|
-
response: z.ZodOptional<z.ZodUnknown>;
|
|
79
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
80
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
81
|
-
}, z.core.$loose>>>;
|
|
82
|
-
authPrincipal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
|
-
modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
84
|
-
promptBundle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
85
|
-
historicalSnapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
|
-
harnessContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
87
|
-
captureDiagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
88
|
-
provider: z.ZodString;
|
|
89
|
-
status: z.ZodEnum<{
|
|
90
|
-
error: "error";
|
|
91
|
-
invalid: "invalid";
|
|
92
|
-
}>;
|
|
93
|
-
message: z.ZodOptional<z.ZodString>;
|
|
94
|
-
expected: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$loose>>>;
|
|
96
|
-
stateAdapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
97
|
-
service: z.ZodString;
|
|
98
|
-
adapter: z.ZodString;
|
|
99
|
-
version: z.ZodOptional<z.ZodString>;
|
|
100
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
101
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
102
|
-
format: z.ZodOptional<z.ZodString>;
|
|
103
|
-
source: z.ZodOptional<z.ZodString>;
|
|
104
|
-
}, z.core.$loose>>>;
|
|
105
|
-
stateCapture: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
|
-
service: z.ZodString;
|
|
107
|
-
scope: z.ZodEnum<{
|
|
108
|
-
observed_resources: "observed_resources";
|
|
109
|
-
resource_closure: "resource_closure";
|
|
110
|
-
full_service_snapshot: "full_service_snapshot";
|
|
111
|
-
}>;
|
|
112
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
113
|
-
service: z.ZodString;
|
|
114
|
-
type: z.ZodString;
|
|
115
|
-
id: z.ZodString;
|
|
116
|
-
name: z.ZodOptional<z.ZodString>;
|
|
117
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
118
|
-
source: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$loose>>>;
|
|
120
|
-
capturedAt: z.ZodOptional<z.ZodString>;
|
|
121
|
-
source: z.ZodOptional<z.ZodString>;
|
|
122
|
-
limitations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
-
}, z.core.$loose>>>;
|
|
124
|
-
humanEvidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
-
kind: z.ZodEnum<{
|
|
126
|
-
approval: "approval";
|
|
127
|
-
reviewer_decision: "reviewer_decision";
|
|
128
|
-
user_reply: "user_reply";
|
|
129
|
-
manual_score: "manual_score";
|
|
130
|
-
rubric: "rubric";
|
|
131
|
-
support_escalation: "support_escalation";
|
|
132
|
-
}>;
|
|
133
|
-
id: z.ZodOptional<z.ZodString>;
|
|
134
|
-
source: z.ZodOptional<z.ZodString>;
|
|
135
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
136
|
-
actor: z.ZodOptional<z.ZodString>;
|
|
137
|
-
actorRole: z.ZodOptional<z.ZodString>;
|
|
138
|
-
reviewer: z.ZodOptional<z.ZodString>;
|
|
139
|
-
reviewerRole: z.ZodOptional<z.ZodString>;
|
|
140
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
141
|
-
status: z.ZodOptional<z.ZodString>;
|
|
142
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
143
|
-
text: z.ZodOptional<z.ZodString>;
|
|
144
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
145
|
-
maxScore: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
passed: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
rubric: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
|
-
criteria: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
149
|
-
escalationTarget: z.ZodOptional<z.ZodString>;
|
|
150
|
-
escalationReason: z.ZodOptional<z.ZodString>;
|
|
151
|
-
ticketId: z.ZodOptional<z.ZodString>;
|
|
152
|
-
queue: z.ZodOptional<z.ZodString>;
|
|
153
|
-
priority: z.ZodOptional<z.ZodString>;
|
|
154
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
155
|
-
service: z.ZodString;
|
|
156
|
-
type: z.ZodString;
|
|
157
|
-
id: z.ZodString;
|
|
158
|
-
name: z.ZodOptional<z.ZodString>;
|
|
159
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
160
|
-
source: z.ZodOptional<z.ZodString>;
|
|
161
|
-
}, z.core.$loose>>>;
|
|
162
|
-
evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
163
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
164
|
-
}, z.core.$loose>>>;
|
|
165
|
-
ragReplay: z.ZodOptional<z.ZodObject<{
|
|
166
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
167
|
-
retriever: "retriever";
|
|
168
|
-
trace_only: "trace_only";
|
|
169
|
-
}>>;
|
|
170
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
171
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
172
|
-
question: z.ZodOptional<z.ZodString>;
|
|
173
|
-
retrievals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
-
id: z.ZodOptional<z.ZodString>;
|
|
175
|
-
query: z.ZodOptional<z.ZodString>;
|
|
176
|
-
rewrittenQuery: z.ZodOptional<z.ZodString>;
|
|
177
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
178
|
-
providerHost: z.ZodOptional<z.ZodString>;
|
|
179
|
-
providerHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
-
providerBaseUrl: z.ZodOptional<z.ZodString>;
|
|
181
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
182
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
183
|
-
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
184
|
-
index: z.ZodOptional<z.ZodString>;
|
|
185
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
186
|
-
topK: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
retriever: z.ZodOptional<z.ZodString>;
|
|
188
|
-
embeddingModel: z.ZodOptional<z.ZodString>;
|
|
189
|
-
filtersMissing: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
-
topKMissing: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
-
indexMissing: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
-
retrieverMissing: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
-
embeddingModelMissing: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
-
queryMissing: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
-
providerMissing: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
-
providerHostMissing: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
frameworkMissing: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
-
vectorStoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
namespaceMissing: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
-
queryUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
201
|
-
providerUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
202
|
-
providerHostUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
203
|
-
frameworkUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
204
|
-
vectorStoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
205
|
-
namespaceUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
206
|
-
filtersUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
207
|
-
topKUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
208
|
-
indexUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
209
|
-
retrieverUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
210
|
-
embeddingModelUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
211
|
-
reranker: z.ZodOptional<z.ZodString>;
|
|
212
|
-
rerankerModel: z.ZodOptional<z.ZodString>;
|
|
213
|
-
providerReplayAdapter: z.ZodOptional<z.ZodObject<{
|
|
214
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
215
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
216
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
217
|
-
adapter: z.ZodString;
|
|
218
|
-
sdk: z.ZodOptional<z.ZodString>;
|
|
219
|
-
sdkPackage: z.ZodOptional<z.ZodString>;
|
|
220
|
-
sdkVersion: z.ZodOptional<z.ZodString>;
|
|
221
|
-
e2eStatus: z.ZodOptional<z.ZodEnum<{
|
|
222
|
-
verified: "verified";
|
|
223
|
-
passed: "passed";
|
|
224
|
-
}>>;
|
|
225
|
-
e2eTest: z.ZodOptional<z.ZodString>;
|
|
226
|
-
source: z.ZodOptional<z.ZodString>;
|
|
227
|
-
}, z.core.$loose>>;
|
|
228
|
-
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
229
|
-
id: z.ZodOptional<z.ZodString>;
|
|
230
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
231
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
232
|
-
source: z.ZodOptional<z.ZodString>;
|
|
233
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
234
|
-
title: z.ZodOptional<z.ZodString>;
|
|
235
|
-
text: z.ZodOptional<z.ZodString>;
|
|
236
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
237
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
238
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
241
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
242
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
243
|
-
}, z.core.$loose>>>;
|
|
244
|
-
rerankedResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
245
|
-
id: z.ZodOptional<z.ZodString>;
|
|
246
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
247
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
248
|
-
source: z.ZodOptional<z.ZodString>;
|
|
249
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
250
|
-
title: z.ZodOptional<z.ZodString>;
|
|
251
|
-
text: z.ZodOptional<z.ZodString>;
|
|
252
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
253
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
257
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
258
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
259
|
-
}, z.core.$loose>>>;
|
|
260
|
-
}, z.core.$loose>>>;
|
|
261
|
-
retrievedChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
|
-
id: z.ZodOptional<z.ZodString>;
|
|
263
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
264
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
265
|
-
source: z.ZodOptional<z.ZodString>;
|
|
266
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
267
|
-
title: z.ZodOptional<z.ZodString>;
|
|
268
|
-
text: z.ZodOptional<z.ZodString>;
|
|
269
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
270
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
271
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
274
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
275
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
276
|
-
}, z.core.$loose>>>;
|
|
277
|
-
prompt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
278
|
-
answer: z.ZodOptional<z.ZodUnknown>;
|
|
279
|
-
citations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
280
|
-
evidence: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
281
|
-
humanEvidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
|
-
kind: z.ZodEnum<{
|
|
283
|
-
approval: "approval";
|
|
284
|
-
reviewer_decision: "reviewer_decision";
|
|
285
|
-
user_reply: "user_reply";
|
|
286
|
-
manual_score: "manual_score";
|
|
287
|
-
rubric: "rubric";
|
|
288
|
-
support_escalation: "support_escalation";
|
|
289
|
-
}>;
|
|
290
|
-
id: z.ZodOptional<z.ZodString>;
|
|
291
|
-
source: z.ZodOptional<z.ZodString>;
|
|
292
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
293
|
-
actor: z.ZodOptional<z.ZodString>;
|
|
294
|
-
actorRole: z.ZodOptional<z.ZodString>;
|
|
295
|
-
reviewer: z.ZodOptional<z.ZodString>;
|
|
296
|
-
reviewerRole: z.ZodOptional<z.ZodString>;
|
|
297
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
298
|
-
status: z.ZodOptional<z.ZodString>;
|
|
299
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
300
|
-
text: z.ZodOptional<z.ZodString>;
|
|
301
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
302
|
-
maxScore: z.ZodOptional<z.ZodNumber>;
|
|
303
|
-
passed: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
-
rubric: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
305
|
-
criteria: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
306
|
-
escalationTarget: z.ZodOptional<z.ZodString>;
|
|
307
|
-
escalationReason: z.ZodOptional<z.ZodString>;
|
|
308
|
-
ticketId: z.ZodOptional<z.ZodString>;
|
|
309
|
-
queue: z.ZodOptional<z.ZodString>;
|
|
310
|
-
priority: z.ZodOptional<z.ZodString>;
|
|
311
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
312
|
-
service: z.ZodString;
|
|
313
|
-
type: z.ZodString;
|
|
314
|
-
id: z.ZodString;
|
|
315
|
-
name: z.ZodOptional<z.ZodString>;
|
|
316
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
317
|
-
source: z.ZodOptional<z.ZodString>;
|
|
318
|
-
}, z.core.$loose>>>;
|
|
319
|
-
evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
321
|
-
}, z.core.$loose>>>;
|
|
322
|
-
providerReplayAdapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
323
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
324
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
325
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
326
|
-
adapter: z.ZodString;
|
|
327
|
-
sdk: z.ZodOptional<z.ZodString>;
|
|
328
|
-
sdkPackage: z.ZodOptional<z.ZodString>;
|
|
329
|
-
sdkVersion: z.ZodOptional<z.ZodString>;
|
|
330
|
-
e2eStatus: z.ZodOptional<z.ZodEnum<{
|
|
331
|
-
verified: "verified";
|
|
332
|
-
passed: "passed";
|
|
333
|
-
}>>;
|
|
334
|
-
e2eTest: z.ZodOptional<z.ZodString>;
|
|
335
|
-
source: z.ZodOptional<z.ZodString>;
|
|
336
|
-
}, z.core.$loose>>>;
|
|
337
|
-
requiresCitations: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
-
citationBehavior: z.ZodOptional<z.ZodString>;
|
|
339
|
-
failure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
340
|
-
sourceSnapshot: z.ZodOptional<z.ZodObject<{
|
|
341
|
-
source: z.ZodOptional<z.ZodString>;
|
|
342
|
-
index: z.ZodOptional<z.ZodString>;
|
|
343
|
-
capturedAt: z.ZodOptional<z.ZodString>;
|
|
344
|
-
expectedDocumentCount: z.ZodOptional<z.ZodNumber>;
|
|
345
|
-
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
|
-
id: z.ZodString;
|
|
347
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
348
|
-
title: z.ZodOptional<z.ZodString>;
|
|
349
|
-
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
350
|
-
indexedVersion: z.ZodOptional<z.ZodString>;
|
|
351
|
-
sourceLastModified: z.ZodOptional<z.ZodString>;
|
|
352
|
-
indexedAt: z.ZodOptional<z.ZodString>;
|
|
353
|
-
checksum: z.ZodOptional<z.ZodString>;
|
|
354
|
-
isStale: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
356
|
-
}, z.core.$loose>>>;
|
|
357
|
-
}, z.core.$loose>>;
|
|
358
|
-
}, z.core.$loose>>;
|
|
359
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
360
|
-
status: z.ZodEnum<{
|
|
361
|
-
captured: "captured";
|
|
362
|
-
reproducible: "reproducible";
|
|
363
|
-
"retriever-ready": "retriever-ready";
|
|
364
|
-
"benchmark-ready": "benchmark-ready";
|
|
365
|
-
recoverable: "recoverable";
|
|
366
|
-
insufficient: "insufficient";
|
|
367
|
-
}>;
|
|
368
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
369
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
370
|
-
evidencePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
371
|
-
supportedServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
|
-
}, z.core.$loose>>;
|
|
373
|
-
}, z.core.$loose>;
|
|
374
|
-
type TraceReplaySufficiency = z.infer<typeof traceReplaySufficiencySchema>;
|
|
375
|
-
type TraceReplayCapsule = z.infer<typeof traceReplayCapsuleSchema>;
|
|
376
|
-
interface TraceReplayRagReadiness {
|
|
377
|
-
benchmarkReady: boolean;
|
|
378
|
-
genericRetrieverCaptured: boolean;
|
|
379
|
-
providerReplayReady: boolean;
|
|
380
|
-
benchmarkMissing: string[];
|
|
381
|
-
retrieverMissing: string[];
|
|
382
|
-
providerReplayMissing: string[];
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
type RedactionAction = 'drop' | 'hash' | 'tokenize' | 'keep';
|
|
386
|
-
type FieldClass = 'identity' | 'contact' | 'freeText' | 'payload';
|
|
387
|
-
interface ReplaySecurityPolicy {
|
|
388
|
-
salt: string;
|
|
389
|
-
actions: Record<FieldClass, RedactionAction>;
|
|
390
|
-
}
|
|
391
|
-
interface MinimizationReport {
|
|
392
|
-
dropped: number;
|
|
393
|
-
hashed: number;
|
|
394
|
-
tokenized: number;
|
|
395
|
-
fieldPaths: string[];
|
|
396
|
-
}
|
|
397
|
-
interface EgressVerdict {
|
|
398
|
-
allowed: boolean;
|
|
399
|
-
violations: Array<{
|
|
400
|
-
path: string;
|
|
401
|
-
reason: string;
|
|
402
|
-
key: string;
|
|
403
|
-
}>;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
type ReplayJsonPrimitive = string | number | boolean | null;
|
|
407
|
-
type ReplayJsonValue = ReplayJsonPrimitive | ReplayJsonValue[] | {
|
|
408
|
-
[key: string]: ReplayJsonValue;
|
|
409
|
-
};
|
|
410
|
-
type McpJsonValue$1 = ReplayJsonValue;
|
|
411
|
-
|
|
412
|
-
declare const agentSurfaceReplayKindSchema: z.ZodEnum<{
|
|
413
|
-
rag: "rag";
|
|
414
|
-
"db-query": "db-query";
|
|
415
|
-
"mcp-transcript": "mcp-transcript";
|
|
416
|
-
"saas-api": "saas-api";
|
|
417
|
-
"workflow-event": "workflow-event";
|
|
418
|
-
}>;
|
|
419
|
-
declare const agentSurfaceReplayStatusSchema: z.ZodEnum<{
|
|
420
|
-
reproducible: "reproducible";
|
|
421
|
-
recoverable: "recoverable";
|
|
422
|
-
insufficient: "insufficient";
|
|
423
|
-
}>;
|
|
424
|
-
declare const agentSurfaceReplaySchema: z.ZodObject<{
|
|
425
|
-
schema: z.ZodLiteral<"archal.agent-surface-replay">;
|
|
426
|
-
version: z.ZodLiteral<1>;
|
|
427
|
-
capsules: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
428
|
-
schema: z.ZodLiteral<"archal.db-query-replay.capture">;
|
|
429
|
-
version: z.ZodLiteral<1>;
|
|
430
|
-
captureRun: z.ZodObject<{
|
|
431
|
-
runId: z.ZodString;
|
|
432
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
433
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
434
|
-
source: z.ZodOptional<z.ZodString>;
|
|
435
|
-
captureMode: z.ZodDefault<z.ZodEnum<{
|
|
436
|
-
transaction: "transaction";
|
|
437
|
-
statement: "statement";
|
|
438
|
-
"accessed-rows": "accessed-rows";
|
|
439
|
-
"object-closure": "object-closure";
|
|
440
|
-
"full-snapshot": "full-snapshot";
|
|
441
|
-
}>>;
|
|
442
|
-
capturedAt: z.ZodISODateTime;
|
|
443
|
-
collector: z.ZodOptional<z.ZodString>;
|
|
444
|
-
collectorVersion: z.ZodOptional<z.ZodString>;
|
|
445
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
446
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
447
|
-
}, z.core.$strict>;
|
|
448
|
-
frontier: z.ZodObject<{
|
|
449
|
-
consistency: z.ZodEnum<{
|
|
450
|
-
transaction: "transaction";
|
|
451
|
-
session: "session";
|
|
452
|
-
statement: "statement";
|
|
453
|
-
"best-effort": "best-effort";
|
|
454
|
-
}>;
|
|
455
|
-
before: z.ZodOptional<z.ZodObject<{
|
|
456
|
-
at: z.ZodOptional<z.ZodString>;
|
|
457
|
-
postgresLsn: z.ZodOptional<z.ZodString>;
|
|
458
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
459
|
-
xmin: z.ZodOptional<z.ZodString>;
|
|
460
|
-
snowflakeQueryId: z.ZodOptional<z.ZodString>;
|
|
461
|
-
statementTimestamp: z.ZodOptional<z.ZodString>;
|
|
462
|
-
snapshotId: z.ZodOptional<z.ZodString>;
|
|
463
|
-
checkpoint: z.ZodOptional<z.ZodString>;
|
|
464
|
-
}, z.core.$strict>>;
|
|
465
|
-
after: z.ZodOptional<z.ZodObject<{
|
|
466
|
-
at: z.ZodOptional<z.ZodString>;
|
|
467
|
-
postgresLsn: z.ZodOptional<z.ZodString>;
|
|
468
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
469
|
-
xmin: z.ZodOptional<z.ZodString>;
|
|
470
|
-
snowflakeQueryId: z.ZodOptional<z.ZodString>;
|
|
471
|
-
statementTimestamp: z.ZodOptional<z.ZodString>;
|
|
472
|
-
snapshotId: z.ZodOptional<z.ZodString>;
|
|
473
|
-
checkpoint: z.ZodOptional<z.ZodString>;
|
|
474
|
-
}, z.core.$strict>>;
|
|
475
|
-
includesCatalog: z.ZodDefault<z.ZodBoolean>;
|
|
476
|
-
includesPolicies: z.ZodDefault<z.ZodBoolean>;
|
|
477
|
-
rowCoverage: z.ZodEnum<{
|
|
478
|
-
none: "none";
|
|
479
|
-
"accessed-rows": "accessed-rows";
|
|
480
|
-
"object-closure": "object-closure";
|
|
481
|
-
"full-snapshot": "full-snapshot";
|
|
482
|
-
sampled: "sampled";
|
|
483
|
-
}>;
|
|
484
|
-
snapshotArtifactRef: z.ZodOptional<z.ZodString>;
|
|
485
|
-
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
486
|
-
}, z.core.$strict>;
|
|
487
|
-
session: z.ZodObject<{
|
|
488
|
-
dialect: z.ZodEnum<{
|
|
489
|
-
postgres: "postgres";
|
|
490
|
-
"supabase-postgres": "supabase-postgres";
|
|
491
|
-
snowflake: "snowflake";
|
|
492
|
-
"generic-sql": "generic-sql";
|
|
493
|
-
}>;
|
|
494
|
-
account: z.ZodOptional<z.ZodString>;
|
|
495
|
-
projectRef: z.ZodOptional<z.ZodString>;
|
|
496
|
-
host: z.ZodOptional<z.ZodString>;
|
|
497
|
-
database: z.ZodOptional<z.ZodString>;
|
|
498
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
499
|
-
searchPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
500
|
-
warehouse: z.ZodOptional<z.ZodString>;
|
|
501
|
-
role: z.ZodOptional<z.ZodString>;
|
|
502
|
-
user: z.ZodOptional<z.ZodString>;
|
|
503
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
504
|
-
applicationName: z.ZodOptional<z.ZodString>;
|
|
505
|
-
sessionParameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
506
|
-
}, z.core.$strict>;
|
|
507
|
-
transactions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
508
|
-
transactionId: z.ZodString;
|
|
509
|
-
isolationLevel: z.ZodDefault<z.ZodEnum<{
|
|
510
|
-
snapshot: "snapshot";
|
|
511
|
-
unknown: "unknown";
|
|
512
|
-
"read-uncommitted": "read-uncommitted";
|
|
513
|
-
"read-committed": "read-committed";
|
|
514
|
-
"repeatable-read": "repeatable-read";
|
|
515
|
-
serializable: "serializable";
|
|
516
|
-
}>>;
|
|
517
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
518
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
519
|
-
unknown: "unknown";
|
|
520
|
-
failed: "failed";
|
|
521
|
-
open: "open";
|
|
522
|
-
committed: "committed";
|
|
523
|
-
"rolled-back": "rolled-back";
|
|
524
|
-
}>>;
|
|
525
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
526
|
-
endedAt: z.ZodOptional<z.ZodString>;
|
|
527
|
-
statementIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
528
|
-
frontier: z.ZodOptional<z.ZodObject<{
|
|
529
|
-
consistency: z.ZodEnum<{
|
|
530
|
-
transaction: "transaction";
|
|
531
|
-
session: "session";
|
|
532
|
-
statement: "statement";
|
|
533
|
-
"best-effort": "best-effort";
|
|
534
|
-
}>;
|
|
535
|
-
before: z.ZodOptional<z.ZodObject<{
|
|
536
|
-
at: z.ZodOptional<z.ZodString>;
|
|
537
|
-
postgresLsn: z.ZodOptional<z.ZodString>;
|
|
538
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
539
|
-
xmin: z.ZodOptional<z.ZodString>;
|
|
540
|
-
snowflakeQueryId: z.ZodOptional<z.ZodString>;
|
|
541
|
-
statementTimestamp: z.ZodOptional<z.ZodString>;
|
|
542
|
-
snapshotId: z.ZodOptional<z.ZodString>;
|
|
543
|
-
checkpoint: z.ZodOptional<z.ZodString>;
|
|
544
|
-
}, z.core.$strict>>;
|
|
545
|
-
after: z.ZodOptional<z.ZodObject<{
|
|
546
|
-
at: z.ZodOptional<z.ZodString>;
|
|
547
|
-
postgresLsn: z.ZodOptional<z.ZodString>;
|
|
548
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
549
|
-
xmin: z.ZodOptional<z.ZodString>;
|
|
550
|
-
snowflakeQueryId: z.ZodOptional<z.ZodString>;
|
|
551
|
-
statementTimestamp: z.ZodOptional<z.ZodString>;
|
|
552
|
-
snapshotId: z.ZodOptional<z.ZodString>;
|
|
553
|
-
checkpoint: z.ZodOptional<z.ZodString>;
|
|
554
|
-
}, z.core.$strict>>;
|
|
555
|
-
includesCatalog: z.ZodDefault<z.ZodBoolean>;
|
|
556
|
-
includesPolicies: z.ZodDefault<z.ZodBoolean>;
|
|
557
|
-
rowCoverage: z.ZodEnum<{
|
|
558
|
-
none: "none";
|
|
559
|
-
"accessed-rows": "accessed-rows";
|
|
560
|
-
"object-closure": "object-closure";
|
|
561
|
-
"full-snapshot": "full-snapshot";
|
|
562
|
-
sampled: "sampled";
|
|
563
|
-
}>;
|
|
564
|
-
snapshotArtifactRef: z.ZodOptional<z.ZodString>;
|
|
565
|
-
limitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
566
|
-
}, z.core.$strict>>;
|
|
567
|
-
}, z.core.$strict>>>;
|
|
568
|
-
statements: z.ZodArray<z.ZodObject<{
|
|
569
|
-
statementId: z.ZodString;
|
|
570
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
571
|
-
parentStatementId: z.ZodOptional<z.ZodString>;
|
|
572
|
-
ordinal: z.ZodOptional<z.ZodNumber>;
|
|
573
|
-
sql: z.ZodString;
|
|
574
|
-
normalizedSql: z.ZodString;
|
|
575
|
-
operation: z.ZodEnum<{
|
|
576
|
-
update: "update";
|
|
577
|
-
unknown: "unknown";
|
|
578
|
-
delete: "delete";
|
|
579
|
-
call: "call";
|
|
580
|
-
describe: "describe";
|
|
581
|
-
copy: "copy";
|
|
582
|
-
transaction: "transaction";
|
|
583
|
-
insert: "insert";
|
|
584
|
-
select: "select";
|
|
585
|
-
merge: "merge";
|
|
586
|
-
show: "show";
|
|
587
|
-
explain: "explain";
|
|
588
|
-
ddl: "ddl";
|
|
589
|
-
grant: "grant";
|
|
590
|
-
revoke: "revoke";
|
|
591
|
-
}>;
|
|
592
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
593
|
-
unknown: "unknown";
|
|
594
|
-
failed: "failed";
|
|
595
|
-
canceled: "canceled";
|
|
596
|
-
succeeded: "succeeded";
|
|
597
|
-
"timed-out": "timed-out";
|
|
598
|
-
}>>;
|
|
599
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
600
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
601
|
-
parameters: z.ZodDefault<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
602
|
-
namedParameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
603
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
604
|
-
kind: z.ZodEnum<{
|
|
605
|
-
error: "error";
|
|
606
|
-
empty: "empty";
|
|
607
|
-
command: "command";
|
|
608
|
-
rows: "rows";
|
|
609
|
-
ddl: "ddl";
|
|
610
|
-
}>;
|
|
611
|
-
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
612
|
-
name: z.ZodString;
|
|
613
|
-
ordinal: z.ZodOptional<z.ZodNumber>;
|
|
614
|
-
type: z.ZodOptional<z.ZodString>;
|
|
615
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
-
defaultExpression: z.ZodOptional<z.ZodString>;
|
|
617
|
-
collation: z.ZodOptional<z.ZodString>;
|
|
618
|
-
policyRelevant: z.ZodOptional<z.ZodBoolean>;
|
|
619
|
-
}, z.core.$strict>>>;
|
|
620
|
-
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
621
|
-
affectedRowCount: z.ZodOptional<z.ZodNumber>;
|
|
622
|
-
commandTag: z.ZodOptional<z.ZodString>;
|
|
623
|
-
sampleRows: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>>;
|
|
624
|
-
sampleTruncated: z.ZodDefault<z.ZodBoolean>;
|
|
625
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
626
|
-
code: z.ZodOptional<z.ZodString>;
|
|
627
|
-
sqlState: z.ZodOptional<z.ZodString>;
|
|
628
|
-
message: z.ZodString;
|
|
629
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
630
|
-
hint: z.ZodOptional<z.ZodString>;
|
|
631
|
-
}, z.core.$strict>>;
|
|
632
|
-
schemaHash: z.ZodOptional<z.ZodString>;
|
|
633
|
-
sampleHash: z.ZodOptional<z.ZodString>;
|
|
634
|
-
}, z.core.$strict>>;
|
|
635
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
636
|
-
code: z.ZodOptional<z.ZodString>;
|
|
637
|
-
sqlState: z.ZodOptional<z.ZodString>;
|
|
638
|
-
message: z.ZodString;
|
|
639
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
640
|
-
hint: z.ZodOptional<z.ZodString>;
|
|
641
|
-
}, z.core.$strict>>;
|
|
642
|
-
objectAccessIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
643
|
-
rowVersionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
644
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
645
|
-
}, z.core.$strict>>;
|
|
646
|
-
catalog: z.ZodDefault<z.ZodObject<{
|
|
647
|
-
objects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
648
|
-
objectId: z.ZodString;
|
|
649
|
-
ref: z.ZodObject<{
|
|
650
|
-
database: z.ZodOptional<z.ZodString>;
|
|
651
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
652
|
-
name: z.ZodString;
|
|
653
|
-
objectType: z.ZodEnum<{
|
|
654
|
-
function: "function";
|
|
655
|
-
unknown: "unknown";
|
|
656
|
-
sequence: "sequence";
|
|
657
|
-
schema: "schema";
|
|
658
|
-
role: "role";
|
|
659
|
-
database: "database";
|
|
660
|
-
stage: "stage";
|
|
661
|
-
table: "table";
|
|
662
|
-
policy: "policy";
|
|
663
|
-
index: "index";
|
|
664
|
-
view: "view";
|
|
665
|
-
"materialized-view": "materialized-view";
|
|
666
|
-
"external-table": "external-table";
|
|
667
|
-
procedure: "procedure";
|
|
668
|
-
stream: "stream";
|
|
669
|
-
"file-format": "file-format";
|
|
670
|
-
warehouse: "warehouse";
|
|
671
|
-
constraint: "constraint";
|
|
672
|
-
}>;
|
|
673
|
-
id: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, z.core.$strict>;
|
|
675
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
676
|
-
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
677
|
-
name: z.ZodString;
|
|
678
|
-
ordinal: z.ZodOptional<z.ZodNumber>;
|
|
679
|
-
type: z.ZodOptional<z.ZodString>;
|
|
680
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
-
defaultExpression: z.ZodOptional<z.ZodString>;
|
|
682
|
-
collation: z.ZodOptional<z.ZodString>;
|
|
683
|
-
policyRelevant: z.ZodOptional<z.ZodBoolean>;
|
|
684
|
-
}, z.core.$strict>>>;
|
|
685
|
-
primaryKey: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
686
|
-
uniqueKeys: z.ZodDefault<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
687
|
-
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
688
|
-
name: z.ZodString;
|
|
689
|
-
columns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
690
|
-
unique: z.ZodDefault<z.ZodBoolean>;
|
|
691
|
-
predicate: z.ZodOptional<z.ZodString>;
|
|
692
|
-
}, z.core.$strict>>>;
|
|
693
|
-
constraints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
694
|
-
name: z.ZodString;
|
|
695
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
696
|
-
check: "check";
|
|
697
|
-
policy: "policy";
|
|
698
|
-
other: "other";
|
|
699
|
-
unique: "unique";
|
|
700
|
-
"primary-key": "primary-key";
|
|
701
|
-
"foreign-key": "foreign-key";
|
|
702
|
-
"not-null": "not-null";
|
|
703
|
-
}>>;
|
|
704
|
-
expression: z.ZodOptional<z.ZodString>;
|
|
705
|
-
}, z.core.$strict>>>;
|
|
706
|
-
rowCountApprox: z.ZodOptional<z.ZodNumber>;
|
|
707
|
-
definitionHash: z.ZodOptional<z.ZodString>;
|
|
708
|
-
rlsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
709
|
-
}, z.core.$strict>>>;
|
|
710
|
-
}, z.core.$strict>>;
|
|
711
|
-
objectAccesses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
712
|
-
accessId: z.ZodString;
|
|
713
|
-
statementId: z.ZodOptional<z.ZodString>;
|
|
714
|
-
transactionId: z.ZodOptional<z.ZodString>;
|
|
715
|
-
object: z.ZodObject<{
|
|
716
|
-
database: z.ZodOptional<z.ZodString>;
|
|
717
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
718
|
-
name: z.ZodString;
|
|
719
|
-
objectType: z.ZodEnum<{
|
|
720
|
-
function: "function";
|
|
721
|
-
unknown: "unknown";
|
|
722
|
-
sequence: "sequence";
|
|
723
|
-
schema: "schema";
|
|
724
|
-
role: "role";
|
|
725
|
-
database: "database";
|
|
726
|
-
stage: "stage";
|
|
727
|
-
table: "table";
|
|
728
|
-
policy: "policy";
|
|
729
|
-
index: "index";
|
|
730
|
-
view: "view";
|
|
731
|
-
"materialized-view": "materialized-view";
|
|
732
|
-
"external-table": "external-table";
|
|
733
|
-
procedure: "procedure";
|
|
734
|
-
stream: "stream";
|
|
735
|
-
"file-format": "file-format";
|
|
736
|
-
warehouse: "warehouse";
|
|
737
|
-
constraint: "constraint";
|
|
738
|
-
}>;
|
|
739
|
-
id: z.ZodOptional<z.ZodString>;
|
|
740
|
-
}, z.core.$strict>;
|
|
741
|
-
accessType: z.ZodEnum<{
|
|
742
|
-
metadata: "metadata";
|
|
743
|
-
write: "write";
|
|
744
|
-
read: "read";
|
|
745
|
-
"policy-check": "policy-check";
|
|
746
|
-
"privilege-check": "privilege-check";
|
|
747
|
-
"function-call": "function-call";
|
|
748
|
-
}>;
|
|
749
|
-
operation: z.ZodOptional<z.ZodEnum<{
|
|
750
|
-
update: "update";
|
|
751
|
-
unknown: "unknown";
|
|
752
|
-
delete: "delete";
|
|
753
|
-
call: "call";
|
|
754
|
-
describe: "describe";
|
|
755
|
-
copy: "copy";
|
|
756
|
-
transaction: "transaction";
|
|
757
|
-
insert: "insert";
|
|
758
|
-
select: "select";
|
|
759
|
-
merge: "merge";
|
|
760
|
-
show: "show";
|
|
761
|
-
explain: "explain";
|
|
762
|
-
ddl: "ddl";
|
|
763
|
-
grant: "grant";
|
|
764
|
-
revoke: "revoke";
|
|
765
|
-
}>>;
|
|
766
|
-
columns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
767
|
-
predicates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
768
|
-
rowVersionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
769
|
-
policyIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
770
|
-
privilegeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
771
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
772
|
-
unknown: "unknown";
|
|
773
|
-
allowed: "allowed";
|
|
774
|
-
denied: "denied";
|
|
775
|
-
}>>;
|
|
776
|
-
}, z.core.$strict>>>;
|
|
777
|
-
rowVersions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
778
|
-
rowVersionId: z.ZodString;
|
|
779
|
-
object: z.ZodObject<{
|
|
780
|
-
database: z.ZodOptional<z.ZodString>;
|
|
781
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
782
|
-
name: z.ZodString;
|
|
783
|
-
objectType: z.ZodEnum<{
|
|
784
|
-
function: "function";
|
|
785
|
-
unknown: "unknown";
|
|
786
|
-
sequence: "sequence";
|
|
787
|
-
schema: "schema";
|
|
788
|
-
role: "role";
|
|
789
|
-
database: "database";
|
|
790
|
-
stage: "stage";
|
|
791
|
-
table: "table";
|
|
792
|
-
policy: "policy";
|
|
793
|
-
index: "index";
|
|
794
|
-
view: "view";
|
|
795
|
-
"materialized-view": "materialized-view";
|
|
796
|
-
"external-table": "external-table";
|
|
797
|
-
procedure: "procedure";
|
|
798
|
-
stream: "stream";
|
|
799
|
-
"file-format": "file-format";
|
|
800
|
-
warehouse: "warehouse";
|
|
801
|
-
constraint: "constraint";
|
|
802
|
-
}>;
|
|
803
|
-
id: z.ZodOptional<z.ZodString>;
|
|
804
|
-
}, z.core.$strict>;
|
|
805
|
-
primaryKey: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
806
|
-
version: z.ZodOptional<z.ZodString>;
|
|
807
|
-
operation: z.ZodDefault<z.ZodEnum<{
|
|
808
|
-
update: "update";
|
|
809
|
-
delete: "delete";
|
|
810
|
-
read: "read";
|
|
811
|
-
insert: "insert";
|
|
812
|
-
merge: "merge";
|
|
813
|
-
}>>;
|
|
814
|
-
sourceStatementId: z.ZodOptional<z.ZodString>;
|
|
815
|
-
observedAt: z.ZodOptional<z.ZodString>;
|
|
816
|
-
before: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
817
|
-
after: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
818
|
-
diff: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
819
|
-
redactedFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
820
|
-
}, z.core.$strict>>>;
|
|
821
|
-
policyPrivileges: z.ZodOptional<z.ZodObject<{
|
|
822
|
-
capturedAt: z.ZodOptional<z.ZodString>;
|
|
823
|
-
principals: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
824
|
-
activeRole: z.ZodOptional<z.ZodString>;
|
|
825
|
-
roleMemberships: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
826
|
-
role: z.ZodString;
|
|
827
|
-
member: z.ZodString;
|
|
828
|
-
adminOption: z.ZodDefault<z.ZodBoolean>;
|
|
829
|
-
}, z.core.$strict>>>;
|
|
830
|
-
grants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
831
|
-
grantId: z.ZodString;
|
|
832
|
-
principal: z.ZodString;
|
|
833
|
-
object: z.ZodOptional<z.ZodObject<{
|
|
834
|
-
database: z.ZodOptional<z.ZodString>;
|
|
835
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
836
|
-
name: z.ZodString;
|
|
837
|
-
objectType: z.ZodEnum<{
|
|
838
|
-
function: "function";
|
|
839
|
-
unknown: "unknown";
|
|
840
|
-
sequence: "sequence";
|
|
841
|
-
schema: "schema";
|
|
842
|
-
role: "role";
|
|
843
|
-
database: "database";
|
|
844
|
-
stage: "stage";
|
|
845
|
-
table: "table";
|
|
846
|
-
policy: "policy";
|
|
847
|
-
index: "index";
|
|
848
|
-
view: "view";
|
|
849
|
-
"materialized-view": "materialized-view";
|
|
850
|
-
"external-table": "external-table";
|
|
851
|
-
procedure: "procedure";
|
|
852
|
-
stream: "stream";
|
|
853
|
-
"file-format": "file-format";
|
|
854
|
-
warehouse: "warehouse";
|
|
855
|
-
constraint: "constraint";
|
|
856
|
-
}>;
|
|
857
|
-
id: z.ZodOptional<z.ZodString>;
|
|
858
|
-
}, z.core.$strict>>;
|
|
859
|
-
privilege: z.ZodString;
|
|
860
|
-
grantOption: z.ZodDefault<z.ZodBoolean>;
|
|
861
|
-
source: z.ZodOptional<z.ZodString>;
|
|
862
|
-
}, z.core.$strict>>>;
|
|
863
|
-
policies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
864
|
-
policyId: z.ZodString;
|
|
865
|
-
object: z.ZodObject<{
|
|
866
|
-
database: z.ZodOptional<z.ZodString>;
|
|
867
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
868
|
-
name: z.ZodString;
|
|
869
|
-
objectType: z.ZodEnum<{
|
|
870
|
-
function: "function";
|
|
871
|
-
unknown: "unknown";
|
|
872
|
-
sequence: "sequence";
|
|
873
|
-
schema: "schema";
|
|
874
|
-
role: "role";
|
|
875
|
-
database: "database";
|
|
876
|
-
stage: "stage";
|
|
877
|
-
table: "table";
|
|
878
|
-
policy: "policy";
|
|
879
|
-
index: "index";
|
|
880
|
-
view: "view";
|
|
881
|
-
"materialized-view": "materialized-view";
|
|
882
|
-
"external-table": "external-table";
|
|
883
|
-
procedure: "procedure";
|
|
884
|
-
stream: "stream";
|
|
885
|
-
"file-format": "file-format";
|
|
886
|
-
warehouse: "warehouse";
|
|
887
|
-
constraint: "constraint";
|
|
888
|
-
}>;
|
|
889
|
-
id: z.ZodOptional<z.ZodString>;
|
|
890
|
-
}, z.core.$strict>;
|
|
891
|
-
name: z.ZodString;
|
|
892
|
-
command: z.ZodDefault<z.ZodEnum<{
|
|
893
|
-
update: "update";
|
|
894
|
-
delete: "delete";
|
|
895
|
-
all: "all";
|
|
896
|
-
insert: "insert";
|
|
897
|
-
select: "select";
|
|
898
|
-
}>>;
|
|
899
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
900
|
-
permissive: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
902
|
-
usingExpression: z.ZodOptional<z.ZodString>;
|
|
903
|
-
withCheckExpression: z.ZodOptional<z.ZodString>;
|
|
904
|
-
}, z.core.$strict>>>;
|
|
905
|
-
}, z.core.$strict>>;
|
|
906
|
-
replayEval: z.ZodOptional<z.ZodObject<{
|
|
907
|
-
status: z.ZodEnum<{
|
|
908
|
-
match: "match";
|
|
909
|
-
error: "error";
|
|
910
|
-
blocked: "blocked";
|
|
911
|
-
mismatch: "mismatch";
|
|
912
|
-
"not-run": "not-run";
|
|
913
|
-
}>;
|
|
914
|
-
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
915
|
-
evaluatorVersion: z.ZodOptional<z.ZodString>;
|
|
916
|
-
statementResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
917
|
-
statementId: z.ZodString;
|
|
918
|
-
status: z.ZodEnum<{
|
|
919
|
-
match: "match";
|
|
920
|
-
error: "error";
|
|
921
|
-
blocked: "blocked";
|
|
922
|
-
mismatch: "mismatch";
|
|
923
|
-
"not-run": "not-run";
|
|
924
|
-
}>;
|
|
925
|
-
resultShapeMatch: z.ZodOptional<z.ZodBoolean>;
|
|
926
|
-
sampleMatch: z.ZodOptional<z.ZodBoolean>;
|
|
927
|
-
objectAccessMatch: z.ZodOptional<z.ZodBoolean>;
|
|
928
|
-
rowVersionMatch: z.ZodOptional<z.ZodBoolean>;
|
|
929
|
-
policyPrivilegeMatch: z.ZodOptional<z.ZodBoolean>;
|
|
930
|
-
details: z.ZodOptional<z.ZodString>;
|
|
931
|
-
}, z.core.$strict>>>;
|
|
932
|
-
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
933
|
-
severity: z.ZodEnum<{
|
|
934
|
-
warn: "warn";
|
|
935
|
-
error: "error";
|
|
936
|
-
info: "info";
|
|
937
|
-
}>;
|
|
938
|
-
code: z.ZodString;
|
|
939
|
-
message: z.ZodString;
|
|
940
|
-
evidencePath: z.ZodOptional<z.ZodString>;
|
|
941
|
-
}, z.core.$strict>>>;
|
|
942
|
-
}, z.core.$strict>>;
|
|
943
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
944
|
-
status: z.ZodEnum<{
|
|
945
|
-
reproducible: "reproducible";
|
|
946
|
-
recoverable: "recoverable";
|
|
947
|
-
insufficient: "insufficient";
|
|
948
|
-
}>;
|
|
949
|
-
score: z.ZodNumber;
|
|
950
|
-
missing: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
951
|
-
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
952
|
-
evidencePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
953
|
-
}, z.core.$strict>>;
|
|
954
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
955
|
-
schema: z.ZodLiteral<"archal.mcp-transcript-replay">;
|
|
956
|
-
version: z.ZodLiteral<1>;
|
|
957
|
-
protocolVersion: z.ZodString;
|
|
958
|
-
transport: z.ZodEnum<{
|
|
959
|
-
stdio: "stdio";
|
|
960
|
-
"streamable-http": "streamable-http";
|
|
961
|
-
"legacy-sse": "legacy-sse";
|
|
962
|
-
}>;
|
|
963
|
-
transcriptId: z.ZodObject<{
|
|
964
|
-
canonicalId: z.ZodString;
|
|
965
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
966
|
-
}, z.core.$strict>;
|
|
967
|
-
session: z.ZodObject<{
|
|
968
|
-
sessionId: z.ZodObject<{
|
|
969
|
-
canonicalId: z.ZodString;
|
|
970
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
971
|
-
}, z.core.$strict>;
|
|
972
|
-
connectionId: z.ZodOptional<z.ZodObject<{
|
|
973
|
-
canonicalId: z.ZodString;
|
|
974
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
975
|
-
}, z.core.$strict>>;
|
|
976
|
-
serverName: z.ZodOptional<z.ZodString>;
|
|
977
|
-
service: z.ZodOptional<z.ZodString>;
|
|
978
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
979
|
-
command: z.ZodOptional<z.ZodString>;
|
|
980
|
-
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
981
|
-
transport: z.ZodOptional<z.ZodEnum<{
|
|
982
|
-
stdio: "stdio";
|
|
983
|
-
"streamable-http": "streamable-http";
|
|
984
|
-
"legacy-sse": "legacy-sse";
|
|
985
|
-
}>>;
|
|
986
|
-
clientInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
987
|
-
serverInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
988
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
989
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
990
|
-
mode: z.ZodEnum<{
|
|
991
|
-
unknown: "unknown";
|
|
992
|
-
none: "none";
|
|
993
|
-
custom: "custom";
|
|
994
|
-
"api-key": "api-key";
|
|
995
|
-
bearer: "bearer";
|
|
996
|
-
basic: "basic";
|
|
997
|
-
oauth: "oauth";
|
|
998
|
-
"mcp-session": "mcp-session";
|
|
999
|
-
}>;
|
|
1000
|
-
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
-
unknown: "unknown";
|
|
1002
|
-
none: "none";
|
|
1003
|
-
header: "header";
|
|
1004
|
-
environment: "environment";
|
|
1005
|
-
"mcp-session": "mcp-session";
|
|
1006
|
-
"oauth-session": "oauth-session";
|
|
1007
|
-
"client-config": "client-config";
|
|
1008
|
-
}>>;
|
|
1009
|
-
principal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1010
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1011
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
1012
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
1013
|
-
redacted: z.ZodDefault<z.ZodLiteral<true>>;
|
|
1014
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1015
|
-
}, z.core.$strict>>;
|
|
1016
|
-
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1017
|
-
endedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1018
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1019
|
-
}, z.core.$strict>;
|
|
1020
|
-
events: z.ZodArray<z.ZodObject<{
|
|
1021
|
-
eventId: z.ZodObject<{
|
|
1022
|
-
canonicalId: z.ZodString;
|
|
1023
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1024
|
-
}, z.core.$strict>;
|
|
1025
|
-
sequence: z.ZodNumber;
|
|
1026
|
-
kind: z.ZodEnum<{
|
|
1027
|
-
ping: "ping";
|
|
1028
|
-
notification: "notification";
|
|
1029
|
-
canceled: "canceled";
|
|
1030
|
-
progress: "progress";
|
|
1031
|
-
other: "other";
|
|
1032
|
-
initialize: "initialize";
|
|
1033
|
-
"tools-list": "tools-list";
|
|
1034
|
-
"tools-call": "tools-call";
|
|
1035
|
-
"resources-list": "resources-list";
|
|
1036
|
-
"resources-templates-list": "resources-templates-list";
|
|
1037
|
-
"resources-read": "resources-read";
|
|
1038
|
-
"resources-subscribe": "resources-subscribe";
|
|
1039
|
-
"resources-unsubscribe": "resources-unsubscribe";
|
|
1040
|
-
"roots-list": "roots-list";
|
|
1041
|
-
"prompts-list": "prompts-list";
|
|
1042
|
-
"prompts-get": "prompts-get";
|
|
1043
|
-
"sampling-create-message": "sampling-create-message";
|
|
1044
|
-
"completion-complete": "completion-complete";
|
|
1045
|
-
"elicitation-create": "elicitation-create";
|
|
1046
|
-
"logging-set-level": "logging-set-level";
|
|
1047
|
-
"tools-list-changed": "tools-list-changed";
|
|
1048
|
-
"resources-list-changed": "resources-list-changed";
|
|
1049
|
-
"prompts-list-changed": "prompts-list-changed";
|
|
1050
|
-
}>;
|
|
1051
|
-
method: z.ZodString;
|
|
1052
|
-
requestId: z.ZodOptional<z.ZodObject<{
|
|
1053
|
-
canonicalId: z.ZodString;
|
|
1054
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1055
|
-
}, z.core.$strict>>;
|
|
1056
|
-
transport: z.ZodOptional<z.ZodEnum<{
|
|
1057
|
-
stdio: "stdio";
|
|
1058
|
-
"streamable-http": "streamable-http";
|
|
1059
|
-
"legacy-sse": "legacy-sse";
|
|
1060
|
-
}>>;
|
|
1061
|
-
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1062
|
-
endedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1063
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1064
|
-
request: z.ZodOptional<z.ZodObject<{
|
|
1065
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
1066
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1067
|
-
method: z.ZodString;
|
|
1068
|
-
params: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1069
|
-
}, z.core.$strict>>;
|
|
1070
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
1071
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
1072
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1073
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1074
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1075
|
-
code: z.ZodNumber;
|
|
1076
|
-
message: z.ZodString;
|
|
1077
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1078
|
-
}, z.core.$strict>>;
|
|
1079
|
-
}, z.core.$strict>>;
|
|
1080
|
-
notification: z.ZodOptional<z.ZodObject<{
|
|
1081
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
1082
|
-
method: z.ZodString;
|
|
1083
|
-
params: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1084
|
-
}, z.core.$strict>>;
|
|
1085
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
1086
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1087
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1088
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1089
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1090
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1091
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1092
|
-
}, z.core.$strict>>;
|
|
1093
|
-
initialize: z.ZodOptional<z.ZodObject<{
|
|
1094
|
-
clientProtocolVersion: z.ZodOptional<z.ZodString>;
|
|
1095
|
-
negotiatedProtocolVersion: z.ZodOptional<z.ZodString>;
|
|
1096
|
-
clientInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1097
|
-
serverInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1098
|
-
clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1099
|
-
serverCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1100
|
-
}, z.core.$strict>>;
|
|
1101
|
-
toolsList: z.ZodOptional<z.ZodObject<{
|
|
1102
|
-
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1103
|
-
name: z.ZodString;
|
|
1104
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1105
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1106
|
-
inputSchema: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
1107
|
-
outputSchema: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1108
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1109
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
1110
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1111
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1112
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1113
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1114
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1115
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1116
|
-
}, z.core.$strict>>;
|
|
1117
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1118
|
-
}, z.core.$strict>>>;
|
|
1119
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
}, z.core.$strict>>;
|
|
1121
|
-
toolsCall: z.ZodOptional<z.ZodObject<{
|
|
1122
|
-
toolName: z.ZodString;
|
|
1123
|
-
arguments: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1124
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1125
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1126
|
-
code: z.ZodNumber;
|
|
1127
|
-
message: z.ZodString;
|
|
1128
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1129
|
-
}, z.core.$strict>>;
|
|
1130
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
1131
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1132
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1133
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1134
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1135
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1136
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1137
|
-
}, z.core.$strict>>;
|
|
1138
|
-
}, z.core.$strict>>;
|
|
1139
|
-
resources: z.ZodOptional<z.ZodObject<{
|
|
1140
|
-
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1141
|
-
uri: z.ZodString;
|
|
1142
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1143
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1144
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1145
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1147
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1148
|
-
}, z.core.$strict>>>;
|
|
1149
|
-
resourceTemplates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1150
|
-
uriTemplate: z.ZodString;
|
|
1151
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1152
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1153
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1154
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1156
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1157
|
-
}, z.core.$strict>>>;
|
|
1158
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1159
|
-
contents: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1160
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1161
|
-
}, z.core.$strict>>;
|
|
1162
|
-
prompts: z.ZodOptional<z.ZodObject<{
|
|
1163
|
-
prompts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1164
|
-
name: z.ZodString;
|
|
1165
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1166
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1167
|
-
arguments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1168
|
-
name: z.ZodString;
|
|
1169
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1170
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1171
|
-
}, z.core.$strict>>>;
|
|
1172
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1173
|
-
}, z.core.$strict>>>;
|
|
1174
|
-
promptName: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1176
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1177
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
}, z.core.$strict>>;
|
|
1179
|
-
sampling: z.ZodOptional<z.ZodObject<{
|
|
1180
|
-
request: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1181
|
-
response: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1182
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
stopReason: z.ZodOptional<z.ZodString>;
|
|
1184
|
-
}, z.core.$strict>>;
|
|
1185
|
-
wire: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
|
-
direction: z.ZodEnum<{
|
|
1187
|
-
"client-to-server": "client-to-server";
|
|
1188
|
-
"server-to-client": "server-to-client";
|
|
1189
|
-
}>;
|
|
1190
|
-
transport: z.ZodEnum<{
|
|
1191
|
-
stdio: "stdio";
|
|
1192
|
-
"streamable-http": "streamable-http";
|
|
1193
|
-
"legacy-sse": "legacy-sse";
|
|
1194
|
-
}>;
|
|
1195
|
-
rawFrame: z.ZodOptional<z.ZodString>;
|
|
1196
|
-
rawBody: z.ZodOptional<z.ZodString>;
|
|
1197
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1198
|
-
frameRef: z.ZodOptional<z.ZodString>;
|
|
1199
|
-
rawBodyRef: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
frameHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1201
|
-
rawBodyHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1202
|
-
http: z.ZodOptional<z.ZodObject<{
|
|
1203
|
-
method: z.ZodOptional<z.ZodString>;
|
|
1204
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
-
headersHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1206
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
1207
|
-
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
1208
|
-
sseEventId: z.ZodOptional<z.ZodString>;
|
|
1209
|
-
sseEventType: z.ZodOptional<z.ZodString>;
|
|
1210
|
-
}, z.core.$strict>>;
|
|
1211
|
-
stdio: z.ZodOptional<z.ZodObject<{
|
|
1212
|
-
stream: z.ZodEnum<{
|
|
1213
|
-
stdout: "stdout";
|
|
1214
|
-
stderr: "stderr";
|
|
1215
|
-
stdin: "stdin";
|
|
1216
|
-
}>;
|
|
1217
|
-
lineHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1218
|
-
}, z.core.$strict>>;
|
|
1219
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1220
|
-
}, z.core.$strict>>>;
|
|
1221
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1222
|
-
}, z.core.$strict>>;
|
|
1223
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
1224
|
-
status: z.ZodEnum<{
|
|
1225
|
-
reproducible: "reproducible";
|
|
1226
|
-
recoverable: "recoverable";
|
|
1227
|
-
insufficient: "insufficient";
|
|
1228
|
-
}>;
|
|
1229
|
-
score: z.ZodNumber;
|
|
1230
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1231
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1232
|
-
evidencePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1233
|
-
supportedTransports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1234
|
-
stdio: "stdio";
|
|
1235
|
-
"streamable-http": "streamable-http";
|
|
1236
|
-
"legacy-sse": "legacy-sse";
|
|
1237
|
-
}>>>;
|
|
1238
|
-
eventCoverage: z.ZodOptional<z.ZodObject<{
|
|
1239
|
-
initialize: z.ZodBoolean;
|
|
1240
|
-
toolsList: z.ZodNumber;
|
|
1241
|
-
toolsCall: z.ZodNumber;
|
|
1242
|
-
resources: z.ZodNumber;
|
|
1243
|
-
prompts: z.ZodNumber;
|
|
1244
|
-
sampling: z.ZodNumber;
|
|
1245
|
-
replayableEvents: z.ZodNumber;
|
|
1246
|
-
}, z.core.$strict>>;
|
|
1247
|
-
}, z.core.$strict>>;
|
|
1248
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1249
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1250
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
1251
|
-
retriever: "retriever";
|
|
1252
|
-
trace_only: "trace_only";
|
|
1253
|
-
}>>;
|
|
1254
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
question: z.ZodOptional<z.ZodString>;
|
|
1257
|
-
retrievals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1258
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1259
|
-
query: z.ZodOptional<z.ZodString>;
|
|
1260
|
-
rewrittenQuery: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1262
|
-
providerHost: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
providerHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1264
|
-
providerBaseUrl: z.ZodOptional<z.ZodString>;
|
|
1265
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
1266
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1268
|
-
index: z.ZodOptional<z.ZodString>;
|
|
1269
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
topK: z.ZodOptional<z.ZodNumber>;
|
|
1271
|
-
retriever: z.ZodOptional<z.ZodString>;
|
|
1272
|
-
embeddingModel: z.ZodOptional<z.ZodString>;
|
|
1273
|
-
filtersMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1274
|
-
topKMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1275
|
-
indexMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1276
|
-
retrieverMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1277
|
-
embeddingModelMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
-
queryMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
-
providerMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1280
|
-
providerHostMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1281
|
-
frameworkMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1282
|
-
vectorStoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1283
|
-
namespaceMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1284
|
-
queryUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1285
|
-
providerUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1286
|
-
providerHostUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1287
|
-
frameworkUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1288
|
-
vectorStoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1289
|
-
namespaceUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1290
|
-
filtersUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1291
|
-
topKUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1292
|
-
indexUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1293
|
-
retrieverUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1294
|
-
embeddingModelUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1295
|
-
reranker: z.ZodOptional<z.ZodString>;
|
|
1296
|
-
rerankerModel: z.ZodOptional<z.ZodString>;
|
|
1297
|
-
providerReplayAdapter: z.ZodOptional<z.ZodObject<{
|
|
1298
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1299
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
1300
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
1301
|
-
adapter: z.ZodString;
|
|
1302
|
-
sdk: z.ZodOptional<z.ZodString>;
|
|
1303
|
-
sdkPackage: z.ZodOptional<z.ZodString>;
|
|
1304
|
-
sdkVersion: z.ZodOptional<z.ZodString>;
|
|
1305
|
-
e2eStatus: z.ZodOptional<z.ZodEnum<{
|
|
1306
|
-
verified: "verified";
|
|
1307
|
-
passed: "passed";
|
|
1308
|
-
}>>;
|
|
1309
|
-
e2eTest: z.ZodOptional<z.ZodString>;
|
|
1310
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1311
|
-
}, z.core.$loose>>;
|
|
1312
|
-
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1313
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1314
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
1315
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
1316
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1317
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1318
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1320
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1321
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
1322
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1323
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1324
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1325
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1326
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1327
|
-
}, z.core.$loose>>>;
|
|
1328
|
-
rerankedResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1329
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1330
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
1331
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
1332
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1333
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1334
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1335
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1336
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1337
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
1338
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1339
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1340
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1341
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1342
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1343
|
-
}, z.core.$loose>>>;
|
|
1344
|
-
}, z.core.$loose>>>;
|
|
1345
|
-
retrievedChunks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1346
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1347
|
-
chunkId: z.ZodOptional<z.ZodString>;
|
|
1348
|
-
documentId: z.ZodOptional<z.ZodString>;
|
|
1349
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1350
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1351
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1352
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1353
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
-
scoreMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1356
|
-
rankMissing: z.ZodOptional<z.ZodBoolean>;
|
|
1357
|
-
scoreUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1358
|
-
rankUnavailableReason: z.ZodOptional<z.ZodString>;
|
|
1359
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1360
|
-
}, z.core.$loose>>>;
|
|
1361
|
-
prompt: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1362
|
-
answer: z.ZodOptional<z.ZodUnknown>;
|
|
1363
|
-
citations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1364
|
-
evidence: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1365
|
-
humanEvidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1366
|
-
kind: z.ZodEnum<{
|
|
1367
|
-
approval: "approval";
|
|
1368
|
-
reviewer_decision: "reviewer_decision";
|
|
1369
|
-
user_reply: "user_reply";
|
|
1370
|
-
manual_score: "manual_score";
|
|
1371
|
-
rubric: "rubric";
|
|
1372
|
-
support_escalation: "support_escalation";
|
|
1373
|
-
}>;
|
|
1374
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
timestamp: z.ZodOptional<z.ZodString>;
|
|
1377
|
-
actor: z.ZodOptional<z.ZodString>;
|
|
1378
|
-
actorRole: z.ZodOptional<z.ZodString>;
|
|
1379
|
-
reviewer: z.ZodOptional<z.ZodString>;
|
|
1380
|
-
reviewerRole: z.ZodOptional<z.ZodString>;
|
|
1381
|
-
decision: z.ZodOptional<z.ZodString>;
|
|
1382
|
-
status: z.ZodOptional<z.ZodString>;
|
|
1383
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
1384
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1385
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
1386
|
-
maxScore: z.ZodOptional<z.ZodNumber>;
|
|
1387
|
-
passed: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
-
rubric: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1389
|
-
criteria: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1390
|
-
escalationTarget: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
escalationReason: z.ZodOptional<z.ZodString>;
|
|
1392
|
-
ticketId: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
queue: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
priority: z.ZodOptional<z.ZodString>;
|
|
1395
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
|
-
service: z.ZodString;
|
|
1397
|
-
type: z.ZodString;
|
|
1398
|
-
id: z.ZodString;
|
|
1399
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1400
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
1401
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1402
|
-
}, z.core.$loose>>>;
|
|
1403
|
-
evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1404
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1405
|
-
}, z.core.$loose>>>;
|
|
1406
|
-
providerReplayAdapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1407
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
framework: z.ZodOptional<z.ZodString>;
|
|
1409
|
-
vectorStore: z.ZodOptional<z.ZodString>;
|
|
1410
|
-
adapter: z.ZodString;
|
|
1411
|
-
sdk: z.ZodOptional<z.ZodString>;
|
|
1412
|
-
sdkPackage: z.ZodOptional<z.ZodString>;
|
|
1413
|
-
sdkVersion: z.ZodOptional<z.ZodString>;
|
|
1414
|
-
e2eStatus: z.ZodOptional<z.ZodEnum<{
|
|
1415
|
-
verified: "verified";
|
|
1416
|
-
passed: "passed";
|
|
1417
|
-
}>>;
|
|
1418
|
-
e2eTest: z.ZodOptional<z.ZodString>;
|
|
1419
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1420
|
-
}, z.core.$loose>>>;
|
|
1421
|
-
requiresCitations: z.ZodOptional<z.ZodBoolean>;
|
|
1422
|
-
citationBehavior: z.ZodOptional<z.ZodString>;
|
|
1423
|
-
failure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1424
|
-
sourceSnapshot: z.ZodOptional<z.ZodObject<{
|
|
1425
|
-
source: z.ZodOptional<z.ZodString>;
|
|
1426
|
-
index: z.ZodOptional<z.ZodString>;
|
|
1427
|
-
capturedAt: z.ZodOptional<z.ZodString>;
|
|
1428
|
-
expectedDocumentCount: z.ZodOptional<z.ZodNumber>;
|
|
1429
|
-
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1430
|
-
id: z.ZodString;
|
|
1431
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1432
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1433
|
-
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1434
|
-
indexedVersion: z.ZodOptional<z.ZodString>;
|
|
1435
|
-
sourceLastModified: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
indexedAt: z.ZodOptional<z.ZodString>;
|
|
1437
|
-
checksum: z.ZodOptional<z.ZodString>;
|
|
1438
|
-
isStale: z.ZodOptional<z.ZodBoolean>;
|
|
1439
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1440
|
-
}, z.core.$loose>>>;
|
|
1441
|
-
}, z.core.$loose>>;
|
|
1442
|
-
schema: z.ZodLiteral<"archal.agent-surface.rag-replay">;
|
|
1443
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
1444
|
-
schema: z.ZodLiteral<"archal.saas-api.replay-capsule">;
|
|
1445
|
-
version: z.ZodLiteral<1>;
|
|
1446
|
-
capsuleId: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
1448
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1449
|
-
tenant: z.ZodOptional<z.ZodObject<{
|
|
1450
|
-
service: z.ZodString;
|
|
1451
|
-
tenantId: z.ZodString;
|
|
1452
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1453
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
1454
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1455
|
-
plan: z.ZodOptional<z.ZodString>;
|
|
1456
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1457
|
-
}, z.core.$strict>>;
|
|
1458
|
-
principal: z.ZodOptional<z.ZodObject<{
|
|
1459
|
-
type: z.ZodEnum<{
|
|
1460
|
-
unknown: "unknown";
|
|
1461
|
-
bot: "bot";
|
|
1462
|
-
app: "app";
|
|
1463
|
-
api_key: "api_key";
|
|
1464
|
-
system: "system";
|
|
1465
|
-
human: "human";
|
|
1466
|
-
service_account: "service_account";
|
|
1467
|
-
oauth_client: "oauth_client";
|
|
1468
|
-
}>;
|
|
1469
|
-
principalId: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
1471
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1472
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1473
|
-
authScheme: z.ZodOptional<z.ZodString>;
|
|
1474
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1475
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1476
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1477
|
-
}, z.core.$strict>>;
|
|
1478
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1479
|
-
metadata: z.ZodObject<{
|
|
1480
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
1481
|
-
service: z.ZodString;
|
|
1482
|
-
surface: z.ZodEnum<{
|
|
1483
|
-
rest: "rest";
|
|
1484
|
-
mcp: "mcp";
|
|
1485
|
-
webhook: "webhook";
|
|
1486
|
-
sdk: "sdk";
|
|
1487
|
-
graphql: "graphql";
|
|
1488
|
-
websocket: "websocket";
|
|
1489
|
-
cli: "cli";
|
|
1490
|
-
}>;
|
|
1491
|
-
name: z.ZodString;
|
|
1492
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1493
|
-
create: "create";
|
|
1494
|
-
update: "update";
|
|
1495
|
-
delete: "delete";
|
|
1496
|
-
write: "write";
|
|
1497
|
-
read: "read";
|
|
1498
|
-
observe: "observe";
|
|
1499
|
-
upsert: "upsert";
|
|
1500
|
-
}>>;
|
|
1501
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1502
|
-
principalId: z.ZodOptional<z.ZodString>;
|
|
1503
|
-
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1504
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1505
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1506
|
-
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1507
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1508
|
-
requestId: z.ZodOptional<z.ZodString>;
|
|
1509
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1510
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
1511
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1512
|
-
parentOperationId: z.ZodOptional<z.ZodString>;
|
|
1513
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1514
|
-
}, z.core.$strict>;
|
|
1515
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1516
|
-
source: z.ZodEnum<{
|
|
1517
|
-
file: "file";
|
|
1518
|
-
blob: "blob";
|
|
1519
|
-
artifact: "artifact";
|
|
1520
|
-
other: "other";
|
|
1521
|
-
trace_span: "trace_span";
|
|
1522
|
-
otel_event: "otel_event";
|
|
1523
|
-
http_archive: "http_archive";
|
|
1524
|
-
mcp_transcript: "mcp_transcript";
|
|
1525
|
-
cli_transcript: "cli_transcript";
|
|
1526
|
-
sdk_trace: "sdk_trace";
|
|
1527
|
-
webhook_delivery: "webhook_delivery";
|
|
1528
|
-
websocket_frame: "websocket_frame";
|
|
1529
|
-
log: "log";
|
|
1530
|
-
}>;
|
|
1531
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1532
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1533
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1534
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1535
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1536
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
1537
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1538
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1539
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
1540
|
-
}, z.core.$strict>>>;
|
|
1541
|
-
request: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1542
|
-
surface: z.ZodLiteral<"rest">;
|
|
1543
|
-
method: z.ZodEnum<{
|
|
1544
|
-
GET: "GET";
|
|
1545
|
-
HEAD: "HEAD";
|
|
1546
|
-
POST: "POST";
|
|
1547
|
-
PUT: "PUT";
|
|
1548
|
-
PATCH: "PATCH";
|
|
1549
|
-
DELETE: "DELETE";
|
|
1550
|
-
OPTIONS: "OPTIONS";
|
|
1551
|
-
}>;
|
|
1552
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1553
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1554
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1555
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1556
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1557
|
-
bodySha256: z.ZodOptional<z.ZodString>;
|
|
1558
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1559
|
-
surface: z.ZodLiteral<"graphql">;
|
|
1560
|
-
operationType: z.ZodOptional<z.ZodEnum<{
|
|
1561
|
-
query: "query";
|
|
1562
|
-
subscription: "subscription";
|
|
1563
|
-
mutation: "mutation";
|
|
1564
|
-
}>>;
|
|
1565
|
-
operationName: z.ZodOptional<z.ZodString>;
|
|
1566
|
-
document: z.ZodOptional<z.ZodString>;
|
|
1567
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1568
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1569
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1570
|
-
surface: z.ZodLiteral<"mcp">;
|
|
1571
|
-
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
1572
|
-
method: z.ZodOptional<z.ZodString>;
|
|
1573
|
-
toolName: z.ZodOptional<z.ZodString>;
|
|
1574
|
-
arguments: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1575
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1576
|
-
surface: z.ZodLiteral<"webhook">;
|
|
1577
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
1578
|
-
deliveryId: z.ZodOptional<z.ZodString>;
|
|
1579
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1580
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1581
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1582
|
-
surface: z.ZodLiteral<"websocket">;
|
|
1583
|
-
direction: z.ZodEnum<{
|
|
1584
|
-
inbound: "inbound";
|
|
1585
|
-
outbound: "outbound";
|
|
1586
|
-
}>;
|
|
1587
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1588
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
1589
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1591
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1592
|
-
surface: z.ZodLiteral<"cli">;
|
|
1593
|
-
command: z.ZodString;
|
|
1594
|
-
argv: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1595
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
1596
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1597
|
-
stdin: z.ZodOptional<z.ZodString>;
|
|
1598
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1599
|
-
surface: z.ZodLiteral<"sdk">;
|
|
1600
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1601
|
-
packageVersion: z.ZodOptional<z.ZodString>;
|
|
1602
|
-
className: z.ZodOptional<z.ZodString>;
|
|
1603
|
-
method: z.ZodString;
|
|
1604
|
-
arguments: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1605
|
-
}, z.core.$strict>], "surface">>;
|
|
1606
|
-
response: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1607
|
-
surface: z.ZodLiteral<"rest">;
|
|
1608
|
-
statusCode: z.ZodNumber;
|
|
1609
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1610
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1611
|
-
bodySha256: z.ZodOptional<z.ZodString>;
|
|
1612
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1613
|
-
surface: z.ZodLiteral<"graphql">;
|
|
1614
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1616
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1617
|
-
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1618
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1619
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1620
|
-
surface: z.ZodLiteral<"mcp">;
|
|
1621
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1622
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1623
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1624
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1625
|
-
message: z.ZodString;
|
|
1626
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1627
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1628
|
-
}, z.core.$strict>>;
|
|
1629
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1630
|
-
surface: z.ZodLiteral<"webhook">;
|
|
1631
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
-
accepted: z.ZodOptional<z.ZodBoolean>;
|
|
1633
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1634
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1635
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1636
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1637
|
-
message: z.ZodString;
|
|
1638
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1639
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1640
|
-
}, z.core.$strict>>;
|
|
1641
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1642
|
-
surface: z.ZodLiteral<"websocket">;
|
|
1643
|
-
direction: z.ZodEnum<{
|
|
1644
|
-
inbound: "inbound";
|
|
1645
|
-
outbound: "outbound";
|
|
1646
|
-
}>;
|
|
1647
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
1648
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
1649
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1650
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1651
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1653
|
-
message: z.ZodString;
|
|
1654
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1655
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1656
|
-
}, z.core.$strict>>;
|
|
1657
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1658
|
-
surface: z.ZodLiteral<"cli">;
|
|
1659
|
-
exitCode: z.ZodNumber;
|
|
1660
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
1661
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
1662
|
-
signal: z.ZodOptional<z.ZodString>;
|
|
1663
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1664
|
-
surface: z.ZodLiteral<"sdk">;
|
|
1665
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1666
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1667
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1668
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1669
|
-
message: z.ZodString;
|
|
1670
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1671
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1672
|
-
}, z.core.$strict>>;
|
|
1673
|
-
}, z.core.$strict>], "surface">>;
|
|
1674
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1675
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1676
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1677
|
-
message: z.ZodString;
|
|
1678
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1679
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1680
|
-
}, z.core.$strict>>;
|
|
1681
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1682
|
-
service: z.ZodString;
|
|
1683
|
-
type: z.ZodString;
|
|
1684
|
-
id: z.ZodString;
|
|
1685
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1686
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1687
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1689
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1690
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1691
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1692
|
-
}, z.core.$strict>>>;
|
|
1693
|
-
readSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1694
|
-
service: z.ZodString;
|
|
1695
|
-
type: z.ZodString;
|
|
1696
|
-
id: z.ZodString;
|
|
1697
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1698
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1699
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1700
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1701
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1702
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1703
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1704
|
-
}, z.core.$strict>>>;
|
|
1705
|
-
writeSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1706
|
-
service: z.ZodString;
|
|
1707
|
-
type: z.ZodString;
|
|
1708
|
-
id: z.ZodString;
|
|
1709
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1710
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1711
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1712
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1713
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1714
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1715
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1716
|
-
}, z.core.$strict>>>;
|
|
1717
|
-
stateBefore: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1718
|
-
ref: z.ZodObject<{
|
|
1719
|
-
service: z.ZodString;
|
|
1720
|
-
type: z.ZodString;
|
|
1721
|
-
id: z.ZodString;
|
|
1722
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1723
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1724
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1725
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1726
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1727
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1728
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1729
|
-
}, z.core.$strict>;
|
|
1730
|
-
value: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
1731
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1732
|
-
adapter: z.ZodOptional<z.ZodString>;
|
|
1733
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
1734
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
1735
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
1736
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1737
|
-
source: z.ZodEnum<{
|
|
1738
|
-
file: "file";
|
|
1739
|
-
blob: "blob";
|
|
1740
|
-
artifact: "artifact";
|
|
1741
|
-
other: "other";
|
|
1742
|
-
trace_span: "trace_span";
|
|
1743
|
-
otel_event: "otel_event";
|
|
1744
|
-
http_archive: "http_archive";
|
|
1745
|
-
mcp_transcript: "mcp_transcript";
|
|
1746
|
-
cli_transcript: "cli_transcript";
|
|
1747
|
-
sdk_trace: "sdk_trace";
|
|
1748
|
-
webhook_delivery: "webhook_delivery";
|
|
1749
|
-
websocket_frame: "websocket_frame";
|
|
1750
|
-
log: "log";
|
|
1751
|
-
}>;
|
|
1752
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1753
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1754
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1755
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1756
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1757
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
1758
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1759
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1760
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
1761
|
-
}, z.core.$strict>>>;
|
|
1762
|
-
}, z.core.$strict>>>;
|
|
1763
|
-
stateAfter: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1764
|
-
ref: z.ZodObject<{
|
|
1765
|
-
service: z.ZodString;
|
|
1766
|
-
type: z.ZodString;
|
|
1767
|
-
id: z.ZodString;
|
|
1768
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1769
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1770
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1771
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1772
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1773
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1774
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1775
|
-
}, z.core.$strict>;
|
|
1776
|
-
value: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
1777
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1778
|
-
adapter: z.ZodOptional<z.ZodString>;
|
|
1779
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
1780
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
1781
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
1782
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1783
|
-
source: z.ZodEnum<{
|
|
1784
|
-
file: "file";
|
|
1785
|
-
blob: "blob";
|
|
1786
|
-
artifact: "artifact";
|
|
1787
|
-
other: "other";
|
|
1788
|
-
trace_span: "trace_span";
|
|
1789
|
-
otel_event: "otel_event";
|
|
1790
|
-
http_archive: "http_archive";
|
|
1791
|
-
mcp_transcript: "mcp_transcript";
|
|
1792
|
-
cli_transcript: "cli_transcript";
|
|
1793
|
-
sdk_trace: "sdk_trace";
|
|
1794
|
-
webhook_delivery: "webhook_delivery";
|
|
1795
|
-
websocket_frame: "websocket_frame";
|
|
1796
|
-
log: "log";
|
|
1797
|
-
}>;
|
|
1798
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1799
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1800
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1801
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1802
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1803
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
1804
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1806
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
}, z.core.$strict>>>;
|
|
1808
|
-
}, z.core.$strict>>>;
|
|
1809
|
-
stateDiff: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1810
|
-
ref: z.ZodObject<{
|
|
1811
|
-
service: z.ZodString;
|
|
1812
|
-
type: z.ZodString;
|
|
1813
|
-
id: z.ZodString;
|
|
1814
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1815
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1816
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1817
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1818
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1819
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1820
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1821
|
-
}, z.core.$strict>;
|
|
1822
|
-
op: z.ZodDefault<z.ZodEnum<{
|
|
1823
|
-
unknown: "unknown";
|
|
1824
|
-
created: "created";
|
|
1825
|
-
updated: "updated";
|
|
1826
|
-
deleted: "deleted";
|
|
1827
|
-
unchanged: "unchanged";
|
|
1828
|
-
}>>;
|
|
1829
|
-
before: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1830
|
-
after: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1831
|
-
patch: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1832
|
-
op: z.ZodEnum<{
|
|
1833
|
-
remove: "remove";
|
|
1834
|
-
replace: "replace";
|
|
1835
|
-
add: "add";
|
|
1836
|
-
delete: "delete";
|
|
1837
|
-
copy: "copy";
|
|
1838
|
-
test: "test";
|
|
1839
|
-
move: "move";
|
|
1840
|
-
upsert: "upsert";
|
|
1841
|
-
}>;
|
|
1842
|
-
path: z.ZodString;
|
|
1843
|
-
from: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
value: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1845
|
-
}, z.core.$strict>>>;
|
|
1846
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1847
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1848
|
-
source: z.ZodEnum<{
|
|
1849
|
-
file: "file";
|
|
1850
|
-
blob: "blob";
|
|
1851
|
-
artifact: "artifact";
|
|
1852
|
-
other: "other";
|
|
1853
|
-
trace_span: "trace_span";
|
|
1854
|
-
otel_event: "otel_event";
|
|
1855
|
-
http_archive: "http_archive";
|
|
1856
|
-
mcp_transcript: "mcp_transcript";
|
|
1857
|
-
cli_transcript: "cli_transcript";
|
|
1858
|
-
sdk_trace: "sdk_trace";
|
|
1859
|
-
webhook_delivery: "webhook_delivery";
|
|
1860
|
-
websocket_frame: "websocket_frame";
|
|
1861
|
-
log: "log";
|
|
1862
|
-
}>;
|
|
1863
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1865
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1866
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1867
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1868
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
1869
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1870
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1871
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
1872
|
-
}, z.core.$strict>>>;
|
|
1873
|
-
}, z.core.$strict>>>;
|
|
1874
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1875
|
-
jobId: z.ZodString;
|
|
1876
|
-
status: z.ZodEnum<{
|
|
1877
|
-
unknown: "unknown";
|
|
1878
|
-
failed: "failed";
|
|
1879
|
-
cancelled: "cancelled";
|
|
1880
|
-
queued: "queued";
|
|
1881
|
-
succeeded: "succeeded";
|
|
1882
|
-
running: "running";
|
|
1883
|
-
}>;
|
|
1884
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1885
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1886
|
-
service: z.ZodString;
|
|
1887
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1889
|
-
service: z.ZodString;
|
|
1890
|
-
type: z.ZodString;
|
|
1891
|
-
id: z.ZodString;
|
|
1892
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1893
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1894
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
1895
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1896
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1897
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1898
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1899
|
-
}, z.core.$strict>>>;
|
|
1900
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1901
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1902
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1903
|
-
source: z.ZodEnum<{
|
|
1904
|
-
file: "file";
|
|
1905
|
-
blob: "blob";
|
|
1906
|
-
artifact: "artifact";
|
|
1907
|
-
other: "other";
|
|
1908
|
-
trace_span: "trace_span";
|
|
1909
|
-
otel_event: "otel_event";
|
|
1910
|
-
http_archive: "http_archive";
|
|
1911
|
-
mcp_transcript: "mcp_transcript";
|
|
1912
|
-
cli_transcript: "cli_transcript";
|
|
1913
|
-
sdk_trace: "sdk_trace";
|
|
1914
|
-
webhook_delivery: "webhook_delivery";
|
|
1915
|
-
websocket_frame: "websocket_frame";
|
|
1916
|
-
log: "log";
|
|
1917
|
-
}>;
|
|
1918
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1919
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1920
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1921
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1922
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
1923
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
1924
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
1925
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1926
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
1927
|
-
}, z.core.$strict>>>;
|
|
1928
|
-
kind: z.ZodLiteral<"async_job">;
|
|
1929
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1930
|
-
deliveryId: z.ZodOptional<z.ZodString>;
|
|
1931
|
-
eventType: z.ZodString;
|
|
1932
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
1933
|
-
status: z.ZodEnum<{
|
|
1934
|
-
unknown: "unknown";
|
|
1935
|
-
failed: "failed";
|
|
1936
|
-
pending: "pending";
|
|
1937
|
-
dropped: "dropped";
|
|
1938
|
-
delivered: "delivered";
|
|
1939
|
-
}>;
|
|
1940
|
-
response: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1941
|
-
surface: z.ZodLiteral<"rest">;
|
|
1942
|
-
statusCode: z.ZodNumber;
|
|
1943
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1944
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1945
|
-
bodySha256: z.ZodOptional<z.ZodString>;
|
|
1946
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1947
|
-
surface: z.ZodLiteral<"graphql">;
|
|
1948
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1949
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1950
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1951
|
-
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
1952
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1953
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1954
|
-
surface: z.ZodLiteral<"mcp">;
|
|
1955
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1956
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1957
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1958
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1959
|
-
message: z.ZodString;
|
|
1960
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1961
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1962
|
-
}, z.core.$strict>>;
|
|
1963
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1964
|
-
surface: z.ZodLiteral<"webhook">;
|
|
1965
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
1966
|
-
accepted: z.ZodOptional<z.ZodBoolean>;
|
|
1967
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1968
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1969
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1970
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1971
|
-
message: z.ZodString;
|
|
1972
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1973
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1974
|
-
}, z.core.$strict>>;
|
|
1975
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1976
|
-
surface: z.ZodLiteral<"websocket">;
|
|
1977
|
-
direction: z.ZodEnum<{
|
|
1978
|
-
inbound: "inbound";
|
|
1979
|
-
outbound: "outbound";
|
|
1980
|
-
}>;
|
|
1981
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
1982
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
1983
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1984
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1985
|
-
code: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1987
|
-
message: z.ZodString;
|
|
1988
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
1990
|
-
}, z.core.$strict>>;
|
|
1991
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1992
|
-
surface: z.ZodLiteral<"cli">;
|
|
1993
|
-
exitCode: z.ZodNumber;
|
|
1994
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
1995
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
1996
|
-
signal: z.ZodOptional<z.ZodString>;
|
|
1997
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1998
|
-
surface: z.ZodLiteral<"sdk">;
|
|
1999
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2000
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
2001
|
-
code: z.ZodOptional<z.ZodString>;
|
|
2002
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
message: z.ZodString;
|
|
2004
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2005
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2006
|
-
}, z.core.$strict>>;
|
|
2007
|
-
}, z.core.$strict>], "surface">>;
|
|
2008
|
-
service: z.ZodString;
|
|
2009
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2010
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2011
|
-
service: z.ZodString;
|
|
2012
|
-
type: z.ZodString;
|
|
2013
|
-
id: z.ZodString;
|
|
2014
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2015
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2016
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2017
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2018
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2019
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2020
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2021
|
-
}, z.core.$strict>>>;
|
|
2022
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2023
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2024
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2025
|
-
source: z.ZodEnum<{
|
|
2026
|
-
file: "file";
|
|
2027
|
-
blob: "blob";
|
|
2028
|
-
artifact: "artifact";
|
|
2029
|
-
other: "other";
|
|
2030
|
-
trace_span: "trace_span";
|
|
2031
|
-
otel_event: "otel_event";
|
|
2032
|
-
http_archive: "http_archive";
|
|
2033
|
-
mcp_transcript: "mcp_transcript";
|
|
2034
|
-
cli_transcript: "cli_transcript";
|
|
2035
|
-
sdk_trace: "sdk_trace";
|
|
2036
|
-
webhook_delivery: "webhook_delivery";
|
|
2037
|
-
websocket_frame: "websocket_frame";
|
|
2038
|
-
log: "log";
|
|
2039
|
-
}>;
|
|
2040
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2041
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2042
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2044
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2045
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2046
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2047
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2048
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2049
|
-
}, z.core.$strict>>>;
|
|
2050
|
-
kind: z.ZodLiteral<"webhook_delivery">;
|
|
2051
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2052
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2053
|
-
eventType: z.ZodString;
|
|
2054
|
-
direction: z.ZodEnum<{
|
|
2055
|
-
inbound: "inbound";
|
|
2056
|
-
outbound: "outbound";
|
|
2057
|
-
}>;
|
|
2058
|
-
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2059
|
-
service: z.ZodString;
|
|
2060
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2061
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2062
|
-
service: z.ZodString;
|
|
2063
|
-
type: z.ZodString;
|
|
2064
|
-
id: z.ZodString;
|
|
2065
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2066
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2067
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2068
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2069
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2070
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2071
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2072
|
-
}, z.core.$strict>>>;
|
|
2073
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2074
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2075
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2076
|
-
source: z.ZodEnum<{
|
|
2077
|
-
file: "file";
|
|
2078
|
-
blob: "blob";
|
|
2079
|
-
artifact: "artifact";
|
|
2080
|
-
other: "other";
|
|
2081
|
-
trace_span: "trace_span";
|
|
2082
|
-
otel_event: "otel_event";
|
|
2083
|
-
http_archive: "http_archive";
|
|
2084
|
-
mcp_transcript: "mcp_transcript";
|
|
2085
|
-
cli_transcript: "cli_transcript";
|
|
2086
|
-
sdk_trace: "sdk_trace";
|
|
2087
|
-
webhook_delivery: "webhook_delivery";
|
|
2088
|
-
websocket_frame: "websocket_frame";
|
|
2089
|
-
log: "log";
|
|
2090
|
-
}>;
|
|
2091
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2092
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2093
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2094
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2095
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2096
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2097
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2098
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2099
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2100
|
-
}, z.core.$strict>>>;
|
|
2101
|
-
kind: z.ZodLiteral<"realtime_event">;
|
|
2102
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2103
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
2105
|
-
direction: z.ZodEnum<{
|
|
2106
|
-
inbound: "inbound";
|
|
2107
|
-
outbound: "outbound";
|
|
2108
|
-
}>;
|
|
2109
|
-
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2110
|
-
service: z.ZodString;
|
|
2111
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2112
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2113
|
-
service: z.ZodString;
|
|
2114
|
-
type: z.ZodString;
|
|
2115
|
-
id: z.ZodString;
|
|
2116
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2117
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2118
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2119
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2120
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2121
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2122
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2123
|
-
}, z.core.$strict>>>;
|
|
2124
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2125
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2126
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2127
|
-
source: z.ZodEnum<{
|
|
2128
|
-
file: "file";
|
|
2129
|
-
blob: "blob";
|
|
2130
|
-
artifact: "artifact";
|
|
2131
|
-
other: "other";
|
|
2132
|
-
trace_span: "trace_span";
|
|
2133
|
-
otel_event: "otel_event";
|
|
2134
|
-
http_archive: "http_archive";
|
|
2135
|
-
mcp_transcript: "mcp_transcript";
|
|
2136
|
-
cli_transcript: "cli_transcript";
|
|
2137
|
-
sdk_trace: "sdk_trace";
|
|
2138
|
-
webhook_delivery: "webhook_delivery";
|
|
2139
|
-
websocket_frame: "websocket_frame";
|
|
2140
|
-
log: "log";
|
|
2141
|
-
}>;
|
|
2142
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2143
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2144
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2145
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2146
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2147
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2148
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2149
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2150
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2151
|
-
}, z.core.$strict>>>;
|
|
2152
|
-
kind: z.ZodLiteral<"websocket_message">;
|
|
2153
|
-
}, z.core.$strict>], "kind">>>;
|
|
2154
|
-
nondeterminismControls: z.ZodOptional<z.ZodObject<{
|
|
2155
|
-
frozenTime: z.ZodOptional<z.ZodISODateTime>;
|
|
2156
|
-
timeZone: z.ZodOptional<z.ZodString>;
|
|
2157
|
-
randomSeed: z.ZodOptional<z.ZodString>;
|
|
2158
|
-
clockToleranceMs: z.ZodOptional<z.ZodNumber>;
|
|
2159
|
-
volatilePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2160
|
-
unorderedPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2161
|
-
idRewrites: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2162
|
-
path: z.ZodString;
|
|
2163
|
-
stableValue: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2164
|
-
actualValueHash: z.ZodOptional<z.ZodString>;
|
|
2165
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
2166
|
-
replacement: z.ZodOptional<z.ZodString>;
|
|
2167
|
-
}, z.core.$strict>>>;
|
|
2168
|
-
headerAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2169
|
-
semanticEquivalence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2170
|
-
path: z.ZodString;
|
|
2171
|
-
mode: z.ZodEnum<{
|
|
2172
|
-
timestamp: "timestamp";
|
|
2173
|
-
set: "set";
|
|
2174
|
-
custom: "custom";
|
|
2175
|
-
exact: "exact";
|
|
2176
|
-
uuid: "uuid";
|
|
2177
|
-
opaque: "opaque";
|
|
2178
|
-
}>;
|
|
2179
|
-
toleranceMs: z.ZodOptional<z.ZodNumber>;
|
|
2180
|
-
}, z.core.$strict>>>;
|
|
2181
|
-
}, z.core.$strict>>;
|
|
2182
|
-
}, z.core.$strict>>>;
|
|
2183
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2184
|
-
source: z.ZodEnum<{
|
|
2185
|
-
file: "file";
|
|
2186
|
-
blob: "blob";
|
|
2187
|
-
artifact: "artifact";
|
|
2188
|
-
other: "other";
|
|
2189
|
-
trace_span: "trace_span";
|
|
2190
|
-
otel_event: "otel_event";
|
|
2191
|
-
http_archive: "http_archive";
|
|
2192
|
-
mcp_transcript: "mcp_transcript";
|
|
2193
|
-
cli_transcript: "cli_transcript";
|
|
2194
|
-
sdk_trace: "sdk_trace";
|
|
2195
|
-
webhook_delivery: "webhook_delivery";
|
|
2196
|
-
websocket_frame: "websocket_frame";
|
|
2197
|
-
log: "log";
|
|
2198
|
-
}>;
|
|
2199
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2200
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2201
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2202
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2203
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2204
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2205
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2206
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2207
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2208
|
-
}, z.core.$strict>>>;
|
|
2209
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2210
|
-
service: z.ZodString;
|
|
2211
|
-
type: z.ZodString;
|
|
2212
|
-
id: z.ZodString;
|
|
2213
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2214
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2215
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2216
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2217
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2218
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2219
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2220
|
-
}, z.core.$strict>>>;
|
|
2221
|
-
readSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2222
|
-
service: z.ZodString;
|
|
2223
|
-
type: z.ZodString;
|
|
2224
|
-
id: z.ZodString;
|
|
2225
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2226
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2227
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2228
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2229
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2230
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2231
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2232
|
-
}, z.core.$strict>>>;
|
|
2233
|
-
writeSet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2234
|
-
service: z.ZodString;
|
|
2235
|
-
type: z.ZodString;
|
|
2236
|
-
id: z.ZodString;
|
|
2237
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2238
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2239
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2240
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2241
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2242
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2243
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2244
|
-
}, z.core.$strict>>>;
|
|
2245
|
-
stateBefore: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2246
|
-
ref: z.ZodObject<{
|
|
2247
|
-
service: z.ZodString;
|
|
2248
|
-
type: z.ZodString;
|
|
2249
|
-
id: z.ZodString;
|
|
2250
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2251
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2252
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2253
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2254
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2255
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2256
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2257
|
-
}, z.core.$strict>;
|
|
2258
|
-
value: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
2259
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2260
|
-
adapter: z.ZodOptional<z.ZodString>;
|
|
2261
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
2262
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2263
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
2264
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2265
|
-
source: z.ZodEnum<{
|
|
2266
|
-
file: "file";
|
|
2267
|
-
blob: "blob";
|
|
2268
|
-
artifact: "artifact";
|
|
2269
|
-
other: "other";
|
|
2270
|
-
trace_span: "trace_span";
|
|
2271
|
-
otel_event: "otel_event";
|
|
2272
|
-
http_archive: "http_archive";
|
|
2273
|
-
mcp_transcript: "mcp_transcript";
|
|
2274
|
-
cli_transcript: "cli_transcript";
|
|
2275
|
-
sdk_trace: "sdk_trace";
|
|
2276
|
-
webhook_delivery: "webhook_delivery";
|
|
2277
|
-
websocket_frame: "websocket_frame";
|
|
2278
|
-
log: "log";
|
|
2279
|
-
}>;
|
|
2280
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2281
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2282
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2283
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2284
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2285
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2286
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2287
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2288
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2289
|
-
}, z.core.$strict>>>;
|
|
2290
|
-
}, z.core.$strict>>>;
|
|
2291
|
-
stateAfter: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2292
|
-
ref: z.ZodObject<{
|
|
2293
|
-
service: z.ZodString;
|
|
2294
|
-
type: z.ZodString;
|
|
2295
|
-
id: z.ZodString;
|
|
2296
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2297
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2298
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2299
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2300
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2301
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2302
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2303
|
-
}, z.core.$strict>;
|
|
2304
|
-
value: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
2305
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2306
|
-
adapter: z.ZodOptional<z.ZodString>;
|
|
2307
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
2308
|
-
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
2309
|
-
etag: z.ZodOptional<z.ZodString>;
|
|
2310
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2311
|
-
source: z.ZodEnum<{
|
|
2312
|
-
file: "file";
|
|
2313
|
-
blob: "blob";
|
|
2314
|
-
artifact: "artifact";
|
|
2315
|
-
other: "other";
|
|
2316
|
-
trace_span: "trace_span";
|
|
2317
|
-
otel_event: "otel_event";
|
|
2318
|
-
http_archive: "http_archive";
|
|
2319
|
-
mcp_transcript: "mcp_transcript";
|
|
2320
|
-
cli_transcript: "cli_transcript";
|
|
2321
|
-
sdk_trace: "sdk_trace";
|
|
2322
|
-
webhook_delivery: "webhook_delivery";
|
|
2323
|
-
websocket_frame: "websocket_frame";
|
|
2324
|
-
log: "log";
|
|
2325
|
-
}>;
|
|
2326
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2327
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2328
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2329
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2330
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2332
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2333
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2334
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2335
|
-
}, z.core.$strict>>>;
|
|
2336
|
-
}, z.core.$strict>>>;
|
|
2337
|
-
stateDiff: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2338
|
-
ref: z.ZodObject<{
|
|
2339
|
-
service: z.ZodString;
|
|
2340
|
-
type: z.ZodString;
|
|
2341
|
-
id: z.ZodString;
|
|
2342
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2343
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2344
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2345
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2346
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2347
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2348
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2349
|
-
}, z.core.$strict>;
|
|
2350
|
-
op: z.ZodDefault<z.ZodEnum<{
|
|
2351
|
-
unknown: "unknown";
|
|
2352
|
-
created: "created";
|
|
2353
|
-
updated: "updated";
|
|
2354
|
-
deleted: "deleted";
|
|
2355
|
-
unchanged: "unchanged";
|
|
2356
|
-
}>>;
|
|
2357
|
-
before: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2358
|
-
after: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2359
|
-
patch: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2360
|
-
op: z.ZodEnum<{
|
|
2361
|
-
remove: "remove";
|
|
2362
|
-
replace: "replace";
|
|
2363
|
-
add: "add";
|
|
2364
|
-
delete: "delete";
|
|
2365
|
-
copy: "copy";
|
|
2366
|
-
test: "test";
|
|
2367
|
-
move: "move";
|
|
2368
|
-
upsert: "upsert";
|
|
2369
|
-
}>;
|
|
2370
|
-
path: z.ZodString;
|
|
2371
|
-
from: z.ZodOptional<z.ZodString>;
|
|
2372
|
-
value: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2373
|
-
}, z.core.$strict>>>;
|
|
2374
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
2375
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2376
|
-
source: z.ZodEnum<{
|
|
2377
|
-
file: "file";
|
|
2378
|
-
blob: "blob";
|
|
2379
|
-
artifact: "artifact";
|
|
2380
|
-
other: "other";
|
|
2381
|
-
trace_span: "trace_span";
|
|
2382
|
-
otel_event: "otel_event";
|
|
2383
|
-
http_archive: "http_archive";
|
|
2384
|
-
mcp_transcript: "mcp_transcript";
|
|
2385
|
-
cli_transcript: "cli_transcript";
|
|
2386
|
-
sdk_trace: "sdk_trace";
|
|
2387
|
-
webhook_delivery: "webhook_delivery";
|
|
2388
|
-
websocket_frame: "websocket_frame";
|
|
2389
|
-
log: "log";
|
|
2390
|
-
}>;
|
|
2391
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2392
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2393
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2394
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2395
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2396
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2397
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2398
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2399
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2400
|
-
}, z.core.$strict>>>;
|
|
2401
|
-
}, z.core.$strict>>>;
|
|
2402
|
-
effects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2403
|
-
jobId: z.ZodString;
|
|
2404
|
-
status: z.ZodEnum<{
|
|
2405
|
-
unknown: "unknown";
|
|
2406
|
-
failed: "failed";
|
|
2407
|
-
cancelled: "cancelled";
|
|
2408
|
-
queued: "queued";
|
|
2409
|
-
succeeded: "succeeded";
|
|
2410
|
-
running: "running";
|
|
2411
|
-
}>;
|
|
2412
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2413
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2414
|
-
service: z.ZodString;
|
|
2415
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2416
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2417
|
-
service: z.ZodString;
|
|
2418
|
-
type: z.ZodString;
|
|
2419
|
-
id: z.ZodString;
|
|
2420
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2421
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2422
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2423
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2424
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2425
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2426
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2427
|
-
}, z.core.$strict>>>;
|
|
2428
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2429
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2430
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2431
|
-
source: z.ZodEnum<{
|
|
2432
|
-
file: "file";
|
|
2433
|
-
blob: "blob";
|
|
2434
|
-
artifact: "artifact";
|
|
2435
|
-
other: "other";
|
|
2436
|
-
trace_span: "trace_span";
|
|
2437
|
-
otel_event: "otel_event";
|
|
2438
|
-
http_archive: "http_archive";
|
|
2439
|
-
mcp_transcript: "mcp_transcript";
|
|
2440
|
-
cli_transcript: "cli_transcript";
|
|
2441
|
-
sdk_trace: "sdk_trace";
|
|
2442
|
-
webhook_delivery: "webhook_delivery";
|
|
2443
|
-
websocket_frame: "websocket_frame";
|
|
2444
|
-
log: "log";
|
|
2445
|
-
}>;
|
|
2446
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2447
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2448
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2449
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2450
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2451
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2452
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2453
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2454
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2455
|
-
}, z.core.$strict>>>;
|
|
2456
|
-
kind: z.ZodLiteral<"async_job">;
|
|
2457
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2458
|
-
deliveryId: z.ZodOptional<z.ZodString>;
|
|
2459
|
-
eventType: z.ZodString;
|
|
2460
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
2461
|
-
status: z.ZodEnum<{
|
|
2462
|
-
unknown: "unknown";
|
|
2463
|
-
failed: "failed";
|
|
2464
|
-
pending: "pending";
|
|
2465
|
-
dropped: "dropped";
|
|
2466
|
-
delivered: "delivered";
|
|
2467
|
-
}>;
|
|
2468
|
-
response: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2469
|
-
surface: z.ZodLiteral<"rest">;
|
|
2470
|
-
statusCode: z.ZodNumber;
|
|
2471
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2472
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2473
|
-
bodySha256: z.ZodOptional<z.ZodString>;
|
|
2474
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2475
|
-
surface: z.ZodLiteral<"graphql">;
|
|
2476
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
2477
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2478
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2479
|
-
extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2480
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2481
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2482
|
-
surface: z.ZodLiteral<"mcp">;
|
|
2483
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2484
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
2485
|
-
code: z.ZodOptional<z.ZodString>;
|
|
2486
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2487
|
-
message: z.ZodString;
|
|
2488
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2489
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2490
|
-
}, z.core.$strict>>;
|
|
2491
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2492
|
-
surface: z.ZodLiteral<"webhook">;
|
|
2493
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
2494
|
-
accepted: z.ZodOptional<z.ZodBoolean>;
|
|
2495
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2496
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
2497
|
-
code: z.ZodOptional<z.ZodString>;
|
|
2498
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2499
|
-
message: z.ZodString;
|
|
2500
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2501
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2502
|
-
}, z.core.$strict>>;
|
|
2503
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2504
|
-
surface: z.ZodLiteral<"websocket">;
|
|
2505
|
-
direction: z.ZodEnum<{
|
|
2506
|
-
inbound: "inbound";
|
|
2507
|
-
outbound: "outbound";
|
|
2508
|
-
}>;
|
|
2509
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2510
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
2511
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2512
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
2513
|
-
code: z.ZodOptional<z.ZodString>;
|
|
2514
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2515
|
-
message: z.ZodString;
|
|
2516
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2517
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2518
|
-
}, z.core.$strict>>;
|
|
2519
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2520
|
-
surface: z.ZodLiteral<"cli">;
|
|
2521
|
-
exitCode: z.ZodNumber;
|
|
2522
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
2523
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
2524
|
-
signal: z.ZodOptional<z.ZodString>;
|
|
2525
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2526
|
-
surface: z.ZodLiteral<"sdk">;
|
|
2527
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2528
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
2529
|
-
code: z.ZodOptional<z.ZodString>;
|
|
2530
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2531
|
-
message: z.ZodString;
|
|
2532
|
-
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
2533
|
-
details: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2534
|
-
}, z.core.$strict>>;
|
|
2535
|
-
}, z.core.$strict>], "surface">>;
|
|
2536
|
-
service: z.ZodString;
|
|
2537
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2538
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2539
|
-
service: z.ZodString;
|
|
2540
|
-
type: z.ZodString;
|
|
2541
|
-
id: z.ZodString;
|
|
2542
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2543
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2544
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2545
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2546
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2547
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2548
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2549
|
-
}, z.core.$strict>>>;
|
|
2550
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2551
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2552
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2553
|
-
source: z.ZodEnum<{
|
|
2554
|
-
file: "file";
|
|
2555
|
-
blob: "blob";
|
|
2556
|
-
artifact: "artifact";
|
|
2557
|
-
other: "other";
|
|
2558
|
-
trace_span: "trace_span";
|
|
2559
|
-
otel_event: "otel_event";
|
|
2560
|
-
http_archive: "http_archive";
|
|
2561
|
-
mcp_transcript: "mcp_transcript";
|
|
2562
|
-
cli_transcript: "cli_transcript";
|
|
2563
|
-
sdk_trace: "sdk_trace";
|
|
2564
|
-
webhook_delivery: "webhook_delivery";
|
|
2565
|
-
websocket_frame: "websocket_frame";
|
|
2566
|
-
log: "log";
|
|
2567
|
-
}>;
|
|
2568
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2569
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2570
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2571
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2572
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2573
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2574
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2575
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2576
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2577
|
-
}, z.core.$strict>>>;
|
|
2578
|
-
kind: z.ZodLiteral<"webhook_delivery">;
|
|
2579
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2580
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2581
|
-
eventType: z.ZodString;
|
|
2582
|
-
direction: z.ZodEnum<{
|
|
2583
|
-
inbound: "inbound";
|
|
2584
|
-
outbound: "outbound";
|
|
2585
|
-
}>;
|
|
2586
|
-
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2587
|
-
service: z.ZodString;
|
|
2588
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2589
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2590
|
-
service: z.ZodString;
|
|
2591
|
-
type: z.ZodString;
|
|
2592
|
-
id: z.ZodString;
|
|
2593
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2594
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2595
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2596
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2597
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2598
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2599
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2600
|
-
}, z.core.$strict>>>;
|
|
2601
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2602
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2603
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2604
|
-
source: z.ZodEnum<{
|
|
2605
|
-
file: "file";
|
|
2606
|
-
blob: "blob";
|
|
2607
|
-
artifact: "artifact";
|
|
2608
|
-
other: "other";
|
|
2609
|
-
trace_span: "trace_span";
|
|
2610
|
-
otel_event: "otel_event";
|
|
2611
|
-
http_archive: "http_archive";
|
|
2612
|
-
mcp_transcript: "mcp_transcript";
|
|
2613
|
-
cli_transcript: "cli_transcript";
|
|
2614
|
-
sdk_trace: "sdk_trace";
|
|
2615
|
-
webhook_delivery: "webhook_delivery";
|
|
2616
|
-
websocket_frame: "websocket_frame";
|
|
2617
|
-
log: "log";
|
|
2618
|
-
}>;
|
|
2619
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2620
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2621
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2622
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2623
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2624
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2625
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2626
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2627
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2628
|
-
}, z.core.$strict>>>;
|
|
2629
|
-
kind: z.ZodLiteral<"realtime_event">;
|
|
2630
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2631
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
2632
|
-
eventType: z.ZodOptional<z.ZodString>;
|
|
2633
|
-
direction: z.ZodEnum<{
|
|
2634
|
-
inbound: "inbound";
|
|
2635
|
-
outbound: "outbound";
|
|
2636
|
-
}>;
|
|
2637
|
-
sequence: z.ZodOptional<z.ZodNumber>;
|
|
2638
|
-
service: z.ZodString;
|
|
2639
|
-
operationId: z.ZodOptional<z.ZodString>;
|
|
2640
|
-
resourceRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2641
|
-
service: z.ZodString;
|
|
2642
|
-
type: z.ZodString;
|
|
2643
|
-
id: z.ZodString;
|
|
2644
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2645
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2646
|
-
apiPath: z.ZodOptional<z.ZodString>;
|
|
2647
|
-
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2648
|
-
rawRefIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2649
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2650
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2651
|
-
}, z.core.$strict>>>;
|
|
2652
|
-
emittedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2653
|
-
payload: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2654
|
-
rawRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2655
|
-
source: z.ZodEnum<{
|
|
2656
|
-
file: "file";
|
|
2657
|
-
blob: "blob";
|
|
2658
|
-
artifact: "artifact";
|
|
2659
|
-
other: "other";
|
|
2660
|
-
trace_span: "trace_span";
|
|
2661
|
-
otel_event: "otel_event";
|
|
2662
|
-
http_archive: "http_archive";
|
|
2663
|
-
mcp_transcript: "mcp_transcript";
|
|
2664
|
-
cli_transcript: "cli_transcript";
|
|
2665
|
-
sdk_trace: "sdk_trace";
|
|
2666
|
-
webhook_delivery: "webhook_delivery";
|
|
2667
|
-
websocket_frame: "websocket_frame";
|
|
2668
|
-
log: "log";
|
|
2669
|
-
}>;
|
|
2670
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2671
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
2672
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2673
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2674
|
-
sha256: z.ZodOptional<z.ZodString>;
|
|
2675
|
-
mediaType: z.ZodOptional<z.ZodString>;
|
|
2676
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2677
|
-
capturedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2678
|
-
redactedPreview: z.ZodOptional<z.ZodString>;
|
|
2679
|
-
}, z.core.$strict>>>;
|
|
2680
|
-
kind: z.ZodLiteral<"websocket_message">;
|
|
2681
|
-
}, z.core.$strict>], "kind">>>;
|
|
2682
|
-
nondeterminismControls: z.ZodOptional<z.ZodObject<{
|
|
2683
|
-
frozenTime: z.ZodOptional<z.ZodISODateTime>;
|
|
2684
|
-
timeZone: z.ZodOptional<z.ZodString>;
|
|
2685
|
-
randomSeed: z.ZodOptional<z.ZodString>;
|
|
2686
|
-
clockToleranceMs: z.ZodOptional<z.ZodNumber>;
|
|
2687
|
-
volatilePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2688
|
-
unorderedPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2689
|
-
idRewrites: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2690
|
-
path: z.ZodString;
|
|
2691
|
-
stableValue: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
2692
|
-
actualValueHash: z.ZodOptional<z.ZodString>;
|
|
2693
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
2694
|
-
replacement: z.ZodOptional<z.ZodString>;
|
|
2695
|
-
}, z.core.$strict>>>;
|
|
2696
|
-
headerAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2697
|
-
semanticEquivalence: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2698
|
-
path: z.ZodString;
|
|
2699
|
-
mode: z.ZodEnum<{
|
|
2700
|
-
timestamp: "timestamp";
|
|
2701
|
-
set: "set";
|
|
2702
|
-
custom: "custom";
|
|
2703
|
-
exact: "exact";
|
|
2704
|
-
uuid: "uuid";
|
|
2705
|
-
opaque: "opaque";
|
|
2706
|
-
}>;
|
|
2707
|
-
toleranceMs: z.ZodOptional<z.ZodNumber>;
|
|
2708
|
-
}, z.core.$strict>>>;
|
|
2709
|
-
}, z.core.$strict>>;
|
|
2710
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
2711
|
-
status: z.ZodEnum<{
|
|
2712
|
-
reproducible: "reproducible";
|
|
2713
|
-
recoverable: "recoverable";
|
|
2714
|
-
insufficient: "insufficient";
|
|
2715
|
-
}>;
|
|
2716
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
2717
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2718
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2719
|
-
evidencePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2720
|
-
supportedServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2721
|
-
supportedSurfaces: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2722
|
-
rest: "rest";
|
|
2723
|
-
mcp: "mcp";
|
|
2724
|
-
webhook: "webhook";
|
|
2725
|
-
sdk: "sdk";
|
|
2726
|
-
graphql: "graphql";
|
|
2727
|
-
websocket: "websocket";
|
|
2728
|
-
cli: "cli";
|
|
2729
|
-
}>>>;
|
|
2730
|
-
}, z.core.$strict>>;
|
|
2731
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2732
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2733
|
-
schema: z.ZodLiteral<"archal.workflow-event-replay-ledger.v1">;
|
|
2734
|
-
version: z.ZodLiteral<1>;
|
|
2735
|
-
ledgerId: z.ZodString;
|
|
2736
|
-
producedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2737
|
-
producer: z.ZodOptional<z.ZodObject<{
|
|
2738
|
-
type: z.ZodEnum<{
|
|
2739
|
-
manual: "manual";
|
|
2740
|
-
http: "http";
|
|
2741
|
-
mcp: "mcp";
|
|
2742
|
-
webhook: "webhook";
|
|
2743
|
-
other: "other";
|
|
2744
|
-
queue: "queue";
|
|
2745
|
-
cli: "cli";
|
|
2746
|
-
"workflow-engine": "workflow-engine";
|
|
2747
|
-
"approval-system": "approval-system";
|
|
2748
|
-
scheduler: "scheduler";
|
|
2749
|
-
}>;
|
|
2750
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2751
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
2752
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
2753
|
-
method: z.ZodOptional<z.ZodString>;
|
|
2754
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
2755
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2756
|
-
account: z.ZodOptional<z.ZodString>;
|
|
2757
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
2758
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2759
|
-
}, z.core.$strict>>;
|
|
2760
|
-
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2761
|
-
eventId: z.ZodString;
|
|
2762
|
-
eventType: z.ZodString;
|
|
2763
|
-
occurredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2764
|
-
recordedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2765
|
-
actor: z.ZodOptional<z.ZodObject<{
|
|
2766
|
-
type: z.ZodEnum<{
|
|
2767
|
-
unknown: "unknown";
|
|
2768
|
-
service: "service";
|
|
2769
|
-
user: "user";
|
|
2770
|
-
agent: "agent";
|
|
2771
|
-
system: "system";
|
|
2772
|
-
"webhook-provider": "webhook-provider";
|
|
2773
|
-
"workflow-engine": "workflow-engine";
|
|
2774
|
-
timer: "timer";
|
|
2775
|
-
}>;
|
|
2776
|
-
id: z.ZodString;
|
|
2777
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2778
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2779
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2780
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2781
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2782
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2783
|
-
}, z.core.$strict>>;
|
|
2784
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
2785
|
-
type: z.ZodEnum<{
|
|
2786
|
-
manual: "manual";
|
|
2787
|
-
http: "http";
|
|
2788
|
-
mcp: "mcp";
|
|
2789
|
-
webhook: "webhook";
|
|
2790
|
-
other: "other";
|
|
2791
|
-
queue: "queue";
|
|
2792
|
-
cli: "cli";
|
|
2793
|
-
"workflow-engine": "workflow-engine";
|
|
2794
|
-
"approval-system": "approval-system";
|
|
2795
|
-
scheduler: "scheduler";
|
|
2796
|
-
}>;
|
|
2797
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2798
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
2799
|
-
operation: z.ZodOptional<z.ZodString>;
|
|
2800
|
-
method: z.ZodOptional<z.ZodString>;
|
|
2801
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
2802
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2803
|
-
account: z.ZodOptional<z.ZodString>;
|
|
2804
|
-
instance: z.ZodOptional<z.ZodString>;
|
|
2805
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2806
|
-
}, z.core.$strict>>;
|
|
2807
|
-
correlation: z.ZodOptional<z.ZodObject<{
|
|
2808
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
2809
|
-
traceId: z.ZodOptional<z.ZodString>;
|
|
2810
|
-
rootTraceId: z.ZodOptional<z.ZodString>;
|
|
2811
|
-
spanId: z.ZodOptional<z.ZodString>;
|
|
2812
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
2813
|
-
runId: z.ZodOptional<z.ZodString>;
|
|
2814
|
-
workflowId: z.ZodOptional<z.ZodString>;
|
|
2815
|
-
approvalId: z.ZodOptional<z.ZodString>;
|
|
2816
|
-
webhookId: z.ZodOptional<z.ZodString>;
|
|
2817
|
-
sagaId: z.ZodOptional<z.ZodString>;
|
|
2818
|
-
requestId: z.ZodOptional<z.ZodString>;
|
|
2819
|
-
externalRequestId: z.ZodOptional<z.ZodString>;
|
|
2820
|
-
}, z.core.$strict>>;
|
|
2821
|
-
causation: z.ZodOptional<z.ZodObject<{
|
|
2822
|
-
causedByEventId: z.ZodOptional<z.ZodString>;
|
|
2823
|
-
parentEventId: z.ZodOptional<z.ZodString>;
|
|
2824
|
-
causedByProviderEventId: z.ZodOptional<z.ZodString>;
|
|
2825
|
-
causedByDeliveryId: z.ZodOptional<z.ZodString>;
|
|
2826
|
-
commandId: z.ZodOptional<z.ZodString>;
|
|
2827
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
2828
|
-
chain: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2829
|
-
}, z.core.$strict>>;
|
|
2830
|
-
objectRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2831
|
-
service: z.ZodString;
|
|
2832
|
-
type: z.ZodString;
|
|
2833
|
-
id: z.ZodString;
|
|
2834
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2835
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
2836
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2837
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2838
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2839
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2840
|
-
}, z.core.$strict>>>;
|
|
2841
|
-
authority: z.ZodOptional<z.ZodObject<{
|
|
2842
|
-
decision: z.ZodEnum<{
|
|
2843
|
-
approved: "approved";
|
|
2844
|
-
pending: "pending";
|
|
2845
|
-
expired: "expired";
|
|
2846
|
-
revoked: "revoked";
|
|
2847
|
-
denied: "denied";
|
|
2848
|
-
delegated: "delegated";
|
|
2849
|
-
}>;
|
|
2850
|
-
subject: z.ZodObject<{
|
|
2851
|
-
service: z.ZodString;
|
|
2852
|
-
type: z.ZodString;
|
|
2853
|
-
id: z.ZodString;
|
|
2854
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2855
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
2856
|
-
version: z.ZodOptional<z.ZodString>;
|
|
2857
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2858
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2859
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2860
|
-
}, z.core.$strict>;
|
|
2861
|
-
grantedBy: z.ZodOptional<z.ZodObject<{
|
|
2862
|
-
type: z.ZodEnum<{
|
|
2863
|
-
unknown: "unknown";
|
|
2864
|
-
service: "service";
|
|
2865
|
-
user: "user";
|
|
2866
|
-
agent: "agent";
|
|
2867
|
-
system: "system";
|
|
2868
|
-
"webhook-provider": "webhook-provider";
|
|
2869
|
-
"workflow-engine": "workflow-engine";
|
|
2870
|
-
timer: "timer";
|
|
2871
|
-
}>;
|
|
2872
|
-
id: z.ZodString;
|
|
2873
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2874
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2875
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2876
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2877
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2878
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2879
|
-
}, z.core.$strict>>;
|
|
2880
|
-
delegatedFrom: z.ZodOptional<z.ZodObject<{
|
|
2881
|
-
type: z.ZodEnum<{
|
|
2882
|
-
unknown: "unknown";
|
|
2883
|
-
service: "service";
|
|
2884
|
-
user: "user";
|
|
2885
|
-
agent: "agent";
|
|
2886
|
-
system: "system";
|
|
2887
|
-
"webhook-provider": "webhook-provider";
|
|
2888
|
-
"workflow-engine": "workflow-engine";
|
|
2889
|
-
timer: "timer";
|
|
2890
|
-
}>;
|
|
2891
|
-
id: z.ZodString;
|
|
2892
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2893
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2894
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2895
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2896
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2897
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2898
|
-
}, z.core.$strict>>;
|
|
2899
|
-
policyId: z.ZodOptional<z.ZodString>;
|
|
2900
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2901
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
2902
|
-
decidedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2903
|
-
validFrom: z.ZodOptional<z.ZodISODateTime>;
|
|
2904
|
-
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
2905
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2906
|
-
}, z.core.$strict>>;
|
|
2907
|
-
quorum: z.ZodOptional<z.ZodObject<{
|
|
2908
|
-
policy: z.ZodOptional<z.ZodString>;
|
|
2909
|
-
required: z.ZodNumber;
|
|
2910
|
-
received: z.ZodNumber;
|
|
2911
|
-
threshold: z.ZodOptional<z.ZodNumber>;
|
|
2912
|
-
voters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2913
|
-
actor: z.ZodObject<{
|
|
2914
|
-
type: z.ZodEnum<{
|
|
2915
|
-
unknown: "unknown";
|
|
2916
|
-
service: "service";
|
|
2917
|
-
user: "user";
|
|
2918
|
-
agent: "agent";
|
|
2919
|
-
system: "system";
|
|
2920
|
-
"webhook-provider": "webhook-provider";
|
|
2921
|
-
"workflow-engine": "workflow-engine";
|
|
2922
|
-
timer: "timer";
|
|
2923
|
-
}>;
|
|
2924
|
-
id: z.ZodString;
|
|
2925
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2926
|
-
service: z.ZodOptional<z.ZodString>;
|
|
2927
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
2928
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2929
|
-
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2930
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
2931
|
-
}, z.core.$strict>;
|
|
2932
|
-
decision: z.ZodEnum<{
|
|
2933
|
-
approved: "approved";
|
|
2934
|
-
pending: "pending";
|
|
2935
|
-
expired: "expired";
|
|
2936
|
-
revoked: "revoked";
|
|
2937
|
-
denied: "denied";
|
|
2938
|
-
delegated: "delegated";
|
|
2939
|
-
}>;
|
|
2940
|
-
weight: z.ZodDefault<z.ZodNumber>;
|
|
2941
|
-
votedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2942
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
2943
|
-
}, z.core.$strict>>>;
|
|
2944
|
-
}, z.core.$strict>>;
|
|
2945
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2946
|
-
providerEventId: z.ZodOptional<z.ZodString>;
|
|
2947
|
-
delivery: z.ZodOptional<z.ZodObject<{
|
|
2948
|
-
deliveryId: z.ZodString;
|
|
2949
|
-
attempt: z.ZodDefault<z.ZodNumber>;
|
|
2950
|
-
providerEventId: z.ZodOptional<z.ZodString>;
|
|
2951
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2952
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2953
|
-
receivedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2954
|
-
acknowledgedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2955
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
2956
|
-
failed: "failed";
|
|
2957
|
-
received: "received";
|
|
2958
|
-
accepted: "accepted";
|
|
2959
|
-
rejected: "rejected";
|
|
2960
|
-
delivered: "delivered";
|
|
2961
|
-
retried: "retried";
|
|
2962
|
-
}>>;
|
|
2963
|
-
endpointHash: z.ZodOptional<z.ZodObject<{
|
|
2964
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
2965
|
-
sha256: "sha256";
|
|
2966
|
-
sha512: "sha512";
|
|
2967
|
-
blake3: "blake3";
|
|
2968
|
-
}>>;
|
|
2969
|
-
value: z.ZodString;
|
|
2970
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
2971
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
2972
|
-
none: "none";
|
|
2973
|
-
opaque: "opaque";
|
|
2974
|
-
structural: "structural";
|
|
2975
|
-
"field-level": "field-level";
|
|
2976
|
-
}>>;
|
|
2977
|
-
}, z.core.$strict>>;
|
|
2978
|
-
}, z.core.$strict>>;
|
|
2979
|
-
request: z.ZodOptional<z.ZodObject<{
|
|
2980
|
-
hash: z.ZodObject<{
|
|
2981
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
2982
|
-
sha256: "sha256";
|
|
2983
|
-
sha512: "sha512";
|
|
2984
|
-
blake3: "blake3";
|
|
2985
|
-
}>>;
|
|
2986
|
-
value: z.ZodString;
|
|
2987
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
2988
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
2989
|
-
none: "none";
|
|
2990
|
-
opaque: "opaque";
|
|
2991
|
-
structural: "structural";
|
|
2992
|
-
"field-level": "field-level";
|
|
2993
|
-
}>>;
|
|
2994
|
-
}, z.core.$strict>;
|
|
2995
|
-
headersHash: z.ZodOptional<z.ZodObject<{
|
|
2996
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
2997
|
-
sha256: "sha256";
|
|
2998
|
-
sha512: "sha512";
|
|
2999
|
-
blake3: "blake3";
|
|
3000
|
-
}>>;
|
|
3001
|
-
value: z.ZodString;
|
|
3002
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3003
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3004
|
-
none: "none";
|
|
3005
|
-
opaque: "opaque";
|
|
3006
|
-
structural: "structural";
|
|
3007
|
-
"field-level": "field-level";
|
|
3008
|
-
}>>;
|
|
3009
|
-
}, z.core.$strict>>;
|
|
3010
|
-
bodyHash: z.ZodOptional<z.ZodObject<{
|
|
3011
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3012
|
-
sha256: "sha256";
|
|
3013
|
-
sha512: "sha512";
|
|
3014
|
-
blake3: "blake3";
|
|
3015
|
-
}>>;
|
|
3016
|
-
value: z.ZodString;
|
|
3017
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3018
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3019
|
-
none: "none";
|
|
3020
|
-
opaque: "opaque";
|
|
3021
|
-
structural: "structural";
|
|
3022
|
-
"field-level": "field-level";
|
|
3023
|
-
}>>;
|
|
3024
|
-
}, z.core.$strict>>;
|
|
3025
|
-
method: z.ZodOptional<z.ZodString>;
|
|
3026
|
-
path: z.ZodOptional<z.ZodString>;
|
|
3027
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
3028
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
3029
|
-
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
3030
|
-
}, z.core.$strict>>;
|
|
3031
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
3032
|
-
hash: z.ZodObject<{
|
|
3033
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3034
|
-
sha256: "sha256";
|
|
3035
|
-
sha512: "sha512";
|
|
3036
|
-
blake3: "blake3";
|
|
3037
|
-
}>>;
|
|
3038
|
-
value: z.ZodString;
|
|
3039
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3040
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3041
|
-
none: "none";
|
|
3042
|
-
opaque: "opaque";
|
|
3043
|
-
structural: "structural";
|
|
3044
|
-
"field-level": "field-level";
|
|
3045
|
-
}>>;
|
|
3046
|
-
}, z.core.$strict>;
|
|
3047
|
-
headersHash: z.ZodOptional<z.ZodObject<{
|
|
3048
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3049
|
-
sha256: "sha256";
|
|
3050
|
-
sha512: "sha512";
|
|
3051
|
-
blake3: "blake3";
|
|
3052
|
-
}>>;
|
|
3053
|
-
value: z.ZodString;
|
|
3054
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3055
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3056
|
-
none: "none";
|
|
3057
|
-
opaque: "opaque";
|
|
3058
|
-
structural: "structural";
|
|
3059
|
-
"field-level": "field-level";
|
|
3060
|
-
}>>;
|
|
3061
|
-
}, z.core.$strict>>;
|
|
3062
|
-
bodyHash: z.ZodOptional<z.ZodObject<{
|
|
3063
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3064
|
-
sha256: "sha256";
|
|
3065
|
-
sha512: "sha512";
|
|
3066
|
-
blake3: "blake3";
|
|
3067
|
-
}>>;
|
|
3068
|
-
value: z.ZodString;
|
|
3069
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3070
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3071
|
-
none: "none";
|
|
3072
|
-
opaque: "opaque";
|
|
3073
|
-
structural: "structural";
|
|
3074
|
-
"field-level": "field-level";
|
|
3075
|
-
}>>;
|
|
3076
|
-
}, z.core.$strict>>;
|
|
3077
|
-
method: z.ZodOptional<z.ZodString>;
|
|
3078
|
-
path: z.ZodOptional<z.ZodString>;
|
|
3079
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
3080
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
3081
|
-
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
3082
|
-
}, z.core.$strict>>;
|
|
3083
|
-
requestHash: z.ZodOptional<z.ZodObject<{
|
|
3084
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3085
|
-
sha256: "sha256";
|
|
3086
|
-
sha512: "sha512";
|
|
3087
|
-
blake3: "blake3";
|
|
3088
|
-
}>>;
|
|
3089
|
-
value: z.ZodString;
|
|
3090
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3091
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3092
|
-
none: "none";
|
|
3093
|
-
opaque: "opaque";
|
|
3094
|
-
structural: "structural";
|
|
3095
|
-
"field-level": "field-level";
|
|
3096
|
-
}>>;
|
|
3097
|
-
}, z.core.$strict>>;
|
|
3098
|
-
responseHash: z.ZodOptional<z.ZodObject<{
|
|
3099
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3100
|
-
sha256: "sha256";
|
|
3101
|
-
sha512: "sha512";
|
|
3102
|
-
blake3: "blake3";
|
|
3103
|
-
}>>;
|
|
3104
|
-
value: z.ZodString;
|
|
3105
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3106
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3107
|
-
none: "none";
|
|
3108
|
-
opaque: "opaque";
|
|
3109
|
-
structural: "structural";
|
|
3110
|
-
"field-level": "field-level";
|
|
3111
|
-
}>>;
|
|
3112
|
-
}, z.core.$strict>>;
|
|
3113
|
-
stateDiff: z.ZodOptional<z.ZodObject<{
|
|
3114
|
-
beforeHash: z.ZodOptional<z.ZodObject<{
|
|
3115
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3116
|
-
sha256: "sha256";
|
|
3117
|
-
sha512: "sha512";
|
|
3118
|
-
blake3: "blake3";
|
|
3119
|
-
}>>;
|
|
3120
|
-
value: z.ZodString;
|
|
3121
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3122
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3123
|
-
none: "none";
|
|
3124
|
-
opaque: "opaque";
|
|
3125
|
-
structural: "structural";
|
|
3126
|
-
"field-level": "field-level";
|
|
3127
|
-
}>>;
|
|
3128
|
-
}, z.core.$strict>>;
|
|
3129
|
-
afterHash: z.ZodOptional<z.ZodObject<{
|
|
3130
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3131
|
-
sha256: "sha256";
|
|
3132
|
-
sha512: "sha512";
|
|
3133
|
-
blake3: "blake3";
|
|
3134
|
-
}>>;
|
|
3135
|
-
value: z.ZodString;
|
|
3136
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3137
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3138
|
-
none: "none";
|
|
3139
|
-
opaque: "opaque";
|
|
3140
|
-
structural: "structural";
|
|
3141
|
-
"field-level": "field-level";
|
|
3142
|
-
}>>;
|
|
3143
|
-
}, z.core.$strict>>;
|
|
3144
|
-
patches: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3145
|
-
op: z.ZodEnum<{
|
|
3146
|
-
remove: "remove";
|
|
3147
|
-
replace: "replace";
|
|
3148
|
-
add: "add";
|
|
3149
|
-
copy: "copy";
|
|
3150
|
-
test: "test";
|
|
3151
|
-
move: "move";
|
|
3152
|
-
}>;
|
|
3153
|
-
path: z.ZodString;
|
|
3154
|
-
from: z.ZodOptional<z.ZodString>;
|
|
3155
|
-
before: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3156
|
-
after: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3157
|
-
value: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3158
|
-
valueHash: z.ZodOptional<z.ZodObject<{
|
|
3159
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3160
|
-
sha256: "sha256";
|
|
3161
|
-
sha512: "sha512";
|
|
3162
|
-
blake3: "blake3";
|
|
3163
|
-
}>>;
|
|
3164
|
-
value: z.ZodString;
|
|
3165
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3166
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3167
|
-
none: "none";
|
|
3168
|
-
opaque: "opaque";
|
|
3169
|
-
structural: "structural";
|
|
3170
|
-
"field-level": "field-level";
|
|
3171
|
-
}>>;
|
|
3172
|
-
}, z.core.$strict>>;
|
|
3173
|
-
objectRef: z.ZodOptional<z.ZodObject<{
|
|
3174
|
-
service: z.ZodString;
|
|
3175
|
-
type: z.ZodString;
|
|
3176
|
-
id: z.ZodString;
|
|
3177
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3178
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
3179
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3180
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
3181
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3182
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3183
|
-
}, z.core.$strict>>;
|
|
3184
|
-
}, z.core.$strict>>>;
|
|
3185
|
-
affectedRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3186
|
-
service: z.ZodString;
|
|
3187
|
-
type: z.ZodString;
|
|
3188
|
-
id: z.ZodString;
|
|
3189
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3190
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
3191
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3192
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
3193
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3194
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3195
|
-
}, z.core.$strict>>>;
|
|
3196
|
-
redactedPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3197
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
3198
|
-
}, z.core.$strict>>;
|
|
3199
|
-
timer: z.ZodOptional<z.ZodObject<{
|
|
3200
|
-
timerId: z.ZodString;
|
|
3201
|
-
kind: z.ZodEnum<{
|
|
3202
|
-
at: "at";
|
|
3203
|
-
interval: "interval";
|
|
3204
|
-
after: "after";
|
|
3205
|
-
cron: "cron";
|
|
3206
|
-
}>;
|
|
3207
|
-
status: z.ZodEnum<{
|
|
3208
|
-
expired: "expired";
|
|
3209
|
-
canceled: "canceled";
|
|
3210
|
-
scheduled: "scheduled";
|
|
3211
|
-
fired: "fired";
|
|
3212
|
-
}>;
|
|
3213
|
-
fireAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3214
|
-
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3215
|
-
firedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3216
|
-
canceledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3217
|
-
delayMs: z.ZodOptional<z.ZodNumber>;
|
|
3218
|
-
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
3219
|
-
cron: z.ZodOptional<z.ZodString>;
|
|
3220
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3221
|
-
jitterMs: z.ZodOptional<z.ZodNumber>;
|
|
3222
|
-
}, z.core.$strict>>;
|
|
3223
|
-
saga: z.ZodOptional<z.ZodObject<{
|
|
3224
|
-
sagaId: z.ZodString;
|
|
3225
|
-
stepId: z.ZodOptional<z.ZodString>;
|
|
3226
|
-
action: z.ZodOptional<z.ZodString>;
|
|
3227
|
-
status: z.ZodEnum<{
|
|
3228
|
-
completed: "completed";
|
|
3229
|
-
failed: "failed";
|
|
3230
|
-
started: "started";
|
|
3231
|
-
canceled: "canceled";
|
|
3232
|
-
"step-completed": "step-completed";
|
|
3233
|
-
compensating: "compensating";
|
|
3234
|
-
compensated: "compensated";
|
|
3235
|
-
}>;
|
|
3236
|
-
compensation: z.ZodOptional<z.ZodObject<{
|
|
3237
|
-
action: z.ZodString;
|
|
3238
|
-
status: z.ZodEnum<{
|
|
3239
|
-
completed: "completed";
|
|
3240
|
-
failed: "failed";
|
|
3241
|
-
running: "running";
|
|
3242
|
-
scheduled: "scheduled";
|
|
3243
|
-
"not-needed": "not-needed";
|
|
3244
|
-
}>;
|
|
3245
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
3246
|
-
objectRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3247
|
-
service: z.ZodString;
|
|
3248
|
-
type: z.ZodString;
|
|
3249
|
-
id: z.ZodString;
|
|
3250
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3251
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
3252
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3253
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
3254
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3255
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3256
|
-
}, z.core.$strict>>>;
|
|
3257
|
-
stateDiff: z.ZodOptional<z.ZodObject<{
|
|
3258
|
-
beforeHash: z.ZodOptional<z.ZodObject<{
|
|
3259
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3260
|
-
sha256: "sha256";
|
|
3261
|
-
sha512: "sha512";
|
|
3262
|
-
blake3: "blake3";
|
|
3263
|
-
}>>;
|
|
3264
|
-
value: z.ZodString;
|
|
3265
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3266
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3267
|
-
none: "none";
|
|
3268
|
-
opaque: "opaque";
|
|
3269
|
-
structural: "structural";
|
|
3270
|
-
"field-level": "field-level";
|
|
3271
|
-
}>>;
|
|
3272
|
-
}, z.core.$strict>>;
|
|
3273
|
-
afterHash: z.ZodOptional<z.ZodObject<{
|
|
3274
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3275
|
-
sha256: "sha256";
|
|
3276
|
-
sha512: "sha512";
|
|
3277
|
-
blake3: "blake3";
|
|
3278
|
-
}>>;
|
|
3279
|
-
value: z.ZodString;
|
|
3280
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3281
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3282
|
-
none: "none";
|
|
3283
|
-
opaque: "opaque";
|
|
3284
|
-
structural: "structural";
|
|
3285
|
-
"field-level": "field-level";
|
|
3286
|
-
}>>;
|
|
3287
|
-
}, z.core.$strict>>;
|
|
3288
|
-
patches: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3289
|
-
op: z.ZodEnum<{
|
|
3290
|
-
remove: "remove";
|
|
3291
|
-
replace: "replace";
|
|
3292
|
-
add: "add";
|
|
3293
|
-
copy: "copy";
|
|
3294
|
-
test: "test";
|
|
3295
|
-
move: "move";
|
|
3296
|
-
}>;
|
|
3297
|
-
path: z.ZodString;
|
|
3298
|
-
from: z.ZodOptional<z.ZodString>;
|
|
3299
|
-
before: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3300
|
-
after: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3301
|
-
value: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3302
|
-
valueHash: z.ZodOptional<z.ZodObject<{
|
|
3303
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3304
|
-
sha256: "sha256";
|
|
3305
|
-
sha512: "sha512";
|
|
3306
|
-
blake3: "blake3";
|
|
3307
|
-
}>>;
|
|
3308
|
-
value: z.ZodString;
|
|
3309
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3310
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3311
|
-
none: "none";
|
|
3312
|
-
opaque: "opaque";
|
|
3313
|
-
structural: "structural";
|
|
3314
|
-
"field-level": "field-level";
|
|
3315
|
-
}>>;
|
|
3316
|
-
}, z.core.$strict>>;
|
|
3317
|
-
objectRef: z.ZodOptional<z.ZodObject<{
|
|
3318
|
-
service: z.ZodString;
|
|
3319
|
-
type: z.ZodString;
|
|
3320
|
-
id: z.ZodString;
|
|
3321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3322
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
3323
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3324
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
3325
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3326
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3327
|
-
}, z.core.$strict>>;
|
|
3328
|
-
}, z.core.$strict>>>;
|
|
3329
|
-
affectedRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3330
|
-
service: z.ZodString;
|
|
3331
|
-
type: z.ZodString;
|
|
3332
|
-
id: z.ZodString;
|
|
3333
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3334
|
-
relation: z.ZodOptional<z.ZodString>;
|
|
3335
|
-
version: z.ZodOptional<z.ZodString>;
|
|
3336
|
-
tenant: z.ZodOptional<z.ZodString>;
|
|
3337
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3338
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3339
|
-
}, z.core.$strict>>>;
|
|
3340
|
-
redactedPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3341
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
3342
|
-
}, z.core.$strict>>;
|
|
3343
|
-
requestedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3344
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3345
|
-
}, z.core.$strict>>;
|
|
3346
|
-
}, z.core.$strict>>;
|
|
3347
|
-
integrity: z.ZodOptional<z.ZodObject<{
|
|
3348
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3349
|
-
sha256: "sha256";
|
|
3350
|
-
sha512: "sha512";
|
|
3351
|
-
blake3: "blake3";
|
|
3352
|
-
}>>;
|
|
3353
|
-
sequence: z.ZodNumber;
|
|
3354
|
-
eventHash: z.ZodObject<{
|
|
3355
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3356
|
-
sha256: "sha256";
|
|
3357
|
-
sha512: "sha512";
|
|
3358
|
-
blake3: "blake3";
|
|
3359
|
-
}>>;
|
|
3360
|
-
value: z.ZodString;
|
|
3361
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3362
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3363
|
-
none: "none";
|
|
3364
|
-
opaque: "opaque";
|
|
3365
|
-
structural: "structural";
|
|
3366
|
-
"field-level": "field-level";
|
|
3367
|
-
}>>;
|
|
3368
|
-
}, z.core.$strict>;
|
|
3369
|
-
previousEventHash: z.ZodOptional<z.ZodObject<{
|
|
3370
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3371
|
-
sha256: "sha256";
|
|
3372
|
-
sha512: "sha512";
|
|
3373
|
-
blake3: "blake3";
|
|
3374
|
-
}>>;
|
|
3375
|
-
value: z.ZodString;
|
|
3376
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3377
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3378
|
-
none: "none";
|
|
3379
|
-
opaque: "opaque";
|
|
3380
|
-
structural: "structural";
|
|
3381
|
-
"field-level": "field-level";
|
|
3382
|
-
}>>;
|
|
3383
|
-
}, z.core.$strict>>;
|
|
3384
|
-
signedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3385
|
-
signer: z.ZodOptional<z.ZodString>;
|
|
3386
|
-
signature: z.ZodOptional<z.ZodString>;
|
|
3387
|
-
}, z.core.$strict>>;
|
|
3388
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3389
|
-
}, z.core.$strict>>>;
|
|
3390
|
-
integrity: z.ZodOptional<z.ZodObject<{
|
|
3391
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3392
|
-
sha256: "sha256";
|
|
3393
|
-
sha512: "sha512";
|
|
3394
|
-
blake3: "blake3";
|
|
3395
|
-
}>>;
|
|
3396
|
-
genesisHash: z.ZodOptional<z.ZodObject<{
|
|
3397
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3398
|
-
sha256: "sha256";
|
|
3399
|
-
sha512: "sha512";
|
|
3400
|
-
blake3: "blake3";
|
|
3401
|
-
}>>;
|
|
3402
|
-
value: z.ZodString;
|
|
3403
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3404
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3405
|
-
none: "none";
|
|
3406
|
-
opaque: "opaque";
|
|
3407
|
-
structural: "structural";
|
|
3408
|
-
"field-level": "field-level";
|
|
3409
|
-
}>>;
|
|
3410
|
-
}, z.core.$strict>>;
|
|
3411
|
-
headHash: z.ZodOptional<z.ZodObject<{
|
|
3412
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3413
|
-
sha256: "sha256";
|
|
3414
|
-
sha512: "sha512";
|
|
3415
|
-
blake3: "blake3";
|
|
3416
|
-
}>>;
|
|
3417
|
-
value: z.ZodString;
|
|
3418
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3419
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3420
|
-
none: "none";
|
|
3421
|
-
opaque: "opaque";
|
|
3422
|
-
structural: "structural";
|
|
3423
|
-
"field-level": "field-level";
|
|
3424
|
-
}>>;
|
|
3425
|
-
}, z.core.$strict>>;
|
|
3426
|
-
chainComplete: z.ZodDefault<z.ZodBoolean>;
|
|
3427
|
-
checkpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3428
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3429
|
-
sha256: "sha256";
|
|
3430
|
-
sha512: "sha512";
|
|
3431
|
-
blake3: "blake3";
|
|
3432
|
-
}>>;
|
|
3433
|
-
sequence: z.ZodNumber;
|
|
3434
|
-
eventHash: z.ZodObject<{
|
|
3435
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3436
|
-
sha256: "sha256";
|
|
3437
|
-
sha512: "sha512";
|
|
3438
|
-
blake3: "blake3";
|
|
3439
|
-
}>>;
|
|
3440
|
-
value: z.ZodString;
|
|
3441
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3442
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3443
|
-
none: "none";
|
|
3444
|
-
opaque: "opaque";
|
|
3445
|
-
structural: "structural";
|
|
3446
|
-
"field-level": "field-level";
|
|
3447
|
-
}>>;
|
|
3448
|
-
}, z.core.$strict>;
|
|
3449
|
-
previousEventHash: z.ZodOptional<z.ZodObject<{
|
|
3450
|
-
algorithm: z.ZodDefault<z.ZodEnum<{
|
|
3451
|
-
sha256: "sha256";
|
|
3452
|
-
sha512: "sha512";
|
|
3453
|
-
blake3: "blake3";
|
|
3454
|
-
}>>;
|
|
3455
|
-
value: z.ZodString;
|
|
3456
|
-
canonicalization: z.ZodOptional<z.ZodString>;
|
|
3457
|
-
redaction: z.ZodDefault<z.ZodEnum<{
|
|
3458
|
-
none: "none";
|
|
3459
|
-
opaque: "opaque";
|
|
3460
|
-
structural: "structural";
|
|
3461
|
-
"field-level": "field-level";
|
|
3462
|
-
}>>;
|
|
3463
|
-
}, z.core.$strict>>;
|
|
3464
|
-
signedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3465
|
-
signer: z.ZodOptional<z.ZodString>;
|
|
3466
|
-
signature: z.ZodOptional<z.ZodString>;
|
|
3467
|
-
}, z.core.$strict>>>;
|
|
3468
|
-
}, z.core.$strict>>;
|
|
3469
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
3470
|
-
status: z.ZodEnum<{
|
|
3471
|
-
recoverable: "recoverable";
|
|
3472
|
-
insufficient: "insufficient";
|
|
3473
|
-
replayable: "replayable";
|
|
3474
|
-
}>;
|
|
3475
|
-
score: z.ZodNumber;
|
|
3476
|
-
missing: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3477
|
-
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3478
|
-
evidence: z.ZodOptional<z.ZodObject<{
|
|
3479
|
-
eventCount: z.ZodNumber;
|
|
3480
|
-
approvalEventCount: z.ZodNumber;
|
|
3481
|
-
webhookEventCount: z.ZodNumber;
|
|
3482
|
-
timerEventCount: z.ZodNumber;
|
|
3483
|
-
sagaEventCount: z.ZodNumber;
|
|
3484
|
-
stateDiffEventCount: z.ZodNumber;
|
|
3485
|
-
integrityChainComplete: z.ZodBoolean;
|
|
3486
|
-
}, z.core.$strict>>;
|
|
3487
|
-
}, z.core.$strict>>;
|
|
3488
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3489
|
-
}, z.core.$strict>]>>;
|
|
3490
|
-
summary: z.ZodObject<{
|
|
3491
|
-
status: z.ZodEnum<{
|
|
3492
|
-
reproducible: "reproducible";
|
|
3493
|
-
recoverable: "recoverable";
|
|
3494
|
-
insufficient: "insufficient";
|
|
3495
|
-
}>;
|
|
3496
|
-
capsuleCount: z.ZodNumber;
|
|
3497
|
-
surfaceKinds: z.ZodArray<z.ZodEnum<{
|
|
3498
|
-
rag: "rag";
|
|
3499
|
-
"db-query": "db-query";
|
|
3500
|
-
"mcp-transcript": "mcp-transcript";
|
|
3501
|
-
"saas-api": "saas-api";
|
|
3502
|
-
"workflow-event": "workflow-event";
|
|
3503
|
-
}>>;
|
|
3504
|
-
services: z.ZodArray<z.ZodString>;
|
|
3505
|
-
resourceRefCount: z.ZodNumber;
|
|
3506
|
-
operationCount: z.ZodNumber;
|
|
3507
|
-
eventCount: z.ZodNumber;
|
|
3508
|
-
surfaces: z.ZodArray<z.ZodObject<{
|
|
3509
|
-
kind: z.ZodEnum<{
|
|
3510
|
-
rag: "rag";
|
|
3511
|
-
"db-query": "db-query";
|
|
3512
|
-
"mcp-transcript": "mcp-transcript";
|
|
3513
|
-
"saas-api": "saas-api";
|
|
3514
|
-
"workflow-event": "workflow-event";
|
|
3515
|
-
}>;
|
|
3516
|
-
capsuleCount: z.ZodNumber;
|
|
3517
|
-
schemas: z.ZodArray<z.ZodString>;
|
|
3518
|
-
statuses: z.ZodArray<z.ZodEnum<{
|
|
3519
|
-
reproducible: "reproducible";
|
|
3520
|
-
recoverable: "recoverable";
|
|
3521
|
-
insufficient: "insufficient";
|
|
3522
|
-
}>>;
|
|
3523
|
-
services: z.ZodArray<z.ZodString>;
|
|
3524
|
-
resourceRefCount: z.ZodNumber;
|
|
3525
|
-
operationCount: z.ZodNumber;
|
|
3526
|
-
eventCount: z.ZodNumber;
|
|
3527
|
-
missing: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3528
|
-
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3529
|
-
}, z.core.$strict>>;
|
|
3530
|
-
missing: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3531
|
-
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3532
|
-
}, z.core.$strict>;
|
|
3533
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3534
|
-
}, z.core.$strict>;
|
|
3535
|
-
type AgentSurfaceReplayKind = z.infer<typeof agentSurfaceReplayKindSchema>;
|
|
3536
|
-
type AgentSurfaceReplayStatus = z.infer<typeof agentSurfaceReplayStatusSchema>;
|
|
3537
|
-
type AgentSurfaceReplay = z.infer<typeof agentSurfaceReplaySchema>;
|
|
3538
|
-
|
|
3539
|
-
declare const mcpJsonRpcErrorSchema: z.ZodObject<{
|
|
3540
|
-
code: z.ZodNumber;
|
|
3541
|
-
message: z.ZodString;
|
|
3542
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3543
|
-
}, z.core.$strict>;
|
|
3544
|
-
declare const mcpToolDescriptorSchema: z.ZodObject<{
|
|
3545
|
-
name: z.ZodString;
|
|
3546
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3547
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3548
|
-
inputSchema: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
3549
|
-
outputSchema: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3550
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3551
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
3552
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3553
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3554
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3555
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3556
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3557
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3558
|
-
}, z.core.$strict>>;
|
|
3559
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3560
|
-
}, z.core.$strict>;
|
|
3561
|
-
declare const mcpTranscriptReplaySchema: z.ZodObject<{
|
|
3562
|
-
schema: z.ZodLiteral<"archal.mcp-transcript-replay">;
|
|
3563
|
-
version: z.ZodLiteral<1>;
|
|
3564
|
-
protocolVersion: z.ZodString;
|
|
3565
|
-
transport: z.ZodEnum<{
|
|
3566
|
-
stdio: "stdio";
|
|
3567
|
-
"streamable-http": "streamable-http";
|
|
3568
|
-
"legacy-sse": "legacy-sse";
|
|
3569
|
-
}>;
|
|
3570
|
-
transcriptId: z.ZodObject<{
|
|
3571
|
-
canonicalId: z.ZodString;
|
|
3572
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3573
|
-
}, z.core.$strict>;
|
|
3574
|
-
session: z.ZodObject<{
|
|
3575
|
-
sessionId: z.ZodObject<{
|
|
3576
|
-
canonicalId: z.ZodString;
|
|
3577
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3578
|
-
}, z.core.$strict>;
|
|
3579
|
-
connectionId: z.ZodOptional<z.ZodObject<{
|
|
3580
|
-
canonicalId: z.ZodString;
|
|
3581
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3582
|
-
}, z.core.$strict>>;
|
|
3583
|
-
serverName: z.ZodOptional<z.ZodString>;
|
|
3584
|
-
service: z.ZodOptional<z.ZodString>;
|
|
3585
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
3586
|
-
command: z.ZodOptional<z.ZodString>;
|
|
3587
|
-
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
3588
|
-
transport: z.ZodOptional<z.ZodEnum<{
|
|
3589
|
-
stdio: "stdio";
|
|
3590
|
-
"streamable-http": "streamable-http";
|
|
3591
|
-
"legacy-sse": "legacy-sse";
|
|
3592
|
-
}>>;
|
|
3593
|
-
clientInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3594
|
-
serverInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3595
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3596
|
-
auth: z.ZodOptional<z.ZodObject<{
|
|
3597
|
-
mode: z.ZodEnum<{
|
|
3598
|
-
unknown: "unknown";
|
|
3599
|
-
none: "none";
|
|
3600
|
-
custom: "custom";
|
|
3601
|
-
"api-key": "api-key";
|
|
3602
|
-
bearer: "bearer";
|
|
3603
|
-
basic: "basic";
|
|
3604
|
-
oauth: "oauth";
|
|
3605
|
-
"mcp-session": "mcp-session";
|
|
3606
|
-
}>;
|
|
3607
|
-
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
3608
|
-
unknown: "unknown";
|
|
3609
|
-
none: "none";
|
|
3610
|
-
header: "header";
|
|
3611
|
-
environment: "environment";
|
|
3612
|
-
"mcp-session": "mcp-session";
|
|
3613
|
-
"oauth-session": "oauth-session";
|
|
3614
|
-
"client-config": "client-config";
|
|
3615
|
-
}>>;
|
|
3616
|
-
principal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3617
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3618
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
3619
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
3620
|
-
redacted: z.ZodDefault<z.ZodLiteral<true>>;
|
|
3621
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3622
|
-
}, z.core.$strict>>;
|
|
3623
|
-
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3624
|
-
endedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3625
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3626
|
-
}, z.core.$strict>;
|
|
3627
|
-
events: z.ZodArray<z.ZodObject<{
|
|
3628
|
-
eventId: z.ZodObject<{
|
|
3629
|
-
canonicalId: z.ZodString;
|
|
3630
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3631
|
-
}, z.core.$strict>;
|
|
3632
|
-
sequence: z.ZodNumber;
|
|
3633
|
-
kind: z.ZodEnum<{
|
|
3634
|
-
ping: "ping";
|
|
3635
|
-
notification: "notification";
|
|
3636
|
-
canceled: "canceled";
|
|
3637
|
-
progress: "progress";
|
|
3638
|
-
other: "other";
|
|
3639
|
-
initialize: "initialize";
|
|
3640
|
-
"tools-list": "tools-list";
|
|
3641
|
-
"tools-call": "tools-call";
|
|
3642
|
-
"resources-list": "resources-list";
|
|
3643
|
-
"resources-templates-list": "resources-templates-list";
|
|
3644
|
-
"resources-read": "resources-read";
|
|
3645
|
-
"resources-subscribe": "resources-subscribe";
|
|
3646
|
-
"resources-unsubscribe": "resources-unsubscribe";
|
|
3647
|
-
"roots-list": "roots-list";
|
|
3648
|
-
"prompts-list": "prompts-list";
|
|
3649
|
-
"prompts-get": "prompts-get";
|
|
3650
|
-
"sampling-create-message": "sampling-create-message";
|
|
3651
|
-
"completion-complete": "completion-complete";
|
|
3652
|
-
"elicitation-create": "elicitation-create";
|
|
3653
|
-
"logging-set-level": "logging-set-level";
|
|
3654
|
-
"tools-list-changed": "tools-list-changed";
|
|
3655
|
-
"resources-list-changed": "resources-list-changed";
|
|
3656
|
-
"prompts-list-changed": "prompts-list-changed";
|
|
3657
|
-
}>;
|
|
3658
|
-
method: z.ZodString;
|
|
3659
|
-
requestId: z.ZodOptional<z.ZodObject<{
|
|
3660
|
-
canonicalId: z.ZodString;
|
|
3661
|
-
originalId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3662
|
-
}, z.core.$strict>>;
|
|
3663
|
-
transport: z.ZodOptional<z.ZodEnum<{
|
|
3664
|
-
stdio: "stdio";
|
|
3665
|
-
"streamable-http": "streamable-http";
|
|
3666
|
-
"legacy-sse": "legacy-sse";
|
|
3667
|
-
}>>;
|
|
3668
|
-
startedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3669
|
-
endedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3670
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
3671
|
-
request: z.ZodOptional<z.ZodObject<{
|
|
3672
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
3673
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3674
|
-
method: z.ZodString;
|
|
3675
|
-
params: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3676
|
-
}, z.core.$strict>>;
|
|
3677
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
3678
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
3679
|
-
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3680
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3681
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
3682
|
-
code: z.ZodNumber;
|
|
3683
|
-
message: z.ZodString;
|
|
3684
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3685
|
-
}, z.core.$strict>>;
|
|
3686
|
-
}, z.core.$strict>>;
|
|
3687
|
-
notification: z.ZodOptional<z.ZodObject<{
|
|
3688
|
-
jsonrpc: z.ZodDefault<z.ZodLiteral<"2.0">>;
|
|
3689
|
-
method: z.ZodString;
|
|
3690
|
-
params: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3691
|
-
}, z.core.$strict>>;
|
|
3692
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
3693
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3694
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3695
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3696
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3697
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3698
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3699
|
-
}, z.core.$strict>>;
|
|
3700
|
-
initialize: z.ZodOptional<z.ZodObject<{
|
|
3701
|
-
clientProtocolVersion: z.ZodOptional<z.ZodString>;
|
|
3702
|
-
negotiatedProtocolVersion: z.ZodOptional<z.ZodString>;
|
|
3703
|
-
clientInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3704
|
-
serverInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3705
|
-
clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3706
|
-
serverCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3707
|
-
}, z.core.$strict>>;
|
|
3708
|
-
toolsList: z.ZodOptional<z.ZodObject<{
|
|
3709
|
-
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3710
|
-
name: z.ZodString;
|
|
3711
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3712
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3713
|
-
inputSchema: z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>;
|
|
3714
|
-
outputSchema: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3715
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3716
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
3717
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3718
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3719
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3720
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3721
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3722
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3723
|
-
}, z.core.$strict>>;
|
|
3724
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3725
|
-
}, z.core.$strict>>>;
|
|
3726
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
3727
|
-
}, z.core.$strict>>;
|
|
3728
|
-
toolsCall: z.ZodOptional<z.ZodObject<{
|
|
3729
|
-
toolName: z.ZodString;
|
|
3730
|
-
arguments: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3731
|
-
result: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3732
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
3733
|
-
code: z.ZodNumber;
|
|
3734
|
-
message: z.ZodString;
|
|
3735
|
-
data: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3736
|
-
}, z.core.$strict>>;
|
|
3737
|
-
schemaHashes: z.ZodOptional<z.ZodObject<{
|
|
3738
|
-
descriptor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3739
|
-
request: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3740
|
-
response: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3741
|
-
inputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3742
|
-
outputSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3743
|
-
resultSchema: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3744
|
-
}, z.core.$strict>>;
|
|
3745
|
-
}, z.core.$strict>>;
|
|
3746
|
-
resources: z.ZodOptional<z.ZodObject<{
|
|
3747
|
-
resources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3748
|
-
uri: z.ZodString;
|
|
3749
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3750
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3751
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3752
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
3753
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3754
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3755
|
-
}, z.core.$strict>>>;
|
|
3756
|
-
resourceTemplates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3757
|
-
uriTemplate: z.ZodString;
|
|
3758
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3759
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3760
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3761
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
3762
|
-
annotations: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3763
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3764
|
-
}, z.core.$strict>>>;
|
|
3765
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
3766
|
-
contents: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3767
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
3768
|
-
}, z.core.$strict>>;
|
|
3769
|
-
prompts: z.ZodOptional<z.ZodObject<{
|
|
3770
|
-
prompts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3771
|
-
name: z.ZodString;
|
|
3772
|
-
title: z.ZodOptional<z.ZodString>;
|
|
3773
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3774
|
-
arguments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3775
|
-
name: z.ZodString;
|
|
3776
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3777
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
3778
|
-
}, z.core.$strict>>>;
|
|
3779
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3780
|
-
}, z.core.$strict>>>;
|
|
3781
|
-
promptName: z.ZodOptional<z.ZodString>;
|
|
3782
|
-
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3783
|
-
messages: z.ZodOptional<z.ZodArray<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>>;
|
|
3784
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
3785
|
-
}, z.core.$strict>>;
|
|
3786
|
-
sampling: z.ZodOptional<z.ZodObject<{
|
|
3787
|
-
request: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3788
|
-
response: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3789
|
-
model: z.ZodOptional<z.ZodString>;
|
|
3790
|
-
stopReason: z.ZodOptional<z.ZodString>;
|
|
3791
|
-
}, z.core.$strict>>;
|
|
3792
|
-
wire: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3793
|
-
direction: z.ZodEnum<{
|
|
3794
|
-
"client-to-server": "client-to-server";
|
|
3795
|
-
"server-to-client": "server-to-client";
|
|
3796
|
-
}>;
|
|
3797
|
-
transport: z.ZodEnum<{
|
|
3798
|
-
stdio: "stdio";
|
|
3799
|
-
"streamable-http": "streamable-http";
|
|
3800
|
-
"legacy-sse": "legacy-sse";
|
|
3801
|
-
}>;
|
|
3802
|
-
rawFrame: z.ZodOptional<z.ZodString>;
|
|
3803
|
-
rawBody: z.ZodOptional<z.ZodString>;
|
|
3804
|
-
body: z.ZodOptional<z.ZodType<ReplayJsonValue, unknown, z.core.$ZodTypeInternals<ReplayJsonValue, unknown>>>;
|
|
3805
|
-
frameRef: z.ZodOptional<z.ZodString>;
|
|
3806
|
-
rawBodyRef: z.ZodOptional<z.ZodString>;
|
|
3807
|
-
frameHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3808
|
-
rawBodyHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3809
|
-
http: z.ZodOptional<z.ZodObject<{
|
|
3810
|
-
method: z.ZodOptional<z.ZodString>;
|
|
3811
|
-
statusCode: z.ZodOptional<z.ZodNumber>;
|
|
3812
|
-
headersHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3813
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
3814
|
-
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
3815
|
-
sseEventId: z.ZodOptional<z.ZodString>;
|
|
3816
|
-
sseEventType: z.ZodOptional<z.ZodString>;
|
|
3817
|
-
}, z.core.$strict>>;
|
|
3818
|
-
stdio: z.ZodOptional<z.ZodObject<{
|
|
3819
|
-
stream: z.ZodEnum<{
|
|
3820
|
-
stdout: "stdout";
|
|
3821
|
-
stderr: "stderr";
|
|
3822
|
-
stdin: "stdin";
|
|
3823
|
-
}>;
|
|
3824
|
-
lineHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
3825
|
-
}, z.core.$strict>>;
|
|
3826
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3827
|
-
}, z.core.$strict>>>;
|
|
3828
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3829
|
-
}, z.core.$strict>>;
|
|
3830
|
-
sufficiency: z.ZodOptional<z.ZodObject<{
|
|
3831
|
-
status: z.ZodEnum<{
|
|
3832
|
-
reproducible: "reproducible";
|
|
3833
|
-
recoverable: "recoverable";
|
|
3834
|
-
insufficient: "insufficient";
|
|
3835
|
-
}>;
|
|
3836
|
-
score: z.ZodNumber;
|
|
3837
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3838
|
-
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3839
|
-
evidencePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3840
|
-
supportedTransports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3841
|
-
stdio: "stdio";
|
|
3842
|
-
"streamable-http": "streamable-http";
|
|
3843
|
-
"legacy-sse": "legacy-sse";
|
|
3844
|
-
}>>>;
|
|
3845
|
-
eventCoverage: z.ZodOptional<z.ZodObject<{
|
|
3846
|
-
initialize: z.ZodBoolean;
|
|
3847
|
-
toolsList: z.ZodNumber;
|
|
3848
|
-
toolsCall: z.ZodNumber;
|
|
3849
|
-
resources: z.ZodNumber;
|
|
3850
|
-
prompts: z.ZodNumber;
|
|
3851
|
-
sampling: z.ZodNumber;
|
|
3852
|
-
replayableEvents: z.ZodNumber;
|
|
3853
|
-
}, z.core.$strict>>;
|
|
3854
|
-
}, z.core.$strict>>;
|
|
3855
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3856
|
-
}, z.core.$strict>;
|
|
3857
|
-
type McpJsonRpcError$1 = z.infer<typeof mcpJsonRpcErrorSchema>;
|
|
3858
|
-
type McpToolDescriptor$1 = z.infer<typeof mcpToolDescriptorSchema>;
|
|
3859
|
-
type McpTranscriptReplay$1 = z.infer<typeof mcpTranscriptReplaySchema>;
|
|
3860
|
-
|
|
3861
|
-
declare const REPLAY_WORLD_KEY_SCHEMA = "archal.replay.world-key";
|
|
3862
|
-
declare const REPLAY_WORLD_KEY_VERSION = 1;
|
|
3863
|
-
declare const REPLAY_INSPECT_SCHEMA = "archal.replay.inspect";
|
|
3864
|
-
declare const REPLAY_INSPECT_VERSION = 1;
|
|
3865
|
-
type ReplayInputKind = 'agent-surface-replay' | 'replay-wrapper' | 'trace-artifact' | 'trace-replay-capsule' | 'trace-upload-envelope-v2';
|
|
3866
|
-
type ReplayInputErrorKind = 'invalid_contract' | 'no_replay_evidence' | 'read_failed' | 'unsupported_input';
|
|
3867
|
-
declare class ReplayInputError extends Error {
|
|
3868
|
-
readonly kind: ReplayInputErrorKind;
|
|
3869
|
-
readonly issues: string[];
|
|
3870
|
-
constructor(kind: ReplayInputErrorKind, message: string, issues?: string[]);
|
|
3871
|
-
}
|
|
3872
|
-
interface LoadedReplayInput {
|
|
3873
|
-
kind: ReplayInputKind;
|
|
3874
|
-
sourcePath?: string;
|
|
3875
|
-
replayCapsule?: TraceReplayCapsule;
|
|
3876
|
-
agentSurfaceReplay?: AgentSurfaceReplay;
|
|
3877
|
-
evidence: ReplayEvidenceSummary;
|
|
3878
|
-
}
|
|
3879
|
-
interface ReplayEvidenceSummary {
|
|
3880
|
-
replayCapsule: boolean;
|
|
3881
|
-
agentSurfaceReplay: boolean;
|
|
3882
|
-
capsuleSources: string[];
|
|
3883
|
-
agentSurfaceSources: string[];
|
|
3884
|
-
}
|
|
3885
|
-
interface ReplayWorldKey {
|
|
3886
|
-
schema: typeof REPLAY_WORLD_KEY_SCHEMA;
|
|
3887
|
-
version: typeof REPLAY_WORLD_KEY_VERSION;
|
|
3888
|
-
algorithm: 'sha256';
|
|
3889
|
-
key: string;
|
|
3890
|
-
inputDigest: string;
|
|
3891
|
-
}
|
|
3892
|
-
type ReplaySurfaceStatus = 'benchmark-ready' | 'capsule-ready' | 'captured' | 'decision-replayable' | 'insufficient' | 'provider-replay-ready' | 'recoverable' | 'retriever-ready' | 'unsupported_surface';
|
|
3893
|
-
interface ReplaySurfacePlan {
|
|
3894
|
-
surface: string;
|
|
3895
|
-
kind: 'rag' | 'surface' | 'service-operations';
|
|
3896
|
-
status: ReplaySurfaceStatus;
|
|
3897
|
-
missing: string[];
|
|
3898
|
-
warnings: string[];
|
|
3899
|
-
services: string[];
|
|
3900
|
-
capsuleCount?: number;
|
|
3901
|
-
operationCount?: number;
|
|
3902
|
-
resourceRefCount?: number;
|
|
3903
|
-
eventCount?: number;
|
|
3904
|
-
}
|
|
3905
|
-
interface ReplayWorldPlan {
|
|
3906
|
-
status: ReplaySurfaceStatus;
|
|
3907
|
-
surfaces: ReplaySurfacePlan[];
|
|
3908
|
-
missing: string[];
|
|
3909
|
-
warnings: string[];
|
|
3910
|
-
sufficiency?: TraceReplaySufficiency;
|
|
3911
|
-
ragReadiness?: TraceReplayRagReadiness;
|
|
3912
|
-
}
|
|
3913
|
-
interface ReplayInspectCapsuleSummary {
|
|
3914
|
-
schema: string;
|
|
3915
|
-
version: number;
|
|
3916
|
-
sufficiency?: TraceReplaySufficiency;
|
|
3917
|
-
ragReplay?: {
|
|
3918
|
-
level?: string;
|
|
3919
|
-
question: boolean;
|
|
3920
|
-
prompt: boolean;
|
|
3921
|
-
retrievalCount: number;
|
|
3922
|
-
retrievedChunkCount: number;
|
|
3923
|
-
citationCount: number;
|
|
3924
|
-
providerReplayAdapterCount: number;
|
|
3925
|
-
};
|
|
3926
|
-
serviceOperationCount: number;
|
|
3927
|
-
serviceReadRefCount: number;
|
|
3928
|
-
serviceWriteRefCount: number;
|
|
3929
|
-
resourceRefCount: number;
|
|
3930
|
-
stateAdapterCount: number;
|
|
3931
|
-
stateCaptureCount: number;
|
|
3932
|
-
humanEvidenceCount: number;
|
|
3933
|
-
}
|
|
3934
|
-
interface ReplayInspectAgentSurfaceSummary {
|
|
3935
|
-
schema: string;
|
|
3936
|
-
version: number;
|
|
3937
|
-
status: AgentSurfaceReplayStatus;
|
|
3938
|
-
capsuleCount: number;
|
|
3939
|
-
surfaceKinds: AgentSurfaceReplayKind[];
|
|
3940
|
-
services: string[];
|
|
3941
|
-
surfaces: Array<{
|
|
3942
|
-
kind: AgentSurfaceReplayKind;
|
|
3943
|
-
capsuleCount: number;
|
|
3944
|
-
statuses: AgentSurfaceReplayStatus[];
|
|
3945
|
-
services: string[];
|
|
3946
|
-
resourceRefCount: number;
|
|
3947
|
-
operationCount: number;
|
|
3948
|
-
eventCount: number;
|
|
3949
|
-
missing: string[];
|
|
3950
|
-
warnings: string[];
|
|
3951
|
-
}>;
|
|
3952
|
-
missing: string[];
|
|
3953
|
-
warnings: string[];
|
|
3954
|
-
}
|
|
3955
|
-
interface ReplayInspectResult {
|
|
3956
|
-
schema: typeof REPLAY_INSPECT_SCHEMA;
|
|
3957
|
-
version: typeof REPLAY_INSPECT_VERSION;
|
|
3958
|
-
source?: {
|
|
3959
|
-
path: string;
|
|
3960
|
-
kind: ReplayInputKind;
|
|
3961
|
-
};
|
|
3962
|
-
input: ReplayEvidenceSummary & {
|
|
3963
|
-
kind: ReplayInputKind;
|
|
3964
|
-
};
|
|
3965
|
-
replayWorldKey: ReplayWorldKey;
|
|
3966
|
-
capsule?: ReplayInspectCapsuleSummary;
|
|
3967
|
-
agentSurfaceReplay?: ReplayInspectAgentSurfaceSummary;
|
|
3968
|
-
plan: ReplayWorldPlan;
|
|
3969
|
-
}
|
|
3970
|
-
|
|
3971
|
-
declare function readReplayInputFromPath(path: string): LoadedReplayInput;
|
|
3972
|
-
declare function loadReplayInput(value: unknown, options?: {
|
|
3973
|
-
sourcePath?: string;
|
|
3974
|
-
}): LoadedReplayInput;
|
|
3975
|
-
|
|
3976
|
-
declare function inspectReplayPath(path: string): ReplayInspectResult;
|
|
3977
|
-
declare function inspectReplayInput(value: unknown): ReplayInspectResult;
|
|
3978
|
-
declare function inspectLoadedReplayInput(input: LoadedReplayInput): ReplayInspectResult;
|
|
3979
|
-
|
|
3980
|
-
/**
|
|
3981
|
-
* Replay-target attestation: prove that the endpoint a live replay is about to
|
|
3982
|
-
* dispatch against is in fact an Archal clone, not an arbitrary live service.
|
|
3983
|
-
*
|
|
3984
|
-
* The MCP comparison core (`replayMcpTranscript`) dispatches every recorded
|
|
3985
|
-
* `tools-call` against a `CloneReplayTarget`. Until now the only targets were
|
|
3986
|
-
* in-memory tables in tests; a live adapter that opens a real MCP session must
|
|
3987
|
-
* never be pointed at, say, `https://api.github.com/mcp`. Attestation is the
|
|
3988
|
-
* gate: the live `CloneSessionAdapter` runs it in its factory, so an unattested
|
|
3989
|
-
* descriptor can never be wrapped into a dispatch surface.
|
|
3990
|
-
*
|
|
3991
|
-
* A hosted clone is *attested* when its endpoint provably resolves to a clone:
|
|
3992
|
-
* an allowed URL (https, or http on loopback) whose path matches the
|
|
3993
|
-
* control-plane runtime shape `…/runtime/<sessionId>/<clone>(/mcp|/api)?`, whose
|
|
3994
|
-
* host matches the saved session's `controlPlaneBaseUrl` origin, and whose
|
|
3995
|
-
* `<sessionId>`/`<clone>` path segments agree with the descriptor. Anything else
|
|
3996
|
-
* — a bare host with no runtime path, a host that disagrees with the session, a
|
|
3997
|
-
* runtime path for a different session/clone — is unattested and replay is
|
|
3998
|
-
* refused before a single tool call is dispatched.
|
|
3999
|
-
*
|
|
4000
|
-
* The allowed-URL predicate and the `…/runtime/<session>/<clone>` path shape
|
|
4001
|
-
* mirror the policy already enforced in `cli/src/clone/session-store.ts`
|
|
4002
|
-
* (`isAllowedApiBaseUrl` + `inferApiBaseUrlFromCloneUrl`) and
|
|
4003
|
-
* `cli/src/runner/hosted-session/runtime-urls.ts` (`buildRuntimeCloneUrls`). It
|
|
4004
|
-
* is replicated here (not imported) so attestation stays a leaf library with no
|
|
4005
|
-
* dependency on the command/session-file layer; the shared shape is covered by
|
|
4006
|
-
* a round-trip test against `buildRuntimeCloneUrls`.
|
|
4007
|
-
*/
|
|
4008
|
-
/**
|
|
4009
|
-
* A target the live replay adapter is asked to dispatch against. Only the
|
|
4010
|
-
* hosted-MCP kind is attestable in this slice; `local-clone` (stdio, intrinsic
|
|
4011
|
-
* provenance) lands in a later PR and is rejected as not-yet-supported rather
|
|
4012
|
-
* than silently treated as attested.
|
|
4013
|
-
*/
|
|
4014
|
-
type CloneTargetDescriptor = {
|
|
4015
|
-
readonly kind: 'hosted-mcp';
|
|
4016
|
-
/** Full MCP endpoint, e.g. `https://host/runtime/<sessionId>/<clone>/mcp`. */
|
|
4017
|
-
readonly endpoint: string;
|
|
4018
|
-
/** Control-plane session id the endpoint must belong to. */
|
|
4019
|
-
readonly sessionId: string;
|
|
4020
|
-
/** Clone id the endpoint must address (e.g. `github`). */
|
|
4021
|
-
readonly clone: string;
|
|
4022
|
-
/** Saved session control-plane base URL; the endpoint host must match its origin. */
|
|
4023
|
-
readonly controlPlaneBaseUrl: string;
|
|
4024
|
-
} | {
|
|
4025
|
-
readonly kind: 'local-clone';
|
|
4026
|
-
readonly clone: string;
|
|
4027
|
-
};
|
|
4028
|
-
interface CloneAttestation {
|
|
4029
|
-
readonly attested: true;
|
|
4030
|
-
readonly kind: 'hosted-mcp';
|
|
4031
|
-
/** The canonical endpoint that was attested (trailing slashes stripped). */
|
|
4032
|
-
readonly endpoint: string;
|
|
4033
|
-
readonly sessionId: string;
|
|
4034
|
-
readonly clone: string;
|
|
4035
|
-
/** Human-readable facts that held for the endpoint, for the audit ledger. */
|
|
4036
|
-
readonly reasons: readonly string[];
|
|
4037
|
-
}
|
|
4038
|
-
|
|
4039
|
-
type McpToolDescriptor = McpToolDescriptor$1;
|
|
4040
|
-
type McpJsonRpcError = McpJsonRpcError$1;
|
|
4041
|
-
type McpJsonValue = McpJsonValue$1;
|
|
4042
|
-
/**
|
|
4043
|
-
* Outcome of one live tool dispatch against the injected clone. `result` is the
|
|
4044
|
-
* raw MCP tool result; `error` is a JSON-RPC error the clone raised in place of
|
|
4045
|
-
* a result. Exactly one of the two is present — a clone that both returned and
|
|
4046
|
-
* threw is a contract violation the caller's target must not produce.
|
|
4047
|
-
*/
|
|
4048
|
-
type CloneToolCallOutcome = {
|
|
4049
|
-
kind: 'result';
|
|
4050
|
-
result: McpJsonValue;
|
|
4051
|
-
} | {
|
|
4052
|
-
kind: 'error';
|
|
4053
|
-
error: McpJsonRpcError;
|
|
4054
|
-
};
|
|
4055
|
-
/**
|
|
4056
|
-
* Substrate-free seam the replay walks against. Injecting this (rather than a
|
|
4057
|
-
* concrete clone server) keeps the comparator testable and free of any clone
|
|
4058
|
-
* registry or process launch: a test passes an in-memory adapter, production
|
|
4059
|
-
* passes a live clone session adapter (wired in a post-#15307 PR).
|
|
4060
|
-
*/
|
|
4061
|
-
interface CloneReplayTarget {
|
|
4062
|
-
callTool(name: string, args: McpJsonValue | undefined): Promise<CloneToolCallOutcome>;
|
|
4063
|
-
getToolSchemas(): Promise<McpToolDescriptor[]> | McpToolDescriptor[];
|
|
4064
|
-
}
|
|
4065
|
-
|
|
4066
|
-
/**
|
|
4067
|
-
* Minimal slice of the MCP SDK `Client` the adapter depends on. Declaring it
|
|
4068
|
-
* locally keeps the dispatch logic testable with an in-process clone (an
|
|
4069
|
-
* `InMemoryTransport`-linked `Client` satisfies this) without reaching for the
|
|
4070
|
-
* full SDK surface or a live HTTP server.
|
|
4071
|
-
*/
|
|
4072
|
-
interface CloneMcpSession {
|
|
4073
|
-
listTools(): Promise<{
|
|
4074
|
-
tools: Array<{
|
|
4075
|
-
name: string;
|
|
4076
|
-
inputSchema: unknown;
|
|
4077
|
-
} & Record<string, unknown>>;
|
|
4078
|
-
}>;
|
|
4079
|
-
callTool(request: {
|
|
4080
|
-
name: string;
|
|
4081
|
-
arguments?: Record<string, unknown>;
|
|
4082
|
-
}): Promise<unknown>;
|
|
4083
|
-
close(): Promise<void>;
|
|
4084
|
-
}
|
|
4085
|
-
interface CloneSessionAdapterOptions {
|
|
4086
|
-
/**
|
|
4087
|
-
* Control auth token sent as `x-route-authorization: Bearer <token>` to the
|
|
4088
|
-
* hosted clone (the Archal hop header — never the upstream service auth).
|
|
4089
|
-
* Defaults to `process.env.ARCHAL_TOKEN`.
|
|
4090
|
-
*/
|
|
4091
|
-
readonly archalToken?: string;
|
|
4092
|
-
/**
|
|
4093
|
-
* Connection seam. Production opens a `StreamableHTTPClientTransport` against
|
|
4094
|
-
* the attested endpoint; tests inject an in-process clone session. Receives
|
|
4095
|
-
* the *attested* endpoint so a test cannot dispatch against an endpoint that
|
|
4096
|
-
* was never attested.
|
|
4097
|
-
*/
|
|
4098
|
-
readonly connect?: (attestation: CloneAttestation, options: CloneSessionAdapterOptions) => Promise<CloneMcpSession>;
|
|
4099
|
-
}
|
|
4100
|
-
|
|
4101
|
-
/**
|
|
4102
|
-
* Live-clone target wiring for the dispatcher's mcp-transcript surface.
|
|
4103
|
-
*
|
|
4104
|
-
* The dispatcher replays an mcp-transcript against a {@link CloneReplayTarget}.
|
|
4105
|
-
* By default that target is record-derived (the transcript's own captured
|
|
4106
|
-
* outcomes — `recordedReplayTarget`). This module supplies the FIRST production
|
|
4107
|
-
* alternative: dispatch the recorded `tools-call` events at a *live* clone MCP
|
|
4108
|
-
* session via the attestation-gated {@link createCloneSessionAdapter}.
|
|
4109
|
-
*
|
|
4110
|
-
* The headline guarantee is the gate. The factory attests the descriptor with
|
|
4111
|
-
* `attestCloneTarget` BEFORE opening any transport: an unattested endpoint (a
|
|
4112
|
-
* non-clone host, a host that disagrees with the saved session) throws
|
|
4113
|
-
* `UnattestedReplayTargetError` and no live tool call is ever dispatched. The
|
|
4114
|
-
* dispatcher must NOT swallow that throw into a record-derived fallback — a
|
|
4115
|
-
* refusal is a refusal, surfaced to the caller as a typed error.
|
|
4116
|
-
*
|
|
4117
|
-
* This module only adapts; the attestation, transport, and comparison logic all
|
|
4118
|
-
* live in the primitives it composes (`clone-target-attestation`,
|
|
4119
|
-
* `clone-session-adapter`, `mcp-transcript-replay`).
|
|
4120
|
-
*/
|
|
4121
|
-
|
|
4122
|
-
/**
|
|
4123
|
-
* What the dispatcher needs to drive the mcp-transcript surface against a live
|
|
4124
|
-
* clone: the attested descriptor and the adapter connection seam. Production
|
|
4125
|
-
* leaves `connect` unset (the adapter opens a streamable-HTTP session against the
|
|
4126
|
-
* attested endpoint); tests inject an in-process clone session.
|
|
4127
|
-
*/
|
|
4128
|
-
interface LiveCloneTargetConfig {
|
|
4129
|
-
readonly descriptor: CloneTargetDescriptor;
|
|
4130
|
-
readonly adapterOptions?: CloneSessionAdapterOptions;
|
|
4131
|
-
}
|
|
4132
|
-
|
|
4133
|
-
declare const REPLAY_LEDGER_SCHEMA = "archal.replay.ledger";
|
|
4134
|
-
declare const REPLAY_LEDGER_VERSION = 1;
|
|
4135
|
-
/**
|
|
4136
|
-
* Per-surface replay verdict.
|
|
4137
|
-
*
|
|
4138
|
-
* - `reproduced` — the surface's executable replayer recomputed the recorded
|
|
4139
|
-
* outcome faithfully (RAG mini-index order matched, or every MCP tool call
|
|
4140
|
-
* reproduced with no schema drift).
|
|
4141
|
-
* - `diverged` — the replayer ran and the recomputed outcome did NOT match the
|
|
4142
|
-
* recording (RAG top-K order changed, or an MCP result/error/schema diverged).
|
|
4143
|
-
* - `unresolved` — the surface was DETECTED but has no executable replayer in
|
|
4144
|
-
* this slice (saas-api / db-query / workflow-event). This is an honest
|
|
4145
|
-
* placeholder, never a fake pass: an unresolved surface poisons the exit code
|
|
4146
|
-
* by default so undetectable surfaces cannot silently slip through green.
|
|
4147
|
-
*/
|
|
4148
|
-
type ReplayLedgerSurfaceStatus = 'reproduced' | 'diverged' | 'unresolved';
|
|
4149
|
-
/**
|
|
4150
|
-
* One detected surface and how it replayed. `evidence` is the verbatim outcome
|
|
4151
|
-
* the routed replayer returned (RagMiniIndexReplayResult / McpTranscriptReplayOutcome)
|
|
4152
|
-
* for a reproduced/diverged surface, or `{ reason }` for an unresolved surface.
|
|
4153
|
-
* The ledger never re-derives a surface's status from a summary — it carries the
|
|
4154
|
-
* replayer's own recomputed verdict so downstream consumers see exactly what was
|
|
4155
|
-
* compared.
|
|
4156
|
-
*/
|
|
4157
|
-
interface ReplayLedgerSurface {
|
|
4158
|
-
/** Stable surface label, e.g. `rag`, `mcp-transcript`, `saas-api`. */
|
|
4159
|
-
surface: string;
|
|
4160
|
-
/** Detected surface kind (currently identical to `surface`, kept distinct for future sub-surfaces). */
|
|
4161
|
-
kind: string;
|
|
4162
|
-
status: ReplayLedgerSurfaceStatus;
|
|
4163
|
-
evidence: unknown;
|
|
4164
|
-
}
|
|
4165
|
-
interface ReplayLedger {
|
|
4166
|
-
schema: typeof REPLAY_LEDGER_SCHEMA;
|
|
4167
|
-
version: typeof REPLAY_LEDGER_VERSION;
|
|
4168
|
-
/** Durable join key anchoring this ledger to its replay world (remediation feed). */
|
|
4169
|
-
replayWorldKey: ReplayWorldKey;
|
|
4170
|
-
surfaces: ReplayLedgerSurface[];
|
|
4171
|
-
/**
|
|
4172
|
-
* Floor across surfaces: any diverged surface poisons the whole ledger to
|
|
4173
|
-
* `diverged`; else any unresolved surface makes it `unresolved`; else
|
|
4174
|
-
* `reproduced`. The overall verdict is only as trustworthy as the weakest
|
|
4175
|
-
* surface, so a single divergence cannot be masked by other reproduced ones.
|
|
4176
|
-
*/
|
|
4177
|
-
overall: ReplayLedgerSurfaceStatus;
|
|
4178
|
-
/**
|
|
4179
|
-
* 0 only when every surface reproduced (or unresolved is explicitly allowed
|
|
4180
|
-
* and no surface diverged); 1 when any surface diverged OR any surface is
|
|
4181
|
-
* unresolved and unresolved is not allowed.
|
|
4182
|
-
*/
|
|
4183
|
-
exitCode: 0 | 1;
|
|
4184
|
-
}
|
|
4185
|
-
interface AggregateLedgerOptions {
|
|
4186
|
-
/** When true, an unresolved-only ledger exits 0 (still 1 if anything diverged). */
|
|
4187
|
-
allowUnresolved?: boolean;
|
|
4188
|
-
}
|
|
4189
|
-
interface AggregatedLedgerVerdict {
|
|
4190
|
-
overall: ReplayLedgerSurfaceStatus;
|
|
4191
|
-
exitCode: 0 | 1;
|
|
4192
|
-
}
|
|
4193
|
-
/**
|
|
4194
|
-
* Pure aggregation over per-surface statuses. No I/O. `overall` is the floor
|
|
4195
|
-
* (diverged > unresolved > reproduced); `exitCode` is 1 when anything diverged,
|
|
4196
|
-
* or when an unresolved surface is present and `allowUnresolved` is not set.
|
|
4197
|
-
*
|
|
4198
|
-
* An empty surface set is treated as `unresolved` (nothing was actually
|
|
4199
|
-
* replayed), so a capsule that detected no executable surface never reports a
|
|
4200
|
-
* vacuous reproduced/exit-0.
|
|
4201
|
-
*/
|
|
4202
|
-
declare function aggregateLedger(surfaces: ReplayLedgerSurface[], options?: AggregateLedgerOptions): AggregatedLedgerVerdict;
|
|
4203
|
-
|
|
4204
|
-
interface RagRetrieverReplayChunk {
|
|
4205
|
-
id?: string;
|
|
4206
|
-
chunkId?: string;
|
|
4207
|
-
documentId?: string;
|
|
4208
|
-
source?: string;
|
|
4209
|
-
uri?: string;
|
|
4210
|
-
title?: string;
|
|
4211
|
-
rank?: number;
|
|
4212
|
-
score?: number;
|
|
4213
|
-
text: string;
|
|
4214
|
-
metadata?: Record<string, unknown>;
|
|
4215
|
-
}
|
|
4216
|
-
interface RagRetrieverReplayEntry {
|
|
4217
|
-
id?: string;
|
|
4218
|
-
query?: string;
|
|
4219
|
-
rewrittenQuery?: string;
|
|
4220
|
-
provider?: string;
|
|
4221
|
-
framework?: string;
|
|
4222
|
-
vectorStore?: string;
|
|
4223
|
-
filters?: Record<string, unknown>;
|
|
4224
|
-
index?: string;
|
|
4225
|
-
namespace?: string;
|
|
4226
|
-
topK?: number;
|
|
4227
|
-
retriever?: string;
|
|
4228
|
-
embeddingModel?: string;
|
|
4229
|
-
reranker?: string;
|
|
4230
|
-
rerankerModel?: string;
|
|
4231
|
-
results: RagRetrieverReplayChunk[];
|
|
4232
|
-
rerankedResults?: RagRetrieverReplayChunk[];
|
|
4233
|
-
providerReplayAdapter?: string;
|
|
4234
|
-
providerHost?: string;
|
|
4235
|
-
providerHosts?: string[];
|
|
4236
|
-
providerBaseUrl?: string;
|
|
4237
|
-
providerBaseUrls?: string[];
|
|
4238
|
-
hosts?: string[];
|
|
4239
|
-
domains?: string[];
|
|
4240
|
-
requestFingerprint?: string;
|
|
4241
|
-
requestFingerprints?: string[];
|
|
4242
|
-
}
|
|
4243
|
-
interface RagRetrieverReplayFixture {
|
|
4244
|
-
schema: 'archal.rag.retriever-replay-fixture.v1';
|
|
4245
|
-
version: 1;
|
|
4246
|
-
entries: RagRetrieverReplayEntry[];
|
|
4247
|
-
hosts?: string[];
|
|
4248
|
-
providerHosts?: string[];
|
|
4249
|
-
domains?: string[];
|
|
4250
|
-
}
|
|
4251
|
-
interface RagRetrieverReplayRequest {
|
|
4252
|
-
hostname: string;
|
|
4253
|
-
path: string;
|
|
4254
|
-
method: string;
|
|
4255
|
-
body?: unknown;
|
|
4256
|
-
}
|
|
4257
|
-
|
|
4258
|
-
declare const REPLAY_RUN_SCHEMA = "archal.replay.run";
|
|
4259
|
-
declare const REPLAY_RUN_VERSION = 1;
|
|
4260
|
-
interface RetrieverReplayChunkComparison {
|
|
4261
|
-
rank: number;
|
|
4262
|
-
recorded?: RetrieverReplayChunkSnapshot;
|
|
4263
|
-
replayed?: RetrieverReplayChunkSnapshot;
|
|
4264
|
-
matched: boolean;
|
|
4265
|
-
divergences: string[];
|
|
4266
|
-
}
|
|
4267
|
-
interface RetrieverReplayChunkSnapshot {
|
|
4268
|
-
id?: string;
|
|
4269
|
-
score?: number;
|
|
4270
|
-
rank?: number;
|
|
4271
|
-
textDigest: string;
|
|
4272
|
-
}
|
|
4273
|
-
type RetrieverReplayEntryStatus = 'reproduced' | 'diverged' | 'unresolved';
|
|
4274
|
-
interface RetrieverReplayEntryOutcome {
|
|
4275
|
-
entryId?: string;
|
|
4276
|
-
providerHost?: string;
|
|
4277
|
-
status: RetrieverReplayEntryStatus;
|
|
4278
|
-
recordedChunkCount: number;
|
|
4279
|
-
replayedChunkCount: number;
|
|
4280
|
-
orderPreserved: boolean;
|
|
4281
|
-
comparisons: RetrieverReplayChunkComparison[];
|
|
4282
|
-
divergences: string[];
|
|
4283
|
-
}
|
|
4284
|
-
type RetrieverReplayRunStatus = 'reproduced' | 'partial' | 'diverged';
|
|
4285
|
-
interface RetrieverReplayRunLedger {
|
|
4286
|
-
schema: typeof REPLAY_RUN_SCHEMA;
|
|
4287
|
-
version: typeof REPLAY_RUN_VERSION;
|
|
4288
|
-
status: RetrieverReplayRunStatus;
|
|
4289
|
-
reproduced: boolean;
|
|
4290
|
-
entryCount: number;
|
|
4291
|
-
reproducedCount: number;
|
|
4292
|
-
divergedCount: number;
|
|
4293
|
-
unresolvedCount: number;
|
|
4294
|
-
skippedCount: number;
|
|
4295
|
-
entries: RetrieverReplayEntryOutcome[];
|
|
4296
|
-
}
|
|
4297
|
-
interface RetrieverReplayRunInput {
|
|
4298
|
-
fixture: RagRetrieverReplayFixture;
|
|
4299
|
-
skippedCount?: number;
|
|
4300
|
-
mutateRequestBody?: (entry: RagRetrieverReplayEntry) => Record<string, unknown> | undefined;
|
|
4301
|
-
}
|
|
4302
|
-
|
|
4303
|
-
interface HydratedRetrieverReplay {
|
|
4304
|
-
fixture: RagRetrieverReplayFixture;
|
|
4305
|
-
skippedCount: number;
|
|
4306
|
-
}
|
|
4307
|
-
declare function hydrateRetrieverReplayFixtureFromPath(path: string): RagRetrieverReplayFixture;
|
|
4308
|
-
declare function hydrateRetrieverReplayFromPath(path: string): HydratedRetrieverReplay;
|
|
4309
|
-
declare function hydrateRetrieverReplayFixture(value: unknown): RagRetrieverReplayFixture;
|
|
4310
|
-
declare function hydrateRetrieverReplay(value: unknown): HydratedRetrieverReplay;
|
|
4311
|
-
declare function replayRetrieverReplay(input: RetrieverReplayRunInput): RetrieverReplayRunLedger;
|
|
4312
|
-
declare function reconstructRetrieverRequest(entry: RagRetrieverReplayEntry, mutation?: Record<string, unknown>): RagRetrieverReplayRequest | undefined;
|
|
4313
|
-
type RetrieverReplayMutationField = 'query' | 'filter' | 'topK';
|
|
4314
|
-
declare function buildRetrieverReplayMutation(field: RetrieverReplayMutationField): (entry: RagRetrieverReplayEntry) => Record<string, unknown>;
|
|
4315
|
-
|
|
4316
|
-
interface RunSurfaceReplayOptions {
|
|
4317
|
-
/** When true an unresolved-only ledger exits 0 (a diverged surface still exits 1). */
|
|
4318
|
-
allowUnresolved?: boolean;
|
|
4319
|
-
/**
|
|
4320
|
-
* Optional RAG-retriever request mutation lever. When set, the RAG surface is
|
|
4321
|
-
* replayed through the merged retriever-replay path with the captured request
|
|
4322
|
-
* rewritten on `field`, proving divergence-on-mutation (a genuinely-different
|
|
4323
|
-
* request must stop resolving to its recorded capture). Ignored by every
|
|
4324
|
-
* non-RAG surface and by the mini-index fallback (which has no replayable
|
|
4325
|
-
* request to mutate).
|
|
4326
|
-
*/
|
|
4327
|
-
mutate?: RetrieverReplayMutationField;
|
|
4328
|
-
/**
|
|
4329
|
-
* Optional LIVE clone target for the mcp-transcript surface. When set, every
|
|
4330
|
-
* recorded `tools-call` is dispatched against a real clone MCP session (via the
|
|
4331
|
-
* attestation-gated {@link openLiveCloneTarget}) instead of the record-derived
|
|
4332
|
-
* target — `replay run --target clone`. The descriptor is attested before any
|
|
4333
|
-
* transport opens; an unattested target throws `UnattestedReplayTargetError`
|
|
4334
|
-
* and is NOT downgraded to the record-derived path. When unset, mcp-transcript
|
|
4335
|
-
* replays against its own captured outcomes (the default). Ignored by every
|
|
4336
|
-
* non-mcp-transcript surface.
|
|
4337
|
-
*/
|
|
4338
|
-
cloneTarget?: LiveCloneTargetConfig;
|
|
4339
|
-
}
|
|
4340
|
-
/**
|
|
4341
|
-
* The KEYSTONE execute step: detect each surface present in a loaded capsule,
|
|
4342
|
-
* route it to the EXISTING replayer for its kind, and emit one unified
|
|
4343
|
-
* {@link ReplayLedger} with a per-surface verdict + verbatim evidence, an
|
|
4344
|
-
* overall floor status, and an exit code.
|
|
4345
|
-
*
|
|
4346
|
-
* Reuses the detect/plan layer for surface presence and the two real executable
|
|
4347
|
-
* replayers (RAG mini-index + MCP transcript) verbatim — it adds no replay
|
|
4348
|
-
* logic of its own, only routing + aggregation.
|
|
4349
|
-
*/
|
|
4350
|
-
declare function runSurfaceReplay(input: LoadedReplayInput, options?: RunSurfaceReplayOptions): Promise<ReplayLedger>;
|
|
4351
|
-
/**
|
|
4352
|
-
* Read a replay input file and run the unified surface replay. Accepts every
|
|
4353
|
-
* shape the merged command must support:
|
|
4354
|
-
* - a STANDALONE RAG L2 retriever-replay fixture (#15393's e2e capture format)
|
|
4355
|
-
* -> a single `rag` surface routed through the retriever-replay path, so the
|
|
4356
|
-
* retriever proof loop (reproduced|partial|diverged + --mutate) survives even
|
|
4357
|
-
* when the input is a bare fixture with no generic replay evidence.
|
|
4358
|
-
* - any generic replay evidence (capsule / agent-surface / trace upload) ->
|
|
4359
|
-
* loaded into a {@link LoadedReplayInput} and dispatched across all surfaces.
|
|
4360
|
-
*/
|
|
4361
|
-
declare function runSurfaceReplayFromPath(path: string, options?: RunSurfaceReplayOptions): Promise<ReplayLedger>;
|
|
4362
|
-
interface RunSurfaceReplayFromValueOptions extends RunSurfaceReplayOptions {
|
|
4363
|
-
sourcePath?: string;
|
|
4364
|
-
}
|
|
4365
|
-
declare function runSurfaceReplayFromValue(value: unknown, options?: RunSurfaceReplayFromValueOptions): Promise<ReplayLedger>;
|
|
4366
|
-
|
|
4367
|
-
type McpTranscriptReplay = McpTranscriptReplay$1;
|
|
4368
|
-
/**
|
|
4369
|
-
* A {@link CloneReplayTarget} derived from the transcript's OWN captured
|
|
4370
|
-
* evidence: the schemas come from the recorded `tools-list`, and each
|
|
4371
|
-
* `callTool` returns the result/error the recording captured for that tool.
|
|
4372
|
-
*
|
|
4373
|
-
* This is deliberately NOT a live clone. It is the record-derived seam the
|
|
4374
|
-
* dispatcher replays against until live clone-session injection lands (the
|
|
4375
|
-
* post-#15307 PR reserved by the mcp-transcript-replay.ts `CloneReplayTarget`
|
|
4376
|
-
* header). Because it replays the transcript's own results, a faithful capsule
|
|
4377
|
-
* reproduces by construction and a MUTATED recorded result diverges — which is
|
|
4378
|
-
* exactly what exercises the real comparator (diffValues/diffResponseShapes/
|
|
4379
|
-
* canonical-JSON) inside `replayMcpTranscript`, rather than a stub.
|
|
4380
|
-
*
|
|
4381
|
-
* It does NOT prove a live clone reproduces the recording; that is the explicit
|
|
4382
|
-
* follow-up. It DOES prove the comparator + dispatch + ledger wiring and detects
|
|
4383
|
-
* recorded-data tampering.
|
|
4384
|
-
*/
|
|
4385
|
-
declare function recordedReplayTarget(transcript: McpTranscriptReplay): CloneReplayTarget;
|
|
4386
|
-
|
|
4387
|
-
declare function planReplayWorld(input: LoadedReplayInput): ReplayWorldPlan;
|
|
4388
|
-
|
|
4389
|
-
declare function computeReplayWorldKey(input: LoadedReplayInput): ReplayWorldKey;
|
|
4390
|
-
declare function stableStringify(value: unknown): string;
|
|
4391
|
-
|
|
4392
|
-
declare const REMEDIATION_BENCHMARK_SCHEMA = "archal.replay.remediation-benchmark";
|
|
4393
|
-
declare const REMEDIATION_BENCHMARK_VERSION = 1;
|
|
4394
|
-
/**
|
|
4395
|
-
* The observable, service-agnostic outcome facts distilled from a replay
|
|
4396
|
-
* capsule's `stateAfter`. These are the facts a remediation must change to be
|
|
4397
|
-
* credited as a real fix; they are derived (recompute-not-trust), never trusted
|
|
4398
|
-
* from a producer-supplied field.
|
|
4399
|
-
*/
|
|
4400
|
-
interface RemediationObservableOutcome {
|
|
4401
|
-
/** A Stripe refund reached a terminal `succeeded`/`pending` status. */
|
|
4402
|
-
stripeRefundIssued: boolean;
|
|
4403
|
-
/** The escalation ticket's status, if a Zendesk ticket is present. */
|
|
4404
|
-
zendeskTicketStatus?: string;
|
|
4405
|
-
/** The finance-approval state recorded on the escalation ticket. */
|
|
4406
|
-
financeApproval?: string;
|
|
4407
|
-
}
|
|
4408
|
-
/**
|
|
4409
|
-
* A deterministic fingerprint of a reproduced (or candidate) failure outcome.
|
|
4410
|
-
* Two byte-identical observable outcomes always produce the same digest.
|
|
4411
|
-
*/
|
|
4412
|
-
interface FailureSignature {
|
|
4413
|
-
algorithm: 'sha256';
|
|
4414
|
-
/** sha256 over the canonicalized {@link RemediationObservableOutcome}. */
|
|
4415
|
-
digest: string;
|
|
4416
|
-
/** The canonical observable outcome the digest was computed over. */
|
|
4417
|
-
outcome: RemediationObservableOutcome;
|
|
4418
|
-
}
|
|
4419
|
-
/**
|
|
4420
|
-
* The deterministic oracle a remediation benchmark carries. `reproduced` is the
|
|
4421
|
-
* signature of the unfixed failure; `target` is the signature the fixedOutcome
|
|
4422
|
-
* demands. A candidate satisfies the oracle only when its recomputed signature
|
|
4423
|
-
* equals `target.digest` and differs from `reproduced.digest`, which is exactly
|
|
4424
|
-
* why a NO-OP (state unchanged → signature equals `reproduced`) cannot pass.
|
|
4425
|
-
*/
|
|
4426
|
-
interface FailureSignatureOracle {
|
|
4427
|
-
reproduced: FailureSignature;
|
|
4428
|
-
target: FailureSignature;
|
|
4429
|
-
}
|
|
4430
|
-
interface RemediationBenchmark {
|
|
4431
|
-
schema: typeof REMEDIATION_BENCHMARK_SCHEMA;
|
|
4432
|
-
version: typeof REMEDIATION_BENCHMARK_VERSION;
|
|
4433
|
-
/** Binds the benchmark to the substrate replay world it was generated from. */
|
|
4434
|
-
replayWorldKey: ReplayWorldKey;
|
|
4435
|
-
oracle: FailureSignatureOracle;
|
|
4436
|
-
objective: string;
|
|
4437
|
-
}
|
|
4438
|
-
type RemediationBenchmarkFailureReason = 'world_key_mismatch' | 'no_op_reproduces_failure' | 'outcome_not_at_target';
|
|
4439
|
-
interface RemediationBenchmarkResult {
|
|
4440
|
-
satisfied: boolean;
|
|
4441
|
-
/** The candidate state's recomputed signature (never trusted from input). */
|
|
4442
|
-
candidate: FailureSignature;
|
|
4443
|
-
reasons: RemediationBenchmarkFailureReason[];
|
|
4444
|
-
}
|
|
4445
|
-
|
|
4446
|
-
/**
|
|
4447
|
-
* A producer-supplied "what the fix should look like" oracle (e.g. the
|
|
4448
|
-
* `expected.fixedOutcome` block of a cross-owner capsule). It is projected into
|
|
4449
|
-
* the derived {@link RemediationObservableOutcome} shape so the target signature
|
|
4450
|
-
* is byte-comparable with signatures recomputed from candidate state.
|
|
4451
|
-
*/
|
|
4452
|
-
interface RemediationFixedOutcome {
|
|
4453
|
-
stripeRefundIssued: boolean;
|
|
4454
|
-
zendeskTicketStatus?: string;
|
|
4455
|
-
financeApproval?: string;
|
|
4456
|
-
}
|
|
4457
|
-
interface GenerateRemediationBenchmarkOptions {
|
|
4458
|
-
fixedOutcome: RemediationFixedOutcome;
|
|
4459
|
-
objective?: string;
|
|
4460
|
-
}
|
|
4461
|
-
/**
|
|
4462
|
-
* Generate a remediation benchmark (a failure-signature oracle + replay-world-key
|
|
4463
|
-
* binding) from a loaded replay world. This is the GENERATION half only: it does
|
|
4464
|
-
* NOT itself run the candidate fix and observe a before/after transition — it
|
|
4465
|
-
* produces the durable artifact a later run-based gate evaluates against.
|
|
4466
|
-
*
|
|
4467
|
-
* The benchmark is BOUND to `computeReplayWorldKey(input)` and carries a
|
|
4468
|
-
* deterministic failure-signature oracle: `reproduced` is recomputed from the
|
|
4469
|
-
* unfixed capsule `stateAfter`, `target` from the fixedOutcome. Because the
|
|
4470
|
-
* oracle demands a candidate signature equal `target` AND differ from
|
|
4471
|
-
* `reproduced`, a NO-OP (unchanged state → signature equals `reproduced`)
|
|
4472
|
-
* provably cannot satisfy it — but the act of running a candidate and recomputing
|
|
4473
|
-
* its signature lives in {@link evaluateRemediationBenchmark}'s consumer (#15304),
|
|
4474
|
-
* not here.
|
|
4475
|
-
*
|
|
4476
|
-
* SECURITY (PII minimization + fail-CLOSED no-prod-egress). The generated benchmark
|
|
4477
|
-
* is an EXPORT-destined artifact (hosted benchmark store / external consumer), so
|
|
4478
|
-
* before any benchmark field is derived from the capsule the capsule is run through
|
|
4479
|
-
* {@link secureCapsuleForExport} — `minimizeReplayCapsulePii` then a fail-CLOSED
|
|
4480
|
-
* `assertNoProdEgress`. The human-readable `objective` (the one free-text field that
|
|
4481
|
-
* egresses raw capsule prose, and thus the leak vector) is derived from the MINIMIZED
|
|
4482
|
-
* capsule, so customer PII in a capture-supplied objective is dropped, never emitted;
|
|
4483
|
-
* a dropped objective falls back to the safe default. The oracle signatures stay
|
|
4484
|
-
* derived from the REAL `stateAfter` so they stay byte-comparable with {@link
|
|
4485
|
-
* evaluateRemediationBenchmark}, which recomputes candidate signatures from raw run
|
|
4486
|
-
* state — but because the derived oracle outcome ships alongside each digest WITHOUT
|
|
4487
|
-
* passing through the capsule minimize→gate pass, those status-enum strings are
|
|
4488
|
-
* independently fail-CLOSED via {@link assertOracleOutcomeSafe}: a legitimate enum
|
|
4489
|
-
* passes, but PII smuggled into a `status`/`finance_approval` field (the schema is
|
|
4490
|
-
* `.loose()`) REFUSES the export. If the minimized capsule OR the derived oracle trips
|
|
4491
|
-
* a gate the whole generation is REFUSED ({@link ReplayEgressRefusedError}) before a
|
|
4492
|
-
* benchmark is emitted.
|
|
4493
|
-
*/
|
|
4494
|
-
declare function generateRemediationBenchmark(input: LoadedReplayInput, options: GenerateRemediationBenchmarkOptions): RemediationBenchmark;
|
|
4495
|
-
/**
|
|
4496
|
-
* Evaluate a candidate world state against a benchmark. RECOMPUTE-NOT-TRUST: the
|
|
4497
|
-
* candidate signature is re-derived from `candidateStateAfter`, never read from
|
|
4498
|
-
* a caller-supplied field. The candidate satisfies the benchmark only when (1)
|
|
4499
|
-
* it targets the same replay world, (2) its signature differs from the
|
|
4500
|
-
* reproduced failure (rules out NO-OPs), and (3) its signature equals the fixed
|
|
4501
|
-
* target.
|
|
4502
|
-
*
|
|
4503
|
-
* PRODUCTION CALLER: {@link assessRemediationBenchmarkRun} (the `archal benchmark
|
|
4504
|
-
* run` verb) drives this as the run-based transition gate — it hands a candidate
|
|
4505
|
-
* fix's resulting `stateAfter` here and asserts the failed-before/passed-after
|
|
4506
|
-
* transition. The remaining DEFERRED half (#15304) is live-sandbox dispatch of a
|
|
4507
|
-
* candidate fix to PRODUCE that `stateAfter`; this function and its caller prove
|
|
4508
|
-
* the gate GIVEN a candidate's resulting world.
|
|
4509
|
-
*/
|
|
4510
|
-
declare function evaluateRemediationBenchmark(benchmark: RemediationBenchmark, candidate: {
|
|
4511
|
-
replayWorldKey: ReplayWorldKey | string;
|
|
4512
|
-
candidateStateAfter: TraceReplayCapsule['stateAfter'] | undefined;
|
|
4513
|
-
}): RemediationBenchmarkResult;
|
|
4514
|
-
/**
|
|
4515
|
-
* A candidate fix's resulting world, as handed to the run-based transition gate.
|
|
4516
|
-
* `stateAfter` is the candidate's RESULTING state (the world a fix produced); it
|
|
4517
|
-
* is fed verbatim to {@link evaluateRemediationBenchmark}, which RE-DERIVES the
|
|
4518
|
-
* signature from it — never trusting any producer-supplied summary. The
|
|
4519
|
-
* `replayWorldKey` defaults to the benchmark's own key (the candidate ran against
|
|
4520
|
-
* the same world) but can be overridden to assert against a foreign world.
|
|
4521
|
-
*/
|
|
4522
|
-
interface RemediationCandidate {
|
|
4523
|
-
stateAfter: TraceReplayCapsule['stateAfter'] | undefined;
|
|
4524
|
-
replayWorldKey?: ReplayWorldKey | string;
|
|
4525
|
-
}
|
|
4526
|
-
/**
|
|
4527
|
-
* A candidate-runner callback (the programmatic path): given the benchmark it
|
|
4528
|
-
* must remediate, it executes a candidate fix and returns the candidate's
|
|
4529
|
-
* resulting world. The genuine #15304 live-sandbox dispatch of a candidate FIX
|
|
4530
|
-
* is the DEFERRED follow-on; this slice proves the transition gate given a
|
|
4531
|
-
* candidate `stateAfter` the runner returns (a no-op runner returns the
|
|
4532
|
-
* reproduced failure verbatim, the genuine runner returns the fixed world).
|
|
4533
|
-
*/
|
|
4534
|
-
type RemediationCandidateRunner = (benchmark: RemediationBenchmark) => RemediationCandidate | Promise<RemediationCandidate>;
|
|
4535
|
-
interface RemediationBenchmarkRunResult {
|
|
4536
|
-
/** The terminal verdict: the failed-before/passed-after transition held. */
|
|
4537
|
-
passed: boolean;
|
|
4538
|
-
/** `PASSED` when the transition held; otherwise the failure verdict. */
|
|
4539
|
-
verdict: 'PASSED' | 'UNDERMODELED';
|
|
4540
|
-
/** The benchmark's reproduced-failure signature (the failed-before anchor). */
|
|
4541
|
-
reproduced: RemediationBenchmark['oracle']['reproduced'];
|
|
4542
|
-
/** The benchmark's fixed-target signature (the passed-after anchor). */
|
|
4543
|
-
target: RemediationBenchmark['oracle']['target'];
|
|
4544
|
-
/** The underlying recompute-not-trust evaluation of the candidate's world. */
|
|
4545
|
-
evaluation: RemediationBenchmarkResult;
|
|
4546
|
-
}
|
|
4547
|
-
/**
|
|
4548
|
-
* EXECUTE the remediation benchmark's transition gate against a candidate fix's
|
|
4549
|
-
* resulting world. This is the production caller {@link evaluateRemediationBenchmark}
|
|
4550
|
-
* was built as the interface for: it asserts the failed-before / passed-after
|
|
4551
|
-
* transition the benchmark's oracle encodes, bound to the benchmark's
|
|
4552
|
-
* `replayWorldKey`.
|
|
4553
|
-
*
|
|
4554
|
-
* The candidate's signature is RE-DERIVED from its `stateAfter` (recompute-not-trust),
|
|
4555
|
-
* so a NO-OP candidate (resulting state == the reproduced failure) recomputes to
|
|
4556
|
-
* the reproduced signature and is rejected `UNDERMODELED`; only a candidate whose
|
|
4557
|
-
* recomputed signature both differs from the reproduced failure AND equals the
|
|
4558
|
-
* fixed target `PASSED`s. The benchmark already refuses to generate when the
|
|
4559
|
-
* fixedOutcome trivially matches the reproduced failure, so the failed-before
|
|
4560
|
-
* anchor is guaranteed distinct from the passed-after anchor.
|
|
4561
|
-
*
|
|
4562
|
-
* DEFERRED: actually dispatching a candidate fix in a live sandbox to PRODUCE its
|
|
4563
|
-
* `stateAfter` is infra-gated (#15304's live-sandbox half). This function proves
|
|
4564
|
-
* the transition gate GIVEN a candidate's resulting world — whether that world
|
|
4565
|
-
* arrives from a file, a test, or a future live runner.
|
|
4566
|
-
*/
|
|
4567
|
-
declare function assessRemediationBenchmarkRun(benchmark: RemediationBenchmark, candidate: RemediationCandidate | RemediationCandidateRunner): Promise<RemediationBenchmarkRunResult>;
|
|
4568
|
-
/**
|
|
4569
|
-
* Parse a persisted benchmark artifact (the JSON `archal benchmark create --json`
|
|
4570
|
-
* emits, whether the bare benchmark or wrapped as `{ benchmark }`). Validates the
|
|
4571
|
-
* schema/version and the oracle shape so a malformed artifact fails loudly rather
|
|
4572
|
-
* than silently evaluating against a garbage oracle.
|
|
4573
|
-
*/
|
|
4574
|
-
declare function parseRemediationBenchmark(value: unknown): RemediationBenchmark;
|
|
4575
|
-
|
|
4576
|
-
/**
|
|
4577
|
-
* Thrown when an export-destined replay capsule fails the fail-CLOSED no-prod-egress
|
|
4578
|
-
* gate. The capsule (or, normally, its post-minimization copy) still carries at least
|
|
4579
|
-
* one leaf value the egress gate could not prove safe, so the artifact is REFUSED
|
|
4580
|
-
* before it leaves the trust boundary. Carries the structured violations so a caller
|
|
4581
|
-
* (or a test) can assert exactly which path/reason tripped the gate.
|
|
4582
|
-
*/
|
|
4583
|
-
declare class ReplayEgressRefusedError extends Error {
|
|
4584
|
-
readonly violations: EgressVerdict['violations'];
|
|
4585
|
-
constructor(violations: EgressVerdict['violations']);
|
|
4586
|
-
}
|
|
4587
|
-
interface SecureCapsuleForExportResult {
|
|
4588
|
-
/** The minimized, egress-cleared capsule safe to emit past the trust boundary. */
|
|
4589
|
-
capsule: TraceReplayCapsule;
|
|
4590
|
-
/** What minimization changed (dropped / hashed / tokenized counts + paths). */
|
|
4591
|
-
report: MinimizationReport;
|
|
4592
|
-
/** The fail-closed verdict that authorized the emit (always `allowed: true` here). */
|
|
4593
|
-
verdict: EgressVerdict;
|
|
4594
|
-
}
|
|
4595
|
-
/**
|
|
4596
|
-
* The single export-destined hardening seam, reused by every artifact path that emits
|
|
4597
|
-
* a {@link TraceReplayCapsule} (or a benchmark derived from one) to hosted storage,
|
|
4598
|
-
* the benchmark export, or any external consumer. It composes the two
|
|
4599
|
-
* `@archal/contracts` replay-security primitives in the only correct order:
|
|
4600
|
-
*
|
|
4601
|
-
* 1. {@link minimizeReplayCapsulePii} — produce a benchmark-safe COPY whose
|
|
4602
|
-
* PII-bearing leaves are dropped / hashed / tokenized per `policy`.
|
|
4603
|
-
* 2. {@link assertNoProdEgress} — run the fail-CLOSED gate on that minimized copy.
|
|
4604
|
-
*
|
|
4605
|
-
* FAIL-CLOSED. If the minimized capsule still trips the gate (a minimizer gap, a
|
|
4606
|
-
* brand-new capsule field the minimizer doesn't yet reach, or a caller that passed an
|
|
4607
|
-
* already-un-minimizable shape), this THROWS {@link ReplayEgressRefusedError} rather
|
|
4608
|
-
* than emitting. A raw, un-minimized capsule with sensitive fields can therefore never
|
|
4609
|
-
* be exported: it is either minimized into a provably-safe copy or refused.
|
|
4610
|
-
*/
|
|
4611
|
-
declare function secureCapsuleForExport(capsule: TraceReplayCapsule, policy?: ReplaySecurityPolicy): SecureCapsuleForExportResult;
|
|
4612
|
-
|
|
4613
|
-
declare function normalizeFailureSignature(outcome: RemediationObservableOutcome): string;
|
|
4614
|
-
declare function failureSignatureOf(outcome: RemediationObservableOutcome): FailureSignature;
|
|
4615
|
-
/**
|
|
4616
|
-
* Recompute (never trust) the observable outcome from a replay capsule's
|
|
4617
|
-
* `stateAfter`. A Stripe refund is "issued" iff a refund object reached a
|
|
4618
|
-
* terminal status (`succeeded`/`pending`); the Zendesk escalation facts are
|
|
4619
|
-
* read off the ticket if one exists. Returning a derived outcome — rather than
|
|
4620
|
-
* echoing any producer-supplied summary — is what makes the benchmark
|
|
4621
|
-
* un-fakeable by a NO-OP.
|
|
4622
|
-
*/
|
|
4623
|
-
declare function deriveObservableOutcome(stateAfter: TraceReplayCapsule['stateAfter'] | undefined): RemediationObservableOutcome;
|
|
4624
|
-
|
|
4625
|
-
export { type AggregateLedgerOptions, type AggregatedLedgerVerdict, type FailureSignature, type FailureSignatureOracle, type GenerateRemediationBenchmarkOptions, type HydratedRetrieverReplay, type LoadedReplayInput, REMEDIATION_BENCHMARK_SCHEMA, REMEDIATION_BENCHMARK_VERSION, REPLAY_INSPECT_SCHEMA, REPLAY_INSPECT_VERSION, REPLAY_LEDGER_SCHEMA, REPLAY_LEDGER_VERSION, REPLAY_RUN_SCHEMA, REPLAY_RUN_VERSION, REPLAY_WORLD_KEY_SCHEMA, REPLAY_WORLD_KEY_VERSION, type RemediationBenchmark, type RemediationBenchmarkFailureReason, type RemediationBenchmarkResult, type RemediationBenchmarkRunResult, type RemediationCandidate, type RemediationCandidateRunner, type RemediationFixedOutcome, type RemediationObservableOutcome, ReplayEgressRefusedError, type ReplayEvidenceSummary, ReplayInputError, type ReplayInputErrorKind, type ReplayInputKind, type ReplayInspectAgentSurfaceSummary, type ReplayInspectCapsuleSummary, type ReplayInspectResult, type ReplayLedger, type ReplayLedgerSurface, type ReplayLedgerSurfaceStatus, type ReplaySurfacePlan, type ReplaySurfaceStatus, type ReplayWorldKey, type ReplayWorldPlan, type RetrieverReplayChunkComparison, type RetrieverReplayChunkSnapshot, type RetrieverReplayEntryOutcome, type RetrieverReplayEntryStatus, type RetrieverReplayMutationField, type RetrieverReplayRunInput, type RetrieverReplayRunLedger, type RunSurfaceReplayFromValueOptions, type RunSurfaceReplayOptions, type SecureCapsuleForExportResult, aggregateLedger, assessRemediationBenchmarkRun, buildRetrieverReplayMutation, computeReplayWorldKey, deriveObservableOutcome, evaluateRemediationBenchmark, failureSignatureOf, generateRemediationBenchmark, hydrateRetrieverReplay, hydrateRetrieverReplayFixture, hydrateRetrieverReplayFixtureFromPath, hydrateRetrieverReplayFromPath, inspectLoadedReplayInput, inspectReplayInput, inspectReplayPath, loadReplayInput, normalizeFailureSignature, parseRemediationBenchmark, planReplayWorld, readReplayInputFromPath, reconstructRetrieverRequest, recordedReplayTarget, replayRetrieverReplay, runSurfaceReplay, runSurfaceReplayFromPath, runSurfaceReplayFromValue, secureCapsuleForExport, stableStringify };
|