@maycombhq/sdk 2.0.0-beta.1 → 2.0.0-beta.10

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.
Files changed (98) hide show
  1. package/{dist → npm}/cache.d.ts +1 -1
  2. package/npm/core/api.d.ts +7462 -0
  3. package/npm/core/assistant-actor.d.ts +15 -0
  4. package/npm/core/audit.d.ts +153 -0
  5. package/npm/core/branches.d.ts +21 -0
  6. package/npm/core/cancel.d.ts +9 -0
  7. package/npm/core/catalog.d.ts +4733 -0
  8. package/npm/core/change-types-migrate.d.ts +10 -0
  9. package/npm/core/cite.d.ts +54 -0
  10. package/npm/core/curated.d.ts +37 -0
  11. package/npm/core/fact-paths.d.ts +14 -0
  12. package/npm/core/facts-callers.d.ts +152 -0
  13. package/npm/core/facts-carry.d.ts +36 -0
  14. package/npm/core/facts-join-prototype.d.ts +234 -0
  15. package/npm/core/facts-join-vendor.d.ts +110 -0
  16. package/npm/core/facts-join.d.ts +482 -0
  17. package/npm/core/facts.d.ts +94 -0
  18. package/npm/core/fs.d.ts +47 -0
  19. package/npm/core/gates-migrate.d.ts +10 -0
  20. package/npm/core/host-questions.d.ts +66 -0
  21. package/npm/core/identity.d.ts +17 -0
  22. package/npm/core/index.d.ts +73 -0
  23. package/npm/core/json-schema.d.ts +20 -0
  24. package/npm/core/judgments.d.ts +63 -0
  25. package/npm/core/light.d.ts +8 -0
  26. package/npm/core/link-evidence.d.ts +212 -0
  27. package/npm/core/log.d.ts +49 -0
  28. package/npm/core/manifest-edit.d.ts +57 -0
  29. package/npm/core/merge.d.ts +78 -0
  30. package/npm/core/metarepo.d.ts +91 -0
  31. package/npm/core/migrate.d.ts +31 -0
  32. package/npm/core/migration-files.d.ts +13 -0
  33. package/npm/core/orgpack-defaults.d.ts +199 -0
  34. package/npm/core/orgpack-load.d.ts +102 -0
  35. package/npm/core/question-order.d.ts +23 -0
  36. package/npm/core/question-owners.d.ts +53 -0
  37. package/npm/core/question-proposals.d.ts +77 -0
  38. package/npm/core/questions.d.ts +297 -0
  39. package/npm/core/record-cache.d.ts +52 -0
  40. package/npm/core/refs.d.ts +9 -0
  41. package/npm/core/repo-description.d.ts +44 -0
  42. package/npm/core/repo-reads.d.ts +44 -0
  43. package/npm/core/roles-migrate.d.ts +9 -0
  44. package/npm/core/runtime-migrate.d.ts +11 -0
  45. package/npm/core/schema/ai.d.ts +397 -0
  46. package/npm/core/schema/change.d.ts +244 -0
  47. package/npm/core/schema/common.d.ts +135 -0
  48. package/npm/core/schema/conventions.d.ts +75 -0
  49. package/npm/core/schema/dialect.d.ts +801 -0
  50. package/npm/core/schema/executors.d.ts +396 -0
  51. package/npm/core/schema/fact-corrections.d.ts +55 -0
  52. package/npm/core/schema/facts.d.ts +1491 -0
  53. package/npm/core/schema/frameworks.d.ts +371 -0
  54. package/npm/core/schema/judgment.d.ts +77 -0
  55. package/npm/core/schema/kinds.d.ts +5166 -0
  56. package/npm/core/schema/layout.d.ts +25 -0
  57. package/npm/core/schema/orgpack.d.ts +1185 -0
  58. package/npm/core/schema/plugin.d.ts +73 -0
  59. package/npm/core/schema/question.d.ts +195 -0
  60. package/npm/core/schema/repo-type.d.ts +109 -0
  61. package/npm/core/schema/review.d.ts +558 -0
  62. package/npm/core/schema/scan-settings.d.ts +34 -0
  63. package/npm/core/schema/scan-verify.d.ts +535 -0
  64. package/npm/core/schema/spec.d.ts +269 -0
  65. package/npm/core/schema/version.d.ts +9 -0
  66. package/npm/core/schema/workspace.d.ts +330 -0
  67. package/npm/core/serialize.d.ts +17 -0
  68. package/npm/core/shared-maps.d.ts +146 -0
  69. package/npm/core/sources-migrate.d.ts +15 -0
  70. package/npm/core/specs.d.ts +66 -0
  71. package/npm/core/stack-helpers.d.ts +32 -0
  72. package/npm/core/tar-read.d.ts +13 -0
  73. package/npm/core/template.d.ts +101 -0
  74. package/npm/core/words.d.ts +13 -0
  75. package/npm/core/zip-read.d.ts +37 -0
  76. package/npm/core/zip.d.ts +13 -0
  77. package/npm/index.js +9780 -0
  78. package/{dist → npm}/plugin.d.ts +1 -1
  79. package/{dist → npm}/runner.d.ts +1 -1
  80. package/package.json +10 -11
  81. package/dist/cache.js +0 -115
  82. package/dist/cache.js.map +0 -1
  83. package/dist/fs-repo.js +0 -120
  84. package/dist/fs-repo.js.map +0 -1
  85. package/dist/index.js +0 -7
  86. package/dist/index.js.map +0 -1
  87. package/dist/parse-cache.js +0 -275
  88. package/dist/parse-cache.js.map +0 -1
  89. package/dist/plugin.js +0 -85
  90. package/dist/plugin.js.map +0 -1
  91. package/dist/runner.js +0 -209
  92. package/dist/runner.js.map +0 -1
  93. package/dist/sandbox.js +0 -443
  94. package/dist/sandbox.js.map +0 -1
  95. /package/{dist → npm}/fs-repo.d.ts +0 -0
  96. /package/{dist → npm}/index.d.ts +0 -0
  97. /package/{dist → npm}/parse-cache.d.ts +0 -0
  98. /package/{dist → npm}/sandbox.d.ts +0 -0
