@roll-agent/browser-use-agent 0.27.2 → 0.27.4

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 (56) hide show
  1. package/dist/browser-use-policy.d.ts +18 -26
  2. package/dist/diagnostics/effective-env.d.ts +2 -14
  3. package/dist/goal/contracts.d.ts +173 -1537
  4. package/dist/goal/decisions.d.ts +1 -9
  5. package/dist/goal/execution-context.d.ts +83 -457
  6. package/dist/goal/form-context.d.ts +104 -480
  7. package/dist/goal/form-handoff.d.ts +12 -138
  8. package/dist/goal/interaction-feedback.d.ts +10 -36
  9. package/dist/goal/observation.d.ts +122 -827
  10. package/dist/goal/picker-observation.d.ts +26 -41
  11. package/dist/goal/picker-state.d.ts +33 -70
  12. package/dist/goal/task-evidence.d.ts +3 -3
  13. package/dist/goal/task-freshness.d.ts +8 -48
  14. package/dist/goal/task-policy.d.ts +10 -10
  15. package/dist/goal/task-progress.d.ts +25 -271
  16. package/dist/goal/task-sources.d.ts +2 -2
  17. package/dist/index.js +1 -1
  18. package/dist/reply-authority/prepared-reply-decision.d.ts +22 -25
  19. package/dist/reply-authority/prepared-reply-judge-context.d.ts +9 -64
  20. package/dist/reply-authority/schemas.d.ts +6 -100
  21. package/dist/runtime-config.d.ts +40 -302
  22. package/dist/tool-action-approval.d.ts +1 -5
  23. package/dist/tools/attach-browser-session.d.ts +2 -2
  24. package/dist/tools/browser-execute.d.ts +19 -19
  25. package/dist/tools/browser-operate.d.ts +113 -113
  26. package/dist/tools/browser-ref-schemas.d.ts +19 -77
  27. package/dist/tools/browser-snapshot.d.ts +7 -7
  28. package/dist/tools/browser-status.d.ts +34 -34
  29. package/dist/tools/browser-stop.d.ts +19 -54
  30. package/dist/tools/browser-workflows.d.ts +87 -454
  31. package/dist/tools/click-ref.d.ts +7 -7
  32. package/dist/tools/type-ref.d.ts +8 -8
  33. package/dist/tools/yupao-send-reply.d.ts +1 -1
  34. package/dist/tools/zhipin-capture-resume.d.ts +7 -7
  35. package/dist/tools/zhipin-close-resume.d.ts +2 -2
  36. package/dist/tools/zhipin-diagnose-browser-state.d.ts +76 -156
  37. package/dist/tools/zhipin-exchange-wechat.d.ts +2 -2
  38. package/dist/tools/zhipin-filter-recommend-candidates.d.ts +15 -15
  39. package/dist/tools/zhipin-generate-reply-preview.d.ts +14 -14
  40. package/dist/tools/zhipin-get-candidate-info.d.ts +16 -16
  41. package/dist/tools/zhipin-get-candidate-list.d.ts +7 -7
  42. package/dist/tools/zhipin-get-username.d.ts +3 -3
  43. package/dist/tools/zhipin-judge-prepared-reply.d.ts +5 -5
  44. package/dist/tools/zhipin-list-recommend-jobs.d.ts +7 -7
  45. package/dist/tools/zhipin-open-chat-page.d.ts +4 -4
  46. package/dist/tools/zhipin-open-chat.d.ts +3 -3
  47. package/dist/tools/zhipin-open-recommend-page.d.ts +3 -3
  48. package/dist/tools/zhipin-open-resume.d.ts +2 -2
  49. package/dist/tools/zhipin-read-messages.d.ts +4 -4
  50. package/dist/tools/zhipin-say-hello.d.ts +3 -3
  51. package/dist/tools/zhipin-scroll-view.d.ts +13 -13
  52. package/dist/tools/zhipin-select-recommend-job.d.ts +16 -16
  53. package/dist/tools/zhipin-send-prepared-reply.d.ts +6 -6
  54. package/dist/tools/zhipin-send-reply.d.ts +2 -10
  55. package/dist/workflows/store.d.ts +46 -253
  56. package/package.json +5 -5
@@ -1,106 +1,55 @@
1
1
  import { z } from "zod";
2
2
  import type { taskElements } from "./task-policy.ts";
