@gtkx/config 2.0.0-beta.9 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +11 -169
  2. package/dist/builtin-elements.d.ts +24 -0
  3. package/dist/builtin-elements.d.ts.map +1 -0
  4. package/dist/builtin-elements.js +376 -0
  5. package/dist/builtin-elements.js.map +1 -0
  6. package/dist/config-dependencies.d.ts +5 -3
  7. package/dist/config-dependencies.d.ts.map +1 -1
  8. package/dist/config-dependencies.js +57 -24
  9. package/dist/config-dependencies.js.map +1 -1
  10. package/dist/config-error.d.ts.map +1 -1
  11. package/dist/config-error.js.map +1 -1
  12. package/dist/config-reloader.d.ts +8 -0
  13. package/dist/config-reloader.d.ts.map +1 -0
  14. package/dist/config-reloader.js +32 -0
  15. package/dist/config-reloader.js.map +1 -0
  16. package/dist/config-source.d.ts +9 -0
  17. package/dist/config-source.d.ts.map +1 -0
  18. package/dist/config-source.js +35 -0
  19. package/dist/config-source.js.map +1 -0
  20. package/dist/config.d.ts +310 -53
  21. package/dist/config.d.ts.map +1 -1
  22. package/dist/config.js +52 -32
  23. package/dist/config.js.map +1 -1
  24. package/dist/controlled-props.d.ts +69 -0
  25. package/dist/controlled-props.d.ts.map +1 -0
  26. package/dist/controlled-props.js +57 -0
  27. package/dist/controlled-props.js.map +1 -0
  28. package/dist/deploy.d.ts +949 -20
  29. package/dist/deploy.d.ts.map +1 -1
  30. package/dist/deploy.js +17 -15
  31. package/dist/deploy.js.map +1 -1
  32. package/dist/index.d.ts +8 -3
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +6 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/internal.d.ts +5 -3
  37. package/dist/internal.d.ts.map +1 -1
  38. package/dist/internal.js +5 -3
  39. package/dist/internal.js.map +1 -1
  40. package/dist/loader.d.ts +23 -5
  41. package/dist/loader.d.ts.map +1 -1
  42. package/dist/loader.js +58 -42
  43. package/dist/loader.js.map +1 -1
  44. package/dist/node-version.d.ts +2 -1
  45. package/dist/node-version.d.ts.map +1 -1
  46. package/dist/node-version.js +2 -1
  47. package/dist/node-version.js.map +1 -1
  48. package/dist/resource-base-path.d.ts.map +1 -1
  49. package/dist/schema-text.d.ts.map +1 -1
  50. package/dist/user-event-signals.d.ts.map +1 -1
  51. package/dist/user-event-signals.js +2 -0
  52. package/dist/user-event-signals.js.map +1 -1
  53. package/dist/virtual.d.ts +1 -1
  54. package/dist/virtual.d.ts.map +1 -1
  55. package/dist/virtual.js +5 -4
  56. package/dist/virtual.js.map +1 -1
  57. package/dist/vite-plugin.d.ts +7 -0
  58. package/dist/vite-plugin.d.ts.map +1 -1
  59. package/dist/vite-plugin.js +13 -4
  60. package/dist/vite-plugin.js.map +1 -1
  61. package/dist/vite-root.d.ts.map +1 -1
  62. package/package.json +15 -16
  63. package/src/builtin-elements.ts +388 -0
  64. package/src/config-dependencies.ts +65 -29
  65. package/src/config-error.ts +5 -3
  66. package/src/config-reloader.ts +45 -0
  67. package/src/config-source.ts +52 -0
  68. package/src/config.ts +355 -61
  69. package/src/controlled-props.ts +116 -0
  70. package/src/deploy.ts +1029 -59
  71. package/src/index.ts +48 -3
  72. package/src/internal.ts +6 -2
  73. package/src/loader.ts +103 -54
  74. package/src/node-version.ts +2 -1
  75. package/src/user-event-signals.ts +2 -0
  76. package/src/virtual.ts +7 -6
  77. package/src/vite-plugin.ts +24 -5
package/dist/config.d.ts CHANGED
@@ -1,11 +1,20 @@
1
1
  import { type DefineConfig } from "c12";
2
2
  import { z } from "zod";
3
+ import { type DeployOptions } from "./deploy.ts";
3
4
  /** Object form of the `reactCompiler` config key, forwarded to `babel-plugin-react-compiler`. */
4
5
  type ReactCompilerOptions = {
5
- /** Which functions the compiler processes. */
6
- compilationMode?: (typeof COMPILATION_MODES)[number];
7
- /** Which compiler diagnostics fail the build. */
8
- panicThreshold?: (typeof PANIC_THRESHOLDS)[number];
6
+ /**
7
+ * Which functions the React Compiler processes.
8
+ *
9
+ * @defaultValue `"infer"`, the React Compiler's own default
10
+ */
11
+ compilationMode?: "all" | "annotation" | "infer" | "syntax" | undefined;
12
+ /**
13
+ * Which React Compiler diagnostics fail the build.
14
+ *
15
+ * @defaultValue `"none"`, the React Compiler's own default
16
+ */
17
+ panicThreshold?: "all_errors" | "critical_errors" | "none" | undefined;
9
18
  };
10
19
  /**
11
20
  * The React Compiler options the build hands to `babel-plugin-react-compiler`, with the React version
@@ -16,13 +25,242 @@ type ResolvedReactCompilerOptions = ReactCompilerOptions & {
16
25
  target: "19";
17
26
  };
18
27
  /**
19
- * User-facing configuration for a GTKX project, as authored in `gtkx.config.ts`: the GIR libraries
20
- * to bind and where to find them, the GApplication id, per-element configuration, the React
21
- * Compiler, codegen, and user event signal settings, and the `agents` and `mcp` blocks controlling
22
- * what coding agents are given.
28
+ * GTKX project configuration authored in `gtkx.config.ts` and validated when loaded.
29
+ *
30
+ * [Configuration and Codegen](https://gtkx.dev/v2/guide/configuration-and-codegen) shows how to set up the file
31
+ * and what codegen generates from it.
23
32
  */
24
- type Config = z.infer<typeof configSchema>;
25
- type ModuleExport = z.infer<typeof moduleExportSchema>;
33
+ type Config = {
34
+ /**
35
+ * Additional GIR libraries to bind, such as `WebKit-6.0`.
36
+ * Adwaita and GTK are included implicitly and must not be listed.
37
+ *
38
+ * @defaultValue None: GTKX binds `Adw-1`, `Gtk-4.0` and the libraries they depend on
39
+ */
40
+ libraries?: string[] | undefined;
41
+ /**
42
+ * Additional GIR search directories, searched before the system ones. Relative paths are resolved from the
43
+ * project root.
44
+ *
45
+ * @defaultValue None: GTKX searches `/usr/share/gir-1.0` and the GIR directories pkg-config reports for
46
+ * `gobject-introspection-1.0`
47
+ */
48
+ girPath?: string[] | undefined;
49
+ /**
50
+ * GApplication identifier, such as `com.example.Tasks`. Required to run, build or deploy the project as an
51
+ * application; a package that is not an application, such as a component library, leaves it out.
52
+ *
53
+ * @defaultValue None: the project loads as a package, with `isApplication` set to `false`
54
+ */
55
+ applicationId?: string | undefined;
56
+ /**
57
+ * Whether to enable the React Compiler, or options passed to it. `false` disables it.
58
+ *
59
+ * @defaultValue `true`
60
+ * @example
61
+ * ```ts
62
+ * reactCompiler: { compilationMode: "annotation" },
63
+ * ```
64
+ */
65
+ reactCompiler?: boolean | ReactCompilerOptions | undefined;
66
+ /**
67
+ * Whether GTKX generates project bindings. Set to `false` to reuse an installed binding store.
68
+ *
69
+ * @defaultValue `true`
70
+ */
71
+ codegen?: boolean | undefined;
72
+ /**
73
+ * Additional signals to suppress during React property updates, keyed by GLib type name.
74
+ * Entries extend the built-in signal lists.
75
+ *
76
+ * @defaultValue `{}`: only the built-in lists
77
+ */
78
+ userEventSignals?: Record<string, string[]> | undefined;
79
+ /**
80
+ * Custom element behaviors and overrides for generated components, props, and documentation.
81
+ *
82
+ * @defaultValue `{}`: no custom behaviors or overrides
83
+ */
84
+ elements?: ElementsOptions | undefined;
85
+ /**
86
+ * Path to an icon theme directory or a single SVG, PNG or XPM application icon file, relative to the project
87
+ * root. Deployment requires an icon.
88
+ *
89
+ * @defaultValue The one `<applicationId>.svg`, `.png` or `.xpm` file in the project root, if exactly one
90
+ * exists
91
+ */
92
+ applicationIcon?: string | undefined;
93
+ /**
94
+ * Application metadata, bundled runtime settings, and packaging options used by `gtkx deploy`.
95
+ *
96
+ * @defaultValue `{}`: metadata comes from `package.json` and packaging builds a Flatpak
97
+ */
98
+ deploy?: DeployOptions | undefined;
99
+ /**
100
+ * Controls the project instructions and reference files generated for coding agents.
101
+ *
102
+ * @defaultValue `{}`: an application gets both, a package neither
103
+ */
104
+ agents?: AgentsOptions | undefined;
105
+ /**
106
+ * Default tool selection and access mode for the project's MCP server. The `gtkx mcp` flags `--tools` and
107
+ * `--read-only` take precedence.
108
+ *
109
+ * @defaultValue `{}`: every tool, app interactions included
110
+ */
111
+ mcp?: McpOptions | undefined;
112
+ /**
113
+ * Controls warnings for deprecated configuration and behavior.
114
+ *
115
+ * @defaultValue `{}`: every deprecation warning is shown
116
+ */
117
+ deprecations?: DeprecationsOptions | undefined;
118
+ /**
119
+ * Opts into behavior that becomes the default in the next major version.
120
+ *
121
+ * @defaultValue `{}`: every flag is off
122
+ */
123
+ future?: FutureOptions | undefined;
124
+ };
125
+ /** A {@link Config} whose `applicationId` is known, as loaded for an application. */
126
+ type ApplicationConfig = Config & {
127
+ applicationId: string;
128
+ };
129
+ /** A named export of a module, which `elements.config` entries reference for components and props. */
130
+ type ModuleExport = {
131
+ /** Module specifier containing the named export; relative paths start at the project root. */
132
+ module: string;
133
+ /** Name of the export to import from the module. */
134
+ export: string;
135
+ };
136
+ /** The props type an `elements.config` entry adds to a generated element, and how it combines with them. */
137
+ type ElementPropsExport = {
138
+ /** Module specifier containing the named export; relative paths start at the project root. */
139
+ module: string;
140
+ /** Name of the props type to import from the module. */
141
+ export: string;
142
+ /**
143
+ * How the exported props are combined: `intersection` is inherited; `factory` applies only to this type.
144
+ *
145
+ * @defaultValue `"intersection"`
146
+ */
147
+ composition?: "factory" | "intersection" | undefined;
148
+ /**
149
+ * Props that can only be set when the element is created; changing them afterward throws.
150
+ *
151
+ * @defaultValue `[]`
152
+ */
153
+ constructOnly?: string[] | undefined;
154
+ };
155
+ /** Overrides for one GLib type in `elements.config`, keyed by its registered type name. */
156
+ type ElementConfigOptions = {
157
+ /**
158
+ * Component export that wraps the generated element.
159
+ *
160
+ * @defaultValue None: no wrapper `component`
161
+ */
162
+ component?: ModuleExport | undefined;
163
+ /**
164
+ * Additional props type to combine with the generated element props.
165
+ *
166
+ * @defaultValue None: no extra `props` type
167
+ */
168
+ props?: ElementPropsExport | undefined;
169
+ /**
170
+ * Whether the parent container creates this element's GObject instead of the element constructing its own.
171
+ * Subtypes inherit the setting.
172
+ *
173
+ * @defaultValue `false`
174
+ */
175
+ isLazy?: boolean | undefined;
176
+ /**
177
+ * Accepted child GLib type names to show in the generated element documentation.
178
+ *
179
+ * @defaultValue `[]`
180
+ */
181
+ acceptedChildTypes?: string[] | undefined;
182
+ /**
183
+ * GObject properties to leave out of generated props, such as properties managed by an element behavior.
184
+ *
185
+ * @defaultValue `[]`: every GObject property becomes a prop
186
+ */
187
+ omittedProps?: string[] | undefined;
188
+ };
189
+ /** The `elements` options: custom element behaviors and per-type overrides for generated elements. */
190
+ type ElementsOptions = {
191
+ /**
192
+ * Path, relative to the project root, of the module exporting the element behavior map.
193
+ *
194
+ * @defaultValue None: only the behaviors built into `@gtkx/react` apply
195
+ */
196
+ behaviors?: string | undefined;
197
+ /**
198
+ * Element configuration overrides keyed by GLib type name, such as `GtkWidget`.
199
+ *
200
+ * @defaultValue `{}`
201
+ */
202
+ config?: Record<string, ElementConfigOptions> | undefined;
203
+ };
204
+ /** The `agents` options: which files codegen maintains for coding agents. */
205
+ type AgentsOptions = {
206
+ /**
207
+ * Whether codegen maintains the GTKX rules in `AGENTS.md` and creates a missing `CLAUDE.md` import.
208
+ * `false` removes rules written earlier, deleting `AGENTS.md` and the `CLAUDE.md` import when nothing else
209
+ * remains.
210
+ *
211
+ * @defaultValue `true` for an application, `false` for a package without an `applicationId`
212
+ */
213
+ rules?: boolean | undefined;
214
+ /**
215
+ * Whether codegen writes the generated element reference to `.gtkx/reference` and points the rules at it.
216
+ * `false` removes a reference generated earlier.
217
+ *
218
+ * @defaultValue `true` for an application, `false` for a package without an `applicationId`
219
+ */
220
+ reference?: boolean | undefined;
221
+ };
222
+ /** The `mcp` options: the tools `gtkx mcp` offers by default and whether it may interact with the app. */
223
+ type McpOptions = {
224
+ /**
225
+ * Tool name patterns applied in order: `*` matches any text and a leading `!` excludes matches.
226
+ * Omitted, empty, or exclusion-only lists start with all tools; other lists start with none.
227
+ * `gtkx mcp --tools` overrides it.
228
+ *
229
+ * @defaultValue `[]`: every tool
230
+ * @example
231
+ * ```ts
232
+ * tools: ["gtkx_*", "!gtkx_take_screenshot"],
233
+ * ```
234
+ */
235
+ tools?: string[] | undefined;
236
+ /**
237
+ * Whether the MCP server exposes only inspection and reference tools, excluding app interactions.
238
+ * `gtkx mcp --read-only` overrides it.
239
+ *
240
+ * @defaultValue `false`
241
+ */
242
+ readOnly?: boolean | undefined;
243
+ };
244
+ /** The `deprecations` options: which deprecation warnings stay silent. */
245
+ type DeprecationsOptions = {
246
+ /**
247
+ * Deprecation identifiers whose warnings are suppressed. There are currently no accepted identifiers.
248
+ *
249
+ * @defaultValue `[]`
250
+ */
251
+ silence?: never[] | undefined;
252
+ };
253
+ /** The `future` options: behavior that becomes the default in GTKX 3.0. */
254
+ type FutureOptions = {
255
+ /**
256
+ * Whether props that hold state the user edits, such as `text` on an entry or `active` on a check button, return
257
+ * to their rendered value after every change the user makes, unless a handler renders the new value. Leaving such
258
+ * a prop out, or passing `undefined`, leaves the value to the widget.
259
+ *
260
+ * @defaultValue `false`: these props are written only when their rendered value changes
261
+ */
262
+ v3ControlledRestore?: boolean | undefined;
263
+ };
26
264
  type McpSettings = {
27
265
  tools: string[];
28
266
  isReadOnly: boolean;
@@ -31,6 +269,8 @@ type McpSettings = {
31
269
  type ResolvedConfig = {
32
270
  /** The GApplication identifier the app registers under. */
33
271
  applicationId: string;
272
+ /** The gettext domain, which is the `applicationId` production builds use. */
273
+ translationDomain: string;
34
274
  /** React Compiler options for the build, or `null` when the compiler is disabled. */
35
275
  reactCompiler: ResolvedReactCompilerOptions | null;
36
276
  /**
@@ -38,38 +278,35 @@ type ResolvedConfig = {
38
278
  * `notify` stays suppressed only for the property being written.
39
279
  */
40
280
  userEventSignals: Record<string, string[]>;
281
+ /** The `future` flags, each resolved to whether it is on. */
282
+ future: {
283
+ v3ControlledRestore: boolean;
284
+ };
41
285
  /** Path of the module exporting per-element configs, or `null` when none is configured. */
42
286
  elements: string | null;
43
287
  /** GLib type names of the elements marked `isLazy`, whose GObject their parent container creates. */
44
288
  lazyElements: string[];
45
289
  };
46
290
  declare const APPLICATION_ID_MAX_LENGTH = 255;
47
- /** Compilation modes `babel-plugin-react-compiler` accepts. */
48
- declare const COMPILATION_MODES: readonly ["infer", "syntax", "annotation", "all"];
49
- /** Panic thresholds `babel-plugin-react-compiler` accepts. */
50
- declare const PANIC_THRESHOLDS: readonly ["none", "critical_errors", "all_errors"];
51
- declare const moduleExportSchema: z.ZodObject<{
52
- module: z.ZodString;
53
- export: z.ZodString;
54
- }, z.core.$strip>;
55
- /** Schema every `gtkx.config.ts` is validated against, and the source of the {@link Config} type. */
291
+ declare const LIBRARY_APPLICATION_ID = "org.gtkx.Library";
292
+ /** Schema every `gtkx.config.ts` is validated against. */
56
293
  declare const configSchema: z.ZodObject<{
57
294
  libraries: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
295
  girPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- applicationId: z.ZodString;
296
+ applicationId: z.ZodOptional<z.ZodString>;
60
297
  reactCompiler: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
61
298
  compilationMode: z.ZodOptional<z.ZodEnum<{
299
+ all: "all";
300
+ annotation: "annotation";
62
301
  infer: "infer";
63
302
  syntax: "syntax";
64
- annotation: "annotation";
65
- all: "all";
66
303
  }>>;
67
304
  panicThreshold: z.ZodOptional<z.ZodEnum<{
68
- none: "none";
69
- critical_errors: "critical_errors";
70
305
  all_errors: "all_errors";
306
+ critical_errors: "critical_errors";
307
+ none: "none";
71
308
  }>>;
72
- }, z.core.$strip>]>>;
309
+ }, z.core.$strict>]>>;
73
310
  codegen: z.ZodOptional<z.ZodBoolean>;
