Skip to content

Export windowContent from the package index - #6

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-4971-export-window-content
Aug 2, 2026
Merged

Export windowContent from the package index#6
TheGreatAxios merged 1 commit into
mainfrom
cl-4971-export-window-content

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

windowContent is exported from src/tools.ts but never re-exported from src/index.ts, and the exports map serves only "." — so no consumer can import it. readArtifactChunk isn't a substitute: it requires an Identity/ResolvedPrincipal and returns a different shape, so the plain "window a string I already have" case had no public entry point. Scout re-implemented it verbatim as a result (found in a reinvented-wheel audit).

One-line re-export, no behavior change. Did not install/run the suite locally (constrained environment) — relying on CI.

Fixes CL-4971

windowContent is defined and exported in src/tools.ts but never
re-exported from the index, and the exports map serves only "." — so
consumers cannot reach it. readArtifactChunk isn't a substitute: it
requires an Identity/ResolvedPrincipal and returns a different shape,
so the plain 'window this string I already have' case had no public
entry point (Scout re-implemented it as a result).

CL-4971
@TheGreatAxios
TheGreatAxios merged commit 6447b43 into main Aug 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant