@animus-ui/extract 0.1.11 → 0.1.12

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 (103) hide show
  1. package/README.md +47 -0
  2. package/crates/extract-v2/animus-extract-v2.darwin-arm64.node +0 -0
  3. package/crates/extract-v2/animus-extract-v2.linux-arm64-gnu.node +0 -0
  4. package/crates/extract-v2/animus-extract-v2.linux-x64-gnu.node +0 -0
  5. package/crates/extract-v2/index.d.ts +17 -98
  6. package/dist/index.cjs +11 -6
  7. package/dist/index.mjs +2 -2
  8. package/dist/pipeline/analyze-project-args.d.ts +0 -12
  9. package/dist/pipeline/analyze-project-args.d.ts.map +1 -1
  10. package/dist/pipeline/assemble-stylesheet.d.ts +0 -35
  11. package/dist/pipeline/assemble-stylesheet.d.ts.map +1 -1
  12. package/dist/pipeline/asset-placeholders.d.ts +0 -25
  13. package/dist/pipeline/asset-placeholders.d.ts.map +1 -1
  14. package/dist/pipeline/content-hash.d.ts +0 -7
  15. package/dist/pipeline/content-hash.d.ts.map +1 -1
  16. package/dist/pipeline/core-options.d.ts +27 -93
  17. package/dist/pipeline/core-options.d.ts.map +1 -1
  18. package/dist/pipeline/correlate-external-tokens.d.ts +10 -18
  19. package/dist/pipeline/correlate-external-tokens.d.ts.map +1 -1
  20. package/dist/pipeline/discover-files.d.ts +1 -9
  21. package/dist/pipeline/discover-files.d.ts.map +1 -1
  22. package/dist/pipeline/discover-packages.d.ts +18 -154
  23. package/dist/pipeline/discover-packages.d.ts.map +1 -1
  24. package/dist/pipeline/dynamic-prop-config.d.ts +4 -19
  25. package/dist/pipeline/dynamic-prop-config.d.ts.map +1 -1
  26. package/dist/pipeline/engine-adapter.d.ts +16 -52
  27. package/dist/pipeline/engine-adapter.d.ts.map +1 -1
  28. package/dist/pipeline/engine-retirement.d.ts +0 -19
  29. package/dist/pipeline/engine-retirement.d.ts.map +1 -1
  30. package/dist/pipeline/error-diagnostics.d.ts +0 -24
  31. package/dist/pipeline/error-diagnostics.d.ts.map +1 -1
  32. package/dist/pipeline/index.d.ts +9 -8
  33. package/dist/pipeline/index.d.ts.map +1 -1
  34. package/dist/pipeline/internal-wire.d.ts +2 -0
  35. package/dist/pipeline/internal-wire.d.ts.map +1 -0
  36. package/dist/pipeline/manifest-diagnostics.d.ts +32 -37
  37. package/dist/pipeline/manifest-diagnostics.d.ts.map +1 -1
  38. package/dist/pipeline/manifest-schema.d.ts +117 -0
  39. package/dist/pipeline/manifest-schema.d.ts.map +1 -0
  40. package/dist/pipeline/mdx-preprocessor.d.ts +9 -33
  41. package/dist/pipeline/mdx-preprocessor.d.ts.map +1 -1
  42. package/dist/pipeline/path-aliases.d.ts +0 -19
  43. package/dist/pipeline/path-aliases.d.ts.map +1 -1
  44. package/dist/pipeline/post-process-css.d.ts +0 -8
  45. package/dist/pipeline/post-process-css.d.ts.map +1 -1
  46. package/dist/pipeline/prefix.d.ts +3 -10
  47. package/dist/pipeline/prefix.d.ts.map +1 -1
  48. package/dist/pipeline/replacement-plans.d.ts +10 -34
  49. package/dist/pipeline/replacement-plans.d.ts.map +1 -1
  50. package/dist/pipeline/resolve-asset.d.ts +4 -7
  51. package/dist/pipeline/resolve-asset.d.ts.map +1 -1
  52. package/dist/pipeline/run-analysis.d.ts +15 -27
  53. package/dist/pipeline/run-analysis.d.ts.map +1 -1
  54. package/dist/pipeline/source-corpus.d.ts +25 -0
  55. package/dist/pipeline/source-corpus.d.ts.map +1 -0
  56. package/dist/pipeline/source-identity.d.ts +23 -53
  57. package/dist/pipeline/source-identity.d.ts.map +1 -1
  58. package/dist/pipeline/source-ingestion.d.ts +48 -53
  59. package/dist/pipeline/source-ingestion.d.ts.map +1 -1
  60. package/dist/pipeline/static-css.d.ts +4 -13
  61. package/dist/pipeline/static-css.d.ts.map +1 -1
  62. package/dist/pipeline/structural-self-check.d.ts +0 -20
  63. package/dist/pipeline/structural-self-check.d.ts.map +1 -1
  64. package/dist/pipeline/svelte-source-adapter.d.ts +5 -12
  65. package/dist/pipeline/svelte-source-adapter.d.ts.map +1 -1
  66. package/dist/pipeline/system-config.d.ts +15 -32
  67. package/dist/pipeline/system-config.d.ts.map +1 -1
  68. package/dist/pipeline/system-props-module.d.ts +0 -15
  69. package/dist/pipeline/system-props-module.d.ts.map +1 -1
  70. package/dist/pipeline/timing-waterfall.d.ts +0 -11
  71. package/dist/pipeline/timing-waterfall.d.ts.map +1 -1
  72. package/dist/pipeline/tsconfig-paths.d.ts +2 -3
  73. package/dist/pipeline/tsconfig-paths.d.ts.map +1 -1
  74. package/dist/pipeline/unit-fallback.d.ts +0 -5
  75. package/dist/pipeline/unit-fallback.d.ts.map +1 -1
  76. package/dist/pipeline/utils.d.ts +1 -1
  77. package/dist/pipeline/utils.d.ts.map +1 -1
  78. package/dist/pipeline/watch-keys.d.ts +0 -10
  79. package/dist/pipeline/watch-keys.d.ts.map +1 -1
  80. package/dist/{pipeline-lkbOoyAr.mjs → pipeline-DeEENy5C.mjs} +1940 -2263
  81. package/dist/{pipeline-ojNeABi0.cjs → pipeline-x1yBZ2UP.cjs} +1970 -2269
  82. package/dist/session/extraction-session.d.ts +110 -316
  83. package/dist/session/extraction-session.d.ts.map +1 -1
  84. package/dist/session/index.d.ts +6 -20
  85. package/dist/session/index.d.ts.map +1 -1
  86. package/dist/session/published-set.d.ts +45 -25
  87. package/dist/session/published-set.d.ts.map +1 -1
  88. package/dist/session/resolve-packages.d.ts +6 -7
  89. package/dist/session/resolve-packages.d.ts.map +1 -1
  90. package/dist/session/session-paths.d.ts +38 -72
  91. package/dist/session/session-paths.d.ts.map +1 -1
  92. package/dist/session/singleton.d.ts +32 -71
  93. package/dist/session/singleton.d.ts.map +1 -1
  94. package/dist/session/timing.d.ts +0 -5
  95. package/dist/session/timing.d.ts.map +1 -1
  96. package/dist/session/turbopack-orchestrator.d.ts +17 -33
  97. package/dist/session/turbopack-orchestrator.d.ts.map +1 -1
  98. package/dist/session.cjs +530 -677
  99. package/dist/session.mjs +517 -672
  100. package/index-v2.js +0 -9
  101. package/package.json +9 -8
  102. package/dist/pipeline/external-keyframes.d.ts +0 -23
  103. package/dist/pipeline/external-keyframes.d.ts.map +0 -1