3
- export declare const FormFieldSchema: z.ZodDiscriminatedUnion<"intent", [z.ZodObject<{
3
+ export declare const FormFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  intent: z.ZodLiteral<"set">;
6
6
  valueName: z.ZodString;
7
- comparison: z.ZodDefault<z.ZodEnum<["auto", "literal", "semantic"]>>;
8
- }, "strict", z.ZodTypeAny, {
9
- name: string;
10
- intent: "set";
11
- comparison: "auto" | "literal" | "semantic";
12
- valueName: string;
13
- }, {
14
- name: string;
15
- intent: "set";
16
- valueName: string;
17
- comparison?: "auto" | "literal" | "semantic" | undefined;
18
- }>, z.ZodObject<{
7
+ comparison: z.ZodDefault<z.ZodEnum<{
8
+ literal: "literal";
9
+ auto: "auto";
10
+ semantic: "semantic";
11
+ }>>;
12
+ }, z.core.$strict>, z.ZodObject<{
19
13
  name: z.ZodString;
20
14
  intent: z.ZodLiteral<"preserve">;
21
- }, "strict", z.ZodTypeAny, {
22
- name: string;
23
- intent: "preserve";
24
- }, {
25
- name: string;
26
- intent: "preserve";
27
- }>]>;
15
+ }, z.core.$strict>], "intent">;
28
16
  export declare const FormTaskSchema: z.ZodObject<{
29
- mode: z.ZodEnum<["create", "edit"]>;
30
- stopAt: z.ZodDefault<z.ZodEnum<["applied", "current-view"]>>;
31
- fields: z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"intent", [z.ZodObject<{
17
+ mode: z.ZodEnum<{
18
+ create: "create";
19
+ edit: "edit";
20
+ }>;
21
+ stopAt: z.ZodDefault<z.ZodEnum<{
22
+ applied: "applied";
23
+ "current-view": "current-view";
24
+ }>>;
25
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
32
26
  name: z.ZodString;
33
27
  intent: z.ZodLiteral<"set">;
34
28
  valueName: z.ZodString;
35
- comparison: z.ZodDefault<z.ZodEnum<["auto", "literal", "semantic"]>>;
36
- }, "strict", z.ZodTypeAny, {
37
- name: string;
38
- intent: "set";
39
- comparison: "auto" | "literal" | "semantic";
40
- valueName: string;
41
- }, {
42
- name: string;
43
- intent: "set";
44
- valueName: string;
45
- comparison?: "auto" | "literal" | "semantic" | undefined;
46
- }>, z.ZodObject<{
29
+ comparison: z.ZodDefault<z.ZodEnum<{
30
+ literal: "literal";
31
+ auto: "auto";
32
+ semantic: "semantic";
33
+ }>>;
34
+ }, z.core.$strict>, z.ZodObject<{
47
35
  name: z.ZodString;
48
36
  intent: z.ZodLiteral<"preserve">;
49
- }, "strict", z.ZodTypeAny, {
50
- name: string;
51
- intent: "preserve";
52
- }, {
53
- name: string;
54
- intent: "preserve";
55
- }>]>, "many">, ({
56
- name: string;
57
- intent: "set";
58
- comparison: "auto" | "literal" | "semantic";
59
- valueName: string;
60
- } | {
61
- name: string;
62
- intent: "preserve";
63
- })[], ({
64
- name: string;
65
- intent: "set";
66
- valueName: string;
67
- comparison?: "auto" | "literal" | "semantic" | undefined;
68
- } | {
69
- name: string;
70
- intent: "preserve";
71
- })[]>;
72
- }, "strict", z.ZodTypeAny, {
73
- mode: "create" | "edit";
74
- stopAt: "applied" | "current-view";
75
- fields: ({
76
- name: string;
77
- intent: "set";
78
- comparison: "auto" | "literal" | "semantic";
79
- valueName: string;
80
- } | {
81
- name: string;
82
- intent: "preserve";
83
- })[];
84
- }, {
85
- mode: "create" | "edit";
86
- fields: ({
87
- name: string;
88
- intent: "set";
89
- valueName: string;
90
- comparison?: "auto" | "literal" | "semantic" | undefined;
91
- } | {
92
- name: string;
93
- intent: "preserve";
94
- })[];
95
- stopAt?: "applied" | "current-view" | undefined;
96
- }>;
37
+ }, z.core.$strict>], "intent">>;
38
+ }, z.core.$strict>;
97
39
  export type FormTask = z.infer<typeof FormTaskSchema>;