@@ -0,0 +1,1491 @@
1
+ import { z } from "zod";
2
+ export declare const FACT_KINDS: readonly ["entry", "call", "store", "field", "deploy", "config", "framework", "flow"];
3
+ export type FactKind = (typeof FACT_KINDS)[number];
4
+ /** A fact's id: any slug the assistant chooses; the projection makes catalog ids from the claim. */
5
+ export declare const FactId: z.ZodString;
6
+ /**
7
+ * Another line that holds part of a claim built in code: a base URL, a class-level or group
8
+ * prefix, a context path, a gateway's route, a proto's package and service, an MVC route
9
+ * template. `value` is the part as written there.
10
+ */
11
+ export declare const CitePart: z.ZodObject<{
12
+ file: z.ZodString;
13
+ line: z.ZodNumber;
14
+ value: z.ZodString;
15
+ }, z.core.$strict>;
16
+ /**
17
+ * Where a fact rests. `value` is what the verifier looks for on the line (the route, the topic,
18
+ * the table, the field, the host or the key); `quote` is the line's text, or enough of it, as a
19
+ * second anchor. The verifier normalises the quote and never requires it from a binary,
20
+ * notebook or minified file.
21
+ */
22
+ export declare const Cite: z.ZodObject<{
23
+ file: z.ZodString;
24
+ line: z.ZodNumber;
25
+ value: z.ZodString;
26
+ quote: z.ZodOptional<z.ZodString>;
27
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
+ file: z.ZodString;
29
+ line: z.ZodNumber;
30
+ value: z.ZodString;
31
+ }, z.core.$strict>>>;
32
+ }, z.core.$strict>;
33
+ export type Cite = z.infer<typeof Cite>;
34
+ /** Who confirmed the fact: the line check, a sample session, a person, or nobody yet. */
35
+ export declare const FactVerified: z.ZodEnum<{
36
+ line: "line";
37
+ none: "none";
38
+ person: "person";
39
+ sample: "sample";
40
+ }>;
41
+ /** Who produced it. */
42
+ export declare const FactBy: z.ZodEnum<{
43
+ person: "person";
44
+ assistant: "assistant";
45
+ reader: "reader";
46
+ }>;
47
+ /** declared: the code states it; inferred: the assistant concluded it. */
48
+ export declare const FactConf: z.ZodEnum<{
49
+ inferred: "inferred";
50
+ declared: "declared";
51
+ }>;
52
+ export declare const ENTRY_TYPES: readonly ["rest", "grpc", "soap", "graphql", "event-topic", "mq-queue", "batch-job", "function", "webhook", "websocket", "sse", "file-drop", "transaction", "screen"];
53
+ /**
54
+ * What identifies a consumer a gateway route names (ADR 0124 addendum A-callers): a developer
55
+ * `app` subscribed to the route's API product or admitted by a condition, the API `product` the
56
+ * route belongs to, a `client-id` a condition or an allowlist admits, or a certificate `subject`
57
+ * an mTLS check admits.
58
+ */
59
+ export declare const CALLER_KINDS: readonly ["app", "product", "client-id", "subject"];
60
+ export type CallerKind = (typeof CALLER_KINDS)[number];
61
+ /** A consumer a route names: the identity as written (`value`), cited on the line that names it. */
62
+ export declare const CallerCite: z.ZodObject<{
63
+ file: z.ZodString;
64
+ line: z.ZodNumber;
65
+ value: z.ZodString;
66
+ quote: z.ZodOptional<z.ZodString>;
67
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
68
+ file: z.ZodString;
69
+ line: z.ZodNumber;
70
+ value: z.ZodString;
71
+ }, z.core.$strict>>>;
72
+ as: z.ZodEnum<{
73
+ product: "product";
74
+ subject: "subject";
75
+ app: "app";
76
+ "client-id": "client-id";
77
+ }>;
78
+ }, z.core.$strict>;
79
+ export type CallerCite = z.infer<typeof CallerCite>;
80
+ export declare const EntryFact: z.ZodObject<{
81
+ entryType: z.ZodEnum<{
82
+ function: "function";
83
+ "batch-job": "batch-job";
84
+ rest: "rest";
85
+ grpc: "grpc";
86
+ soap: "soap";
87
+ "event-topic": "event-topic";
88
+ "file-drop": "file-drop";
89
+ "mq-queue": "mq-queue";
90
+ graphql: "graphql";
91
+ websocket: "websocket";
92
+ sse: "sse";
93
+ webhook: "webhook";
94
+ transaction: "transaction";
95
+ screen: "screen";
96
+ }>;
97
+ method: z.ZodOptional<z.ZodString>;
98
+ path: z.ZodString;
99
+ handler: z.ZodOptional<z.ZodString>;
100
+ auth: z.ZodOptional<z.ZodEnum<{
101
+ none: "none";
102
+ oauth2: "oauth2";
103
+ mtls: "mtls";
104
+ "api-key": "api-key";
105
+ basic: "basic";
106
+ other: "other";
107
+ }>>;
108
+ authCite: z.ZodOptional<z.ZodObject<{
109
+ file: z.ZodString;
110
+ line: z.ZodNumber;
111
+ value: z.ZodString;
112
+ }, z.core.$strict>>;
113
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ file: z.ZodString;
115
+ line: z.ZodNumber;
116
+ value: z.ZodString;
117
+ quote: z.ZodOptional<z.ZodString>;
118
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
+ file: z.ZodString;
120
+ line: z.ZodNumber;
121
+ value: z.ZodString;
122
+ }, z.core.$strict>>>;
123
+ }, z.core.$strict>>>;
124
+ callers: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ file: z.ZodString;
126
+ line: z.ZodNumber;
127
+ value: z.ZodString;
128
+ quote: z.ZodOptional<z.ZodString>;
129
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
130
+ file: z.ZodString;
131
+ line: z.ZodNumber;
132
+ value: z.ZodString;
133
+ }, z.core.$strict>>>;
134
+ as: z.ZodEnum<{
135
+ product: "product";
136
+ subject: "subject";
137
+ app: "app";
138
+ "client-id": "client-id";
139
+ }>;
140
+ }, z.core.$strict>>>;
141
+ id: z.ZodString;
142
+ repo: z.ZodString;
143
+ commit: z.ZodString;
144
+ component: z.ZodOptional<z.ZodString>;
145
+ cite: z.ZodObject<{
146
+ file: z.ZodString;
147
+ line: z.ZodNumber;
148
+ value: z.ZodString;
149
+ quote: z.ZodOptional<z.ZodString>;
150
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
151
+ file: z.ZodString;
152
+ line: z.ZodNumber;
153
+ value: z.ZodString;
154
+ }, z.core.$strict>>>;
155
+ }, z.core.$strict>;
156
+ verified: z.ZodDefault<z.ZodEnum<{
157
+ line: "line";
158
+ none: "none";
159
+ person: "person";
160
+ sample: "sample";
161
+ }>>;
162
+ by: z.ZodDefault<z.ZodEnum<{
163
+ person: "person";
164
+ assistant: "assistant";
165
+ reader: "reader";
166
+ }>>;
167
+ conf: z.ZodDefault<z.ZodEnum<{
168
+ inferred: "inferred";
169
+ declared: "declared";
170
+ }>>;
171
+ kind: z.ZodLiteral<"entry">;
172
+ }, z.core.$strict>;
173
+ export declare const CALL_TYPES: readonly ["rest", "grpc", "soap", "graphql", "event-topic", "mq-queue", "sftp", "webhook"];
174
+ export declare const CallFact: z.ZodObject<{
175
+ callType: z.ZodEnum<{
176
+ rest: "rest";
177
+ grpc: "grpc";
178
+ soap: "soap";
179
+ "event-topic": "event-topic";
180
+ "mq-queue": "mq-queue";
181
+ graphql: "graphql";
182
+ webhook: "webhook";
183
+ sftp: "sftp";
184
+ }>;
185
+ method: z.ZodOptional<z.ZodString>;
186
+ path: z.ZodString;
187
+ host: z.ZodOptional<z.ZodString>;
188
+ base: z.ZodOptional<z.ZodString>;
189
+ to: z.ZodOptional<z.ZodString>;
190
+ from: z.ZodOptional<z.ZodString>;
191
+ sync: z.ZodOptional<z.ZodEnum<{
192
+ sync: "sync";
193
+ async: "async";
194
+ }>>;
195
+ id: z.ZodString;
196
+ repo: z.ZodString;
197
+ commit: z.ZodString;
198
+ component: z.ZodOptional<z.ZodString>;
199
+ cite: z.ZodObject<{
200
+ file: z.ZodString;
201
+ line: z.ZodNumber;
202
+ value: z.ZodString;
203
+ quote: z.ZodOptional<z.ZodString>;
204
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ file: z.ZodString;
206
+ line: z.ZodNumber;
207
+ value: z.ZodString;
208
+ }, z.core.$strict>>>;
209
+ }, z.core.$strict>;
210
+ verified: z.ZodDefault<z.ZodEnum<{
211
+ line: "line";
212
+ none: "none";
213
+ person: "person";
214
+ sample: "sample";
215
+ }>>;
216
+ by: z.ZodDefault<z.ZodEnum<{
217
+ person: "person";
218
+ assistant: "assistant";
219
+ reader: "reader";
220
+ }>>;
221
+ conf: z.ZodDefault<z.ZodEnum<{
222
+ inferred: "inferred";
223
+ declared: "declared";
224
+ }>>;
225
+ kind: z.ZodLiteral<"call">;
226
+ }, z.core.$strict>;
227
+ export declare const StoreFact: z.ZodObject<{
228
+ store: z.ZodString;
229
+ storeType: z.ZodOptional<z.ZodString>;
230
+ name: z.ZodString;
231
+ op: z.ZodEnum<{
232
+ read: "read";
233
+ write: "write";
234
+ delete: "delete";
235
+ }>;
236
+ tableKind: z.ZodOptional<z.ZodEnum<{
237
+ table: "table";
238
+ view: "view";
239
+ collection: "collection";
240
+ "key-pattern": "key-pattern";
241
+ }>>;
242
+ under: z.ZodOptional<z.ZodString>;
243
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
244
+ id: z.ZodString;
245
+ repo: z.ZodString;
246
+ commit: z.ZodString;
247
+ component: z.ZodOptional<z.ZodString>;
248
+ cite: z.ZodObject<{
249
+ file: z.ZodString;
250
+ line: z.ZodNumber;
251
+ value: z.ZodString;
252
+ quote: z.ZodOptional<z.ZodString>;
253
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ file: z.ZodString;
255
+ line: z.ZodNumber;
256
+ value: z.ZodString;
257
+ }, z.core.$strict>>>;
258
+ }, z.core.$strict>;
259
+ verified: z.ZodDefault<z.ZodEnum<{
260
+ line: "line";
261
+ none: "none";
262
+ person: "person";
263
+ sample: "sample";
264
+ }>>;
265
+ by: z.ZodDefault<z.ZodEnum<{
266
+ person: "person";
267
+ assistant: "assistant";
268
+ reader: "reader";
269
+ }>>;
270
+ conf: z.ZodDefault<z.ZodEnum<{
271
+ inferred: "inferred";
272
+ declared: "declared";
273
+ }>>;
274
+ kind: z.ZodLiteral<"store">;
275
+ }, z.core.$strict>;
276
+ export declare const FieldFact: z.ZodObject<{
277
+ owner: z.ZodString;
278
+ side: z.ZodOptional<z.ZodEnum<{
279
+ message: "message";
280
+ request: "request";
281
+ screen: "screen";
282
+ response: "response";
283
+ column: "column";
284
+ }>>;
285
+ name: z.ZodString;
286
+ type: z.ZodOptional<z.ZodString>;
287
+ required: z.ZodOptional<z.ZodBoolean>;
288
+ default: z.ZodOptional<z.ZodString>;
289
+ classification: z.ZodOptional<z.ZodString>;
290
+ mappedTo: z.ZodOptional<z.ZodString>;
291
+ transform: z.ZodOptional<z.ZodString>;
292
+ id: z.ZodString;
293
+ repo: z.ZodString;
294
+ commit: z.ZodString;
295
+ component: z.ZodOptional<z.ZodString>;
296
+ cite: z.ZodObject<{
297
+ file: z.ZodString;
298
+ line: z.ZodNumber;
299
+ value: z.ZodString;
300
+ quote: z.ZodOptional<z.ZodString>;
301
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
302
+ file: z.ZodString;
303
+ line: z.ZodNumber;
304
+ value: z.ZodString;
305
+ }, z.core.$strict>>>;
306
+ }, z.core.$strict>;
307
+ verified: z.ZodDefault<z.ZodEnum<{
308
+ line: "line";
309
+ none: "none";
310
+ person: "person";
311
+ sample: "sample";
312
+ }>>;
313
+ by: z.ZodDefault<z.ZodEnum<{
314
+ person: "person";
315
+ assistant: "assistant";
316
+ reader: "reader";
317
+ }>>;
318
+ conf: z.ZodDefault<z.ZodEnum<{
319
+ inferred: "inferred";
320
+ declared: "declared";
321
+ }>>;
322
+ kind: z.ZodLiteral<"field">;
323
+ }, z.core.$strict>;
324
+ export declare const DeployFact: z.ZodObject<{
325
+ env: z.ZodOptional<z.ZodString>;
326
+ platform: z.ZodString;
327
+ cloud: z.ZodOptional<z.ZodString>;
328
+ resourceType: z.ZodOptional<z.ZodString>;
329
+ resourceName: z.ZodOptional<z.ZodString>;
330
+ region: z.ZodOptional<z.ZodString>;
331
+ pipeline: z.ZodOptional<z.ZodString>;
332
+ replicas: z.ZodOptional<z.ZodNumber>;
333
+ host: z.ZodOptional<z.ZodString>;
334
+ basePath: z.ZodOptional<z.ZodString>;
335
+ exposes: z.ZodOptional<z.ZodString>;
336
+ id: z.ZodString;
337
+ repo: z.ZodString;
338
+ commit: z.ZodString;
339
+ component: z.ZodOptional<z.ZodString>;
340
+ cite: z.ZodObject<{
341
+ file: z.ZodString;
342
+ line: z.ZodNumber;
343
+ value: z.ZodString;
344
+ quote: z.ZodOptional<z.ZodString>;
345
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ file: z.ZodString;
347
+ line: z.ZodNumber;
348
+ value: z.ZodString;
349
+ }, z.core.$strict>>>;
350
+ }, z.core.$strict>;
351
+ verified: z.ZodDefault<z.ZodEnum<{
352
+ line: "line";
353
+ none: "none";
354
+ person: "person";
355
+ sample: "sample";
356
+ }>>;
357
+ by: z.ZodDefault<z.ZodEnum<{
358
+ person: "person";
359
+ assistant: "assistant";
360
+ reader: "reader";
361
+ }>>;
362
+ conf: z.ZodDefault<z.ZodEnum<{
363
+ inferred: "inferred";
364
+ declared: "declared";
365
+ }>>;
366
+ kind: z.ZodLiteral<"deploy">;
367
+ }, z.core.$strict>;
368
+ /**
369
+ * The facts file's shape version (ADR 0143). No line carries it: a file written before has no
370
+ * number, reads as version 1 and parses unchanged, every field added since being optional.
371
+ * 1: the shapes of ADR 0124 and its addenda. 2: a deploy fact's `host`, `basePath` and `exposes`.
372
+ */
373
+ export declare const FACTS_SCHEMA_VERSION: 2;
374
+ export declare const SETTING_KINDS: readonly ["timeout", "retry", "circuit-breaker", "rate-limit", "pool", "cache-ttl", "feature-flag", "config", "schedule"];
375
+ export declare const ConfigFact: z.ZodObject<{
376
+ settingKind: z.ZodDefault<z.ZodEnum<{
377
+ config: "config";
378
+ timeout: "timeout";
379
+ retry: "retry";
380
+ "circuit-breaker": "circuit-breaker";
381
+ "rate-limit": "rate-limit";
382
+ pool: "pool";
383
+ "cache-ttl": "cache-ttl";
384
+ "feature-flag": "feature-flag";
385
+ schedule: "schedule";
386
+ }>>;
387
+ key: z.ZodString;
388
+ value: z.ZodOptional<z.ZodString>;
389
+ source: z.ZodOptional<z.ZodString>;
390
+ target: z.ZodOptional<z.ZodString>;
391
+ env: z.ZodOptional<z.ZodString>;
392
+ id: z.ZodString;
393
+ repo: z.ZodString;
394
+ commit: z.ZodString;
395
+ component: z.ZodOptional<z.ZodString>;
396
+ cite: z.ZodObject<{
397
+ file: z.ZodString;
398
+ line: z.ZodNumber;
399
+ value: z.ZodString;
400
+ quote: z.ZodOptional<z.ZodString>;
401
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
+ file: z.ZodString;
403
+ line: z.ZodNumber;
404
+ value: z.ZodString;
405
+ }, z.core.$strict>>>;
406
+ }, z.core.$strict>;
407
+ verified: z.ZodDefault<z.ZodEnum<{
408
+ line: "line";
409
+ none: "none";
410
+ person: "person";
411
+ sample: "sample";
412
+ }>>;
413
+ by: z.ZodDefault<z.ZodEnum<{
414
+ person: "person";
415
+ assistant: "assistant";
416
+ reader: "reader";
417
+ }>>;
418
+ conf: z.ZodDefault<z.ZodEnum<{
419
+ inferred: "inferred";
420
+ declared: "declared";
421
+ }>>;
422
+ kind: z.ZodLiteral<"config">;
423
+ }, z.core.$strict>;
424
+ /**
425
+ * What a repo or one of its modules is built on (ADR 0124 addendum A-framework): a framework the
426
+ * build file declares, cited on the line that declares it. A kind of its own, not a field on
427
+ * another kind: its subject is the repo or the module (`repo` and `component`, which `common`
428
+ * already carries), no other fact owns it, and it is read first and on its own — the rules a
429
+ * batch's prompt carries are chosen from it before any entry is read. See the addendum for the
430
+ * decision.
431
+ *
432
+ * Nothing is projected into catalog C1 from it: there is no field there to hold it, and a C1
433
+ * field would be a schema bump with a migration. The views read the facts (`map.md`, the Map's
434
+ * repo page, the Trust tab) as the gateway join's hops do.
435
+ */
436
+ export declare const FrameworkFact: z.ZodObject<{
437
+ name: z.ZodString;
438
+ version: z.ZodOptional<z.ZodString>;
439
+ id: z.ZodString;
440
+ repo: z.ZodString;
441
+ commit: z.ZodString;
442
+ component: z.ZodOptional<z.ZodString>;
443
+ cite: z.ZodObject<{
444
+ file: z.ZodString;
445
+ line: z.ZodNumber;
446
+ value: z.ZodString;
447
+ quote: z.ZodOptional<z.ZodString>;
448
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
449
+ file: z.ZodString;
450
+ line: z.ZodNumber;
451
+ value: z.ZodString;
452
+ }, z.core.$strict>>>;
453
+ }, z.core.$strict>;
454
+ verified: z.ZodDefault<z.ZodEnum<{
455
+ line: "line";
456
+ none: "none";
457
+ person: "person";
458
+ sample: "sample";
459
+ }>>;
460
+ by: z.ZodDefault<z.ZodEnum<{
461
+ person: "person";
462
+ assistant: "assistant";
463
+ reader: "reader";
464
+ }>>;
465
+ conf: z.ZodDefault<z.ZodEnum<{
466
+ inferred: "inferred";
467
+ declared: "declared";
468
+ }>>;
469
+ kind: z.ZodLiteral<"framework">;
470
+ }, z.core.$strict>;
471
+ export declare const FlowFactStep: z.ZodObject<{
472
+ kind: z.ZodEnum<{
473
+ transform: "transform";
474
+ retry: "retry";
475
+ entry: "entry";
476
+ lookup: "lookup";
477
+ read: "read";
478
+ write: "write";
479
+ "call-out": "call-out";
480
+ publish: "publish";
481
+ validate: "validate";
482
+ branch: "branch";
483
+ log: "log";
484
+ respond: "respond";
485
+ loop: "loop";
486
+ }>;
487
+ what: z.ZodString;
488
+ ref: z.ZodOptional<z.ZodString>;
489
+ cite: z.ZodObject<{
490
+ file: z.ZodString;
491
+ line: z.ZodNumber;
492
+ value: z.ZodString;
493
+ quote: z.ZodOptional<z.ZodString>;
494
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
+ file: z.ZodString;
496
+ line: z.ZodNumber;
497
+ value: z.ZodString;
498
+ }, z.core.$strict>>>;
499
+ }, z.core.$strict>;
500
+ }, z.core.$strict>;
501
+ export declare const FlowFactError: z.ZodObject<{
502
+ when: z.ZodString;
503
+ then: z.ZodString;
504
+ cite: z.ZodObject<{
505
+ file: z.ZodString;
506
+ line: z.ZodNumber;
507
+ value: z.ZodString;
508
+ quote: z.ZodOptional<z.ZodString>;
509
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
510
+ file: z.ZodString;
511
+ line: z.ZodNumber;
512
+ value: z.ZodString;
513
+ }, z.core.$strict>>>;
514
+ }, z.core.$strict>;
515
+ }, z.core.$strict>;
516
+ export declare const FlowFact: z.ZodObject<{
517
+ name: z.ZodString;
518
+ entry: z.ZodString;
519
+ steps: z.ZodArray<z.ZodObject<{
520
+ kind: z.ZodEnum<{
521
+ transform: "transform";
522
+ retry: "retry";
523
+ entry: "entry";
524
+ lookup: "lookup";
525
+ read: "read";
526
+ write: "write";
527
+ "call-out": "call-out";
528
+ publish: "publish";
529
+ validate: "validate";
530
+ branch: "branch";
531
+ log: "log";
532
+ respond: "respond";
533
+ loop: "loop";
534
+ }>;
535
+ what: z.ZodString;
536
+ ref: z.ZodOptional<z.ZodString>;
537
+ cite: z.ZodObject<{
538
+ file: z.ZodString;
539
+ line: z.ZodNumber;
540
+ value: z.ZodString;
541
+ quote: z.ZodOptional<z.ZodString>;
542
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
543
+ file: z.ZodString;
544
+ line: z.ZodNumber;
545
+ value: z.ZodString;
546
+ }, z.core.$strict>>>;
547
+ }, z.core.$strict>;
548
+ }, z.core.$strict>>;
549
+ outcome: z.ZodOptional<z.ZodString>;
550
+ errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
551
+ when: z.ZodString;
552
+ then: z.ZodString;
553
+ cite: z.ZodObject<{
554
+ file: z.ZodString;
555
+ line: z.ZodNumber;
556
+ value: z.ZodString;
557
+ quote: z.ZodOptional<z.ZodString>;
558
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
+ file: z.ZodString;
560
+ line: z.ZodNumber;
561
+ value: z.ZodString;
562
+ }, z.core.$strict>>>;
563
+ }, z.core.$strict>;
564
+ }, z.core.$strict>>>;
565
+ id: z.ZodString;
566
+ repo: z.ZodString;
567
+ commit: z.ZodString;
568
+ component: z.ZodOptional<z.ZodString>;
569
+ cite: z.ZodObject<{
570
+ file: z.ZodString;
571
+ line: z.ZodNumber;
572
+ value: z.ZodString;
573
+ quote: z.ZodOptional<z.ZodString>;
574
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
575
+ file: z.ZodString;
576
+ line: z.ZodNumber;
577
+ value: z.ZodString;
578
+ }, z.core.$strict>>>;
579
+ }, z.core.$strict>;
580
+ verified: z.ZodDefault<z.ZodEnum<{
581
+ line: "line";
582
+ none: "none";
583
+ person: "person";
584
+ sample: "sample";
585
+ }>>;
586
+ by: z.ZodDefault<z.ZodEnum<{
587
+ person: "person";
588
+ assistant: "assistant";
589
+ reader: "reader";
590
+ }>>;
591
+ conf: z.ZodDefault<z.ZodEnum<{
592
+ inferred: "inferred";
593
+ declared: "declared";
594
+ }>>;
595
+ kind: z.ZodLiteral<"flow">;
596
+ }, z.core.$strict>;
597
+ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
598
+ entryType: z.ZodEnum<{
599
+ function: "function";
600
+ "batch-job": "batch-job";
601
+ rest: "rest";
602
+ grpc: "grpc";
603
+ soap: "soap";
604
+ "event-topic": "event-topic";
605
+ "file-drop": "file-drop";
606
+ "mq-queue": "mq-queue";
607
+ graphql: "graphql";
608
+ websocket: "websocket";
609
+ sse: "sse";
610
+ webhook: "webhook";
611
+ transaction: "transaction";
612
+ screen: "screen";
613
+ }>;
614
+ method: z.ZodOptional<z.ZodString>;
615
+ path: z.ZodString;
616
+ handler: z.ZodOptional<z.ZodString>;
617
+ auth: z.ZodOptional<z.ZodEnum<{
618
+ none: "none";
619
+ oauth2: "oauth2";
620
+ mtls: "mtls";
621
+ "api-key": "api-key";
622
+ basic: "basic";
623
+ other: "other";
624
+ }>>;
625
+ authCite: z.ZodOptional<z.ZodObject<{
626
+ file: z.ZodString;
627
+ line: z.ZodNumber;
628
+ value: z.ZodString;
629
+ }, z.core.$strict>>;
630
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
631
+ file: z.ZodString;
632
+ line: z.ZodNumber;
633
+ value: z.ZodString;
634
+ quote: z.ZodOptional<z.ZodString>;
635
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
636
+ file: z.ZodString;
637
+ line: z.ZodNumber;
638
+ value: z.ZodString;
639
+ }, z.core.$strict>>>;
640
+ }, z.core.$strict>>>;
641
+ callers: z.ZodOptional<z.ZodArray<z.ZodObject<{
642
+ file: z.ZodString;
643
+ line: z.ZodNumber;
644
+ value: z.ZodString;
645
+ quote: z.ZodOptional<z.ZodString>;
646
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
+ file: z.ZodString;
648
+ line: z.ZodNumber;
649
+ value: z.ZodString;
650
+ }, z.core.$strict>>>;
651
+ as: z.ZodEnum<{
652
+ product: "product";
653
+ subject: "subject";
654
+ app: "app";
655
+ "client-id": "client-id";
656
+ }>;
657
+ }, z.core.$strict>>>;
658
+ id: z.ZodString;
659
+ repo: z.ZodString;
660
+ commit: z.ZodString;
661
+ component: z.ZodOptional<z.ZodString>;
662
+ cite: z.ZodObject<{
663
+ file: z.ZodString;
664
+ line: z.ZodNumber;
665
+ value: z.ZodString;
666
+ quote: z.ZodOptional<z.ZodString>;
667
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
+ file: z.ZodString;
669
+ line: z.ZodNumber;
670
+ value: z.ZodString;
671
+ }, z.core.$strict>>>;
672
+ }, z.core.$strict>;
673
+ verified: z.ZodDefault<z.ZodEnum<{
674
+ line: "line";
675
+ none: "none";
676
+ person: "person";
677
+ sample: "sample";
678
+ }>>;
679
+ by: z.ZodDefault<z.ZodEnum<{
680
+ person: "person";
681
+ assistant: "assistant";
682
+ reader: "reader";
683
+ }>>;
684
+ conf: z.ZodDefault<z.ZodEnum<{
685
+ inferred: "inferred";
686
+ declared: "declared";
687
+ }>>;
688
+ kind: z.ZodLiteral<"entry">;
689
+ }, z.core.$strict>, z.ZodObject<{
690
+ callType: z.ZodEnum<{
691
+ rest: "rest";
692
+ grpc: "grpc";
693
+ soap: "soap";
694
+ "event-topic": "event-topic";
695
+ "mq-queue": "mq-queue";
696
+ graphql: "graphql";
697
+ webhook: "webhook";
698
+ sftp: "sftp";
699
+ }>;
700
+ method: z.ZodOptional<z.ZodString>;
701
+ path: z.ZodString;
702
+ host: z.ZodOptional<z.ZodString>;
703
+ base: z.ZodOptional<z.ZodString>;
704
+ to: z.ZodOptional<z.ZodString>;
705
+ from: z.ZodOptional<z.ZodString>;
706
+ sync: z.ZodOptional<z.ZodEnum<{
707
+ sync: "sync";
708
+ async: "async";
709
+ }>>;
710
+ id: z.ZodString;
711
+ repo: z.ZodString;
712
+ commit: z.ZodString;
713
+ component: z.ZodOptional<z.ZodString>;
714
+ cite: z.ZodObject<{
715
+ file: z.ZodString;
716
+ line: z.ZodNumber;
717
+ value: z.ZodString;
718
+ quote: z.ZodOptional<z.ZodString>;
719
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
720
+ file: z.ZodString;
721
+ line: z.ZodNumber;
722
+ value: z.ZodString;
723
+ }, z.core.$strict>>>;
724
+ }, z.core.$strict>;
725
+ verified: z.ZodDefault<z.ZodEnum<{
726
+ line: "line";
727
+ none: "none";
728
+ person: "person";
729
+ sample: "sample";
730
+ }>>;
731
+ by: z.ZodDefault<z.ZodEnum<{
732
+ person: "person";
733
+ assistant: "assistant";
734
+ reader: "reader";
735
+ }>>;
736
+ conf: z.ZodDefault<z.ZodEnum<{
737
+ inferred: "inferred";
738
+ declared: "declared";
739
+ }>>;
740
+ kind: z.ZodLiteral<"call">;
741
+ }, z.core.$strict>, z.ZodObject<{
742
+ store: z.ZodString;
743
+ storeType: z.ZodOptional<z.ZodString>;
744
+ name: z.ZodString;
745
+ op: z.ZodEnum<{
746
+ read: "read";
747
+ write: "write";
748
+ delete: "delete";
749
+ }>;
750
+ tableKind: z.ZodOptional<z.ZodEnum<{
751
+ table: "table";
752
+ view: "view";
753
+ collection: "collection";
754
+ "key-pattern": "key-pattern";
755
+ }>>;
756
+ under: z.ZodOptional<z.ZodString>;
757
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
758
+ id: z.ZodString;
759
+ repo: z.ZodString;
760
+ commit: z.ZodString;
761
+ component: z.ZodOptional<z.ZodString>;
762
+ cite: z.ZodObject<{
763
+ file: z.ZodString;
764
+ line: z.ZodNumber;
765
+ value: z.ZodString;
766
+ quote: z.ZodOptional<z.ZodString>;
767
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
768
+ file: z.ZodString;
769
+ line: z.ZodNumber;
770
+ value: z.ZodString;
771
+ }, z.core.$strict>>>;
772
+ }, z.core.$strict>;
773
+ verified: z.ZodDefault<z.ZodEnum<{
774
+ line: "line";
775
+ none: "none";
776
+ person: "person";
777
+ sample: "sample";
778
+ }>>;
779
+ by: z.ZodDefault<z.ZodEnum<{
780
+ person: "person";
781
+ assistant: "assistant";
782
+ reader: "reader";
783
+ }>>;
784
+ conf: z.ZodDefault<z.ZodEnum<{
785
+ inferred: "inferred";
786
+ declared: "declared";
787
+ }>>;
788
+ kind: z.ZodLiteral<"store">;
789
+ }, z.core.$strict>, z.ZodObject<{
790
+ owner: z.ZodString;
791
+ side: z.ZodOptional<z.ZodEnum<{
792
+ message: "message";
793
+ request: "request";
794
+ screen: "screen";
795
+ response: "response";
796
+ column: "column";
797
+ }>>;
798
+ name: z.ZodString;
799
+ type: z.ZodOptional<z.ZodString>;
800
+ required: z.ZodOptional<z.ZodBoolean>;
801
+ default: z.ZodOptional<z.ZodString>;
802
+ classification: z.ZodOptional<z.ZodString>;
803
+ mappedTo: z.ZodOptional<z.ZodString>;
804
+ transform: z.ZodOptional<z.ZodString>;
805
+ id: z.ZodString;
806
+ repo: z.ZodString;
807
+ commit: z.ZodString;
808
+ component: z.ZodOptional<z.ZodString>;
809
+ cite: z.ZodObject<{
810
+ file: z.ZodString;
811
+ line: z.ZodNumber;
812
+ value: z.ZodString;
813
+ quote: z.ZodOptional<z.ZodString>;
814
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
+ file: z.ZodString;
816
+ line: z.ZodNumber;
817
+ value: z.ZodString;
818
+ }, z.core.$strict>>>;
819
+ }, z.core.$strict>;
820
+ verified: z.ZodDefault<z.ZodEnum<{
821
+ line: "line";
822
+ none: "none";
823
+ person: "person";
824
+ sample: "sample";
825
+ }>>;
826
+ by: z.ZodDefault<z.ZodEnum<{
827
+ person: "person";
828
+ assistant: "assistant";
829
+ reader: "reader";
830
+ }>>;
831
+ conf: z.ZodDefault<z.ZodEnum<{
832
+ inferred: "inferred";
833
+ declared: "declared";
834
+ }>>;
835
+ kind: z.ZodLiteral<"field">;
836
+ }, z.core.$strict>, z.ZodObject<{
837
+ env: z.ZodOptional<z.ZodString>;
838
+ platform: z.ZodString;
839
+ cloud: z.ZodOptional<z.ZodString>;
840
+ resourceType: z.ZodOptional<z.ZodString>;
841
+ resourceName: z.ZodOptional<z.ZodString>;
842
+ region: z.ZodOptional<z.ZodString>;
843
+ pipeline: z.ZodOptional<z.ZodString>;
844
+ replicas: z.ZodOptional<z.ZodNumber>;
845
+ host: z.ZodOptional<z.ZodString>;
846
+ basePath: z.ZodOptional<z.ZodString>;
847
+ exposes: z.ZodOptional<z.ZodString>;
848
+ id: z.ZodString;
849
+ repo: z.ZodString;
850
+ commit: z.ZodString;
851
+ component: z.ZodOptional<z.ZodString>;
852
+ cite: z.ZodObject<{
853
+ file: z.ZodString;
854
+ line: z.ZodNumber;
855
+ value: z.ZodString;
856
+ quote: z.ZodOptional<z.ZodString>;
857
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
858
+ file: z.ZodString;
859
+ line: z.ZodNumber;
860
+ value: z.ZodString;
861
+ }, z.core.$strict>>>;
862
+ }, z.core.$strict>;
863
+ verified: z.ZodDefault<z.ZodEnum<{
864
+ line: "line";
865
+ none: "none";
866
+ person: "person";
867
+ sample: "sample";
868
+ }>>;
869
+ by: z.ZodDefault<z.ZodEnum<{
870
+ person: "person";
871
+ assistant: "assistant";
872
+ reader: "reader";
873
+ }>>;
874
+ conf: z.ZodDefault<z.ZodEnum<{
875
+ inferred: "inferred";
876
+ declared: "declared";
877
+ }>>;
878
+ kind: z.ZodLiteral<"deploy">;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ settingKind: z.ZodDefault<z.ZodEnum<{
881
+ config: "config";
882
+ timeout: "timeout";
883
+ retry: "retry";
884
+ "circuit-breaker": "circuit-breaker";
885
+ "rate-limit": "rate-limit";
886
+ pool: "pool";
887
+ "cache-ttl": "cache-ttl";
888
+ "feature-flag": "feature-flag";
889
+ schedule: "schedule";
890
+ }>>;
891
+ key: z.ZodString;
892
+ value: z.ZodOptional<z.ZodString>;
893
+ source: z.ZodOptional<z.ZodString>;
894
+ target: z.ZodOptional<z.ZodString>;
895
+ env: z.ZodOptional<z.ZodString>;
896
+ id: z.ZodString;
897
+ repo: z.ZodString;
898
+ commit: z.ZodString;
899
+ component: z.ZodOptional<z.ZodString>;
900
+ cite: z.ZodObject<{
901
+ file: z.ZodString;
902
+ line: z.ZodNumber;
903
+ value: z.ZodString;
904
+ quote: z.ZodOptional<z.ZodString>;
905
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
906
+ file: z.ZodString;
907
+ line: z.ZodNumber;
908
+ value: z.ZodString;
909
+ }, z.core.$strict>>>;
910
+ }, z.core.$strict>;
911
+ verified: z.ZodDefault<z.ZodEnum<{
912
+ line: "line";
913
+ none: "none";
914
+ person: "person";
915
+ sample: "sample";
916
+ }>>;
917
+ by: z.ZodDefault<z.ZodEnum<{
918
+ person: "person";
919
+ assistant: "assistant";
920
+ reader: "reader";
921
+ }>>;
922
+ conf: z.ZodDefault<z.ZodEnum<{
923
+ inferred: "inferred";
924
+ declared: "declared";
925
+ }>>;
926
+ kind: z.ZodLiteral<"config">;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ name: z.ZodString;
929
+ version: z.ZodOptional<z.ZodString>;
930
+ id: z.ZodString;
931
+ repo: z.ZodString;
932
+ commit: z.ZodString;
933
+ component: z.ZodOptional<z.ZodString>;
934
+ cite: z.ZodObject<{
935
+ file: z.ZodString;
936
+ line: z.ZodNumber;
937
+ value: z.ZodString;
938
+ quote: z.ZodOptional<z.ZodString>;
939
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
940
+ file: z.ZodString;
941
+ line: z.ZodNumber;
942
+ value: z.ZodString;
943
+ }, z.core.$strict>>>;
944
+ }, z.core.$strict>;
945
+ verified: z.ZodDefault<z.ZodEnum<{
946
+ line: "line";
947
+ none: "none";
948
+ person: "person";
949
+ sample: "sample";
950
+ }>>;
951
+ by: z.ZodDefault<z.ZodEnum<{
952
+ person: "person";
953
+ assistant: "assistant";
954
+ reader: "reader";
955
+ }>>;
956
+ conf: z.ZodDefault<z.ZodEnum<{
957
+ inferred: "inferred";
958
+ declared: "declared";
959
+ }>>;
960
+ kind: z.ZodLiteral<"framework">;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ name: z.ZodString;
963
+ entry: z.ZodString;
964
+ steps: z.ZodArray<z.ZodObject<{
965
+ kind: z.ZodEnum<{
966
+ transform: "transform";
967
+ retry: "retry";
968
+ entry: "entry";
969
+ lookup: "lookup";
970
+ read: "read";
971
+ write: "write";
972
+ "call-out": "call-out";
973
+ publish: "publish";
974
+ validate: "validate";
975
+ branch: "branch";
976
+ log: "log";
977
+ respond: "respond";
978
+ loop: "loop";
979
+ }>;
980
+ what: z.ZodString;
981
+ ref: z.ZodOptional<z.ZodString>;
982
+ cite: z.ZodObject<{
983
+ file: z.ZodString;
984
+ line: z.ZodNumber;
985
+ value: z.ZodString;
986
+ quote: z.ZodOptional<z.ZodString>;
987
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
988
+ file: z.ZodString;
989
+ line: z.ZodNumber;
990
+ value: z.ZodString;
991
+ }, z.core.$strict>>>;
992
+ }, z.core.$strict>;
993
+ }, z.core.$strict>>;
994
+ outcome: z.ZodOptional<z.ZodString>;
995
+ errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
996
+ when: z.ZodString;
997
+ then: z.ZodString;
998
+ cite: z.ZodObject<{
999
+ file: z.ZodString;
1000
+ line: z.ZodNumber;
1001
+ value: z.ZodString;
1002
+ quote: z.ZodOptional<z.ZodString>;
1003
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1004
+ file: z.ZodString;
1005
+ line: z.ZodNumber;
1006
+ value: z.ZodString;
1007
+ }, z.core.$strict>>>;
1008
+ }, z.core.$strict>;
1009
+ }, z.core.$strict>>>;
1010
+ id: z.ZodString;
1011
+ repo: z.ZodString;
1012
+ commit: z.ZodString;
1013
+ component: z.ZodOptional<z.ZodString>;
1014
+ cite: z.ZodObject<{
1015
+ file: z.ZodString;
1016
+ line: z.ZodNumber;
1017
+ value: z.ZodString;
1018
+ quote: z.ZodOptional<z.ZodString>;
1019
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1020
+ file: z.ZodString;
1021
+ line: z.ZodNumber;
1022
+ value: z.ZodString;
1023
+ }, z.core.$strict>>>;
1024
+ }, z.core.$strict>;
1025
+ verified: z.ZodDefault<z.ZodEnum<{
1026
+ line: "line";
1027
+ none: "none";
1028
+ person: "person";
1029
+ sample: "sample";
1030
+ }>>;
1031
+ by: z.ZodDefault<z.ZodEnum<{
1032
+ person: "person";
1033
+ assistant: "assistant";
1034
+ reader: "reader";
1035
+ }>>;
1036
+ conf: z.ZodDefault<z.ZodEnum<{
1037
+ inferred: "inferred";
1038
+ declared: "declared";
1039
+ }>>;
1040
+ kind: z.ZodLiteral<"flow">;
1041
+ }, z.core.$strict>], "kind">;
1042
+ export type Fact = z.infer<typeof Fact>;
1043
+ export type FactOf<K extends FactKind> = Extract<Fact, {
1044
+ kind: K;
1045
+ }>;
1046
+ /** A whole facts file, as an array (the JSONL form is one `Fact` per line). */
1047
+ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1048
+ entryType: z.ZodEnum<{
1049
+ function: "function";
1050
+ "batch-job": "batch-job";
1051
+ rest: "rest";
1052
+ grpc: "grpc";
1053
+ soap: "soap";
1054
+ "event-topic": "event-topic";
1055
+ "file-drop": "file-drop";
1056
+ "mq-queue": "mq-queue";
1057
+ graphql: "graphql";
1058
+ websocket: "websocket";
1059
+ sse: "sse";
1060
+ webhook: "webhook";
1061
+ transaction: "transaction";
1062
+ screen: "screen";
1063
+ }>;
1064
+ method: z.ZodOptional<z.ZodString>;
1065
+ path: z.ZodString;
1066
+ handler: z.ZodOptional<z.ZodString>;
1067
+ auth: z.ZodOptional<z.ZodEnum<{
1068
+ none: "none";
1069
+ oauth2: "oauth2";
1070
+ mtls: "mtls";
1071
+ "api-key": "api-key";
1072
+ basic: "basic";
1073
+ other: "other";
1074
+ }>>;
1075
+ authCite: z.ZodOptional<z.ZodObject<{
1076
+ file: z.ZodString;
1077
+ line: z.ZodNumber;
1078
+ value: z.ZodString;
1079
+ }, z.core.$strict>>;
1080
+ scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1081
+ file: z.ZodString;
1082
+ line: z.ZodNumber;
1083
+ value: z.ZodString;
1084
+ quote: z.ZodOptional<z.ZodString>;
1085
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1086
+ file: z.ZodString;
1087
+ line: z.ZodNumber;
1088
+ value: z.ZodString;
1089
+ }, z.core.$strict>>>;
1090
+ }, z.core.$strict>>>;
1091
+ callers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1092
+ file: z.ZodString;
1093
+ line: z.ZodNumber;
1094
+ value: z.ZodString;
1095
+ quote: z.ZodOptional<z.ZodString>;
1096
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1097
+ file: z.ZodString;
1098
+ line: z.ZodNumber;
1099
+ value: z.ZodString;
1100
+ }, z.core.$strict>>>;
1101
+ as: z.ZodEnum<{
1102
+ product: "product";
1103
+ subject: "subject";
1104
+ app: "app";
1105
+ "client-id": "client-id";
1106
+ }>;
1107
+ }, z.core.$strict>>>;
1108
+ id: z.ZodString;
1109
+ repo: z.ZodString;
1110
+ commit: z.ZodString;
1111
+ component: z.ZodOptional<z.ZodString>;
1112
+ cite: z.ZodObject<{
1113
+ file: z.ZodString;
1114
+ line: z.ZodNumber;
1115
+ value: z.ZodString;
1116
+ quote: z.ZodOptional<z.ZodString>;
1117
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1118
+ file: z.ZodString;
1119
+ line: z.ZodNumber;
1120
+ value: z.ZodString;
1121
+ }, z.core.$strict>>>;
1122
+ }, z.core.$strict>;
1123
+ verified: z.ZodDefault<z.ZodEnum<{
1124
+ line: "line";
1125
+ none: "none";
1126
+ person: "person";
1127
+ sample: "sample";
1128
+ }>>;
1129
+ by: z.ZodDefault<z.ZodEnum<{
1130
+ person: "person";
1131
+ assistant: "assistant";
1132
+ reader: "reader";
1133
+ }>>;
1134
+ conf: z.ZodDefault<z.ZodEnum<{
1135
+ inferred: "inferred";
1136
+ declared: "declared";
1137
+ }>>;
1138
+ kind: z.ZodLiteral<"entry">;
1139
+ }, z.core.$strict>, z.ZodObject<{
1140
+ callType: z.ZodEnum<{
1141
+ rest: "rest";
1142
+ grpc: "grpc";
1143
+ soap: "soap";
1144
+ "event-topic": "event-topic";
1145
+ "mq-queue": "mq-queue";
1146
+ graphql: "graphql";
1147
+ webhook: "webhook";
1148
+ sftp: "sftp";
1149
+ }>;
1150
+ method: z.ZodOptional<z.ZodString>;
1151
+ path: z.ZodString;
1152
+ host: z.ZodOptional<z.ZodString>;
1153
+ base: z.ZodOptional<z.ZodString>;
1154
+ to: z.ZodOptional<z.ZodString>;
1155
+ from: z.ZodOptional<z.ZodString>;
1156
+ sync: z.ZodOptional<z.ZodEnum<{
1157
+ sync: "sync";
1158
+ async: "async";
1159
+ }>>;
1160
+ id: z.ZodString;
1161
+ repo: z.ZodString;
1162
+ commit: z.ZodString;
1163
+ component: z.ZodOptional<z.ZodString>;
1164
+ cite: z.ZodObject<{
1165
+ file: z.ZodString;
1166
+ line: z.ZodNumber;
1167
+ value: z.ZodString;
1168
+ quote: z.ZodOptional<z.ZodString>;
1169
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1170
+ file: z.ZodString;
1171
+ line: z.ZodNumber;
1172
+ value: z.ZodString;
1173
+ }, z.core.$strict>>>;
1174
+ }, z.core.$strict>;
1175
+ verified: z.ZodDefault<z.ZodEnum<{
1176
+ line: "line";
1177
+ none: "none";
1178
+ person: "person";
1179
+ sample: "sample";
1180
+ }>>;
1181
+ by: z.ZodDefault<z.ZodEnum<{
1182
+ person: "person";
1183
+ assistant: "assistant";
1184
+ reader: "reader";
1185
+ }>>;
1186
+ conf: z.ZodDefault<z.ZodEnum<{
1187
+ inferred: "inferred";
1188
+ declared: "declared";
1189
+ }>>;
1190
+ kind: z.ZodLiteral<"call">;
1191
+ }, z.core.$strict>, z.ZodObject<{
1192
+ store: z.ZodString;
1193
+ storeType: z.ZodOptional<z.ZodString>;
1194
+ name: z.ZodString;
1195
+ op: z.ZodEnum<{
1196
+ read: "read";
1197
+ write: "write";
1198
+ delete: "delete";
1199
+ }>;
1200
+ tableKind: z.ZodOptional<z.ZodEnum<{
1201
+ table: "table";
1202
+ view: "view";
1203
+ collection: "collection";
1204
+ "key-pattern": "key-pattern";
1205
+ }>>;
1206
+ under: z.ZodOptional<z.ZodString>;
1207
+ columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1208
+ id: z.ZodString;
1209
+ repo: z.ZodString;
1210
+ commit: z.ZodString;
1211
+ component: z.ZodOptional<z.ZodString>;
1212
+ cite: z.ZodObject<{
1213
+ file: z.ZodString;
1214
+ line: z.ZodNumber;
1215
+ value: z.ZodString;
1216
+ quote: z.ZodOptional<z.ZodString>;
1217
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1218
+ file: z.ZodString;
1219
+ line: z.ZodNumber;
1220
+ value: z.ZodString;
1221
+ }, z.core.$strict>>>;
1222
+ }, z.core.$strict>;
1223
+ verified: z.ZodDefault<z.ZodEnum<{
1224
+ line: "line";
1225
+ none: "none";
1226
+ person: "person";
1227
+ sample: "sample";
1228
+ }>>;
1229
+ by: z.ZodDefault<z.ZodEnum<{
1230
+ person: "person";
1231
+ assistant: "assistant";
1232
+ reader: "reader";
1233
+ }>>;
1234
+ conf: z.ZodDefault<z.ZodEnum<{
1235
+ inferred: "inferred";
1236
+ declared: "declared";
1237
+ }>>;
1238
+ kind: z.ZodLiteral<"store">;
1239
+ }, z.core.$strict>, z.ZodObject<{
1240
+ owner: z.ZodString;
1241
+ side: z.ZodOptional<z.ZodEnum<{
1242
+ message: "message";
1243
+ request: "request";
1244
+ screen: "screen";
1245
+ response: "response";
1246
+ column: "column";
1247
+ }>>;
1248
+ name: z.ZodString;
1249
+ type: z.ZodOptional<z.ZodString>;
1250
+ required: z.ZodOptional<z.ZodBoolean>;
1251
+ default: z.ZodOptional<z.ZodString>;
1252
+ classification: z.ZodOptional<z.ZodString>;
1253
+ mappedTo: z.ZodOptional<z.ZodString>;
1254
+ transform: z.ZodOptional<z.ZodString>;
1255
+ id: z.ZodString;
1256
+ repo: z.ZodString;
1257
+ commit: z.ZodString;
1258
+ component: z.ZodOptional<z.ZodString>;
1259
+ cite: z.ZodObject<{
1260
+ file: z.ZodString;
1261
+ line: z.ZodNumber;
1262
+ value: z.ZodString;
1263
+ quote: z.ZodOptional<z.ZodString>;
1264
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ file: z.ZodString;
1266
+ line: z.ZodNumber;
1267
+ value: z.ZodString;
1268
+ }, z.core.$strict>>>;
1269
+ }, z.core.$strict>;
1270
+ verified: z.ZodDefault<z.ZodEnum<{
1271
+ line: "line";
1272
+ none: "none";
1273
+ person: "person";
1274
+ sample: "sample";
1275
+ }>>;
1276
+ by: z.ZodDefault<z.ZodEnum<{
1277
+ person: "person";
1278
+ assistant: "assistant";
1279
+ reader: "reader";
1280
+ }>>;
1281
+ conf: z.ZodDefault<z.ZodEnum<{
1282
+ inferred: "inferred";
1283
+ declared: "declared";
1284
+ }>>;
1285
+ kind: z.ZodLiteral<"field">;
1286
+ }, z.core.$strict>, z.ZodObject<{
1287
+ env: z.ZodOptional<z.ZodString>;
1288
+ platform: z.ZodString;
1289
+ cloud: z.ZodOptional<z.ZodString>;
1290
+ resourceType: z.ZodOptional<z.ZodString>;
1291
+ resourceName: z.ZodOptional<z.ZodString>;
1292
+ region: z.ZodOptional<z.ZodString>;
1293
+ pipeline: z.ZodOptional<z.ZodString>;
1294
+ replicas: z.ZodOptional<z.ZodNumber>;
1295
+ host: z.ZodOptional<z.ZodString>;
1296
+ basePath: z.ZodOptional<z.ZodString>;
1297
+ exposes: z.ZodOptional<z.ZodString>;
1298
+ id: z.ZodString;
1299
+ repo: z.ZodString;
1300
+ commit: z.ZodString;
1301
+ component: z.ZodOptional<z.ZodString>;
1302
+ cite: z.ZodObject<{
1303
+ file: z.ZodString;
1304
+ line: z.ZodNumber;
1305
+ value: z.ZodString;
1306
+ quote: z.ZodOptional<z.ZodString>;
1307
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1308
+ file: z.ZodString;
1309
+ line: z.ZodNumber;
1310
+ value: z.ZodString;
1311
+ }, z.core.$strict>>>;
1312
+ }, z.core.$strict>;
1313
+ verified: z.ZodDefault<z.ZodEnum<{
1314
+ line: "line";
1315
+ none: "none";
1316
+ person: "person";
1317
+ sample: "sample";
1318
+ }>>;
1319
+ by: z.ZodDefault<z.ZodEnum<{
1320
+ person: "person";
1321
+ assistant: "assistant";
1322
+ reader: "reader";
1323
+ }>>;
1324
+ conf: z.ZodDefault<z.ZodEnum<{
1325
+ inferred: "inferred";
1326
+ declared: "declared";
1327
+ }>>;
1328
+ kind: z.ZodLiteral<"deploy">;
1329
+ }, z.core.$strict>, z.ZodObject<{
1330
+ settingKind: z.ZodDefault<z.ZodEnum<{
1331
+ config: "config";
1332
+ timeout: "timeout";
1333
+ retry: "retry";
1334
+ "circuit-breaker": "circuit-breaker";
1335
+ "rate-limit": "rate-limit";
1336
+ pool: "pool";
1337
+ "cache-ttl": "cache-ttl";
1338
+ "feature-flag": "feature-flag";
1339
+ schedule: "schedule";
1340
+ }>>;
1341
+ key: z.ZodString;
1342
+ value: z.ZodOptional<z.ZodString>;
1343
+ source: z.ZodOptional<z.ZodString>;
1344
+ target: z.ZodOptional<z.ZodString>;
1345
+ env: z.ZodOptional<z.ZodString>;
1346
+ id: z.ZodString;
1347
+ repo: z.ZodString;
1348
+ commit: z.ZodString;
1349
+ component: z.ZodOptional<z.ZodString>;
1350
+ cite: z.ZodObject<{
1351
+ file: z.ZodString;
1352
+ line: z.ZodNumber;
1353
+ value: z.ZodString;
1354
+ quote: z.ZodOptional<z.ZodString>;
1355
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1356
+ file: z.ZodString;
1357
+ line: z.ZodNumber;
1358
+ value: z.ZodString;
1359
+ }, z.core.$strict>>>;
1360
+ }, z.core.$strict>;
1361
+ verified: z.ZodDefault<z.ZodEnum<{
1362
+ line: "line";
1363
+ none: "none";
1364
+ person: "person";
1365
+ sample: "sample";
1366
+ }>>;
1367
+ by: z.ZodDefault<z.ZodEnum<{
1368
+ person: "person";
1369
+ assistant: "assistant";
1370
+ reader: "reader";
1371
+ }>>;
1372
+ conf: z.ZodDefault<z.ZodEnum<{
1373
+ inferred: "inferred";
1374
+ declared: "declared";
1375
+ }>>;
1376
+ kind: z.ZodLiteral<"config">;
1377
+ }, z.core.$strict>, z.ZodObject<{
1378
+ name: z.ZodString;
1379
+ version: z.ZodOptional<z.ZodString>;
1380
+ id: z.ZodString;
1381
+ repo: z.ZodString;
1382
+ commit: z.ZodString;
1383
+ component: z.ZodOptional<z.ZodString>;
1384
+ cite: z.ZodObject<{
1385
+ file: z.ZodString;
1386
+ line: z.ZodNumber;
1387
+ value: z.ZodString;
1388
+ quote: z.ZodOptional<z.ZodString>;
1389
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1390
+ file: z.ZodString;
1391
+ line: z.ZodNumber;
1392
+ value: z.ZodString;
1393
+ }, z.core.$strict>>>;
1394
+ }, z.core.$strict>;
1395
+ verified: z.ZodDefault<z.ZodEnum<{
1396
+ line: "line";
1397
+ none: "none";
1398
+ person: "person";
1399
+ sample: "sample";
1400
+ }>>;
1401
+ by: z.ZodDefault<z.ZodEnum<{
1402
+ person: "person";
1403
+ assistant: "assistant";
1404
+ reader: "reader";
1405
+ }>>;
1406
+ conf: z.ZodDefault<z.ZodEnum<{
1407
+ inferred: "inferred";
1408
+ declared: "declared";
1409
+ }>>;
1410
+ kind: z.ZodLiteral<"framework">;
1411
+ }, z.core.$strict>, z.ZodObject<{
1412
+ name: z.ZodString;
1413
+ entry: z.ZodString;
1414
+ steps: z.ZodArray<z.ZodObject<{
1415
+ kind: z.ZodEnum<{
1416
+ transform: "transform";
1417
+ retry: "retry";
1418
+ entry: "entry";
1419
+ lookup: "lookup";
1420
+ read: "read";
1421
+ write: "write";
1422
+ "call-out": "call-out";
1423
+ publish: "publish";
1424
+ validate: "validate";
1425
+ branch: "branch";
1426
+ log: "log";
1427
+ respond: "respond";
1428
+ loop: "loop";
1429
+ }>;
1430
+ what: z.ZodString;
1431
+ ref: z.ZodOptional<z.ZodString>;
1432
+ cite: z.ZodObject<{
1433
+ file: z.ZodString;
1434
+ line: z.ZodNumber;
1435
+ value: z.ZodString;
1436
+ quote: z.ZodOptional<z.ZodString>;
1437
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1438
+ file: z.ZodString;
1439
+ line: z.ZodNumber;
1440
+ value: z.ZodString;
1441
+ }, z.core.$strict>>>;
1442
+ }, z.core.$strict>;
1443
+ }, z.core.$strict>>;
1444
+ outcome: z.ZodOptional<z.ZodString>;
1445
+ errors: z.ZodDefault<z.ZodArray<z.ZodObject<{
1446
+ when: z.ZodString;
1447
+ then: z.ZodString;
1448
+ cite: z.ZodObject<{
1449
+ file: z.ZodString;
1450
+ line: z.ZodNumber;
1451
+ value: z.ZodString;
1452
+ quote: z.ZodOptional<z.ZodString>;
1453
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1454
+ file: z.ZodString;
1455
+ line: z.ZodNumber;
1456
+ value: z.ZodString;
1457
+ }, z.core.$strict>>>;
1458
+ }, z.core.$strict>;
1459
+ }, z.core.$strict>>>;
1460
+ id: z.ZodString;
1461
+ repo: z.ZodString;
1462
+ commit: z.ZodString;
1463
+ component: z.ZodOptional<z.ZodString>;
1464
+ cite: z.ZodObject<{
1465
+ file: z.ZodString;
1466
+ line: z.ZodNumber;
1467
+ value: z.ZodString;
1468
+ quote: z.ZodOptional<z.ZodString>;
1469
+ with: z.ZodOptional<z.ZodArray<z.ZodObject<{
1470
+ file: z.ZodString;
1471
+ line: z.ZodNumber;
1472
+ value: z.ZodString;
1473
+ }, z.core.$strict>>>;
1474
+ }, z.core.$strict>;
1475
+ verified: z.ZodDefault<z.ZodEnum<{
1476
+ line: "line";
1477
+ none: "none";
1478
+ person: "person";
1479
+ sample: "sample";
1480
+ }>>;
1481
+ by: z.ZodDefault<z.ZodEnum<{
1482
+ person: "person";
1483
+ assistant: "assistant";
1484
+ reader: "reader";
1485
+ }>>;
1486
+ conf: z.ZodDefault<z.ZodEnum<{
1487
+ inferred: "inferred";
1488
+ declared: "declared";
1489
+ }>>;
1490
+ kind: z.ZodLiteral<"flow">;
1491
+ }, z.core.$strict>], "kind">>;