74
311
  userEventSignals: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
75
312
  elements: z.ZodOptional<z.ZodObject<{
@@ -78,15 +315,21 @@ declare const configSchema: z.ZodObject<{
78
315
  component: z.ZodOptional<z.ZodObject<{
79
316
  module: z.ZodString;
80
317
  export: z.ZodString;
81
- }, z.core.$strip>>;
318
+ }, z.core.$strict>>;
82
319
  props: z.ZodOptional<z.ZodObject<{
83
320
  module: z.ZodString;
84
321
  export: z.ZodString;
85
- }, z.core.$strip>>;
322
+ composition: z.ZodOptional<z.ZodEnum<{
323
+ factory: "factory";
324
+ intersection: "intersection";
325
+ }>>;
326
+ constructOnly: z.ZodOptional<z.ZodArray<z.ZodString>>;
327
+ }, z.core.$strict>>;
86
328
  isLazy: z.ZodOptional<z.ZodBoolean>;
329
+ acceptedChildTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
330
  omittedProps: z.ZodOptional<z.ZodArray<z.ZodString>>;
88
- }, z.core.$strip>>>;
89
- }, z.core.$strip>>;
331
+ }, z.core.$strict>>>;
332
+ }, z.core.$strict>>;
90
333
  applicationIcon: z.ZodOptional<z.ZodString>;