98
40
  export type FormControl = ReturnType<typeof taskElements>[number];
99
41
  export declare const FormFieldStateSchema: z.ZodObject<{
100
42
  id: z.ZodString;
101
43
  name: z.ZodString;
102
- intent: z.ZodEnum<["set", "preserve"]>;
103
- comparison: z.ZodEnum<["auto", "literal", "semantic"]>;
44
+ intent: z.ZodEnum<{
45
+ set: "set";
46
+ preserve: "preserve";
47
+ }>;
48
+ comparison: z.ZodEnum<{
49
+ literal: "literal";
50
+ auto: "auto";
51
+ semantic: "semantic";
52
+ }>;
104
53
  expected: z.ZodOptional<z.ZodString>;
105
54
  binding: z.ZodOptional<z.ZodObject<{
106
55
  identity: z.ZodString;
@@ -109,21 +58,7 @@ export declare const FormFieldStateSchema: z.ZodObject<{
109
58
  name: z.ZodString;
110
59
  role: z.ZodString;
111
60
  fieldLabel: z.ZodOptional<z.ZodString>;
112
- }, "strip", z.ZodTypeAny, {
113
- role: string;
114
- name: string;
115
- identity: string;
116
- key?: string | undefined;
117
- fieldLabel?: string | undefined;
118
- readOnlyDisplay?: true | undefined;
119
- }, {
120
- role: string;
121
- name: string;
122
- identity: string;
123
- key?: string | undefined;
124
- fieldLabel?: string | undefined;
125
- readOnlyDisplay?: true | undefined;
126
- }>>;
61
+ }, z.core.$strip>>;
127
62
  entry: z.ZodOptional<z.ZodObject<{
128
63
  identity: z.ZodString;
129
64
  readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
@@ -131,148 +66,58 @@ export declare const FormFieldStateSchema: z.ZodObject<{
131
66
  name: z.ZodString;
132
67
  role: z.ZodString;
133
68
  fieldLabel: z.ZodOptional<z.ZodString>;
134
- }, "strip", z.ZodTypeAny, {
135
- role: string;
136
- name: string;
137
- identity: string;
138
- key?: string | undefined;
139
- fieldLabel?: string | undefined;
140
- readOnlyDisplay?: true | undefined;
141
- }, {
142
- role: string;
143
- name: string;
144
- identity: string;
145
- key?: string | undefined;
146
- fieldLabel?: string | undefined;
147
- readOnlyDisplay?: true | undefined;
148
- }>>;
69
+ }, z.core.$strip>>;
149
70
  entryProof: z.ZodOptional<z.ZodObject<{
150
71
  fingerprint: z.ZodString;
151
- status: z.ZodEnum<["satisfied", "unsatisfied", "unknown"]>;
152
- }, "strip", z.ZodTypeAny, {
153
- status: "unknown" | "satisfied" | "unsatisfied";
154
- fingerprint: string;
155
- }, {
156
- status: "unknown" | "satisfied" | "unsatisfied";
157
- fingerprint: string;
158
- }>>;
72
+ status: z.ZodEnum<{
73
+ unknown: "unknown";
74
+ satisfied: "satisfied";
75
+ unsatisfied: "unsatisfied";
76
+ }>;
77
+ }, z.core.$strip>>;
159
78
  initial: z.ZodOptional<z.ZodString>;
160
79
  current: z.ZodOptional<z.ZodString>;
161
- status: z.ZodEnum<["unknown", "unsatisfied", "satisfied"]>;
80
+ status: z.ZodEnum<{
81
+ unknown: "unknown";
82
+ satisfied: "satisfied";
83
+ unsatisfied: "unsatisfied";
84
+ }>;
162
85
  reason: z.ZodString;
163
86
  fingerprint: z.ZodOptional<z.ZodString>;
164
87
  target: z.ZodOptional<z.ZodObject<{
165
88
  key: z.ZodString;
166
89
  label: z.ZodString;
167
90
  optionsKey: z.ZodString;
168
- }, "strip", z.ZodTypeAny, {
169
- label: string;
170
- key: string;
171
- optionsKey: string;
172
- }, {
173
- label: string;
174
- key: string;
175
- optionsKey: string;
176
- }>>;
91
+ }, z.core.$strip>>;
177
92
  semanticProof: z.ZodOptional<z.ZodObject<{
178
93
  fingerprint: z.ZodString;
179
- status: z.ZodEnum<["satisfied", "unsatisfied"]>;
180
- }, "strip", z.ZodTypeAny, {
181
- status: "satisfied" | "unsatisfied";
182
- fingerprint: string;
183
- }, {
184
- status: "satisfied" | "unsatisfied";
185
- fingerprint: string;
186
- }>>;
187
- }, "strip", z.ZodTypeAny, {
188
- status: "unknown" | "satisfied" | "unsatisfied";
189
- id: string;
190
- name: string;
191
- reason: string;
192
- intent: "set" | "preserve";
193
- comparison: "auto" | "literal" | "semantic";
194
- expected?: string | undefined;
195
- target?: {
196
- label: string;
197
- key: string;
198
- optionsKey: string;
199
- } | undefined;
200
- fingerprint?: string | undefined;
201
- binding?: {
202
- role: string;
203
- name: string;
204
- identity: string;
205
- key?: string | undefined;
206
- fieldLabel?: string | undefined;
207
- readOnlyDisplay?: true | undefined;
208
- } | undefined;
209
- entry?: {
210
- role: string;
211
- name: string;
212
- identity: string;
213
- key?: string | undefined;
214
- fieldLabel?: string | undefined;
215
- readOnlyDisplay?: true | undefined;
216
- } | undefined;
217
- entryProof?: {
218
- status: "unknown" | "satisfied" | "unsatisfied";
219
- fingerprint: string;
220
- } | undefined;
221
- initial?: string | undefined;
222
- current?: string | undefined;
223
- semanticProof?: {
224
- status: "satisfied" | "unsatisfied";
225
- fingerprint: string;
226
- } | undefined;
227
- }, {
228
- status: "unknown" | "satisfied" | "unsatisfied";
229
- id: string;
230
- name: string;
231
- reason: string;
232
- intent: "set" | "preserve";
233
- comparison: "auto" | "literal" | "semantic";
234
- expected?: string | undefined;
235
- target?: {
236
- label: string;
237
- key: string;
238
- optionsKey: string;
239
- } | undefined;
240
- fingerprint?: string | undefined;
241
- binding?: {
242
- role: string;
243
- name: string;
244
- identity: string;
245
- key?: string | undefined;
246
- fieldLabel?: string | undefined;
247
- readOnlyDisplay?: true | undefined;
248
- } | undefined;
249
- entry?: {
250
- role: string;
251
- name: string;
252
- identity: string;
253
- key?: string | undefined;
254
- fieldLabel?: string | undefined;
255
- readOnlyDisplay?: true | undefined;
256
- } | undefined;
257
- entryProof?: {
258
- status: "unknown" | "satisfied" | "unsatisfied";
259
- fingerprint: string;
260
- } | undefined;
261
- initial?: string | undefined;
262
- current?: string | undefined;
263
- semanticProof?: {
264
- status: "satisfied" | "unsatisfied";
265
- fingerprint: string;
266
- } | undefined;
267
- }>;
94
+ status: z.ZodEnum<{
95
+ satisfied: "satisfied";
96
+ unsatisfied: "unsatisfied";
97
+ }>;
98
+ }, z.core.$strip>>;
99
+ }, z.core.$strip>;
268
100
  export declare const FormStateSchema: z.ZodObject<{
269
- mode: z.ZodEnum<["create", "edit"]>;
270
- stopAt: z.ZodEnum<["applied", "current-view"]>;
101
+ mode: z.ZodEnum<{
102
+ create: "create";
103
+ edit: "edit";
104
+ }>;
105
+ stopAt: z.ZodEnum<{
106
+ applied: "applied";
107
+ "current-view": "current-view";
108
+ }>;
271
109
  fields: z.ZodArray<z.ZodObject<{
272
110
  id: z.ZodString;
273
111
  name: z.ZodString;
274
- intent: z.ZodEnum<["set", "preserve"]>;
275
- comparison: z.ZodEnum<["auto", "literal", "semantic"]>;
112
+ intent: z.ZodEnum<{
113
+ set: "set";
114
+ preserve: "preserve";
115
+ }>;
116
+ comparison: z.ZodEnum<{
117
+ literal: "literal";
118
+ auto: "auto";
119
+ semantic: "semantic";
120
+ }>;
276
121
  expected: z.ZodOptional<z.ZodString>;
277
122
  binding: z.ZodOptional<z.ZodObject<{
278
123
  identity: z.ZodString;
@@ -281,21 +126,7 @@ export declare const FormStateSchema: z.ZodObject<{
281
126
  name: z.ZodString;
282
127
  role: z.ZodString;
283
128
  fieldLabel: z.ZodOptional<z.ZodString>;
284
- }, "strip", z.ZodTypeAny, {
285
- role: string;
286
- name: string;
287
- identity: string;
288
- key?: string | undefined;
289
- fieldLabel?: string | undefined;
290
- readOnlyDisplay?: true | undefined;
291
- }, {
292
- role: string;
293
- name: string;
294
- identity: string;
295
- key?: string | undefined;
296
- fieldLabel?: string | undefined;
297
- readOnlyDisplay?: true | undefined;
298
- }>>;
129
+ }, z.core.$strip>>;
299
130
  entry: z.ZodOptional<z.ZodObject<{
300
131
  identity: z.ZodString;
301
132
  readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
@@ -303,255 +134,48 @@ export declare const FormStateSchema: z.ZodObject<{
303
134
  name: z.ZodString;
304
135
  role: z.ZodString;
305
136
  fieldLabel: z.ZodOptional<z.ZodString>;
306
- }, "strip", z.ZodTypeAny, {
307
- role: string;
308
- name: string;
309
- identity: string;
310
- key?: string | undefined;
311
- fieldLabel?: string | undefined;
312
- readOnlyDisplay?: true | undefined;
313
- }, {
314
- role: string;
315
- name: string;
316
- identity: string;
317
- key?: string | undefined;
318
- fieldLabel?: string | undefined;
319
- readOnlyDisplay?: true | undefined;
320
- }>>;
137
+ }, z.core.$strip>>;
321
138
  entryProof: z.ZodOptional<z.ZodObject<{
322
139
  fingerprint: z.ZodString;
323
- status: z.ZodEnum<["satisfied", "unsatisfied", "unknown"]>;
324
- }, "strip", z.ZodTypeAny, {
325
- status: "unknown" | "satisfied" | "unsatisfied";
326
- fingerprint: string;
327
- }, {
328
- status: "unknown" | "satisfied" | "unsatisfied";
329
- fingerprint: string;
330
- }>>;
140
+ status: z.ZodEnum<{
141
+ unknown: "unknown";
142
+ satisfied: "satisfied";
143
+ unsatisfied: "unsatisfied";
144
+ }>;
145
+ }, z.core.$strip>>;
331
146
  initial: z.ZodOptional<z.ZodString>;
332
147
  current: z.ZodOptional<z.ZodString>;
333
- status: z.ZodEnum<["unknown", "unsatisfied", "satisfied"]>;
148
+ status: z.ZodEnum<{
149
+ unknown: "unknown";
150
+ satisfied: "satisfied";
151
+ unsatisfied: "unsatisfied";
152
+ }>;
334
153
  reason: z.ZodString;
335
154
  fingerprint: z.ZodOptional<z.ZodString>;
336
155
  target: z.ZodOptional<z.ZodObject<{
337
156
  key: z.ZodString;
338
157
  label: z.ZodString;
339
158
  optionsKey: z.ZodString;
340
- }, "strip", z.ZodTypeAny, {
341
- label: string;
342
- key: string;
343
- optionsKey: string;
344
- }, {
345
- label: string;
346
- key: string;
347
- optionsKey: string;
348
- }>>;
159
+ }, z.core.$strip>>;
349
160
  semanticProof: z.ZodOptional<z.ZodObject<{
350
161
  fingerprint: z.ZodString;
351
- status: z.ZodEnum<["satisfied", "unsatisfied"]>;
352
- }, "strip", z.ZodTypeAny, {
353
- status: "satisfied" | "unsatisfied";
354
- fingerprint: string;
355
- }, {
356
- status: "satisfied" | "unsatisfied";
357
- fingerprint: string;
358
- }>>;
359
- }, "strip", z.ZodTypeAny, {
360
- status: "unknown" | "satisfied" | "unsatisfied";
361
- id: string;
362
- name: string;
363
- reason: string;
364
- intent: "set" | "preserve";
365
- comparison: "auto" | "literal" | "semantic";
366
- expected?: string | undefined;
367
- target?: {
368
- label: string;
369
- key: string;
370
- optionsKey: string;
371
- } | undefined;
372
- fingerprint?: string | undefined;
373
- binding?: {
374
- role: string;
375
- name: string;
376
- identity: string;
377
- key?: string | undefined;
378
- fieldLabel?: string | undefined;
379
- readOnlyDisplay?: true | undefined;
380
- } | undefined;
381
- entry?: {
382
- role: string;
383
- name: string;
384
- identity: string;
385
- key?: string | undefined;
386
- fieldLabel?: string | undefined;
387
- readOnlyDisplay?: true | undefined;
388
- } | undefined;
389
- entryProof?: {
390
- status: "unknown" | "satisfied" | "unsatisfied";
391
- fingerprint: string;
392
- } | undefined;
393
- initial?: string | undefined;
394
- current?: string | undefined;
395
- semanticProof?: {
396
- status: "satisfied" | "unsatisfied";
397
- fingerprint: string;
398
- } | undefined;
399
- }, {
400
- status: "unknown" | "satisfied" | "unsatisfied";
401
- id: string;
402
- name: string;
403
- reason: string;
404
- intent: "set" | "preserve";
405
- comparison: "auto" | "literal" | "semantic";
406
- expected?: string | undefined;
407
- target?: {
408
- label: string;
409
- key: string;
410
- optionsKey: string;
411
- } | undefined;
412
- fingerprint?: string | undefined;
413
- binding?: {
414
- role: string;
415
- name: string;
416
- identity: string;
417
- key?: string | undefined;
418
- fieldLabel?: string | undefined;
419
- readOnlyDisplay?: true | undefined;
420
- } | undefined;
421
- entry?: {
422
- role: string;
423
- name: string;
424
- identity: string;
425
- key?: string | undefined;
426
- fieldLabel?: string | undefined;
427
- readOnlyDisplay?: true | undefined;
428
- } | undefined;
429
- entryProof?: {
430
- status: "unknown" | "satisfied" | "unsatisfied";
431
- fingerprint: string;
432
- } | undefined;
433
- initial?: string | undefined;
434
- current?: string | undefined;
435
- semanticProof?: {
436
- status: "satisfied" | "unsatisfied";
437
- fingerprint: string;
438
- } | undefined;
439
- }>, "many">;
162
+ status: z.ZodEnum<{
163
+ satisfied: "satisfied";
164
+ unsatisfied: "unsatisfied";
165
+ }>;
166
+ }, z.core.$strip>>;
167
+ }, z.core.$strip>>;
440
168
  focus: z.ZodOptional<z.ZodString>;
