@femtomc/mu-core 26.2.106 → 26.2.108
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 +17 -10
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/ui.d.ts +298 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +332 -0
- package/package.json +32 -32
- package/dist/hud.d.ts +0 -402
- package/dist/hud.d.ts.map +0 -1
- package/dist/hud.js +0 -488
- package/dist/hud_runtime.d.ts +0 -36
- package/dist/hud_runtime.d.ts.map +0 -1
- package/dist/hud_runtime.js +0 -105
package/dist/hud.d.ts
DELETED
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const HUD_CONTRACT_VERSION = 1;
|
|
3
|
-
export declare const HudToneSchema: z.ZodEnum<{
|
|
4
|
-
error: "error";
|
|
5
|
-
info: "info";
|
|
6
|
-
success: "success";
|
|
7
|
-
warning: "warning";
|
|
8
|
-
muted: "muted";
|
|
9
|
-
accent: "accent";
|
|
10
|
-
dim: "dim";
|
|
11
|
-
}>;
|
|
12
|
-
export type HudTone = z.infer<typeof HudToneSchema>;
|
|
13
|
-
export declare const HudActionKindSchema: z.ZodEnum<{
|
|
14
|
-
primary: "primary";
|
|
15
|
-
secondary: "secondary";
|
|
16
|
-
danger: "danger";
|
|
17
|
-
}>;
|
|
18
|
-
export type HudActionKind = z.infer<typeof HudActionKindSchema>;
|
|
19
|
-
export declare const HudTextWeightSchema: z.ZodEnum<{
|
|
20
|
-
normal: "normal";
|
|
21
|
-
strong: "strong";
|
|
22
|
-
}>;
|
|
23
|
-
export type HudTextWeight = z.infer<typeof HudTextWeightSchema>;
|
|
24
|
-
export declare const HudTextStyleSchema: z.ZodObject<{
|
|
25
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
26
|
-
normal: "normal";
|
|
27
|
-
strong: "strong";
|
|
28
|
-
}>>;
|
|
29
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
}, z.core.$strict>;
|
|
32
|
-
export type HudTextStyle = z.infer<typeof HudTextStyleSchema>;
|
|
33
|
-
export declare const HudChipSchema: z.ZodObject<{
|
|
34
|
-
key: z.ZodString;
|
|
35
|
-
label: z.ZodString;
|
|
36
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
error: "error";
|
|
38
|
-
info: "info";
|
|
39
|
-
success: "success";
|
|
40
|
-
warning: "warning";
|
|
41
|
-
muted: "muted";
|
|
42
|
-
accent: "accent";
|
|
43
|
-
dim: "dim";
|
|
44
|
-
}>>;
|
|
45
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
46
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
normal: "normal";
|
|
48
|
-
strong: "strong";
|
|
49
|
-
}>>;
|
|
50
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
}, z.core.$strict>>;
|
|
53
|
-
}, z.core.$strict>;
|
|
54
|
-
export type HudChip = z.infer<typeof HudChipSchema>;
|
|
55
|
-
export declare const HudKvItemSchema: z.ZodObject<{
|
|
56
|
-
key: z.ZodString;
|
|
57
|
-
label: z.ZodString;
|
|
58
|
-
value: z.ZodString;
|
|
59
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
60
|
-
error: "error";
|
|
61
|
-
info: "info";
|
|
62
|
-
success: "success";
|
|
63
|
-
warning: "warning";
|
|
64
|
-
muted: "muted";
|
|
65
|
-
accent: "accent";
|
|
66
|
-
dim: "dim";
|
|
67
|
-
}>>;
|
|
68
|
-
value_style: z.ZodOptional<z.ZodObject<{
|
|
69
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
normal: "normal";
|
|
71
|
-
strong: "strong";
|
|
72
|
-
}>>;
|
|
73
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
}, z.core.$strict>>;
|
|
76
|
-
}, z.core.$strict>;
|
|
77
|
-
export type HudKvItem = z.infer<typeof HudKvItemSchema>;
|
|
78
|
-
export declare const HudChecklistItemSchema: z.ZodObject<{
|
|
79
|
-
id: z.ZodString;
|
|
80
|
-
label: z.ZodString;
|
|
81
|
-
done: z.ZodBoolean;
|
|
82
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
83
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
84
|
-
normal: "normal";
|
|
85
|
-
strong: "strong";
|
|
86
|
-
}>>;
|
|
87
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
}, z.core.$strict>>;
|
|
90
|
-
}, z.core.$strict>;
|
|
91
|
-
export type HudChecklistItem = z.infer<typeof HudChecklistItemSchema>;
|
|
92
|
-
export declare const HudSectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
-
kind: z.ZodLiteral<"kv">;
|
|
94
|
-
title: z.ZodOptional<z.ZodString>;
|
|
95
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
97
|
-
normal: "normal";
|
|
98
|
-
strong: "strong";
|
|
99
|
-
}>>;
|
|
100
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
}, z.core.$strict>>;
|
|
103
|
-
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
104
|
-
key: z.ZodString;
|
|
105
|
-
label: z.ZodString;
|
|
106
|
-
value: z.ZodString;
|
|
107
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
108
|
-
error: "error";
|
|
109
|
-
info: "info";
|
|
110
|
-
success: "success";
|
|
111
|
-
warning: "warning";
|
|
112
|
-
muted: "muted";
|
|
113
|
-
accent: "accent";
|
|
114
|
-
dim: "dim";
|
|
115
|
-
}>>;
|
|
116
|
-
value_style: z.ZodOptional<z.ZodObject<{
|
|
117
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
normal: "normal";
|
|
119
|
-
strong: "strong";
|
|
120
|
-
}>>;
|
|
121
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
}, z.core.$strict>>;
|
|
124
|
-
}, z.core.$strict>>>;
|
|
125
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
126
|
-
kind: z.ZodLiteral<"checklist">;
|
|
127
|
-
title: z.ZodOptional<z.ZodString>;
|
|
128
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
129
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
130
|
-
normal: "normal";
|
|
131
|
-
strong: "strong";
|
|
132
|
-
}>>;
|
|
133
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
-
}, z.core.$strict>>;
|
|
136
|
-
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
137
|
-
id: z.ZodString;
|
|
138
|
-
label: z.ZodString;
|
|
139
|
-
done: z.ZodBoolean;
|
|
140
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
141
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
142
|
-
normal: "normal";
|
|
143
|
-
strong: "strong";
|
|
144
|
-
}>>;
|
|
145
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
}, z.core.$strict>>;
|
|
148
|
-
}, z.core.$strict>>>;
|
|
149
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
-
kind: z.ZodLiteral<"activity">;
|
|
151
|
-
title: z.ZodOptional<z.ZodString>;
|
|
152
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
153
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
154
|
-
normal: "normal";
|
|
155
|
-
strong: "strong";
|
|
156
|
-
}>>;
|
|
157
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
158
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
-
}, z.core.$strict>>;
|
|
160
|
-
lines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
161
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
-
kind: z.ZodLiteral<"text">;
|
|
163
|
-
title: z.ZodOptional<z.ZodString>;
|
|
164
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
165
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
166
|
-
normal: "normal";
|
|
167
|
-
strong: "strong";
|
|
168
|
-
}>>;
|
|
169
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
-
}, z.core.$strict>>;
|
|
172
|
-
text: z.ZodString;
|
|
173
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
error: "error";
|
|
175
|
-
info: "info";
|
|
176
|
-
success: "success";
|
|
177
|
-
warning: "warning";
|
|
178
|
-
muted: "muted";
|
|
179
|
-
accent: "accent";
|
|
180
|
-
dim: "dim";
|
|
181
|
-
}>>;
|
|
182
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
183
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
184
|
-
normal: "normal";
|
|
185
|
-
strong: "strong";
|
|
186
|
-
}>>;
|
|
187
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
-
}, z.core.$strict>>;
|
|
190
|
-
}, z.core.$strict>], "kind">;
|
|
191
|
-
export type HudSection = z.infer<typeof HudSectionSchema>;
|
|
192
|
-
export declare const HudActionSchema: z.ZodObject<{
|
|
193
|
-
id: z.ZodString;
|
|
194
|
-
label: z.ZodString;
|
|
195
|
-
command_text: z.ZodString;
|
|
196
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
primary: "primary";
|
|
198
|
-
secondary: "secondary";
|
|
199
|
-
danger: "danger";
|
|
200
|
-
}>>;
|
|
201
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
202
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
203
|
-
normal: "normal";
|
|
204
|
-
strong: "strong";
|
|
205
|
-
}>>;
|
|
206
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
-
}, z.core.$strict>>;
|
|
209
|
-
}, z.core.$strict>;
|
|
210
|
-
export type HudAction = z.infer<typeof HudActionSchema>;
|
|
211
|
-
export declare const HudDocSchema: z.ZodObject<{
|
|
212
|
-
v: z.ZodDefault<z.ZodLiteral<1>>;
|
|
213
|
-
hud_id: z.ZodString;
|
|
214
|
-
title: z.ZodString;
|
|
215
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
216
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
217
|
-
normal: "normal";
|
|
218
|
-
strong: "strong";
|
|
219
|
-
}>>;
|
|
220
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
-
}, z.core.$strict>>;
|
|
223
|
-
scope: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
224
|
-
chips: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
225
|
-
key: z.ZodString;
|
|
226
|
-
label: z.ZodString;
|
|
227
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
228
|
-
error: "error";
|
|
229
|
-
info: "info";
|
|
230
|
-
success: "success";
|
|
231
|
-
warning: "warning";
|
|
232
|
-
muted: "muted";
|
|
233
|
-
accent: "accent";
|
|
234
|
-
dim: "dim";
|
|
235
|
-
}>>;
|
|
236
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
237
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
238
|
-
normal: "normal";
|
|
239
|
-
strong: "strong";
|
|
240
|
-
}>>;
|
|
241
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
}, z.core.$strict>>;
|
|
244
|
-
}, z.core.$strict>>>;
|
|
245
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
|
-
kind: z.ZodLiteral<"kv">;
|
|
247
|
-
title: z.ZodOptional<z.ZodString>;
|
|
248
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
249
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
250
|
-
normal: "normal";
|
|
251
|
-
strong: "strong";
|
|
252
|
-
}>>;
|
|
253
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
-
}, z.core.$strict>>;
|
|
256
|
-
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
257
|
-
key: z.ZodString;
|
|
258
|
-
label: z.ZodString;
|
|
259
|
-
value: z.ZodString;
|
|
260
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
261
|
-
error: "error";
|
|
262
|
-
info: "info";
|
|
263
|
-
success: "success";
|
|
264
|
-
warning: "warning";
|
|
265
|
-
muted: "muted";
|
|
266
|
-
accent: "accent";
|
|
267
|
-
dim: "dim";
|
|
268
|
-
}>>;
|
|
269
|
-
value_style: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
271
|
-
normal: "normal";
|
|
272
|
-
strong: "strong";
|
|
273
|
-
}>>;
|
|
274
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
-
}, z.core.$strict>>;
|
|
277
|
-
}, z.core.$strict>>>;
|
|
278
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
279
|
-
kind: z.ZodLiteral<"checklist">;
|
|
280
|
-
title: z.ZodOptional<z.ZodString>;
|
|
281
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
282
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
283
|
-
normal: "normal";
|
|
284
|
-
strong: "strong";
|
|
285
|
-
}>>;
|
|
286
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
}, z.core.$strict>>;
|
|
289
|
-
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
290
|
-
id: z.ZodString;
|
|
291
|
-
label: z.ZodString;
|
|
292
|
-
done: z.ZodBoolean;
|
|
293
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
294
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
295
|
-
normal: "normal";
|
|
296
|
-
strong: "strong";
|
|
297
|
-
}>>;
|
|
298
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
-
}, z.core.$strict>>;
|
|
301
|
-
}, z.core.$strict>>>;
|
|
302
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
303
|
-
kind: z.ZodLiteral<"activity">;
|
|
304
|
-
title: z.ZodOptional<z.ZodString>;
|
|
305
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
306
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
307
|
-
normal: "normal";
|
|
308
|
-
strong: "strong";
|
|
309
|
-
}>>;
|
|
310
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
-
}, z.core.$strict>>;
|
|
313
|
-
lines: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
-
kind: z.ZodLiteral<"text">;
|
|
316
|
-
title: z.ZodOptional<z.ZodString>;
|
|
317
|
-
title_style: z.ZodOptional<z.ZodObject<{
|
|
318
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
319
|
-
normal: "normal";
|
|
320
|
-
strong: "strong";
|
|
321
|
-
}>>;
|
|
322
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
-
}, z.core.$strict>>;
|
|
325
|
-
text: z.ZodString;
|
|
326
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
327
|
-
error: "error";
|
|
328
|
-
info: "info";
|
|
329
|
-
success: "success";
|
|
330
|
-
warning: "warning";
|
|
331
|
-
muted: "muted";
|
|
332
|
-
accent: "accent";
|
|
333
|
-
dim: "dim";
|
|
334
|
-
}>>;
|
|
335
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
336
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
337
|
-
normal: "normal";
|
|
338
|
-
strong: "strong";
|
|
339
|
-
}>>;
|
|
340
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
341
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
-
}, z.core.$strict>>;
|
|
343
|
-
}, z.core.$strict>], "kind">>>;
|
|
344
|
-
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
345
|
-
id: z.ZodString;
|
|
346
|
-
label: z.ZodString;
|
|
347
|
-
command_text: z.ZodString;
|
|
348
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
349
|
-
primary: "primary";
|
|
350
|
-
secondary: "secondary";
|
|
351
|
-
danger: "danger";
|
|
352
|
-
}>>;
|
|
353
|
-
style: z.ZodOptional<z.ZodObject<{
|
|
354
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
355
|
-
normal: "normal";
|
|
356
|
-
strong: "strong";
|
|
357
|
-
}>>;
|
|
358
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
-
}, z.core.$strict>>;
|
|
361
|
-
}, z.core.$strict>>>;
|
|
362
|
-
snapshot_compact: z.ZodString;
|
|
363
|
-
snapshot_style: z.ZodOptional<z.ZodObject<{
|
|
364
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
365
|
-
normal: "normal";
|
|
366
|
-
strong: "strong";
|
|
367
|
-
}>>;
|
|
368
|
-
italic: z.ZodOptional<z.ZodBoolean>;
|
|
369
|
-
code: z.ZodOptional<z.ZodBoolean>;
|
|
370
|
-
}, z.core.$strict>>;
|
|
371
|
-
snapshot_multiline: z.ZodOptional<z.ZodString>;
|
|
372
|
-
updated_at_ms: z.ZodNumber;
|
|
373
|
-
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
374
|
-
}, z.core.$strict>;
|
|
375
|
-
export type HudDoc = z.infer<typeof HudDocSchema>;
|
|
376
|
-
export declare const HUD_STYLE_PRESET_NAMES: readonly ["planning", "subagents"];
|
|
377
|
-
export type HudStylePresetName = (typeof HUD_STYLE_PRESET_NAMES)[number];
|
|
378
|
-
export declare function hudStylePresetWarnings(input: unknown): string[];
|
|
379
|
-
export declare function resolveHudStylePresetName(input: unknown): HudStylePresetName | null;
|
|
380
|
-
export declare function applyHudStylePreset(input: unknown): HudDoc | null;
|
|
381
|
-
export declare function stableSerializeJson(value: unknown, opts?: {
|
|
382
|
-
pretty?: boolean;
|
|
383
|
-
}): string;
|
|
384
|
-
export type HudTextFallbackMode = "compact" | "multiline";
|
|
385
|
-
export declare function serializeHudDocTextFallback(input: unknown, opts?: {
|
|
386
|
-
mode?: HudTextFallbackMode;
|
|
387
|
-
maxChars?: number;
|
|
388
|
-
maxSectionItems?: number;
|
|
389
|
-
maxActions?: number;
|
|
390
|
-
}): string;
|
|
391
|
-
export declare function serializeHudDocsTextFallback(input: unknown, opts?: {
|
|
392
|
-
mode?: HudTextFallbackMode;
|
|
393
|
-
maxChars?: number;
|
|
394
|
-
maxDocs?: number;
|
|
395
|
-
maxSectionItems?: number;
|
|
396
|
-
maxActions?: number;
|
|
397
|
-
}): string;
|
|
398
|
-
export declare function parseHudDoc(input: unknown): HudDoc | null;
|
|
399
|
-
export declare function normalizeHudDocs(input: unknown, opts?: {
|
|
400
|
-
maxDocs?: number;
|
|
401
|
-
}): HudDoc[];
|
|
402
|
-
//# sourceMappingURL=hud.d.ts.map
|
package/dist/hud.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hud.d.ts","sourceRoot":"","sources":["../src/hud.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAItC,eAAO,MAAM,aAAa;;;;;;;;EAA4E,CAAC;AACvG,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,mBAAmB;;;;EAA6C,CAAC;AAC9E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;EAA+B,CAAC;AAChE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,kBAAkB;;;;;;;kBAMrB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;kBAOhB,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;kBAQlB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