@@ -1,32 +1,12 @@
1
- /**
2
- * Structural self-check over an emitted extraction result — the affirmative
3
- * post-condition against silent-empty output (openspec:
4
- * standalone-extraction-cli, "Silent-empty success is impossible").
5
- *
6
- * One shared implementation for every driver: the Vite plugin's `verify`
7
- * option and the standalone CLI (default-on) both call this; the caller
8
- * owns the failure POLICY (warn vs throw vs exit code), never the checks.
9
- */
10
1
  import type { ExternalPackageOutcome } from './discover-packages';
11
2
  export interface StructuralCheckInput {
12
- /** Number of components in the manifest. */
13
3
  componentCount: number;
14
- /** The theme's variable CSS (`:root` block expected). */
15
4
  variableCss: string;
16
- /** Global CSS (may be empty). */
17
5
  globalCss: string;
18
- /** Resolved component CSS (post transform substitution). */
19
6
  componentCss: string;
20
- /** Consumer `layers` option, when configured. */
21
7
  layers?: string[];
22
- /** An already-assembled full sheet — when provided, the ordering and
23
- * placeholder checks run on it directly instead of re-assembling from
24
- * the pieces (the CLI holds only the final sheet). */
25
8
  assembledCss?: string;
26
- /** Per-specifier discovery outcomes from the last collection. */
27
9
  externalOutcomes?: readonly ExternalPackageOutcome[];
28
10
  }