441
169
  panel: z.ZodOptional<z.ZodObject<{
442
170
  key: z.ZodString;
443
- status: z.ZodEnum<["pending", "accepted", "rejected"]>;
171
+ status: z.ZodEnum<{
172
+ pending: "pending";
173
+ rejected: "rejected";
174
+ accepted: "accepted";
175
+ }>;
444
176
  queryIdentity: z.ZodOptional<z.ZodString>;
445
- }, "strip", z.ZodTypeAny, {
446
- status: "pending" | "rejected" | "accepted";
447
- key: string;
448
- queryIdentity?: string | undefined;
449
- }, {
450
- status: "pending" | "rejected" | "accepted";
451
- key: string;
452
- queryIdentity?: string | undefined;
453
- }>>;
454
- }, "strip", z.ZodTypeAny, {
455
- mode: "create" | "edit";
456
- stopAt: "applied" | "current-view";
457
- fields: {
458
- status: "unknown" | "satisfied" | "unsatisfied";
459
- id: string;
460
- name: string;
461
- reason: string;
462
- intent: "set" | "preserve";
463
- comparison: "auto" | "literal" | "semantic";
464
- expected?: string | undefined;
465
- target?: {
466
- label: string;
467
- key: string;
468
- optionsKey: string;
469
- } | undefined;
470
- fingerprint?: string | undefined;
471
- binding?: {
472
- role: string;
473
- name: string;
474
- identity: string;
475
- key?: string | undefined;
476
- fieldLabel?: string | undefined;
477
- readOnlyDisplay?: true | undefined;
478
- } | undefined;
479
- entry?: {
480
- role: string;
481
- name: string;
482
- identity: string;
483
- key?: string | undefined;
484
- fieldLabel?: string | undefined;
485
- readOnlyDisplay?: true | undefined;
486
- } | undefined;
487
- entryProof?: {
488
- status: "unknown" | "satisfied" | "unsatisfied";
489
- fingerprint: string;
490
- } | undefined;
491
- initial?: string | undefined;
492
- current?: string | undefined;
493
- semanticProof?: {
494
- status: "satisfied" | "unsatisfied";
495
- fingerprint: string;
496
- } | undefined;
497
- }[];
498
- panel?: {
499
- status: "pending" | "rejected" | "accepted";
500
- key: string;
501
- queryIdentity?: string | undefined;
502
- } | undefined;
503
- focus?: string | undefined;
504
- }, {
505
- mode: "create" | "edit";
506
- stopAt: "applied" | "current-view";
507
- fields: {
508
- status: "unknown" | "satisfied" | "unsatisfied";
509
- id: string;
510
- name: string;
511
- reason: string;
512
- intent: "set" | "preserve";
513
- comparison: "auto" | "literal" | "semantic";
514
- expected?: string | undefined;
515
- target?: {
516
- label: string;
517
- key: string;
518
- optionsKey: string;
519
- } | undefined;
520
- fingerprint?: string | undefined;
521
- binding?: {
522
- role: string;
523
- name: string;
524
- identity: string;
525
- key?: string | undefined;
526
- fieldLabel?: string | undefined;
527
- readOnlyDisplay?: true | undefined;
528
- } | undefined;
529
- entry?: {
530
- role: string;
531
- name: string;
532
- identity: string;
533
- key?: string | undefined;
534
- fieldLabel?: string | undefined;
535
- readOnlyDisplay?: true | undefined;
536
- } | undefined;
537
- entryProof?: {
538
- status: "unknown" | "satisfied" | "unsatisfied";
539
- fingerprint: string;
540
- } | undefined;
541
- initial?: string | undefined;
542
- current?: string | undefined;
543
- semanticProof?: {
544
- status: "satisfied" | "unsatisfied";
545
- fingerprint: string;
546
- } | undefined;
547
- }[];
548
- panel?: {
549
- status: "pending" | "rejected" | "accepted";
550
- key: string;
551
- queryIdentity?: string | undefined;
552
- } | undefined;
553
- focus?: string | undefined;
554
- }>;
177
+ }, z.core.$strip>>;
178
+ }, z.core.$strip>;
555
179
  export type FormState = z.infer<typeof FormStateSchema>;