91
334
  deploy: z.ZodOptional<z.ZodObject<{
92
335
  targets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -143,10 +386,10 @@ declare const configSchema: z.ZodObject<{
143
386
  dark: z.ZodString;
144
387
  }, z.core.$strict>>;
145
388
  contentRating: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
146
- none: "none";
147
389
  intense: "intense";
148
390
  mild: "mild";
149
391
  moderate: "moderate";
392
+ none: "none";
150
393
  }>>>;
151
394
  releases: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
395
  version: z.ZodString;
@@ -182,7 +425,10 @@ declare const configSchema: z.ZodObject<{
182
425
  desktopEntry: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
183
426
  metainfoExtra: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
427
  isDbusActivatable: z.ZodOptional<z.ZodBoolean>;
185
- extraFiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodType<import("./deploy.ts").DeployExtraFileOptions, unknown, z.core.$ZodTypeInternals<import("./deploy.ts").DeployExtraFileOptions, unknown>>]>>>;
428
+ extraFiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
429
+ source: z.ZodString;
430
+ mode: z.ZodOptional<z.ZodString>;
431
+ }, z.core.$strict>]>>>;
186
432
  minimumLibraryVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
187
433
  depends: z.ZodOptional<z.ZodObject<{
188
434
  deb: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -211,11 +457,9 @@ declare const configSchema: z.ZodObject<{
211
457
  }, z.core.$strict>>;
212
458
  breaks: z.ZodOptional<z.ZodObject<{
213
459
  deb: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
- rpm: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
460
  }, z.core.$strict>>;
216
461
  preDepends: z.ZodOptional<z.ZodObject<{
217
462
  deb: z.ZodOptional<z.ZodArray<z.ZodString>>;
218
- rpm: z.ZodOptional<z.ZodArray<z.ZodString>>;
219
463
  }, z.core.$strict>>;
220
464
  }, z.core.$strict>>;