29
- /** Run every structural check; returns human-readable failure lines
30
- * (empty = pass). */
31
11
  export declare function runStructuralSelfCheck(input: StructuralCheckInput): string[];
32
12
  //# sourceMappingURL=structural-self-check.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"structural-self-check.d.ts","sourceRoot":"","sources":["../../pipeline/structural-self-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,YAAY,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;2DAEuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACtD;AAED;sBACsB;AACtB,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,EAAE,CAmE5E"}
1
+ {"version":3,"file":"structural-self-check.d.ts","sourceRoot":"","sources":["../../pipeline/structural-self-check.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACtD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,EAAE,CAgE5E"}
@@ -6,7 +6,7 @@ export interface SourceSpan {
6
6
  end: number;
7
7
  }
8
8
  export interface SourcePosition {
9
- /** One-based line number, matching Svelte compiler locations. */
9
+ /** One-based, matching Svelte compiler locations. */
10
10
  line: number;
11
11
  /** Zero-based UTF-16 column, matching Svelte compiler locations. */
12
12
  column: number;
@@ -27,7 +27,7 @@ export interface SvelteOriginMapping {
27
27
  }
28
28
  export interface SvelteVirtualEntry {
29
29
  scope: SvelteScriptScope;
30
- /** Parser-only identity. Original source identity remains authoritative. */
30
+ /** Parser-only identity; the original source stays authoritative. */
31
31
  path: string;
32
32
  source: string;
33
33
  mappings: SvelteOriginMapping[];
@@ -38,7 +38,7 @@ export interface SvelteAdapterDiagnostic {
38
38
  originalPath: string;
39
39
  /** Present only when the parser supplied an exact original-source node. */
40
40
  span?: SourceSpan;
41
- /** Structured original-source location for every exact diagnostic span. */
41
+ /** Present with every exact diagnostic span. */
42
42
  location?: SourceLocation;
43
43
  }
44
44
  export type SvelteResolverImportKind = 'named' | 'string-named' | 'named-default' | 'default' | 'namespace';
@@ -74,15 +74,8 @@ export type AdaptSvelteSourceResult = {
74
74
  diagnostics: SvelteAdapterDiagnostic[];
75
75
  };
76
76
  /**
77
- * Project native Svelte script scopes into parser-only TSX witnesses.
78
- *
79
- * This adapter parses source, never compiler-generated runtime JavaScript.
80
- * Module and instance scripts project separately (module bindings are in
81
- * scope for the instance script, per Svelte semantics) and contribute only
82
- * witnessed named imports plus synthetic JSX attributes for direct resolver
83
- * `.attrs()` and callable-string calls. Caller-owned metadata attributes
84
- * candidate imports; unsupported call shapes — including resolver calls
85
- * written in the template fragment — fail the whole source closed.
77
+ * Project Svelte script scopes into parser-only TSX witnesses from SOURCE,
78
+ * never compiler output. Unsupported call shapes fail the whole source closed.
86
79
  */
87
80
  export declare function adaptSvelteSource(source: string, originalPath: string, options: AdaptSvelteSourceOptions): Promise<AdaptSvelteSourceResult>;
88
81
  //# sourceMappingURL=svelte-source-adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"svelte-source-adapter.d.ts","sourceRoot":"","sources":["../../pipeline/svelte-source-adapter.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,cAAc;IAC7B,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAC;CAChB;AA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KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED,MAAM,MAAM,yBAAyB,GACjC,UAAU,GACV,2BAA2B,GAC3B,OAAO,CAAC;AAEZ,MAAM,WAAW,wBAAwB;IACvC,wEAAwE;IACxE,iBAAiB,CACf,OAAO,EAAE,gCAAgC,GACxC,yBAAyB,CAAC;CAC9B;AAED,MAAM,MAAM,uBAAuB,GAC/B;IACE,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,GACD;IACE,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,UAAU,EAAE,iBAAiB,CAAC;CAC/B,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,WAAW,EAAE,uBAAuB,EAAE,CAAC;CACxC,CAAC;AAo7BN;;;GAGG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAgHlC"}
@@ -1,9 +1,6 @@
1
1
  /**
2
- * The system-derived configuration bundle every extraction run needs —
3
- * the deserialized result of the NAPI `loadSystemModule()` call, with the
4
- * optional variable-prefix transformation already applied. Field names
5
- * mirror `AnalyzeProjectInputs` so the bundle feeds `runProjectAnalysis`
6
- * without renaming.
2
+ * The deserialized `loadSystemModule()` result, prefix transformation
3
+ * already applied. Field names are `AnalyzeProjectInputs`' own.
7
4
  */
8
5
  export interface SystemConfig {
9
6
  propConfigJson: string;
@@ -13,41 +10,27 @@ export interface SystemConfig {
13
10
  variableCss: string;
14
11
  contextualVarsJson: string | null;
15
12
  selectorAliasesJson: string | null;
16
- /** Condition alias map JSON (modern-css-surface inc 03), mirroring
17
- * `selectorAliasesJson` — `null` when the system registers none.
18
- * Optional so the plugins' pre-load `emptySystemConfig()` default need not
19
- * restate it; `loadSystemConfig` always populates it after a real load. */
13
+ /** Condition alias map JSON; `null` when the system registers none.
14
+ * Optional only so the pre-load empty default need not restate it. */
20
15
  conditionAliasesJson?: string | null;
21
- /** `{ transformName: sourceText }` JSON captured during system evaluation.
22
- * The build-time evaluator can only be seeded from source text, and
23
- * `propConfigJson` names each prop's transform without carrying its body —
24
- * so this is the only channel by which transforms shipped inside a package
25
- * (rather than declared in a `createTransform()` call the extractor parses
26
- * out of a project file) become resolvable. Optional so the plugins'
27
- * pre-load `emptySystemConfig()` default need not restate it. */
16
+ /** `{ transformName: sourceText }` — the only channel by which transforms
17
+ * shipped inside a package reach the build-time evaluator. */
28
18
  transformSourcesJson?: string | null;
29
19
  globalStyleBlocksJson: string | null;
30
20
  keyframesJson: string | null;
31
- /** Canonical absolute paths of every module the loader evaluated for this
32
- * system (sorted; entry included, runtime stubs excluded). Plugins use it
33
- * as the geological-reset membership set. Optional so pre-load
34
- * `emptySystemConfig()` defaults need not restate it. */
21
+ /** Coded witness entries from the sealed system's registration record —
22
+ * the witness channel, since the evaluation host's console is a no-op. */
23
+ vocabularyWitnessesJson?: string | null;
24
+ /** Canonical absolute paths of every module the loader evaluated (sorted;
25
+ * runtime stubs excluded) — the system-reload membership set. */
35
26
  dependencies?: string[];
36
- /** Per-module built-theme token manifests captured during evaluation
37
- * (`{ modulePath: { exportName: [token paths] } }`) — the source-token
38
- * witness for the cross-source correlation diagnostic. Null when no
39
- * evaluated module exports a built theme. */
27
+ /** `{ modulePath: { exportName: [token paths] } }` — the source-token
28
+ * witness for correlation. Null when no module exports a built theme. */
40
29
  sourceThemeManifestsJson?: string | null;
41
30
  }
42
31
  /**
43
- * Load a SystemInstance via the engine's `loadSystemModule` and normalize
44
- * it into a SystemConfig. When `prefix` is set, CSS variable names in the
45
- * variable map/css (and theme + contextual vars when affected) are
46
- * namespaced via the shared `applyPrefix`.
47
- *
48
- * Error handling stays at the call site — the Vite plugin warns (or throws
49
- * in strict mode) and keeps its previous config, the Next plugin lets the
50
- * failure propagate.
32
+ * Load and normalize a SystemInstance; `prefix` namespaces every CSS
33
+ * variable name. Error handling stays at the call site.
51
34
  */
52
35
  export declare function loadSystemConfig(engineApi: () => any, opts: {
53
36
  systemPath: string;
@@ -1 +1 @@
1
- {"version":3,"file":"system-config.d.ts","sourceRoot":"","sources":["../../pipeline/system-config.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;gFAG4E;IAC5E,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;;;sEAMkE;IAClE,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;8DAG0D;IAC1D,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;;kDAG8C;IAC9C,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAE9B,SAAS,EAAE,MAAM,GAAG,EACpB,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,YAAY,CAwCd"}
1
+ {"version":3,"file":"system-config.d.ts","sourceRoot":"","sources":["../../pipeline/system-config.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;2EACuE;IACvE,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;mEAC+D;IAC/D,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;+EAC2E;IAC3E,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;sEACkE;IAClE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;8EAC0E;IAC1E,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAE9B,SAAS,EAAE,MAAM,GAAG,EACpB,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,YAAY,CAyCd"}
@@ -1,19 +1,4 @@
1
1
  import type { DynamicPropMeta } from './dynamic-prop-config';
2
- /**
3
- * Build the source of the runtime system-props module — served as
4
- * `virtual:animus/system-props` by the Vite plugin and written as the
5
- * session-scoped `system-props.js` artifact by the extraction session
6
- * (`@animus-ui/extract/session`). One generator so the runtimes can never
7
- * drift.
8
- *
9
- * Runtime transform functions for dynamic props are not yet supported
10
- * (transforms are resolved at extraction time via boa_engine in Rust), so
11
- * `transforms` defaults to an empty object literal.
12
- *
13
- * `dynamicPropConfig` entries carry the CSS property the slot class declares
14
- * — the runtime's unit-fallback decision. Their field order and omission
15
- * rules belong to buildDynamicPropConfig.
16
- */
17
2
  export declare function buildSystemPropsModule(opts: {
18
3
  systemPropMapJson: string;
19
4
  groupRegistryJson: string;
@@ -1 +1 @@
1
- {"version":3,"file":"system-props-module.d.ts","sourceRoot":"","sources":["../../pipeline/system-props-module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,CAQT"}
1
+ {"version":3,"file":"system-props-module.d.ts","sourceRoot":"","sources":["../../pipeline/system-props-module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,IAAI,EAAE;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,CAQT"}
@@ -1,15 +1,4 @@
1
- /**
2
- * Rust-side timing phases as reported in `manifest.timing`, in waterfall
3
- * order, with their display labels. Mirrors the timing struct in the
4
- * extract-v2 crate — a renamed or added Rust phase is updated here once,
5
- * not per plugin.
6
- */
7
1
  export declare const RUST_TIMING_PHASES: ReadonlyArray<readonly [key: string, label: string]>;
8
- /**
9
- * Format the Rust timing waterfall as log lines. `indent` and `labelWidth`
10
- * let each plugin keep its established column layout; the phase table and
11
- * the `(N files, M cached)` suffix are shared.
12
- */
13
2
  export declare function formatRustTimingWaterfall(timing: Record<string, number>, opts: {
14
3
  indent: string;
15
4
  labelWidth: number;
@@ -1 +1 @@
1
- {"version":3,"file":"timing-waterfall.d.ts","sourceRoot":"","sources":["../../pipeline/timing-waterfall.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAC5C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAatC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAC3C,MAAM,EAAE,CAcV"}
1
+ {"version":3,"file":"timing-waterfall.d.ts","sourceRoot":"","sources":["../../pipeline/timing-waterfall.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAC5C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAatC,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAC3C,MAAM,EAAE,CAcV"}
@@ -1,8 +1,7 @@
1
1
  import type { PathAliasPair } from './path-aliases';
2
2
  /**
3
- * Read the project's tsconfig path aliases as pairs consumable by
4
- * `buildPathAliasesJson`. Returns an empty array when no readable tsconfig
5
- * (or no usable `paths`) exists.
3
+ * The project's tsconfig path aliases as `buildPathAliasesJson` pairs; empty
4
+ * when no readable tsconfig, or no usable `paths`, exists.
6
5
  */
7
6
  export declare function readTsconfigAliasPairs(rootDir: string): PathAliasPair[];
8
7
  //# sourceMappingURL=tsconfig-paths.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tsconfig-paths.d.ts","sourceRoot":"","sources":["../../pipeline/tsconfig-paths.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAmKpD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,EAAE,CAiDvE"}
1
+ {"version":3,"file":"tsconfig-paths.d.ts","sourceRoot":"","sources":["../../pipeline/tsconfig-paths.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAoNpD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,EAAE,CAyCvE"}
@@ -1,7 +1,2 @@
1
- /**
2
- * Append `px` to bare numeric values in CSS declarations for properties
3
- * that expect length units. Unitless properties are preserved as-is.
4
- * Numbers inside CSS function calls (cubic-bezier, rgb, calc, etc.) are skipped.
5
- */
6
1
  export declare function applyUnitFallback(css: string): string;
7
2
  //# sourceMappingURL=unit-fallback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unit-fallback.d.ts","sourceRoot":"","sources":["../../pipeline/unit-fallback.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CA2CrD"}
1
+ {"version":3,"file":"unit-fallback.d.ts","sourceRoot":"","sources":["../../pipeline/unit-fallback.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAyCrD"}
@@ -1,3 +1,3 @@
1
- /** Convert camelCase CSS property names to kebab-case. */
2
1
  export declare function camelToKebab(str: string): string;
2
+ export declare function stableStringify<Value>(value: Value): string;
3
3
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../pipeline/utils.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEhD"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../pipeline/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAY3D"}
@@ -1,12 +1,2 @@
1
- /**
2
- * Membership keys for a filesystem path in the system-dependency watch set.
3
- *
4
- * The loader reports symlink-resolved canonical paths; watcher events carry
5
- * lexical absolute paths that may traverse symlinks (bun workspace links) and
6
- * — for deletions — may no longer exist, so `realpathSync` on the event path
7
- * alone cannot produce the canonical form. Both insertion and lookup go
8
- * through this one normalizer: the lexical form plus a canonical form
9
- * reconstructed through the nearest existing ancestor.
10
- */
11
1
  export declare function toWatchKeys(input: string): string[];
12
2
  //# sourceMappingURL=watch-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"watch-keys.d.ts","sourceRoot":"","sources":["../../pipeline/watch-keys.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAInD"}
1
+ {"version":3,"file":"watch-keys.d.ts","sourceRoot":"","sources":["../../pipeline/watch-keys.ts"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAInD"}