556
180
  export declare const formControlValue: (c: FormControl) => string | undefined;
557
181
  export declare const comparableControl: (c: FormControl) => boolean;
@@ -587,9 +211,9 @@ export declare const currentFormEntry: (field: FormState["fields"][number], cont
587
211
  pickerIdentity: string | undefined;
588
212
  readable: boolean | undefined;
589
213
  peerGroup: {
590
- count: number;
591
214
  key: string;
592
215
  position: number;
216
+ count: number;
593
217
  } | undefined;
594
218
  pickerOwnerPath: string | undefined;
595
219
  pickerOptionPath: string | undefined;
@@ -597,17 +221,17 @@ export declare const currentFormEntry: (field: FormState["fields"][number], cont
597
221
  required: boolean | undefined;
598
222
  requiredSource: "html" | "aria" | "label-required" | "label-optional" | undefined;
599
223
  constraints: {
600
- multiple?: boolean | undefined;
601
- pattern?: string | undefined;
602
224
  min?: string | undefined;
603
225
  max?: string | undefined;
604
226
  step?: string | undefined;
605
227
  minlength?: string | undefined;
606
228
  maxlength?: string | undefined;
229
+ pattern?: string | undefined;
230
+ multiple?: boolean | undefined;
607
231
  } | undefined;
608
232
  position: {
609
- left: number;
610
233
  top: number;
234
+ left: number;
611
235
  } | undefined;
612
236
  scrollContainerPaths: string[] | undefined;
613
237
  revealViaScroll: boolean | undefined;
@@ -622,10 +246,10 @@ export declare const currentFormEntry: (field: FormState["fields"][number], cont
622
246
  modal: boolean | undefined;
623
247
  nativeSelect: boolean | undefined;
624
248
  options: {
625
- value: string;
626
249
  label: string;
627
- disabled: boolean;
250
+ value: string;
628
251
  selected: boolean;
252
+ disabled: boolean;
629
253
  }[] | undefined;
630
254
  optionsTruncated: boolean | undefined;
631
255
  } | undefined;