221
465
  scripts: z.ZodOptional<z.ZodObject<{
@@ -224,7 +468,20 @@ declare const configSchema: z.ZodObject<{
224
468
  preRemove: z.ZodOptional<z.ZodString>;
225
469
  postRemove: z.ZodOptional<z.ZodString>;
226
470
  }, z.core.$strict>>;
227
- node: z.ZodOptional<z.ZodType<import("./deploy.ts").DeployNodeOptions, unknown, z.core.$ZodTypeInternals<import("./deploy.ts").DeployNodeOptions, unknown>>>;
471
+ node: z.ZodOptional<z.ZodObject<{
472
+ source: z.ZodOptional<z.ZodEnum<{
473
+ download: "download";
474
+ host: "host";
475
+ path: "path";
476
+ }>>;
477
+ version: z.ZodOptional<z.ZodString>;
478
+ path: z.ZodOptional<z.ZodString>;
479
+ shouldStrip: z.ZodOptional<z.ZodBoolean>;
480
+ shouldUseCompileCache: z.ZodOptional<z.ZodBoolean>;
481
+ }, z.core.$strict>>;
482
+ tools: z.ZodOptional<z.ZodObject<{
483
+ nfpm: z.ZodOptional<z.ZodString>;
484
+ }, z.core.$strict>>;
228
485
  signing: z.ZodOptional<z.ZodObject<{
229
486
  appimage: z.ZodOptional<z.ZodObject<{
230
487
  gpgKeyId: z.ZodString;
@@ -237,9 +494,9 @@ declare const configSchema: z.ZodObject<{
237
494
  "dpkg-sig": "dpkg-sig";
238
495
  }>>;
239
496
  type: z.ZodOptional<z.ZodEnum<{
240
- origin: "origin";
241
497
  archive: "archive";
242
498
  maint: "maint";
499
+ origin: "origin";
243
500
  }>>;
244
501
  signer: z.ZodOptional<z.ZodString>;
245
502
  }, z.core.$strict>>;
@@ -254,11 +511,7 @@ declare const configSchema: z.ZodObject<{
254
511
  }, z.core.$strict>>;
255
512
  appimage: z.ZodOptional<z.ZodObject<{
256
513
  fileName: z.ZodOptional<z.ZodString>;
257
- compression: z.ZodOptional<z.ZodEnum<{
258
- gzip: "gzip";
259
- xz: "xz";
260
- zstd: "zstd";
261
- }>>;
514
+ compression: z.ZodOptional<z.ZodLiteral<"zstd">>;
262
515
  updateInformation: z.ZodOptional<z.ZodString>;
263
516
  runtimeFile: z.ZodOptional<z.ZodString>;
264
517
  }, z.core.$strict>>;
@@ -268,9 +521,9 @@ declare const configSchema: z.ZodObject<{
268
521
  priority: z.ZodOptional<z.ZodString>;
269
522
  compression: z.ZodOptional<z.ZodEnum<{
270
523
  gzip: "gzip";
524
+ none: "none";
271
525
  xz: "xz";
272
526
  zstd: "zstd";
273
- none: "none";
274
527
  }>>;
275
528
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
276
529
  }, z.core.$strict>>;
@@ -312,9 +565,9 @@ declare const configSchema: z.ZodObject<{
312
565
  group: z.ZodOptional<z.ZodString>;
313
566
  compression: z.ZodOptional<z.ZodEnum<{
314
567
  gzip: "gzip";
568
+ lzma: "lzma";
315
569
  xz: "xz";
316
570
  zstd: "zstd";
317
- lzma: "lzma";
318
571
  }>>;
319
572
  prefixes: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
573
  }, z.core.$strict>>;
@@ -322,22 +575,25 @@ declare const configSchema: z.ZodObject<{
322
575
  agents: z.ZodOptional<z.ZodObject<{
323
576
  rules: z.ZodOptional<z.ZodBoolean>;
324
577
  reference: z.ZodOptional<z.ZodBoolean>;
325
- }, z.core.$strip>>;
578
+ }, z.core.$strict>>;
326
579
  mcp: z.ZodOptional<z.ZodObject<{
327
580
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
581
  readOnly: z.ZodOptional<z.ZodBoolean>;
329
- }, z.core.$strip>>;
582
+ }, z.core.$strict>>;
330
583
  deprecations: z.ZodOptional<z.ZodObject<{
331
584
  silence: z.ZodOptional<z.ZodArray<z.ZodNever>>;
332
- }, z.core.$strip>>;
333
- }, z.core.$strip>;
585
+ }, z.core.$strict>>;
586
+ future: z.ZodOptional<z.ZodObject<{
587
+ v3ControlledRestore: z.ZodOptional<z.ZodBoolean>;
588
+ }, z.core.$strict>>;
589
+ }, z.core.$strict>;
334
590
  /**
335
591
  * Returns the given configuration unchanged, typed as {@link Config}, so `gtkx.config.ts` gets
336
592
  * autocompletion and type checking.
337
593
  */
