Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

test(types): check the exportOptions alignment claim against the installed spec (#4535) - #6957

Merged
os-warren merged 2 commits into
mainfrom
claude/issue-4535-export-options-reconcile-2
Aug 31, 2026
Merged

os-warren merged 2 commits into
mainfrom
claude/issue-4535-export-options-reconcile-2

Conversation

@os-warren

@os-warren os-warren commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #4535

The premise moved before I got here — measured first

The card lists four items against origin/main@878140b. Re-verified on b03ba3a, three of them were already landed by the change that shipped changeset 1f9b905:

card item state on current main
1. align the local exportOptions type, make the comment true type landed as ListViewExportOptions (the five spec keys); comment partly false again — see below
2. remove 'pdf' landed — ListViewExportFormat = 'csv' | 'xlsx' | 'json', warn-drop path folded into the format-agnostic filter
3. type streaming, delete the as any landed in ObjectGrid.tsx — :2563 and :2605 read it uncast
4. confirm the schema feed path, keep array tolerance only if raw metadata reaches the renderer unanswered — measured here

The card's constraint (no sixth undeclared-but-read key) was also already honoured as two guards: objectql.exportOptions.test.ts (type side) and ObjectGrid.exportOptionsKeys.test.ts (source scan).

So this PR is not a re-implementation. It closes the part of item 1 that came undone, answers item 4, and files the leg that sits outside this card's file surface.

What this PR changes

The alignment comment went false a second time — by nobody touching it

ListViewExportOptions (packages/types/src/objectql.ts) carried:

NOTE (objectui#4535): this restates the five keys rather than deriving them from the spec symbol, because objectui still pins @objectstack/spec@17.0.0-rc.6, whose ListView.exportOptions is the LEGACY bare format array

That is no longer true. Measured from the lockfile and the installed package: objectui installs @objectstack/spec@17.2.0, and its ListViewSchema.exportOptions is the object form — a two-branch union where a bare format array lifts to { formats: [...] } at parse, the object branch is a strictObject with exactly the five keys, and the enum is ["csv","xlsx","json"].

This is the same failure mode the card was filed for, one release later: a prose claim about another package's shape, with nothing that fails when that shape changes. A comment that has gone false twice is not the instrument to trust a third time.

So the claim is made falsifiable

New packages/types/src/__tests__/export-options-spec-parity.test.ts reads the object branch out of the spec package that is actually installed, at test time, and asserts against it:

  • the key set equals the spec object branch's key set;
  • the format enum matches, and 'pdf' is absent from both sides;
  • upstream is strict — a sixth key is refused, which is why declaring one locally is unauthorable;
  • the 'pdf' refusal carries its migration prescription, not a bare "Invalid input";
  • the bare format array lifts at parse (the fact item 4 turns on);
  • a non-vacuity floor, because every assertion reads through the union branch and a spec refactor would otherwise compare against undefined.

The local key set is projected through Record< keyof ListViewExportOptions, true >, exhaustive in both directions, so a local key added or dropped fails to compile rather than passing a comparison against a hand-copied list. Nothing in the file restates the contract — a restatement is a third copy, and the copy is what drifts.

The comment now records the real reason the mirror exists, and the test pins that too: ListViewExportOptionsSchema is internal to the spec bundle and not a public export (measured: 222 exports on @objectstack/spec/ui, none matching /Export/i; only ListViewSchema is exported, and its exportOptions infers to a union, not this interface). When upstream exports the symbol, the test fails and says so, and the mirror can go.

Item 4, answered: raw un-parsed metadata reaches the renderer — keep the tolerance

Three measurements, all on current main:

  1. normalizeListViewSchema (packages/core/src/utils/normalize-list-view.ts) does not touch exportOptions — zero occurrences in the file.
  2. Nothing on the render path runs .parse()/.safeParse() on a view schema; the only such calls in the repo are in tests. That is exactly why ListViewInferred is z.input and not z.infer, as its own doc comment already records.
  3. packages/app-shell/src/views/ObjectView.tsx:2116 forwards the stored value verbatim: exportOptions: viewDef.allowExport === false ? undefined : (viewDef.exportOptions ?? listSchema.exportOptions).

The spec's parse-time array lift therefore never runs before the renderer. A stored bare-array declaration still arrives as an array, so the renderer's own tolerance is load-bearing and stays. It lives in plugin-list/src/ListView.tsx:1299-1308 (resolvedExportOptions), on the component ObjectView actually renders. ObjectGrid carries none — a bare array reaching it degrades to the ['csv','json'] default, silently ignoring the author's declared formats. Left as-is here and recorded on the follow-up rather than changed on the way past.

Out of this card's file surface — filed as #6956

The ListView leg of the same reconciliation never landed, and it is a live defect. It is outside this card's declared surface (objectql.ts + ObjectGrid.tsx), so it was measured and reported, not fixed here. #6956 remains open and carries the detail:

  • packages/types/src/zod/objectql.zod.ts:511-518 still declares the pre-test(scripts): check-shell-escape-residue reds on an agent-tree document no scan root reaches (#7413) #8010 shape — 'pdf' accepted in both spellings, streaming declared nowhere, object branch not strict. This is not cosmetic: ListViewSchema (the TS type the ListView renderer is written against) derives from this zod, so it disagrees with its sibling ObjectGridSchema about the same spec key.
  • packages/plugin-list/src/ListView.tsx:1324 and :2705 still read streaming through as any — item 3's exact defect in the other renderer, load-bearing precisely because of the zod gap.

The new test states this scope limit in its own docblock rather than implying it, so nobody reads it as covering the zod mirror.

Verification

All gates below run on cac5aed, the final commit of this branch.

gate verdict (quoted)
pnpm --filter @object-ui/types type-check exit 0 — tsc --noEmit && tsc -p tsconfig.examples.json && tsc -p tsconfig.test.json
pnpm exec vitest run packages/types/ Test Files 76 passed (76) · Tests 868 passed (868)
pnpm exec vitest run packages/plugin-grid/src/__tests__/ObjectGrid.exportOptionsKeys.test.ts Test Files 1 passed (1) · Tests 5 passed (5)
pnpm --filter @object-ui/types lint exit 0 — ✖ 259 problems (0 errors, 259 warnings), all pre-existing
node scripts/check-spec-symbol-derivation.mjs ✅ spec symbol derivation: 1325 files scanned against 4959 spec export names; 16 declared dialects, 0 untriaged collisions in 0 packages. · ✅ spec alignment claims: 2 declared deliberate copies, 18 unbacked claims in 5 packages. — unchanged count, so no new unbacked claim
node scripts/check-control-bytes.mjs ✅ check-control-bytes: OK (scanned 5786 tracked text file(s); skipped 85 binary).
node scripts/check-changeset-fixed.mjs ✅ All workspace packages are in the changeset fixed group.
node scripts/check-changeset-no-major.mjs ✅ No changeset declares a major bump.

Type-check coverage is measured, not assumed. tsc -p tsconfig.test.json --listFiles names packages/types/src/__tests__/export-options-spec-parity.test.ts (1 hit), so "type-check is clean" is a statement about the new file rather than about a program that excluded it.

Ablation — the guard reds on local drift. Committed first, then mutated ListViewExportFormat back to include 'pdf' (card item 2's defect), with an EXIT INT TERM trap restoring by absolute path.

  • mutation confirmed on disk, anchored on the exact text: injected-form 1, removed-form 0; blob 46090c7 → 88ccf25.
  • tsc -p tsconfig.test.json exit 2, naming this PR's guard first (angle brackets spaced out below — GitHub's body sanitizer silently eats short tag-shaped fragments, which is what happened to this quote on the first publish):
    src/__tests__/export-options-spec-parity.test.ts(59,7): error TS2741: Property 'pdf' is missing in type
      '{ csv: true; xlsx: true; json: true; }' but required in type 'Record< ListViewExportFormat, true >'.
    src/__tests__/objectql.exportOptions.test.ts(60,39): error TS2344: Type 'false' does not satisfy the constraint 'true'.
    src/__tests__/objectql.exportOptions.test.ts(80,7): error TS2578: Unused '@ts-expect-error' directive.
    
  • restore confirmed by observed state, not by exit code: git hash-object back to 46090c7, equal to git rev-parse HEAD:packages/types/src/objectql.ts; git diff HEAD empty; git status clean.

Stated honestly, because the template direction and the measured one differ: the runtime leg of the new test fires when the spec drifts, and the compile leg fires when the local declaration drifts. The ablation exercises the second. The first was not ablated — the only way to mutate the spec side is to edit node_modules, which is a pnpm store hardlink shared across worktrees on this box. The floor test (finds the spec shape it is about to compare against) is what stands in for it.

Scope narrowing, declared: the repo-wide pnpm lint and the full check:* farm were not run locally — CI runs them once regardless. The narrowing is bounded by measurement, not by assumption: the whole @object-ui/types package lint ran (not just changed files), and eslint.config.js enables no type-aware linting (no projectService, no parserOptions.project), so this diff cannot move the verdict on any file it does not touch.

Changeset

@object-ui/types patch. No export added or removed, no key or union altered — the diff to shipped source is a doc comment. Precedent named: the earlier 1f9b905 graded this package minor, on the reasoning ListViewExportFormat and ListViewExportOptions are new exports, streaming is a new optional key, and formats no longer admits 'pdf'. That was the shape change; this is not one. No @object-ui/plugin-grid changeset — nothing in that package changed.

Review notes

…alled spec (#4535)

The comment above `ListViewExportOptions` explained the local restatement by
the pin: `@objectstack/spec@17.0.0-rc.6`, whose `ListView.exportOptions` was
the legacy bare format array. objectui now installs 17.2.0, which carries the
object form — the array lifts to `{ formats: [...] }` at parse and 'pdf' has
left the enum — so the NOTE went stale and the prose went false again with
nobody editing it.

Correct the reason, and stop it being load-bearing: a new spec-parity test reads
the object branch out of the INSTALLED spec at test time and asserts the key
set, the format enum, upstream strictness, the 'pdf' refusal's prescription and
the parse-time array lift against it. The local key set is projected from
`keyof ListViewExportOptions` through an exhaustive Record, so drift fails to
compile instead of passing a comparison against a hand copy.

The mirror stays a mirror for a measured reason the test pins:
`ListViewExportOptionsSchema` is internal to the spec bundle and not a public
export, so there is nothing to import.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PBjwYLS6BciTQW3c9xQiD2
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 45 chunks) 3179.6 KB 3222.7 KB
Main entry chunk (gzip) 143.6 KB 350 KB
Entry file index-RnBefW7y.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 12.46KB 4.71KB
app-shell (runtime-config.js) 20.61KB 7.35KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 512.09KB 116.42KB
core (index.js) 5.30KB 2.13KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 175.69KB 48.80KB
fields (index.js) 243.65KB 61.63KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.44KB 1.39KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 33.40KB 8.71KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.95KB 10.97KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.55KB 0.62KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useResponsiveConfig.js) 1.37KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.75KB 3.80KB
plugin-calendar (index.js) 46.92KB 12.93KB
plugin-charts (index.js) 64.68KB 18.35KB
plugin-chatbot (index.js) 190.53KB 45.18KB
plugin-dashboard (index.js) 133.48KB 34.51KB
plugin-designer (index.js) 212.87KB 43.19KB
plugin-detail (index.js) 247.26KB 63.17KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 133.11KB 32.61KB
plugin-gantt (index.js) 165.21KB 40.37KB
plugin-grid (index.js) 202.08KB 54.61KB
plugin-kanban (index.js) 53.14KB 14.64KB
plugin-list (index.js) 113.15KB 27.59KB
plugin-map (index.js) 20.20KB 6.66KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 43.51KB 11.94KB
plugin-timeline (index.js) 29.05KB 8.37KB
plugin-tree (index.js) 8.98KB 3.08KB
plugin-view (index.js) 85.79KB 21.10KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 76.75KB 25.49KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 3.11KB 1.48KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.72KB 2.24KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 2.59KB 1.31KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 3.40KB 1.71KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Collaborator Author

Released by maintainer instruction. Provenance: maintainer, live PM session chat, 2026-08-31 ~04:0xZ, verbatim 「pr 绿了为什么不合并」 — read as a personal release of the green parked contract-face PRs (the #12606-precedent reading recorded on the objectstack seat post). Pre-release verification: all 30 check runs on head cac5aed completed success/skipped (zero red); PM checklist review of record: ACCEPT on #4535 (comment 5473352640, open question answered A = Fixes closes the card), run at claude-fable-5 — the review-tier compensating control for the opus build. Branch is behind base — updating branch (merge, never force), then ready + auto-merge; the new head's CI must go green again before it lands. Stripping needs:contract-review from both carriers. — session_01PBjwYLS6BciTQW3c9xQiD2


Generated by Claude Code

@os-warren
os-warren marked this pull request as ready for review August 31, 2026 04:08
@os-warren
os-warren enabled auto-merge August 31, 2026 04:08
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 45 chunks) 3179.9 KB 3222.7 KB
Main entry chunk (gzip) 143.6 KB 350 KB
Entry file index-DkRl-aik.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 12.46KB 4.71KB
app-shell (runtime-config.js) 20.61KB 7.35KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 512.09KB 116.42KB
core (index.js) 5.30KB 2.13KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 175.69KB 48.80KB
fields (index.js) 243.65KB 61.63KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 4.28KB 1.75KB
i18n (index.js) 3.44KB 1.39KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 33.40KB 8.71KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.95KB 10.97KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.55KB 0.62KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useResponsiveConfig.js) 1.37KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.75KB 3.80KB
plugin-calendar (index.js) 46.92KB 12.93KB
plugin-charts (index.js) 64.68KB 18.35KB
plugin-chatbot (index.js) 190.53KB 45.18KB
plugin-dashboard (index.js) 133.48KB 34.51KB
plugin-designer (index.js) 212.87KB 43.19KB
plugin-detail (index.js) 247.26KB 63.17KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 133.11KB 32.61KB
plugin-gantt (index.js) 165.21KB 40.37KB
plugin-grid (index.js) 202.08KB 54.61KB
plugin-kanban (index.js) 53.14KB 14.64KB
plugin-list (index.js) 113.15KB 27.59KB
plugin-map (index.js) 20.20KB 6.66KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 43.51KB 11.94KB
plugin-timeline (index.js) 29.05KB 8.37KB
plugin-tree (index.js) 8.98KB 3.08KB
plugin-view (index.js) 85.79KB 21.10KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 76.75KB 25.49KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 3.11KB 1.48KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 5.41KB 2.34KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 4.93KB 2.24KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 10.35KB 3.60KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.72KB 2.24KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 2.59KB 1.31KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 3.40KB 1.71KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@os-warren
os-warren added this pull request to the merge queue Aug 31, 2026
Merged via the queue into main with commit 460575f Aug 31, 2026
30 of 31 checks passed
@os-warren
os-warren deleted the claude/issue-4535-export-options-reconcile-2 branch August 31, 2026 04:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconcile exportOptions with the spec's new object form (#8010 spec half): false alignment comment, local 'pdf', and the as any streaming read

2 participants