338
594
  declare const defineConfig: DefineConfig<Config>;
339
595
  declare const isValidApplicationId: (applicationId: string) => boolean;
340
- declare const validateConfig: (config: unknown, configFile?: string) => void;
596
+ declare const validateConfig: (config: unknown, configFile?: string) => asserts config is ApplicationConfig;
341
597
  declare const graduatedFutureKeys: (config: unknown) => string[];
342
598
  /**
343
599
  * Deep-merges a configuration over a base. `override` wins over `base` on conflicting scalar and object keys, while
@@ -345,12 +601,13 @@ declare const graduatedFutureKeys: (config: unknown) => string[];
345
601
  */
346
602
  declare const mergeConfig: (base: Config, override: Config) => Config;
347
603
  declare const resolveLazyElements: (elements: Config["elements"]) => string[];
348
- declare const resolveElementComponents: (elements: Config["elements"]) => Record<string, ModuleExport>;
349
- declare const resolveElementProps: (elements: Config["elements"]) => Record<string, ModuleExport>;
604
+ declare const resolveElementComponents: (elements: Config["elements"], root: string) => Record<string, ModuleExport>;
605
+ declare const resolveElementProps: (elements: Config["elements"], root: string) => Record<string, ElementPropsExport>;
606
+ declare const resolveAcceptedChildTypes: (elements: Config["elements"]) => Record<string, string[]>;
350
607
  declare const resolveOmittedProps: (elements: Config["elements"]) => Record<string, string[]>;
351
- declare const isAgentRulesEnabled: (config: Config) => boolean;
352
- declare const isAgentReferenceEnabled: (config: Config) => boolean;
608
+ declare const isAgentRulesEnabled: (config: Config, isApplication: boolean) => boolean;
609
+ declare const isAgentReferenceEnabled: (config: Config, isApplication: boolean) => boolean;
353
610
  declare const resolveMcpSettings: (config: Config) => McpSettings;
354
- declare const resolveConfig: (config: Config, root?: string) => ResolvedConfig;
355
- export { APPLICATION_ID_MAX_LENGTH, defineConfig, isAgentReferenceEnabled, isAgentRulesEnabled, isValidApplicationId, graduatedFutureKeys, validateConfig, mergeConfig, resolveLazyElements, resolveElementComponents, resolveElementProps, resolveMcpSettings, resolveOmittedProps, resolveConfig, type McpSettings, type ResolvedReactCompilerOptions, type Config, type ResolvedConfig, };
611
+ declare const resolveConfig: (config: ApplicationConfig, translationDomain: string, root?: string) => ResolvedConfig;
612
+ export { configSchema, APPLICATION_ID_MAX_LENGTH, LIBRARY_APPLICATION_ID, defineConfig, isAgentReferenceEnabled, isAgentRulesEnabled, isValidApplicationId, graduatedFutureKeys, validateConfig, mergeConfig, resolveLazyElements, resolveElementComponents, resolveElementProps, resolveAcceptedChildTypes, resolveMcpSettings, resolveOmittedProps, resolveConfig, type AgentsOptions, type DeprecationsOptions, type ElementsOptions, type FutureOptions, type McpOptions, type McpSettings, type ReactCompilerOptions, type ResolvedReactCompilerOptions, type ApplicationConfig, type Config, type ElementConfigOptions, type ElementPropsExport, type ModuleExport, type ResolvedConfig, };
356
613
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,iGAAiG;AACjG,KAAK,oBAAoB,GAAG;IACxB,8CAA8C;IAC9C,eAAe,CAA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